auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void visitClassElementValue ( proguard.classfile.util.Clazz clazz , proguard.classfile.util.Annotation annotation , proguard.classfile.util.ClassElementValue classElementValue ) { initializeElementValue ( clazz , annotation , classElementValue ) ; classElementValue.referencedClasses = findReferencedClasses ( clazz.getName ( ) , clazz.getString ( classElementValue.u2classInfoIndex ) ) ; }

Target:
public void visitEnumConstantElementValue ( proguard.classfile.util.Clazz clazz , proguard.classfile.util.Annotation annotation , proguard.classfile.util.EnumConstantElementValue enumConstantElementValue ) { initializeElementValue ( clazz , annotation , enumConstantElementValue ) ; enumConstantElementValue.referencedClasses = findReferencedClasses ( clazz.getName ( ) , enumConstantElementValue.getTypeName ( clazz ) ) ; }
Source:
java.io.OutputStream openWrite ( @ javax.annotation.Nonnull com.android.sched.vfs.BaseVFile file , boolean append ) throws com.android.sched.util.file.WrongPermissionException { return new java.util.zip.DeflaterOutputStream ( vfs.openWrite ( file , append ) , new java.util.zip.Deflater ( ) ) ; }

Target:
java.io.OutputStream openWrite ( @ javax.annotation.Nonnull com.android.sched.vfs.DeflateFS.DeflateVFile file , boolean append ) throws com.android.sched.util.file.WrongPermissionException { return new java.util.zip.DeflaterOutputStream ( vfs.openWrite ( file.getWrappedFile ( ) , append ) , new java.util.zip.Deflater ( ) ) ; }
Source:
public int getColumnCount ( ) { return com.android.sched.util.log.stats.Counter.HEADER.length ; }

Target:
public synchronized java.util.Iterator < java.lang.Object > iterator ( ) { return com.google.common.collect.Iterators.< java.lang.Object > forArray ( java.lang.Long.valueOf ( getValue ( ) ) ) ; }
Source:
public static < T > org.hamcrest.org.hamcrest.Matcher < java.lang.Iterable < T > > hasItems ( T ... elements ) { return org.hamcrest.collection.IsCollectionContaining.hasItems ( elements ) ; }

Target:
public static < T > org.hamcrest.org.hamcrest.Matcher < T > isA ( java.lang.Class < T > type ) { return org.hamcrest.core.Is.< T > isA ( type ) ; }
Source:
public void onSessionConfigSuccess ( ) { if ( android.net.wifi.nan.WifiNanManager.VDBG ) android.util.Log.v ( android.net.wifi.nan.WifiNanManager.TAG , "onSessionConfigSuccess" ) ; android.os.Message msg = mHandler.obtainMessage ( android.net.wifi.nan.WifiNanManager.WifiNanDiscoverySessionCallbackProxy.CALLBACK_SESSION_CONFIG_SUCCESS ) ; mHandler.sendMessage ( msg ) ; }

Target:
public void onSessionConfigSuccess ( ) { if ( android.net.wifi.aware.WifiAwareManager.VDBG ) android.util.Log.v ( android.net.wifi.aware.WifiAwareManager.TAG , "onSessionConfigSuccess" ) ; android.os.Message msg = mHandler.obtainMessage ( android.net.wifi.aware.WifiAwareManager.WifiAwareDiscoverySessionCallbackProxy.CALLBACK_SESSION_CONFIG_SUCCESS ) ; mHandler.sendMessage ( msg ) ; }
Source:
public void testPullExternalCall ( ) { if ( ! ( mShouldTestTelecom ) ) { return ; } final android.telecom.cts.InvokeCounter counter = mConnection.getInvokeCounter ( MockConnection.ON_PULL_EXTERNAL_CALL ) ; mCall.pullExternalCall ( ) ; counter.waitForCount ( 1 , android.telecom.cts.TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS ) ; }

Target:
public void testPullExternalCall ( ) { if ( ! ( mShouldTestTelecom ) ) { return ; } final android.telecom.cts.TestUtils.InvokeCounter counter = mConnection.getInvokeCounter ( MockConnection.ON_PULL_EXTERNAL_CALL ) ; mCall.pullExternalCall ( ) ; counter.waitForCount ( 1 , android.telecom.cts.TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS ) ; }
Source:
public void selectionChanged ( org.eclipse.jface.viewers.SelectionChangedEvent event ) { com.android.ddmlib.AllocationInfo selectedAlloc = getAllocationSelection ( event.getSelection ( ) ) ; updateAllocationStackTrace ( selectedAlloc ) ; }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent arg0 ) { setSortColumn ( inMethodCol , SortMode.IN_METHOD ) ; }
Source:
public void testE1 ( ) { dot.junit.opcodes.aget_boolean.d.T_aget_boolean_1 t = new dot.junit.opcodes.aget_boolean.d.T_aget_boolean_1 ( ) ; boolean [ ] arr = new boolean [ 2 ] ; try { t.run ( arr , 2 ) ; fail ( "expected ArrayIndexOutOfBoundsException" ) ; } catch ( java.lang.ArrayIndexOutOfBoundsException aie ) { } }

Target:
public void testE1 ( ) { loadAndRun ( "dot.junit.opcodes.aget_boolean.d.T_aget_boolean_1" , java.lang.ArrayIndexOutOfBoundsException.class , new boolean [ 2 ] , 2 ) ; }
Source:
public java.util.List < com.android.jack.ir.ast.JAnnotation > getAnnotations ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JAnnotationType annotationType ) { loader.ensureAnnotation ( this , annotationType ) ; return annotations.getAnnotation ( annotationType ) ; }

Target:
public java.util.List < com.android.jack.ir.ast.JAnnotation > getAnnotations ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JAnnotationType annotationType ) { loader.ensureAnnotation ( this , annotationType ) ; return com.android.jack.Jack.getUnmodifiableCollections ( ) . getUnmodifiableList ( com.android.jack.util.AnnotationUtils.getAnnotation ( annotations , annotationType ) ) ; }
Source:
protected com.intellij.ui.JBColor getTitleTextColor ( ) { return com.google.gct.idea.appengine.wizard.NewCloudModuleDynamicWizardStep.CLOUD_TITLE_TEXT_COLOR ; }

Target:
protected javax.swing.Icon getWizardIcon ( ) { return icons.GoogleCloudToolsIcons.CLOUD_60x60 ; }
Source:
public void run ( ) { setNewLayout ( mLayout ) ; }

Target:
public void run ( ) { if ( isChecked ( ) ) { setNewLayout ( mLayout ) ; } }
Source:
public void testGetEncodedContents ( ) { com.android.apksig.internal.test.MoreAsserts.assertByteBufferEquals ( com.android.apksig.internal.test.HexEncoding.decode ( "bb" ) , com.android.apksig.internal.asn1.ber.BerDataValueTest.TEST_VALUE1.getEncodedContents ( ) ) ; com.android.apksig.internal.test.MoreAsserts.assertByteBufferEquals ( com.android.apksig.internal.test.HexEncoding.decode ( "dd" ) , com.android.apksig.internal.asn1.ber.BerDataValueTest.TEST_VALUE2.getEncodedContents ( ) ) ; }

Target:
public void testGetEncodedContents ( ) { com.android.apksig.internal.test.MoreAsserts.assertByteBufferEquals ( com.android.apksig.internal.util.HexEncoding.decode ( "bb" ) , com.android.apksig.internal.asn1.ber.BerDataValueTest.TEST_VALUE1.getEncodedContents ( ) ) ; com.android.apksig.internal.test.MoreAsserts.assertByteBufferEquals ( com.android.apksig.internal.util.HexEncoding.decode ( "dd" ) , com.android.apksig.internal.asn1.ber.BerDataValueTest.TEST_VALUE2.getEncodedContents ( ) ) ; }
Source:
private void addBlock ( com.android.dx.cf.code.BasicBlock block , com.android.dx.util.IntList subroutines ) { if ( block == null ) { throw new java.lang.NullPointerException ( "block == null" ) ; } result.add ( block ) ; subroutines.throwIfMutable ( ) ; resultSubroutines.add ( subroutines ) ; }

Target:
private void addBlock ( com.android.dx.rop.code.BasicBlock block , com.android.dx.util.IntList subroutines ) { if ( block == null ) { throw new java.lang.NullPointerException ( "block == null" ) ; } result.add ( block ) ; subroutines.throwIfMutable ( ) ; resultSubroutines.add ( subroutines ) ; }
Source:
public static java.util.Collection < android.telecom.Connection > getAllConnectionsFromTelecom ( ) { synchronized ( android.telecom.cts.CtsConnectionService.sLock ) { return android.telecom.cts.CtsConnectionService.sTelecomConnectionService.getAllConnections ( ) ; } }

Target:
public static java.util.Collection < android.telecom.Connection > getAllConnectionsFromTelecom ( ) { synchronized ( android.telecom.cts.CtsConnectionService.sLock ) { if ( ( android.telecom.cts.CtsConnectionService.sTelecomConnectionService ) == null ) { return java.util.Collections.EMPTY_LIST ; } return android.telecom.cts.CtsConnectionService.sTelecomConnectionService.getAllConnections ( ) ; } }
Source:
private int getMinimumUnreservedLabel ( ) { return ( ( maxLabel ) * 2 ) + ( com.android.dx.cf.code.Ropper.SPECIAL_LABEL_COUNT ) ; }

Target:
private int getMinimumUnreservedLabel ( ) { return ( ( maxLabel ) + ( method.getCatches ( ) . size ( ) ) ) + ( com.android.dx.cf.code.Ropper.SPECIAL_LABEL_COUNT ) ; }
Source:
HEAD ( android.permission.cts.a9fb5f Merge ) { }

Target:
public boolean accept ( java.io.File pathname ) { return pathname.isDirectory ( ) ; }
Source:
public static java.lang.String toCallerIDMinMatch ( java.lang.String phoneNumber ) { java.lang.String np = android.telephony.PhoneNumberUtils.extractNetworkPortion ( phoneNumber ) ; return android.telephony.PhoneNumberUtils.internalGetStrippedReversed ( np , android.telephony.PhoneNumberUtils.MIN_MATCH ) ; }

Target:
public static java.lang.String toCallerIDMinMatch ( java.lang.String phoneNumber ) { java.lang.String np = android.telephony.PhoneNumberUtils.extractNetworkPortionAlt ( phoneNumber ) ; return android.telephony.PhoneNumberUtils.internalGetStrippedReversed ( np , android.telephony.PhoneNumberUtils.MIN_MATCH ) ; }
Source:
public void notifyANQPDone ( boolean success , com.android.server.wifi.hotspot2.AnqpEvent anqpResult ) { if ( anqpResult == null ) return ; mCallbacks.onANQPResponse ( anqpResult.getBssid ( ) , anqpResult.getElements ( ) ) ; }

Target:
public void notifyANQPDone ( com.android.server.wifi.hotspot2.AnqpEvent anqpEvent ) { if ( anqpEvent == null ) return ; mCallbacks.onANQPResponse ( anqpEvent.getBssid ( ) , anqpEvent.getElements ( ) ) ; }
Source:
private void sendBluetoothCancelIntentAndUpdateState ( ) { android.content.Intent cancelIntent = new android.content.Intent ( com.android.nfc.beam.BeamTransferManager.ACTION_STOP_BLUETOOTH_TRANSFER ) ; cancelIntent.setPackage ( com.android.nfc.beam.BeamTransferManager.BLUETOOTH_PACKAGE ) ; cancelIntent.putExtra ( BeamStatusReceiver.EXTRA_TRANSFER_ID , mBluetoothTransferId ) ; mContext.sendBroadcast ( cancelIntent ) ; updateStateAndNotification ( com.android.nfc.beam.BeamTransferManager.STATE_CANCELLED ) ; }

Target:
private void sendBluetoothCancelIntentAndUpdateState ( ) { android.content.Intent cancelIntent = new android.content.Intent ( com.android.nfc.beam.BeamTransferManager.ACTION_STOP_BLUETOOTH_TRANSFER ) ; cancelIntent.setPackage ( mContext.getString ( R.string.bluetooth_package ) ) ; cancelIntent.putExtra ( BeamStatusReceiver.EXTRA_TRANSFER_ID , mBluetoothTransferId ) ; mContext.sendBroadcast ( cancelIntent ) ; updateStateAndNotification ( com.android.nfc.beam.BeamTransferManager.STATE_CANCELLED ) ; }
Source:
private boolean record ( com.android.server.pm.dex.PackageDexUsageTests.TestData testData ) { return mPackageDexUsage.record ( testData.mPackageName , testData.mDexFile , testData.mOwnerUserId , testData.mLoaderIsa , testData.mUsedByOtherApps , testData.mPrimaryOrSplit ) ; }

Target:
private void assertPackageDexUsage ( com.android.server.pm.dex.PackageDexUsageTests.TestData primary , com.android.server.pm.dex.PackageDexUsageTests.TestData ... secondaries ) { assertPackageDexUsage ( mPackageDexUsage , null , primary , secondaries ) ; }
Source:
public void test_sourceAddressWithJoinWithSource ( ) throws java.lang.Exception { setup ( true ) ; assertEquals ( sourceAddress , key.sourceAddress ( ) ) ; }

Target:
public void test_sourceAddressWithJoinWithSource ( ) throws java.lang.Exception { init ( true ) ; assertEquals ( sourceAddress , key.sourceAddress ( ) ) ; }
Source:
annotations.Constant [ ] methodHandleExtraArgs ( ) default { } ;

Target:
annotations.Constant [ ] constantArgumentsForBootstrapMethod ( ) default { } ;
Source:
public void validateSimCredentialWithEapTls ( ) throws java.lang.Exception { android.net.wifi.hotspot2.pps.Credential cred = new android.net.wifi.hotspot2.pps.Credential ( ) ; cred.realm = "realm" ; cred.simCredential = new android.net.wifi.hotspot2.pps.Credential.SimCredential ( ) ; cred.simCredential.imsi = "1234*" ; cred.simCredential.eapType = android.net.wifi.EAPConstants.EAP_TLS ; org.junit.Assert.assertFalse ( cred.validate ( ) ) ; }

Target:
public void validateSimCredentialWithInvalidIMSI ( ) throws java.lang.Exception { android.net.wifi.hotspot2.pps.Credential cred = android.net.wifi.hotspot2.pps.CredentialTest.createCredentialWithSimCredential ( ) ; cred.getSimCredential ( ) . setImsi ( "dummy" ) ; org.junit.Assert.assertFalse ( cred.validate ( ) ) ; }
Source:
public void testResourceType ( ) { for ( com.android.resources.ResourceType type : com.android.resources.ResourceType.values ( ) ) { assertTrue ( type.getDisplayName ( ) , ( ( com.android.resources.FolderTypeRelationship.getRelatedFolders ( type ) . size ( ) ) > 0 ) ) ; } }

Target:
public void testResourceType ( ) { for ( com.android.resources.ResourceType type : com.android.resources.ResourceType.values ( ) ) { assertTrue ( type.getDisplayName ( ) , ( ! ( com.android.resources.FolderTypeRelationship.getRelatedFolders ( type ) . isEmpty ( ) ) ) ) ; } }
Source:
public javax.net.ssl.SSLSession getSession ( ) { if ( ( sslSession ) == null ) { try { startHandshake ( ) ; } catch ( java.io.IOException e ) { return SSLSessionImpl.NULL_SESSION ; } } return sslSession ; }

Target:
public javax.net.ssl.SSLSession getSession ( ) { if ( ( sslSession ) == null ) { try { startHandshake ( ) ; } catch ( java.io.IOException e ) { return org.conscrypt.SSLSessionImpl.getNullSession ( ) ; } } return sslSession ; }
Source:
public static long getNewOutgoingCallCancelMillis ( android.content.ContentResolver contentResolver ) { return com.android.server.telecom.Timeouts.get ( contentResolver , "new_outgoing_call_cancel_ms" , 100000L ) ; }

Target:
public static long getNewOutgoingCallCancelMillis ( android.content.ContentResolver contentResolver ) { return com.android.server.telecom.Timeouts.get ( contentResolver , "new_outgoing_call_cancel_ms" , 500L ) ; }
Source:
public static void computeAcospi ( android.renderscript.cts.TestAcospi.ArgumentsFloatFloat args ) { args.ulf = 5 ; args.ulfRelaxed = 128 ; args.out = ( ( float ) ( ( java.lang.StrictMath.acos ( args.in ) ) / ( java.lang.StrictMath.PI ) ) ) ; }

Target:
public static void computeCosh ( android.renderscript.cts.TestCosh.ArgumentsFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( android.renderscript.cts.CoreMathVerifier.cosh ( args.in ) , 4 , 128 ) ; }
Source:
void setBits ( com.google.common.base.CharMatcher.LookupTable table ) { table.set ( match ) ; }

Target:
void setBits ( java.util.BitSet table ) { table.set ( match ) ; }
Source:
public java.util.Set < K > elementSet ( ) { return keySet ( ) ; }

Target:
public java.util.List < V > values ( ) { return ( ( java.util.List < V > ) ( super . values ( ) ) ) ; }
Source:
private void combineNetCapabilities ( android.net.NetworkCapabilities nc ) { this . mNetworkCapabilities |= nc.mNetworkCapabilities ; }

Target:
private void combineNetCapabilities ( android.net.NetworkCapabilities nc ) { this . mNetworkCapabilities |= nc.mNetworkCapabilities ; this . mUnwantedNetworkCapabilities |= nc.mUnwantedNetworkCapabilities ; }
Source:
public com.android.jack.ir.ast.JAnnotationType getAnnotationType ( @ javax.annotation.Nonnull java.lang.String annotationName ) { return session.getLookup ( ) . getAnnotationType ( com.android.jack.util.NamingTools.getTypeSignatureName ( annotationName ) ) ; }

Target:
public com.android.jack.ir.ast.JAnnotationType getAnnotationType ( @ javax.annotation.Nonnull java.lang.String annotationName ) { return session.getPhantomLookup ( ) . getAnnotationType ( com.android.jack.util.NamingTools.getTypeSignatureName ( annotationName ) ) ; }
Source:
public final int getOpcode ( ) { return opcode ; }

Target:
public final short getOpcodeUnit ( ) { return ( ( short ) ( opcode ) ) ; }
Source:
public java.lang.String getSimOperatorName ( ) { return getSimOperatorNameForPhone ( android.telephony.TelephonyManager.getDefaultPhone ( ) ) ; }

Target:
public java.lang.String getSimOperatorName ( ) { return getSimOperatorNameForPhone ( getPhoneId ( ) ) ; }
Source:
public void endTraceSeed ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JField field ) { composedStatus.pop ( ) ; }

Target:
public void endTraceSeed ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JField field ) { composedStatus.pop ( ) ; for ( com.android.jack.analysis.tracer.TracerBrush brush : brushes ) { brush.endTraceSeed ( field ) ; } }
Source:
public java.nio.channels.ServerSocketChannel getAdminChannel ( ) { assert ( adminChannel ) != null ; return adminChannel ; }

Target:
public java.lang.String getLogPattern ( ) { return com.android.jack.server.ServerLogConfiguration.getLogFilePattern ( ( ( ( serverDir.getAbsolutePath ( ) . replace ( java.io.File.separatorChar , '/' ) ) + '/' ) + ( com.android.jack.server.JackHttpServer.LOG_FILE_PATTERN ) ) ) ; }
Source:
public void testString ( ) throws java.lang.Throwable { final int resId = com.android.internal.R.string.phoneTypeHome ; setLocale ( "en_US" ) ; assertResource ( resId , "Home" , "Home" ) ; setLocale ( "sv_SE" ) ; assertResource ( resId , "Hem" , "Hem" ) ; }

Target:
public void testBooleanOverlay ( ) throws java.lang.Throwable { final int resId = R.bool.usually_false ; assertResource ( resId , false , true , false ) ; }
Source:
public < T extends java.lang.annotation.Annotation > T getAnnotation ( java.lang.Class < T > annotationClass ) { java.util.Objects.requireNonNull ( annotationClass ) ; return getAnnotationNative ( annotationClass ) ; }

Target:
public < T extends java.lang.annotation.Annotation > T getAnnotation ( java.lang.Class < T > annotationClass ) { java.util.Objects.requireNonNull ( annotationClass ) ; return java.lang.reflect.Parameter.getAnnotationNative ( executable , index , annotationClass ) ; }
Source:
public void registerObject ( @ javax.annotation.Nonnull java.lang.Object object , @ javax.annotation.Nonnegative long size , int count ) ;

Target:
public void registerObject ( @ javax.annotation.Nonnull java.lang.Object object , @ javax.annotation.Nonnegative long size , int count , @ javax.annotation.CheckForNull java.lang.StackTraceElement site ) ;
Source:
protected com.intellij.updater.ValidationResult doValidate ( java.io.File toFile ) throws java.io.IOException { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
protected com.intellij.updater.ValidationResult validate ( java.io.File toDir ) throws java.io.IOException { throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
public void onProgramInfoChanged ( ) { if ( ( mTimeShiftManager.isAvailable ( ) ) && ( isShown ( ) ) ) { initializeTimeline ( ) ; updateControls ( ) ; } }

Target:
public void onPlayStatusChanged ( int status ) { updateMenuVisibility ( ) ; if ( mTimeShiftManager.isAvailable ( ) ) { updateControls ( false ) ; } }
Source:
void invokeOemRilRequestStrings ( java.lang.String [ ] strings , android.os.Message response ) ;

Target:
void startNattKeepalive ( int contextId , android.net.KeepalivePacketData packetData , int intervalMillis , android.os.Message result ) ;
Source:
void onBleDisable ( ) { debugLog ( "onBleDisable" ) ; if ( ( getState ( ) ) == ( android.bluetooth.BluetoothAdapter.STATE_BLE_TURNING_OFF ) ) { setScanMode ( AbstractionLayer.BT_SCAN_MODE_NONE ) ; } }

Target:
void onBleDisable ( ) { com.android.bluetooth.btservice.AdapterProperties.debugLog ( "onBleDisable" ) ; if ( ( getState ( ) ) == ( android.bluetooth.BluetoothAdapter.STATE_BLE_TURNING_OFF ) ) { setScanMode ( AbstractionLayer.BT_SCAN_MODE_NONE ) ; } }
Source:
protected void loge ( java.lang.String msg ) { android.util.Log.e ( com.android.internal.telephony.CsimFileHandler.LOG_TAG , msg ) ; }

Target:
protected void loge ( java.lang.String msg ) { android.telephony.Rlog.e ( com.android.internal.telephony.CsimFileHandler.LOG_TAG , msg ) ; }
Source:
public com.android.ims.internal.IImsMMTelFeature createEmergencyMMTelFeature ( int slotId ) { return null ; }

Target:
public android.telephony.ims.stub.ImsFeatureConfiguration querySupportedImsFeatures ( ) { return null ; }
Source:
public void onClick ( android.content.DialogInterface dialog , int which ) { android.util.Log.i ( com.android.packageinstaller.PackageInstallerActivity.TAG , "Launching settings" ) ; launchSettingsAppAndFinish ( ) ; }

Target:
public void onClick ( android.content.DialogInterface dialog , int which ) { android.util.Log.i ( com.android.packageinstaller.PackageInstallerActivity.TAG , "Launching settings" ) ; launchSecuritySettings ( ) ; }
Source:
public void deactivated ( ) { mActive = false ; }

Target:
public void deactivated ( ) { mActive = false ; com.android.ide.eclipse.adt.internal.editors.layout.gle2.LayoutCanvas canvas = getCanvasControl ( ) ; if ( canvas != null ) { canvas.deactivated ( ) ; } }
Source:
protected void doApply ( java.util.zip.ZipFile patchFile , java.io.File toFile ) throws java.io.IOException { com.intellij.updater.Utils.delete ( toFile ) ; }

Target:
protected void doApply ( java.util.zip.ZipFile patchFile , java.io.File backupDir , java.io.File toFile ) throws java.io.IOException { com.intellij.updater.Utils.delete ( toFile ) ; }
Source:
public static long AddNeg1 ( long arg1 , long arg2 ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( - arg1 ) + arg2 ; }

Target:
public static long $noinline$AddNeg1 ( long arg1 , long arg2 ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( - arg1 ) + arg2 ; }
Source:
private void replaceAvd ( com.android.sdklib.internal.avd.AvdManager.AvdInfo oldAvd , com.android.sdklib.internal.avd.AvdManager.AvdInfo newAvd ) { synchronized ( mAllAvdList ) { mAllAvdList.remove ( oldAvd ) ; mAllAvdList.add ( newAvd ) ; mValidAvdList = mBrokenAvdList = null ; } }

Target:
private void replaceAvd ( com.android.sdklib.internal.avd.AvdInfo oldAvd , com.android.sdklib.internal.avd.AvdInfo newAvd ) { synchronized ( mAllAvdList ) { mAllAvdList.remove ( oldAvd ) ; mAllAvdList.add ( newAvd ) ; mValidAvdList = mBrokenAvdList = null ; } }
Source:
private boolean checkBundleFilesExist ( java.io.File unpackedContentDir ) throws java.io.IOException { android.util.Slog.i ( logTag , "Verifying bundle contents" ) ; return libcore.tzdata.update2.FileUtils.filesExist ( unpackedContentDir , TimeZoneBundle.BUNDLE_VERSION_FILE_NAME , TimeZoneBundle.TZDATA_FILE_NAME , TimeZoneBundle.ICU_DATA_FILE_NAME ) ; }

Target:
private boolean checkBundleDataFilesExist ( java.io.File unpackedContentDir ) throws java.io.IOException { android.util.Slog.i ( logTag , "Verifying bundle contents" ) ; return libcore.tzdata.update2.FileUtils.filesExist ( unpackedContentDir , TimeZoneBundle.TZDATA_FILE_NAME , TimeZoneBundle.ICU_DATA_FILE_NAME ) ; }
Source:
public int getId ( ) ;

Target:
public android.view.View findViewById ( int id ) ;
Source:
private static void assertImmutableList ( java.util.List < android.icu.util.TimeZone > timeZones ) { try { timeZones.add ( null ) ; org.junit.Assert.fail ( ) ; } catch ( java.lang.UnsupportedOperationException expected ) { } }

Target:
private static < X > void assertImmutableList ( java.util.List < X > list ) { try { list.add ( null ) ; org.junit.Assert.fail ( ) ; } catch ( java.lang.UnsupportedOperationException expected ) { } }
Source:
public void multiplyH ( byte [ ] x ) { org.bouncycastle.crypto.modes.gcm.GCMUtil.multiply ( x , H ) ; }

Target:
public void multiplyH ( byte [ ] x ) { int [ ] t = org.bouncycastle.crypto.modes.gcm.GCMUtil.asInts ( x ) ; org.bouncycastle.crypto.modes.gcm.GCMUtil.multiply ( t , H ) ; org.bouncycastle.crypto.modes.gcm.GCMUtil.asBytes ( t , x ) ; }
Source:
public void visitAnyConstant ( proguard.classfile.Clazz clazz , proguard.classfile.constant.visitor.Constant constant ) { if ( ( ( 1 << ( constant.getTag ( ) ) ) & ( constantTagMask ) ) != 0 ) { constant.accept ( clazz , constantVisitor ) ; } }

Target:
public void visitAnyConstant ( proguard.classfile.Clazz clazz , proguard.classfile.constant.Constant constant ) { if ( ( ( 1 << ( constant.getTag ( ) ) ) & ( constantTagMask ) ) != 0 ) { constant.accept ( clazz , constantVisitor ) ; } }
Source:
public boolean onError ( android.media.MediaPlayer mp , int what , int extra ) { com.android.cellbroadcastreceiver.CellBroadcastAlertAudio.loge ( "Error occurred while playing audio." ) ; mp.stop ( ) ; mp.release ( ) ; mMediaPlayer = null ; return true ; }

Target:
public boolean onError ( android.media.MediaPlayer mp , int what , int extra ) { com.android.cellbroadcastreceiver.CellBroadcastAlertAudio.loge ( "Error occurred while playing audio." ) ; mHandler.sendMessage ( mHandler.obtainMessage ( com.android.cellbroadcastreceiver.CellBroadcastAlertAudio.ALERT_SOUND_FINISHED ) ) ; return true ; }
Source:
public void setLineWidth ( float width ) { if ( width < 0 ) { throw new java.lang.AssertionError ( ) ; } mLineWidth = width ; }

Target:
public void setLineWidth ( float width ) { com.android.gallery3d.common.Utils.assertTrue ( ( width >= 0 ) ) ; mLineWidth = width ; }
Source:
public void report ( java.util.List < java.lang.String > dexPaths ) { loadedDexPaths.addAll ( dexPaths ) ; }

Target:
public void report ( java.util.List < dalvik.system.BaseDexClassLoader > loaders , java.util.List < java.lang.String > dexPaths ) { classLoaders.addAll ( loaders ) ; loadedDexPaths.addAll ( dexPaths ) ; }
Source:
private static com.android.build.SplitOutput getDensityOutput ( int densityFilter ) { com.android.resources.Density densityEnum = com.android.resources.Density.getEnum ( densityFilter ) ; return new com.android.ide.common.build.SplitOutputMatcherTest.FakeSplitOutput ( densityEnum.getResourceValue ( ) , null ) ; }

Target:
private static com.android.build.SplitOutput getOutput ( int densityFilter , java.lang.String abiFilter , int versionCode ) { com.android.resources.Density densityEnum = com.android.resources.Density.getEnum ( densityFilter ) ; return new com.android.ide.common.build.SplitOutputMatcherTest.FakeSplitOutput ( densityEnum.getResourceValue ( ) , abiFilter , versionCode ) ; }
Source:
public void testStagefright_bug_23270724 ( ) throws java.lang.Exception { doStagefrightTest ( R.raw.bug_23270724_1 ) ; doStagefrightTest ( R.raw.bug_23270724_2 ) ; }

Target:
public void testStagefrightANR_bug_62673844 ( ) throws java.lang.Exception { doStagefrightTestANR ( R.raw.bug_62673844 ) ; }
Source:
private void assertNotGlobalPreferred ( android.net.LinkAddress l , java.lang.String msg ) { assertFalse ( msg , l.isGlobalPreferred ( ) ) ; }

Target:
private void assertGlobalPreferred ( android.net.LinkAddress l , java.lang.String msg ) { org.junit.Assert.assertTrue ( msg , l.isGlobalPreferred ( ) ) ; }
Source:
public void updateWizardStateOnSelection ( com.android.tools.idea.wizard.ScopedStateStore.ScopedStateStore state ) { }

Target:
public void updateWizardState ( @ org.jetbrains.annotations.NotNull com.android.tools.idea.wizard.ScopedStateStore.ScopedStateStore state ) { }
Source:
public void onCreate ( android.os.Bundle savedInstanceState ) { if ( ( mBluetoothAdapter ) != null ) { mBluetoothAdapter.getProfileProxy ( mContext , mBtProfileServiceListener , BluetoothProfile.PAN ) ; } }

Target:
public void onCreate ( android.os.Bundle savedInstanceState ) { if ( ( ( mBluetoothAdapter ) != null ) && ( ( mBluetoothAdapter.getState ( ) ) == ( android.bluetooth.BluetoothAdapter.STATE_ON ) ) ) { mBluetoothAdapter.getProfileProxy ( mContext , mBtProfileServiceListener , BluetoothProfile.PAN ) ; } }
Source:
public long getMobileTcpBytesSent ( int which ) { return getTcpBytes ( android.os.NetStat.getMobileTxBytes ( ) , mMobileDataTx , which ) ; }

Target:
public long getTotalTcpBytesReceived ( int which ) { return getTcpBytes ( android.net.TrafficStats.getTotalRxBytes ( ) , mTotalDataRx , which ) ; }
Source:
private void updateAggregatedPresence ( long contactId ) { mAggregatedPresenceReplace.bindLong ( 1 , contactId ) ; mAggregatedPresenceReplace.bindLong ( 2 , contactId ) ; mAggregatedPresenceReplace.execute ( ) ; }

Target:
private void updateAggregatedStatusUpdate ( long contactId ) { mAggregatedPresenceReplace.bindLong ( 1 , contactId ) ; mAggregatedPresenceReplace.bindLong ( 2 , contactId ) ; mAggregatedPresenceReplace.execute ( ) ; updateLastStatusUpdateId ( contactId ) ; }
Source:
public com.android.build.gradle.internal.dsl.AaptOptions call ( ) throws java.lang.Exception { return getExtension ( ) . getAaptOptions ( ) ; }

Target:
public java.util.Set < java.io.File > call ( ) throws java.lang.Exception { return getJniFolders ( scope ) ; }
Source:
public void onHotplug ( long timestampNanos , int builtInDisplayId , boolean connected ) { synchronized ( getSyncRoot ( ) ) { scanDisplaysLocked ( ) ; } }

Target:
public void onHotplug ( long timestampNanos , int builtInDisplayId , boolean connected ) { synchronized ( getSyncRoot ( ) ) { if ( connected ) { tryConnectDisplayLocked ( builtInDisplayId ) ; } else { tryDisconnectDisplayLocked ( builtInDisplayId ) ; } } }
Source:
public void compare ( ) throws java.lang.Exception { runTest ( createDexFileComparator ( ) . setWithDebugInfo ( withDebugInfos ) ) ; }

Target:
public void compare ( ) throws java.lang.Exception { runTest ( createDexFileComparatorWithAnnotations ( ) ) ; }
Source:
public void test_with_adjustment_null ( ) { TEST_2007_07_15.with ( ( ( java.time.temporal.TemporalAdjuster ) ( null ) ) ) ; }

Target:
public void test_with_TemporalField_long_null ( ) { tck.java.time.TCKLocalDate.TEST_2007_07_15.with ( ( ( java.time.temporal.TemporalField ) ( null ) ) , 1 ) ; }
Source:
protected void renameField ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JField field , @ javax.annotation.Nonnull java.io.File mappingFile , int lineNumber , @ javax.annotation.Nonnull java.lang.String newName ) { rename ( field.getId ( ) , newName ) ; }

Target:
protected void renameField ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JField field , @ javax.annotation.Nonnull java.io.File mappingFile , int lineNumber , @ javax.annotation.Nonnull java.lang.String newName , @ javax.annotation.Nonnull com.android.jack.transformations.request.TransformationRequest memberTransformationRequest ) { rename ( field.getId ( ) , newName , memberTransformationRequest ) ; }
Source:
public void turnOffIms ( int slotId , int featureType , int sessionId ) throws android.os.RemoteException { synchronized ( mFeatures ) { android.telephony.ims.feature.MMTelFeature feature = resolveMMTelFeature ( slotId , featureType ) ; if ( feature != null ) { feature.turnOffIms ( sessionId ) ; } } }

Target:
public com.android.ims.internal.IImsEcbm getEcbmInterface ( int slotId , int featureType ) throws android.os.RemoteException { synchronized ( mFeatures ) { android.telephony.ims.feature.MMTelFeature feature = resolveMMTelFeature ( slotId , featureType ) ; if ( feature != null ) { return feature.getEcbmInterface ( ) ; } } return null ; }
Source:
private boolean getAutoTimeZone ( ) { try { return ( Settings.Global.getInt ( mCr , Settings.Global.AUTO_TIME_ZONE ) ) > 0 ; } catch ( android.provider.Settings snfe ) { return true ; } }

Target:
private boolean isUseOnlyRsrpForLteLevel ( ) { return getCarrierConfig ( ) . getBoolean ( CarrierConfigManager.KEY_USE_ONLY_RSRP_FOR_LTE_SIGNAL_BAR_BOOL ) ; }
Source:
private native void native_restat ( java.lang.String path ) ;

Target:
public void restat ( java.lang.String path ) { mStat = android.os.StatFs.doStat ( path ) ; }
Source:
java.util.List < com.android.ide.eclipse.adt.internal.editors.layout.gle2.CanvasSelection > getCanvasSelection ( ) { if ( ( mUnmodifiableSelection ) == null ) { mUnmodifiableSelection = java.util.Collections.unmodifiableList ( mSelections ) ; } return mUnmodifiableSelection ; }

Target:
java.util.List < com.android.ide.eclipse.adt.internal.editors.layout.gle2.CanvasSelection > getCanvasSelections ( ) { if ( ( mUnmodifiableSelection ) == null ) { mUnmodifiableSelection = java.util.Collections.unmodifiableList ( mSelections ) ; } return mUnmodifiableSelection ; }
Source:
public com.google.common.primitives.UnsignedLong divide ( com.google.common.primitives.UnsignedLong val ) { com.google.common.base.Preconditions.checkNotNull ( val ) ; return com.google.common.primitives.UnsignedLong.asUnsigned ( com.google.common.primitives.UnsignedLongs.divide ( value , val.value ) ) ; }

Target:
public com.google.common.primitives.UnsignedLong times ( com.google.common.primitives.UnsignedLong val ) { return com.google.common.primitives.UnsignedLong.fromLongBits ( ( ( value ) * ( com.google.common.base.Preconditions.checkNotNull ( val ) . value ) ) ) ; }
Source:
public byte [ ] getEncoded ( ) { return org.conscrypt.NativeCrypto.i2d_PUBKEY ( key.getPkeyContext ( ) ) ; }

Target:
public byte [ ] getEncoded ( ) { return org.conscrypt.NativeCrypto.i2d_PUBKEY ( key.getNativeRef ( ) ) ; }
Source:
public static java.lang.String getMissingPermissionMessage ( @ com.android.annotations.NonNull com.android.tools.lint.checks.PermissionRequirement requirement , @ com.android.annotations.NonNull java.lang.String callName , @ com.android.annotations.NonNull com.android.tools.lint.checks.PermissionHolder permissions ) { return java.lang.String.format ( "Missing permissions required by %1$s: %2$s" , callName , requirement.describeMissingPermissions ( permissions ) ) ; }

Target:
public static java.lang.String getMissingPermissionMessage ( @ com.android.annotations.NonNull com.android.tools.lint.checks.PermissionRequirement requirement , @ com.android.annotations.NonNull java.lang.String callName , @ com.android.annotations.NonNull com.android.tools.lint.checks.PermissionHolder permissions , @ com.android.annotations.NonNull com.android.tools.lint.checks.PermissionFinder.Operation operation ) { return java.lang.String.format ( "Missing permissions required %1$s %2$s: %3$s" , operation.prefix ( ) , callName , requirement.describeMissingPermissions ( permissions ) ) ; }
Source:
public void fatalError ( org.xml.sax.SAXParseException e ) { log.printf ( "Fatal error when parsing %s: %s" , xmlFile.getName ( ) , e.toString ( ) ) ; }

Target:
public void error ( org.xml.sax.SAXParseException e ) { log.error ( Severity.ERROR , new com.android.manifmerger.IMergerLog.FileAndLine ( xmlFile.getName ( ) , 0 ) , "Error when parsing: %1$s" , e.toString ( ) ) ; }
Source:
private static com.intellij.openapi.vfs.VirtualFile [ ] getRuntimeClasspath ( com.intellij.openapi.module.Module m ) { return com.intellij.roots.ModuleRootManager.getInstance ( m ) . orderEntries ( ) . productionOnly ( ) . runtimeOnly ( ) . recursively ( ) . getClassesRoots ( ) ; }

Target:
private static com.intellij.openapi.vfs.VirtualFile [ ] getRuntimeClasspath ( com.intellij.openapi.module.Module m ) { return com.intellij.openapi.roots.ModuleRootManager.getInstance ( m ) . orderEntries ( ) . productionOnly ( ) . runtimeOnly ( ) . recursively ( ) . getClassesRoots ( ) ; }
Source:
public void onLinkPropertiesChanged ( android.net.Network network , android.net.LinkProperties newLp ) { mTetherMasterSM.sendMessage ( com.android.server.connectivity.Tethering.TetherMasterSM.EVENT_UPSTREAM_CALLBACK , com.android.server.connectivity.Tethering.UpstreamNetworkMonitor.EVENT_ON_LINKPROPERTIES , 0 , new android.net.NetworkState ( null , newLp , null , network , null , null ) ) ; }

Target:
public void onLinkPropertiesChanged ( android.net.Network network , android.net.LinkProperties newLp ) { mTarget.sendMessage ( mWhat , com.android.server.connectivity.Tethering.UpstreamNetworkMonitor.EVENT_ON_LINKPROPERTIES , 0 , new android.net.NetworkState ( null , newLp , null , network , null , null ) ) ; }
Source:
native void rsnAllocationRead ( long con , long id , java.lang.Object d , int dt ) ;

Target:
native void rsnScriptForEach ( long con , long incCon , long id , int slot , long ain , long aout , byte [ ] params , boolean mUseInc ) ;
Source:
public java.lang.String getBriefDescription ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Issue.OutputFormat format ) { switch ( format ) { case TEXT : return com.android.tools.lint.detector.api.Issue.convertMarkup ( mBriefDescription , false ) ; case HTML : return com.android.tools.lint.detector.api.Issue.convertMarkup ( mBriefDescription , true ) ; case RAW : default : return mBriefDescription ; } }

Target:
public java.lang.String getBriefDescription ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.TextFormat format ) { return com.android.tools.lint.detector.api.TextFormat.RAW.convertTo ( mBriefDescription , format ) ; }
Source:
public static java.lang.String decode ( java.lang.String s ) { return libcore.net.UriCodec.decode ( s , false , Charsets.UTF_8 , true ) ; }

Target:
public static java.lang.String decode ( java.lang.String s ) { return libcore.net.UriCodec.decode ( s , false , java.nio.charset.StandardCharsets.UTF_8 , true ) ; }
Source:
public void test_getTrafficClass ( ) throws java.lang.Exception { int trafficClass = new java.net.Socket ( ) . getTrafficClass ( ) ; assertTrue ( ( 0 <= trafficClass ) ) ; assertTrue ( ( trafficClass <= 255 ) ) ; }

Target:
public void test_getTrafficClass ( ) throws java.lang.Exception { try ( java.net.Socket socket = new java.net.Socket ( ) ) { int trafficClass = socket.getTrafficClass ( ) ; assertTrue ( ( 0 <= trafficClass ) ) ; assertTrue ( ( trafficClass <= 255 ) ) ; } }
Source:
public void test_F32_4_SCALE20_20_inSqure ( ) { testReszie ( inX , inX , Element.DataType.FLOAT_32 , 4 , 2.0F , 2.0F ) ; }

Target:
public void test_F32_4_SCALE20_20_inSqure ( ) { testResize ( inX , inX , Element.DataType.FLOAT_32 , 4 , 2.0F , 2.0F ) ; }
Source:
public void removeReferences ( ) { android.util.Log.d ( com.android.internal.telephony.gsm.GSMPhone.LOG_TAG , "removeReferences" ) ; mSimulatedRadioControl = null ; mSimPhoneBookIntManager = null ; mSimSmsIntManager = null ; mSubInfo = null ; mCT = null ; mSST = null ; super . removeReferences ( ) ; }

Target:
public void removeReferences ( ) { android.telephony.Rlog.d ( com.android.internal.telephony.gsm.GSMPhone.LOG_TAG , "removeReferences" ) ; mSimulatedRadioControl = null ; mSimPhoneBookIntManager = null ; mSimSmsIntManager = null ; mSubInfo = null ; mCT = null ; mSST = null ; super . removeReferences ( ) ; }
Source:
public void testAllowLocalMethodsImplementingInaccessible ( ) throws java.lang.Exception { assertEquals ( ( "src/test/pkg/ApiCallTest10.java:25: Error: Call requires API level 14 (current min is 4): android.view.View#onPopulateAccessibilityEvent [NewApi]\n" + ( ( ( ( ( ( ( ( " super.onPopulateAccessibilityEvent(event); // Valid lint warning\n" + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "src/test/pkg/ApiCallTest10.java:31: Error: Call requires API level 14 (current min is 4): android.view.View#dispatchGenericFocusedEvent [NewApi]\n" ) + " return super.dispatchGenericFocusedEvent(event); // Should flag this\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "src/test/pkg/ApiCallTest10.java:40: Error: Call requires API level 14 (current min is 4): android.view.View#dispatchHoverEvent [NewApi]\n" ) + " dispatchHoverEvent(null);\n" ) + " ~~~~~~~~~~~~~~~~~~\n" ) + "3 errors, 0 warnings\n" ) ) , lintProject ( "apicheck/classpath=>.classpath" , "apicheck/minsdk4.xml=>AndroidManifest.xml" , "apicheck/ApiCallTest10.java.txt=>src/test/pkg/ApiCallTest10.java" , "apicheck/ApiCallTest10.class.data=>bin/classes/test/pkg/ApiCallTest10.class" ) ) ; }

Target:
public void testAllowLocalMethodsImplementingInaccessible ( ) throws java.lang.Exception { assertEquals ( ( "src/test/pkg/ApiCallTest10.java:40: Error: Call requires API level 14 (current min is 4): android.view.View#dispatchHoverEvent [NewApi]\n" + ( ( " dispatchHoverEvent(null);\n" + " ~~~~~~~~~~~~~~~~~~\n" ) + "1 errors, 0 warnings\n" ) ) , lintProject ( "apicheck/classpath=>.classpath" , "apicheck/minsdk4.xml=>AndroidManifest.xml" , "apicheck/ApiCallTest10.java.txt=>src/test/pkg/ApiCallTest10.java" , "apicheck/ApiCallTest10.class.data=>bin/classes/test/pkg/ApiCallTest10.class" ) ) ; }
Source:
void notifyTaskStackChangedLocked ( ) { mHandler.removeMessages ( com.android.server.am.ActivityManagerService.NOTIFY_TASK_STACK_CHANGE_LISTENERS_MSG ) ; android.os.Message nmsg = mHandler.obtainMessage ( com.android.server.am.ActivityManagerService.NOTIFY_TASK_STACK_CHANGE_LISTENERS_MSG ) ; mHandler.sendMessageDelayed ( nmsg , com.android.server.am.ActivityManagerService.NOTIFY_TASK_STACK_CHANGE_LISTENERS_DELAY ) ; }

Target:
void notifyTaskStackChangedLocked ( ) { mHandler.sendEmptyMessage ( com.android.server.am.ActivityManagerService.LOG_STACK_STATE ) ; mHandler.removeMessages ( com.android.server.am.ActivityManagerService.NOTIFY_TASK_STACK_CHANGE_LISTENERS_MSG ) ; android.os.Message nmsg = mHandler.obtainMessage ( com.android.server.am.ActivityManagerService.NOTIFY_TASK_STACK_CHANGE_LISTENERS_MSG ) ; mHandler.sendMessageDelayed ( nmsg , com.android.server.am.ActivityManagerService.NOTIFY_TASK_STACK_CHANGE_LISTENERS_DELAY ) ; }
Source:
public void applyTransportModeTransform ( java.net.Socket socket , android.net.IpSecTransform transform ) throws java.io.IOException { try ( android.os.ParcelFileDescriptor pfd = android.os.ParcelFileDescriptor.fromSocket ( socket ) ) { applyTransportModeTransform ( pfd , transform ) ; } }

Target:
public void applyTransportModeTransform ( java.net.DatagramSocket socket , android.net.IpSecTransform transform ) throws java.io.IOException { applyTransportModeTransform ( android.os.ParcelFileDescriptor.fromDatagramSocket ( socket ) , transform ) ; }
Source:
public void requestIsimAuthentication ( java.lang.String nonce , android.os.Message response ) { unimplemented ( response ) ; }

Target:
public void stopNattKeepalive ( int sessionHandle , android.os.Message result ) { }
Source:
public int compare ( java.lang.String [ ] lhs , java.lang.String [ ] rhs ) { return lhs [ libcore.icu.TimeZones.OLSON_NAME ] . compareTo ( rhs [ libcore.icu.TimeZones.OLSON_NAME ] ) ; }

Target:
public int compare ( java.lang.String [ ] lhs , java.lang.String [ ] rhs ) { return lhs [ libcore.icu.TimeZoneNames.OLSON_NAME ] . compareTo ( rhs [ libcore.icu.TimeZoneNames.OLSON_NAME ] ) ; }
Source:
public void testCompareStringString ( ) throws java.text.ParseException { java.lang.String rule = "< c < b < a" ; java.text.RuleBasedCollator coll = new java.text.RuleBasedCollator ( rule ) ; assertEquals ( ( - 1 ) , coll.compare ( "c" , "a" ) ) ; }

Target:
public void testCompareStringString ( ) throws java.text.ParseException { java.lang.String rule = "&9 < c < b < a" ; java.text.RuleBasedCollator coll = new java.text.RuleBasedCollator ( rule ) ; assertEquals ( ( - 1 ) , coll.compare ( "c" , "a" ) ) ; }
Source:
public void testFailed ( com.android.ddmlib.testrunner.ITestRunListener.TestFailure status , com.android.ddmlib.testrunner.TestIdentifier test , java.lang.String trace ) ;

Target:
public void testIgnored ( com.android.ddmlib.testrunner.TestIdentifier test ) ;
Source:
public void acknowledgeSmsReport ( int token , int messageRef , @ android.telephony.ims.internal.stub.SmsImplBase.StatusReportResult int result ) { getSmsImplementation ( ) . acknowledgeSmsReport ( token , messageRef , result ) ; }

Target:
private void acknowledgeSms ( int token , int messageRef , @ android.telephony.ims.stub.ImsSmsImplBase.DeliverStatusResult int result ) { getSmsImplementation ( ) . acknowledgeSms ( token , messageRef , result ) ; }
Source:
public void test_getDisplayName_obsolete ( ) throws java.lang.Exception { libcore.java.util.LocaleTest.assertObsolete ( "he" , "iw" , "עברית" ) ; libcore.java.util.LocaleTest.assertObsolete ( "id" , "in" , "Bahasa Indonesia" ) ; }

Target:
public void test_getDisplayName_obsolete ( ) throws java.lang.Exception { libcore.java.util.LocaleTest.assertObsolete ( "he" , "iw" , "עברית" ) ; libcore.java.util.LocaleTest.assertObsolete ( "id" , "in" , "Indonesia" ) ; }
Source:
public void onPause ( ) { com.android.dialer.common.LogUtil.enterBlock ( "CallLogFragment.onPause" ) ; cancelDisplayUpdate ( ) ; mAdapter.onPause ( ) ; super . onPause ( ) ; }

Target:
public void onPause ( ) { com.android.dialer.common.LogUtil.enterBlock ( "CallLogFragment.onPause" ) ; if ( getUserVisibleHint ( ) ) { onNotVisible ( ) ; } cancelDisplayUpdate ( ) ; mAdapter.onPause ( ) ; super . onPause ( ) ; }
Source:
public void testVFE7 ( ) { try { java.lang.Class.forName ( "dot.junit.opcodes.aput.d.T_aput_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.d.T_aput_1" , java.lang.ArrayIndexOutOfBoundsException.class , new int [ 2 ] , ( - 1 ) , 100000000 ) ; }
Source:
public static void computeLog2 ( android.renderscript.cts.TestLog2.ArgumentsFloatFloat args ) { args.ulf = 3 ; args.ulfRelaxed = 128 ; args.out = ( ( float ) ( ( java.lang.StrictMath.log10 ( args.in ) ) / ( java.lang.StrictMath.log10 ( 2.0 ) ) ) ) ; }

Target:
public static void computeAtan ( android.renderscript.cts.TestAtan.ArgumentsFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( android.renderscript.cts.CoreMathVerifier.atan ( args.inV ) , 5 , 128 ) ; }
Source:
public final java.nio.LongBuffer asLongBuffer ( ) { return java.nio.ByteBufferAsLongBuffer.asLongBuffer ( this ) ; }

Target:
public final java.nio.LongBuffer asLongBuffer ( ) { checkNotFreed ( ) ; return java.nio.ByteBufferAsLongBuffer.asLongBuffer ( this ) ; }
Source:
public void utConfigurationUpdateFailed ( com.android.ims.internal.IImsUt ut , int id , com.android.ims.ImsReasonInfo error ) { java.lang.Integer key = java.lang.Integer.valueOf ( id ) ; synchronized ( mLockObj ) { sendFailureReport ( mPendingCmds.get ( key ) , error ) ; mPendingCmds.remove ( key ) ; } }

Target:
public void utConfigurationUpdateFailed ( com.android.ims.internal.IImsUt ut , int id , android.telephony.ims.ImsReasonInfo error ) { java.lang.Integer key = java.lang.Integer.valueOf ( id ) ; synchronized ( mLockObj ) { sendFailureReport ( mPendingCmds.get ( key ) , error ) ; mPendingCmds.remove ( key ) ; } }
Source:
protected void onDetachedFromWindow ( ) { super . onDetachedFromWindow ( ) ; if ( mPreDrawRegistered ) { getViewTreeObserver ( ) . removeOnPreDrawListener ( this ) ; mPreDrawRegistered = false ; } resetResolvedDrawables ( ) ; if ( ( mEditor ) != null ) mEditor.onDetachedFromWindow ( ) ; }

Target:
private void unregisterForPreDraw ( ) { getViewTreeObserver ( ) . removeOnPreDrawListener ( this ) ; mPreDrawRegistered = false ; mPreDrawListenerDetached = false ; }
Source:
private void notifyAddServiceFail ( ) { if ( com.android.cts.verifier.bluetooth.BleServerService.DEBUG ) { android.util.Log.d ( com.android.cts.verifier.bluetooth.BleServerService.TAG , "notifyAddServiceFail" ) ; } android.content.Intent intent = new android.content.Intent ( com.android.cts.verifier.bluetooth.BleServerService.BLE_ADD_SERVICE_FAIL ) ; sendBroadcast ( intent ) ; }

Target:
public void onServiceAdded ( int status , android.bluetooth.BluetoothGattService service ) { if ( com.android.cts.verifier.bluetooth.BleServerService.DEBUG ) android.util.Log.d ( com.android.cts.verifier.bluetooth.BleServerService.TAG , "onServiceAdded()" ) ; if ( status == ( android.bluetooth.BluetoothGatt.GATT_SUCCESS ) ) notifyServiceAdded ( ) ; }
Source:
native void rsnScriptSetVarV ( long con , long id , int slot , byte [ ] val ) ;

Target:
native long rsnIncAllocationCreateTyped ( long con , long incCon , long alloc , long type ) ;
Source:
protected java.util.concurrent.ConcurrentLinkedQueue < com.google.common.eventbus.EventBus.EventWithHandler > initialValue ( ) { return new java.util.concurrent.ConcurrentLinkedQueue < com.google.common.eventbus.EventBus.EventWithHandler > ( ) ; }

Target:
protected java.util.Queue < com.google.common.eventbus.EventBus.EventWithSubscriber > initialValue ( ) { return new java.util.LinkedList < com.google.common.eventbus.EventBus.EventWithSubscriber > ( ) ; }
Source:
public java.lang.String telephonyGetIccSimChallengeResponse ( @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "appType" ) java.lang.Integer appType , @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "hexChallenge" ) java.lang.String hexChallenge ) { return telephonyGetIccSimChallengeResponseForSubscription ( android.telephony.SubscriptionManager.getDefaultSubscriptionId ( ) , appType , hexChallenge ) ; }

Target:
public java.lang.String telephonyGetIccSimChallengeResponse ( @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "appType" ) java.lang.Integer appType , @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "hexChallenge" ) java.lang.String hexChallenge ) { return telephonyGetIccSimChallengeResponseForSubscription ( android.telephony.SubscriptionManager.getDefaultSubId ( ) , appType , hexChallenge ) ; }