auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void TestChinese ( ) { android.icu.text.Transliterator hanLatin = android.icu.text.Transliterator.getInstance ( "Han-Latin" ) ; assertTransform ( "Transform" , "zào Unicode" , hanLatin , "造Unicode" ) ; assertTransform ( "Transform" , "zài chuàng zào Unicode zhī qián" , hanLatin , "在創造Unicode之前" ) ; }

Target:
public void TestChinese ( ) { android.icu.text.Transliterator hanLatin = android.icu.text.Transliterator.getInstance ( "Han-Latin" ) ; android.icu.dev.test.translit.TransliteratorTest.assertTransform ( "Transform" , "zào Unicode" , hanLatin , "造Unicode" ) ; android.icu.dev.test.translit.TransliteratorTest.assertTransform ( "Transform" , "zài chuàng zào Unicode zhī qián" , hanLatin , "在創造Unicode之前" ) ; }
Source:
private java.lang.String formatNsn ( java.lang.String number , com.google.i18n.phonenumbers.nano.Phonemetadata.PhoneMetadata metadata , com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberFormat numberFormat ) { return formatNsn ( number , metadata , numberFormat , null ) ; }

Target:
private java.lang.String formatNsn ( java.lang.String number , com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata metadata , com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberFormat numberFormat ) { return formatNsn ( number , metadata , numberFormat , null ) ; }
Source:
public void loadCaptureInBackground ( final com.android.hierarchyviewerlib.device.ViewNode viewNode ) { executeInBackground ( "Capturing node" , new java.lang.Runnable ( ) { @ java.lang.Override public void run ( ) { loadCapture ( viewNode ) ; } } ) ; }

Target:
public void loadViewHierarchy ( ) { com.android.hierarchyviewerlib.models.Window window = com.android.hierarchyviewerlib.models.DeviceSelectionModel.getModel ( ) . getSelectedWindow ( ) ; if ( window != null ) { loadViewTreeData ( window ) ; } }
Source:
public final short getShort ( int index ) { checkIndex ( index , SizeOf.SHORT ) ; return this . block.peekShort ( ( ( offset ) + index ) , order ) ; }

Target:
public final short getShort ( int index ) { checkNotFreed ( ) ; checkIndex ( index , SizeOf.SHORT ) ; return this . block.peekShort ( ( ( offset ) + index ) , order ) ; }
Source:
public static < T > java.util.List < T > asList ( T ... array ) { return new java.util.Arrays.ArrayAdapter < T > ( array ) ; }

Target:
public static < T > java.util.List < T > asList ( T ... array ) { return new java.util.Arrays.ArrayList < T > ( array ) ; }
Source:
public void copy1DRangeFrom ( int off , int count , byte [ ] d ) { validateIsInt8 ( ) ; copy1DRangeFromUnchecked ( off , count , d ) ; }

Target:
public void copyFrom ( short [ ] d ) { validateIsInt16 ( ) ; copyFromUnchecked ( d , Element.DataType.SIGNED_16 , d.length ) ; }
Source:
public com.google.common.base.Objects.ToStringHelper add ( java.lang.String name , double value ) { checkNameAndAppend ( name ) . append ( value ) ; return this ; }

Target:
public com.google.common.base.Objects.ToStringHelper add ( java.lang.String name , long value ) { return addHolder ( name , java.lang.String.valueOf ( value ) ) ; }
Source:
public void remove ( ) { com.google.common.base.Preconditions.checkState ( ( ( i ) == 1 ) ) ; i = - 1 ; map.remove ( key ) ; }

Target:
public void remove ( ) { com.google.common.collect.CollectPreconditions.checkRemove ( ( ( i ) == 1 ) ) ; i = - 1 ; map.remove ( key ) ; }
Source:
public static double DoubleAddition ( ) { double a ; double b ; double c ; a = Main.$inline$double ( 1.0 ) ; b = Main.$inline$double ( 2.0 ) ; c = a + b ; return c ; }

Target:
public static int IntAddition1 ( ) { int a ; int b ; int c ; a = 1 ; b = 2 ; c = a + b ; return c ; }
Source:
public abstract java.lang.String getParentLayoutFqcn ( ) ;

Target:
public abstract com.android.ide.eclipse.adt.editors.layout.gscripts.IDragElement.IDragAttribute getAttribute ( java.lang.String uri , java.lang.String localName ) ;
Source:
public static com.android.tv.tuner.data.TunerChannel forFile ( com.android.tv.tuner.data.PsipData.VctItem channel , java.util.List < com.android.tv.tuner.data.PsiData.PmtItem > pmtItems ) { return new com.android.tv.tuner.data.TunerChannel ( channel , 0 , pmtItems , com.android.tv.tuner.data.Channel.TYPE_FILE ) ; }

Target:
public static com.android.tv.tuner.data.TunerChannel forFile ( com.android.tv.tuner.data.PsipData.VctItem channel , java.util.List < com.android.tv.tuner.data.PsiData.PmtItem > pmtItems ) { return new com.android.tv.tuner.data.TunerChannel ( channel , 0 , pmtItems , Channel.TYPE_FILE ) ; }
Source:
public void createForward ( int localPort , java.lang.String remoteSocketName , com.android.ddmlib.IDevice.DeviceUnixSocketNamespace namespace ) throws com.android.ddmlib.AdbCommandRejectedException , com.android.ddmlib.TimeoutException , java.io.IOException ;

Target:
void removeForward ( int localPort , java.lang.String remoteSocketName , com.android.ddmlib.IDevice.DeviceUnixSocketNamespace namespace ) throws com.android.ddmlib.AdbCommandRejectedException , com.android.ddmlib.TimeoutException , java.io.IOException ;
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 ( com.intellij.updater.MultiZipFile patchFile , java.io.File backupDir , java.io.File toFile ) throws java.io.IOException { com.intellij.updater.Utils.delete ( toFile ) ; }
Source:
public static int shortToLongToInt ( short value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( int ) ( ( long ) ( value ) ) ) ; }

Target:
public static int $noinline$shortToLongToInt ( short value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( int ) ( ( long ) ( value ) ) ) ; }
Source:
public void testCommit ( ) throws java.lang.Exception { assertEquals ( ( "" + ( ( ( ( ( ( ( ( ( ( ( ( "src/test/pkg/CommitTest.java:24: Warning: This FragmentTransaction should be recycled after use with #recycle() [CommitTransaction]\n" + " getFragmentManager().beginTransaction(); // Missing commit\n" ) + " ~~~~~~~~~~~~~~~~\n" ) + "src/test/pkg/CommitTest.java:29: Warning: This FragmentTransaction should be recycled after use with #recycle() [CommitTransaction]\n" ) + " FragmentTransaction transaction2 = getFragmentManager().beginTransaction(); // Missing commit\n" ) + " ~~~~~~~~~~~~~~~~\n" ) + "src/test/pkg/CommitTest.java:38: Warning: This FragmentTransaction should be recycled after use with #recycle() [CommitTransaction]\n" ) + " getFragmentManager().beginTransaction(); // Missing commit\n" ) + " ~~~~~~~~~~~~~~~~\n" ) + "src/test/pkg/CommitTest.java:64: Warning: This FragmentTransaction should be recycled after use with #recycle() [Recycle]\n" ) + " getSupportFragmentManager().beginTransaction();\n" ) + " ~~~~~~~~~~~~~~~~\n" ) + "0 errors, 4 warnings\n" ) ) , lintProject ( "apicheck/classpath=>.classpath" , "apicheck/minsdk4.xml=>AndroidManifest.xml" , "project.properties1=>project.properties" , "bytecode/CommitTest.java.txt=>src/test/pkg/CommitTest.java" , "bytecode/CommitTest.class.data=>bin/classes/test/pkg/CommitTest.class" ) ) ; }

Target:
public void testCommit ( ) throws java.lang.Exception { assertEquals ( ( "" + ( ( ( ( ( ( ( ( ( ( ( ( "src/test/pkg/CommitTest.java:25: Warning: This transaction should be completed with a commit() call [CommitTransaction]\n" + " getFragmentManager().beginTransaction(); // Missing commit\n" ) + " ~~~~~~~~~~~~~~~~\n" ) + "src/test/pkg/CommitTest.java:30: Warning: This transaction should be completed with a commit() call [CommitTransaction]\n" ) + " FragmentTransaction transaction2 = getFragmentManager().beginTransaction(); // Missing commit\n" ) + " ~~~~~~~~~~~~~~~~\n" ) + "src/test/pkg/CommitTest.java:39: Warning: This transaction should be completed with a commit() call [CommitTransaction]\n" ) + " getFragmentManager().beginTransaction(); // Missing commit\n" ) + " ~~~~~~~~~~~~~~~~\n" ) + "src/test/pkg/CommitTest.java:65: Warning: This transaction should be completed with a commit() call [Recycle]\n" ) + " getSupportFragmentManager().beginTransaction();\n" ) + " ~~~~~~~~~~~~~~~~\n" ) + "0 errors, 4 warnings\n" ) ) , lintProject ( "apicheck/classpath=>.classpath" , "apicheck/minsdk4.xml=>AndroidManifest.xml" , "project.properties1=>project.properties" , "bytecode/CommitTest.java.txt=>src/test/pkg/CommitTest.java" , "bytecode/CommitTest.class.data=>bin/classes/test/pkg/CommitTest.class" ) ) ; }
Source:
public void testSetActivityResultForIntent ( ) { android.content.Intent intent = new android.content.Intent ( android.content.Intent.ACTION_VIEW , android.net.Uri.parse ( "http://www.android.com" ) ) ; android.app.Instrumentation.ActivityResult result = new android.app.Instrumentation.ActivityResult ( 10 , intent ) ; resettingStubber.setActivityResultForIntent ( org.hamcrest.CoreMatchers.allOf ( android.support.test.espresso.intent.matcher.IntentMatchers.hasAction ( org.hamcrest.CoreMatchers.equalTo ( Intent.ACTION_VIEW ) ) , android.support.test.espresso.intent.matcher.IntentMatchers.hasData ( android.support.test.espresso.intent.matcher.UriMatchers.hasHost ( org.hamcrest.CoreMatchers.equalTo ( "www.android.com" ) ) ) ) , result ) ; assertEquals ( "Activity Result Not Equal." , resettingStubber.getActivityResultForIntent ( intent ) , result ) ; }

Target:
public void setActivityResultForIntent ( ) { android.content.Intent intent = new android.content.Intent ( android.content.Intent.ACTION_VIEW , android.net.Uri.parse ( "http://www.android.com" ) ) ; android.app.Instrumentation.ActivityResult result = new android.app.Instrumentation.ActivityResult ( 10 , intent ) ; resettingStubber.setActivityResultForIntent ( org.hamcrest.CoreMatchers.allOf ( android.support.test.espresso.intent.matcher.IntentMatchers.hasAction ( org.hamcrest.CoreMatchers.equalTo ( Intent.ACTION_VIEW ) ) , android.support.test.espresso.intent.matcher.IntentMatchers.hasData ( android.support.test.espresso.intent.matcher.UriMatchers.hasHost ( org.hamcrest.CoreMatchers.equalTo ( "www.android.com" ) ) ) ) , result ) ; org.junit.Assert.assertEquals ( "Activity Result Not Equal." , resettingStubber.getActivityResultForIntent ( intent ) , result ) ; }
Source:
public void requestIsimAuthenticationResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , java.lang.String response ) { responseString ( responseInfo , response ) ; }

Target:
public void getCellInfoListResponse_1_2 ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , java.util.ArrayList < com.android.internal.telephony.V1_2.CellInfo > cellInfo ) { responseCellInfoList_1_2 ( responseInfo , cellInfo ) ; }
Source:
public void test_android_bug_38116746 ( ) { java.io.FileDescriptor exploitImage = getResource ( R.raw.bug_38116746 ) ; try { android.graphics.BitmapFactory.decodeFileDescriptor ( exploitImage ) ; } catch ( java.lang.OutOfMemoryError e ) { fail ( "OOM attempting to decode ICO" ) ; } android.graphics.BitmapFactory.decodeFileDescriptor ( getResource ( R.raw.b38116746_new ) ) ; }

Target:
public void test_android_bug_38116746 ( ) { java.io.InputStream exploitImage = getResource ( R.raw.bug_38116746 ) ; try { android.graphics.BitmapFactory.decodeStream ( exploitImage ) ; } catch ( java.lang.OutOfMemoryError e ) { fail ( "OOM attempting to decode ICO" ) ; } }
Source:
native void rsnAllocationData3D ( int con , int id , int xoff , int yoff , int zoff , int mip , int w , int h , int depth , byte [ ] d , int sizeBytes ) ;

Target:
native void rsnAllocationData2D ( long con , long id , int xoff , int yoff , int mip , int face , android.graphics.Bitmap b ) ;
Source:
public void test_plusWeeks_overMonths ( ) { java.time.LocalDate t = TEST_2007_07_15.plusWeeks ( 9 ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2007 , 9 , 16 ) ) ; }

Target:
public void test_plusWeeks_overMonths ( ) { java.time.LocalDate t = tck.java.time.TCKLocalDate.TEST_2007_07_15.plusWeeks ( 9 ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2007 , 9 , 16 ) ) ; }
Source:
private java.lang.String getRawScanResults ( java.lang.String range ) { return doStringCommandWithoutLogging ( ( ( "BSS RANGE=" + range ) + " MASK=0x21d97" ) ) ; }

Target:
public android.net.wifi.IApInterface setupDriverForSoftApMode ( ) { android.net.wifi.IApInterface apInterface = mWificondControl.setupDriverForSoftApMode ( ) ; if ( ! ( startHal ( false ) ) ) { android.util.Log.e ( com.android.server.wifi.WifiNative.TAG , "Failed to start HAL for AP mode" ) ; } return apInterface ; }
Source:
native void rsnScriptForEachClipped ( long con , long id , int slot , long ain , long aout , byte [ ] params , int xstart , int xend , int ystart , int yend , int zstart , int zend ) ;

Target:
native void rsnIncObjDestroy ( long con , long id ) ;
Source:
long getLastModified ( @ javax.annotation.Nonnull com.android.sched.vfs.UnionVFS.UnionVFile file ) { return file.getWrappedFile ( ) . getLastModified ( ) ; }

Target:
java.nio.file.attribute.FileTime getLastModified ( @ javax.annotation.Nonnull com.android.sched.vfs.UnionVFS.UnionVFile file ) throws com.android.sched.util.file.CannotGetModificationTimeException { return file.getWrappedFile ( ) . getLastModified ( ) ; }
Source:
public void removeTransportModeTransform ( java.net.DatagramSocket socket , android.net.IpSecTransform transform ) { removeTransportModeTransform ( android.os.ParcelFileDescriptor.fromDatagramSocket ( socket ) , transform ) ; }

Target:
public void removeTransportModeTransform ( java.net.DatagramSocket socket , android.net.IpSecTransform transform ) throws java.io.IOException { try ( android.os.ParcelFileDescriptor pfd = android.os.ParcelFileDescriptor.fromDatagramSocket ( socket ) ) { removeTransportModeTransform ( pfd , transform ) ; } }
Source:
public void setShowValueText ( boolean showValueText ) { mShowValueText = showValueText ; }

Target:
public com.android.ide.eclipse.adt.internal.ui.ResourceChooser setShowValueText ( boolean showValueText ) { mShowValueText = showValueText ; return this ; }
Source:
public void onCreate ( android.database.sqlite.SQLiteDatabase db ) { android.util.Log.d ( com.android.providers.telephony.TelephonyProviderTestable.TAG , "InMemoryTelephonyProviderDbHelper onCreate creating the carriers table" ) ; db.execSQL ( getStringForCarrierTableCreation ( "carriers" ) ) ; android.util.Log.d ( com.android.providers.telephony.TelephonyProviderTestable.TAG , "InMemoryTelephonyProviderDbHelper onCreate creating the siminfo table" ) ; db.execSQL ( com.android.providers.telephony.CREATE_SIMINFO_TABLE_STRING ) ; }

Target:
public void onCreate ( android.database.sqlite.SQLiteDatabase db ) { android.util.Log.d ( com.android.providers.telephony.TelephonyProviderTestable.TAG , "InMemoryTelephonyProviderDbHelper onCreate creating the carriers table" ) ; db.execSQL ( getStringForCarrierTableCreation ( "carriers" ) ) ; android.util.Log.d ( com.android.providers.telephony.TelephonyProviderTestable.TAG , "InMemoryTelephonyProviderDbHelper onCreate creating the siminfo table" ) ; db.execSQL ( getStringForSimInfoTableCreation ( "siminfo" ) ) ; }
Source:
public boolean mergeProfiles ( int uid , java.lang.String pkgName ) throws com.android.internal.os.InstallerConnection.InstallerException { return mInstaller.mergeProfiles ( uid , pkgName ) ; }

Target:
public boolean mergeProfiles ( int uid , java.lang.String packageName ) throws com.android.internal.os.InstallerConnection.InstallerException { checkLock ( ) ; try { return mInstalld.mergeProfiles ( uid , packageName ) ; } catch ( android.os.RemoteException | android.os.ServiceSpecificException e ) { throw new com.android.internal.os.InstallerConnection.InstallerException ( e.getMessage ( ) ) ; } }
Source:
public void test_minus_longTemporalUnit_null ( ) { TEST_2007_07_15.minus ( 1 , ( ( java.time.temporal.TemporalUnit ) ( null ) ) ) ; }

Target:
public void test_minus_Period_null ( ) { tck.java.time.TCKLocalDate.TEST_2007_07_15.minus ( ( ( test.java.time.MockSimplePeriod ) ( null ) ) ) ; }
Source:
public boolean isTestCoverageEnabled ( ) { return mBuildType.isTestCoverageEnabled ( ) ; }

Target:
public boolean getRenderscriptNdkMode ( ) { java.lang.Boolean value = mMergedFlavor.getRenderscriptNdkMode ( ) ; if ( value != null ) { return value ; } return false ; }
Source:
boolean stopGattProfileService ( ) { setProfileServiceState ( com.android.bluetooth.gatt.GattService.class , BluetoothAdapter.STATE_OFF ) ; return true ; }

Target:
private void stopGattProfileService ( ) { mAdapterProperties.onBleDisable ( ) ; if ( ( mRunningProfiles.size ( ) ) == 0 ) { debugLog ( "stopGattProfileService() - No profiles services to stop." ) ; mAdapterStateMachine.sendMessage ( AdapterState.BLE_STOPPED ) ; } setProfileServiceState ( com.android.bluetooth.gatt.GattService.class , BluetoothAdapter.STATE_OFF ) ; }
Source:
com.android.sched.util.location.Location getVDirLocation ( @ javax.annotation.Nonnull com.android.sched.vfs.BaseVDir parent , @ javax.annotation.Nonnull com.android.sched.vfs.VPath path ) { return vfs.getVDirLocation ( parent , path ) ; }

Target:
com.android.sched.vfs.VPath getPathFromRoot ( @ javax.annotation.Nonnull com.android.sched.vfs.MessageDigestFS.MessageDigestVFile file ) { return vfs.getPathFromRoot ( file.getWrappedFile ( ) ) ; }
Source:
public static void main ( java.lang.String [ ] args ) { java.lang.Object o = Main.class ; if ( o instanceof Main ) { java.lang.System.out.println ( ( ( Main ) ( o ) ) ) ; } }

Target:
public static void main ( java.lang.String [ ] args ) { Main.testInstanceOf ( ) ; try { Main.testNull ( ) ; throw new java.lang.Error ( "Expected ClassClastException" ) ; } catch ( java.lang.ClassCastException e ) { } }
Source:
public java.lang.String getVendorId ( ) { return vendorId ; }

Target:
public static com.android.sdklib.repository.descriptors.IPkgDescExtra newExtra ( @ com.android.annotations.NonNull final java.lang.String vendorId , @ com.android.annotations.NonNull final java.lang.String path , @ com.android.annotations.NonNull final java.lang.String [ ] oldPaths , @ com.android.annotations.NonNull final com.android.sdklib.repository.NoPreviewRevision revision ) { return new com.android.sdklib.repository.descriptors.PkgDescExtra ( vendorId , path , oldPaths , revision ) ; }
Source:
public void testSkip ( ) throws java.lang.Exception { com.android.ide.eclipse.adt.internal.editors.layout.gre.ViewMetadataRepository repository = com.android.ide.eclipse.adt.internal.editors.layout.gre.ViewMetadataRepository.get ( ) ; assertTrue ( repository.getSkip ( "include" ) ) ; assertFalse ( repository.getSkip ( "android.widget.Button" ) ) ; }

Target:
public void testSkip ( ) throws java.lang.Exception { com.android.ide.eclipse.adt.internal.editors.layout.gre.ViewMetadataRepository repository = com.android.ide.eclipse.adt.internal.editors.layout.gre.ViewMetadataRepository.get ( ) ; assertTrue ( repository.getSkip ( "merge" ) ) ; assertFalse ( repository.getSkip ( "android.widget.Button" ) ) ; }
Source:
public static short byteToDoubleToShort ( byte value ) { return ( ( short ) ( ( double ) ( value ) ) ) ; }

Target:
public static int $noinline$byteToDoubleToInt ( byte value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( int ) ( ( double ) ( value ) ) ) ; }
Source:
public void testSocket_getLocalAddress ( ) throws java.lang.Exception { java.net.Socket socket = channel1.socket ( ) ; assertNotNull ( socket.getLocalAddress ( ) ) ; channel1.connect ( localAddr1 ) ; assertNotNull ( socket.getLocalAddress ( ) ) ; }

Target:
public void testSocket_getLocalAddress ( ) throws java.lang.Exception { java.net.Socket socket = channel1.socket ( ) ; channel1.connect ( localAddr1 ) ; assertNotNull ( socket.getLocalSocketAddress ( ) ) ; }
Source:
public int hashCode ( ) { return java.util.Objects.hash ( mDevice , mRssi , mScanRecord , mTimestampNanos ) ; }

Target:
public int hashCode ( ) { return java.util.Objects.hash ( mDevice , mRssi , mScanRecord , mTimestampNanos , mEventType , mPrimaryPhy , mSecondaryPhy , mAdvertisingSid , mTxPower , mPeriodicAdvertisingInterval ) ; }
Source:
public final void testTapLink_changeOrientationThenTapBack ( ) throws java.lang.Exception { sUiBot.setScreenOrientation ( UiBot.PORTRAIT ) ; try { saveUiRestoredAfterTappingLinkTest ( android.autofillservice.cts.CustomDescriptionWithLinkTestCase.PostSaveLinkTappedAction.ROTATE_THEN_TAP_BACK_BUTTON ) ; } finally { sUiBot.setScreenOrientation ( UiBot.PORTRAIT ) ; } }

Target:
public final void testTapLink_changeOrientationThenTapBack ( ) throws java.lang.Exception { sUiBot.setScreenOrientation ( UiBot.PORTRAIT ) ; try { saveUiRestoredAfterTappingLinkTest ( android.autofillservice.cts.CustomDescriptionWithLinkTestCase.PostSaveLinkTappedAction.ROTATE_THEN_TAP_BACK_BUTTON ) ; } finally { sUiBot.setScreenOrientation ( UiBot.PORTRAIT ) ; cleanUpAfterScreenOrientationIsBackToPortrait ( ) ; } }
Source:
protected void onSaveInstanceState ( final android.os.Bundle savedState ) { super . onSaveInstanceState ( savedState ) ; savedState.putBundle ( com.android.cts.verifier.managedprovisioning.ORIGINAL_SETTINGS_NAME , mOriginalSettings ) ; }

Target:
protected void onSaveInstanceState ( final android.os.Bundle savedState ) { super . onSaveInstanceState ( savedState ) ; savedState.putBundle ( com.android.cts.verifier.managedprovisioning.ByodHelperActivity.ORIGINAL_SETTINGS_NAME , mOriginalSettings ) ; }
Source:
public int preceding ( int offset ) { return libcore.icu.NativeBreakIterator.precedingImpl ( this . address , offset ) ; }

Target:
private void setText ( java.lang.String s , java.text.CharacterIterator it ) { this . string = s ; this . charIterator = it ; libcore.icu.NativeBreakIterator.setTextImpl ( this . address , this . string ) ; }
Source:
private int getPhoneTypeFromNetworkType ( ) { return getPhoneTypeFromNetworkType ( android.telephony.TelephonyManager.getDefaultPhone ( ) ) ; }

Target:
public void disableLocationUpdates ( ) { disableLocationUpdates ( getSubId ( ) ) ; }
Source:
private void log ( java.lang.String s ) { android.util.Log.d ( com.android.internal.telephony.DefaultPhoneNotifier.LOG_TAG , ( "[PhoneNotifier] " + s ) ) ; }

Target:
private void log ( java.lang.String s ) { android.telephony.Rlog.d ( com.android.internal.telephony.DefaultPhoneNotifier.LOG_TAG , ( "[PhoneNotifier] " + s ) ) ; }
Source:
private static float pythag ( float x , float y ) { return ( ( float ) ( java.lang.Math.sqrt ( ( ( x * x ) + ( y * y ) ) ) ) ) ; }

Target:
private static float pythag ( float x , float y ) { return ( ( float ) ( java.lang.Math.hypot ( x , y ) ) ) ; }
Source:
public void exit ( ) { log ( ( "Exit Disconnected: " + ( getCurrentMessage ( ) . what ) ) ) ; }

Target:
public void exit ( ) { if ( com.android.bluetooth.a2dp.A2dpStateMachine.DBG ) { android.util.Log.d ( com.android.bluetooth.a2dp.A2dpStateMachine.TAG , ( "Exit Disconnected: " + ( getCurrentMessage ( ) . what ) ) ) ; } }
Source:
public void onError ( int error ) { switch ( error ) { case android.media.AudioSystem.AUDIO_STATUS_SERVER_DIED : com.android.server.audio.AudioService.sendMsg ( mAudioHandler , com.android.server.audio.AudioService.MSG_MEDIA_SERVER_DIED , com.android.server.audio.AudioService.SENDMSG_NOOP , 0 , 0 , null , 0 ) ; break ; default : break ; } }

Target:
public void onError ( int error ) { switch ( error ) { case android.media.AudioSystem.AUDIO_STATUS_SERVER_DIED : com.android.server.audio.AudioService.sendMsg ( mAudioHandler , com.android.server.audio.AudioService.MSG_AUDIO_SERVER_DIED , com.android.server.audio.AudioService.SENDMSG_NOOP , 0 , 0 , null , 0 ) ; break ; default : break ; } }
Source:
static int $opt$NegInt ( int a ) { return - a ; }

Target:
private static int $opt$noinline$NegInt ( int a ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return - a ; }
Source:
public static double DoubleMultiplication ( ) { double a ; double b ; double c ; a = Main.$inline$double ( 7.0 ) ; b = Main.$inline$double ( 3.0 ) ; c = a * b ; return c ; }

Target:
public static double DoubleDivision ( ) { double a ; double b ; double c ; a = 8.0 ; b = 2.5 ; c = a / b ; return c ; }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setSuitePlan ( java.lang.String value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 32 ; suitePlan_ = value ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setTargetBytes ( com.android.vts.proto.ByteString value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 16 ; target_ = value ; onChanged ( ) ; return this ; }
Source:
public java.lang.String getIsimDomain ( ) { mContext.enforceCallingOrSelfPermission ( com.android.internal.telephony.PhoneSubInfo.READ_PRIVILEGED_PHONE_STATE , "Requires READ_PRIVILEGED_PHONE_STATE" ) ; com.android.internal.telephony.ims.IsimRecords isim = mPhone.getIsimRecords ( ) ; if ( isim != null ) { return isim.getIsimDomain ( ) ; } else { return null ; } }

Target:
public java.lang.String getIsimDomain ( ) { mContext.enforceCallingOrSelfPermission ( com.android.internal.telephony.PhoneSubInfo.READ_PRIVILEGED_PHONE_STATE , "Requires READ_PRIVILEGED_PHONE_STATE" ) ; com.android.internal.telephony.uicc.IsimRecords isim = mPhone.getIsimRecords ( ) ; if ( isim != null ) { return isim.getIsimDomain ( ) ; } else { return null ; } }
Source:
public boolean isIgnoreFailures ( ) { return ignoreFailures ; }

Target:
public java.lang.String getName ( ) { return scope.getTaskName ( ( ( deviceProvider.getName ( ) ) + ( VariantType.ANDROID_TEST.getSuffix ( ) ) ) ) ; }
Source:
public void setCatchBlockIds ( @ javax.annotation.Nonnull java.util.List < java.lang.String > catchBlockIds ) { this . catchBlockIds = catchBlockIds ; }

Target:
public void setCatchBlockIds ( @ javax.annotation.Nonnull java.util.List < java.lang.String > catchBlockIds ) { throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
public void run ( ) { postTarget.removeCallbacks ( failCallback ) ; setPassState ( mVerifyOverlayViewItem , true ) ; mOverlayViewVerified = true ; updatePassState ( postTarget , failCallback ) ; }

Target:
public void run ( ) { postTarget.removeCallbacks ( failCallback ) ; setPassState ( mVerifyOverlayViewItem , true ) ; mOverlayViewVerified = true ; goToNextState ( postTarget , failCallback ) ; }
Source:
public void dump ( java.lang.StringBuilder sb ) { sb.append ( ( ( "Profile: " + ( mName ) ) + "\n" ) ) ; }

Target:
public void dump ( java.lang.StringBuilder sb ) { sb.append ( ( ( "\nProfile: " + ( mName ) ) + "\n" ) ) ; }
Source:
public static int Shl0 ( int arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return arg << 0 ; }

Target:
public static int $noinline$Shl0 ( int arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return arg << 0 ; }
Source:
final boolean cas ( long cmp , long val ) { return com.google.common.cache.Striped64.Cell.UNSAFE.compareAndSwapLong ( this , com.google.common.cache.Striped64.Cell.valueOffset , cmp , val ) ; }

Target:
final boolean cas ( long cmp , long val ) { return com.google.common.cache.Striped64.Cell.valueUpdater.compareAndSet ( this , cmp , value ) ; }
Source:
public android.icu.impl.UResource.ArraySink getOrCreateArraySink ( android.icu.impl.UResource.Key key , int size ) { return null ; }

Target:
public android.icu.impl.UResource.TableSink getOrCreateTableSink ( int index ) { return null ; }
Source:
void expect ( com.ibm.icu.text.Transliterator t , java.lang.String source , java.lang.String expectedResult , com.ibm.icu.text.Transliterator reverseTransliterator ) { expect ( t , source , expectedResult ) ; if ( reverseTransliterator != null ) { expect ( reverseTransliterator , expectedResult , source ) ; } }

Target:
static void expect ( com.ibm.icu.text.Transliterator t , java.lang.String source , java.lang.String expectedResult , com.ibm.icu.text.Transliterator reverseTransliterator ) { com.ibm.icu.dev.test.translit.TransliteratorTest.expect ( t , source , expectedResult ) ; if ( reverseTransliterator != null ) { com.ibm.icu.dev.test.translit.TransliteratorTest.expect ( reverseTransliterator , expectedResult , source ) ; } }
Source:
public boolean onInfo ( android.media.MediaPlayer mp , int what , int extra ) { assertEquals ( mMediaPlayer2 , mp ) ; if ( what == ( android.media.MediaPlayer.MEDIA_INFO_STARTED_AS_NEXT ) ) { mOnInfoCalled.signal ( ) ; } return false ; }

Target:
public void onCompletion ( android.media.MediaPlayer mp ) { assertEquals ( mMediaPlayer , mp ) ; mOnCompletionCalled.signal ( ) ; }
Source:
private boolean isVoicemailTranscriptionAvailable ( ) { return ( ( Build.VERSION.SDK_INT ) >= ( Build.VERSION_CODES.O ) ) && ( com.android.dialer.configprovider.ConfigProviderBindings.get ( context ) . getBoolean ( "voicemail_transcription_available" , false ) ) ; }

Target:
private boolean isVoicemailTranscriptionAvailable ( ) { return com.android.voicemail.VoicemailComponent.get ( context ) . getVoicemailClient ( ) . isVoicemailTranscriptionAvailable ( context , status.getPhoneAccountHandle ( ) ) ; }
Source:
public void error ( org.xml.sax.SAXParseException e ) { log.printf ( "Error when parsing %s: %s" , xmlFile.getName ( ) , e.toString ( ) ) ; }

Target:
public void fatalError ( org.xml.sax.SAXParseException e ) { log.error ( Severity.ERROR , new com.android.manifmerger.IMergerLog.FileAndLine ( xmlFile.getName ( ) , 0 ) , "Fatal error when parsing: %1$s" , xmlFile.getName ( ) , e.toString ( ) ) ; }
Source:
public int next ( int n ) { throw new java.lang.UnsupportedOperationException ( "next(int) is not yet implemented" ) ; }

Target:
public int next ( int n ) { return internalNext ( delegate.next ( n ) ) ; }
Source:
public void testQuickFix_noQueryNameSpecifiedWithParameter ( ) { com.intellij.openapi.project.Project myProject = myFixture.getProject ( ) ; com.intellij.psi.PsiParameter parameter = com.intellij.psi.JavaPsiFacade.getInstance ( myProject ) . getElementFactory ( ) . createParameterFromText ( "@javax.inject.Named() String foobar" , null ) ; com.intellij.psi.PsiAnnotation [ ] annotationsList = parameter.getModifierList ( ) . getAnnotations ( ) ; assert ( annotationsList.length ) == 1 ; com.google.gct.intellij.endpoints.validation.NamedResourceInspection.MissingNameQuickFix myQuickFix = new com.google.gct.intellij.endpoints.validation.NamedResourceInspection ( ) . new com.google.gct.intellij.endpoints.validation.MissingNameQuickFix ( ) ; com.intellij.testFramework.MockProblemDescriptor problemDescriptor = new com.intellij.testFramework.MockProblemDescriptor ( annotationsList [ 0 ] , "" , com.intellij.codeInspection.ProblemHighlightType.ERROR , null ) ; myQuickFix.applyFix ( myProject , problemDescriptor ) ; junit.framework.Assert.assertEquals ( "@javax.inject.Named(\"foobar\")" , annotationsList [ 0 ] . getText ( ) ) ; }

Target:
public void testQuickFix_noQueryNameSpecifiedWithParameter ( ) { com.intellij.openapi.project.Project myProject = myFixture.getProject ( ) ; com.intellij.psi.PsiParameter parameter = com.intellij.psi.JavaPsiFacade.getInstance ( myProject ) . getElementFactory ( ) . createParameterFromText ( "@javax.inject.Named() String foobar" , null ) ; com.intellij.psi.PsiAnnotation [ ] annotationsList = parameter.getModifierList ( ) . getAnnotations ( ) ; assert ( annotationsList.length ) == 1 ; com.google.gct.idea.appengine.validation.NamedResourceInspection.MissingNameQuickFix myQuickFix = new com.google.gct.idea.appengine.validation.NamedResourceInspection ( ) . new com.google.gct.idea.appengine.validation.MissingNameQuickFix ( ) ; com.intellij.testFramework.MockProblemDescriptor problemDescriptor = new com.intellij.testFramework.MockProblemDescriptor ( annotationsList [ 0 ] , "" , com.intellij.codeInspection.ProblemHighlightType.ERROR , null ) ; myQuickFix.applyFix ( myProject , problemDescriptor ) ; junit.framework.Assert.assertEquals ( "@javax.inject.Named(\"foobar\")" , annotationsList [ 0 ] . getText ( ) ) ; }
Source:
public void runCmdLine ( @ com.android.annotations.NonNull java.lang.String [ ] command , @ com.android.annotations.Nullable java.util.Map < java.lang.String , java.lang.String > envVariableMap ) throws com.android.ide.common.internal.LoggedErrorException , java.io.IOException , java.lang.InterruptedException { java.lang.Thread.sleep ( 1000 ) ; throw new java.io.IOException ( "foo" ) ; }

Target:
public com.android.ide.common.process.ProcessResult rethrowFailure ( ) throws com.android.ide.common.process.ProcessException { throw new com.android.ide.common.process.ProcessException ( null , e ) ; }
Source:
public void testExtractDecodeEditEncodeMuxAudio ( ) throws java.lang.Throwable { setSize ( 1280 , 720 ) ; setSource ( R.raw.video_480x360_mp4_h264_500kbps_30fps_aac_stereo_128kbps_44100hz ) ; setCopyAudio ( ) ; android.media.cts.ExtractDecodeEditEncodeMuxTest.TestWrapper.runTest ( this ) ; }

Target:
public void testExtractDecodeEditEncodeMuxAudioVideo ( ) throws java.lang.Throwable { if ( ! ( setSize ( 1280 , 720 ) ) ) return ; setSource ( R.raw.video_480x360_mp4_h264_500kbps_30fps_aac_stereo_128kbps_44100hz ) ; setCopyAudio ( ) ; setCopyVideo ( ) ; android.media.cts.ExtractDecodeEditEncodeMuxTest.TestWrapper.runTest ( this ) ; }
Source:
void tearDown ( ) { mNm.cancelAll ( ) ; deleteChannels ( ) ; com.android.cts.verifier.notifications.MockListener.resetListenerData ( mContext ) ; delay ( ) ; }

Target:
void tearDown ( ) { mNm.setInterruptionFilter ( NotificationManager.INTERRUPTION_FILTER_ALL ) ; mNm.cancelAll ( ) ; deleteChannels ( ) ; com.android.cts.verifier.notifications.MockListener.getInstance ( ) . resetData ( ) ; }
Source:
public void linkFile ( java.lang.String relativePath , java.lang.String fromBase , java.lang.String toBase ) throws com.android.internal.os.InstallerConnection.InstallerException { mInstaller.execute ( "linkfile" , relativePath , fromBase , toBase ) ; }

Target:
public void markBootComplete ( java.lang.String instructionSet ) throws com.android.internal.os.InstallerConnection.InstallerException { com.android.server.pm.Installer.assertValidInstructionSet ( instructionSet ) ; checkLock ( ) ; try { mInstalld.markBootComplete ( instructionSet ) ; } catch ( android.os.RemoteException | android.os.ServiceSpecificException e ) { throw new com.android.internal.os.InstallerConnection.InstallerException ( e.getMessage ( ) ) ; } }
Source:
private static boolean isStyleAttribute ( com.android.ide.eclipse.adt.internal.editors.xml.Hyperlinks.XmlContext context ) { java.lang.String tag = context.getElement ( ) . getTagName ( ) ; return com.android.ide.eclipse.adt.internal.editors.xml.Hyperlinks.STYLE_ELEMENT.equals ( tag ) ; }

Target:
private static boolean isStyleAttribute ( com.android.ide.eclipse.adt.internal.editors.xml.Hyperlinks.XmlContext context ) { java.lang.String tag = context.getElement ( ) . getTagName ( ) ; return com.android.ide.eclipse.adt.internal.editors.resources.descriptors.ResourcesDescriptors.STYLE_ELEMENT.equals ( tag ) ; }
Source:
public void ancestorMoved ( javax.swing.event.AncestorEvent event ) { setZoom ( com.android.draw9patch.ui.ImageViewer.DEFAULT_ZOOM ) ; removeAncestorListener ( this ) ; }

Target:
public void ancestorMoved ( javax.swing.event.AncestorEvent event ) { removeAncestorListener ( this ) ; setDefaultZoom ( ) ; }
Source:
protected void listen ( int backlog ) throws java.io.IOException { if ( usingSocks ( ) ) { return ; } try { Libcore.os.listen ( fd , backlog ) ; } catch ( libcore.io.ErrnoException errnoException ) { throw errnoException.rethrowAsSocketException ( ) ; } }

Target:
protected void listen ( int backlog ) throws java.io.IOException { if ( usingSocks ( ) ) { return ; } try { Libcore.os.listen ( fd , backlog ) ; } catch ( android.system.ErrnoException errnoException ) { throw errnoException.rethrowAsSocketException ( ) ; } }
Source:
protected void dump ( java.io.FileDescriptor fd , java.io.PrintWriter writer , java.lang.String [ ] args ) { mProvider.dump ( fd , writer , args ) ; mWifiWakeupController.dump ( fd , writer , args ) ; }

Target:
protected void dump ( java.io.FileDescriptor fd , java.io.PrintWriter writer , java.lang.String [ ] args ) { mProvider.dump ( fd , writer , args ) ; mWifiNotificationController.dump ( fd , writer , args ) ; mWifiWakeupController.dump ( fd , writer , args ) ; }
Source:
public java.lang.String toString ( ) { return ( ( ( ( "actionType: " + ( getActionType ( ) ) ) + " location:" ) + ( getActionLocation ( ) ) ) + " opType:" ) + ( getOperationType ( ) ) ; }

Target:
public java.lang.String toString ( ) { return ( ( ( ( ( ( "Id=" + ( mTargetId ) ) + " actionType=" ) + ( getActionType ( ) ) ) + " location=" ) + ( getActionLocation ( ) ) ) + " opType=" ) + ( getOperationType ( ) ) ; }
Source:
public com.android.ahat.heapdump.Value getDumpedValue ( java.lang.String name ) { return getDumpedValue ( name , mSnapshot ) ; }

Target:
public com.android.ahat.heapdump.Value getDumpedValue ( java.lang.String name ) { return com.android.ahat.TestDump.getDumpedValue ( name , mMain ) ; }
Source:
public static float Div2 ( float arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return arg / 2.0F ; }

Target:
public static float $noinline$Div2 ( float arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return arg / 2.0F ; }
Source:
public static void end ( java.lang.String name , java.lang.String arg ) { if ( org.chromium.base.TraceEvent.sEnabled ) org.chromium.base.TraceEvent.nativeEnd ( name , arg ) ; }

Target:
public static void end ( java.lang.String name , java.lang.String arg ) { org.chromium.base.EarlyTraceEvent.end ( name ) ; if ( org.chromium.base.TraceEvent.sEnabled ) org.chromium.base.TraceEvent.nativeEnd ( name , arg ) ; }
Source:
public void showUi ( boolean show ) { com.intellij.openapi.externalSystem.util.ExternalSystemUiUtil.showUi ( this , show ) ; }

Target:
public void showUi ( boolean show ) { myBuilder.showUi ( show ) ; }
Source:
public long sendfile ( java.io.FileDescriptor outFd , java.io.FileDescriptor inFd , libcore.util.MutableLong inOffset , long byteCount ) throws android.system.ErrnoException { return os.sendfile ( outFd , inFd , inOffset , byteCount ) ; }

Target:
public long sendfile ( java.io.FileDescriptor outFd , java.io.FileDescriptor inFd , android.system.Int64Ref offset , long byteCount ) throws android.system.ErrnoException { return os.sendfile ( outFd , inFd , offset , byteCount ) ; }
Source:
protected void acknowledgeLastIncomingSms ( boolean success , int result , android.os.Message response ) { mCi.acknowledgeLastIncomingGsmSms ( success , com.android.internal.telephony.gsm.GsmSMSDispatcher.resultToCause ( result ) , response ) ; }

Target:
protected void updateSmsSendStatus ( int messageRef , boolean success ) { android.telephony.Rlog.e ( com.android.internal.telephony.gsm.GsmSMSDispatcher.TAG , "updateSmsSendStatus should never be called from here!" ) ; }
Source:
public void testCreateForPhoneAccountHandle_InvalidHandle ( ) { android.telecom.PhoneAccountHandle handle = new android.telecom.PhoneAccountHandle ( new android.content.ComponentName ( "com.example.foo" , "bar" ) , "baz" ) ; assertNull ( mTelephonyManager.createForPhoneAccountHandle ( handle ) ) ; }

Target:
public void testCreateForPhoneAccountHandle_InvalidHandle ( ) { android.telecom.PhoneAccountHandle handle = new android.telecom.PhoneAccountHandle ( new android.content.ComponentName ( "com.example.foo" , "bar" ) , "baz" ) ; org.junit.Assert.assertNull ( mTelephonyManager.createForPhoneAccountHandle ( handle ) ) ; }
Source:
public static void wtf ( java.lang.String prefix , java.lang.Throwable tr , java.lang.String format , java.lang.Object ... args ) { android.util.Log.wtf ( android.telecom.Log.TAG , android.telecom.Log.buildMessage ( prefix , format , args ) , tr ) ; }

Target:
public static void wtf ( java.lang.String prefix , java.lang.Throwable tr , java.lang.String format , java.lang.Object ... args ) { android.util.Slog.wtf ( android.telecom.Log.TAG , android.telecom.Log.buildMessage ( prefix , format , args ) , tr ) ; }
Source:
private static void logInApplySetValueOperation ( java.lang.String formattingString , java.lang.Object ... objects ) { com.google.devtools.common.options.InvocationPolicyEnforcer.log.logp ( java.util.logging.Level.INFO , "InvocationPolicyEnforcer" , "applySetValueOperation" , java.lang.String.format ( formattingString , objects ) ) ; }

Target:
private static void logInApplySetValueOperation ( java.lang.String formattingString , java.lang.Object ... objects ) { com.google.devtools.common.options.InvocationPolicyEnforcer.logger.logp ( java.util.logging.Level.INFO , "InvocationPolicyEnforcer" , "applySetValueOperation" , java.lang.String.format ( formattingString , objects ) ) ; }
Source:
public int first ( ) { return libcore.icu.NativeBreakIterator.firstImpl ( this . address ) ; }

Target:
public int first ( ) { return libcore.icu.NativeBreakIterator.firstImpl ( this . address , this . string ) ; }
Source:
public void testConstructor_NullContext_Failure ( ) throws java.lang.Exception { try { new android.security.KeyPairGeneratorSpec ( null , android.security.KeyPairGeneratorSpecTest.TEST_ALIAS_1 , android.security.KeyPairGeneratorSpecTest.TEST_DN_1 , android.security.KeyPairGeneratorSpecTest.SERIAL_1 , android.security.KeyPairGeneratorSpecTest.NOW , android.security.KeyPairGeneratorSpecTest.NOW_PLUS_10_YEARS , 0 ) ; fail ( "Should throw IllegalArgumentException when context is null" ) ; } catch ( java.lang.IllegalArgumentException success ) { } }

Target:
public void testConstructor_NullSerial_Failure ( ) throws java.lang.Exception { try { new android.security.KeyPairGeneratorSpec ( getContext ( ) , android.security.KeyPairGeneratorSpecTest.TEST_ALIAS_1 , "RSA" , 1024 , null , android.security.KeyPairGeneratorSpecTest.TEST_DN_1 , null , android.security.KeyPairGeneratorSpecTest.NOW , android.security.KeyPairGeneratorSpecTest.NOW_PLUS_10_YEARS , 0 ) ; fail ( "Should throw IllegalArgumentException when startDate is null" ) ; } catch ( java.lang.IllegalArgumentException success ) { } }
Source:
public java.lang.reflect.Constructor < ? > getEnclosingConstructor ( ) { if ( classNameImpliesTopLevel ( ) ) { return null ; } java.lang.reflect.AccessibleObject result = libcore.reflect.AnnotationAccess.getEnclosingMethodOrConstructor ( this ) ; return result instanceof java.lang.reflect.Constructor ? ( ( java.lang.reflect.Constructor < ? > ) ( result ) ) : null ; }

Target:
public java.lang.reflect.Method getEnclosingMethod ( ) { if ( classNameImpliesTopLevel ( ) ) { return null ; } return getEnclosingMethodNative ( ) ; }
Source:
public static com.android.sdklib.devices.Abi getEnum ( @ com.android.annotations.NonNull java.lang.String value ) { for ( com.android.sdklib.devices.Abi a : com.android.sdklib.devices.Abi.values ( ) ) { if ( a.mAbi.equals ( value ) ) { return a ; } } return null ; }

Target:
public static com.android.sdklib.devices.Abi getEnum ( @ com.android.annotations.NonNull java.lang.String abi ) { for ( com.android.sdklib.devices.Abi a : com.android.sdklib.devices.Abi.values ( ) ) { if ( a.mAbi.equals ( abi ) ) { return a ; } } return null ; }
Source:
public static long LongRemainder ( ) { long a ; long b ; long c ; a = Main.$inline$long ( 8L ) ; b = Main.$inline$long ( 3L ) ; c = a % b ; return c ; }

Target:
public static double DoubleAddition ( ) { double a ; double b ; double c ; a = 1.0 ; b = 2.0 ; c = a + b ; return c ; }
Source:
public static org.bouncycastle.crypto.Digest getSHA1 ( ) { return org.bouncycastle.crypto.digests.AndroidDigestFactory.FACTORY.getSHA1 ( ) ; }

Target:
public static org.bouncycastle.crypto.Digest getSHA224 ( ) { if ( ( org.bouncycastle.crypto.digests.AndroidDigestFactory.CONSCRYPT ) != null ) { try { return org.bouncycastle.crypto.digests.AndroidDigestFactory.CONSCRYPT.getSHA224 ( ) ; } catch ( java.lang.Exception ignored ) { } } return org.bouncycastle.crypto.digests.AndroidDigestFactory.BC.getSHA224 ( ) ; }
Source:
protected void onStop ( ) { if ( android.util.Config.LOGD ) android.util.Log.d ( com.example.android.apis.graphics.Compass.TAG , "onStop" ) ; mSensorManager.unregisterListener ( mListener ) ; super . onStop ( ) ; }

Target:
protected void onResume ( ) { if ( android.util.Config.LOGD ) android.util.Log.d ( com.example.android.apis.graphics.Compass.TAG , "onResume" ) ; super . onResume ( ) ; mSensorManager.registerListener ( mListener , mSensor , SensorManager.SENSOR_DELAY_GAME ) ; }
Source:
public void testCheckResult ( ) throws java.lang.Exception { assertEquals ( ( "" + ( ( ( ( ( ( ( ( ( "src/test/pkg/CheckPermissions.java:22: Warning: The result of extractAlpha is not used [CheckResult]\n" + " bitmap.extractAlpha(); // WARNING\n" ) + " ~~~~~~~~~~~~~~~~~~~~~\n" ) + "src/test/pkg/CheckPermissions.java:10: Warning: The result of checkCallingOrSelfPermission is not used; did you mean to call #enforceCallingOrSelfPermission(String,String? [UseCheckPermission]\n" ) + " context.checkCallingOrSelfPermission(Manifest.permission.INTERNET); // WRONG\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "src/test/pkg/CheckPermissions.java:11: Warning: The result of checkPermission is not used; did you mean to call #enforcePermission(String,int,int,String? [UseCheckPermission]\n" ) + " context.checkPermission(Manifest.permission.INTERNET, 1, 1);\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "0 errors, 3 warnings\n" ) ) , lintProject ( "src/test/pkg/CheckPermissions.java.txt=>src/test/pkg/CheckPermissions.java" ) ) ; }

Target:
public void testCheckResult ( ) throws java.lang.Exception { if ( ! ( com.android.tools.lint.checks.SupportAnnotationDetectorTest.SDK_ANNOTATIONS_AVAILABLE ) ) { return ; } assertEquals ( ( "" + ( ( ( ( ( ( ( ( ( "src/test/pkg/CheckPermissions.java:22: Warning: The result of extractAlpha is not used [CheckResult]\n" + " bitmap.extractAlpha(); // WARNING\n" ) + " ~~~~~~~~~~~~~~~~~~~~~\n" ) + "src/test/pkg/CheckPermissions.java:10: Warning: The result of checkCallingOrSelfPermission is not used; did you mean to call #enforceCallingOrSelfPermission(String,String? [UseCheckPermission]\n" ) + " context.checkCallingOrSelfPermission(Manifest.permission.INTERNET); // WRONG\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "src/test/pkg/CheckPermissions.java:11: Warning: The result of checkPermission is not used; did you mean to call #enforcePermission(String,int,int,String? [UseCheckPermission]\n" ) + " context.checkPermission(Manifest.permission.INTERNET, 1, 1);\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "0 errors, 3 warnings\n" ) ) , lintProject ( "src/test/pkg/CheckPermissions.java.txt=>src/test/pkg/CheckPermissions.java" ) ) ; }
Source:
public void enableOptionalCodecs ( ) { com.android.bluetooth.a2dp.A2dpService service = getService ( ) ; if ( service == null ) { return ; } service.enableOptionalCodecs ( ) ; }

Target:
public android.bluetooth.BluetoothDevice getActiveDevice ( ) { com.android.bluetooth.a2dp.A2dpService service = getService ( ) ; if ( service == null ) { return null ; } return service.getActiveDevice ( ) ; }
Source:
public void getNeighboringCidsResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , java.util.ArrayList < android.hardware.radio.V1_0.NeighboringCell > var2 ) { }

Target:
public void getFacilityLockForAppResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , int response ) { responseInts ( responseInfo , response ) ; }
Source:
public static void computeAtan ( android.renderscript.cts.TestAtan.ArgumentsFloatFloat args ) { args.ulf = 5 ; args.ulfRelaxed = 128 ; args.out = ( ( float ) ( java.lang.StrictMath.atan ( args.in ) ) ) ; }

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 static org.conscrypt.OpenSSLX509Certificate fromX509Der ( byte [ ] encoded ) { final long certCtx = org.conscrypt.NativeCrypto.d2i_X509 ( encoded ) ; if ( certCtx == 0 ) { return null ; } return new org.conscrypt.OpenSSLX509Certificate ( certCtx ) ; }

Target:
public static org.conscrypt.OpenSSLX509Certificate fromX509Der ( byte [ ] encoded ) throws java.security.cert.CertificateEncodingException { try { return new org.conscrypt.OpenSSLX509Certificate ( org.conscrypt.NativeCrypto.d2i_X509 ( encoded ) ) ; } catch ( org.conscrypt.OpenSSLX509CertificateFactory.ParsingException e ) { throw new java.security.cert.CertificateEncodingException ( e ) ; } }
Source:
public void reset ( ) { resetJack = true ; super . reset ( ) ; }

Target:
protected void backupAptProblems ( ) { resetJack = true ; super . backupAptProblems ( ) ; }