auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
void notifyFolderConfigChanged ( ) { if ( ( ( mDisableUpdates ) > 0 ) || ( ( mClient ) == null ) ) { return ; } if ( mClient.changed ( com.android.ide.eclipse.adt.internal.editors.layout.configuration.ConfigurationClient.CHANGED_FOLDER ) ) { saveConstraints ( ) ; } }

Target:
void notifyFolderConfigChanged ( ) { if ( ( ( mDisableUpdates ) > 0 ) || ( ( mClient ) == null ) ) { return ; } if ( mClient.changed ( com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration.CFG_FOLDER ) ) { saveConstraints ( ) ; } }
Source:
public int getFolderVersion ( ) { return com.android.tools.lint.detector.api.ResourceContext.getFolderVersion ( file ) ; }

Target:
public int getFolderVersion ( ) { return mDriver.getResourceFolderVersion ( file ) ; }
Source:
native void rsnScriptInvoke ( int con , int id , int slot ) ;

Target:
native long rsnScriptKernelIDCreate ( long con , long sid , int slot , int sig ) ;
Source:
public void setup ( ) { put ( "Cipher.FOO/FOO/FOO" , MockCipherSpi.AllKeyTypes.class . getName ( ) ) ; put ( "Cipher.FOO/FOO/FOO SupportedKeyClasses" , "none" ) ; }

Target:
public void setup ( ) { put ( "Cipher.FOO" , MockCipherSpi.AllKeyTypes.class . getName ( ) ) ; put ( "Cipher.FOO SupportedKeyClasses" , libcore.javax.crypto.MockKey.class . getName ( ) ) ; }
Source:
public java.util.Optional < java.lang.String > getAuthorization ( ) { return java.util.Optional.of ( mAuthorization ) ; }

Target:
public java.util.Optional < java.lang.String > getAuthorization ( ) { return ( mAuthorization ) == null ? java.util.Optional.empty ( ) : java.util.Optional.of ( mAuthorization ) ; }
Source:
private long getVerificationTimeout ( ) { return android.provider.Settings.Secure.getLong ( mContext.getContentResolver ( ) , android.provider.Settings.Secure.PACKAGE_VERIFIER_TIMEOUT , com.android.server.pm.PackageManagerService.DEFAULT_VERIFICATION_TIMEOUT ) ; }

Target:
private long getVerificationTimeout ( ) { return android.provider.Settings.Global.getLong ( mContext.getContentResolver ( ) , android.provider.Settings.Global.PACKAGE_VERIFIER_TIMEOUT , com.android.server.pm.PackageManagerService.DEFAULT_VERIFICATION_TIMEOUT ) ; }
Source:
public static native int numberOfDeoptimizations ( ) ;

Target:
public static native boolean isInterpreted ( ) ;
Source:
public static native float sin ( float angle ) ;

Target:
public static float cos ( float angle ) { return ( ( float ) ( java.lang.Math.cos ( angle ) ) ) ; }
Source:
public void getDataCallList ( android.os.Message response ) { mCM.getDataCallList ( response ) ; }

Target:
public void getNeighboringCids ( android.os.Message response ) { mCi.getNeighboringCids ( response ) ; }
Source:
public static java.lang.CharSequence getTtsSpannableLtrNumber ( java.lang.CharSequence number ) { return com.android.contacts.common.compat.PhoneNumberUtilsCompat.createTtsSpannable ( android.text.BidiFormatter.getInstance ( ) . unicodeWrap ( number.toString ( ) , TextDirectionHeuristics.LTR ) ) ; }

Target:
private static java.lang.CharSequence getTtsSpannableLtrNumber ( java.lang.CharSequence number ) { return android.telephony.PhoneNumberUtils.createTtsSpannable ( android.text.BidiFormatter.getInstance ( ) . unicodeWrap ( number.toString ( ) , TextDirectionHeuristics.LTR ) ) ; }
Source:
public static boolean delete ( @ com.intellij.openapi.util.io.NotNull java.io.File file ) { if ( NIO_FILE_API_AVAILABLE ) { return deleteRecursivelyNIO ( file ) ; } return com.intellij.openapi.util.io.FileUtil.deleteRecursively ( file ) ; }

Target:
public static boolean delete ( @ com.intellij.openapi.util.io.NotNull java.io.File file ) { if ( NIOReflect.IS_AVAILABLE ) { return deleteRecursivelyNIO ( file ) ; } return com.intellij.openapi.util.io.FileUtil.deleteRecursively ( file ) ; }
Source:
public void testE2 ( ) { dot.junit.opcodes.invoke_static_range.d.T_invoke_static_range_6 t = new dot.junit.opcodes.invoke_static_range.d.T_invoke_static_range_6 ( ) ; try { t.run ( ) ; fail ( "expected UnsatisfiedLinkError" ) ; } catch ( java.lang.UnsatisfiedLinkError ule ) { } }

Target:
public void testE7 ( ) { loadAndRun ( "dot.junit.opcodes.invoke_static_range.d.T_invoke_static_range_14" , java.lang.ExceptionInInitializerError.class ) ; }
Source:
private void makeAppNotRespondingLocked ( com.android.server.am.ProcessRecord app , java.lang.String activity , java.lang.String shortMsg , java.lang.String longMsg ) { app.notResponding = true ; app.notRespondingReport = generateProcessError ( app , ActivityManager.ProcessErrorStateInfo.NOT_RESPONDING , activity , shortMsg , longMsg , null ) ; startAppProblemLocked ( app ) ; app.stopFreezingAllLocked ( ) ; }

Target:
public void run ( ) { mAppErrors.appNotResponding ( proc , activity , parent , aboveSystem , annotation ) ; }
Source:
public static boolean hasMigratedToNewBlocking ( android.content.Context context ) { return com.android.dialer.strictmode.DialerStrictMode.bypass ( ( ) -> android.preference.PreferenceManager.getDefaultSharedPreferences ( context ) . getBoolean ( com.android.dialer.blocking.FilteredNumberCompat.HAS_MIGRATED_TO_NEW_BLOCKING_KEY , false ) ) ; }

Target:
public static boolean hasMigratedToNewBlocking ( android.content.Context context ) { return com.android.dialer.strictmode.StrictModeUtils.bypass ( ( ) -> android.preference.PreferenceManager.getDefaultSharedPreferences ( context ) . getBoolean ( com.android.dialer.blocking.FilteredNumberCompat.HAS_MIGRATED_TO_NEW_BLOCKING_KEY , false ) ) ; }
Source:
public void setDataEnabled ( boolean enable ) { setDataEnabled ( android.telephony.SubscriptionManager.getDefaultDataSubscriptionId ( ) , enable ) ; }

Target:
public void setDataEnabled ( boolean enable ) { setDataEnabled ( getSubId ( ) , enable ) ; }
Source:
public void execute ( com.android.monkeyrunner.MonkeyDevice device ) throws java.lang.Exception { long ms = ( ( long ) ( 1000.0F * ( howLongSeconds ) ) ) ; java.lang.Thread.sleep ( ms ) ; }

Target:
public void execute ( com.android.monkeyrunner.core.IMonkeyDevice device ) throws java.lang.Exception { long ms = ( ( long ) ( 1000.0F * ( howLongSeconds ) ) ) ; java.lang.Thread.sleep ( ms ) ; }
Source:
public void exit ( ) { tearDownInterfaces ( ) ; }

Target:
public boolean processMessage ( android.os.Message message ) { android.util.Log.d ( com.android.server.wifi.WifiStateMachinePrime.TAG , ( "received a message in WifiDisabledState: " + message ) ) ; if ( checkForAndHandleModeChange ( message ) ) { return HANDLED ; } return NOT_HANDLED ; }
Source:
public void setResult ( java.lang.String resultFormat , java.lang.Object ... args ) { mAutomaticallyCloseOnTaskCompletion = false ; mDialog.setResult ( resultFormat , args ) ; }

Target:
public void run ( ) { task.run ( this ) ; if ( mAutomaticallyCloseOnTaskCompletion ) { mDialog.setAutoCloseRequested ( ) ; } else { mDialog.setManualCloseRequested ( ) ; } }
Source:
void expectCapabilitiesWithout ( int capability , com.android.server.ConnectivityServiceTest.MockNetworkAgent agent ) { com.android.server.ConnectivityServiceTest.CallbackInfo cbi = expectCallback ( com.android.server.ConnectivityServiceTest.CallbackState.NETWORK_CAPABILITIES , agent ) ; android.net.NetworkCapabilities.NetworkCapabilities nc = ( ( android.net.NetworkCapabilities.NetworkCapabilities ) ( cbi.arg ) ) ; org.junit.Assert.assertFalse ( nc.hasCapability ( capability ) ) ; }

Target:
void expectCapabilitiesWith ( int capability , com.android.server.ConnectivityServiceTest.MockNetworkAgent agent ) { com.android.server.ConnectivityServiceTest.CallbackInfo cbi = expectCallback ( com.android.server.ConnectivityServiceTest.CallbackState.NETWORK_CAPABILITIES , agent ) ; android.net.NetworkCapabilities nc = ( ( android.net.NetworkCapabilities ) ( cbi.arg ) ) ; org.junit.Assert.assertTrue ( nc.hasCapability ( capability ) ) ; }
Source:
public long get ( int index ) { return byteBuffer.getLong ( ( index * ( libcore.io.SizeOf.LONG ) ) ) ; }

Target:
public long get ( int index ) { checkIndex ( index ) ; return byteBuffer.getLong ( ( index * ( libcore.io.SizeOf.LONG ) ) ) ; }
Source:
public void testTable2 ( ) { com.android.utils.HtmlBuilder builder = new com.android.utils.HtmlBuilder ( ) ; builder.beginTable ( "valign=\"top\"" ) . addTableRow ( "Data1" , "Data2" ) . endTable ( ) ; assertEquals ( "<table><tr><td valign=\"top\">Data1</td><td valign=\"top\">Data2</td></tr></table>" , builder.getHtml ( ) ) ; }

Target:
public void testAddTableWithAlignment ( ) { com.android.utils.HtmlBuilder builder = new com.android.utils.HtmlBuilder ( ) ; builder.beginTable ( "valign=\"top\"" ) . addTableRow ( "Data1" , "Data2" ) . endTable ( ) ; assertEquals ( "<table><tr><td valign=\"top\">Data1</td><td valign=\"top\">Data2</td></tr></table>" , builder.getHtml ( ) ) ; }
Source:
public void test_leaveGroupLjava_net_SocketAddressLjava_net_NetworkInterface_IPv6 ( ) throws java.lang.Exception { test_leaveGroupLjava_net_SocketAddressLjava_net_NetworkInterface ( org.apache.harmony.tests.java.net.MulticastSocketTest.GOOD_IPv6 , org.apache.harmony.tests.java.net.MulticastSocketTest.BAD_IPv6 ) ; }

Target:
public void test_leaveGroupLjava_net_SocketAddressLjava_net_NetworkInterface_IPv6 ( ) throws java.lang.Exception { test_leaveGroupLjava_net_SocketAddressLjava_net_NetworkInterface ( ipv6NetworkInterface , org.apache.harmony.tests.java.net.MulticastSocketTest.GOOD_IPv6 , org.apache.harmony.tests.java.net.MulticastSocketTest.BAD_IPv6 ) ; }
Source:
public static com.android.ide.eclipse.adt.internal.editors.layout.gle2.RenderService create ( com.android.ide.eclipse.adt.internal.editors.layout.gle2.GraphicalEditorPart editor ) { com.android.ide.eclipse.adt.internal.editors.layout.gle2.RenderService renderService = new com.android.ide.eclipse.adt.internal.editors.layout.gle2.RenderService ( editor ) ; return renderService ; }

Target:
public static com.android.ide.eclipse.adt.internal.editors.layout.gle2.RenderService create ( com.android.ide.eclipse.adt.internal.editors.layout.gle2.GraphicalEditorPart editor , java.lang.Object credential ) { return new com.android.ide.eclipse.adt.internal.editors.layout.gle2.RenderService ( editor , credential ) ; }
Source:
public static int EqualTrueLhs ( boolean arg ) { return true != arg ? 3 : 5 ; }

Target:
public static java.lang.String intToDoubleToIntPrint ( int value ) { double d = ( ( double ) ( value ) ) ; int i = ( ( int ) ( d ) ) ; return ( ( "d=" + d ) + ", i=" ) + i ; }
Source:
public void run ( ) { synchronized ( this ) { if ( ( grid ) != null ) { grid.dispose ( ) ; grid = null ; zoom = model.getZoom ( ) ; } } }

Target:
public void run ( ) { synchronized ( this ) { loadImage ( ) ; } }
Source:
public void setShowVoicemailButton ( boolean show ) { android.view.View view = findViewById ( R.id.dialpad_key_voicemail ) ; if ( view != null ) { view.setVisibility ( ( show ? android.view.View.VISIBLE : android.view.View.INVISIBLE ) ) ; } }

Target:
private java.text.NumberFormat getNumberFormat ( ) { java.util.Locale locale = com.android.dialer.compat.CompatUtils.getLocale ( getContext ( ) ) ; return "fas" . equals ( locale.getISO3Language ( ) ) ? java.text.DecimalFormat.getInstance ( locale ) : java.text.DecimalFormat.getInstance ( java.util.Locale.ENGLISH ) ; }
Source:
public static int $noinline$intSubAddSimplifyLeft ( int x , int y ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } int sub = x - y ; return sub + y ; }

Target:
public static int $noinline$intAddSubSimplifyArg2 ( int x , int y ) { int sum = x + y ; return sum - y ; }
Source:
public org.junit.rules.ExpectedException handleAssertionErrors ( ) { return this ; }

Target:
public void expect ( org.hamcrest.Matcher < ? > matcher ) { if ( ( fMatcher ) == null ) fMatcher = ( ( org.hamcrest.Matcher < java.lang.Object > ) ( matcher ) ) ; else fMatcher = org.junit.matchers.JUnitMatchers.both ( fMatcher ) . and ( matcher ) ; }
Source:
public java.util.List < com.android.ahat.heapdump.AhatInstance > getHardReverseReferences ( ) { return java.util.Arrays.asList ( mHardReverseReferences ) ; }

Target:
public java.util.List < com.android.ahat.heapdump.AhatInstance > getHardReverseReferences ( ) { if ( ( mHardReverseReferences ) != null ) { return mHardReverseReferences ; } return java.util.Collections.emptyList ( ) ; }
Source:
void setSite ( com.android.ahat.heapdump.Site site ) { mSite = site ; }

Target:
public java.lang.Object getDominatorsComputationState ( ) { return mDominatorsComputationState ; }
Source:
public static native boolean profileHasMethod ( boolean hot , java.lang.String profile , java.lang.reflect.Method method ) ;

Target:
public static native boolean presentInProfile ( java.lang.String profile , java.lang.reflect.Method method ) ;
Source:
public final void test_getLocalPrincipal ( ) throws java.lang.Exception { java.net.URL url = new java.net.URL ( "https://localhost:55555" ) ; javax.net.ssl.HttpsURLConnection connection = ( ( javax.net.ssl.HttpsURLConnection ) ( url.openConnection ( ) ) ) ; try { connection.getLocalPrincipal ( ) ; fail ( "IllegalStateException wasn't thrown" ) ; } catch ( java.lang.IllegalStateException expected ) { } javax.net.ssl.HttpsURLConnection con = new tests.api.javax.net.ssl.MyHttpsURLConnection ( new java.net.URL ( "https://www.fortify.net/" ) , "X.508" ) ; assertNull ( con.getLocalPrincipal ( ) ) ; con = new tests.api.javax.net.ssl.MyHttpsURLConnection ( new java.net.URL ( "https://www.fortify.net/" ) , "X.509" ) ; assertNotNull ( "Local principal is null" , con.getLocalPrincipal ( ) ) ; }

Target:
public final void test_getLocalPrincipal ( ) throws java.lang.Exception { java.net.URL url = new java.net.URL ( "https://localhost:55555" ) ; javax.net.ssl.HttpsURLConnection connection = ( ( javax.net.ssl.HttpsURLConnection ) ( url.openConnection ( ) ) ) ; try { connection.getLocalPrincipal ( ) ; fail ( "IllegalStateException wasn't thrown" ) ; } catch ( java.lang.IllegalStateException expected ) { } javax.net.ssl.HttpsURLConnection con = new org.apache.harmony.tests.javax.net.ssl.MyHttpsURLConnection ( new java.net.URL ( "https://www.fortify.net/" ) , "X.508" ) ; assertNull ( con.getLocalPrincipal ( ) ) ; con = new org.apache.harmony.tests.javax.net.ssl.MyHttpsURLConnection ( new java.net.URL ( "https://www.fortify.net/" ) , "X.509" ) ; assertNotNull ( "Local principal is null" , con.getLocalPrincipal ( ) ) ; }
Source:
public com.android.sched.util.log.DummyTracer.DummyTracerEvent start ( @ javax.annotation.Nonnull com.android.sched.util.log.EventType type ) { return dummyEvent ; }

Target:
public com.android.sched.util.log.DummyTracer.DummyTracerEvent start ( @ javax.annotation.Nonnull com.android.sched.util.log.EventType type ) { assert ( config ) == ( com.android.sched.util.config.ThreadConfig.getConfig ( ) ) ; return dummyEvent ; }
Source:
public static int getReleaseCode ( ) { return com.android.jack.test.toolchain.JackApiToolchainBase.releaseCode ; }

Target:
public int getReleaseCode ( ) { return releaseCode ; }
Source:
public java.lang.String getCompleteVoiceMailNumber ( ) { mContext.enforceCallingOrSelfPermission ( com.android.internal.telephony.PhoneSubInfo.CALL_PRIVILEGED , "Requires CALL_PRIVILEGED" ) ; java.lang.String number = mPhone.getVoiceMailNumber ( ) ; android.util.Log.d ( com.android.internal.telephony.PhoneSubInfo.LOG_TAG , "VM: PhoneSubInfo.getCompleteVoiceMailNUmber: " ) ; return number ; }

Target:
public java.lang.String getCompleteVoiceMailNumber ( ) { mContext.enforceCallingOrSelfPermission ( com.android.internal.telephony.PhoneSubInfo.CALL_PRIVILEGED , "Requires CALL_PRIVILEGED" ) ; java.lang.String number = mPhone.getVoiceMailNumber ( ) ; android.telephony.Rlog.d ( com.android.internal.telephony.PhoneSubInfo.LOG_TAG , "VM: PhoneSubInfo.getCompleteVoiceMailNUmber: " ) ; return number ; }
Source:
public void visitLookupSwitchInsn ( org.objectweb.asm.Label dflt , int [ ] keys , org.objectweb.asm.Label [ ] labels ) { printer.visitLookupSwitchInsn ( dflt , keys , labels ) ; printTypeOfOperandStackTop ( ) ; super . visitLookupSwitchInsn ( dflt , keys , labels ) ; }

Target:
public void visitLookupSwitchInsn ( org.objectweb.asm.Label dflt , int [ ] keys , org.objectweb.asm.Label [ ] labels ) { printer.visitLookupSwitchInsn ( dflt , keys , labels ) ; printTypeOfOperandStack ( ) ; super . visitLookupSwitchInsn ( dflt , keys , labels ) ; }
Source:
com.google.common.collect.ImmutableList < java.io.File > getTestedApks ( int density , @ com.android.annotations.NonNull java.util.List < java.lang.String > abis ) ;

Target:
com.google.common.collect.ImmutableList < java.io.File > getTestedApks ( int density , @ com.android.annotations.Nullable java.lang.String language , @ com.android.annotations.Nullable java.lang.String region , @ com.android.annotations.NonNull java.util.List < java.lang.String > abis ) ;
Source:
synchronized void nAllocationResize2D ( int id , int dimX , int dimY ) { validate ( ) ; rsnAllocationResize2D ( mContext , id , dimX , dimY ) ; }

Target:
synchronized void nAllocationRead ( long id , long [ ] d ) { validate ( ) ; rsnAllocationRead ( mContext , id , d ) ; }
Source:
private void updateConfigDisplay ( com.android.ide.eclipse.adt.internal.resources.configurations.FolderConfiguration fileConfig ) { java.lang.String current = fileConfig.toDisplayString ( ) ; mCurrentLayoutLabel.setText ( ( current != null ? current : "(Default)" ) ) ; }

Target:
private void updateConfigDisplay ( com.android.ide.eclipse.adt.internal.resources.configurations.FolderConfiguration fileConfig ) { java.lang.String current = fileConfig.toDisplayString ( ) ; java.lang.String layoutLabel = ( current != null ) ? current : "(Default)" ; mCurrentLayoutLabel.setText ( layoutLabel ) ; mCurrentLayoutLabel.setToolTipText ( layoutLabel ) ; }
Source:
public void validateSimCredentialWithEapAka ( ) throws java.lang.Exception { android.net.wifi.hotspot2.pps.Credential cred = new android.net.wifi.hotspot2.pps.Credential ( ) ; cred.realm = "realm" ; cred.simCredential = new android.net.wifi.hotspot2.pps.Credential.SimCredential ( ) ; cred.simCredential.imsi = "1234*" ; cred.simCredential.eapType = android.net.wifi.EAPConstants.EAP_AKA ; org.junit.Assert.assertTrue ( cred.validate ( ) ) ; }

Target:
public void validateSimCredentialWithEapAka ( ) throws java.lang.Exception { android.net.wifi.hotspot2.pps.Credential cred = android.net.wifi.hotspot2.pps.CredentialTest.createCredentialWithSimCredential ( ) ; cred.getSimCredential ( ) . setEapType ( EAPConstants.EAP_AKA ) ; org.junit.Assert.assertTrue ( cred.validate ( ) ) ; }
Source:
public native void putObjectVolatile ( java.lang.Object obj , long offset , java.lang.Object newValue ) ;

Target:
public native java.lang.Object getObjectVolatile ( java.lang.Object obj , long offset ) ;
Source:
public < T extends com.android.sched.util.log.stats.Statistic > T getStatistic ( @ javax.annotation.Nonnull com.android.sched.util.log.stats.StatisticId < T > id ) { return dummyEvent.getStatistic ( id ) ; }

Target:
public < T extends com.android.sched.util.log.stats.Statistic > T getStatistic ( @ javax.annotation.Nonnull com.android.sched.util.log.stats.StatisticId < T > id ) { assert ( config ) == ( com.android.sched.util.config.ThreadConfig.getConfig ( ) ) ; return dummyEvent.getStatistic ( id ) ; }
Source:
public boolean isSocket ( ) { return java.io.FileDescriptor.isSocket ( descriptor ) ; }

Target:
public final boolean isSocket$ ( ) { return java.io.FileDescriptor.isSocket ( descriptor ) ; }
Source:
public void onClick ( android.view.View v ) { mAdapter.setShowBackground ( false ) ; }

Target:
public void onClick ( android.view.View v ) { mAdapter.setShowBackground ( false ) ; if ( ( mOwner ) != null ) { mOwner.getActivity ( ) . invalidateOptionsMenu ( ) ; } }
Source:
public static java.lang.String getDefaultLocale ( ) { return org.chromium.base.LocaleUtils.getLocale ( java.util.Locale.getDefault ( ) ) ; }

Target:
public static java.lang.String getDefaultLocaleString ( ) { return org.chromium.base.LocaleUtils.toLanguageTag ( java.util.Locale.getDefault ( ) ) ; }
Source:
private void parseAtr ( java.lang.String atr ) { mIsEuicc = false ; }

Target:
private void parseAtr ( java.lang.String atr ) { mAtr = com.android.internal.telephony.uicc.AnswerToReset.parseAtr ( atr ) ; if ( ( mAtr ) == null ) { return ; } checkIsEuiccSupported ( ) ; }
Source:
public java.util.List < com.android.jack.ir.ast.JAnnotation > getAnnotations ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JAnnotationType annotationType ) { return annotations.getAnnotation ( annotationType ) ; }

Target:
public java.util.List < com.android.jack.ir.ast.JAnnotation > getAnnotations ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JAnnotationType annotationType ) { return com.android.jack.Jack.getUnmodifiableCollections ( ) . getUnmodifiableList ( com.android.jack.util.AnnotationUtils.getAnnotation ( annotations , annotationType ) ) ; }
Source:
public boolean isTrue ( ) throws android.support.test.uiautomator.UiObjectNotFoundException { return device.findObject ( new android.support.test.uiautomator.UiSelector ( ) . resourceId ( Res.GOOGLE_PLAY_FILTER_TOGGLE_RES ) ) . exists ( ) ; }

Target:
public boolean isTrue ( ) { return toggleButton.exists ( ) ; }
Source:
private void logIncoming ( java.lang.String msg , java.lang.Object ... params ) { android.telecom.Log.d ( this , ( "ConnectionService -> Telecom: " + msg ) , params ) ; }

Target:
private void logIncoming ( java.lang.String msg , java.lang.Object ... params ) { android.telecom.Log.d ( this , ( ( ( "ConnectionService -> Telecom[" + ( mComponentName.flattenToShortString ( ) ) ) + "]: " ) + msg ) , params ) ; }
Source:
public void setUp ( ) { mRequestQueue = mock ( com.android.volley.RequestQueue.class ) ; mImageCache = mock ( ImageLoader.ImageCache.class ) ; mImageLoader = new com.android.volley.toolbox.ImageLoader ( mRequestQueue , mImageCache ) ; }

Target:
public void setUp ( ) { mRequestQueue = org.mockito.Mockito.mock ( com.android.volley.RequestQueue.class ) ; mImageCache = org.mockito.Mockito.mock ( ImageLoader.ImageCache.class ) ; mImageLoader = new com.android.volley.toolbox.ImageLoader ( mRequestQueue , mImageCache ) ; }
Source:
public void clientCertificateRequested ( long s ) { fail ( "Server asked for client certificates" ) ; }

Target:
public void clientCertificateRequested ( long s ) { org.junit.Assert.fail ( "Server asked for client certificates" ) ; }
Source:
private boolean isValidSuffix ( ) { return ! ( path.toString ( ) . contains ( java.lang.String.valueOf ( separator ) ) ) ; }

Target:
private boolean isValidSuffix ( ) { return ( path.toString ( ) . indexOf ( separator ) ) == ( - 1 ) ; }
Source:
private java.io.File getTimeZoneDataApkFile ( java.lang.String testId ) throws java.lang.Exception { java.lang.String resourceName = getTimeZoneDataApkResourceName ( testId ) ; return extractResourceToFile ( resourceName ) ; }

Target:
private void waitForStagedInstall ( java.lang.String versionString ) throws java.lang.Exception { com.android.timezone.xts.TimeZoneUpdateHostTest.waitForCondition ( ( ) -> isStagedInstall ( versionString ) ) ; }
Source:
public void setVar ( int index , long v ) { mRS.nScriptSetVarJ ( getID ( mRS ) , index , v ) ; }

Target:
public void setVar ( int index , long v ) { mRS.nScriptSetVarD ( getID ( mRS ) , index , v , mUseIncSupp ) ; }
Source:
public void lookupJavaLangStringError1 ( ) throws com.android.jack.ir.ast.JTypeLookupException { boolean fail = false ; try { com.android.jack.gwt.BinaryLookup.lookup.getInterface ( CommonTypes.JAVA_LANG_STRING ) ; fail = true ; } catch ( java.lang.AssertionError e ) { } junit.framework.Assert.assertFalse ( fail ) ; }

Target:
public void lookupJavaLangStringError1 ( ) throws com.android.jack.ir.ast.JTypeLookupException { try { com.android.jack.gwt.BinaryLookup.lookup.getInterface ( CommonTypes.JAVA_LANG_STRING ) ; junit.framework.Assert.fail ( ) ; } catch ( com.android.jack.lookup.JLookupException e ) { } }
Source:
public void onAudioRouteChanged ( android.telecom.Connection c , int audioRoute ) { java.lang.String id = mIdByConnection.get ( c ) ; if ( id != null ) { mAdapter.setAudioRoute ( id , audioRoute ) ; } }

Target:
public void onAudioRouteChanged ( android.telecom.Connection c , int audioRoute , java.lang.String bluetoothAddress ) { java.lang.String id = mIdByConnection.get ( c ) ; if ( id != null ) { mAdapter.setAudioRoute ( id , audioRoute , bluetoothAddress ) ; } }
Source:
public void testRefactor1_norefs ( ) throws java.lang.Exception { moveType ( com.android.ide.eclipse.adt.internal.refactorings.core.TEST_PROJECT2 , "com.example.refactoringtest.CustomView1" , "src/com/example/refactoringtest/subpackage" , false , ( "CHANGES:\n" + ( ( ( "-------\n" + "* Move resource \'testRefactor1_norefs/src/com/example/refactoringtest/CustomView1.java\' to \'subpackage\'\n" ) + "\n" ) + "* Move resource 'testRefactor1_norefs/src/com/example/refactoringtest/CustomView1.java' to 'subpackage'" ) ) ) ; }

Target:
public void testRefactor1_norefs ( ) throws java.lang.Exception { moveType ( com.android.ide.eclipse.adt.internal.refactorings.core.TEST_PROJECT2 , "com.example.refactoringtest.CustomView1" , "src/com/example/refactoringtest/subpackage" , false , ( "CHANGES:\n" + ( ( ( "-------\n" + "[x] Move resource \'testRefactor1_norefs/src/com/example/refactoringtest/CustomView1.java\' to \'subpackage\'\n" ) + "\n" ) + "[x] Move resource 'testRefactor1_norefs/src/com/example/refactoringtest/CustomView1.java' to 'subpackage'" ) ) ) ; }
Source:
public void onRttModifyResponseReceived ( int status ) { if ( status == ( RttModifyStatus.SESSION_MODIFY_REQUEST_SUCCESS ) ) { sendRttInitiationSuccess ( ) ; } else { sendRttInitiationFailure ( status ) ; } }

Target:
public void onRttModifyResponseReceived ( int status ) { updateConnectionProperties ( ) ; if ( status == ( RttModifyStatus.SESSION_MODIFY_REQUEST_SUCCESS ) ) { sendRttInitiationSuccess ( ) ; } else { sendRttInitiationFailure ( status ) ; } }
Source:
public int add ( E element , int occurrences ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
java.util.Set < E > createElementSet ( ) { return com.google.common.collect.Sets.union ( multiset1.elementSet ( ) , multiset2.elementSet ( ) ) ; }
Source:
com.google.common.collect.Multiset.Entry < E > transform ( E e ) { return com.google.common.collect.Multisets.immutableEntry ( e , 1 ) ; }

Target:
public int count ( java.lang.Object element ) { return ( multiset1.count ( element ) ) + ( multiset2.count ( element ) ) ; }
Source:
public void sendConnectionEvent ( java.lang.String id , java.lang.String event , android.os.Bundle extras ) throws java.lang.Exception { for ( com.android.internal.telecom.IConnectionServiceAdapter a : mConnectionServiceAdapters ) { a.onConnectionEvent ( id , event , extras ) ; } }

Target:
public void sendAddExistingConnection ( java.lang.String id ) throws java.lang.Exception { for ( com.android.internal.telecom.IConnectionServiceAdapter a : mConnectionServiceAdapters ) { a.addExistingConnection ( id , parcelable ( mConnectionById.get ( id ) ) , null ) ; } }
Source:
private static libcore.io.StructGroupReq makeGroupReq ( java.net.InetAddress gr_group , java.net.NetworkInterface networkInterface ) { int gr_interface = ( networkInterface != null ) ? networkInterface.getIndex ( ) : 0 ; return new libcore.io.StructGroupReq ( gr_interface , gr_group ) ; }

Target:
private static android.system.StructGroupReq makeGroupReq ( java.net.InetAddress gr_group , java.net.NetworkInterface networkInterface ) { int gr_interface = ( networkInterface != null ) ? networkInterface.getIndex ( ) : 0 ; return new android.system.StructGroupReq ( gr_interface , gr_group ) ; }
Source:
public java.lang.Object actual ( ) { return android.telecom.cts.CtsConnectionService.isServiceBound ( ) ; }

Target:
void assertCtsConnectionServiceUnbound ( ) { if ( android.telecom.cts.CtsConnectionService.isBound ( ) ) { assertTrue ( "CtsConnectionService not yet unbound!" , android.telecom.cts.CtsConnectionService.waitForUnBinding ( ) ) ; } }
Source:
public static < T extends java.lang.reflect.Member > T reflectAs ( java.lang.Class < T > expected , java.lang.invoke.MethodHandle target ) { java.lang.invoke.MethodHandleImpl directTarget = java.lang.invoke.MethodHandles.getMethodHandleImpl ( target ) ; return ( ( T ) ( directTarget.getMemberInternal ( ) ) ) ; }

Target:
public static < T extends java.lang.reflect.Member > T reflectAs ( java.lang.Class < T > expected , java.lang.invoke.MethodHandle target ) { java.lang.invoke.MethodHandleImpl directTarget = java.lang.invoke.MethodHandles.getMethodHandleImpl ( target ) ; return expected.cast ( directTarget.getMemberInternal ( ) ) ; }
Source:
public void proceedAfterWildChar ( java.lang.String str ) { }

Target:
public void proceedAfterWildChar ( java.lang.String str ) { if ( com.android.internal.telephony.sip.SipConnectionBase.DBG ) log ( "proceedAfterWildChar: ignore" ) ; }
Source:
public final com.android.ims.internal.IImsCallSession createCallSession ( int sessionId , com.android.ims.ImsCallProfile profile ) { return createCallSession ( sessionId , profile , null ) ; }

Target:
public com.android.ims.internal.IImsCallSession createCallSession ( int sessionId , com.android.ims.ImsCallProfile profile ) throws android.os.RemoteException { synchronized ( mLock ) { return this . createCallSession ( sessionId , profile ) ; } }
Source:
public void testCanEncodechar ( ) throws java.nio.charset.CharacterCodingException { assertTrue ( org.apache.harmony.tests.java.nio.charset.ASCIICharsetEncoderTest.encoder.canEncode ( 'w' ) ) ; assertFalse ( org.apache.harmony.tests.java.nio.charset.ASCIICharsetEncoderTest.encoder.canEncode ( '슣' ) ) ; }

Target:
public void testCanEncodeSurrogate() { assertFalse(encoder.canEncode('\ud800')); assertFalse(encoder.canEncode("\udc00")); }
Source:
public void test_plusWeeks_negative ( ) { java.time.LocalDate t = TEST_2007_07_15.plusWeeks ( ( - 1 ) ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2007 , 7 , 8 ) ) ; }

Target:
public void test_plusWeeks_negative ( ) { java.time.LocalDate t = tck.java.time.TCKLocalDate.TEST_2007_07_15.plusWeeks ( ( - 1 ) ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2007 , 7 , 8 ) ) ; }
Source:
public void visitLdcInsn ( java.lang.Object cst ) { handleCodeConstant ( cst ) ; }

Target:
public void visitLdcInsn ( java.lang.Object cst ) { handleCodeConstant ( cst , "ldc" ) ; }
Source:
public void reportUserSelection ( @ android.support.annotation.NonNull android.content.Context context , @ android.support.annotation.NonNull java.lang.String number , @ android.support.annotation.NonNull android.telecom.PhoneAccountHandle phoneAccountHandle ) { }

Target:
public void reportUserSelection ( @ android.support.annotation.NonNull android.content.Context context , @ android.support.annotation.NonNull java.lang.String number , @ android.support.annotation.NonNull android.telecom.PhoneAccountHandle phoneAccountHandle , boolean rememberSelection ) { }
Source:
public void test ( ) throws java.lang.Exception { assertEquals ( ( "res/layout/namespace.xml:2: Warning: Attribute is missing the Android namespace prefix [MissingPrefix]\n" + ( ( ( ( ( ( "<LinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\" android:id=\"@+id/newlinear\" android:orientation=\"vertical\" android:layout_width=\"match_parent\" android:layout_height=\"match_parent\" orientation=\"true\">\n" + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "res/layout/namespace.xml:3: Warning: Attribute is missing the Android namespace prefix [MissingPrefix]\n" ) + " <Button style=\"@style/setupWizardOuterFrame\" android.text=\"Button\" android:id=\"@+id/button1\" android:layout_width=\"wrap_content\" android:layout_height=\"wrap_content\"></Button>\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "0 errors, 2 warnings\n" ) + "" ) ) , lintFiles ( "res/layout/namespace.xml" ) ) ; }

Target:
public void test ( ) throws java.lang.Exception { assertEquals ( ( "res/layout/namespace.xml:2: Error: Attribute is missing the Android namespace prefix [MissingPrefix]\n" + ( ( ( ( ( ( "<LinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\" android:id=\"@+id/newlinear\" android:orientation=\"vertical\" android:layout_width=\"match_parent\" android:layout_height=\"match_parent\" orientation=\"true\">\n" + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "res/layout/namespace.xml:3: Error: Attribute is missing the Android namespace prefix [MissingPrefix]\n" ) + " <Button style=\"@style/setupWizardOuterFrame\" android.text=\"Button\" android:id=\"@+id/button1\" android:layout_width=\"wrap_content\" android:layout_height=\"wrap_content\"></Button>\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "2 errors, 0 warnings\n" ) + "" ) ) , lintFiles ( "res/layout/namespace.xml" ) ) ; }
Source:
public void addProviderWithNullConfig ( ) throws java.lang.Exception { org.junit.Assert.assertFalse ( mManager.addProvider ( null ) ) ; }

Target:
public void addProviderWithEmptyConfig ( ) throws java.lang.Exception { org.junit.Assert.assertFalse ( mManager.addOrUpdateProvider ( new android.net.wifi.hotspot2.PasspointConfiguration ( ) ) ) ; }
Source:
public com.android.server.pm.dex.PackageDexUsage.PackageUseInfo getPackageUseInfo ( java.lang.String packageName ) { return mPackageDexUsage.getPackageUseInfo ( packageName ) ; }

Target:
boolean hasInfoOnPackage ( java.lang.String packageName ) { return ( mPackageDexUsage.getPackageUseInfo ( packageName ) ) != null ; }
Source:
public void getEuiccInfo2 ( java.lang.String callingPackage , com.android.internal.telephony.euicc.IGetEuiccInfo2Callback callback ) { checkCallingPackage ( callingPackage ) ; }

Target:
public void onResult ( byte [ ] result ) { try { callback.onComplete ( EuiccCardManager.RESULT_OK , result ) ; } catch ( android.os.RemoteException exception ) { throw exception.rethrowFromSystemServer ( ) ; } }
Source:
public native double getDouble ( java.lang.Object object ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;

Target:
private native double getDouble ( java.lang.Object object , boolean accessible ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;
Source:
private java.lang.String [ ] getPackageNames ( ) { return mContext.getPackageManager ( ) . getPackagesForUid ( android.os.Binder.getCallingUid ( ) ) ; }

Target:
public void installGeocodeProvider ( android.location.IGeocodeProvider provider ) { if ( ( mContext.checkCallingOrSelfPermission ( com.android.server.LocationManagerService.INSTALL_LOCATION_PROVIDER ) ) != ( android.content.pm.PackageManager.PERMISSION_GRANTED ) ) { throw new java.lang.SecurityException ( "Requires INSTALL_LOCATION_PROVIDER permission" ) ; } mGeocodeProvider = provider ; }
Source:
private boolean hasAcceptedTos ( ) { if ( isVvm3 ( ) ) { return ( preferences.getInt ( com.android.dialer.app.voicemail.error.VoicemailTosMessageCreator.VVM3_TOS_VERSION_ACCEPTED_KEY , 0 ) ) >= ( com.android.dialer.app.voicemail.error.VoicemailTosMessageCreator.CURRENT_VVM3_TOS_VERSION ) ; } else { return ( preferences.getInt ( com.android.dialer.app.voicemail.error.VoicemailTosMessageCreator.DIALER_TOS_VERSION_ACCEPTED_KEY , 0 ) ) >= ( com.android.dialer.app.voicemail.error.VoicemailTosMessageCreator.CURRENT_DIALER_TOS_VERSION ) ; } }

Target:
private boolean hasAcknowledgedFeatures ( ) { if ( isVvm3 ( ) ) { return true ; } return ( preferences.getInt ( com.android.dialer.app.voicemail.error.VoicemailTosMessageCreator.PREF_DIALER_FEATURE_VERSION_ACKNOWLEDGED_KEY , 0 ) ) >= ( com.android.dialer.app.voicemail.error.VoicemailTosMessageCreator.CURRENT_VOICEMAIL_FEATURE_VERSION ) ; }
Source:
public void updateCursor ( android.database.Cursor updatedCursor ) { this . cursor = updatedCursor ; notifyDataSetChanged ( ) ; }

Target:
public void updateCursor ( android.database.Cursor updatedCursor ) { deletedVoicemailPosition.clear ( ) ; this . cursor = updatedCursor ; notifyDataSetChanged ( ) ; }
Source:
public java.util.Set < java.io.File > getJniDirectories ( ) { return getJni ( ) . getSrcDirs ( ) ; }

Target:
public java.util.Set < java.io.File > getCDirectories ( ) { return getJni ( ) . getSrcDirs ( ) ; }
Source:
public java.lang.Object expected ( ) { return false ; }

Target:
void assertCtsConnectionServiceUnbound ( ) { if ( android.telecom.cts.CtsConnectionService.isBound ( ) ) { assertTrue ( "CtsConnectionService not yet unbound!" , android.telecom.cts.CtsConnectionService.waitForUnBinding ( ) ) ; } }
Source:
public void callSessionMultipartyStateChanged ( com.android.ims.internal.ImsCallSession session , boolean isMultiParty ) { }

Target:
public void callSessionMultipartyStateChanged ( android.telephony.ims.ImsCallSession session , boolean isMultiParty ) { }
Source:
protected void finalize ( ) { if ( com.android.internal.telephony.cdma.CDMAPhone.DBG ) android.util.Log.d ( com.android.internal.telephony.cdma.CDMAPhone.LOG_TAG , "CDMAPhone finalized" ) ; if ( mWakeLock.isHeld ( ) ) { android.util.Log.e ( com.android.internal.telephony.cdma.CDMAPhone.LOG_TAG , "UNEXPECTED; mWakeLock is held when finalizing." ) ; mWakeLock.release ( ) ; } }

Target:
protected void finalize ( ) { if ( com.android.internal.telephony.cdma.CDMAPhone.DBG ) android.telephony.Rlog.d ( com.android.internal.telephony.cdma.CDMAPhone.LOG_TAG , "CDMAPhone finalized" ) ; if ( mWakeLock.isHeld ( ) ) { android.telephony.Rlog.e ( com.android.internal.telephony.cdma.CDMAPhone.LOG_TAG , "UNEXPECTED; mWakeLock is held when finalizing." ) ; mWakeLock.release ( ) ; } }
Source:
public void createImsFeature ( int subId , int feature ) throws android.os.RemoteException { }

Target:
public com.android.ims.internal.IImsRcsFeature createRcsFeature ( int slotId ) { return null ; }
Source:
public boolean getDataEnabled ( ) { return getDataEnabled ( android.telephony.SubscriptionManager.getDefaultDataSubscriptionId ( ) ) ; }

Target:
public void setDataEnabled ( boolean enable ) { setDataEnabled ( getSubId ( ) , enable ) ; }
Source:
final boolean isPowered ( ) { return ( ( mBatteryStatus ) == ( android.os.BatteryManager.BATTERY_STATUS_CHARGING ) ) || ( ( mBatteryStatus ) == ( android.os.BatteryManager.BATTERY_STATUS_UNKNOWN ) ) ; }

Target:
final boolean isPowered ( ) { return ( ( mAcOnline ) || ( mUsbOnline ) ) || ( ( mBatteryStatus ) == ( android.os.BatteryManager.BATTERY_STATUS_UNKNOWN ) ) ; }
Source:
public com.android.bluetooth.pbapclient.PbapClientConnectionHandler.Builder setLooper ( android.os.Looper loop ) { this . looper = loop ; return this ; }

Target:
public com.android.bluetooth.pbapclient.PbapClientConnectionHandler.Builder setLooper ( android.os.Looper loop ) { this . mLooper = loop ; return this ; }
Source:
private void initialization ( ) { buffer = java.nio.CharBuffer.allocate ( java.util.Scanner.DEFAULT_TRUNK_SIZE ) ; buffer.limit ( 0 ) ; matcher = delimiter.matcher ( buffer ) ; }

Target:
private void initialization ( ) { buffer = java.nio.CharBuffer.allocate ( 1024 ) ; buffer.limit ( 0 ) ; matcher = delimiter.matcher ( buffer ) ; }
Source:
public final void onDeregistered ( com.android.ims.ImsReasonInfo info ) { onImsDisconnected ( info ) ; }

Target:
public final void onDeregistered ( android.telephony.ims.ImsReasonInfo info ) { onImsDisconnected ( info ) ; }
Source:
public java.lang.String getLine1AlphaTag ( ) { android.util.Log.e ( com.android.internal.telephony.cdma.CDMAPhone.LOG_TAG , "getLine1AlphaTag: not possible in CDMA" ) ; return null ; }

Target:
public java.lang.String getLine1AlphaTag ( ) { android.telephony.Rlog.e ( com.android.internal.telephony.cdma.CDMAPhone.LOG_TAG , "getLine1AlphaTag: not possible in CDMA" ) ; return null ; }
Source:
public void out ( java.lang.String message ) { mVerboseStream.println ( message ) ; }

Target:
public void err ( java.lang.String message ) { verboseStream.println ( message ) ; }
Source:
public org.eclipse.swt.graphics.Color getBackground ( java.lang.Object element ) { return mTable.getDisplay ( ) . getSystemColor ( SWT.COLOR_LIST_BACKGROUND ) ; }

Target:
protected void setValue ( java.lang.Object element , java.lang.Object value ) { com.android.ide.eclipse.adt.internal.wizards.newproject.ImportedProject project = ( ( com.android.ide.eclipse.adt.internal.wizards.newproject.ImportedProject ) ( element ) ) ; project.setProjectName ( value.toString ( ) ) ; mCheckboxTableViewer.update ( element , null ) ; validatePage ( ) ; }
Source:
public void test009 ( ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( TEST009 ) . addIgnoredCandidateToolchain ( com.android.jack.test.toolchain.JillBasedToolchain.class ) . compileAndRunTest ( ) ; }

Target:
public void test009 ( ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( TEST009 ) . addIgnoredCandidateToolchain ( com.android.jack.test.toolchain.JillBasedToolchain.class ) . addIgnoredCandidateToolchain ( com.android.jack.test.toolchain.LegacyToolchain.class ) . compileAndRunTest ( ) ; }
Source:
public void test_equalsLjava_lang_Object ( ) throws java.lang.Exception { java.net.InetAddress ia1 = java.net.InetAddress.getByName ( "localhost" ) ; java.net.InetAddress ia2 = java.net.InetAddress.getByName ( "::1" ) ; assertEquals ( ia2 , ia1 ) ; }

Target:
public void test_equalsLjava_lang_Object ( ) throws java.lang.Exception { java.net.InetAddress ia1 = java.net.InetAddress.getByName ( "ip6-localhost" ) ; java.net.InetAddress ia2 = java.net.InetAddress.getByName ( "::1" ) ; assertEquals ( ia2 , ia1 ) ; }
Source:
public DST parseString ( @ javax.annotation.Nonnull com.android.sched.util.codec.CodecContext context , @ javax.annotation.Nonnull java.lang.String string ) { return convert ( codec.parseString ( context , string ) ) ; }

Target:
public DST parseString ( @ javax.annotation.Nonnull com.android.sched.util.codec.CodecContext context , @ javax.annotation.Nonnull java.lang.String string ) { try { return convert ( codec.parseString ( context , string ) ) ; } catch ( com.android.sched.util.codec.ParsingException e ) { throw new com.android.sched.util.config.ConfigurationError ( e ) ; } }
Source:
public void accept ( final org.objectweb.asm.MethodVisitor mv ) { mv.visitIntInsn ( opcode , operand ) ; }

Target:
public void accept ( final org.objectweb.asm.MethodVisitor mv ) { mv.visitIntInsn ( opcode , operand ) ; acceptAnnotations ( mv ) ; }
Source:
public com.android.ide.eclipse.adt.internal.editors.layout.gle2.HardwareConfigHelper setOrientation ( com.android.resources.ScreenOrientation screenOrientation ) { mScreenOrientation = screenOrientation ; return this ; }

Target:
public com.android.ide.common.rendering.HardwareConfigHelper setOrientation ( com.android.resources.ScreenOrientation screenOrientation ) { mScreenOrientation = screenOrientation ; return this ; }
Source:
void expectAvailableAndValidatedCallbacks ( com.android.server.ConnectivityServiceTest.MockNetworkAgent agent ) { expectAvailableCallbacks ( agent , false , com.android.server.ConnectivityServiceTest.TestNetworkCallback.TIMEOUT_MS ) ; expectCapabilitiesWith ( android.net.NetworkCapabilities.NET_CAPABILITY_VALIDATED , agent ) ; }

Target:
void expectAvailableCallbacksValidated ( com.android.server.ConnectivityServiceTest.MockNetworkAgent agent ) { expectAvailableCallbacks ( agent , false , true , com.android.server.ConnectivityServiceTest.TestNetworkCallback.TIMEOUT_MS ) ; }
Source:
public synchronized void setLength ( int length ) { setLengthOnly ( length ) ; this . capacity = length ; }

Target:
public void resetLengthForReceive ( ) { this . length = userSuppliedLength ; }
Source:
public void test_getByName_empty ( ) throws java.lang.Exception { java.net.InetAddress inetAddress = java.net.InetAddress.getByName ( "" ) ; libcore.java.net.InetAddressTest.assertEquals ( libcore.java.net.InetAddressTest.LOOPBACK6_BYTES , "ip6-localhost" , inetAddress ) ; assertTrue ( inetAddress.isLoopbackAddress ( ) ) ; }

Target:
public void test_getByName_loopbackIpv4 ( ) throws java.lang.Exception { java.net.InetAddress inetAddress = java.net.InetAddress.getByName ( "127.0.0.1" ) ; libcore.java.net.InetAddressTest.checkInetAddress ( libcore.java.net.InetAddressTest.LOOPBACK4_BYTES , "localhost" , inetAddress ) ; org.junit.Assert.assertTrue ( inetAddress.isLoopbackAddress ( ) ) ; }
Source:
static android.telephony.SignalStrength convertHalSignalStrength ( com.android.internal.telephony.V1_0.SignalStrength signalStrength ) { return new android.telephony.SignalStrength ( signalStrength.gw.signalStrength , signalStrength.gw.bitErrorRate , signalStrength.cdma.dbm , signalStrength.cdma.ecio , signalStrength.evdo.dbm , signalStrength.evdo.ecio , signalStrength.evdo.signalNoiseRatio , signalStrength.lte.signalStrength , signalStrength.lte.rsrp , signalStrength.lte.rsrq , signalStrength.lte.rssnr , signalStrength.lte.cqi , signalStrength.tdScdma.rscp ) ; }

Target:
public static android.telephony.SignalStrength convertHalSignalStrength_1_2 ( com.android.internal.telephony.V1_2.SignalStrength signalStrength ) { return new android.telephony.SignalStrength ( signalStrength.gsm.signalStrength , signalStrength.gsm.bitErrorRate , signalStrength.cdma.dbm , signalStrength.cdma.ecio , signalStrength.evdo.dbm , signalStrength.evdo.ecio , signalStrength.evdo.signalNoiseRatio , signalStrength.lte.signalStrength , signalStrength.lte.rsrp , signalStrength.lte.rsrq , signalStrength.lte.rssnr , signalStrength.lte.cqi , signalStrength.tdScdma.rscp , signalStrength.wcdma.base.signalStrength , signalStrength.wcdma.rscp ) ; }
Source:
public void fatalError ( org.xml.sax.SAXParseException e ) { validationError ( e.getMessage ( ) ) ; }

Target:
public void fatalError ( org.xml.sax.SAXParseException e ) throws org.xml.sax.SAXException { throw e ; }
Source:
public void enterSoftAPMode ( ) { changeMode ( com.android.server.wifi.WifiStateMachinePrime.ModeStateMachine.CMD_START_SOFT_AP_MODE ) ; }

Target:
public void enterSoftAPMode ( android.net.wifi.WifiConfiguration wifiConfig ) { if ( wifiConfig == null ) { wifiConfig = new android.net.wifi.WifiConfiguration ( ) ; } mApConfigQueue.offer ( wifiConfig ) ; changeMode ( com.android.server.wifi.WifiStateMachinePrime.ModeStateMachine.CMD_START_SOFT_AP_MODE ) ; }
Source:
public android.net.IpSecTransform.Builder setNattKeepalive ( int intervalSeconds ) { mConfig.nattKeepaliveInterval = intervalSeconds ; return this ; }

Target:
public android.net.IpSecTransform.Builder setAuthentication ( @ android.net.IpSecTransform.TransformDirection int direction , android.net.IpSecAlgorithm algo ) { mConfig.setAuthentication ( direction , algo ) ; return this ; }
Source:
public final native int addAssetPath ( java.lang.String path ) ;

Target:
public final native int addOverlayPath ( java.lang.String idmapPath ) ;
Source:
public void visitMethodInsn ( int opcode , java.lang.String owner , java.lang.String name , java.lang.String desc ) { printer.visitMethodInsn ( opcode , owner , name , desc ) ; printTypeOfOperandStackTop ( ) ; super . visitMethodInsn ( opcode , owner , name , desc ) ; }

Target:
public void visitMethodInsn ( int opcode , java.lang.String owner , java.lang.String name , java.lang.String desc ) { printer.visitMethodInsn ( opcode , owner , name , desc ) ; printTypeOfOperandStack ( ) ; super . visitMethodInsn ( opcode , owner , name , desc ) ; }
Source:
public static long Sub0 ( long arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return arg - 0 ; }

Target:
public static long $noinline$Sub0 ( long arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return arg - 0 ; }
Source:
private static org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl castToOpenSSLSocket ( java.net.Socket socket ) { if ( ! ( socket instanceof org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl ) ) { throw new java.lang.IllegalArgumentException ( ( "Socket not created by this factory: " + socket ) ) ; } return ( ( org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl ) ( socket ) ) ; }

Target:
private static com.android.org.conscrypt.OpenSSLSocketImpl castToOpenSSLSocket ( java.net.Socket socket ) { if ( ! ( socket instanceof com.android.org.conscrypt.OpenSSLSocketImpl ) ) { throw new java.lang.IllegalArgumentException ( ( "Socket not created by this factory: " + socket ) ) ; } return ( ( com.android.org.conscrypt.OpenSSLSocketImpl ) ( socket ) ) ; }