auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void testRefactor2 ( ) throws java.lang.Exception { renamePackage ( com.android.ide.eclipse.adt.internal.refactorings.renamepackage.TEST_PROJECT2 , "my.pkg.name" , ( "CHANGES:\n" + ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( "-------\n" + "[x] MyFragment.java - /testRefactor2/src/com/example/refactoringtest/MyFragment.java\n" ) + " @@ -3 +3\n" ) + " + import my.pkg.name.R;\n" ) + "\n" ) + "\n" ) + "[x] MainActivity.java - /testRefactor2/src/com/example/refactoringtest/MainActivity.java\n" ) + " @@ -7 +7\n" ) + " + import my.pkg.name.R;\n" ) + "\n" ) + "\n" ) + "[x] CustomView1.java - /testRefactor2/src/com/example/refactoringtest/CustomView1.java\n" ) + " @@ -5 +5\n" ) + " + import my.pkg.name.R;\n" ) + "\n" ) + "\n" ) + "[x] Make Manifest edits - /testRefactor2/AndroidManifest.xml\n" ) + " @@ -3 +3\n" ) + " - package=\"com.example.refactoringtest\"\n" ) + " + package=\"my.pkg.name\"\n" ) + " @@ -25 +25\n" ) + " - android:name=\".MainActivity2\"\n" ) + " + android:name=\"com.example.refactoringtest.MainActivity2\"" ) ) ) ; }

Target:
public void testRefactor2 ( ) throws java.lang.Exception { renamePackage ( com.android.ide.eclipse.adt.internal.refactorings.renamepackage.TEST_PROJECT2 , "my.pkg.name" , ( "CHANGES:\n" + ( ( ( ( ( ( ( ( ( ( ( ( "-------\n" + "[x] MainActivity.java - /testRefactor2/src/com/example/refactoringtest/MainActivity.java\n" ) + " @@ -7 +7\n" ) + " + import my.pkg.name.R;\n" ) + "\n" ) + "\n" ) + "[x] Make Manifest edits - /testRefactor2/AndroidManifest.xml\n" ) + " @@ -3 +3\n" ) + " - package=\"com.example.refactoringtest\"\n" ) + " + package=\"my.pkg.name\"\n" ) + " @@ -25 +25\n" ) + " - android:name=\".MainActivity2\"\n" ) + " + android:name=\"com.example.refactoringtest.MainActivity2\"" ) ) ) ; }
Source:
public long getLastModified ( ) { assert ( file ) != null ; return file.lastModified ( ) ; }

Target:
public java.nio.file.attribute.FileTime getLastModified ( ) throws com.android.sched.util.file.CannotGetModificationTimeException { assert ( file ) != null ; try { return java.nio.file.Files.getLastModifiedTime ( file.toPath ( ) ) ; } catch ( java.io.IOException e ) { throw new com.android.sched.util.file.CannotGetModificationTimeException ( this , e ) ; } }
Source:
public void run ( ) { mScrollView.fling ( 2000 ) ; }

Target:
public void run ( ) { mScrollView.fling ( velocityX ) ; }
Source:
public void tearDown ( ) { mHandlerThread.quitSafely ( ) ; }

Target:
public void tearDown ( ) throws java.lang.Exception { if ( ! ( mTargetContext.getResources ( ) . getBoolean ( R.bool.profile_supported_pbap ) ) ) { return ; } mHandlerThread.quitSafely ( ) ; com.android.bluetooth.TestUtils.clearAdapterService ( mAdapterService ) ; }
Source:
public com.google.common.collect.ImmutableList < com.android.dialer.precall.PreCallAction > getActions ( ) { return com.google.common.collect.ImmutableList.of ( new com.android.dialer.precall.impl.CallingAccountSelector ( ) , new com.android.dialer.precall.impl.AssistedDialAction ( ) ) ; }

Target:
public com.google.common.collect.ImmutableList < com.android.dialer.precall.PreCallAction > getActions ( ) { return com.google.common.collect.ImmutableList.of ( new com.android.dialer.precall.impl.PermissionCheckAction ( ) , new com.android.dialer.precall.impl.CallingAccountSelector ( ) , new com.android.dialer.precall.impl.AssistedDialAction ( ) ) ; }
Source:
public final double getDouble ( int index ) { checkIndex ( index , SizeOf.DOUBLE ) ; return java.lang.Double.longBitsToDouble ( this . block.peekLong ( ( ( offset ) + index ) , order ) ) ; }

Target:
public final double getDouble ( int index ) { checkNotFreed ( ) ; checkIndex ( index , SizeOf.DOUBLE ) ; return java.lang.Double.longBitsToDouble ( this . block.peekLong ( ( ( offset ) + index ) , order ) ) ; }
Source:
public com.android.sched.util.codec.OutputStreamCodec allowStandard ( ) { this . allowStandard = true ; return this ; }

Target:
public com.android.sched.util.codec.OutputStreamCodec allowStandardOutputOrError ( ) { this . allowStandardIO = true ; this . allowStandardError = true ; return this ; }
Source:
synchronized long nScriptFieldIDCreate ( long sid , int slot ) { validate ( ) ; return rsnScriptFieldIDCreate ( mContext , sid , slot ) ; }

Target:
synchronized long nScriptInvokeIDCreate ( long sid , int slot ) { validate ( ) ; return rsnScriptInvokeIDCreate ( mContext , sid , slot ) ; }
Source:
public java.lang.String telephonyGetCallState ( ) { return telephonyGetCallStateForSubscription ( android.telephony.SubscriptionManager.getDefaultSubId ( ) ) ; }

Target:
public java.lang.String telephonyGetCallState ( ) { return telephonyGetCallStateForSubscription ( android.telephony.SubscriptionManager.getDefaultSubscriptionId ( ) ) ; }
Source:
public void ensureCapacity ( int minCapacity ) { int minExpand = ( ( elementData ) != ( java.util.ArrayList.EMPTY_ELEMENTDATA ) ) ? 0 : java.util.ArrayList.DEFAULT_CAPACITY ; if ( minCapacity > minExpand ) { ensureExplicitCapacity ( minCapacity ) ; } }

Target:
private void ensureCapacityInternal ( int minCapacity ) { if ( ( elementData ) == ( java.util.ArrayList.DEFAULTCAPACITY_EMPTY_ELEMENTDATA ) ) { minCapacity = java.lang.Math.max ( java.util.ArrayList.DEFAULT_CAPACITY , minCapacity ) ; } ensureExplicitCapacity ( minCapacity ) ; }
Source:
private boolean isLive ( ) { return ( markerRef.get ( ) ) != null ; }

Target:
private boolean isLive ( ) { return ( ! ( markerRef.isEnqueued ( ) ) ) || ( ( org.apache.harmony.jpda.tests.share.GcMarker.mCount ) > 0 ) ; }
Source:
public java.lang.String getAbi ( ) { return com.android.compatibility.common.util.AbiUtils.parseAbi ( mId ) ; }

Target:
public java.lang.String getAbi ( ) { return com.android.compatibility.common.util.ModuleResult.parseId ( mId ) [ 0 ] ; }
Source:
native long rsnScriptFieldIDCreate ( long con , long sid , int slot ) ;

Target:
native void rsnIncContextFinish ( long con ) ;
Source:
public com.google.dexmaker.stock.ProxyBuilder < T > dexCache ( java.io.File dexCache ) { this . dexCache = dexCache ; return this ; }

Target:
public com.google.dexmaker.stock.ProxyBuilder < T > dexCache ( java.io.File dexCacheParent ) { dexCache = new java.io.File ( dexCacheParent , ( "v" + ( java.lang.Integer.toString ( com.google.dexmaker.stock.ProxyBuilder.VERSION ) ) ) ) ; dexCache.mkdir ( ) ; return this ; }
Source:
public java.util.Iterator < com.android.jack.ir.ast.JMethod > adapt ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface declaredType ) throws java.lang.Exception { return declaredType.getCallables ( ) . iterator ( ) ; }

Target:
public java.util.Iterator < com.android.jack.ir.ast.JMethod > adapt ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface declaredType ) throws java.lang.Exception { return new java.util.ArrayList < com.android.jack.ir.ast.JMethod > ( declaredType.getMethods ( ) ) . iterator ( ) ; }
Source:
public boolean startRinging ( ) { return mRinger.startRinging ( mForegroundCall ) ; }

Target:
public boolean startRinging ( ) { return mRinger.startRinging ( mForegroundCall , mCallAudioRouteStateMachine.isHfpDeviceAvailable ( ) ) ; }
Source:
public void testFailOnClearedUpClientId ( ) throws java.lang.Exception { int clientId = doConnect ( ) ; mDut.disconnect ( clientId , mBinderMock ) ; org.mockito.Mockito.verify ( mNanStateManagerMock ) . disconnect ( clientId ) ; validateInternalStateCleanedUp ( clientId ) ; mDut.disconnect ( clientId , mBinderMock ) ; }

Target:
public void testFailOnClearedUpClientId ( ) throws java.lang.Exception { int clientId = doConnect ( ) ; mDut.disconnect ( clientId , mBinderMock ) ; org.mockito.Mockito.verify ( mAwareStateManagerMock ) . disconnect ( clientId ) ; validateInternalStateCleanedUp ( clientId ) ; mDut.disconnect ( clientId , mBinderMock ) ; }
Source:
public void testInvalidReferenceValidator ( ) throws java.io.IOException , javax.xml.parsers.ParserConfigurationException , org.xml.sax.SAXException { java.lang.String input = "" + ( ( ( ( ( ( ( ( ( ( ( "<manifest\n" + " xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" ) + " xmlns:tools=\"http://schemas.android.com/tools\"\n" ) + " package=\"com.example.lib3\">\n" ) + "\n" ) + " <permission android:name=\"permissionOne\" " ) + " android:permissionGroup=\"permissionGroupOne\"/>\n" ) + "\n" ) + " <permission-group android:name=\"permissionGroupXXX\" " ) + " android:label=\"@res/foo\"/>\n" ) + "\n" ) + "</manifest>" ) ; com.android.manifmerger.XmlDocument xmlDocument = com.android.manifmerger.TestUtils.xmlDocumentFromString ( new com.android.manifmerger.TestUtils.TestSourceLocation ( getClass ( ) , "testInvalidReferenceValidator" ) , input ) ; com.android.manifmerger.MergingReport.Builder mergingReportBuilder = new com.android.manifmerger.MergingReport.Builder ( mILogger ) ; com.android.manifmerger.PostValidator.validate ( xmlDocument , mergingReportBuilder ) ; for ( com.android.manifmerger.MergingReport.Record record : mergingReportBuilder.build ( ) . getLoggingRecords ( ) ) { java.util.logging.Logger.getAnonymousLogger ( ) . severe ( record.toString ( ) ) ; if ( ( ( record.getSeverity ( ) ) == ( MergingReport.Record.Severity.ERROR ) ) && ( record.toString ( ) . contains ( "PostValidatorTest#testInvalidReferenceValidator:6 " ) ) ) { return ; } } fail ( "No reference to faulty PostValidatorTest#testInvalidReferenceValidator:6 found" ) ; }

Target:
public void testInvalidReferenceValidator ( ) throws java.io.IOException , javax.xml.parsers.ParserConfigurationException , org.xml.sax.SAXException { java.lang.String input = "" + ( ( ( ( ( ( ( ( ( ( ( "<manifest\n" + " xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" ) + " xmlns:tools=\"http://schemas.android.com/tools\"\n" ) + " package=\"com.example.lib3\">\n" ) + "\n" ) + " <permission android:name=\"permissionOne\" " ) + " android:permissionGroup=\"permissionGroupOne\"/>\n" ) + "\n" ) + " <permission-group android:name=\"permissionGroupXXX\" " ) + " android:label=\"@res/foo\"/>\n" ) + "\n" ) + "</manifest>" ) ; com.android.manifmerger.XmlDocument xmlDocument = com.android.manifmerger.TestUtils.xmlDocumentFromString ( new com.android.manifmerger.TestUtils.TestSourceLocation ( getClass ( ) , "testInvalidReferenceValidator" ) , input ) ; com.android.manifmerger.MergingReport.Builder mergingReportBuilder = new com.android.manifmerger.MergingReport.Builder ( mILogger ) ; com.android.manifmerger.PostValidator.validate ( xmlDocument , mergingReportBuilder ) ; for ( com.android.manifmerger.MergingReport.Record record : mergingReportBuilder.build ( ) . getLoggingRecords ( ) ) { java.util.logging.Logger.getAnonymousLogger ( ) . severe ( record.toString ( ) ) ; if ( ( ( record.getSeverity ( ) ) == ( MergingReport.Record.Severity.ERROR ) ) && ( record.toString ( ) . contains ( "PostValidatorTest#testInvalidReferenceValidator:6:55 " ) ) ) { return ; } } fail ( "No reference to faulty PostValidatorTest#testInvalidReferenceValidator:6 found" ) ; }
Source:
private final native void init ( ) ;

Target:
private static native long getNativeBBinderHolder ( ) ;
Source:
public void execute ( @ com.android.annotations.NonNull java.util.List < java.lang.String > arguments , java.lang.String ... tasks ) { execute ( arguments , false , false , tasks ) ; }

Target:
public void execute ( @ com.android.annotations.NonNull java.util.List < java.lang.String > arguments , java.lang.String ... tasks ) { execute ( arguments , false , false , com.android.build.gradle.integration.common.fixture.GradleTestProject.ExpectedBuildResult.SUCCESS , tasks ) ; }
Source:
public void respondToRttRequest ( int id , boolean accept ) { try { mAdapter.respondToRttRequest ( id , accept ) ; } catch ( android.os.RemoteException ignored ) { } }

Target:
public void setRttMode ( java.lang.String callId , int mode ) { try { mAdapter.setRttMode ( callId , mode ) ; } catch ( android.os.RemoteException ignored ) { } }
Source:
public void onIntrData ( byte reportId , byte [ ] data ) { android.util.Log.d ( android.bluetooth.BluetoothHidDeviceCallback.TAG , ( "onIntrData: reportId=" + reportId ) ) ; }

Target:
public void onSetProtocol ( android.bluetooth.BluetoothDevice device , byte protocol ) { android.util.Log.d ( android.bluetooth.BluetoothHidDeviceCallback.TAG , ( ( ( "onSetProtocol: device=" + device ) + " protocol=" ) + protocol ) ) ; }
Source:
public int exist ( java.lang.String name ) throws android.os.RemoteException ;

Target:
public java.lang.String [ ] saw ( java.lang.String name , int uid ) throws android.os.RemoteException ;
Source:
public void run ( ) { mBuilder = new android.app.AlertDialog.Builder ( mContext ) ; mBuilder.setCustomTitle ( view ) ; mDialog = mBuilder.show ( ) ; }

Target:
public void run ( ) { mDrawable = mContext.getResources ( ) . getDrawable ( android.R.drawable.btn_default ) ; mBuilder = new android.app.AlertDialog.Builder ( mContext ) ; mBuilder.setIcon ( android.R.drawable.btn_default ) ; mDialog = mBuilder.show ( ) ; }
Source:
private static void doFollowReferencesTestNonRoot ( java.util.ArrayList < java.lang.Object > tmpStorage ) { Main.Verifier v = new Main.Verifier ( ) ; Main.tagClasses ( v ) ; Main.A a = Main.createTree ( v ) ; tmpStorage.add ( a ) ; v.add ( "0@0" , "1@1000" ) ; Main.doFollowReferencesTestImpl ( null , java.lang.Integer.MAX_VALUE , ( - 1 ) , null , v , null ) ; Main.doFollowReferencesTestImpl ( a.foo , java.lang.Integer.MAX_VALUE , ( - 1 ) , null , v , "2@1000" ) ; tmpStorage.clear ( ) ; }

Target:
private static void doFollowReferencesTestNonRoot ( java.util.ArrayList < java.lang.Object > tmpStorage ) { Main.Verifier v = new Main.Verifier ( ) ; Main.tagClasses ( v ) ; Main.A a = Main.createTree ( v ) ; tmpStorage.add ( a ) ; v.add ( "0@0" , "1@1000" ) ; Main.doFollowReferencesTestImpl ( null , java.lang.Integer.MAX_VALUE , ( - 1 ) , null , v , null ) ; Main.doFollowReferencesTestImpl ( a.foo2 , java.lang.Integer.MAX_VALUE , ( - 1 ) , null , v , "3@1001" ) ; tmpStorage.clear ( ) ; }
Source:
static void asLongs ( byte [ ] x , long [ ] z ) { org.bouncycastle.crypto.util.Pack.bigEndianToLong ( x , 0 , z ) ; }

Target:
static void asLongs ( byte [ ] x , long [ ] z ) { org.bouncycastle.util.Pack.bigEndianToLong ( x , 0 , z ) ; }
Source:
void addResourceValue ( java.lang.String resType , com.android.ide.common.rendering.api.ResourceValue value ) ;

Target:
void addResourceValue ( com.android.resources.ResourceType type , com.android.ide.common.rendering.api.ResourceValue value ) ;
Source:
public com.google.common.base.Objects.ToStringHelper addValue ( long value ) { addHolder ( ) . builder.append ( value ) ; return this ; }

Target:
private com.google.common.base.Objects.ToStringHelper addHolder ( java.lang.String name , @ javax.annotation.Nullable java.lang.Object value ) { com.google.common.base.Objects.ToStringHelper.ValueHolder valueHolder = addHolder ( ) ; valueHolder.value = value ; valueHolder.name = com.google.common.base.Preconditions.checkNotNull ( name ) ; return this ; }
Source:
public static native int SSL_read_BIO ( long sslNativePointer , byte [ ] dest , long sourceBioRef , long sinkBioRef , org.conscrypt.NativeCrypto.SSLHandshakeCallbacks shc ) throws java.io.IOException ;

Target:
public static native int SSL_read_BIO ( long sslNativePointer , byte [ ] dest , int destOffset , int destLength , long sourceBioRef , long sinkBioRef , org.conscrypt.NativeCrypto.SSLHandshakeCallbacks shc ) throws java.io.IOException ;
Source:
public static native double atan2 ( double y , double x ) ;

Target:
public static native double sinh ( double x ) ;
Source:
private void exportModule ( java.io.File destDir , com.android.tools.gradle.eclipse.ImportModule module ) throws java.io.IOException { mkdirs ( destDir ) ; createModuleBuildGradle ( new java.io.File ( destDir , com.android.SdkConstants.FN_BUILD_GRADLE ) , module ) ; module.copyInto ( destDir ) ; }

Target:
private void exportModule ( java.io.File destDir , com.android.tools.gradle.eclipse.ImportModule module ) throws java.io.IOException { mkdirs ( destDir ) ; createModuleBuildGradle ( new java.io.File ( destDir , FN_BUILD_GRADLE ) , module ) ; module.copyInto ( destDir ) ; }
Source:
public boolean perform ( ) { try { java.lang.Thread.sleep ( 100 ) ; } catch ( java.lang.InterruptedException ignored ) { } return true ; }

Target:
public boolean perform ( ) { synchronized ( lock ) { try { lock.wait ( Main.TimedWait.SLEEP_TIME , 0 ) ; } catch ( java.lang.InterruptedException ignored ) { } } return true ; }
Source:
public void run ( ) { cancelTimer ( ) ; freeLoadedPrograms ( ) ; }

Target:
public void changedMode ( @ javax.annotation.Nonnull com.android.jack.server.ServerMode oldMode , @ javax.annotation.Nonnull com.android.jack.server.ServerMode newMode ) { freeLoadedPrograms ( ) ; }
Source:
public static void disableForTests ( ) { org.chromium.base.metrics.RecordHistogram.sIsDisabledForTests = true ; }

Target:
public static void setDisabledForTests ( boolean disabled ) { if ( disabled && ( ( org.chromium.base.metrics.RecordHistogram.sDisabledBy ) != null ) ) { throw new java.lang.IllegalStateException ( "Histograms are already disabled." , org.chromium.base.metrics.RecordHistogram.sDisabledBy ) ; } org.chromium.base.metrics.RecordHistogram.sDisabledBy = ( disabled ) ? new java.lang.Throwable ( ) : null ; }
Source:
public com.android.ims.internal.IImsCallSession createCallSession ( int sessionId , android.telephony.ims.ImsCallProfile profile ) { isCreateCallSessionCalled = true ; return null ; }

Target:
public com.android.ims.internal.IImsCallSession createCallSession ( int sessionId , android.telephony.ims.ImsCallProfile profile , com.android.ims.internal.IImsCallSessionListener listener ) { isCreateCallSessionCalled = true ; return null ; }
Source:
public com.android.ide.common.api.IValidator getResourceValidator ( ) { fail ( "Not supported in tests yet" ) ; return null ; }

Target:
public com.android.ide.common.api.IValidator getResourceValidator ( java.lang.String resourceTypeName , boolean uniqueInProject , boolean uniqueInLayout , boolean exists , java.lang.String ... allowed ) { fail ( "Not supported in tests yet" ) ; return null ; }
Source:
public void testSendMessageQueueRandomize ( ) throws java.lang.Exception { com.android.server.wifi.nan.WifiNanNative.Capabilities cap = com.android.server.wifi.nan.WifiNanStateManagerTest.getCapabilities ( ) ; testSendMessageQueue ( com.android.server.wifi.nan.WifiNanStateManagerTest.SendMessageAnswer.OP_QUEUE_RANDOMIZE , cap , ( ( cap.maxQueuedTransmitMessages ) * 10 ) ) ; }

Target:
public void testSendMessageQueueRandomize ( ) throws java.lang.Exception { com.android.server.wifi.aware.WifiAwareNative.Capabilities cap = com.android.server.wifi.aware.WifiAwareStateManagerTest.getCapabilities ( ) ; testSendMessageQueue ( com.android.server.wifi.aware.WifiAwareStateManagerTest.SendMessageAnswer.OP_QUEUE_RANDOMIZE , cap , ( ( cap.maxQueuedTransmitMessages ) * 10 ) ) ; }
Source:
protected boolean assertNotNull ( java.lang.String message , java.lang.Object actual ) { return handleAssert ( ( actual != null ) , message , null , stringFor ( actual ) , "!=" , true ) ; }

Target:
protected static boolean assertNotNull ( java.lang.String message , java.lang.Object actual ) { return com.ibm.icu.dev.test.TestFmwk.handleAssert ( ( actual != null ) , message , null , com.ibm.icu.dev.test.TestFmwk.stringFor ( actual ) , "!=" , true ) ; }
Source:
public android.net.IpSecTransform.Builder setIpv4Encapsulation ( android.net.IpSecManager.UdpEncapsulationSocket localSocket , int remotePort ) { mConfig.encapType = android.net.IpSecTransform.ENCAP_ESPINUDP ; mConfig.encapLocalPort = localSocket.getPort ( ) ; mConfig.encapRemotePort = remotePort ; return this ; }

Target:
public android.net.IpSecTransform.Builder setIpv4Encapsulation ( android.net.IpSecManager.UdpEncapsulationSocket localSocket , int remotePort ) { mConfig.setEncapType ( android.net.IpSecTransform.ENCAP_ESPINUDP ) ; mConfig.setEncapSocketResourceId ( localSocket.getResourceId ( ) ) ; mConfig.setEncapRemotePort ( remotePort ) ; return this ; }
Source:
public void setUp ( ) throws java.lang.Exception { mWifiInjector = org.mockito.Mockito.mock ( com.android.server.wifi.WifiInjector.class ) ; mWificondControl = new com.android.server.wifi.WificondControl ( mWifiInjector ) ; }

Target:
public void setUp ( ) throws java.lang.Exception { mWifiInjector = org.mockito.Mockito.mock ( com.android.server.wifi.WifiInjector.class ) ; mWifiMonitor = org.mockito.Mockito.mock ( com.android.server.wifi.WifiMonitor.class ) ; mWificondControl = new com.android.server.wifi.WificondControl ( mWifiInjector , mWifiMonitor ) ; }
Source:
public static long Add0 ( long arg ) { return 0 + arg ; }

Target:
public static long $noinline$Add0 ( long arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return 0 + arg ; }
Source:
public static void computeFmax ( android.renderscript.cts.TestFmax.ArgumentsFloatFloatFloat args ) { args.ulf = 0 ; args.ulfRelaxed = 0 ; args.out = java.lang.StrictMath.max ( args.inX , args.inY ) ; }

Target:
public static void computeFmax ( android.renderscript.cts.TestFmax.ArgumentsFloatFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( java.lang.Math.max ( args.inX , args.inY ) , 0 , 0 ) ; }
Source:
static java.lang.StringBuilder newStringBuilderForCollection ( int size ) { com.google.common.base.Preconditions.checkArgument ( ( size >= 0 ) , "size must be non-negative" ) ; return new java.lang.StringBuilder ( ( ( int ) ( java.lang.Math.min ( ( size * 8L ) , com.google.common.primitives.Ints.MAX_POWER_OF_TWO ) ) ) ) ; }

Target:
static java.lang.StringBuilder newStringBuilderForCollection ( int size ) { com.google.common.collect.CollectPreconditions.checkNonnegative ( size , "size" ) ; return new java.lang.StringBuilder ( ( ( int ) ( java.lang.Math.min ( ( size * 8L ) , com.google.common.primitives.Ints.MAX_POWER_OF_TWO ) ) ) ) ; }
Source:
static float $opt$NegFloat ( float a ) { return - a ; }

Target:
private static float $opt$noinline$NegFloat ( float a ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return - a ; }
Source:
public void testIntentExtras ( ) { if ( ! ( mShouldTestTelecom ) ) { return ; } org.junit.Assert.assertThat ( mCall.getDetails ( ) . getIntentExtras ( ) , org.hamcrest.CoreMatchers.is ( android.os.Bundle.class ) ) ; }

Target:
public void testIntentExtras ( ) { if ( ! ( mShouldTestTelecom ) ) { return ; } org.junit.Assert.assertThat ( mCall.getDetails ( ) . getIntentExtras ( ) , org.hamcrest.CoreMatchers.instanceOf ( android.os.Bundle.class ) ) ; }
Source:
public void setVideoQuality ( int quality , com.android.ims.ImsConfigListener listener ) throws android.os.RemoteException { }

Target:
public void setVideoQuality ( int quality , com.android.ims.ImsConfigListener listener ) throws android.os.RemoteException { getImsConfigImpl ( ) . setVideoQuality ( quality , listener ) ; }
Source:
public void close ( ) throws java.io.IOException { try { addDirToZip ( zipOS , getRootDir ( ) ) ; } finally { zipOS.close ( ) ; com.android.sched.util.file.FileUtils.deleteDir ( dir ) ; } }

Target:
public void close ( ) throws java.io.IOException { try { addDirToZip ( zipOS , getRootInputOutputVDir ( ) ) ; } finally { zipOS.close ( ) ; com.android.sched.util.file.FileUtils.deleteDir ( dir ) ; } }
Source:
public java.lang.String getStringFormTarget ( ) { return ( ( ( ( ( typeLocater.getStringFormTarget ( ) ) + "#" ) + ( methodName ) ) + "(" ) + ( parameterMatcher.toStringForm ( ) ) ) + ")" ; }

Target:
public java.lang.String getStringFormTarget ( ) { return ( ( ( ( ( typeLocator.getStringFormTarget ( ) ) + "#" ) + ( methodName ) ) + "(" ) + ( parameterMatcher.toStringForm ( ) ) ) + ")" ; }
Source:
public void registerDefaultNetworkCallback ( android.net.ConnectivityManager.NetworkCallback networkCallback ) { sendRequestForNetwork ( null , networkCallback , 0 , android.net.ConnectivityManager.REQUEST , android.net.ConnectivityManager.TYPE_NONE ) ; }

Target:
public void requestNetwork ( android.net.NetworkRequest request , android.net.ConnectivityManager.NetworkCallback networkCallback , android.os.Handler handler ) { int legacyType = inferLegacyTypeForNetworkCapabilities ( request.networkCapabilities ) ; android.net.ConnectivityManager.CallbackHandler cbHandler = new android.net.ConnectivityManager.CallbackHandler ( handler ) ; requestNetwork ( request , networkCallback , 0 , legacyType , cbHandler ) ; }
Source:
public boolean isNormalMoveInsn ( ) { return ( insn.getOpcode ( ) . getOpcode ( ) ) == ( RegOps.MOVE ) ; }

Target:
public boolean isNormalMoveInsn ( ) { return ( insn.getOpcode ( ) . getOpcode ( ) ) == ( com.android.dx.rop.code.RegOps.MOVE ) ; }
Source:
public static boolean isPhoneNumber ( java.lang.String number ) { if ( android.text.TextUtils.isEmpty ( number ) ) { return false ; } java.util.regex.Matcher match = Regex.PHONE_PATTERN.matcher ( number ) ; return match.matches ( ) ; }

Target:
public static boolean isPhoneNumber ( java.lang.String number ) { if ( android.text.TextUtils.isEmpty ( number ) ) { return false ; } java.util.regex.Matcher match = Patterns.PHONE.matcher ( number ) ; return match.matches ( ) ; }
Source:
private static com.android.dialer.common.PerAccountSharedPreferences getPreferenceForActivationState ( android.content.Context context , android.telecom.PhoneAccountHandle phoneAccountHandle ) { return new com.android.dialer.common.PerAccountSharedPreferences ( context , phoneAccountHandle , com.android.dialer.util.DialerUtils.getDefaultSharedPreferenceForDeviceProtectedStorageContext ( context ) ) ; }

Target:
private static com.android.dialer.common.PerAccountSharedPreferences getPreferenceForActivationState ( android.content.Context context , android.telecom.PhoneAccountHandle phoneAccountHandle ) { return new com.android.dialer.common.PerAccountSharedPreferences ( context , phoneAccountHandle , com.android.dialer.storage.StorageComponent.get ( context ) . unencryptedSharedPrefs ( ) ) ; }
Source:
public void testConflictsKeepFirst ( ) throws java.lang.Exception { java.io.ByteArrayOutputStream errOut = new java.io.ByteArrayOutputStream ( ) ; runTestConflict ( "keep-first" , errOut ) ; junit.framework.Assert.assertEquals ( "" , errOut.toString ( ) ) ; }

Target:
public void testConflictsKeepFirst ( ) throws java.lang.Exception { java.io.ByteArrayOutputStream errOut = new java.io.ByteArrayOutputStream ( ) ; runTestConflict ( "keep-first" , errOut , com.android.jack.test.toolchain.JackBasedToolchain.class ) ; junit.framework.Assert.assertEquals ( "" , errOut.toString ( ) ) ; }
Source:
public void flush ( ) throws java.io.IOException { check ( false ) ; writer.flush ( ) ; }

Target:
public void flush ( ) throws java.io.IOException { check ( false ) ; flushBuffer ( ) ; }
Source:
public void addTo ( @ com.android.annotations.NonNull org.w3c.dom.Document document , @ com.android.annotations.NonNull java.lang.String value ) { com.android.manifmerger.ManifestMerger2.SystemProperty.addToElementInAndroidNS ( this , value , com.android.manifmerger.ManifestMerger2.SystemProperty.createOrGetUseSdk ( document ) ) ; }

Target:
public void addTo ( @ com.android.annotations.NonNull com.android.manifmerger.ActionRecorder actionRecorder , @ com.android.annotations.NonNull com.android.manifmerger.XmlDocument document , @ com.android.annotations.NonNull java.lang.String value ) { com.android.manifmerger.ManifestMerger2.SystemProperty.addToElementInAndroidNS ( this , actionRecorder , value , com.android.manifmerger.ManifestMerger2.SystemProperty.createOrGetUseSdk ( actionRecorder , document ) ) ; }
Source:
static void staticMethod ( ) { if ( Main.ClassWithClinit6.doThrow ) { throw new java.lang.Error ( ) ; } }

Target:
static void $noinline$staticMethod ( ) { if ( Main.ClassWithClinit6.doThrow ) { throw new java.lang.Error ( ) ; } }
Source:
public void visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedInterface x , @ javax.annotation.Nonnull com.android.sched.transform.TransformRequest transformRequest ) throws java.lang.Exception { visit ( ( ( com.android.jack.ir.ast.JDefinedClassOrInterface ) ( x ) ) , transformRequest ) ; }

Target:
public void visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedInterface definedInterface , @ javax.annotation.Nonnull com.android.sched.transform.TransformRequest transformRequest ) throws java.lang.Exception { visit ( ( ( com.android.jack.ir.ast.JDefinedClassOrInterface ) ( definedInterface ) ) , transformRequest ) ; }
Source:
synchronized void nScriptInvoke ( int id , int slot ) { validate ( ) ; rsnScriptInvoke ( mContext , id , slot ) ; }

Target:
synchronized void nAllocationRead ( long id , short [ ] d ) { validate ( ) ; rsnAllocationRead ( mContext , id , d ) ; }
Source:
public java.lang.String getEsn ( ) { return getEsn ( android.telephony.TelephonyManager.getDefaultSubscription ( ) ) ; }

Target:
public void setSimState ( java.lang.String state ) { int phoneId = getPhoneId ( ) ; setSimStateForPhone ( phoneId , state ) ; }
Source:
public void requestIsimAuthenticationResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , java.lang.String var2 ) { }

Target:
public void requestIsimAuthenticationResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , java.lang.String response ) { responseString ( responseInfo , response ) ; }
Source:
private void free ( ) { if ( ( sslNativePointer ) == 0 ) { return ; } org.conscrypt.NativeCrypto.SSL_free ( sslNativePointer ) ; sslNativePointer = 0 ; guard.close ( ) ; }

Target:
private void free ( ) { if ( ( sslNativePointer ) == 0 ) { return ; } org.conscrypt.NativeCrypto.SSL_free ( sslNativePointer ) ; sslNativePointer = 0 ; org.conscrypt.Platform.closeGuardClose ( guard ) ; }
Source:
public void test_F32_3_SCALE05_20_inRectangle ( ) { testReszie ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inY , Element.DataType.FLOAT_32 , 3 , 0.5F , 2.0F ) ; checkError ( ) ; }

Target:
public void test_F32_3_SCALE05_20_inRectangle ( ) { testResize ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inY , Element.DataType.FLOAT_32 , 3 , 0.5F , 2.0F ) ; checkError ( ) ; }
Source:
protected void resetRecords ( ) { mIsimImpi = null ; mIsimDomain = null ; mIsimImpu = null ; mIsimIst = null ; mIsimPcscf = null ; auth_rsp = null ; mRecordsRequested = false ; mLockedRecordsRequested = false ; }

Target:
protected void resetRecords ( ) { mIsimImpi = null ; mIsimDomain = null ; mIsimImpu = null ; mIsimIst = null ; mIsimPcscf = null ; auth_rsp = null ; mRecordsRequested = false ; mLockedRecordsReqReason = LOCKED_RECORDS_REQ_REASON_NONE ; mLoaded.set ( false ) ; }
Source:
com.android.sched.vfs.BaseVDir getVDir ( @ javax.annotation.Nonnull com.android.sched.vfs.BaseVDir parent , @ javax.annotation.Nonnull java.lang.String name ) throws com.android.sched.util.file.NoSuchFileException , com.android.sched.util.file.NotDirectoryException { return changeVFS ( vfs.getVDir ( parent , name ) ) ; }

Target:
com.android.sched.vfs.MessageDigestFS.MessageDigestVDir getVDir ( @ javax.annotation.Nonnull com.android.sched.vfs.MessageDigestFS.MessageDigestVDir parent , @ javax.annotation.Nonnull java.lang.String name ) throws com.android.sched.util.file.NoSuchFileException , com.android.sched.util.file.NotDirectoryException { return new com.android.sched.vfs.MessageDigestFS.MessageDigestVDir ( this , parent.getWrappedDir ( ) . getVDir ( name ) ) ; }
Source:
private void write ( java.lang.String command ) throws java.io.IOException { ctrlOutput.write ( command.getBytes ( Charsets.ISO_8859_1 ) ) ; }

Target:
private void write ( java.lang.String command ) throws java.io.IOException { ctrlOutput.write ( command.getBytes ( java.nio.charset.StandardCharsets.ISO_8859_1 ) ) ; }
Source:
boolean isNumberMatchingDesc ( java.lang.String nationalNumber , com.google.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc numberDesc ) { java.util.regex.Matcher nationalNumberPatternMatcher = regexCache.getPatternForRegex ( numberDesc.getNationalNumberPattern ( ) ) . matcher ( nationalNumber ) ; return ( isNumberPossibleForDesc ( nationalNumber , numberDesc ) ) && ( nationalNumberPatternMatcher.matches ( ) ) ; }

Target:
boolean isNumberMatchingDesc ( java.lang.String nationalNumber , com.google.i18n.phonenumbers.nano.Phonemetadata.PhoneNumberDesc numberDesc ) { java.util.regex.Matcher nationalNumberPatternMatcher = regexCache.getPatternForRegex ( numberDesc.nationalNumberPattern ) . matcher ( nationalNumber ) ; return ( isNumberPossibleForDesc ( nationalNumber , numberDesc ) ) && ( nationalNumberPatternMatcher.matches ( ) ) ; }
Source:
public void binderDied ( ) { android.util.Log.e ( com.android.internal.telephony.ims.ImsServiceController.LOG_TAG , ( ( "ImsService(" + ( mComponentName ) ) + ") died. Cleaning up." ) ) ; notifyAllFeaturesRemoved ( ) ; cleanUpService ( ) ; mHandler.postDelayed ( mRestartImsServiceRunnable , mRebindRetry.getRetryTimeout ( ) ) ; }

Target:
public void binderDied ( ) { android.util.Log.e ( com.android.internal.telephony.ims.ImsServiceController.LOG_TAG , ( ( "ImsService(" + ( mComponentName ) ) + ") died. Restarting..." ) ) ; notifyAllFeaturesRemoved ( ) ; cleanUpService ( ) ; startDelayedRebindToService ( ) ; }
Source:
protected void visitPrimitive ( int argAndType , int type , int arg , int size ) { for ( int i = 0 ; i < size ; i ++ ) { in.readByte ( ) ; } }

Target:
public double readDouble ( ) { checkType ( com.android.dx.io.EncodedValueReader.ENCODED_DOUBLE ) ; type = com.android.dx.io.EncodedValueReader.MUST_READ ; return java.lang.Double.longBitsToDouble ( com.android.dx.util.EncodedValueUtils.readUnsignedLong ( in , arg , true ) ) ; }
Source:
public boolean hasChildren ( java.lang.Object element ) { if ( element instanceof com.android.hierarchyviewerlib.device.ViewNode ) { return ( ( ( com.android.hierarchyviewerlib.device.ViewNode ) ( element ) ) . children.size ( ) ) != 0 ; } return false ; }

Target:
public boolean hasChildren ( java.lang.Object element ) { if ( element instanceof com.android.hierarchyviewerlib.models.ViewNode ) { return ( ( ( com.android.hierarchyviewerlib.models.ViewNode ) ( element ) ) . children.size ( ) ) != 0 ; } return false ; }
Source:
public void setUp ( ) { previousDefaultTimeZone = java.util.TimeZone.getDefault ( ) ; java.util.TimeZone.setDefault ( java.util.TimeZone.getTimeZone ( "America/Los_Angeles" ) ) ; }

Target:
public void setUp ( ) { previousDefaultTimeZone = java.util.TimeZone.getDefault ( ) ; java.util.TimeZone.setDefault ( java.util.TimeZone.getTimeZone ( "America/Los_Angeles" ) ) ; format = new java.text.SimpleDateFormat ( "" , java.util.Locale.ENGLISH ) ; pFormat = new java.text.SimpleDateFormat ( "" , java.util.Locale.ENGLISH ) ; }
Source:
protected java.io.File getTargetDir ( ) { return new java.io.File ( getTempDir ( ) , ( ( ( getClass ( ) . getSimpleName ( ) ) + "_" ) + ( getName ( ) ) ) ) ; }

Target:
protected java.io.File getTargetDir ( ) { java.io.File targetDir = new java.io.File ( getTempDir ( ) , ( ( ( getClass ( ) . getSimpleName ( ) ) + "_" ) + ( getName ( ) ) ) ) ; addCleanupDir ( targetDir ) ; return targetDir ; }
Source:
public byte [ ] addCustomExtension ( int ext_type ) { return SERVER_DATA ; }

Target:
public static void assertEqualByteArrays ( byte [ ] [ ] expected , byte [ ] [ ] actual ) { assertEquals ( java.util.Arrays.deepToString ( expected ) , java.util.Arrays.deepToString ( actual ) ) ; }
Source:
int getLength ( ) { return ( mData ) != null ? mData.length : 0 ; }

Target:
int getDataLength ( ) { return ( mData ) != null ? mData.length : 0 ; }
Source:
public android.net.NetworkStats getVtDataUsage ( int subId , boolean perUidStats ) { mApp.enforceCallingOrSelfPermission ( android.Manifest.permission.READ_NETWORK_USAGE_HISTORY , null ) ; com.android.internal.telephony.Phone phone = getPhone ( subId ) ; if ( phone != null ) { return phone.getVtDataUsage ( perUidStats ) ; } return null ; }

Target:
public boolean hasIccCardUsingSlotIndex ( int slotIndex ) { final com.android.internal.telephony.Phone phone = com.android.internal.telephony.PhoneFactory.getPhone ( slotIndex ) ; if ( phone != null ) { return phone.getIccCard ( ) . hasIccCard ( ) ; } else { return false ; } }
Source:
public static MergingReport.Result validate ( @ com.android.annotations.NonNull com.android.manifmerger.MergingReport.Builder mergingReport , @ com.android.annotations.NonNull com.android.manifmerger.XmlDocument xmlDocument ) { com.android.manifmerger.PreValidator.validateManifestAttribute ( mergingReport , xmlDocument.getRootNode ( ) ) ; return com.android.manifmerger.PreValidator.validate ( mergingReport , xmlDocument.getRootNode ( ) ) ; }

Target:
public static MergingReport.Result validate ( @ com.android.annotations.NonNull com.android.manifmerger.MergingReport.Builder mergingReport , @ com.android.annotations.NonNull com.android.manifmerger.XmlDocument xmlDocument ) { com.android.manifmerger.PreValidator.validateManifestAttribute ( mergingReport , xmlDocument.getRootNode ( ) , xmlDocument.getFileType ( ) ) ; return com.android.manifmerger.PreValidator.validate ( mergingReport , xmlDocument.getRootNode ( ) ) ; }
Source:
public com.android.build.gradle.internal.dsl.BuildType proguardFiles ( java.lang.Object ... proguardFileArray ) { proguardFiles.addAll ( project.files ( proguardFileArray ) . files ) ; return this ; }

Target:
public com.android.build.gradle.internal.dsl.BuildType testProguardFiles ( @ com.android.annotations.NonNull java.lang.Object ... proguardFileArray ) { getTestProguardFiles ( ) . addAll ( project.files ( proguardFileArray ) . getFiles ( ) ) ; return this ; }
Source:
private void expectNetworkStatsSummaryDev ( android.net.NetworkStats summary ) throws java.lang.Exception { org.easymock.EasyMock.expect ( mNetManager.getNetworkStatsSummaryDev ( ) ) . andReturn ( summary ) . atLeastOnce ( ) ; }

Target:
private void expectNetworkStatsSummaryDev ( android.net.NetworkStats summary ) throws java.lang.Exception { org.mockito.Mockito.when ( mNetManager.getNetworkStatsSummaryDev ( ) ) . thenReturn ( summary ) ; }
Source:
public static boolean delete ( @ org.jetbrains.annotations.NotNull java.io.File file ) { if ( com.intellij.openapi.util.io.FileUtilRt.NIO_FILE_API_AVAILABLE ) { return com.intellij.openapi.util.io.FileUtilRt.deleteRecursivelyNIO ( file ) ; } return com.intellij.openapi.util.io.FileUtilRt.deleteRecursively ( file ) ; }

Target:
public static boolean delete ( @ org.jetbrains.annotations.NotNull java.io.File file ) { if ( com.intellij.openapi.util.io.FileUtilRt.NIOReflect.IS_AVAILABLE ) { return com.intellij.openapi.util.io.FileUtilRt.deleteRecursivelyNIO ( file ) ; } return com.intellij.openapi.util.io.FileUtilRt.deleteRecursively ( file ) ; }
Source:
private native void startAdvertisingSetNative ( android.bluetooth.le.AdvertisingSetParameters parameters , byte [ ] advertiseData , byte [ ] scanResponse , android.bluetooth.le.PeriodicAdvertisingParameters periodicParameters , byte [ ] periodicData , int reg_id ) ;

Target:
private native void startAdvertisingSetNative ( android.bluetooth.le.AdvertisingSetParameters parameters , byte [ ] advertiseData , byte [ ] scanResponse , android.bluetooth.le.PeriodicAdvertisingParameters periodicParameters , byte [ ] periodicData , int timeout , int reg_id ) ;
Source:
public int update ( android.net.Uri uri , android.content.ContentValues values , java.lang.String selection , java.lang.String [ ] selectionArgs ) { for ( java.lang.String key : values.keySet ( ) ) { mSubscriptionContent.put ( key , values.get ( key ) ) ; } return 1 ; }

Target:
public int update ( android.net.Uri uri , android.content.ContentValues values , java.lang.String selection , java.lang.String [ ] selectionArgs ) { return mContentProvider.update ( uri , values , selection , selectionArgs ) ; }
Source:
public void testLaunchToSideSingleTask ( ) throws java.lang.Exception { launchTargetToSide ( android.server.cts.ActivityManagerDockedStackTests.SINGLE_TASK_ACTIVITY_NAME , false ) ; }

Target:
public void testLaunchToSideSingleTask ( ) throws java.lang.Exception { if ( ! ( supportsMultiWindowMode ( ) ) ) { com.android.tradefed.log.LogUtil.CLog.logAndDisplay ( LogLevel.INFO , "Skipping test: no multi-window support" ) ; return ; } launchTargetToSide ( android.server.cts.ActivityManagerDockedStackTests.SINGLE_TASK_ACTIVITY_NAME , false ) ; }
Source:
public void run ( ) { android.os.Debug.stopMethodTracing ( ) ; android.util.Slog.d ( com.android.systemui.statusbar.phone.PhoneStatusBar.TAG , "stopTracing" ) ; vibrate ( ) ; }

Target:
public void onClick ( android.view.View v ) { animateExpandNotificationsPanel ( ) ; }
Source:
public void testVFE2 ( ) { try { new dot.junit.opcodes.invoke_interface_range.d.T_invoke_interface_range_4 ( ) . run ( ) ; fail ( "expected NoSuchMethodError or IncompatibleClassChangeError" ) ; } catch ( java.lang.NoSuchMethodError t ) { } catch ( java.lang.IncompatibleClassChangeError e ) { } }

Target:
public void testVFE2 ( ) { try { new dot.junit.opcodes.invoke_interface_range.d.T_invoke_interface_range_4 ( ) . run ( ) ; fail ( "expected an IncompatibleClassChangeError" ) ; } catch ( java.lang.IncompatibleClassChangeError e ) { } }
Source:
void removeCall ( java.lang.String callId ) { for ( com.android.internal.telecom.IConnectionServiceAdapter adapter : mAdapters ) { try { adapter.removeCall ( callId ) ; } catch ( android.os.RemoteException ignored ) { } } }

Target:
void removeCall ( java.lang.String callId ) { for ( com.android.internal.telecom.IConnectionServiceAdapter adapter : mAdapters ) { try { adapter.removeCall ( callId , android.telecom.Log.getExternalSession ( ) ) ; } catch ( android.os.RemoteException ignored ) { } } }
Source:
private java.lang.String getTestResultString ( int testResult ) { switch ( testResult ) { case TestResult.TEST_RESULT_PASSED : return "pass" ; case TestResult.TEST_RESULT_FAILED : return "fail" ; case TestResult.TEST_RESULT_NOT_EXECUTED : return "not-executed" ; default : throw new java.lang.IllegalArgumentException ( ( "Unknown test result: " + testResult ) ) ; } }

Target:
private com.android.compatibility.common.util.TestStatus getTestResultStatus ( int testResult ) { switch ( testResult ) { case TestResult.TEST_RESULT_PASSED : return com.android.compatibility.common.util.TestStatus.PASS ; case TestResult.TEST_RESULT_FAILED : return com.android.compatibility.common.util.TestStatus.FAIL ; case TestResult.TEST_RESULT_NOT_EXECUTED : return null ; default : throw new java.lang.IllegalArgumentException ( ( "Unknown test result: " + testResult ) ) ; } }
Source:
public void add ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethodId method ) { virtualMethods.add ( method ) ; }

Target:
public void add ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethodId method ) { com.android.jack.frontend.VirtualMethodsMarker.ComparableMethodId comparable = new com.android.jack.frontend.VirtualMethodsMarker.ComparableMethodId ( method ) ; virtualMethods.put ( comparable , comparable ) ; }
Source:
public void addFile ( com.android.ide.eclipse.adt.internal.resources.manager.ResourceFile file ) { if ( ( mFiles ) == null ) { mFiles = new java.util.ArrayList < com.android.ide.eclipse.adt.internal.resources.manager.ResourceFile > ( ) ; } mFiles.add ( file ) ; }

Target:
public void addFile ( com.android.ide.common.resources.ResourceFile file ) { if ( ( mFiles ) == null ) { mFiles = new java.util.ArrayList < com.android.ide.common.resources.ResourceFile > ( ) ; } mFiles.add ( file ) ; }
Source:
public void addValue ( com.android.ide.common.rendering.api.ResourceValue value , boolean isFrameworkAttr ) { mItems.put ( com.android.util.Pair.of ( value.getName ( ) , isFrameworkAttr ) , value ) ; }

Target:
public void addValue ( com.android.ide.common.rendering.api.ResourceValue value , boolean isFrameworkAttr ) { addItem ( com.android.ide.common.rendering.api.ItemResourceValue.fromResourceValue ( value , isFrameworkAttr ) ) ; }
Source:
public void requestUpgrade ( android.telecom.Call call ) { com.android.dialer.common.Assert.isMainThread ( ) ; com.android.dialer.common.Assert.isNotNull ( call ) ; }

Target:
public void requestUpgrade ( @ android.support.annotation.NonNull android.content.Context context , android.telecom.Call call ) { com.android.dialer.common.Assert.isMainThread ( ) ; com.android.dialer.common.Assert.isNotNull ( call ) ; }
Source:
public void skip ( int i ) { mN.skip ( i ) ; }

Target:
public void skip ( int i ) { mN.skip ( i ) ; mPos += i ; }
Source:
private static void test_diff_callInstanceMethod ( dalvik.system.DexClassLoaderTest.Configuration config ) throws java.lang.Exception { dalvik.system.DexClassLoaderTest.createInstanceAndCallStaticMethod ( config , "test.TestMethods" , "test_diff_callInstanceMethod" ) ; }

Target:
public void test_oneDex_simpleUse ( ) throws java.lang.Exception { java.lang.String result = ( ( java.lang.String ) ( createLoaderAndCallMethod ( "test.Test1" , "test" , dex1 ) ) ) ; assertSame ( "blort" , result ) ; }
Source:
private java.lang.String getPermaLinkURL ( java.lang.String phoneNumber , java.lang.String defaultCountry , java.util.Locale geocodingLocale , boolean absoluteURL ) { java.lang.StringBuilder permaLink = new java.lang.StringBuilder ( ( absoluteURL ? "http://libphonenumber.appspot.com/phonenumberparser" : "/phonenumberparser" ) ) ; try { permaLink.append ( ( "?number=" + ( java.net.URLEncoder.encode ( phoneNumber , java.nio.charset.StandardCharsets.UTF_8.name ( ) ) ) ) ) ; if ( ! ( defaultCountry.isEmpty ( ) ) ) { permaLink.append ( ( "&country=" + ( java.net.URLEncoder.encode ( defaultCountry , java.nio.charset.StandardCharsets.UTF_8.name ( ) ) ) ) ) ; } if ( ( ! ( geocodingLocale.getLanguage ( ) . equals ( java.util.Locale.ENGLISH.getLanguage ( ) ) ) ) || ( ! ( geocodingLocale.getCountry ( ) . isEmpty ( ) ) ) ) { permaLink.append ( ( "&geocodingLocale=" + ( java.net.URLEncoder.encode ( geocodingLocale.toLanguageTag ( ) , java.nio.charset.StandardCharsets.UTF_8.name ( ) ) ) ) ) ; } } catch ( java.io.UnsupportedEncodingException e ) { throw new java.lang.AssertionError ( e ) ; } return permaLink.toString ( ) ; }

Target:
private java.lang.String getPermaLinkURL ( java.lang.String phoneNumber , java.lang.String defaultCountry , java.util.Locale geocodingLocale , boolean absoluteURL ) { java.lang.StringBuilder permaLink = new java.lang.StringBuilder ( ( absoluteURL ? "http://libphonenumber.appspot.com/phonenumberparser" : "/phonenumberparser" ) ) ; try { permaLink.append ( ( "?number=" + ( java.net.URLEncoder.encode ( ( phoneNumber != null ? phoneNumber : "" ) , java.nio.charset.StandardCharsets.UTF_8.name ( ) ) ) ) ) ; if ( ( defaultCountry != null ) && ( ! ( defaultCountry.isEmpty ( ) ) ) ) { permaLink.append ( ( "&country=" + ( java.net.URLEncoder.encode ( defaultCountry , java.nio.charset.StandardCharsets.UTF_8.name ( ) ) ) ) ) ; } if ( ( ! ( geocodingLocale.getLanguage ( ) . equals ( java.util.Locale.ENGLISH.getLanguage ( ) ) ) ) || ( ! ( geocodingLocale.getCountry ( ) . isEmpty ( ) ) ) ) { permaLink.append ( ( "&geocodingLocale=" + ( java.net.URLEncoder.encode ( geocodingLocale.toLanguageTag ( ) , java.nio.charset.StandardCharsets.UTF_8.name ( ) ) ) ) ) ; } } catch ( java.io.UnsupportedEncodingException e ) { throw new java.lang.AssertionError ( e ) ; } return permaLink.toString ( ) ; }
Source:
public void setGlobalEndTime ( long globalEndTime ) { mGlobalEndTime = globalEndTime ; }

Target:
void updateRootCallTimeBounds ( ) { if ( ! ( mIsEmpty ) ) { mRootCall.mGlobalStartTime = mGlobalStartTime ; mRootCall.mGlobalEndTime = mGlobalEndTime ; mRootCall.mThreadStartTime = mThreadStartTime ; mRootCall.mThreadEndTime = mThreadEndTime ; } }
Source:
public void test_Shift_JIS_replacement_character ( ) throws java.lang.Exception { assertDecodes ( java.nio.charset.Charset.forName ( "Shift_JIS" ) , "�" , 252 ) ; assertEncodes ( java.nio.charset.Charset.forName ( "Shift_JIS" ) , "�" , 252 ) ; }

Target:
public void test_Shift_JIS_replacement_character ( ) throws java.lang.Exception { assertEncodes ( java.nio.charset.Charset.forName ( "Shift_JIS" ) , " � " , ' ' , 252 , 252 , ' ' ) ; assertDecodes ( java.nio.charset.Charset.forName ( "Shift_JIS" ) , " � " , ' ' , 252 , 252 , ' ' ) ; }
Source:
public int getDisplayRule ( java.lang.String plmn ) { return 0 ; }

Target:
public int getDisplayRule ( android.telephony.ServiceState serviceState ) { return 0 ; }
Source:
public java.util.Spliterator < E > spliterator ( ) { return java.util.Spliterators.spliterator ( getArray ( ) , ( ( java.util.Spliterator.IMMUTABLE ) | ( java.util.Spliterator.ORDERED ) ) ) ; }

Target:
public synchronized boolean addIfAbsent ( E object ) { if ( contains ( object ) ) { return false ; } add ( object ) ; return true ; }