auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void onAvailabilityChanged ( boolean isAvailable ) { mHandler.obtainMessage ( android.net.EthernetManager.MSG_AVAILABILITY_CHANGED , ( isAvailable ? 1 : 0 ) , 0 , null ) . sendToTarget ( ) ; }

Target:
public void onAvailabilityChanged ( java.lang.String iface , boolean isAvailable ) { mHandler.obtainMessage ( android.net.EthernetManager.MSG_AVAILABILITY_CHANGED , ( isAvailable ? 1 : 0 ) , 0 , iface ) . sendToTarget ( ) ; }
Source:
public static void bar ( ) { Main.$inline$bar ( ) ; java.lang.System.out.println ( "In between the two calls." ) ; Main.$noinline$bar ( ) ; }

Target:
public static void bar ( ) { FirstSeenByMyClassLoader.$inline$bar ( ) ; java.lang.System.out.println ( "In between the two calls." ) ; FirstSeenByMyClassLoader.$noinline$bar ( ) ; }
Source:
public void enter ( ) { android.util.Log.d ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.TAG , ( "Enter AudioOn: " + ( getCurrentMessage ( ) . what ) ) ) ; broadcastAudioState ( mCurrentDevice , BluetoothHeadsetClient.STATE_AUDIO_CONNECTED , BluetoothHeadsetClient.STATE_AUDIO_CONNECTING ) ; }

Target:
public void enter ( ) { if ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.DBG ) { android.util.Log.d ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.TAG , ( "Enter AudioOn: " + ( getCurrentMessage ( ) . what ) ) ) ; } broadcastAudioState ( mCurrentDevice , BluetoothHeadsetClient.STATE_AUDIO_CONNECTED , BluetoothHeadsetClient.STATE_AUDIO_CONNECTING ) ; }
Source:
public static java.util.SortedSet < java.lang.String > getScopes ( ) { return com.google.gct.login.OAuthScopeRegistry.SCOPES ; }

Target:
public static java.util.SortedSet < java.lang.String > getScopes ( ) { return com.google.gct.login.OAuthScopeRegistry.sScopes ; }
Source:
public static void shutdown ( final android.content.Context context , boolean confirm ) { com.android.server.power.ShutdownThread.mReboot = false ; com.android.server.power.ShutdownThread.mRebootSafeMode = false ; com.android.server.power.ShutdownThread.shutdownInner ( context , confirm ) ; }

Target:
public static void shutdown ( final android.content.Context context , java.lang.String reason , boolean confirm ) { com.android.server.power.ShutdownThread.mReboot = false ; com.android.server.power.ShutdownThread.mRebootSafeMode = false ; com.android.server.power.ShutdownThread.mReason = reason ; com.android.server.power.ShutdownThread.shutdownInner ( context , confirm ) ; }
Source:
protected java.io.File getAapt ( ) { return super . getAapt ( com.android.sdklib.repository.FullRevision.parseRevision ( "22" ) ) ; }

Target:
private static com.android.ide.common.internal.PngCruncher getCruncher ( ) { com.android.utils.ILogger logger = new com.android.utils.StdLogger ( StdLogger.Level.VERBOSE ) ; java.io.File aapt = com.android.builder.png.NinePatchAaptProcessorTestUtils.getAapt ( com.android.sdklib.repository.FullRevision.parseRevision ( "22" ) ) ; return QueuedCruncher.Builder.INSTANCE.newCruncher ( aapt.getAbsolutePath ( ) , logger ) ; }
Source:
public void setInputMethod ( android.os.IBinder token , java.lang.String id ) { try { mService.setInputMethod ( token , id ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e ) ; } }

Target:
public void showSoftInputFromInputMethod ( android.os.IBinder token , int flags ) { try { mService.showMySoftInput ( token , flags ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }
Source:
public void register ( ) { android.content.ContentResolver cr = mContext.getContentResolver ( ) ; cr.registerContentObserver ( Settings.Global.getUriFor ( Settings.Global.WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON ) , true , this ) ; synchronized ( this ) { mNotificationEnabled = getValue ( ) ; } }

Target:
public void register ( ) { mContentResolver.registerContentObserver ( Settings.Global.getUriFor ( Settings.Global.WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON ) , true , this ) ; mNotificationEnabled = getValue ( ) ; }
Source:
public java.io.File getOutputFile ( ) { return variantData.packageApplicationTask.getOutputFile ( ) ; }

Target:
public java.io.File getOutputFile ( ) { return variantData.getOutputFile ( ) ; }
Source:
public static float BoolCond_FloatCstVar ( boolean cond , float y ) { return cond ? 1.0F : y ; }

Target:
public static float BoolCond_FloatCstVar ( boolean cond , float y ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return cond ? 1.0F : y ; }
Source:
public void testConnectsToEmergencyNumberLongNumber_US ( ) { assertTrue ( shortInfo.connectsToEmergencyNumber ( "9116666666" , RegionCode.US ) ) ; assertTrue ( shortInfo.connectsToEmergencyNumber ( "1126666666" , RegionCode.US ) ) ; assertFalse ( shortInfo.connectsToEmergencyNumber ( "9996666666" , RegionCode.US ) ) ; }

Target:
public void testConnectsToEmergencyNumber_US ( ) { assertTrue ( com.android.i18n.phonenumbers.ShortNumberInfoTest.shortInfo.connectsToEmergencyNumber ( "911" , RegionCode.US ) ) ; assertTrue ( com.android.i18n.phonenumbers.ShortNumberInfoTest.shortInfo.connectsToEmergencyNumber ( "112" , RegionCode.US ) ) ; assertFalse ( com.android.i18n.phonenumbers.ShortNumberInfoTest.shortInfo.connectsToEmergencyNumber ( "999" , RegionCode.US ) ) ; }
Source:
public android.security.AndroidKeyPairGeneratorSpec build ( ) { return new android.security.AndroidKeyPairGeneratorSpec ( mContext , mKeystoreAlias , mSubjectDN , mSerialNumber , mStartDate , mEndDate ) ; }

Target:
public android.security.AndroidKeyPairGeneratorSpec build ( ) { return new android.security.AndroidKeyPairGeneratorSpec ( mContext , mKeystoreAlias , mSubjectDN , mSerialNumber , mStartDate , mEndDate , mFlags ) ; }
Source:
native void rsnScriptInvokeV ( long con , long id , int slot , byte [ ] params ) ;

Target:
native void rsnScriptForEachClipped ( long con , long incCon , long id , int slot , long ain , long aout , int xstart , int xend , int ystart , int yend , int zstart , int zend , boolean mUseInc ) ;
Source:
public void test_plusWeeks_normal ( ) { java.time.LocalDate t = TEST_2007_07_15.plusWeeks ( 1 ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2007 , 7 , 22 ) ) ; }

Target:
public void test_plusWeeks_normal ( ) { java.time.LocalDate t = tck.java.time.TCKLocalDate.TEST_2007_07_15.plusWeeks ( 1 ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2007 , 7 , 22 ) ) ; }
Source:
java.util.List < com.android.jack.ir.ast.JAnnotationLiteral > getAnnotation ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JAnnotation annotationType ) { java.util.List < com.android.jack.ir.ast.JAnnotationLiteral > annotationLiterals = annotations.get ( annotationType ) ; if ( annotationLiterals == null ) { return java.util.Collections.emptyList ( ) ; } return annotationLiterals ; }

Target:
java.util.List < com.android.jack.ir.ast.JAnnotationLiteral > getAnnotation ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JAnnotationType annotationType ) { java.util.List < com.android.jack.ir.ast.JAnnotationLiteral > annotationLiterals = annotations.get ( annotationType ) ; if ( annotationLiterals == null ) { return java.util.Collections.emptyList ( ) ; } return annotationLiterals ; }
Source:
public java.util.List < java.io.File > getImportedLibrary ( ) { return options.getJayceImport ( ) ; }

Target:
public java.util.List < com.android.jack.library.InputLibrary > getImportedLibrary ( ) { return importedLibrariesFromCommandLine ; }
Source:
private static com.android.jack.test.toolchain.AbstractTestTools.ToolchainBuilder getToolchainBuilder ( @ javax.annotation.Nonnull java.lang.String toolchainName ) { com.android.jack.test.toolchain.AbstractTestTools.ToolchainBuilder toolchainBuilder = com.android.jack.test.toolchain.AbstractTestTools.toolchainBuilders.get ( toolchainName ) ; if ( toolchainBuilder == null ) { throw new com.android.jack.test.toolchain.TestConfigurationException ( ( ( "Unknown toolchain: '" + toolchainName ) + "'" ) ) ; } return toolchainBuilder ; }

Target:
private static com.android.jack.test.toolchain.AbstractTestTools.ToolchainBuilder getToolchainBuilder ( @ javax.annotation.Nonnull java.lang.String toolchainName ) { com.android.jack.test.toolchain.AbstractTestTools.ToolchainBuilder toolchainBuilder = com.android.jack.test.toolchain.AbstractTestTools.toolchainBuilders.get ( toolchainName ) ; if ( toolchainBuilder == null ) { throw new com.android.jack.test.TestConfigurationException ( ( ( "Unknown toolchain: '" + toolchainName ) + "'" ) ) ; } return toolchainBuilder ; }
Source:
public static float FloatRemainder ( ) { float a ; float b ; float c ; a = 8.0F ; b = 2.5F ; c = a % b ; return c ; }

Target:
public static float FloatRemainder ( ) { float a ; float b ; float c ; a = Main.$inline$float ( 8.0F ) ; b = Main.$inline$float ( 2.5F ) ; c = a % b ; return c ; }
Source:
public float getDiskRadius ( int depth ) { return diskRadiusArray [ ( depth - ( com.android.rs.test.BlurStack.MIN_DEPTH ) ) ] ; }

Target:
public float getDiskRadius ( int depth ) { return diskRadiusArray [ ( depth - ( com.android.rs.refocus.BlurStack.MIN_DEPTH ) ) ] ; }
Source:
public static org.hamcrest.org.hamcrest.Matcher < java.lang.String > containsString ( java.lang.String substring ) { return org.hamcrest.text.StringContains.containsString ( substring ) ; }

Target:
public static org.hamcrest.org.hamcrest.Matcher < java.lang.String > stringContainsInOrder ( java.lang.Iterable < java.lang.String > substrings ) { return org.hamcrest.text.StringContainsInOrder.stringContainsInOrder ( substrings ) ; }
Source:
public int getItemViewType ( int position ) { return isTestActivity ( position ) ? com.android.cts.verifier.TestListActivity.TestListAdapter.TEST_VIEW_TYPE : com.android.cts.verifier.TestListActivity.TestListAdapter.TEST_CATEGORY_HEADER_VIEW_TYPE ; }

Target:
public boolean onOptionsItemSelected ( android.view.MenuItem item ) { switch ( item.getItemId ( ) ) { case R.id.clear : handleClearItemSelected ( ) ; return true ; default : return super . onOptionsItemSelected ( item ) ; } }
Source:
public static void main ( java.lang.String [ ] args ) { Main main = new Main ( ) ; main.run ( ) ; java.lang.System.gc ( ) ; java.lang.System.out.println ( "Done!" ) ; }

Target:
public static void main ( java.lang.String [ ] args ) { Main main = new Main ( ) ; main.run ( ) ; java.lang.Runtime.getRuntime ( ) . gc ( ) ; java.lang.System.out.println ( "Done!" ) ; }
Source:
private void saveCdmaSubscriptionSource ( int source ) { log ( ( "Storing cdma subscription source: " + source ) ) ; android.provider.Settings.Secure.putInt ( phone.getContext ( ) . getContentResolver ( ) , Secure.CDMA_SUBSCRIPTION_MODE , source ) ; }

Target:
private void saveCdmaSubscriptionSource ( int source ) { log ( ( "Storing cdma subscription source: " + source ) ) ; Settings.Global.putInt ( phone.getContext ( ) . getContentResolver ( ) , Settings.Global.CDMA_SUBSCRIPTION_MODE , source ) ; }
Source:
protected com.android.jack.dx.dex.file.DexFile getDexFile ( ) { com.android.jack.scheduling.marker.DexFileMarker dexFileMarker = com.android.jack.Jack.getSession ( ) . getMarker ( com.android.jack.scheduling.marker.DexFileMarker.class ) ; assert dexFileMarker != null ; com.android.jack.dx.dex.file.DexFile dexFile = dexFileMarker.getFinalDexFile ( ) ; assert dexFile != null ; return dexFile ; }

Target:
protected com.android.jack.dx.dex.file.DexFile createDexFile ( ) { com.android.jack.dx.dex.DexOptions options = new com.android.jack.dx.dex.DexOptions ( ) ; options.forceJumbo = forceJumbo ; return new com.android.jack.dx.dex.file.DexFile ( options ) ; }
Source:
public void buildPatchFile ( java.io.File toDir , java.util.zip.ZipOutputStream patchOutput ) throws java.io.IOException { doBuildPatchFile ( getFile ( toDir ) , new com.intellij.updater.MultiZipFile.OutputStream ( patchOutput ) ) ; }

Target:
public void buildPatchFile ( java.io.File olderDir , java.io.File newerDir , java.util.zip.ZipOutputStream patchOutput ) throws java.io.IOException { doBuildPatchFile ( getFile ( olderDir ) , getFile ( newerDir ) , patchOutput ) ; }
Source:
public static java.lang.String toLowerCase ( java.util.Locale locale , java.lang.String str ) { return android.icu.lang.UCharacter.toLowerCase ( android.icu.util.ULocale.forLocale ( locale ) , str ) ; }

Target:
public static java.lang.String toLowerCase ( java.util.Locale locale , java.lang.String str ) { return android.icu.lang.UCharacter.toLowerCase ( android.icu.lang.UCharacter.getCaseLocale ( locale ) , str ) ; }
Source:
public android.net.wifi.IApInterface setupDriverForSoftApMode ( android.net.wifi.IWificond wificond ) { android.net.wifi.IApInterface apInterface = mWificondControl.setupDriverForSoftApMode ( wificond ) ; if ( ! ( startHal ( ) ) ) { android.util.Log.e ( com.android.server.wifi.WifiNative.TAG , "Failed to start HAL for AP mode" ) ; } return apInterface ; }

Target:
public boolean configureRoaming ( com.android.server.wifi.WifiNative.RoamingConfig config ) { android.util.Log.d ( com.android.server.wifi.WifiNative.TAG , "configureRoaming " ) ; try { if ( ( mWifiVendorHal ) != null ) { return mWifiVendorHal.configureRoaming ( config ) ; } } catch ( java.lang.UnsupportedOperationException e ) { } return false ; }
Source:
static int getBaseArrayOffset ( java.nio.Buffer b ) { return b.hasArray ( ) ? ( b.arrayOffset ( ) ) << ( b._elementSizeShift ) : 0 ; }

Target:
static int getBaseArrayOffset ( java.nio.Buffer b ) { return b.hasArray ( ) ? ( ( b.arrayOffset ( ) ) + ( b.position ) ) << ( b._elementSizeShift ) : 0 ; }
Source:
public void exit ( ) { mWifiMetrics.incrementScanReturnEntry ( WifiMetricsProto.WifiLog.SCAN_FAILURE_INTERRUPTED , mPendingScans.size ( ) ) ; sendOpFailedToAllAndClear ( mPendingScans , WifiScanner.REASON_UNSPECIFIED , "Scan was interrupted" ) ; }

Target:
public void exit ( ) { mCachedScanResults = new android.net.wifi.ScanResult [ 0 ] ; mWifiMetrics.incrementScanReturnEntry ( WifiMetricsProto.WifiLog.SCAN_FAILURE_INTERRUPTED , mPendingScans.size ( ) ) ; sendOpFailedToAllAndClear ( mPendingScans , WifiScanner.REASON_UNSPECIFIED , "Scan was interrupted" ) ; }
Source:
public void onChanged ( com.android.internal.widget.NumberPicker picker , int oldVal , int newVal ) { mYear = newVal ; adjustMaxDay ( ) ; if ( ( mOnDateChangedListener ) != null ) { mOnDateChangedListener.onDateChanged ( this , mYear , mMonth , mDay ) ; } updateDaySpinner ( ) ; }

Target:
private void notifyDateChanged ( ) { if ( ( mOnDateChangedListener ) != null ) { mOnDateChangedListener.onDateChanged ( this , mYear , mMonth , mDay ) ; } }
Source:
com.google.common.util.concurrent.ListenableFuture < T > lookup ( @ android.support.annotation.NonNull android.telecom.Call call ) ;

Target:
com.google.common.util.concurrent.ListenableFuture < T > lookup ( com.android.dialer.DialerPhoneNumber dialerPhoneNumber ) ;
Source:
public void test_F32_4_SCALE20_05_inRectangle ( ) { testReszie ( inX , inY , Element.DataType.FLOAT_32 , 4 , 2.0F , 0.5F ) ; }

Target:
public void test_F32_4_SCALE20_05_inRectangle ( ) { testResize ( inX , inY , Element.DataType.FLOAT_32 , 4 , 2.0F , 0.5F ) ; }
Source:
public void copy2DRangeFrom ( int xoff , int yoff , int w , int h , short [ ] data ) { validateIsInt16 ( ) ; copy2DRangeFromUnchecked ( xoff , yoff , w , h , data ) ; }

Target:
public void copy2DRangeFrom ( int xoff , int yoff , int w , int h , int [ ] data ) { validateIsInt32 ( ) ; copy2DRangeFromUnchecked ( xoff , yoff , w , h , data , Element.DataType.SIGNED_32 , data.length ) ; }
Source:
public void onCreate ( ) { if ( com.android.bluetooth.btservice.ProfileService.DBG ) { log ( "onCreate" ) ; } super . onCreate ( ) ; mAdapter = android.bluetooth.BluetoothAdapter.getDefaultAdapter ( ) ; mBinder = initBinder ( ) ; create ( ) ; }

Target:
public void onCreate ( ) { if ( com.android.bluetooth.btservice.ProfileService.DBG ) { android.util.Log.d ( mName , "onCreate" ) ; } super . onCreate ( ) ; mAdapter = android.bluetooth.BluetoothAdapter.getDefaultAdapter ( ) ; mBinder = initBinder ( ) ; create ( ) ; }
Source:
void updateCursor ( android.database.Cursor updatedCursor ) { this . cursor = updatedCursor ; this . realtimeRowProcessor.clearCache ( ) ; setHeaderPositions ( ) ; notifyDataSetChanged ( ) ; }

Target:
void updateCursor ( android.database.Cursor updatedCursor ) { this . cursor = updatedCursor ; this . realtimeRowProcessor.clearCache ( ) ; this . popCounts.reset ( ) ; setHeaderPositions ( ) ; notifyDataSetChanged ( ) ; }
Source:
native void socketSetOption ( int cmd , boolean on , java.lang.Object value ) throws java.net.SocketException ;

Target:
native void socketSetOption0 ( int cmd , boolean on , java.lang.Object value ) throws java.net.SocketException ;
Source:
public static com.android.bips.jni.PdfRender getInstance ( android.content.Context context ) { if ( ( ( com.android.bips.jni.PdfRender.sInstance ) == null ) && ( context != null ) ) { synchronized ( com.android.bips.jni.PdfRender.class ) { com.android.bips.jni.PdfRender.sInstance = new com.android.bips.jni.PdfRender ( context.getApplicationContext ( ) ) ; } } return com.android.bips.jni.PdfRender.sInstance ; }

Target:
public static com.android.bips.jni.PdfRender getInstance ( android.content.Context context ) { synchronized ( com.android.bips.jni.PdfRender.sLock ) { if ( ( ( com.android.bips.jni.PdfRender.sInstance ) == null ) && ( context != null ) ) { com.android.bips.jni.PdfRender.sInstance = new com.android.bips.jni.PdfRender ( context.getApplicationContext ( ) ) ; } return com.android.bips.jni.PdfRender.sInstance ; } }
Source:
public void parseAndKeepRawInput ( java.lang.String numberToParse , java.lang.String defaultRegion , com.google.i18n.phonenumbers.Phonenumber.PhoneNumber phoneNumber ) throws com.google.i18n.phonenumbers.NumberParseException { parseHelper ( numberToParse , defaultRegion , true , true , phoneNumber ) ; }

Target:
public void parse ( java.lang.CharSequence numberToParse , java.lang.String defaultRegion , com.google.i18n.phonenumbers.Phonenumber.PhoneNumber phoneNumber ) throws com.google.i18n.phonenumbers.NumberParseException { parseHelper ( numberToParse , defaultRegion , false , true , phoneNumber ) ; }
Source:
public static java.nio.ByteBuffer wrap ( byte [ ] array ) { return new java.nio.ReadWriteHeapByteBuffer ( array ) ; }

Target:
public static java.nio.ByteBuffer wrap ( byte [ ] array ) { return new java.nio.ByteArrayBuffer ( array ) ; }
Source:
public boolean isTerminated ( ) { return mIsTerminated ; }

Target:
public boolean isTerminated ( ) { return ( mIsTerminated ) || ( isInterrupted ( ) ) ; }
Source:
private java.lang.String readLine ( java.io.InputStream in , java.lang.StringBuffer sb ) throws java.io.IOException { return readToken ( in , sb , '\n' ) ; }

Target:
public android.content.pm.PackageStats getOrCreateCompilerPackageStats ( java.lang.String pkgName ) { return mCompilerStats.getOrCreatePackageStats ( pkgName ) ; }
Source:
public void testString ( ) throws java.lang.Throwable { final int resId = com.android.internal.R.string.phoneTypeHome ; setLocale ( "en_US" ) ; assertResource ( resId , "Home" , "Home" ) ; setLocale ( "sv_SE" ) ; assertResource ( resId , "Hem" , "Hem" ) ; }

Target:
public void testMatrix100001 ( ) throws java.lang.Throwable { final int resId = R.integer.matrix_100001 ; setLocale ( "sv_SE" ) ; assertResource ( resId , 100 , 100 , 600 ) ; }
Source:
public void actionPerformed ( com.intellij.openapi.actionSystem.AnActionEvent e ) { }

Target:
public void actionPerformed ( com.intellij.openapi.actionSystem.AnActionEvent e ) { showPopup ( e ) ; }
Source:
native void rsnScriptBindAllocation ( long con , long script , long alloc , int slot ) ;

Target:
native void rsnScriptSetTimeZone ( long con , long script , byte [ ] timeZone , boolean mUseInc ) ;
Source:
public boolean disconnect ( android.bluetooth.BluetoothDevice device ) { if ( com.android.bluetooth.mapclient.MceStateMachine.DBG ) { android.util.Log.d ( com.android.bluetooth.mapclient.MceStateMachine.TAG , ( "Disconnect Request " + ( device.getAddress ( ) ) ) ) ; } sendMessage ( com.android.bluetooth.mapclient.MceStateMachine.MSG_DISCONNECT , device ) ; return true ; }

Target:
public boolean disconnect ( ) { if ( com.android.bluetooth.mapclient.MceStateMachine.DBG ) { android.util.Log.d ( com.android.bluetooth.mapclient.MceStateMachine.TAG , ( "Disconnect Request " + ( mDevice.getAddress ( ) ) ) ) ; } sendMessage ( com.android.bluetooth.mapclient.MceStateMachine.MSG_DISCONNECT , mDevice ) ; return true ; }
Source:
public void testCompile ( ) throws java.lang.Exception { com.android.jack.test.toolchain.JackBasedToolchain toolchain = com.android.jack.test.toolchain.AbstractTestTools.getCandidateToolchain ( com.android.jack.test.toolchain.JackBasedToolchain.class ) ; toolchain.srcToExe ( com.android.jack.test.toolchain.AbstractTestTools.getClasspathAsString ( toolchain.getDefaultBootClasspath ( ) ) , com.android.jack.test.toolchain.AbstractTestTools.createTempDir ( ) , false , com.android.sched.SchedTest.SOURCE ) ; }

Target:
public void testCompile ( ) throws java.lang.Exception { com.android.jack.test.toolchain.JackBasedToolchain toolchain = com.android.jack.test.toolchain.AbstractTestTools.getCandidateToolchain ( com.android.jack.test.toolchain.JackBasedToolchain.class ) ; toolchain.addToClasspath ( toolchain.getDefaultBootClasspath ( ) ) . srcToExe ( com.android.jack.test.toolchain.AbstractTestTools.createTempDir ( ) , false , com.android.sched.SchedTest.SOURCE ) ; }
Source:
private void setImageDescriptor ( ) { org.eclipse.jface.resource.ImageDescriptor desc = com.android.ide.eclipse.adt.internal.editors.IconFactory.getInstance ( ) . getImageDescriptor ( com.android.ide.eclipse.adt.internal.wizards.templates.NewTemplateWizard.PROJECT_LOGO_LARGE ) ; setDefaultPageImageDescriptor ( desc ) ; }

Target:
protected java.util.List < org.eclipse.ltk.core.refactoring.Change > computeChanges ( ) { return mValues.computeChanges ( ) ; }
Source:
protected void setUp ( ) { }

Target:
protected void setUp ( ) { processDefault = java.util.TimeZone.getDefault ( ) ; }
Source:
public void waitForDownloadComplete ( ) throws java.lang.InterruptedException { assertTrue ( "Make sure you have WiFi or some other connectivity for this test." , mReceiveLatch.await ( 3 , java.util.concurrent.TimeUnit.SECONDS ) ) ; }

Target:
public void waitForDownloadComplete ( ) throws java.lang.InterruptedException { assertTrue ( "Make sure you have WiFi or some other connectivity for this test." , mReceiveLatch.await ( waitTimeMs , java.util.concurrent.TimeUnit.MILLISECONDS ) ) ; }
Source:
public int getContentLength ( ) { try { if ( ! ( connected ) ) { connect ( ) ; } } catch ( java.io.IOException e ) { } return length ; }

Target:
public long getContentLengthLong ( ) { try { if ( ! ( connected ) ) { connect ( ) ; } } catch ( java.io.IOException e ) { } return length ; }
Source:
public void setHostname ( java.lang.String hostname ) { this . hostname = hostname ; }

Target:
public void setHostname ( java.lang.String hostname ) { useSni = hostname != null ; wrappedHost = hostname ; }
Source:
java.util.Collection < java.lang.String > getConfiguredFilters ( @ com.android.annotations.NonNull com.android.build.gradle.internal.dsl.Splits splits ) { }

Target:
java.util.Collection < java.lang.String > getConfiguredFilters ( @ com.android.annotations.NonNull com.android.build.gradle.internal.dsl.Splits splits ) { return splits.getAbiFilters ( ) ; }
Source:
public void test_F32_2_SCALE05_20_inRectangle ( ) { testReszie ( inX , inY , Element.DataType.FLOAT_32 , 2 , 0.5F , 2.0F ) ; }

Target:
public void test_F32_2_SCALE05_20_inRectangle ( ) { testResize ( inX , inY , Element.DataType.FLOAT_32 , 2 , 0.5F , 2.0F ) ; }
Source:
public static java.lang.String getName ( java.lang.String localeID ) { java.lang.String tmpLocaleID ; if ( ( ( localeID != null ) && ( ! ( localeID.contains ( "@" ) ) ) ) && ( ( com.ibm.icu.util.ULocale.getShortestSubtagLength ( localeID ) ) == 1 ) ) { tmpLocaleID = com.ibm.icu.util.ULocale.forLanguageTag ( localeID ) . getName ( ) ; if ( ( tmpLocaleID.length ( ) ) == 0 ) { tmpLocaleID = localeID ; } } else { tmpLocaleID = localeID ; } java.lang.String name = com.ibm.icu.util.ULocale.nameCache.get ( tmpLocaleID ) ; if ( name == null ) { name = new com.ibm.icu.impl.LocaleIDParser ( tmpLocaleID ) . getName ( ) ; com.ibm.icu.util.ULocale.nameCache.put ( tmpLocaleID , name ) ; } return name ; }

Target:
protected java.lang.String createInstance ( java.lang.String tmpLocaleID , java.lang.Void unused ) { return new com.ibm.icu.impl.LocaleIDParser ( tmpLocaleID ) . getName ( ) ; }
Source:
public boolean isPathVisible ( ) { final com.google.gct.idea.appengine.wizard.ModuleTemplate moduleTemplate = myWizard.getState ( ) . get ( WizardConstants.SELECTED_MODULE_TYPE_KEY ) ; return ( ( moduleTemplate != null ) && ( ( myModuleTemplates ) != null ) ) && ( myModuleTemplates.contains ( moduleTemplate ) ) ; }

Target:
public boolean isPathVisible ( ) { final com.android.tools.idea.npw.ModuleTemplate moduleTemplate = myWizard.getState ( ) . get ( WizardConstants.SELECTED_MODULE_TYPE_KEY ) ; return ( ( moduleTemplate != null ) && ( ( myModuleTemplates ) != null ) ) && ( myModuleTemplates.contains ( moduleTemplate ) ) ; }
Source:
public static void w ( java.lang.Object objectPrefix , java.lang.String format , java.lang.Object ... args ) { if ( com.android.services.telephony.Log.WARN ) { android.util.Log.w ( com.android.services.telephony.Log.TAG , com.android.services.telephony.Log.buildMessage ( com.android.services.telephony.Log.getPrefixFromObject ( objectPrefix ) , format , args ) ) ; } }

Target:
public static void wtf ( java.lang.String prefix , java.lang.String format , java.lang.Object ... args ) { android.telecom.Log.wtf ( prefix , format , args ) ; }
Source:
public com.android.sched.util.log.StatisticOnlyTracer.SingletonEvent start ( @ javax.annotation.Nonnull com.android.sched.util.log.EventType type ) { event.eventCount.incrementAndGet ( ) ; return event ; }

Target:
public com.android.sched.util.log.StatisticOnlyTracer.SingletonEvent open ( @ javax.annotation.Nonnull com.android.sched.util.log.EventType type ) { event.eventCount.incrementAndGet ( ) ; return event ; }
Source:
public static java.lang.String getFolderSegment ( @ com.android.annotations.NonNull java.lang.String value ) { java.lang.String segment = value.toLowerCase ( java.util.Locale.US ) ; if ( segment.startsWith ( com.android.ide.common.resources.configuration.LocaleQualifier.PREFIX ) ) { return segment ; } return null ; }

Target:
public static java.lang.String getFolderSegment ( @ com.android.annotations.NonNull java.lang.String value ) { java.lang.String segment = value.toLowerCase ( java.util.Locale.US ) ; if ( segment.startsWith ( com.android.ide.common.resources.configuration.LocaleQualifier.BCP_47_PREFIX ) ) { return segment ; } return null ; }
Source:
public boolean accept ( org.eclipse.core.resources.IProject project ) { com.android.ide.eclipse.adt.internal.project.ProjectState state = com.android.ide.eclipse.adt.internal.sdk.Sdk.getProjectState ( project ) ; if ( state != null ) { return ( state.isLibrary ( ) ) == false ; } return false ; }

Target:
public boolean accept ( org.eclipse.core.resources.IProject project ) { com.android.ide.eclipse.adt.internal.sdk.ProjectState state = com.android.ide.eclipse.adt.internal.sdk.Sdk.getProjectState ( project ) ; if ( state != null ) { return ( state.isLibrary ( ) ) == false ; } return false ; }
Source:
private void finishWithResult ( int resultCode , android.content.Intent data ) { setTestResult ( resultCode , data ) ; finish ( ) ; }

Target:
private void finishWithResult ( int resultCode , android.content.Intent data ) { setTestResult ( resultCode , data ) ; finish ( ) ; android.app.cts.LaunchpadActivity.sCallingTest.activityFinished ( mResultCode , mData , mResultStack ) ; }
Source:
public void testDiv2 ( ) { com.android.utils.HtmlBuilder builder = new com.android.utils.HtmlBuilder ( ) ; assertEquals ( "<div style=\"padding: 10px; text-color: gray\">Hello</div>" , builder.beginDiv ( "padding: 10px; text-color: gray" ) . add ( "Hello" ) . endDiv ( ) . getHtml ( ) ) ; }

Target:
public void testAddDivWithPadding ( ) { com.android.utils.HtmlBuilder builder = new com.android.utils.HtmlBuilder ( ) ; assertEquals ( "<div style=\"padding: 10px; text-color: gray\">Hello</div>" , builder.beginDiv ( "padding: 10px; text-color: gray" ) . add ( "Hello" ) . endDiv ( ) . getHtml ( ) ) ; }
Source:
public void callSessionUpdateFailed ( com.android.ims.ImsReasonInfo reasonInfo ) throws android.os.RemoteException { mListener.callSessionUpdateFailed ( reasonInfo ) ; }

Target:
public void callSessionMergeFailed ( com.android.ims.ImsReasonInfo reasonInfo ) throws android.os.RemoteException { mListener.callSessionMergeFailed ( reasonInfo ) ; }
Source:
public void getAvailableNetworks ( android.os.Message response ) { android.util.Log.e ( com.android.internal.telephony.cdma.CDMAPhone.LOG_TAG , "getAvailableNetworks: not possible in CDMA" ) ; }

Target:
public void setOutgoingCallerIdDisplay ( int commandInterfaceCLIRMode , android.os.Message onComplete ) { android.telephony.Rlog.e ( com.android.internal.telephony.cdma.CDMAPhone.LOG_TAG , "setOutgoingCallerIdDisplay: not possible in CDMA" ) ; }
Source:
public void setMonetaryDecimalSeparator ( char sep ) { monetarySeparator = sep ; }

Target:
public void setMonetaryGroupingSeparator ( char sep ) { this . monetaryGroupingSeparator = sep ; this . monetaryGroupingSeparatorString = java.lang.String.valueOf ( sep ) ; }
Source:
native void rsnScriptForEach ( long con , long id , int slot , long ain , long aout , byte [ ] params ) ;

Target:
native void rsnScriptForEach ( long con , long incCon , long id , int slot , long ain , long aout , boolean mUseInc ) ;
Source:
public void setGlVersion ( int glVersion ) { mGlVersion = glVersion ; }

Target:
public int getCompositeVersionCode ( int versionCode ) { int trueVersionCode = versionCode * ( MultiApkExportHelper.OFFSET_VERSION_CODE ) ; trueVersionCode += ( getBuildInfo ( ) ) * ( MultiApkExportHelper.OFFSET_BUILD_INFO ) ; trueVersionCode += getMinor ( ) ; return trueVersionCode ; }
Source:
boolean isNullAccount ( java.lang.String account ) { if ( account == null ) return true ; account = account.trim ( ) ; return ( ( account.length ( ) ) == 0 ) || ( account.equals ( "null" ) ) ; }

Target:
public boolean onCreate ( ) { return true ; }
Source:
public java.util.Collection < java.io.File > getJniDirectories ( ) { return java.util.Collections.emptyList ( ) ; }

Target:
public java.util.Collection < java.io.File > getCDirectories ( ) { return java.util.Collections.emptyList ( ) ; }
Source:
public static java.lang.String toTitleCase ( java.lang.String str , android.icu.text.BreakIterator breakiter ) { return android.icu.lang.UCharacter.toTitleCase ( android.icu.util.ULocale.getDefault ( ) , str , breakiter ) ; }

Target:
public static java.lang.String toTitleCase ( java.lang.String str , android.icu.text.BreakIterator breakiter ) { return android.icu.lang.UCharacter.toTitleCase ( java.util.Locale.getDefault ( ) , str , breakiter , 0 ) ; }
Source:
public void run ( ) { postTarget.removeCallbacks ( failCallback ) ; setPassState ( mVerifyOverlayViewItem , true ) ; mOverlayViewVerified = true ; goToNextState ( postTarget , failCallback ) ; }

Target:
public void run ( ) { postTarget.removeCallbacks ( failCallback ) ; setPassState ( mVerifyOverlayViewSizeChanged , true ) ; mOverlayViewSizeChangedVerified = true ; goToNextState ( postTarget , failCallback ) ; }
Source:
public void onBindViewHolder ( android.support.v7.widget.TestViewHolder holder , int position ) { super . onBindViewHolder ( holder , position ) ; final android.support.v7.widget.GridLayoutManager.LayoutParams glp = ensureGridLp ( holder.itemView ) ; glp.height = 50 + ( position * 50 ) ; viewHolderMap.put ( position , holder ) ; }

Target:
public void onBeforeLayout ( android.support.v7.widget.RecyclerView.Recycler recycler , android.support.v7.widget.RecyclerView.State state ) { if ( ! ( state.isPreLayout ( ) ) ) { assertEquals ( "cache should be empty" , 0 , ssl.mSpanIndexCache.size ( ) ) ; } }
Source:
protected abstract void doApply ( java.util.zip.ZipFile patchFile , java.io.File toFile ) throws java.io.IOException ;

Target:
protected abstract void doApply ( com.intellij.updater.MultiZipFile patchFile , java.io.File backupDir , java.io.File toFile ) throws java.io.IOException ;
Source:
java.util.Collection < com.android.jack.ir.ast.JAnnotationLiteral > getAnnotations ( ) { return com.android.jack.Jack.getUnmodifiableCollections ( ) . getUnmodifiableCollection ( annotations.values ( ) ) ; }

Target:
java.util.Collection < com.android.jack.ir.ast.JAnnotation > getAnnotationTypes ( ) { return com.android.jack.Jack.getUnmodifiableCollections ( ) . getUnmodifiableCollection ( annotations.keySet ( ) ) ; }
Source:
public boolean containsValue ( @ javax.annotation.Nullable java.lang.Object value ) { return ( value != null ) && ( com.google.common.collect.Maps.containsValueImpl ( this , value ) ) ; }

Target:
private com.google.common.collect.ImmutableMap < K , com.google.common.collect.ImmutableSet < V > > viewMapValuesAsSingletonSets ( ) { return new com.google.common.collect.ImmutableMap.MapViewOfValuesAsSingletonSets < K , V > ( this ) ; }
Source:
public boolean isUpdateFor ( @ com.android.annotations.NonNull com.android.sdklib.repository.descriptors.IPkgDesc existingDesc ) { if ( ( mCustomIsUpdateFor ) != null ) { return mCustomIsUpdateFor.isUpdateFor ( this , existingDesc ) ; } else { return isGenericUpdateFor ( existingDesc ) ; } }

Target:
public boolean isUpdateFor ( @ com.android.annotations.NonNull com.android.sdklib.repository.descriptors.IPkgDesc existingDesc , @ com.android.annotations.NonNull com.android.sdklib.repository.FullRevision.PreviewComparison previewComparison ) { if ( ( mCustomIsUpdateFor ) != null ) { return mCustomIsUpdateFor.isUpdateFor ( this , existingDesc ) ; } else { return isGenericUpdateFor ( existingDesc , previewComparison ) ; } }
Source:
private static void initUnchangeableSystemProperty ( java.lang.String name , java.lang.String value ) { java.lang.System.checkPropertyName ( name ) ; java.lang.System.unchangeableSystemProperties.put ( name , value ) ; }

Target:
public static void setUnchangeableSystemProperty ( java.lang.String name , java.lang.String value ) { java.lang.System.checkPropertyName ( name ) ; java.lang.System.unchangeableSystemProperties.put ( name , value ) ; }
Source:
public void run ( ) { mListView.setDividerHeight ( 20 ) ; }

Target:
public void run ( ) { mListView.setDividerHeight ( 20 ) ; drawWaiter.registerDrawCompleteCallback ( mListView ) ; }
Source:
private T getLoadedProgram ( ) { return loadedProgram.get ( ) ; }

Target:
private T getLoadedProgram ( @ javax.annotation.Nonnull com.android.jack.server.JackHttpServer.Assertion status ) { return loadedProgram.get ( status ) ; }
Source:
public java.security.cert.Certificate [ ] getPeerCertificates ( ) throws javax.net.ssl.SSLPeerUnverifiedException { checkPeerCertificatesPresent ( ) ; return peerCertificates ; }

Target:
protected java.security.cert.X509Certificate [ ] getX509PeerCertificates ( ) throws javax.net.ssl.SSLPeerUnverifiedException { if ( ( ( peerCertificates ) == null ) || ( ( peerCertificates.length ) == 0 ) ) { throw new javax.net.ssl.SSLPeerUnverifiedException ( "No peer certificates" ) ; } return peerCertificates ; }
Source:
public java.lang.String getIccId ( ) { return mIccId ; }

Target:
public java.lang.String getIccId ( ) { if ( ( mCarrierTestOverride.isInTestMode ( ) ) && ( ( mFakeIccId ) != null ) ) { return mFakeIccId ; } else { return mIccId ; } }
Source:
public void testHasBackground ( ) { android.view.View viewWithBackground = new android.view.View ( context ) ; viewWithBackground.setBackground ( context.getDrawable ( R.drawable.drawable_1 ) ) ; assertTrue ( android.support.test.espresso.matcher.ViewMatchers.hasBackground ( R.drawable.drawable_1 ) . matches ( viewWithBackground ) ) ; }

Target:
public void hasBackgroundTest ( ) { android.view.View viewWithBackground = new android.view.View ( context ) ; viewWithBackground.setBackground ( context.getDrawable ( R.drawable.drawable_1 ) ) ; org.junit.Assert.assertTrue ( android.support.test.espresso.matcher.ViewMatchers.hasBackground ( R.drawable.drawable_1 ) . matches ( viewWithBackground ) ) ; }
Source:
public void testEquals_DiffCharsetClass ( ) { tests.api.java.nio.charset.CharsetTest.MockCharset c1 = new tests.api.java.nio.charset.CharsetTest.MockCharset ( "mock" , null ) ; tests.api.java.nio.charset.CharsetTest.MockCharset2 c2 = new tests.api.java.nio.charset.CharsetTest.MockCharset2 ( "mock" , null ) ; assertTrue ( c1.equals ( c2 ) ) ; assertTrue ( c2.equals ( c1 ) ) ; }

Target:
public void testEquals_DiffCharsetClass ( ) { org.apache.harmony.tests.java.nio.charset.CharsetTest.MockCharset c1 = new org.apache.harmony.tests.java.nio.charset.CharsetTest.MockCharset ( "mock" , null ) ; org.apache.harmony.tests.java.nio.charset.CharsetTest.MockCharset2 c2 = new org.apache.harmony.tests.java.nio.charset.CharsetTest.MockCharset2 ( "mock" , null ) ; assertTrue ( c1.equals ( c2 ) ) ; assertTrue ( c2.equals ( c1 ) ) ; }
Source:
public void onSmsReady ( ) throws com.android.ims.ImsException { try { mImsServiceProxy.onSmsReady ( ) ; } catch ( android.os.RemoteException e ) { throw new com.android.ims.ImsException ( "onSmsReady()" , e , ImsReasonInfo.CODE_LOCAL_IMS_SERVICE_DOWN ) ; } }

Target:
public void acknowledgeSmsReport ( int token , int messageRef , int result ) throws com.android.ims.ImsException { try { mMmTelFeatureConnection.acknowledgeSmsReport ( token , messageRef , result ) ; } catch ( android.os.RemoteException e ) { throw new com.android.ims.ImsException ( "acknowledgeSmsReport()" , e , android.telephony.ims.ImsReasonInfo.CODE_LOCAL_IMS_SERVICE_DOWN ) ; } }
Source:
void addTest ( com.android.ide.eclipse.adt.internal.launch.junit.runtime.TestCaseReference testRef ) { mTests.add ( testRef ) ; }

Target:
void addTest ( com.android.ide.eclipse.adt.internal.launch.junit.runtime.AndroidTestReference testRef ) { mTests.add ( testRef ) ; }
Source:
public boolean setRadioPower ( boolean turnOn ) { return setRadioPowerForSubscriber ( getDefaultSubscription ( ) , turnOn ) ; }

Target:
public java.util.List < android.telephony.TelephonyHistogram > getTelephonyHistograms ( ) { enforceModifyPermissionOrCarrierPrivilege ( getDefaultSubscription ( ) ) ; return com.android.internal.telephony.RIL.getTelephonyRILTimingHistograms ( ) ; }
Source:
public vogar.Toolchain defaultToolchain ( ) { switch ( this ) { case JVM : return Toolchain.JAVAC ; default : return Toolchain.DX ; } }

Target:
public vogar.Toolchain defaultToolchain ( ) { switch ( this ) { case JVM : return Toolchain.JAVAC ; default : return Toolchain.D8 ; } }
Source:
public void shutdown ( boolean confirm ) { com.android.server.power.ShutdownThread.shutdown ( mContext , confirm ) ; }

Target:
public void shutdown ( boolean confirm ) { com.android.server.power.ShutdownThread.shutdown ( mContext , PowerManager.SHUTDOWN_USER_REQUESTED , confirm ) ; }
Source:
public static < T > java.util.List < T > asList ( T ... array ) { return new java.util.Arrays.ArrayList < T > ( array ) ; }

Target:
public static < T > java.util.List < T > asList ( T ... array ) { return new java.util.Arrays.ArrayAdapter < T > ( array ) ; }
Source:
protected void runImpl ( ) throws com.android.cts.DeviceDisconnectedException { mDevice.runTest ( this ) ; }

Target:
protected void runImpl ( android.annotation.cts.Profile profile ) throws com.android.cts.DeviceDisconnectedException { mDevice.runTest ( this , profile ) ; }
Source:
private void assertPinnedToWifiWithCellDefault ( ) { assertEquals ( mWiFiNetworkAgent.getNetwork ( ) , mCm.getBoundNetworkForProcess ( ) ) ; assertEquals ( mCellNetworkAgent.getNetwork ( ) , mCm.getActiveNetwork ( ) ) ; }

Target:
private void assertNotPinnedToWifi ( ) { org.junit.Assert.assertNull ( mCm.getBoundNetworkForProcess ( ) ) ; org.junit.Assert.assertEquals ( mCellNetworkAgent.getNetwork ( ) , mCm.getActiveNetwork ( ) ) ; }
Source:
public void setText ( java.text.CharacterIterator newText ) { newText.current ( ) ; wrapped.setText ( newText ) ; }

Target:
public void setText ( java.text.CharacterIterator newText ) { if ( newText == null ) { throw new java.lang.NullPointerException ( "newText == null" ) ; } newText.current ( ) ; wrapped.setText ( newText ) ; }
Source:
public void processNewLines ( java.lang.String [ ] lines ) { for ( java.lang.String line : lines ) { if ( ( line.length ( ) ) > 0 ) { device.setMountingPoint ( name , line ) ; } } }

Target:
public void processNewLines ( java.lang.String [ ] lines ) { for ( java.lang.String line : lines ) { if ( ! ( line.isEmpty ( ) ) ) { device.setMountingPoint ( name , line ) ; } } }
Source:
synchronized void nScriptInvoke ( long id , int slot ) { validate ( ) ; rsnScriptInvoke ( mContext , id , slot ) ; }

Target:
synchronized void nScriptBindAllocation ( long script , long alloc , int slot , boolean mUseInc ) { validate ( ) ; long curCon = mContext ; if ( mUseInc ) { curCon = mIncCon ; } rsnScriptBindAllocation ( curCon , script , alloc , slot , mUseInc ) ; }
Source:
private void onIccSwap ( boolean isAdded ) { boolean isHotSwapSupported = mContext.getResources ( ) . getBoolean ( R.bool.config_hotswapCapable ) ; if ( isHotSwapSupported ) { log ( "onIccSwap: isHotSwapSupported is true, don't prompt for rebooting" ) ; return ; } log ( "onIccSwap: isHotSwapSupported is false, prompt for rebooting" ) ; promptForRestart ( isAdded ) ; }

Target:
public java.util.List < java.lang.String > getCarrierPackageNamesForIntent ( android.content.pm.PackageManager packageManager , android.content.Intent intent ) { if ( ( mUiccProfile ) != null ) { return mUiccProfile.getCarrierPackageNamesForIntent ( packageManager , intent ) ; } else { return null ; } }
Source:
public void error ( org.xml.sax.SAXParseException e ) { log.error ( Severity.ERROR , new com.android.manifmerger.IMergerLog.FileAndLine ( xmlFile.getName ( ) , 0 ) , "Error when parsing: %1$s" , e.toString ( ) ) ; }

Target:
public void error ( org.xml.sax.SAXParseException e ) { log.error ( Severity.ERROR , new com.android.manifmerger.IMergerLog.FileAndLine ( xmlFile.getAbsolutePath ( ) , 0 ) , "Error when parsing: %1$s" , e.toString ( ) ) ; }
Source:
public final java.lang.String toString ( ) { java.lang.String result = cachedToStringResult ; if ( result == null ) { result = cachedToStringResult = java.util.Locale.toNewString ( languageCode , countryCode , variantCode ) ; } return result ; }

Target:
public final java.lang.String toString ( ) { java.lang.String result = cachedToStringResult ; if ( result == null ) { result = cachedToStringResult = java.util.Locale.toNewString ( languageCode , countryCode , variantCode , scriptCode , extensions ) ; } return result ; }
Source:
public void testShortNumberMetadataContainsData ( ) throws java.lang.Exception { com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata franceShortNumberMetadata = com.google.i18n.phonenumbers.MetadataManager.getShortNumberMetadataForRegion ( "FR" ) ; assertNotNull ( franceShortNumberMetadata ) ; assertTrue ( franceShortNumberMetadata.hasShortCode ( ) ) ; }

Target:
public void testShortNumberMetadataContainsData ( ) throws java.lang.Exception { com.google.i18n.phonenumbers.nano.Phonemetadata.PhoneMetadata franceShortNumberMetadata = com.google.i18n.phonenumbers.MetadataManager.getShortNumberMetadataForRegion ( "FR" ) ; assertNotNull ( franceShortNumberMetadata ) ; assertTrue ( ( ( franceShortNumberMetadata.shortCode ) != null ) ) ; }
Source:
public void testLog1PF32 ( ) { script_f32 = new android.renderscript.cts.ScriptC_log1p_f32 ( mRS , mRes , R.raw.log1p_f32 ) ; doF32 ( 171 , 2 ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; script_f32 = new android.renderscript.cts.ScriptC_log1p_f32 ( mRS ) ; }
Source:
static com.android.manifmerger.XmlDocument xmlDocumentFromString ( com.android.manifmerger.XmlLoader.SourceLocation location , java.lang.String input ) throws java.io.IOException , javax.xml.parsers.ParserConfigurationException , org.xml.sax.SAXException { return com.android.manifmerger.XmlLoader.load ( com.android.manifmerger.TestUtils.NULL_RESOLVER , com.android.manifmerger.TestUtils.NO_PROPERTY_RESOLVER , location , input , XmlDocument.Type.MAIN ) ; }

Target:
static com.android.manifmerger.XmlDocument xmlDocumentFromString ( com.android.manifmerger.XmlLoader.SourceLocation location , java.lang.String input ) throws java.io.IOException , javax.xml.parsers.ParserConfigurationException , org.xml.sax.SAXException { return com.android.manifmerger.XmlLoader.load ( com.android.manifmerger.TestUtils.NULL_RESOLVER , com.android.manifmerger.TestUtils.NO_PROPERTY_RESOLVER , location , input , XmlDocument.Type.MAIN , com.google.common.base.Optional.< java.lang.String > absent ( ) ) ; }
Source:
public void testNoDpiMix ( ) throws java.lang.Exception { mEnabled = com.android.tools.lint.checks.IconDetectorTest.ALL ; assertEquals ( ( "res/drawable-mdpi/frame.xml: Warning: The following images appear in both -nodpi and in a density folder: frame.png, frame.xml [IconNoDpi]\n" + ( ( ( ( " res/drawable-mdpi/frame.png: <No location-specific message\n" + "res/drawable-nodpi/frame.xml: Warning: The following images appear both as density independent .xml files and as bitmap files: res/drawable-mdpi/frame.png, res/drawable-nodpi/frame.xml [IconXmlAndPng]\n" ) + " res/drawable-mdpi/frame.png: <No location-specific message\n" ) + "res: Warning: Missing density variation folders in res: drawable-hdpi, drawable-xhdpi, drawable-xxhdpi [IconMissingDensityFolder]\n" ) + "0 errors, 3 warnings\n" ) ) , lintProject ( "res/drawable-mdpi/frame.png" , "res/drawable/states.xml=>res/drawable-nodpi/frame.xml" ) ) ; }

Target:
public void testNoDpiMix ( ) throws java.lang.Exception { mEnabled = com.android.tools.lint.checks.IconDetectorTest.ALL ; assertEquals ( ( "res/drawable-mdpi/frame.xml: Warning: The following images appear in both -nodpi and in a density folder: frame.png, frame.xml [IconNoDpi]\n" + ( ( ( ( " res/drawable-mdpi/frame.png: <No location-specific message\n" + "res/drawable-nodpi/frame.xml: Warning: The following images appear both as density independent .xml files and as bitmap files: res/drawable-mdpi/frame.png, res/drawable-nodpi/frame.xml [IconXmlAndPng]\n" ) + " res/drawable-mdpi/frame.png: <No location-specific message\n" ) + "res: Warning: Missing density variation folders in res: drawable-hdpi, drawable-xhdpi, drawable-xxhdpi, drawable-xxxhdpi [IconMissingDensityFolder]\n" ) + "0 errors, 3 warnings\n" ) ) , lintProject ( "res/drawable-mdpi/frame.png" , "res/drawable/states.xml=>res/drawable-nodpi/frame.xml" ) ) ; }
Source:
final double getDouble ( int offset ) { return sun.nio.ch.NativeObject.unsafe.getDouble ( ( offset + ( address ) ) ) ; }

Target:
final double getDouble ( int offset ) { return sun.nio.ch.NativeObject.unsafe.getDouble$ ( ( offset + ( address ) ) ) ; }
Source:
public void getBasebandVersionResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , java.lang.String var2 ) { }

Target:
public void getBasebandVersionResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , java.lang.String version ) { responseString ( responseInfo , version ) ; }
Source:
public static < T > org.hamcrest.org.hamcrest.Matcher < T > nullValue ( ) { return org.hamcrest.core.IsNull.nullValue ( ) ; }

Target:
public static < T > org.hamcrest.core.AnyOf < T > anyOf ( org.hamcrest.org.hamcrest.Matcher < T > first , org.hamcrest.org.hamcrest.Matcher < ? extends T > second , org.hamcrest.org.hamcrest.Matcher < ? extends T > third ) { return org.hamcrest.core.AnyOf.< org.hamcrest.T > anyOf ( first , second , third ) ; }
Source:
protected void onPause ( ) { super . onPause ( ) ; activePeer.onActivityPause ( ) ; }

Target:
protected void onPause ( ) { super . onPause ( ) ; activePeer.onActivityPause ( ) ; android.support.v4.content.LocalBroadcastManager.getInstance ( this ) . unregisterReceiver ( showBlockReportSpamDialogReceiver ) ; }
Source:
protected void onExportComplete ( ) { if ( ( mExportProgressDialog ) != null ) { mExportProgressDialog.dismiss ( ) ; mExportProgressDialog = null ; } }

Target:
protected void onExportComplete ( ) { if ( ( mExportProgressDialog ) != null ) { mExportProgressDialog.dismiss ( ) ; mExportProgressDialog = null ; mExportProgress = 0 ; } }