auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public java.lang.Class loadClassBinaryName ( java.lang.String name , java.lang.ClassLoader loader ) { return dalvik.system.DexFile.defineClass ( name , loader , mCookie ) ; }

Target:
public java.lang.Class loadClassBinaryName ( java.lang.String name , java.lang.ClassLoader loader , java.util.List < java.lang.Throwable > suppressed ) { return dalvik.system.DexFile.defineClass ( name , loader , mCookie , suppressed ) ; }
Source:
public abstract com.google.common.collect.ImmutableMap < C , V > row ( R rowKey ) ;

Target:
public com.google.common.collect.ImmutableCollection < V > values ( ) { return ( ( com.google.common.collect.ImmutableCollection < V > ) ( super . values ( ) ) ) ; }
Source:
public static void cleanup ( ) { com.android.dialer.common.Assert.isMainThread ( ) ; if ( ( com.android.dialer.dialpadview.SpecialCharSequenceMgr.sPreviousAdnQueryHandler ) != null ) { com.android.dialer.dialpadview.SpecialCharSequenceMgr.sPreviousAdnQueryHandler.cancel ( ) ; com.android.dialer.dialpadview.SpecialCharSequenceMgr.sPreviousAdnQueryHandler = null ; } }

Target:
public static void cleanup ( ) { com.android.dialer.common.Assert.isMainThread ( ) ; if ( ( com.android.dialer.dialpadview.SpecialCharSequenceMgr.previousAdnQueryHandler ) != null ) { com.android.dialer.dialpadview.SpecialCharSequenceMgr.previousAdnQueryHandler.cancel ( ) ; com.android.dialer.dialpadview.SpecialCharSequenceMgr.previousAdnQueryHandler = null ; } }
Source:
public void testIncrementalInManifest ( ) throws java.lang.Exception { mScopes = com.android.tools.lint.detector.api.Scope.MANIFEST_SCOPE ; assertEquals ( "No warnings." , lintProject ( "bytecode/AndroidManifestWrongRegs.xml=>AndroidManifest.xml" , "bytecode/.classpath=>.classpath" ) ) ; }

Target:
public void testIncrementalInManifest ( ) throws java.lang.Exception { mScopes = com.android.tools.lint.detector.api.Scope.MANIFEST_SCOPE ; mEnabled = com.google.common.collect.Sets.newHashSet ( com.android.tools.lint.checks.MissingClassDetector.MISSING , com.android.tools.lint.checks.MissingClassDetector.INSTANTIATABLE , com.android.tools.lint.checks.MissingClassDetector.INNERCLASS ) ; assertEquals ( "No warnings." , lintProject ( "bytecode/AndroidManifestWrongRegs.xml=>AndroidManifest.xml" , "bytecode/.classpath=>.classpath" ) ) ; }
Source:
public boolean write ( java.io.OutputStream outputStream ) { try { javax.xml.transform.Transformer tf = javax.xml.transform.TransformerFactory.newInstance ( ) . newTransformer ( ) ; tf.setOutputProperty ( javax.xml.transform.OutputKeys.OMIT_XML_DECLARATION , "yes" ) ; tf.setOutputProperty ( javax.xml.transform.OutputKeys.ENCODING , "UTF-8" ) ; tf.setOutputProperty ( javax.xml.transform.OutputKeys.INDENT , "yes" ) ; tf.setOutputProperty ( "{http://xml.apache.org/xslt}indent-amount" , "4" ) ; tf.transform ( new javax.xml.transform.dom.DOMSource ( getRootNode ( ) . getXml ( ) ) , new javax.xml.transform.stream.StreamResult ( outputStream ) ) ; return true ; } catch ( javax.xml.transform.TransformerException e ) { return false ; } }

Target:
public java.lang.String prettyPrint ( ) { return com.android.ide.common.xml.XmlPrettyPrinter.prettyPrint ( getXml ( ) , com.android.ide.common.xml.XmlFormatPreferences.defaults ( ) , com.android.ide.common.xml.XmlFormatStyle.get ( getRootNode ( ) . getXml ( ) ) , null , false ) ; }
Source:
protected static void reset ( ) { com.android.tools.lint.client.api.IssueRegistry.sIdToIssue = null ; com.android.tools.lint.client.api.IssueRegistry.sCategories = null ; }

Target:
protected static void reset ( ) { com.android.tools.lint.client.api.IssueRegistry.sIdToIssue = null ; com.android.tools.lint.client.api.IssueRegistry.sCategories = null ; com.android.tools.lint.client.api.IssueRegistry.sScopeIssues = com.google.common.collect.Maps.newHashMap ( ) ; }
Source:
public void setModifier ( int modifier ) { this . modifier = modifier ; }

Target:
public void setModifier ( int modifier ) { assert com.android.jack.ir.ast.JModifier.isMethodModifier ( modifier ) ; assert com.android.jack.ir.ast.JModifier.isValidMethodModifier ( modifier ) ; this . modifier = modifier ; }
Source:
public static long Shr56And255 ( long arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( arg > > 56 ) & 255 ; }

Target:
public static long $noinline$Shr56And255 ( long arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( arg > > 56 ) & 255 ; }
Source:
public void setUp ( ) throws java.lang.Exception { org.mockito.MockitoAnnotations.initMocks ( this ) ; }

Target:
public boolean answer ( ) { when ( mHalDeviceManager.isReady ( ) ) . thenReturn ( true ) ; when ( mHalDeviceManager.isStarted ( ) ) . thenReturn ( true ) ; mHalDeviceManagerStatusCallbacks.onStatusChanged ( ) ; return true ; }
Source:
public void close ( ) throws java.io.IOException { if ( hasEntries ) { super . close ( ) ; } else { out.close ( ) ; } }

Target:
public synchronized void close ( ) throws java.io.IOException { if ( hasEntries ) { super . close ( ) ; } else { out.close ( ) ; } isClosed = true ; }
Source:
public int read ( java.nio.ByteBuffer buffer ) throws java.io.IOException { return channel.read ( buffer ) ; }

Target:
public long read ( java.nio.ByteBuffer [ ] buffers ) throws java.io.IOException { return channel.read ( buffers ) ; }
Source:
public com.android.internal.telephony.Connection dial ( java.lang.String dialString , int videoState ) throws com.android.internal.telephony.CallStateException { synchronized ( com.android.internal.telephony.sip.SipPhone.class ) { return dialInternal ( dialString , videoState ) ; } }

Target:
public com.android.internal.telephony.Connection dial ( java.lang.String dialString , com.android.internal.telephony.sip.DialArgs dialArgs ) throws com.android.internal.telephony.CallStateException { synchronized ( com.android.internal.telephony.sip.SipPhone.class ) { return dialInternal ( dialString , dialArgs.videoState ) ; } }
Source:
private void expectBandwidthControlCheck ( ) throws java.lang.Exception { org.easymock.EasyMock.expect ( mNetManager.isBandwidthControlEnabled ( ) ) . andReturn ( true ) . atLeastOnce ( ) ; }

Target:
private void expectBandwidthControlCheck ( ) throws java.lang.Exception { org.mockito.Mockito.when ( mNetManager.isBandwidthControlEnabled ( ) ) . thenReturn ( true ) ; }
Source:
public boolean isUpdateFor ( @ com.android.annotations.NonNull com.android.sdklib.repository.descriptors.IPkgDesc existingDesc ) { return isGenericUpdateFor ( existingDesc ) ; }

Target:
public static com.android.sdklib.repository.descriptors.PkgDesc.Builder newSource ( @ com.android.annotations.NonNull com.android.sdklib.AndroidVersion version , @ com.android.annotations.NonNull com.android.sdklib.repository.MajorRevision revision ) { com.android.sdklib.repository.descriptors.PkgDesc.Builder p = new com.android.sdklib.repository.descriptors.PkgDesc.Builder ( PkgType.PKG_SOURCES ) ; p.mAndroidVersion = version ; p.mMajorRevision = revision ; return p ; }
Source:
void setServiceName ( java.lang.String ServiceName ) { mSocket.setServiceName ( ServiceName ) ; }

Target:
void setServiceName ( java.lang.String serviceName ) { mSocket.setServiceName ( serviceName ) ; }
Source:
public com.android.sched.util.log.EventType getCurrentEventType ( ) { return com.android.sched.util.log.tracer.TracerEventType.NOEVENT ; }

Target:
public com.android.sched.util.log.EventType getCurrentEventType ( ) { assert ( config ) == ( com.android.sched.util.config.ThreadConfig.getConfig ( ) ) ; return com.android.sched.util.log.tracer.TracerEventType.NOEVENT ; }
Source:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JCaseStatement x ) { addElement ( new com.android.jack.ir.ast.cfg.JCaseBlockElement ( x.getSourceInfo ( ) , x.getExpr ( ) ) ) ; return false ; }

Target:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JCaseStatement x ) { addElement ( x , new com.android.jack.ir.ast.cfg.JCaseBlockElement ( x.getSourceInfo ( ) , ExceptionHandlingContext.EMPTY , x.getExpr ( ) ) ) ; return false ; }
Source:
public int getBatteryUsageHint ( android.bluetooth.BluetoothDevice device ) { com.android.bluetooth.hfp.HeadsetService service = getService ( ) ; if ( service == null ) { return 0 ; } return service.getBatteryUsageHint ( device ) ; }

Target:
public boolean setActiveDevice ( android.bluetooth.BluetoothDevice device ) { com.android.bluetooth.hfp.HeadsetService service = getService ( ) ; if ( service == null ) { return false ; } return service.setActiveDevice ( device ) ; }
Source:
public javax.net.ssl.SSLSession getSession ( ) { if ( ! ( handshake_started ) ) { try { startHandshake ( ) ; } catch ( java.io.IOException e ) { return SSLSessionImpl.NULL_SESSION ; } } return session ; }

Target:
public javax.net.ssl.SSLSession getSession ( ) { if ( ! ( handshake_started ) ) { try { startHandshake ( ) ; } catch ( java.io.IOException e ) { return org.conscrypt.SSLSessionImpl.getNullSession ( ) ; } } return session ; }
Source:
private boolean isFlag ( ) { return mFlag ; }

Target:
private boolean isFlag ( ) { return ( mFlag ) && ( ( mChoices ) != null ) ; }
Source:
public void setModulesToImport ( java.util.Map < java.lang.String , java.io.File > modules ) { mSelectedModules = com.google.common.collect.ImmutableSet.copyOf ( modules.keySet ( ) ) ; }

Target:
public void setImportModuleNames ( java.util.Map < java.io.File , java.lang.String > moduleLocationToName ) { mSelectedModules = com.google.common.collect.ImmutableMap.copyOf ( moduleLocationToName ) ; }
Source:
public void testRoamToSameNetwork ( ) throws java.lang.Exception { executeAndValidateInitializationSequence ( false , false , false ) ; executeAndValidateRoamSequence ( true ) ; }

Target:
public void testRoamToDifferentNetwork ( ) throws java.lang.Exception { executeAndValidateInitializationSequence ( ) ; executeAndValidateRoamSequence ( false ) ; }
Source:
public static long AddNeg2 ( long arg1 , long arg2 ) { long temp = - arg2 ; return ( arg1 + temp ) | ( arg1 + temp ) ; }

Target:
public static long $noinline$AddNeg2 ( long arg1 , long arg2 ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } long temp = - arg2 ; return ( arg1 + temp ) | ( arg1 + temp ) ; }
Source:
public void copy3DRangeFrom ( int xoff , int yoff , int zoff , int w , int h , int d , int [ ] data ) { validateIsInt32 ( ) ; copy3DRangeFromUnchecked ( xoff , yoff , zoff , w , h , d , data ) ; }

Target:
public void copy2DRangeFrom ( int xoff , int yoff , int w , int h , int [ ] data ) { validateIsInt32 ( ) ; copy2DRangeFromUnchecked ( xoff , yoff , w , h , data , Element.DataType.SIGNED_32 , data.length ) ; }
Source:
public java.lang.String [ ] getEnabledProtocols ( ) { return sslParameters.openSslEnabledProtocols.clone ( ) ; }

Target:
public void setEnabledProtocols ( java.lang.String [ ] protocols ) { sslParameters.setEnabledProtocols ( protocols ) ; }
Source:
public void testE2 ( ) { dot.junit.opcodes.aput_char.d.T_aput_char_1 t = new dot.junit.opcodes.aput_char.d.T_aput_char_1 ( ) ; try { t.run ( null , 2 , 'g' ) ; fail ( "expected NullPointerException" ) ; } catch ( java.lang.NullPointerException aie ) { } }

Target:
public void testVFE1 ( ) { load ( "dot.junit.opcodes.aput_char.d.T_aput_char_2" , java.lang.VerifyError.class ) ; }
Source:
protected void sendSubmitPdu ( com.android.internal.telephony.gsm.SmsTracker tracker ) { sendRawPdu ( tracker ) ; }

Target:
protected com.android.internal.telephony.GsmAlphabet.TextEncodingDetails calculateLength ( java.lang.CharSequence messageBody , boolean use7bitOnly ) { return com.android.internal.telephony.util.SMSDispatcherUtil.calculateLengthGsm ( messageBody , use7bitOnly ) ; }
Source:
public long getExitThreadTime ( ) { return com.google.common.primitives.UnsignedInts.toLong ( mExitThreadTime ) ; }

Target:
public long getEntryTime ( com.android.tools.perflib.vmtrace.ClockType clockType ) { return clockType == ( ClockType.THREAD ) ? com.google.common.primitives.UnsignedInts.toLong ( mEntryThreadTime ) : com.google.common.primitives.UnsignedInts.toLong ( mEntryGlobalTime ) ; }
Source:
public com.android.builder.dependency.JarDependency createJarDependency ( ) { return new com.android.builder.dependency.JarDependency ( jarFile , compiled , packaged , true , resolvedCoordinates ) ; }

Target:
public com.android.builder.dependency.JarDependency createJarDependency ( ) { return new com.android.builder.dependency.JarDependency ( jarFile , compiled , packaged , true , resolvedCoordinates , gradlePath ) ; }
Source:
public static boolean isSupportedNamedCurve ( int namedCurve ) { return ( namedCurve > 0 ) && ( namedCurve <= ( org.bouncycastle.crypto.tls.TlsECCUtils.curveNames.length ) ) ; }

Target:
public static boolean isSupportedNamedCurve ( int namedCurve ) { return ( namedCurve > 0 ) && ( namedCurve <= ( org.bouncycastle.crypto.tls.TlsECCUtils.CURVE_NAMES.length ) ) ; }
Source:
public static double DoubleSubtraction ( ) { double a ; double b ; double c ; a = Main.$inline$double ( 6.0 ) ; b = Main.$inline$double ( 2.0 ) ; c = a - b ; return c ; }

Target:
public static int IntSubtraction ( ) { int a ; int b ; int c ; a = 6 ; b = 2 ; c = a - b ; return c ; }
Source:
public void visit ( com.android.jack.dx.io.instructions.DecodedInstruction [ ] all , com.android.jack.dx.io.instructions.DecodedInstruction decodedInst ) { remappedInstructions [ ( ( remappingIndex ) ++ ) ] = decodedInst.withIndex ( cstIndexMap.getRemappedCstBaseMethodRefIndex ( file , decodedInst.getIndex ( ) ) ) ; }

Target:
public void visit ( com.android.jack.dx.io.instructions.DecodedInstruction [ ] all , com.android.jack.dx.io.instructions.DecodedInstruction decodedInst ) { remappedInstructions [ ( ( remappingIndex ) ++ ) ] = decodedInst.withIndex ( cstIndexMap.getRemappedCstBaseMethodRefIndex ( file , decodedInst.getFirstIndex ( ) ) ) ; }
Source:
public void testGetAndSetMasterSyncAutomatically ( ) { android.content.ContentResolver.setMasterSyncAutomatically ( true ) ; assertEquals ( true , android.content.ContentResolver.getMasterSyncAutomatically ( ) ) ; android.content.ContentResolver.setMasterSyncAutomatically ( false ) ; assertEquals ( false , android.content.ContentResolver.getMasterSyncAutomatically ( ) ) ; }

Target:
public void testGetAndSetMasterSyncAutomatically ( ) { android.content.ContentResolver.setMasterSyncAutomatically ( true ) ; assertEquals ( true , android.content.ContentResolver.getMasterSyncAutomatically ( ) ) ; android.content.ContentResolver.setMasterSyncAutomatically ( false ) ; assertEquals ( false , android.content.ContentResolver.getMasterSyncAutomatically ( ) ) ; java.lang.Thread.sleep ( 3000 ) ; }
Source:
public void testVFE7 ( ) { try { java.lang.Class.forName ( "dot.junit.opcodes.aput_char.d.T_aput_char_9" ) ; fail ( "expected a verification exception" ) ; } catch ( java.lang.Throwable t ) { dot.junit.DxUtil.checkVerifyException ( t ) ; } }

Target:
public void testE3 ( ) { loadAndRun ( "dot.junit.opcodes.aput_char.d.T_aput_char_1" , java.lang.ArrayIndexOutOfBoundsException.class , new char [ 2 ] , ( - 1 ) , 'g' ) ; }
Source:
public org.objectweb.asm.tree.AbstractInsnNode clone ( final java.util.Map < org.objectweb.asm.tree.LabelNode , org.objectweb.asm.tree.LabelNode > labels ) { return new org.objectweb.asm.tree.InsnNode ( opcode ) ; }

Target:
public org.objectweb.asm.tree.AbstractInsnNode clone ( final java.util.Map < org.objectweb.asm.tree.LabelNode , org.objectweb.asm.tree.LabelNode > labels ) { return new org.objectweb.asm.tree.InsnNode ( opcode ) . cloneAnnotations ( this ) ; }
Source:
public void callSessionMergeStarted ( com.android.ims.internal.ImsCallSession newSession , com.android.ims.ImsCallProfile profile ) throws android.os.RemoteException { mListener.callSessionMergeStarted ( ( newSession != null ? newSession.getSession ( ) : null ) , profile ) ; }

Target:
public void callSessionHoldReceived ( android.telephony.ims.ImsCallProfile profile ) { try { mListener.callSessionHoldReceived ( profile ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e ) ; } }
Source:
private boolean verify ( byte [ ] keyName , byte [ ] data , byte [ ] signature ) { execute ( 'v' , keyName , data , signature ) ; return ( mError ) == ( android.security.KeyStore.NO_ERROR ) ; }

Target:
public byte [ ] sign ( java.lang.String key , byte [ ] data ) { try { return mBinder.sign ( key , data ) ; } catch ( android.os.RemoteException e ) { android.util.Log.w ( android.security.KeyStore.TAG , "Cannot connect to keystore" , e ) ; return null ; } }
Source:
public void setOutfolder ( org.apache.tools.ant.types.Path outFolder ) { mApkFolder = com.android.ant.TaskHelper.checkSinglePath ( "outfolder" , outFolder ) ; }

Target:
public void setOutfolder ( org.apache.tools.ant.types.Path outFolder ) { java.lang.System.out.println ( ( "WARNNG: Using deprecated 'outfolder' attribute in AaptExecLoopTask." + "Use 'apkfolder' (path) instead." ) ) ; mApkFolder = com.android.ant.TaskHelper.checkSinglePath ( "outfolder" , outFolder ) ; }
Source:
protected void cleanup ( ) { if ( com.android.bluetooth.hid.HidDeviceService.DBG ) { android.util.Log.d ( com.android.bluetooth.hid.HidDeviceService.TAG , "cleanup()" ) ; } if ( mNativeAvailable ) { mHidDeviceNativeInterface.cleanup ( ) ; mNativeAvailable = false ; } }

Target:
protected void cleanup ( ) { if ( com.android.bluetooth.hid.HidDeviceService.DBG ) { android.util.Log.d ( com.android.bluetooth.hid.HidDeviceService.TAG , "cleanup()" ) ; } if ( mNativeAvailable ) { mHidDeviceNativeInterface.cleanup ( ) ; mNativeAvailable = false ; } com.android.bluetooth.hid.HidDeviceService.setHidDeviceService ( null ) ; }
Source:
public java.lang.String getPackageName ( ) { return getVariantData ( ) . getPackageName ( ) ; }

Target:
public java.lang.String getApplicationId ( ) { return getVariantData ( ) . getApplicationId ( ) ; }
Source:
public void resetCounts ( ) { mConnectedCount = 0 ; mConnectionFailedCount = 0 ; mConnectionSuspendedCount = 0 ; }

Target:
public void reset ( ) { mConnectedCount = 0 ; mConnectionFailedCount = 0 ; mConnectionSuspendedCount = 0 ; }
Source:
public void onHostCardEmulationActivated ( ) { if ( ( mCardEmulationManager ) != null ) { mCardEmulationManager.onHostCardEmulationActivated ( ) ; } }

Target:
public void onHostCardEmulationDeactivated ( int technology ) { if ( ( mCardEmulationManager ) != null ) { mCardEmulationManager.onHostCardEmulationDeactivated ( technology ) ; } }
Source:
void addClient ( com.android.ddmlib.Client client ) { synchronized ( mClients ) { mClients.add ( client ) ; } }

Target:
void addClient ( com.android.ddmlib.Client client ) { synchronized ( mClients ) { mClients.add ( client ) ; } addClientInfo ( client ) ; }
Source:
public static int accessFlags ( int accessLevel ) { switch ( accessLevel ) { case proguard.classfile.util.AccessUtil.PRIVATE : return proguard.classfile.ClassConstants.INTERNAL_ACC_PRIVATE ; default : return 0 ; case proguard.classfile.util.AccessUtil.PROTECTED : return proguard.classfile.ClassConstants.INTERNAL_ACC_PROTECTED ; case proguard.classfile.util.AccessUtil.PUBLIC : return proguard.classfile.ClassConstants.INTERNAL_ACC_PUBLIC ; } }

Target:
public static int accessFlags ( int accessLevel ) { switch ( accessLevel ) { case proguard.classfile.util.AccessUtil.PRIVATE : return proguard.classfile.ClassConstants.ACC_PRIVATE ; default : return 0 ; case proguard.classfile.util.AccessUtil.PROTECTED : return proguard.classfile.ClassConstants.ACC_PROTECTED ; case proguard.classfile.util.AccessUtil.PUBLIC : return proguard.classfile.ClassConstants.ACC_PUBLIC ; } }
Source:
void assertCtsConnectionServiceUnbound ( ) { waitUntilConditionIsTrueOrTimeout ( new android.telecom.cts.BaseTelecomTestWithMockServices.Condition ( ) { @ java.lang.Override public java.lang.Object expected ( ) { return false ; } @ java.lang.Override public java.lang.Object actual ( ) { return android.telecom.cts.CtsConnectionService.isServiceBound ( ) ; } } , android.telecom.cts.TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS , "CtsConnectionService not yet unbound!" ) ; }

Target:
void assertCtsConnectionServiceUnbound ( ) { if ( android.telecom.cts.CtsConnectionService.isBound ( ) ) { assertTrue ( "CtsConnectionService not yet unbound!" , android.telecom.cts.CtsConnectionService.waitForUnBinding ( ) ) ; } }
Source:
public void test_F32_3_SCALE10_10_inSqure ( ) { testResize ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inX , Element.DataType.FLOAT_32 , 3 , 1.0F , 1.0F ) ; checkError ( ) ; }

Target:
public void test_F32_3_SCALE10_10_inSquare ( ) { testResize ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inX , Element.DataType.FLOAT_32 , 3 , 1.0F , 1.0F ) ; checkError ( ) ; }
Source:
public void testNewInstance_MyObject ( ) { java.lang.String subclassSig = getClassSignature ( NewInstanceTagDebuggee.MyObject.class ) ; checkNewInstanceTag ( subclassSig , "()V" , new org.apache.harmony.jpda.tests.jdwp.ClassType.NoConstructorArgumentProvider ( ) , JDWPConstants.Tag.OBJECT_TAG ) ; }

Target:
public void testNewInstance_MyObject ( ) { java.lang.String subclassSig = getClassSignature ( NewInstanceTagDebuggee.MyObject.class ) ; checkNewInstanceTag ( subclassSig , "()V" , new org.apache.harmony.jpda.tests.jdwp.ClassType.NoConstructorArgumentProvider ( ) , new org.apache.harmony.jpda.tests.jdwp.ClassType.Checker ( JDWPConstants.Tag.OBJECT_TAG ) ) ; }
Source:
public TestCaseBuilder addCanvasClient ( java.lang.String debugString , android.uirendering.cts.testinfrastructure.CanvasClient canvasClient , boolean useHardware ) { }

Target:
public android.uirendering.cts.testinfrastructure.ActivityTestBase.TestCaseBuilder addLayout ( int layoutId , @ android.support.annotation.Nullable android.uirendering.cts.testinfrastructure.ViewInitializer viewInitializer , boolean useHardware ) { mTestCases.add ( new android.uirendering.cts.testinfrastructure.ActivityTestBase.TestCase ( layoutId , viewInitializer , useHardware ) ) ; return this ; }
Source:
public void testInstall_unsuccessfulFirstUpdate_olderVersionThanSystem ( ) throws java.lang.Exception { libcore.tzdata.update2.TimeZoneDistro distro = libcore.tzdata.update2.TimeZoneDistroInstallerTest.createValidTimeZoneDistro ( libcore.tzdata.update2.TimeZoneDistroInstallerTest.OLDER_RULES_VERSION , 1 ) ; assertEquals ( TimeZoneDistroInstaller.INSTALL_FAIL_RULES_TOO_OLD , installer.installWithErrorCode ( distro.getBytes ( ) ) ) ; assertNoContentInstalled ( ) ; }

Target:
public void testInstall_unsuccessfulFirstUpdate_olderVersionThanSystem ( ) throws java.lang.Exception { libcore.tzdata.shared2.TimeZoneDistro distro = libcore.tzdata.update2.TimeZoneDistroInstallerTest.createValidTimeZoneDistro ( libcore.tzdata.update2.TimeZoneDistroInstallerTest.OLDER_RULES_VERSION , 1 ) ; assertEquals ( TimeZoneDistroInstaller.INSTALL_FAIL_RULES_TOO_OLD , installer.installWithErrorCode ( distro.getBytes ( ) ) ) ; assertNoContentInstalled ( ) ; }
Source:
public void onStatusChanged ( int status ) { mStatus = status ; if ( ( mStatus ) != ( GnssMeasurementsEvent.Callback.STATUS_READY ) ) { mCountDownLatch.countDown ( ) ; } }

Target:
public void onStatusChanged ( int status ) { mStatus = status ; mCountDownLatchStatus.countDown ( ) ; }
Source:
public java.lang.String getName ( ) { return com.android.bluetooth.hid.HidService.TAG ; }

Target:
public java.lang.String getName ( ) { return com.android.bluetooth.hid.HidHostService.TAG ; }
Source:
protected E standardPollFirst ( ) { return poll ( iterator ( ) ) ; }

Target:
protected E standardPollFirst ( ) { return com.google.common.collect.Iterators.pollNext ( iterator ( ) ) ; }
Source:
public void setRingbackRequested ( java.lang.String connectionId , boolean ringback ) { mHandler.obtainMessage ( android.telecom.ConnectionServiceAdapterServant.MSG_SET_RINGBACK_REQUESTED , ( ringback ? 1 : 0 ) , 0 , connectionId ) . sendToTarget ( ) ; }

Target:
public void setRingbackRequested ( java.lang.String connectionId , boolean ringback , android.telecom.Logging.Session.Info sessionInfo ) { mHandler.obtainMessage ( android.telecom.ConnectionServiceAdapterServant.MSG_SET_RINGBACK_REQUESTED , ( ringback ? 1 : 0 ) , 0 , connectionId ) . sendToTarget ( ) ; }
Source:
public void remove ( ) { com.google.common.collect.Iterators.checkRemove ( ( ( toRemove ) != null ) ) ; forward ( ) . remove ( toRemove.getKey ( ) ) ; toRemove = null ; }

Target:
public void remove ( ) { com.google.common.collect.CollectPreconditions.checkRemove ( ( ( toRemove ) != null ) ) ; forward ( ) . remove ( toRemove.getKey ( ) ) ; toRemove = null ; }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder clearModulesTotal ( ) { bitField0_ = ( bitField0_ ) & ( ~ 131072 ) ; modulesTotal_ = 0 ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder clearModulesDone ( ) { bitField0_ = ( bitField0_ ) & ( ~ 131072 ) ; modulesDone_ = 0 ; onChanged ( ) ; return this ; }
Source:
public void testInvalidInterfaceDoesNotThrow ( ) throws java.lang.Exception { final android.net.ip.IpManager.Callback cb = new android.net.ip.IpManager.Callback ( ) ; final android.net.ip.IpManager ipm = new android.net.ip.IpManager ( mContext , "test_wlan0" , cb , mNMService ) ; }

Target:
public void testInvalidInterfaceDoesNotThrow ( ) throws java.lang.Exception { final android.net.ip.IpManager ipm = new android.net.ip.IpManager ( mContext , "test_wlan0" , mCb , mNMService ) ; }
Source:
public void setIndex ( int index ) { if ( index < 0 ) { throw new java.lang.IllegalArgumentException ( "index < 0" ) ; } if ( ( this . index ) >= 0 ) { throw new java.lang.RuntimeException ( "index already set" ) ; } this . index = index ; }

Target:
public void setIndex ( int index ) { if ( index < 0 ) { throw new java.lang.IllegalArgumentException ( "index < 0" ) ; } if ( ( this . index ) >= 0 ) { throw new java.lang.IllegalStateException ( "index already set" ) ; } this . index = index ; }
Source:
public void requestNetwork ( android.net.NetworkRequest request , android.app.PendingIntent operation ) { try { mService.pendingRequestForNetwork ( request.networkCapabilities , operation ) ; } catch ( android.os.RemoteException e ) { } }

Target:
public void requestNetwork ( android.net.NetworkRequest request , android.app.PendingIntent operation ) { checkPendingIntent ( operation ) ; try { mService.pendingRequestForNetwork ( request.networkCapabilities , operation ) ; } catch ( android.os.RemoteException e ) { } }
Source:
private native void gattClientScanFilterParamDeleteNative ( int client_if , int filt_index ) ;

Target:
private native void gattClientScanFilterParamDeleteNative ( int clientIf , int filtIndex ) ;
Source:
protected void addFiles ( com.android.test.common.fixture.app.TestSourceFile ... files ) { for ( com.android.test.common.fixture.app.TestSourceFile file : files ) { sourceFiles.put ( file.getName ( ) , file ) ; } }

Target:
protected void addFiles ( com.android.build.gradle.integration.common.fixture.app.TestSourceFile ... files ) { for ( com.android.build.gradle.integration.common.fixture.app.TestSourceFile file : files ) { sourceFiles.put ( file.getName ( ) , file ) ; } }
Source:
public com.android.apksigner.core.util.DataSink getDataSink ( ) { synchronized ( mLock ) { checkNotDone ( ) ; return mDataSink ; } }

Target:
public com.android.apksigner.core.util.DataSink getDataSink ( ) { synchronized ( mLock ) { checkNotDone ( ) ; if ( ( mDataSink ) == null ) { mDataSink = new com.android.apksigner.core.internal.apk.v2.MessageDigestSink ( new java.security.MessageDigest [ ] { getMessageDigest ( ) } ) ; } return mDataSink ; } }
Source:
public int initialize ( int subscriptionId , android.telephony.mbms.IMbmsDownloadManagerCallback listener ) throws android.os.RemoteException { return 0 ; }

Target:
public void fileServicesUpdated ( java.util.List < android.telephony.mbms.FileServiceInfo > services ) throws android.os.RemoteException { callback.fileServicesUpdated ( services ) ; }
Source:
public void subscriptionStatusChanged ( int indicationType , boolean var2 ) { }

Target:
public void imsNetworkStateChanged ( int indicationType ) { mRil.processIndication ( indicationType ) ; if ( RIL.RILJ_LOGD ) mRil.unsljLog ( com.android.internal.telephony.RILConstants.RIL_UNSOL_RESPONSE_IMS_NETWORK_STATE_CHANGED ) ; mRil.mImsNetworkStateChangedRegistrants.notifyRegistrants ( ) ; }
Source:
abstract com.android.dialer.assisteddialing.TransformationInfo.Builder setOriginalNumber ( java.lang.String value ) ;

Target:
public abstract com.android.dialer.assisteddialing.TransformationInfo.Builder setUserRoamingCountryCode ( java.lang.String value ) ;
Source:
public com.android.ide.eclipse.gltrace.TraceOptions getTraceOptions ( ) { return new com.android.ide.eclipse.gltrace.TraceOptions ( mSelectedDevice , mAppPackageToTrace , mActivityToTrace , mTraceFilePath , com.android.ide.eclipse.gltrace.GLTraceOptionsDialog.sCollectFbOnEglSwap , com.android.ide.eclipse.gltrace.GLTraceOptionsDialog.sCollectFbOnGlDraw , com.android.ide.eclipse.gltrace.GLTraceOptionsDialog.sCollectTextureData ) ; }

Target:
public com.android.ide.eclipse.gltrace.TraceOptions getTraceOptions ( ) { return new com.android.ide.eclipse.gltrace.TraceOptions ( mSelectedDevice , mAppPackageToTrace , mActivityToTrace , com.android.ide.eclipse.gltrace.GLTraceOptionsDialog.sIsActivityFullyQualified , mTraceFilePath , com.android.ide.eclipse.gltrace.GLTraceOptionsDialog.sCollectFbOnEglSwap , com.android.ide.eclipse.gltrace.GLTraceOptionsDialog.sCollectFbOnGlDraw , com.android.ide.eclipse.gltrace.GLTraceOptionsDialog.sCollectTextureData ) ; }
Source:
public static void run ( ) { art.Test919.TestWatcher w = new art.Test919.TestWatcher ( ) ; art.Test919.doTest ( new art.Test919.Transform ( w ) , w ) ; }

Target:
public static void run ( ) { art.Redefinition.setTestConfiguration ( Redefinition.Config.COMMON_REDEFINE ) ; art.Test919.TestWatcher w = new art.Test919.TestWatcher ( ) ; art.Test919.doTest ( new art.Test919.Transform ( w ) , w ) ; }
Source:
public void dispose ( ) { setActive ( false ) ; }

Target:
public void dispose ( @ com.android.annotations.Nullable java.lang.Object credential ) { setActive ( false , credential ) ; }
Source:
public com.android.ide.eclipse.adt.internal.resources.AttributeInfo setEnumValues ( java.lang.String [ ] values ) { mEnumValues = values ; return this ; }

Target:
public com.android.ide.common.resources.platform.AttributeInfo setEnumValues ( java.lang.String [ ] values ) { mEnumValues = values ; return this ; }
Source:
private static boolean needTwoButton ( @ android.support.annotation.NonNull android.app.Activity activity ) { return ( com.android.incallui.util.AccessibilityUtil.isTouchExplorationEnabled ( activity ) ) || ( com.android.dialer.compat.ActivityCompat.isInMultiWindowMode ( activity ) ) ; }

Target:
private static boolean needTwoButton ( @ android.support.annotation.NonNull android.app.Activity activity ) { if ( com.android.incallui.answer.impl.answermethod.AnswerMethodFactory.shouldUseTwoButtonMethodForTesting ) { com.android.dialer.common.LogUtil.i ( "AnswerMethodFactory.needTwoButton" , "enabled for testing" ) ; return true ; } return ( com.android.incallui.util.AccessibilityUtil.isTouchExplorationEnabled ( activity ) ) || ( com.android.dialer.compat.ActivityCompat.isInMultiWindowMode ( activity ) ) ; }
Source:
static void inlinedForNull ( java.lang.Iterable < ? > it ) { if ( it != null ) { it.iterator ( ) ; } }

Target:
static void inlinedForNull ( java.lang.Iterable < ? > it ) { if ( it != null ) { it.iterator ( ) ; if ( Main.doThrow ) { throw new java.lang.Error ( "" ) ; } } }
Source:
public long getUidStats ( int uid , int type ) { android.util.Slog.w ( com.android.server.net.NetworkStatsService.TAG , "calling native method from Stats Service" ) ; return com.android.server.net.NetworkStatsService.nativeGetUidStat ( uid , type ) ; }

Target:
public long getIfaceStats ( java.lang.String iface , int type ) { return com.android.server.net.NetworkStatsService.nativeGetIfaceStat ( iface , type , checkBpfStatsEnable ( ) ) ; }
Source:
void succeeded ( @ org.jetbrains.annotations.NotNull java.util.List < com.intellij.remoteServer.runtime.Deployment > deployments ) ;

Target:
void addDeployment ( @ org.jetbrains.annotations.NotNull java.lang.String deploymentName ) ;
Source:
final boolean casBusy ( ) { return com.google.common.cache.Striped64.busyUpdater.compareAndSet ( this , 0 , 1 ) ; }

Target:
final boolean casBase ( long cmp , long val ) { return com.google.common.cache.Striped64.UNSAFE.compareAndSwapLong ( this , com.google.common.cache.Striped64.baseOffset , cmp , val ) ; }
Source:
protected void setPropertiesAttributes ( org.kxml2.io.KXmlSerializer serializer , java.lang.String namespace ) throws java.io.IOException { }

Target:
protected java.util.Map < java.lang.String , java.lang.String > getPropertiesAttributes ( ) { return com.google.common.collect.ImmutableMap.of ( ) ; }
Source:
public void sendSMSExpectMoreResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , android.hardware.radio.V1_0.SendSmsResult var2 ) { }

Target:
public void requestShutdownResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo ) { responseVoid ( responseInfo ) ; }
Source:
public java.lang.String methodName ( ) { return descriptor.substring ( 0 , descriptor.indexOf ( ClassConstants.EXTERNAL_METHOD_ARGUMENTS_OPEN ) ) . trim ( ) ; }

Target:
public java.lang.String methodName ( ) { return descriptor.substring ( 0 , descriptor.indexOf ( JavaConstants.METHOD_ARGUMENTS_OPEN ) ) . trim ( ) ; }
Source:
public void onResume ( ) { super . onResume ( ) ; mTracker.sendShowSidePanel ( this ) ; mTracker.sendScreenView ( this . getTrackerLabel ( ) ) ; mSidePanelDurationTimer.start ( ) ; }

Target:
public void onPause ( ) { mTracker.sendHideSidePanel ( this , mSidePanelDurationTimer.reset ( ) ) ; super . onPause ( ) ; }
Source:
public void testInstall_successfulFirstUpdate ( ) throws java.lang.Exception { libcore.tzdata.update2.TimeZoneBundle bundle = libcore.tzdata.update2.TimeZoneBundleInstallerTest.createValidTimeZoneBundle ( libcore.tzdata.update2.TimeZoneBundleInstallerTest.NEW_RULES_VERSION , 1 ) ; assertEquals ( TimeZoneBundleInstaller.INSTALL_SUCCESS , installer.installWithErrorCode ( bundle.getBytes ( ) ) ) ; assertBundleInstalled ( bundle ) ; }

Target:
public void testInstall_successfulFirstUpdate ( ) throws java.lang.Exception { libcore.tzdata.update2.TimeZoneDistro distro = libcore.tzdata.update2.TimeZoneBundleInstallerTest.createValidTimeZoneDistro ( libcore.tzdata.update2.TimeZoneBundleInstallerTest.NEW_RULES_VERSION , 1 ) ; assertEquals ( TimeZoneBundleInstaller.INSTALL_SUCCESS , installer.installWithErrorCode ( distro.getBytes ( ) ) ) ; assertDistroInstalled ( distro ) ; }
Source:
public synchronized void reset ( ) { android.util.Log.i ( mTag , ( "Reset the ACE for terminal:" + ( mTerminal.getName ( ) ) ) ) ; mAraController = null ; mArfController = null ; }

Target:
public synchronized void reset ( ) { android.util.Log.i ( mTag , ( "Reset the ACE for terminal:" + ( mTerminal.getName ( ) ) ) ) ; mAccessRuleCache.reset ( ) ; mAraController = null ; mArfController = null ; }
Source:
public static boolean isNormalized ( java.lang.CharSequence src , java.text.Normalizer.Form form ) { return libcore.icu.NativeNormalizer.isNormalized ( src , form ) ; }

Target:
public static boolean isNormalized ( java.lang.CharSequence src , java.text.Normalizer.Form form ) { return java.text.com.ibm.icu.text.Normalizer.isNormalized ( src.toString ( ) , form.getIcuForm ( ) , 0 ) ; }
Source:
private void showPinDialog ( ) { if ( ( mDialogState ) == ( com.android.settings.SimLockSettings.OFF_MODE ) ) { return ; } setDialogValues ( ) ; mPinDialog.showPinDialog ( ) ; }

Target:
private void showPinDialog ( ) { if ( ( mDialogState ) == ( com.android.settings.IccLockSettings.OFF_MODE ) ) { return ; } setDialogValues ( ) ; mPinDialog.showPinDialog ( ) ; }
Source:
public void test_plus_longTemporalUnit_positiveHours ( ) { java.time.LocalTime t = TEST_12_30_40_987654321.plus ( 7 , java.time.temporal.ChronoUnit.HOURS ) ; org.testng.Assert.assertEquals ( t , java.time.LocalTime.of ( 19 , 30 , 40 , 987654321 ) ) ; }

Target:
public void test_plus_longTemporalUnit_positiveHours ( ) { java.time.LocalTime t = tck.java.time.TCKLocalTime.TEST_12_30_40_987654321.plus ( 7 , java.time.temporal.ChronoUnit.HOURS ) ; org.testng.Assert.assertEquals ( t , java.time.LocalTime.of ( 19 , 30 , 40 , 987654321 ) ) ; }
Source:
public final void testPointPoint ( ) { com.android.ide.eclipse.adt.editors.layout.gscripts.Point p = new com.android.ide.eclipse.adt.editors.layout.gscripts.Point ( 1 , 2 ) ; com.android.ide.eclipse.adt.editors.layout.gscripts.Point p2 = new com.android.ide.eclipse.adt.editors.layout.gscripts.Point ( p ) ; assertNotSame ( p , p2 ) ; assertEquals ( p , p2 ) ; }

Target:
public final void testPointPoint ( ) { com.android.ide.common.api.Point p = new com.android.ide.common.api.Point ( 1 , 2 ) ; com.android.ide.common.api.Point p2 = new com.android.ide.common.api.Point ( p ) ; assertNotSame ( p , p2 ) ; assertEquals ( p , p2 ) ; }
Source:
public static java.text.Collator getInstance ( java.util.Locale locale ) { if ( locale == null ) { throw new java.lang.NullPointerException ( "locale == null" ) ; } return new java.text.RuleBasedCollator ( new libcore.icu.RuleBasedCollatorICU ( locale ) ) ; }

Target:
public static java.text.Collator getInstance ( java.util.Locale locale ) { if ( locale == null ) { throw new java.lang.NullPointerException ( "locale == null" ) ; } return new java.text.RuleBasedCollator ( ( ( java.text.RuleBasedCollator ) ( java.text.com.ibm.icu.text.Collator.getInstance ( locale ) ) ) ) ; }
Source:
public void test_writeDouble ( ) throws java.lang.Exception { os.writeDouble ( java.lang.Double.longBitsToDouble ( 81985529216486895L ) ) ; assertEquals ( "0123456789ABCDEF" , libcore.util.HexEncoding.encodeToString ( bytes.toByteArray ( ) ) ) ; }

Target:
public void test_writeDouble ( ) throws java.lang.Exception { os.writeDouble ( java.lang.Double.longBitsToDouble ( 81985529216486895L ) ) ; assertEquals ( "[01, 23, 45, 67, 89, ab, cd, ef]" , libcore.java.io.DataOutputStreamTest.toHexString ( bytes.toByteArray ( ) ) ) ; }
Source:
public void testRegistered ( ) throws java.lang.Exception { assertEquals ( ( "HandlerTest$1.class: Warning: This Handler class should be static or leaks might occur (test.pkg.HandlerTest.1)\n" + "HandlerTest$Inner.class: Warning: This Handler class should be static or leaks might occur (test.pkg.HandlerTest.Inner)" ) , lintProject ( "bytecode/HandlerTest.java.txt=>src/test/pkg/HandlerTest.java" , "bytecode/HandlerTest.class.data=>bin/classes/test/pkg/HandlerTest.class" , "bytecode/HandlerTest$Inner.class.data=>bin/classes/test/pkg/HandlerTest$Inner.class" , "bytecode/HandlerTest$StaticInner.class.data=>bin/classes/test/pkg/HandlerTest$StaticInner.class" , "bytecode/HandlerTest$1.class.data=>bin/classes/test/pkg/HandlerTest$1.class" ) ) ; }

Target:
public void testRegistered ( ) throws java.lang.Exception { assertEquals ( ( "HandlerTest.java:14: Warning: This Handler class should be static or leaks might occur (test.pkg.HandlerTest.Inner)\n" + "HandlerTest.java:20: Warning: This Handler class should be static or leaks might occur (test.pkg.HandlerTest.1)" ) , lintProject ( "bytecode/HandlerTest.java.txt=>src/test/pkg/HandlerTest.java" , "bytecode/HandlerTest.class.data=>bin/classes/test/pkg/HandlerTest.class" , "bytecode/HandlerTest$Inner.class.data=>bin/classes/test/pkg/HandlerTest$Inner.class" , "bytecode/HandlerTest$StaticInner.class.data=>bin/classes/test/pkg/HandlerTest$StaticInner.class" , "bytecode/HandlerTest$1.class.data=>bin/classes/test/pkg/HandlerTest$1.class" ) ) ; }
Source:
public void a_attachInvalidAgent ( ) throws java.lang.Exception { android.os.Debug.attachJvmtiAgent ( java.io.File.createTempFile ( "badAgent" , ".so" ) . getAbsolutePath ( ) , null ) ; }

Target:
public void a_attachInvalidAgent ( ) throws java.lang.Exception { java.io.File tmpFile = java.io.File.createTempFile ( "badAgent" , ".so" ) ; android.jvmti.attaching.cts.AttachingTest.createdFiles.add ( tmpFile ) ; android.os.Debug.attachJvmtiAgent ( tmpFile.getAbsolutePath ( ) , null , classLoader ) ; }
Source:
public void run ( ) { try { java.lang.Thread.sleep ( 50 ) ; } catch ( java.lang.InterruptedException e ) { fail ( ) ; } runUtil.interrupt ( testThread , "unit test" ) ; }

Target:
public void run ( ) { try { java.lang.Thread.sleep ( 50 ) ; } catch ( java.lang.InterruptedException e ) { org.junit.Assert.fail ( ) ; } runUtil.interrupt ( testThread , "unit test" ) ; }
Source:
public java.lang.Object clone ( ) { org.conscrypt.NativeRef.EVP_MD_CTX ctxCopy = new org.conscrypt.NativeRef.EVP_MD_CTX ( org.conscrypt.NativeCrypto.EVP_MD_CTX_create ( ) ) ; org.conscrypt.NativeCrypto.EVP_MD_CTX_init ( ctxCopy ) ; org.conscrypt.NativeCrypto.EVP_MD_CTX_copy ( ctxCopy , ctx ) ; return new org.conscrypt.OpenSSLMessageDigestJDK ( evp_md , size , ctxCopy ) ; }

Target:
public java.lang.Object clone ( ) { org.conscrypt.NativeRef.EVP_MD_CTX ctxCopy = new org.conscrypt.NativeRef.EVP_MD_CTX ( org.conscrypt.NativeCrypto.EVP_MD_CTX_create ( ) ) ; org.conscrypt.NativeCrypto.EVP_MD_CTX_init ( ctxCopy ) ; org.conscrypt.NativeCrypto.EVP_MD_CTX_copy ( ctxCopy , ctx ) ; return new org.conscrypt.OpenSSLMessageDigestJDK ( evp_md , size , ctxCopy , mDigestInitializedInContext ) ; }
Source:
public void run ( ) { fetchEpg ( ) ; }

Target:
public void run ( ) { postFetchRequest ( false , 0 ) ; }
Source:
public void onServiceDisconnected ( android.content.ComponentName className ) { if ( android.bluetooth.BluetoothInputDevice.DBG ) android.util.Log.d ( android.bluetooth.BluetoothInputDevice.TAG , "Proxy object disconnected" ) ; mService = null ; if ( ( mServiceListener ) != null ) { mServiceListener.onServiceDisconnected ( BluetoothProfile.INPUT_DEVICE ) ; } }

Target:
public void onServiceDisconnected ( android.content.ComponentName className ) { if ( android.bluetooth.BluetoothHidHost.DBG ) android.util.Log.d ( android.bluetooth.BluetoothHidHost.TAG , "Proxy object disconnected" ) ; mService = null ; if ( ( mServiceListener ) != null ) { mServiceListener.onServiceDisconnected ( BluetoothProfile.HID_HOST ) ; } }
Source:
public void onPause ( ) { super . onPause ( ) ; mContentResolver.unregisterContentObserver ( simChangeObserver ) ; }

Target:
public void onPause ( ) { super . onPause ( ) ; unregisterReceiver ( mBroadcastReceiver ) ; mContentResolver.unregisterContentObserver ( simChangeObserver ) ; }
Source:
public java.lang.String getMethodName ( ) { return parseMethod ( ) ; }

Target:
public int hashCode ( ) { return fUniqueId.hashCode ( ) ; }
Source:
void assertNoCallback ( ) { mService.waitForIdle ( ) ; com.android.server.ConnectivityServiceTest.TestNetworkCallback.CallbackInfo c = mCallbacks.peek ( ) ; assertNull ( ( "Unexpected callback: " + c ) , c ) ; }

Target:
void assertNoCallback ( ) { mService.waitForIdle ( ) ; com.android.server.ConnectivityServiceTest.CallbackInfo c = mCallbacks.peek ( ) ; assertNull ( ( "Unexpected callback: " + c ) , c ) ; }
Source:
static android.icu.text.SpoofChecker.SpoofData getDefault ( ) { return android.icu.text.SpoofChecker.SpoofData.DefaultData.INSTANCE ; }

Target:
public static android.icu.text.SpoofChecker.SpoofData getDefault ( ) { if ( ( android.icu.text.SpoofChecker.SpoofData.DefaultData.EXCEPTION ) != null ) { throw new java.util.MissingResourceException ( ( "Could not load default confusables data: " + ( android.icu.text.SpoofChecker.SpoofData.DefaultData.EXCEPTION.getMessage ( ) ) ) , "SpoofChecker" , "" ) ; } return android.icu.text.SpoofChecker.SpoofData.DefaultData.INSTANCE ; }
Source:
, methodHandleExtraArgs = { @ annotations.Constant ( intValue = - 1 ) , @ annotations.Constant ( intValue = 1 ) , @ annotations.Constant ( intValue = ( ( int ) ( 'a' ) ) ) , @ annotations.Constant ( intValue = 1024 ) , @ annotations.Constant ( intValue = 1 ) , @ annotations.Constant ( floatValue = 11.1F ) , @ annotations.Constant ( doubleValue = 2.2 ) , @ annotations.Constant ( stringValue = "Hello" ) , @ annotations.Constant ( classValue = TestLinkerMethodMultipleArgumentTypes.class ) , @ annotations.Constant ( longValue = 123456789L ) } , name = "_add" , returnType = int . class , argumentTypes = { int . class , int . class } ) private static int add ( int a , int b ) { throw new java.lang.UnsupportedOperationException ( "Should be invoking _add(a, b)" ) ; }

Target:
, methodHandleExtraArgs = { @ annotations.Constant ( intValue = - 1 ) , @ annotations.Constant ( intValue = 1 ) , @ annotations.Constant ( intValue = ( ( int ) ( 'a' ) ) ) , @ annotations.Constant ( intValue = 1024 ) , @ annotations.Constant ( intValue = 1 ) , @ annotations.Constant ( floatValue = 11.1F ) , @ annotations.Constant ( doubleValue = 2.2 ) , @ annotations.Constant ( stringValue = "Hello" ) , @ annotations.Constant ( classValue = TestLinkerMethodMultipleArgumentTypes.class ) , @ annotations.Constant ( longValue = 123456789L ) } , name = "_add" , returnType = int . class , argumentTypes = { int . class , int . class } ) private static int add ( int a , int b ) { assertNotReached ( ) ; return - 1 ; }
Source:
public void run ( ) { while ( isRunning ( ) ) { dalvik.system.VMRuntime.getRuntime ( ) . waitForConcurrentGCRequest ( ) ; if ( isRunning ( ) ) { dalvik.system.VMRuntime.getRuntime ( ) . concurrentGC ( ) ; } } }

Target:
public synchronized void interrupt ( java.lang.Thread thread ) { dalvik.system.VMRuntime.getRuntime ( ) . stopHeapTaskProcessor ( ) ; }
Source:
public void testTlvInvalidSizeTm3L2 ( ) { android.net.wifi.nan.TlvBufferUtils.TlvConstructor tlv10 = new android.net.wifi.nan.TlvBufferUtils.TlvConstructor ( ( - 3 ) , 2 ) ; }

Target:
public void testTlvInvalidSizeTm3L2 ( ) { android.net.wifi.aware.TlvBufferUtils.TlvConstructor tlv10 = new android.net.wifi.aware.TlvBufferUtils.TlvConstructor ( ( - 3 ) , 2 ) ; }
Source:
private void onDetachedFromWindow ( ) { mContainer.getViewTreeObserver ( ) . removeOnGlobalFocusChangeListener ( mGlobalFocusChangeListener ) ; }

Target:
public void onViewDetachedFromWindow ( android.view.View v ) { mContainer.getViewTreeObserver ( ) . removeOnGlobalFocusChangeListener ( mGlobalFocusChangeListener ) ; mAccessibilityManager.removeAccessibilityStateChangeListener ( mAccessibilityStateChangeListener ) ; }
Source:
synchronized boolean connect ( android.bluetooth.BluetoothDevice device ) { if ( com.android.bluetooth.hid.HidDeviceService.DBG ) { android.util.Log.d ( com.android.bluetooth.hid.HidDeviceService.TAG , ( "connect(): device=" + device ) ) ; } return mHidDeviceNativeInterface.connect ( device ) ; }

Target:
synchronized boolean connect ( android.bluetooth.BluetoothDevice device ) { if ( com.android.bluetooth.hid.HidDeviceService.DBG ) { android.util.Log.d ( com.android.bluetooth.hid.HidDeviceService.TAG , ( "connect(): device=" + device ) ) ; } return ( checkCallingUid ( ) ) && ( mHidDeviceNativeInterface.connect ( device ) ) ; }
Source:
private static java.lang.String getCustomUserKey ( java.lang.String key ) { return key ; }

Target:
private static java.lang.String getCustomUserKey ( java.lang.String key ) { com.google.gct.login.CredentialedUser activeUser = com.google.gct.login.GoogleLogin.getInstance ( ) . getActiveUser ( ) ; if ( activeUser == null ) { return key ; } return ( key + "_" ) + ( activeUser.getEmail ( ) ) ; }
Source:
private void verifyTimeServiceTimeZoneWasSet ( java.lang.String timeZoneId ) { org.mockito.Mockito.verify ( mTimeServiceHelper , org.mockito.Mockito.times ( 1 ) ) . setDeviceTimeZone ( timeZoneId ) ; }

Target:
void verifyTimeZoneWasSet ( java.lang.String timeZoneId , int times ) { org.mockito.Mockito.verify ( mTimeServiceHelper , org.mockito.Mockito.times ( times ) ) . setDeviceTimeZone ( timeZoneId ) ; }
Source:
public void run ( ) { if ( ( mCallback ) != null ) { characteristic.setValue ( value ) ; mCallback.onCharacteristicChanged ( this , characteristic ) ; } }

Target:
public void run ( ) { final android.bluetooth.BluetoothGattCallback callback = mCallback ; if ( callback != null ) { characteristic.setValue ( value ) ; callback.onCharacteristicChanged ( this , characteristic ) ; } }
Source:
private native void gattClientWriteDescriptorNative ( int conn_id , int service_type , int service_id_inst_id , long service_id_uuid_lsb , long service_id_uuid_msb , int char_id_inst_id , long char_id_uuid_lsb , long char_id_uuid_msb , int descr_id_inst_id , long descr_id_uuid_lsb , long descr_id_uuid_msb , int write_type , int auth_req , byte [ ] value ) ;

Target:
private native void gattClientReadCharacteristicNative ( int conn_id , int handle , int authReq ) ;