auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void realRun ( ) { while ( ! ( q.hasWaitingConsumer ( ) ) ) java.lang.Thread.yield ( ) ; assertTrue ( q.hasWaitingConsumer ( ) ) ; checkEmpty ( q ) ; assertTrue ( q.tryTransfer ( hotPotato ) ) ; }

Target:
public void realRun ( ) throws java.lang.InterruptedException { q.transfer ( four ) ; checkEmpty ( q ) ; }
Source:
public boolean removeAvd ( com.android.sdklib.internal.avd.AvdManager.AvdInfo avdInfo ) { synchronized ( mAllAvdList ) { if ( mAllAvdList.remove ( avdInfo ) ) { mValidAvdList = mBrokenAvdList = null ; return true ; } } return false ; }

Target:
public boolean removeAvd ( com.android.sdklib.internal.avd.AvdInfo avdInfo ) { synchronized ( mAllAvdList ) { if ( mAllAvdList.remove ( avdInfo ) ) { mValidAvdList = mBrokenAvdList = null ; return true ; } } return false ; }
Source:
public void test_F32_3_SCALE05_20_inRectangle ( ) { testReszie ( inX , inY , Element.DataType.FLOAT_32 , 3 , 0.5F , 2.0F ) ; }

Target:
public void test_F32_3_SCALE05_20_inRectangle ( ) { testResize ( inX , inY , Element.DataType.FLOAT_32 , 3 , 0.5F , 2.0F ) ; }
Source:
public java.lang.String getWpsNfcConfigurationToken ( int netId ) { enforceConnectivityInternalPermission ( ) ; mLog.trace ( "getWpsNfcConfigurationToken uid=%" ) . c ( android.os.Binder.getCallingUid ( ) ) . flush ( ) ; return mWifiStateMachine.syncGetWpsNfcConfigurationToken ( netId ) ; }

Target:
public java.lang.String getCurrentNetworkWpsNfcConfigurationToken ( ) { enforceConnectivityInternalPermission ( ) ; mLog.trace ( "getCurrentNetworkWpsNfcConfigurationToken uid=%" ) . c ( android.os.Binder.getCallingUid ( ) ) . flush ( ) ; return mWifiStateMachine.syncGetCurrentNetworkWpsNfcConfigurationToken ( ) ; }
Source:
public void testRunStarted ( int testCount ) { }

Target:
public void testRunStarted ( java.lang.String runName , int testCount ) { }
Source:
private static void callPostForkChildHooks ( int debugFlags ) { com.android.internal.os.Zygote.VM_HOOKS.postForkChild ( debugFlags ) ; }

Target:
private static void callPostForkChildHooks ( int debugFlags , java.lang.String instructionSet ) { com.android.internal.os.Zygote.VM_HOOKS.postForkChild ( debugFlags , instructionSet ) ; }
Source:
public java.util.Collection < java.lang.String > getApplicableElements ( ) { return java.util.Collections.singletonList ( com.android.SdkConstants.TAG_STRING ) ; }

Target:
public java.util.Collection < java.lang.String > getApplicableElements ( ) { return java.util.Arrays.asList ( com.android.SdkConstants.TAG_STRING , com.android.SdkConstants.TAG_STRING_ARRAY , com.android.SdkConstants.TAG_PLURALS ) ; }
Source:
protected native void join ( java.net.InetAddress inetaddr , java.net.NetworkInterface netIf ) throws java.io.IOException ;

Target:
protected void leave ( java.net.InetAddress inetaddr , java.net.NetworkInterface netIf ) throws java.io.IOException { if ( isClosed ( ) ) { throw new java.net.SocketException ( "Socket closed" ) ; } libcore.io.IoBridge.setSocketOption ( fd , libcore.io.IoBridge.JAVA_MCAST_LEAVE_GROUP , java.net.PlainDatagramSocketImpl.makeGroupReq ( inetaddr , netIf ) ) ; }
Source:
public abstract java.util.List < java.lang.String [ ] > getNavbarLinks ( javax.servlet.http.HttpServletRequest request ) ;

Target:
public abstract java.util.List < com.android.vts.servlet.BaseServlet.Page > getBreadcrumbLinks ( javax.servlet.http.HttpServletRequest request ) ;
Source:
public lombok.ast.AstVisitor createJavaVisitor ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.JavaContext context ) { if ( ! ( context.getProject ( ) . getReportIssues ( ) ) ) { return null ; } return new com.android.tools.lint.checks.PreferenceActivityDetector.PreferenceActivityVisitor ( context ) ; }

Target:
public java.util.List < java.lang.String > applicableSuperClasses ( ) { return java.util.Collections.singletonList ( com.android.tools.lint.checks.PreferenceActivityDetector.PREFERENCE_ACTIVITY ) ; }
Source:
native void rsnScriptSetTimeZone ( long con , long script , byte [ ] timeZone ) ;

Target:
native void rsnScriptSetVarVE ( long con , long id , int slot , byte [ ] val , long e , int [ ] dims , boolean mUseInc ) ;
Source:
synchronized void nContextDump ( int bits ) { validate ( ) ; rsnContextDump ( mContext , bits ) ; }

Target:
synchronized void nContextSetPriority ( int p ) { validate ( ) ; rsnContextSetPriority ( mContext , p ) ; }
Source:
public void selectConfigurationById ( int id ) { myCloudConfigurationCombo.selectConfiguration ( id ) ; }

Target:
public void selectMatrixConfigurationById ( int id ) { myCloudConfigurationCombo.selectConfiguration ( id ) ; }
Source:
boolean process ( java.lang.String countryIso , java.lang.String defaultTimeZoneId , java.util.List < java.lang.String > timeZoneIds , java.lang.String debugInfo ) throws org.xmlpull.v1.XmlPullParserException ;

Target:
boolean process ( java.lang.String countryIso , java.lang.String defaultTimeZoneId , boolean everUsesUtc , java.util.List < java.lang.String > timeZoneIds , java.lang.String debugInfo ) throws org.xmlpull.v1.XmlPullParserException ;
Source:
public void onPrepare ( ) { android.util.Log.d ( com.android.bluetooth.a2dpsink.mbs.A2dpMediaBrowserService.TAG , "onPrepare" ) ; if ( ( mA2dpSinkService ) != null ) { mA2dpSinkService.requestAudioFocus ( mA2dpDevice , true ) ; } }

Target:
public void onPrepare ( ) { if ( com.android.bluetooth.a2dpsink.mbs.A2dpMediaBrowserService.DBG ) android.util.Log.d ( com.android.bluetooth.a2dpsink.mbs.A2dpMediaBrowserService.TAG , "onPrepare" ) ; if ( ( mA2dpSinkService ) != null ) { mA2dpSinkService.requestAudioFocus ( mA2dpDevice , true ) ; } }
Source:
public void cdmaPrlChanged ( int var1 , int var2 ) { }

Target:
public void cdmaPrlChanged ( int indicationType , int var2 ) { }
Source:
public void verifyParcelWithCredentialOnly ( ) throws java.lang.Exception { android.net.wifi.hotspot2.PasspointConfiguration config = new android.net.wifi.hotspot2.PasspointConfiguration ( ) ; config.credential = android.net.wifi.hotspot2.PasspointConfigurationTest.createCredential ( ) ; android.net.wifi.hotspot2.PasspointConfigurationTest.verifyParcel ( config ) ; }

Target:
public void verifyParcelWithoutCredential ( ) throws java.lang.Exception { android.net.wifi.hotspot2.PasspointConfiguration config = android.net.wifi.hotspot2.PasspointConfigurationTest.createConfig ( ) ; config.credential = null ; android.net.wifi.hotspot2.PasspointConfigurationTest.verifyParcel ( config ) ; }
Source:
private static boolean isConference ( com.android.incallui.Call call ) { return ( call != null ) && ( call.isConferenceCall ( ) ) ; }

Target:
private void maybeShowManageConferenceCallButton ( ) { getUi ( ) . showManageConferenceCallButton ( shouldShowManageConference ( ) ) ; }
Source:
public int readAnnotationName ( ) { return com.android.dx.util.Leb128Utils.readUnsignedLeb128 ( in ) ; }

Target:
public int readAnnotationName ( ) { return com.android.dex.Leb128.readUnsignedLeb128 ( in ) ; }
Source:
public java.lang.String getMessage ( ) { return ( ( ( ( ( location.getDescription ( ) ) + ": " ) + ( node.getName ( ) ) ) + " could not be renamed to " ) + ( newName ) ) + " since the name was already used" ; }

Target:
public java.lang.String getMessage ( ) { return ( ( ( ( ( location.getDescription ( ) ) + ": '" ) + ( node.getName ( ) ) ) + "' could not be renamed to '" ) + ( newName ) ) + "' since the name was already used" ; }
Source:
public com.google.common.base.Objects.ToStringHelper add ( java.lang.String name , char value ) { checkNameAndAppend ( name ) . append ( value ) ; return this ; }

Target:
public com.google.common.base.Objects.ToStringHelper add ( java.lang.String name , int value ) { return addHolder ( name , java.lang.String.valueOf ( value ) ) ; }
Source:
protected void visitPrimitive ( int type , int arg , int size ) { throw new java.lang.AssertionError ( "Unsupported encoded value." ) ; }

Target:
protected void visitPrimitive ( int type , int arg , int size ) { callSiteArrayList.set ( ( ( idx ) ++ ) , com.android.jack.tools.merger.MergerTools.createConstant ( in , type , arg ) ) ; }
Source:
protected void tearDown ( ) throws java.lang.Exception { HEAD ( 7 ) ; android.backup.cts.ae80c Merge ; android.backup.cts.DO NOT ; android.backup.cts.Add test ; files ( no ) ; BRANCH ( 7 ) ; }

Target:
protected void tearDown ( ) throws java.lang.Exception { if ( isBackupSupported ) { setBackupTransport ( oldTransport ) ; enableBackup ( wasBackupEnabled ) ; } super . tearDown ( ) ; }
Source:
public void onChange ( boolean selfChange ) { super . onChange ( selfChange ) ; com.android.traceur.Receiver.updateQuickswitch ( context ) ; }

Target:
public void onChange ( boolean selfChange ) { super . onChange ( selfChange ) ; com.android.traceur.Receiver.updateQuickSettings ( context ) ; }
Source:
public void setJarJarConfigFiles ( @ javax.annotation.Nonnull java.util.List < java.io.File > jarJarConfigFiles ) { options.setJarjarRulesFiles ( jarJarConfigFiles ) ; }

Target:
public void setJarJarConfigFiles ( @ javax.annotation.Nonnull java.util.List < java.io.File > jarJarConfigFiles ) { options.setJarjarRulesFiles ( com.android.jack.api.v04.impl.Api04ConfigImpl.manageFilesCharsetAsList ( jarJarConfigFiles ) ) ; }
Source:
public void onPointerEvent ( android.view.MotionEvent motionEvent ) { if ( ( mPointerLocationView ) != null ) { mPointerLocationView.addPointerEvent ( motionEvent ) ; } }

Target:
public void onWakeUp ( ) { synchronized ( mLock ) { if ( shouldEnableWakeGestureLp ( ) ) { performHapticFeedbackLw ( null , HapticFeedbackConstants.VIRTUAL_KEY , false ) ; mPowerManager.wakeUp ( android.os.SystemClock.uptimeMillis ( ) ) ; } } }
Source:
public void onReceive ( android.content.Context c , android.content.Intent intent ) { int status = intent.getIntExtra ( WifiNanManager.EXTRA_WIFI_STATE , WifiNanManager.WIFI_NAN_STATE_DISABLED ) ; mEventFacade.postEvent ( ( status == ( android.net.wifi.nan.WifiNanManager.WIFI_NAN_STATE_ENABLED ) ? "WifiNanEnabled" : "WifiNanDisabled" ) , new android.os.Bundle ( ) ) ; }

Target:
public void onReceive ( android.content.Context c , android.content.Intent intent ) { int status = intent.getIntExtra ( WifiNanManager.EXTRA_WIFI_STATE , WifiNanManager.WIFI_NAN_STATE_DISABLED ) ; mEventFacade.postEvent ( ( status == ( android.net.wifi.nan.WifiNanManager.WIFI_NAN_STATE_ENABLED ) ? "WifiNanAvailable" : "WifiNanNotAvailable" ) , new android.os.Bundle ( ) ) ; }
Source:
public static void computeRemainder ( android.renderscript.cts.TestRemainder.ArgumentsFloatFloatFloat args , android.renderscript.cts.Target t ) { t.setPrecision ( 0 , 0 , false ) ; android.renderscript.cts.CoreMathVerifier.RemquoResult result = android.renderscript.cts.CoreMathVerifier.remquo ( args.inX , args.inY ) ; args.out = t.new32 ( result.remainder ) ; }

Target:
public static void computeRemainder ( android.renderscript.cts.TestRemainder.ArgumentsFloatFloatFloat args , android.renderscript.cts.Target t ) { t.setPrecision ( 0 , 0 , false ) ; android.renderscript.cts.CoreMathVerifier.RemquoResult result = android.renderscript.cts.CoreMathVerifier.remquo ( args.inNumerator , args.inDenominator ) ; args.out = t.new32 ( result.remainder ) ; }
Source:
public void remove ( ) { com.google.common.base.Preconditions.checkState ( ( ( removeFrom ) != null ) , "no calls to next() since last call to remove()" ) ; removeFrom.remove ( ) ; removeFrom = null ; }

Target:
public void remove ( ) { com.google.common.collect.CollectPreconditions.checkRemove ( ( ( removeFrom ) != null ) ) ; removeFrom.remove ( ) ; removeFrom = null ; }
Source:
public com.android.ide.common.rendering.api.ResourceValue getValue ( com.android.ide.eclipse.adt.internal.resources.ResourceType type , java.lang.String name ) { update ( ) ; java.util.HashMap < java.lang.String , com.android.ide.common.rendering.api.ResourceValue > list = mResourceItems.get ( type ) ; if ( list != null ) { return list.get ( name ) ; } return null ; }

Target:
public com.android.ide.common.rendering.api.ResourceValue getValue ( com.android.resources.ResourceType type , java.lang.String name ) { update ( ) ; java.util.HashMap < java.lang.String , com.android.ide.common.rendering.api.ResourceValue > list = mResourceItems.get ( type ) ; if ( list != null ) { return list.get ( name ) ; } return null ; }
Source:
public static java.io.File [ ] getDefaultClasspath ( ) { return new java.io.File [ ] { com.android.jack.TestTools.getFromAndroidTree ( "toolchain/jack/jack/libs/core-stubs-mini.jack" ) } ; }

Target:
public static java.io.File [ ] getDefaultClasspath ( ) { return new java.io.File [ ] { new java.io.File ( com.android.jack.test.TestsProperties.getJackRootDir ( ) , "jack-tests/prebuilts/core-stubs-mini.jack" ) } ; }
Source:
public void copyTo ( int [ ] d ) { validateIsInt32 ( ) ; mRS.validate ( ) ; mRS.nAllocationRead ( getID ( mRS ) , d ) ; }

Target:
public void copyTo ( int [ ] d ) { validateIsInt32 ( ) ; copyTo ( d , Element.DataType.SIGNED_32 , d.length ) ; }
Source:
public void testInvalidNegativeSerialNumberTest15 ( ) throws java.lang.Exception { doExceptionTest ( org.bouncycastle.jce.provider.test.nist.NistCertPathTest.TRUST_ANCHOR_ROOT_CERTIFICATE , new java.lang.String [ ] { "NegativeSerialNumberCACert" , "InvalidNegativeSerialNumberTest15EE" } , new java.lang.String [ ] { org.bouncycastle.jce.provider.test.nist.NistCertPathTest.TRUST_ANCHOR_ROOT_CRL , "NegativeSerialNumberCACRL" } , 0 , "Certificate revocation after Fri Apr 20 00:57:20" , "reason: keyCompromise" ) ; }

Target:
public void testInvalidNegativeSerialNumberTest15 ( ) throws java.lang.Exception { doExceptionTest ( org.bouncycastle.jce.provider.test.nist.NistCertPathTest.TRUST_ANCHOR_ROOT_CERTIFICATE , new java.lang.String [ ] { "NegativeSerialNumberCACert" , "InvalidNegativeSerialNumberTest15EE" } , new java.lang.String [ ] { org.bouncycastle.jce.provider.test.nist.NistCertPathTest.TRUST_ANCHOR_ROOT_CRL , "NegativeSerialNumberCACRL" } , 0 , "Certificate revocation after 2001-04-19 14:57:20 +0000" , "reason: keyCompromise" ) ; }
Source:
private static synchronized void RemoveConsole ( int port ) { com.android.ddmlib.EmulatorConsole.sEmulators.remove ( port ) ; }

Target:
private static void removeConsole ( int port ) { synchronized ( com.android.ddmlib.EmulatorConsole.sEmulators ) { com.android.ddmlib.Log.v ( com.android.ddmlib.EmulatorConsole.LOG_TAG , ( "Removing emulator console for " + ( java.lang.Integer.toString ( port ) ) ) ) ; com.android.ddmlib.EmulatorConsole.sEmulators.remove ( port ) ; } }
Source:
public void callSessionConferenceExtended ( com.android.ims.internal.ImsCallSession newSession , com.android.ims.ImsCallProfile profile ) throws android.os.RemoteException { mListener.callSessionConferenceExtended ( ( newSession != null ? newSession.getSession ( ) : null ) , profile ) ; }

Target:
public void callSessionInviteParticipantsRequestFailed ( android.telephony.ims.ImsReasonInfo reasonInfo ) { try { mListener.callSessionInviteParticipantsRequestFailed ( reasonInfo ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e ) ; } }
Source:
public static android.os.Handler getHandler ( ) { synchronized ( com.android.server.UiThread.class ) { com.android.server.FgThread.ensureThreadLocked ( ) ; return com.android.server.FgThread.sHandler ; } }

Target:
public static android.os.Handler getHandler ( ) { synchronized ( com.android.server.FgThread.class ) { com.android.server.FgThread.ensureThreadLocked ( ) ; return com.android.server.FgThread.sHandler ; } }
Source:
public void testWeights2 ( ) throws java.lang.Exception { assertEquals ( ( "nested_weights.xml:22: Warning: Nested weights are bad for performance\n" + "nested_weights.xml:28: Warning: Use a layout_width of 0dip instead of match_parent for better performance" ) , lintFiles ( "res/layout/nested_weights.xml" ) ) ; }

Target:
public void testWeights2 ( ) throws java.lang.Exception { assertEquals ( "nested_weights.xml:23: Warning: Nested weights are bad for performance" , lintFiles ( "res/layout/nested_weights.xml" ) ) ; }
Source:
boolean isVoicemailTranscriptionAvailable ( android.content.Context context ) ;

Target:
boolean isVoicemailTranscriptionAvailable ( android.content.Context context , android.telecom.PhoneAccountHandle account ) ;
Source:
static native java.lang.Class < ? > classForName ( java.lang.String className , boolean initializeBoolean , java.lang.ClassLoader classLoader ) throws java.lang.ClassNotFoundException ;

Target:
private static native java.lang.Class < ? > classForName ( java.lang.String className , boolean shouldInitialize , java.lang.ClassLoader classLoader ) throws java.lang.ClassNotFoundException ;
Source:
protected void customHandle ( @ com.android.annotations.NonNull java.lang.String dataItemKey , @ com.android.annotations.NonNull java.util.List < com.android.ide.common.res2.AssetItem > items , @ com.android.annotations.NonNull com.android.ide.common.res2.MergeConsumer < com.android.ide.common.res2.AssetItem > consumer ) { }

Target:
protected void mergeItems ( @ com.android.annotations.NonNull java.lang.String dataItemKey , @ com.android.annotations.NonNull java.util.List < com.android.ide.common.res2.AssetItem > items , @ com.android.annotations.NonNull com.android.ide.common.res2.MergeConsumer < com.android.ide.common.res2.AssetItem > consumer ) { }
Source:
public int compare ( com.android.tools.perflib.heap.Instance a , com.android.tools.perflib.heap.Instance b ) { return java.lang.Long.compare ( b.getTotalRetainedSize ( ) , a.getTotalRetainedSize ( ) ) ; }

Target:
public int compare ( com.android.ahat.heapdump.AhatInstance a , com.android.ahat.heapdump.AhatInstance b ) { return java.lang.Long.compare ( b.getTotalRetainedSize ( ) , a.getTotalRetainedSize ( ) ) ; }
Source:
public void onExtrasChanged ( java.lang.String callId , android.os.Bundle extras ) throws android.os.RemoteException { mConnectionServiceDelegateAdapter.onExtrasChanged ( callId , extras ) ; }

Target:
public void conference ( java.lang.String conferenceCallId , java.lang.String callId , android.telecom.Logging.Session.Info info ) throws android.os.RemoteException { mConnectionServiceDelegateAdapter.conference ( conferenceCallId , callId , info ) ; }
Source:
public boolean dispatchPopulateAccessibilityEvent ( android.view.accessibility.AccessibilityEvent event ) { return false ; }

Target:
public boolean dispatchPopulateAccessibilityEvent ( android.view.accessibility.AccessibilityEvent event ) { if ( ( mAccessibilityDelegate ) != null ) { return mAccessibilityDelegate.dispatchPopulateAccessibilityEvent ( this , event ) ; } else { return dispatchPopulateAccessibilityEventInternal ( event ) ; } }
Source:
static native void getFolderListNative ( byte [ ] address , byte start , byte items ) ;

Target:
static native void getFolderListNative ( byte [ ] address , byte start , byte end ) ;
Source:
private boolean hasPostDialDigits ( com.android.dialer.DialerPhoneNumber dialerPhoneNumber ) { return ! ( android.telephony.PhoneNumberUtils.extractPostDialPortion ( dialerPhoneNumber.getRawInput ( ) . getNumber ( ) ) . isEmpty ( ) ) ; }

Target:
private boolean hasPostDialDigits ( com.android.dialer.DialerPhoneNumber dialerPhoneNumber ) { return ! ( android.telephony.PhoneNumberUtils.extractPostDialPortion ( dialerPhoneNumber.getNormalizedNumber ( ) ) . isEmpty ( ) ) ; }
Source:
abstract java.util.Map < K , V > map ( ) ;

Target:
java.util.Map < K , V > map ( ) { return map ; }
Source:
public void showAudioRouteSelector ( android.content.Context context ) { context.startActivity ( new android.content.Intent ( context , com.android.incallui.AudioRouteSelectorActivity.class ) ) ; }

Target:
public void showAudioRouteSelector ( android.content.Context context ) { android.content.Intent intent = new android.content.Intent ( context , com.android.incallui.AudioRouteSelectorActivity.class ) ; intent.setFlags ( ( ( android.content.Intent.FLAG_ACTIVITY_NEW_TASK ) | ( android.content.Intent.FLAG_ACTIVITY_MULTIPLE_TASK ) ) ) ; context.startActivity ( intent ) ; }
Source:
public void copy1DRangeFrom ( int off , int count , short [ ] d ) { validateIsInt16 ( ) ; copy1DRangeFromUnchecked ( off , count , d ) ; }

Target:
public void copyFrom ( int [ ] d ) { validateIsInt32 ( ) ; copyFromUnchecked ( d , Element.DataType.SIGNED_32 , d.length ) ; }
Source:
protected void dispatchQueuedEvents ( ) { while ( true ) { com.google.common.eventbus.EventWithHandler eventWithHandler = eventsToDispatch.poll ( ) ; if ( eventWithHandler == null ) { break ; } dispatch ( eventWithHandler.event , eventWithHandler.handler ) ; } }

Target:
protected void dispatchQueuedEvents ( ) { while ( true ) { com.google.common.eventbus.EventBus.EventWithSubscriber eventWithSubscriber = eventsToDispatch.poll ( ) ; if ( eventWithSubscriber == null ) { break ; } dispatch ( eventWithSubscriber.event , eventWithSubscriber.subscriber ) ; } }
Source:
public int compare ( com.android.mms.transaction.MessagingNotification.MmsSmsNotificationInfo info1 , com.android.mms.transaction.MessagingNotification.MmsSmsNotificationInfo info2 ) { return java.lang.Long.signum ( ( ( info2.getTime ( ) ) - ( info1.getTime ( ) ) ) ) ; }

Target:
public int compare ( com.android.mms.transaction.MessagingNotification.NotificationInfo info1 , com.android.mms.transaction.MessagingNotification.NotificationInfo info2 ) { return java.lang.Long.signum ( ( ( info2.getTime ( ) ) - ( info1.getTime ( ) ) ) ) ; }
Source:
public org.objectweb.asm.AnnotationVisitor visitAnnotation ( java.lang.String desc , boolean visible ) { return new org.objectweb.asm.AnnotationVisitor ( org.objectweb.asm.Opcodes.ASM4 ) { } ; }

Target:
public org.objectweb.asm.AnnotationVisitor visitAnnotation ( java.lang.String desc , boolean visible ) { return new org.objectweb.asm.AnnotationVisitor ( org.objectweb.asm.Opcodes.ASM5 ) { } ; }
Source:
public void onIntrData ( android.bluetooth.BluetoothDevice device , byte reportId , byte [ ] data ) { try { mCallbackQueue.put ( com.android.bluetooth.hid.HidDeviceTest.CALLBACK_ON_INTR_DATA ) ; } catch ( java.lang.InterruptedException e ) { org.junit.Assert.fail ( "Cannot add Intent to the queue" ) ; } }

Target:
public void onInterruptData ( android.bluetooth.BluetoothDevice device , byte reportId , byte [ ] data ) { try { mCallbackQueue.put ( com.android.bluetooth.hid.HidDeviceTest.CALLBACK_ON_INTR_DATA ) ; } catch ( java.lang.InterruptedException e ) { org.junit.Assert.fail ( "Cannot add Intent to the queue" ) ; } }
Source:
public java.lang.String [ ] getDefaultCipherSuites ( ) { if ( ( instantiationException ) != null ) { return libcore.util.EmptyArray.STRING ; } return sslParameters.getEnabledCipherSuites ( ) ; }

Target:
public java.lang.String [ ] getDefaultCipherSuites ( ) { if ( ( instantiationException ) != null ) { return org.conscrypt.util.EmptyArray.STRING ; } return sslParameters.getEnabledCipherSuites ( ) ; }
Source:
public android.net.IpSecTransform.Builder setAuthenticatedEncryption ( @ android.net.IpSecTransform.TransformDirection int direction , android.net.IpSecAlgorithm algo ) { mConfig.setAuthenticatedEncryption ( direction , algo ) ; return this ; }

Target:
public android.net.IpSecTransform.Builder setEncryption ( @ android.annotation.NonNull android.net.IpSecAlgorithm algo ) { com.android.internal.util.Preconditions.checkNotNull ( algo ) ; mConfig.setEncryption ( algo ) ; return this ; }
Source:
void createCopyFile ( ) { installDir = ( isFwdLocked ( ) ) ? mDrmAppPrivateInstallDir : mAppInstallDir ; codeFileName = createTempPackageFile ( installDir ) . getPath ( ) ; resourceFileName = getResourcePathFromCodePath ( ) ; created = true ; }

Target:
void createCopyFile ( ) { installDir = ( isFwdLocked ( ) ) ? mDrmAppPrivateInstallDir : mAppInstallDir ; codeFileName = createTempPackageFile ( installDir ) . getPath ( ) ; resourceFileName = getResourcePathFromCodePath ( ) ; libraryPath = getLibraryPathFromCodePath ( ) ; created = true ; }
Source:
public static java.lang.String getJs ( java.io.File assetsFolder ) { try { return java.lang.String.format ( "<script language=\"javascript\">%s</script>" , com.google.common.io.Files.toString ( new java.io.File ( assetsFolder , "script.js" ) , com.google.common.base.Charsets.UTF_8 ) ) ; } catch ( java.io.IOException e ) { return "" ; } }

Target:
public static java.lang.String getSystraceHtml ( java.io.File assetsFolder ) { return com.android.ide.eclipse.ddms.systrace.SystraceOutputParser.getHtmlTemplate ( assetsFolder , "systrace_trace_viewer.html" ) ; }
Source:
com.android.sched.util.location.Location getVDirLocation ( @ javax.annotation.Nonnull com.android.sched.vfs.MessageDigestFS.MessageDigestVDir parent , @ javax.annotation.Nonnull java.lang.String name ) { return vfs.getVDirLocation ( parent , name ) ; }

Target:
com.android.sched.util.location.Location getVDirLocation ( @ javax.annotation.Nonnull com.android.sched.vfs.MessageDigestFS.MessageDigestVDir dir ) { return vfs.getVDirLocation ( dir.getWrappedDir ( ) ) ; }
Source:
public boolean startTraceSeed ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface type ) { com.android.jack.shrob.seed.SeedMarker marker = type.getMarker ( com.android.jack.shrob.seed.SeedMarker.class ) ; return ( marker != null ) && ( ( marker.getModifier ( ) ) != ( com.android.jack.shrob.spec.KeepModifier.ALLOW_SHRINKING ) ) ; }

Target:
public boolean startTraceSeed ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface type ) { com.android.jack.shrob.seed.SeedMarker marker = type.getMarker ( com.android.jack.shrob.seed.SeedMarker.class ) ; return ( marker != null ) && ( ! ( marker.getModifier ( ) . allowShrinking ( ) ) ) ; }
Source:
public static native void doCommonMultiClassRedefinition ( java.lang.Class < ? > [ ] targets , byte [ ] [ ] classfiles , byte [ ] [ ] dexfiles ) throws java.lang.Exception ;

Target:
public static void doCommonMultiClassRedefinition ( java.lang.Class < ? > [ ] targets , byte [ ] [ ] classfiles , byte [ ] [ ] dexfiles ) throws java.lang.Exception { art.Redefinition.doCommonMultiClassRedefinition ( targets , classfiles , dexfiles ) ; }
Source:
private com.android.jack.ir.ast.JAnnotationType getDefaultAnnotationType ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface type ) { if ( ( defaultAnnotationType ) == null ) { defaultAnnotationType = type.getSession ( ) . getPhantomLookup ( ) . getAnnotationType ( DexAnnotations.ANNOTATION_ANNOTATION_DEFAULT ) ; } assert ( defaultAnnotationType ) != null ; return defaultAnnotationType ; }

Target:
private com.android.jack.ir.ast.JAnnotationType getDefaultAnnotationType ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface type ) { if ( ( defaultAnnotationType ) == null ) { defaultAnnotationType = com.android.jack.Jack.getSession ( ) . getPhantomLookup ( ) . getAnnotationType ( DexAnnotations.ANNOTATION_ANNOTATION_DEFAULT ) ; } assert ( defaultAnnotationType ) != null ; return defaultAnnotationType ; }
Source:
java.util.Set < java.lang.Class < ? > > flattenHierarchy ( java.lang.Class < ? > concreteClass ) { try { return flattenHierarchyCache.get ( concreteClass ) ; } catch ( java.util.concurrent.ExecutionException e ) { throw com.google.common.base.Throwables.propagate ( e.getCause ( ) ) ; } }

Target:
java.util.Set < java.lang.Class < ? > > flattenHierarchy ( java.lang.Class < ? > concreteClass ) { try { return com.google.common.eventbus.EventBus.flattenHierarchyCache.getUnchecked ( concreteClass ) ; } catch ( com.google.common.util.concurrent.UncheckedExecutionException e ) { throw com.google.common.base.Throwables.propagate ( e.getCause ( ) ) ; } }
Source:
public void test_plusWeeks_overLeapYears ( ) { java.time.LocalDate t = TEST_2007_07_15.plusYears ( ( - 1 ) ) . plusWeeks ( 104 ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2008 , 7 , 12 ) ) ; }

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 startTethering ( int type , android.os.ResultReceiver receiver , boolean showProvisioningUi ) { throw new java.lang.RuntimeException ( "not implemented" ) ; }

Target:
public void startTethering ( int type , android.os.ResultReceiver receiver , boolean showProvisioningUi , java.lang.String callerPkg ) { throw new java.lang.RuntimeException ( "not implemented" ) ; }
Source:
public static < K , V > com.google.common.collect.ImmutableBiMap < K , V > of ( K k1 , V v1 ) { return new com.google.common.collect.RegularImmutableBiMap < K , V > ( com.google.common.collect.ImmutableMap.of ( k1 , v1 ) ) ; }

Target:
public static < K , V > com.google.common.collect.ImmutableBiMap < K , V > of ( K k1 , V v1 ) { return new com.google.common.collect.SingletonImmutableBiMap < K , V > ( k1 , v1 ) ; }
Source:
public static final java.lang.String getDefaultType ( ) { java.lang.String defaultType = java.security.Security.getProperty ( java.security.cert.CertStore.PROPERTYNAME ) ; return defaultType == null ? java.security.cert.CertStore.DEFAULTPROPERTY : defaultType ; }

Target:
public static final java.lang.String getDefaultType ( ) { java.lang.String defaultType = java.security.Security.getProperty ( java.security.cert.CertStore.PROPERTY_NAME ) ; return defaultType == null ? java.security.cert.CertStore.DEFAULT_PROPERTY : defaultType ; }
Source:
public static void computeMax ( android.renderscript.cts.TestMax.ArgumentsShortShortShort args ) { args.ulf = 0 ; args.ulfRelaxed = 0 ; args.out = ( ( short ) ( java.lang.StrictMath.max ( args.inV1 , args.inV2 ) ) ) ; }

Target:
public static void computeCbrt ( android.renderscript.cts.TestCbrt.ArgumentsFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( android.renderscript.cts.CoreMathVerifier.cbrt ( args.in ) , 2 , 128 ) ; }
Source:
public void copyTo ( short [ ] d ) { validateIsInt16 ( ) ; mRS.validate ( ) ; mRS.nAllocationRead ( getID ( mRS ) , d ) ; }

Target:
public void copyTo ( byte [ ] d ) { validateIsInt8 ( ) ; copyTo ( d , Element.DataType.SIGNED_8 , d.length ) ; }
Source:
public android.net.wifi.WifiConfiguration buildWifiConfig ( java.lang.String uriString , java.lang.String mimeType , byte [ ] data ) { try { return mService.buildWifiConfig ( uriString , mimeType , data ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }

Target:
public boolean isWifiAwareSupported ( ) { return isFeatureSupported ( android.net.wifi.WifiManager.WIFI_FEATURE_AWARE ) ; }
Source:
public void testConstructor_NullEndDate_Failure ( ) throws java.lang.Exception { try { new android.security.KeyPairGeneratorSpec ( getContext ( ) , android.security.KeyPairGeneratorSpecTest.TEST_ALIAS_1 , "RSA" , 1024 , null , android.security.KeyPairGeneratorSpecTest.TEST_DN_1 , android.security.KeyPairGeneratorSpecTest.SERIAL_1 , android.security.KeyPairGeneratorSpecTest.NOW , null , 0 ) ; fail ( "Should throw IllegalArgumentException when keystoreAlias is null" ) ; } catch ( java.lang.IllegalArgumentException success ) { } }

Target:
public void testConstructor_NullEndDate_Success ( ) throws java.lang.Exception { android.security.KeyPairGeneratorSpec spec = new android.security.KeyPairGeneratorSpec ( getContext ( ) , android.security.KeyPairGeneratorSpecTest.TEST_ALIAS_1 , "RSA" , 1024 , null , android.security.KeyPairGeneratorSpecTest.TEST_DN_1 , android.security.KeyPairGeneratorSpecTest.SERIAL_1 , android.security.KeyPairGeneratorSpecTest.NOW , null , 0 ) ; assertEquals ( android.security.KeyPairGeneratorSpecTest.DEFAULT_CERT_NOT_AFTER , spec.getEndDate ( ) ) ; }
Source:
public void onClick ( android.content.DialogInterface dialog , int which ) { updateState ( com.android.mms.ui.ManageSimMessages.SHOW_BUSY ) ; deleteAllFromSim ( ) ; dialog.dismiss ( ) ; }

Target:
public void onClick ( android.content.DialogInterface dialog , int which ) { updateState ( com.android.mms.ui.ManageSimMessages.SHOW_BUSY ) ; deleteFromSim ( cursor ) ; dialog.dismiss ( ) ; }
Source:
protected com.android.sched.util.location.Location getVFSLocation ( ) { return vfsLocation ; }

Target:
protected com.android.sched.util.location.Location getVFSLocation ( ) { return vfs.getLocation ( ) ; }
Source:
public boolean reset ( ) { execute ( 'r' ) ; return ( mError ) == ( android.security.KeyStore.NO_ERROR ) ; }

Target:
public boolean password ( java.lang.String password ) { try { return ( mBinder.password ( password ) ) == ( android.security.KeyStore.NO_ERROR ) ; } catch ( android.os.RemoteException e ) { android.util.Log.w ( android.security.KeyStore.TAG , "Cannot connect to keystore" , e ) ; return false ; } }
Source:
private void refresh ( ) { com.google.android.traceur.Receiver.updateTracing ( this , false ) ; com.google.android.traceur.Receiver.updateQs ( this ) ; }

Target:
private void refresh ( ) { com.android.traceur.Receiver.updateTracing ( this , false ) ; com.android.traceur.Receiver.updateQs ( this ) ; }
Source:
public void visitMethodTypeConstant ( proguard.shrink.Clazz clazz , proguard.shrink.MethodTypeConstant methodTypeConstant ) { if ( shouldBeMarkedAsUsed ( methodTypeConstant ) ) { markAsUsed ( methodTypeConstant ) ; markConstant ( clazz , methodTypeConstant.u2descriptorIndex ) ; } }

Target:
public void visitMethodTypeConstant ( proguard.shrink.Clazz clazz , proguard.shrink.MethodTypeConstant methodTypeConstant ) { if ( shouldBeMarkedAsUsed ( methodTypeConstant ) ) { markAsUsed ( methodTypeConstant ) ; markConstant ( clazz , methodTypeConstant.u2descriptorIndex ) ; methodTypeConstant.referencedClassesAccept ( this ) ; } }
Source:
private java.lang.Object responseVoid ( android.os.Parcel p ) { return null ; }

Target:
private java.lang.String getWorkSourceClientId ( android.os.WorkSource workSource ) { if ( workSource != null ) { return ( ( java.lang.String.valueOf ( workSource.get ( 0 ) ) ) + ":" ) + ( workSource.getName ( 0 ) ) ; } return null ; }
Source:
public void visitElement ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.XmlContext context , @ com.android.annotations.NonNull org.w3c.dom.Element element ) { assert false ; }

Target:
public void visitElementAfter ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.XmlContext context , @ com.android.annotations.NonNull org.w3c.dom.Element element ) { }
Source:
protected java.io.File buildProject ( java.lang.String name , java.lang.String gradleVersion ) { return runTasksOnProject ( name , gradleVersion , "clean" , "assembleDebug" ) ; }

Target:
protected java.io.File buildProject ( java.lang.String name , java.lang.String gradleVersion ) { return runTasksOnProject ( name , gradleVersion , "clean" , "assembleDebug" , "lint" ) ; }
Source:
public void onConflictStateChange ( boolean conflict , com.android.tv.dvr.ScheduledRecording ... schedules ) { for ( com.android.tv.dvr.ScheduledRecording schedule : schedules ) { com.android.tv.guide.ProgramManager.TableEntry entry = getTableEntry ( schedule ) ; if ( entry != null ) { notifyTableEntryUpdated ( entry ) ; } } }

Target:
public void onConflictStateChange ( boolean conflict , com.android.tv.dvr.data.ScheduledRecording ... schedules ) { for ( com.android.tv.dvr.data.ScheduledRecording schedule : schedules ) { com.android.tv.guide.ProgramManager.TableEntry entry = getTableEntry ( schedule ) ; if ( entry != null ) { notifyTableEntryUpdated ( entry ) ; } } }
Source:
public void now_Clock_tooLow ( ) { java.time.Clock clock = java.time.Clock.fixed ( MIN_INSTANT.minusNanos ( 1 ) , java.time.ZoneOffset.UTC ) ; java.time.LocalDate.now ( clock ) ; }

Target:
public void now_Clock_tooLow ( ) { java.time.Clock clock = java.time.Clock.fixed ( tck.java.time.TCKLocalDate.MIN_INSTANT.minusNanos ( 1 ) , java.time.ZoneOffset.UTC ) ; java.time.LocalDate.now ( clock ) ; }
Source:
public void tearDown ( ) throws java.lang.Exception { }

Target:
public void tearDown ( ) throws java.lang.Exception { Settings.Global.putInt ( mContentResolver , Settings.Global.WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON , mNotificationsEnabledOriginalValue ) ; }
Source:
protected void loge ( java.lang.String s ) { android.util.Log.e ( com.android.internal.telephony.gsm.GsmServiceStateTracker.LOG_TAG , ( "[GsmSST] " + s ) ) ; }

Target:
protected void loge ( java.lang.String s ) { android.telephony.Rlog.e ( com.android.internal.telephony.gsm.GsmServiceStateTracker.LOG_TAG , ( "[GsmSST] " + s ) ) ; }
Source:
private static com.intellij.util.indexing.FileBasedIndexImpl.SilentProgressIndicator create ( ) { final com.intellij.util.indexing.ProgressIndicator indicator = com.intellij.util.indexing.ProgressManager.getInstance ( ) . getProgressIndicator ( ) ; return indicator != null ? new com.intellij.util.indexing.FileBasedIndexImpl.SilentProgressIndicator ( indicator ) : null ; }

Target:
private static com.intellij.util.indexing.FileBasedIndexImpl.SilentProgressIndicator create ( ) { final com.intellij.openapi.progress.ProgressIndicator indicator = com.intellij.openapi.progress.ProgressManager.getInstance ( ) . getProgressIndicator ( ) ; return indicator != null ? new com.intellij.util.indexing.FileBasedIndexImpl.SilentProgressIndicator ( indicator ) : null ; }
Source:
public com.android.utils.HtmlBuilder listItem ( ) { if ( com.android.utils.HtmlBuilder.USE_DD_LISTS ) { mStringBuilder.append ( "\n<DD>" ) ; mStringBuilder.append ( "-&NBSP;" ) ; } else { mStringBuilder.append ( "\n<LI>" ) ; } return this ; }

Target:
public com.android.utils.HtmlBuilder listItem ( ) { if ( com.android.utils.HtmlBuilder.USE_DD_LISTS ) { mStringBuilder.append ( "<DD>" ) ; mStringBuilder.append ( "-&NBSP;" ) ; } else { mStringBuilder.append ( "<LI>" ) ; } return this ; }
Source:
android.content.res.Resources getTopLevelResources ( java.lang.String resDir , int displayId , android.content.res.Configuration overrideConfiguration , android.app.LoadedApk pkgInfo ) { return mResourcesManager.getTopLevelResources ( resDir , displayId , overrideConfiguration , pkgInfo.getCompatibilityInfo ( ) , null ) ; }

Target:
android.content.res.Resources getTopLevelResources ( java.lang.String resDir , java.lang.String [ ] overlayDirs , int displayId , android.content.res.Configuration overrideConfiguration , android.app.LoadedApk pkgInfo ) { return mResourcesManager.getTopLevelResources ( resDir , overlayDirs , displayId , overrideConfiguration , pkgInfo.getCompatibilityInfo ( ) , null ) ; }
Source:
synchronized void nScriptSetVarI ( long id , int slot , int val ) { validate ( ) ; rsnScriptSetVarI ( mContext , id , slot , val ) ; }

Target:
synchronized void nScriptSetVarI ( long id , int slot , int val , boolean mUseInc ) { validate ( ) ; long curCon = mContext ; if ( mUseInc ) { curCon = mIncCon ; } rsnScriptSetVarI ( curCon , id , slot , val , mUseInc ) ; }
Source:
public static int IntNonmatCond_IntVarVar ( int a , int b , int x , int y ) { return a > b ? x : y ; }

Target:
public static int FloatLtNonmatCond_IntVarVar ( float a , float b , int x , int y ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return a > b ? x : y ; }
Source:
public static java.lang.String getProbeName ( int probeType ) { return android.net.metrics.ValidationProbeEvent.Decoder.constants.get ( probeType , "PROBE_???" ) ; }

Target:
public static int makeProbeType ( int probeType , boolean firstValidation ) { return ( probeType & 255 ) | ( firstValidation ? android.net.metrics.ValidationProbeEvent.FIRST_VALIDATION : android.net.metrics.ValidationProbeEvent.REVALIDATION ) ; }
Source:
public boolean containsEntry ( @ javax.annotation.Nullable java.lang.Object key , @ javax.annotation.Nullable java.lang.Object value ) { java.util.Collection < V > values = map.get ( key ) ; return ( values != null ) && ( values.contains ( value ) ) ; }

Target:
public boolean put ( K key , V value ) { throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
public static org.hamcrest.org.hamcrest.Matcher < java.lang.Object > is ( java.lang.Class < ? > type ) { return org.hamcrest.core.Is.is ( type ) ; }

Target:
public static < T > org.hamcrest.org.hamcrest.Matcher < T > isA ( java.lang.Class < T > type ) { return org.hamcrest.core.Is.isA ( type ) ; }
Source:
private void runAsyncWithDialog ( final java.lang.Runnable task , final int dialogStringId ) { new com.android.mms.ui.ComposeMessageActivity.ModalDialogAsyncTask ( dialogStringId ) . execute ( new java.lang.Runnable [ ] { task } ) ; }

Target:
public void onTextChanged ( java.lang.CharSequence s , int start , int before , int count ) { onUserInteraction ( ) ; mWorkingMessage.setText ( s ) ; updateSendButtonState ( ) ; updateCounter ( s , start , before , count ) ; ensureCorrectButtonHeight ( ) ; }
Source:
public void apply ( java.util.zip.ZipFile patchFile , java.io.File toDir ) throws java.io.IOException { doApply ( patchFile , getFile ( toDir ) ) ; }

Target:
public void apply ( java.util.zip.ZipFile patchFile , java.io.File backupDir , java.io.File toDir ) throws java.io.IOException { doApply ( patchFile , backupDir , getFile ( toDir ) ) ; }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setBranchBytes ( com.android.vts.proto.ByteString value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 2 ; branch_ = value ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setEndTime ( long value ) { bitField0_ |= 512 ; endTime_ = value ; onChanged ( ) ; return this ; }
Source:
public void explicitCallTransfer ( ) { android.util.Log.e ( com.android.internal.telephony.cdma.CDMAPhone.LOG_TAG , "explicitCallTransfer: not possible in CDMA" ) ; }

Target:
public boolean getCallForwardingIndicator ( ) { android.telephony.Rlog.e ( com.android.internal.telephony.cdma.CDMAPhone.LOG_TAG , "getCallForwardingIndicator: not possible in CDMA" ) ; return false ; }
Source:
public void tearDown ( ) throws java.lang.Exception { com.android.internal.util.TestUtils.waitForIdleHandler ( mServiceHandler , mTimeoutMs ) ; mServiceHandler.chan.disconnect ( ) ; mServiceHandler.stop ( ) ; if ( ( mManager ) != null ) { mManager.disconnect ( ) ; } }

Target:
public void tearDown ( ) throws java.lang.Exception { mServiceHandler.waitForIdle ( mTimeoutMs ) ; mServiceHandler.chan.disconnect ( ) ; mServiceHandler.stop ( ) ; if ( ( mManager ) != null ) { mManager.disconnect ( ) ; } }
Source:
private native boolean nativeMoveFocus ( int keyCode , int count , boolean noScroll ) ;

Target:
private native boolean nativeMoveCursor ( int keyCode , int count , boolean noScroll ) ;
Source:
public void test_with_TemporalField_long_invalidValue ( ) { TEST_2007_07_15.with ( java.time.temporal.ChronoField.DAY_OF_WEEK , ( - 1 ) ) ; }

Target:
public void test_withMonth_int_invalid ( ) { tck.java.time.TCKLocalDate.TEST_2007_07_15.withMonth ( 13 ) ; }
Source:
public void registrationDisconnected ( com.android.ims.ImsReasonInfo imsReasonInfo ) { if ( com.android.ims.ImsManager.DBG ) { com.android.ims.ImsManager.log ( ( "registrationDisconnected :: imsReasonInfo" + imsReasonInfo ) ) ; } if ( ( mListener ) != null ) { mListener.onImsDisconnected ( imsReasonInfo ) ; } }

Target:
public void registrationDisconnected ( com.android.ims.ImsReasonInfo imsReasonInfo ) { if ( com.android.ims.ImsManager.DBG ) { com.android.ims.ImsManager.log ( ( "registrationDisconnected :: imsReasonInfo" + imsReasonInfo ) ) ; } addToRecentDisconnectReasons ( imsReasonInfo ) ; if ( ( mListener ) != null ) { mListener.onImsDisconnected ( imsReasonInfo ) ; } }
Source:
public void run ( ) { findNext ( forwards ) ; }

Target:
public android.webkit.WebBackForwardList call ( ) { return copyBackForwardList ( ) ; }
Source:
private static int getAsmClassWriterFlags ( int version ) { return ( version >= ( org.jetbrains.asm4.Opcodes.V1_6 ) ) && ( version != ( org.jetbrains.asm4.Opcodes.V1_1 ) ) ? org.jetbrains.asm4.ClassWriter.COMPUTE_FRAMES : org.jetbrains.asm4.ClassWriter.COMPUTE_MAXS ; }

Target:
private static int getAsmClassWriterFlags ( int version ) { return ( version >= ( org.jetbrains.org.objectweb.asm.Opcodes.V1_6 ) ) && ( version != ( org.jetbrains.org.objectweb.asm.Opcodes.V1_1 ) ) ? org.jetbrains.org.objectweb.asm.ClassWriter.COMPUTE_FRAMES : org.jetbrains.org.objectweb.asm.ClassWriter.COMPUTE_MAXS ; }
Source:
public void remoteControlDisplayWantsPlaybackPositionSync ( android.media.IRemoteControlDisplay rcd , boolean wantsSync ) { mMediaFocusControl.remoteControlDisplayWantsPlaybackPositionSync ( rcd , wantsSync ) ; }

Target:
public void registerRecordingCallback ( android.media.IRecordingConfigDispatcher rcdb ) { mRecordMonitor.registerRecordingCallback ( rcdb ) ; }
Source:
private static native void nativeDestroy ( int obj ) ;

Target:
private static native int [ ] nativeGetStyle ( long obj , int idx ) ;
Source:
protected void onVoiceCallStarted ( ) { if ( ( ( mState ) == ( DctConstants.State.CONNECTED ) ) && ( ! ( mCdmaPhone.mSST.isConcurrentVoiceAndDataAllowed ( ) ) ) ) { stopNetStatPoll ( ) ; notifyDataConnection ( Phone.REASON_VOICE_CALL_STARTED ) ; notifyOffApnsOfAvailability ( Phone.REASON_VOICE_CALL_STARTED ) ; } }

Target:
protected void onVoiceCallStarted ( ) { if ( ( ( mState ) == ( DctConstants.State.CONNECTED ) ) && ( ! ( mCdmaPhone.mSST.isConcurrentVoiceAndDataAllowed ( ) ) ) ) { stopNetStatPoll ( ) ; stopDataStallAlarm ( ) ; notifyDataConnection ( Phone.REASON_VOICE_CALL_STARTED ) ; notifyOffApnsOfAvailability ( Phone.REASON_VOICE_CALL_STARTED ) ; } }
Source:
public static void computeTanpi ( android.renderscript.cts.TestTanpi.ArgumentsFloatFloat args ) { args.ulf = 5 ; args.ulfRelaxed = 128 ; args.out = ( ( float ) ( java.lang.StrictMath.tan ( ( ( args.in ) * ( ( float ) ( java.lang.StrictMath.PI ) ) ) ) ) ) ; }

Target:
public static void computeTanpi ( android.renderscript.cts.TestTanpi.ArgumentsFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( android.renderscript.cts.CoreMathVerifier.tan ( ( ( args.in ) * ( ( float ) ( java.lang.Math.PI ) ) ) ) , 6 , 128 ) ; }
Source:
private static native java.lang.String getISO3LanguageNative ( java.lang.String languageTag ) ;

Target:
public static native java.lang.String getISO3Language ( java.lang.String languageTag ) ;
Source:
public void testOutputFileNameUniquenessInLib ( ) throws java.lang.Exception { com.android.build.gradle.model.AndroidProjectTest.ProjectData projectData = getModelForProject ( com.android.build.gradle.model.AndroidProjectTest.FOLDER_TEST_REGULAR , "libTestDep" ) ; com.android.build.gradle.model.AndroidProjectTest.compareDebugAndReleaseOutput ( projectData ) ; }

Target:
public void testOutputFileNameUniquenessInLib ( ) throws java.lang.Exception { com.android.build.gradle.model.AndroidProjectTest.ProjectData projectData = getModelForProject ( com.android.build.gradle.model.AndroidProjectTest.FOLDER_TEST_SAMPLE , "libTestDep" ) ; com.android.build.gradle.model.AndroidProjectTest.compareDebugAndReleaseOutput ( projectData ) ; }
Source:
public void run ( ) { try { java.lang.Thread.sleep ( 10000 ) ; } catch ( java.lang.InterruptedException ie ) { wasInterrupted = true ; } }

Target:
public void run ( ) { try { java.lang.Thread.sleep ( 1000 ) ; } catch ( java.lang.InterruptedException ie ) { wasInterrupted = true ; } }
Source:
public void setPrimaryText ( java.lang.String name ) { this . primaryTextView.setText ( name ) ; }

Target:
void bind ( com.android.dialer.voicemail.datasources.VoicemailData voicemailData ) { primaryTextView.setText ( voicemailData.name ( ) ) ; secondaryTextView.setText ( getVoicemailLocationDateAndDuration ( voicemailData ) ) ; transcriptionTextView.setText ( voicemailData.transcription ( ) ) ; }
Source:
public static void setIsMainThreadForTesting ( java.lang.Boolean isMainThread ) { com.android.voicemail.impl.Assert.sIsMainThreadForTest = isMainThread ; }

Target:
public static void setIsMainThreadForTesting ( java.lang.Boolean isMainThread ) { com.android.voicemail.impl.Assert.isMainThreadForTest = isMainThread ; }
Source:
protected void visitMethod ( int type , int index ) { }

Target:
protected void visitString ( int index ) { }
Source:
public void execute ( com.android.monkeyrunner.core.IMonkeyDevice device ) { device.type ( whatToType ) ; }

Target:
public void execute ( com.android.chimpchat.core.IChimpDevice device ) { device.type ( whatToType ) ; }