auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public com.android.internal.telephony.ims.IsimRecords getIsimRecords ( ) { return mIccRecords.getIsimRecords ( ) ; }

Target:
protected void registerForRuimRecordEvents ( ) { com.android.internal.telephony.IccRecords r = mIccRecords.get ( ) ; if ( r == null ) { return ; } r.registerForNewSms ( this , com.android.internal.telephony.cdma.EVENT_NEW_ICC_SMS , null ) ; super . registerForRuimRecordEvents ( ) ; }
Source:
public boolean isEmpty ( ) { return this . isEmpty ( ) ; }

Target:
public java.util.Collection < V > values ( ) { java.util.Collection < V > vs = values ; return vs != null ? vs : ( values = new Values ( this ) ) ; }
Source:
static int testObjectInScope ( ) { java.lang.Object a = Main.array [ 0 ] ; return Main.doStaticNativeCallRef ( ) ; }

Target:
static int $noinline$testObjectInScope ( ) { java.lang.Object a = Main.array [ 0 ] ; return Main.doStaticNativeCallRef ( ) ; }
Source:
private boolean markIfNecessary ( @ javax.annotation.Nonnull com.android.sched.marker.MarkerManager node ) { if ( ! ( node.containsMarker ( com.android.jack.shrob.obfuscation.KeepNameMarker.class ) ) ) { return ( node.addMarkerIfAbsent ( new com.android.jack.shrob.obfuscation.KeepNameMarker ( ) ) ) == null ; } else { return false ; } }

Target:
private boolean markIfNecessary ( @ javax.annotation.Nonnull com.android.sched.marker.MarkerManager node ) { synchronized ( node ) { if ( ! ( isMarked ( node ) ) ) { node.addMarker ( new com.android.jack.shrob.obfuscation.KeepNameMarker ( ) ) ; return true ; } return false ; } }
Source:
private boolean isWatch ( ) { return ( ( getContext ( ) . getResources ( ) . getConfiguration ( ) . uiMode ) & ( android.content.res.Configuration.UI_MODE_TYPE_WATCH ) ) == ( android.content.res.Configuration.UI_MODE_TYPE_WATCH ) ; }

Target:
private boolean isWatch ( ) { return ( ( getContext ( ) . getResources ( ) . getConfiguration ( ) . uiMode ) & ( android.content.res.Configuration.UI_MODE_TYPE_MASK ) ) == ( android.content.res.Configuration.UI_MODE_TYPE_WATCH ) ; }
Source:
private static void printUsage ( ) { java.lang.System.err.println ( "Convert API files into a more manageable file\n" ) ; java.lang.System.err.println ( "Usage\n" ) ; java.lang.System.err.println ( "\tApiCheck [enum] FOLDER OUTFILE\n" ) ; java.lang.System.exit ( 1 ) ; }

Target:
private static void printUsage ( ) { java.lang.System.err.println ( "Generates a single API file from the content of an SDK.\n" ) ; java.lang.System.err.println ( "Usage\n" ) ; java.lang.System.err.println ( "\tApiCheck SDKFOLDER OUTFILE\n" ) ; java.lang.System.exit ( 1 ) ; }
Source:
public void removeNetworkAsCurrentUser ( ) throws java.lang.Exception { addNetworkAndVerifySuccess ( ) ; removeNetworkAndVerifySuccess ( ) ; }

Target:
public void connectionFailureDoesNotSetHasEverConnectedTrue ( ) throws java.lang.Exception { testDhcpFailure ( ) ; verify ( mWifiConfigManager , never ( ) ) . updateNetworkAfterConnect ( 0 ) ; }
Source:
public java.lang.reflect.TypeVariable < java.lang.reflect.Constructor < T > > [ ] getTypeParameters ( ) { java.lang.reflect.GenericInfo info = java.lang.reflect.Constructor.getMethodOrConstructorGenericInfo ( ) ; return ( ( java.lang.reflect.TypeVariable < java.lang.reflect.Constructor < T > > [ ] ) ( info.formalTypeParameters.clone ( ) ) ) ; }

Target:
public java.lang.reflect.TypeVariable < java.lang.reflect.Constructor < T > > [ ] getTypeParameters ( ) { java.lang.reflect.GenericInfo info = java.lang.reflect.Constructor.getMethodOrConstructorGenericInfoInternal ( ) ; return ( ( java.lang.reflect.TypeVariable < java.lang.reflect.Constructor < T > > [ ] ) ( info.formalTypeParameters.clone ( ) ) ) ; }
Source:
public com.google.common.util.concurrent.ListenableFuture < com.google.common.collect.ImmutableMap < com.android.dialer.DialerPhoneNumber , com.android.dialer.phonelookup.PhoneLookupInfo > > getMostRecentPhoneLookupInfo ( com.google.common.collect.ImmutableMap < com.android.dialer.DialerPhoneNumber , com.android.dialer.phonelookup.PhoneLookupInfo > existingInfoMap ) { return backgroundExecutorService.submit ( ( ) -> bulkUpdateInternal ( existingInfoMap ) ) ; }

Target:
public com.google.common.util.concurrent.ListenableFuture < com.google.common.collect.ImmutableMap < com.android.dialer.DialerPhoneNumber , com.android.dialer.phonelookup.PhoneLookupInfo > > getMostRecentPhoneLookupInfo ( com.google.common.collect.ImmutableMap < com.android.dialer.DialerPhoneNumber , com.android.dialer.phonelookup.PhoneLookupInfo > existingInfoMap ) { return backgroundExecutorService.submit ( ( ) -> getMostRecentPhoneLookupInfoInternal ( existingInfoMap ) ) ; }
Source:
public void setEditor ( com.android.ide.eclipse.adt.internal.editors.AndroidEditor editor ) { if ( ( mUiParent ) == null ) { mEditor = editor ; } else { mUiParent.setEditor ( editor ) ; } }

Target:
public void setEditor ( com.android.ide.eclipse.adt.internal.editors.AndroidXmlEditor editor ) { if ( ( mUiParent ) == null ) { mEditor = editor ; } else { mUiParent.setEditor ( editor ) ; } }
Source:
public boolean handleWarning ( java.lang.String message ) { return true ; }

Target:
public boolean handleWarning ( java.lang.String message ) { com.android.ide.eclipse.adt.AdtPlugin.displayWarning ( "Android SDK Verification" , message ) ; return true ; }
Source:
public java.lang.String getDescription ( ) { return baseVFS.getLocation ( ) . getDescription ( ) ; }

Target:
protected com.android.sched.util.location.Location getVFSLocation ( ) { return baseVFS.getLocation ( ) ; }
Source:
public void setQualifier ( com.android.ide.eclipse.adt.internal.resources.configurations.ResourceQualifier qualifier ) { com.android.ide.eclipse.adt.internal.resources.configurations.NetworkCodeQualifier q = ( ( com.android.ide.eclipse.adt.internal.resources.configurations.NetworkCodeQualifier ) ( qualifier ) ) ; mText.setText ( java.lang.Integer.toString ( q.getCode ( ) ) ) ; }

Target:
public void setQualifier ( com.android.ide.common.resources.configuration.ResourceQualifier qualifier ) { com.android.ide.common.resources.configuration.NetworkCodeQualifier q = ( ( com.android.ide.common.resources.configuration.NetworkCodeQualifier ) ( qualifier ) ) ; mText.setText ( java.lang.Integer.toString ( q.getCode ( ) ) ) ; }
Source:
com.android.sdklib.repository.FullRevision getPlatformToolsRevision ( ) ;

Target:
com.android.sdklib.IAndroidTarget getTarget ( ) ;
Source:
public void onSubscriptionsChanged ( ) { if ( com.android.phone.MobileNetworkSettings.MobileNetworkFragment.DBG ) com.android.phone.MobileNetworkSettings.MobileNetworkFragment.log ( "onSubscriptionsChanged:" ) ; initializeSubscriptions ( ) ; }

Target:
public void onServiceDisconnected ( android.content.ComponentName className ) { if ( com.android.phone.MobileNetworkSettings.MobileNetworkFragment.DBG ) com.android.phone.MobileNetworkSettings.MobileNetworkFragment.log ( "connection disconnected, cleaning local binding." ) ; mNetworkQueryService = null ; setNetworkQueryService ( ) ; }
Source:
void deviceDisconnected ( java.lang.String bdaddr ) { }

Target:
void deviceDisconnected ( java.lang.String bdaddr ) { android.util.Log.i ( com.android.bluetooth.avrcp.AvrcpTargetService.TAG , ( "deviceDisconnected: bdaddr=" + bdaddr ) ) ; mVolumeManager.deviceDisconnected ( bdaddr ) ; }
Source:
public void setRealm ( java.lang.String realm ) { setFieldValue ( android.net.wifi.WifiEnterpriseConfig.REALM_KEY , realm , "" ) ; }

Target:
public java.lang.String getRealm ( ) { return getFieldValue ( android.net.wifi.WifiEnterpriseConfig.REALM_KEY ) ; }
Source:
public javax.net.ssl.SSLSession getSession ( ) { if ( ( sslSession ) == null ) { try { startHandshake ( ) ; } catch ( java.io.IOException e ) { return org.conscrypt.SSLSessionImpl.getNullSession ( ) ; } } return sslSession ; }

Target:
public javax.net.ssl.SSLSession getSession ( ) { if ( ( sslSession ) == null ) { try { waitForHandshake ( ) ; } catch ( java.io.IOException e ) { return org.conscrypt.SSLSessionImpl.getNullSession ( ) ; } } return sslSession ; }
Source:
protected boolean allowCompilationErrors ( ) { return true ; }

Target:
protected boolean skipExtraTokenChecks ( ) { return true ; }
Source:
public static java.lang.String getExpectedType ( @ com.android.annotations.NonNull java.lang.String errorMessage ) { return com.android.tools.lint.detector.api.LintUtils.findSubstring ( errorMessage , "value of type @" , "/" ) ; }

Target:
public static java.lang.String getExpectedType ( @ com.android.annotations.NonNull java.lang.String message , @ com.android.annotations.NonNull com.android.tools.lint.detector.api.TextFormat format ) { return com.android.tools.lint.detector.api.LintUtils.findSubstring ( format.toText ( message ) , "value of type @" , "/" ) ; }
Source:
public com.android.ide.common.rendering.api.Density getDensity ( ) { return com.android.ide.common.rendering.api.Density.getEnum ( mDensity.getDpi ( ) ) ; }

Target:
public com.android.ide.common.rendering.api.Density getDensity ( ) { return com.android.ide.common.rendering.api.Density.getEnum ( mDensity.getDpiValue ( ) ) ; }
Source:
public void setVoiceMessageWaiting ( int line , int countWaiting ) { com.android.internal.telephony.IccRecords r = mIccRecords.get ( ) ; if ( r != null ) { r.setVoiceMessageWaiting ( line , countWaiting ) ; } }

Target:
public com.android.internal.telephony.uicc.UsimServiceTable getUsimServiceTable ( ) { com.android.internal.telephony.uicc.IccRecords r = mIccRecords.get ( ) ; return r != null ? r.getUsimServiceTable ( ) : null ; }
Source:
private android.os.Message obtainMessageWithArg2 ( android.os.Message srcMsg ) { android.os.Message msg = android.os.Message.obtain ( ) ; msg.arg2 = srcMsg.arg2 ; return msg ; }

Target:
private android.os.Message obtainMessageWithWhatAndArg2 ( android.os.Message srcMsg , int what ) { android.os.Message msg = android.os.Message.obtain ( ) ; msg.what = what ; msg.arg2 = srcMsg.arg2 ; return msg ; }
Source:
public java.lang.StringBuffer format ( double number , java.lang.StringBuffer toAppendTo , java.text.FieldPosition pos ) { return format ( number , null , toAppendTo , pos ) ; }

Target:
public android.icu.util.CurrencyAmount parseCurrency ( java.lang.CharSequence text , java.text.ParsePosition parsePosition ) { throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
public com.google.common.util.concurrent.ListenableFuture < java.lang.Boolean > isDirty ( com.google.common.collect.ImmutableSet < com.android.dialer.DialerPhoneNumber > phoneNumbers ) { return com.google.common.util.concurrent.MoreExecutors.newDirectExecutorService ( ) . submit ( ( ) -> isDirtyInternal ( phoneNumbers ) ) ; }

Target:
public com.google.common.util.concurrent.ListenableFuture < java.lang.Boolean > isDirty ( com.google.common.collect.ImmutableSet < com.android.dialer.DialerPhoneNumber > phoneNumbers ) { return backgroundExecutorService.submit ( ( ) -> isDirtyInternal ( phoneNumbers ) ) ; }
Source:
public static double $opt$getDoubleField ( Main m ) { return m.doubleField ; }

Target:
public static double $opt$noinline$getDoubleField ( Main m ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return m.doubleField ; }
Source:
void switchAppsUsingRecents ( ) throws android.os.RemoteException { android.util.Log.d ( android.autofillservice.cts.UiBot.TAG , "switchAppsUsingRecents()" ) ; mDevice.pressRecentApps ( ) ; mDevice.pressRecentApps ( ) ; }

Target:
void switchAppsUsingRecents ( ) throws java.lang.Exception { android.util.Log.d ( android.autofillservice.cts.UiBot.TAG , "switchAppsUsingRecents()" ) ; mDevice.pressRecentApps ( ) ; android.os.SystemClock.sleep ( android.autofillservice.cts.Helper.UI_RECENTS_SWITCH_TIMEOUT_MS ) ; mDevice.pressRecentApps ( ) ; }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent arg0 ) { onRepair ( ) ; }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent arg0 ) { onDelete ( ) ; }
Source:
public void testHardwareProxyTvInputService ( ) throws java.lang.Throwable { if ( ! ( android.media.tv.cts.Utils.hasTvInputFramework ( getActivity ( ) ) ) ) { return ; } for ( final android.media.tv.TvInputInfo info : mPassthroughInputList ) { verifyCommandTuneAndHardwareVideoAvailable ( info ) ; } }

Target:
public void testHardwareProxyTvInputService ( ) throws java.lang.Throwable { if ( ! ( android.media.tv.cts.Utils.hasTvInputFramework ( getActivity ( ) ) ) ) { return ; } for ( final android.media.tv.TvInputInfo info : mPassthroughInputList ) { verifyCommandTuneAndHardwareVideoAvailability ( info ) ; } }
Source:
public void reload ( ) { if ( checkNeedsPost ( ) ) { mRunQueue.addTask ( new java.lang.Runnable ( ) { @ java.lang.Override public void run ( ) { reload ( ) ; } } ) ; return ; } mAwContents.reload ( ) ; }

Target:
public void stopLoading ( ) { if ( checkNeedsPost ( ) ) { mRunQueue.addTask ( new java.lang.Runnable ( ) { @ java.lang.Override public void run ( ) { stopLoading ( ) ; } } ) ; return ; } mAwContents.stopLoading ( ) ; }
Source:
public void onClick ( android.content.DialogInterface dialog , int which ) { updateState ( com.android.mms.ui.ManageSimMessages.SHOW_BUSY ) ; deleteFromSim ( cursor ) ; dialog.dismiss ( ) ; }

Target:
public void onChange ( boolean selfUpdate ) { refreshMessageList ( ) ; }
Source:
protected void ensureAll ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethod loaded ) { }

Target:
public void ensureBody ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethod loaded ) { }
Source:
private synchronized void releaseView ( android.view.View view ) { mActionPool.offer ( view ) ; ( mActionRecycled ) ++ ; }

Target:
private synchronized void releaseView ( android.view.View view ) { if ( ! ( view instanceof com.android.contacts.ui.widget.CheckableImageView ) ) { return ; } mActionPool.offer ( view ) ; ( mActionRecycled ) ++ ; }
Source:
public com.android.ims.internal.IImsMultiEndpoint getMultiEndpointInterface ( int slotId , int featureType , int sessionId ) throws android.os.RemoteException { return null ; }

Target:
public com.android.ims.internal.IImsUt getUtInterface ( int slotId , int featureType ) throws android.os.RemoteException { return null ; }
Source:
public void testEnterSoftApModeFromDifferentState ( ) throws java.lang.Exception { when ( mWifiInjector.makeWificond ( ) ) . thenReturn ( mWificond ) ; mWifiStateMachinePrime.enterClientMode ( ) ; mLooper.dispatchNext ( ) ; org.junit.Assert.assertEquals ( "ClientModeState" , mWifiStateMachinePrime.getCurrentMode ( ) ) ; enterSoftApActiveMode ( ) ; }

Target:
public void testWificondExistsOnStartup ( ) throws java.lang.Exception { when ( mWifiInjector.makeWificond ( ) ) . thenReturn ( mWificond ) ; com.android.server.wifi.WifiStateMachinePrime testWifiStateMachinePrime = new com.android.server.wifi.WifiStateMachinePrime ( mWifiInjector , mLooper.getLooper ( ) , mNMService ) ; verify ( mWificond ) . tearDownInterfaces ( ) ; }
Source:
public void setCellInfoListRate ( int rateInMillis , android.os.Message response ) { }

Target:
public void sendDeviceState ( int stateType , boolean state , android.os.Message result ) { }
Source:
public com.google.common.util.concurrent.ListenableFuture < com.android.dialer.spam.SpamStatus > checkSpamStatus ( java.lang.String number , @ android.support.annotation.Nullable java.lang.String defaultCountryIso ) { return com.google.common.util.concurrent.Futures.immediateFuture ( com.android.dialer.spam.SimpleSpamStatus.notSpam ( ) ) ; }

Target:
public com.google.common.util.concurrent.ListenableFuture < com.android.dialer.spam.status.SpamStatus > checkSpamStatus ( java.lang.String number , @ android.support.annotation.Nullable java.lang.String defaultCountryIso ) { return com.google.common.util.concurrent.Futures.immediateFuture ( com.android.dialer.spam.status.SimpleSpamStatus.notSpam ( ) ) ; }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { super . widgetSelected ( e ) ; reloadSkinCombo ( ) ; reloadAbiTypeCombo ( ) ; validatePage ( ) ; }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { super . widgetSelected ( e ) ; reloadSkinCombo ( ) ; reloadAbiTypeCombo ( ) ; reloadDeviceCombo ( ) ; validatePage ( ) ; }
Source:
synchronized void nScriptSetVarV ( int id , int slot , byte [ ] val ) { validate ( ) ; rsnScriptSetVarV ( mContext , id , slot , val ) ; }

Target:
synchronized void nScriptSetVarJ ( long id , int slot , long val ) { validate ( ) ; rsnScriptSetVarJ ( mContext , id , slot , val ) ; }
Source:
public static com.google.common.io.OutputSupplier < java.io.OutputStreamWriter > newWriterSupplier ( java.io.File file , java.nio.charset.Charset charset , boolean append ) { return com.google.common.io.CharStreams.newWriterSupplier ( com.google.common.io.Files.newOutputStreamSupplier ( file , append ) , charset ) ; }

Target:
private static com.google.common.io.FileWriteMode [ ] modes ( boolean append ) { return append ? new com.google.common.io.FileWriteMode [ ] { com.google.common.io.FileWriteMode.APPEND } : new com.google.common.io.FileWriteMode [ 0 ] ; }
Source:
public void test ( ) { try { java.lang.Thread.sleep ( ( 2 * 1000 ) ) ; } catch ( java.lang.InterruptedException e ) { } }

Target:
public void test ( ) { try { java.lang.Thread.sleep ( ( 2 * 1000 ) ) ; } catch ( java.lang.InterruptedException ignored ) { } }
Source:
public void run ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JSession session ) throws com.android.jack.JackUserException { com.android.jack.analysis.dependency.type.TypeDependenciesWriter.write ( session.getJackOutputLibrary ( ) , com.android.jack.Jack.getSession ( ) . getTypeDependencies ( ) ) ; }

Target:
public void run ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JSession session ) throws com.android.jack.JackUserException { com.android.jack.analysis.dependency.type.TypeDependenciesInLibraryWriter.write ( session.getJackOutputLibrary ( ) , com.android.jack.Jack.getSession ( ) . getTypeDependencies ( ) ) ; }
Source:
public void getCDMASubscriptionResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , java.lang.String var2 , java.lang.String var3 , java.lang.String var4 , java.lang.String var5 , java.lang.String var6 ) { }

Target:
public void getMuteResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , boolean enable ) { responseInts ( responseInfo , ( enable ? 1 : 0 ) ) ; }
Source:
public void testStartPnoScan ( ) throws java.lang.Exception { com.android.server.wifi.WificondControl wificondControl = org.mockito.Mockito.mock ( com.android.server.wifi.WificondControl.class ) ; mWifiNative.setWificondControl ( wificondControl ) ; mWifiNative.startPnoScan ( com.android.server.wifi.WifiNativeTest.TEST_PNO_SETTINGS ) ; org.mockito.Mockito.verify ( wificondControl ) . startPnoScan ( com.android.server.wifi.WifiNativeTest.TEST_PNO_SETTINGS ) ; }

Target:
public void testStartPnoScan ( ) throws java.lang.Exception { mWifiNative.startPnoScan ( com.android.server.wifi.WifiNativeTest.TEST_PNO_SETTINGS ) ; org.mockito.Mockito.verify ( mWificondControl ) . startPnoScan ( com.android.server.wifi.WifiNativeTest.TEST_PNO_SETTINGS ) ; }
Source:
com.android.jack.api01.Api01Config setOutputJackFile ( @ javax.annotation.Nonnull java.io.File file ) throws com.android.jack.api01.ConfigurationException ;

Target:
void setOutputJackFile ( @ javax.annotation.Nonnull java.io.File outputJackFile ) throws com.android.jack.api01.ConfigurationException ;
Source:
public com.android.ide.common.internal.AaptRunner getAaptRunner ( ) { return new com.android.ide.common.internal.AaptRunner ( mBuildTools.getPath ( BuildToolInfo.PathId.AAPT ) , mCmdLineRunner ) ; }

Target:
public com.android.ide.common.internal.PngCruncher getAaptCruncher ( ) { return new com.android.ide.common.internal.AaptCruncher ( mBuildTools.getPath ( BuildToolInfo.PathId.AAPT ) , mCmdLineRunner ) ; }
Source:
public static void applyDebuggerSystemProperty ( com.android.internal.os.ZygoteConnection.Arguments args ) { if ( RoSystemProperties.DEBUGGABLE ) { args.debugFlags |= Zygote.DEBUG_ENABLE_JDWP ; } }

Target:
public static void applyDebuggerSystemProperty ( com.android.internal.os.ZygoteConnection.Arguments args ) { if ( RoSystemProperties.DEBUGGABLE ) { args.runtimeFlags |= Zygote.DEBUG_ENABLE_JDWP ; } }
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 int getExitValue ( ) { return 0 ; }
Source:
public void addFile ( com.android.test.common.fixture.app.TestSourceFile file ) { sourceFiles.put ( file.getName ( ) , file ) ; }

Target:
public void addFile ( com.android.build.gradle.integration.common.fixture.app.TestSourceFile file ) { sourceFiles.put ( file.getName ( ) , file ) ; }
Source:
public void testReadTimeZone_valid ( ) throws java.lang.Exception { libcore.util.ZoneInfoTestHelper.ZoneInfoDataBuilder builder = new libcore.util.ZoneInfoTestHelper.ZoneInfoDataBuilder ( ) ; builder.initializeToValid ( ) ; assertNotNull ( createZoneInfo ( getName ( ) , java.lang.System.currentTimeMillis ( ) , builder.build ( ) ) ) ; }

Target:
public void testReadTimeZone_valid ( ) throws java.lang.Exception { libcore.tzdata.testing.ZoneInfoTestHelper.ZoneInfoDataBuilder builder = new libcore.tzdata.testing.ZoneInfoTestHelper.ZoneInfoDataBuilder ( ) ; builder.initializeToValid ( ) ; assertNotNull ( createZoneInfo ( getName ( ) , java.lang.System.currentTimeMillis ( ) , builder.build ( ) ) ) ; }
Source:
public void testVFE5 ( ) { try { java.lang.Class.forName ( "dxc.junit.opcodes.opc_throw.jm.T_opc_throw_10" ) ; fail ( "expected a verification exception" ) ; } catch ( java.lang.Throwable t ) { dot.junit.DxUtil.checkVerifyException ( t ) ; } }

Target:
public void testE1 ( ) { loadAndRun ( "dot.junit.opcodes.opc_throw.d.T_opc_throw_4" , java.lang.NullPointerException.class ) ; }
Source:
private native java.lang.String getInnerClassName ( ) ;

Target:
private native java.lang.reflect.Constructor < T > getDeclaredConstructorInternal ( java.lang.Class < ? > [ ] args ) ;
Source:
public void enter ( ) { turnOnMasterTetherSettings ( ) ; simChange.startListening ( ) ; mUpstreamNetworkMonitor.start ( ) ; mOffloadController.start ( ) ; chooseUpstreamType ( true ) ; mTryCell = false ; }

Target:
public void enter ( ) { turnOnMasterTetherSettings ( ) ; simChange.startListening ( ) ; mUpstreamNetworkMonitor.start ( ) ; mOffloadController.start ( ) ; if ( upstreamWanted ( ) ) { mUpstreamWanted = true ; chooseUpstreamType ( true ) ; mTryCell = false ; } }
Source:
android.net.INetworkPolicyListener expect ( ) { assertNull ( "expect() called before waitAndVerify()" , latch ) ; latch = new java.util.concurrent.CountDownLatch ( 1 ) ; return org.mockito.Mockito.doAnswer ( this ) . when ( listener ) ; }

Target:
android.net.INetworkPolicyListener expect ( ) { org.junit.Assert.assertNull ( "expect() called before waitAndVerify()" , latch ) ; latch = new java.util.concurrent.CountDownLatch ( 1 ) ; return org.mockito.Mockito.doAnswer ( this ) . when ( listener ) ; }
Source:
public void callSessionHandover ( com.android.ims.internal.IImsCallSession i , int srcAccessTech , int targetAccessTech , com.android.ims.ImsReasonInfo reasonInfo ) throws android.os.RemoteException { mNewListener.callSessionHandover ( srcAccessTech , targetAccessTech , reasonInfo ) ; }

Target:
public void callSessionHandover ( com.android.ims.internal.IImsCallSession i , int srcAccessTech , int targetAccessTech , android.telephony.ims.ImsReasonInfo reasonInfo ) throws android.os.RemoteException { mNewListener.callSessionHandover ( srcAccessTech , targetAccessTech , reasonInfo ) ; }
Source:
public void testGoodCast ( ) throws java.lang.Exception { java.lang.String defaultType = java.security.KeyStore.getDefaultType ( ) ; org.apache.harmony.xnet.provider.jsse.TrustManagerImpl tmi = new org.apache.harmony.xnet.provider.jsse.TrustManagerImpl ( java.security.KeyStore.getInstance ( defaultType ) ) ; android.net.http.X509TrustManagerExtensions tme = new android.net.http.X509TrustManagerExtensions ( tmi ) ; }

Target:
public void testGoodCast ( ) throws java.lang.Exception { java.lang.String defaultType = java.security.KeyStore.getDefaultType ( ) ; com.android.org.conscrypt.TrustManagerImpl tmi = new com.android.org.conscrypt.TrustManagerImpl ( java.security.KeyStore.getInstance ( defaultType ) ) ; android.net.http.X509TrustManagerExtensions tme = new android.net.http.X509TrustManagerExtensions ( tmi ) ; }
Source:
public void setup ( ) { put ( "Cipher.FOO" , MockCipherSpi.SpecificKeyTypes.class . getName ( ) ) ; put ( "Cipher.FOO SupportedKeyClasses" , ( ( this . getClass ( ) . getPackage ( ) . getName ( ) ) + ".MockKey" ) ) ; }

Target:
public void setup ( ) { put ( "Cipher.FOO" , MockCipherSpi.AllKeyTypes.class . getName ( ) ) ; }
Source:
public java.util.Collection < java.lang.String > getApplicableElements ( ) { return java.util.Collections.singletonList ( "GridLayout" ) ; }

Target:
public java.util.Collection < java.lang.String > getApplicableElements ( ) { return java.util.Arrays.asList ( com.android.SdkConstants.GRID_LAYOUT , com.android.SdkConstants.FQCN_GRID_LAYOUT_V7 ) ; }
Source:
public static native int SSL_read_BIO ( long sslNativePointer , byte [ ] dest , int destOffset , int destLength , long sourceBioRef , long sinkBioRef , org.conscrypt.NativeCrypto.SSLHandshakeCallbacks shc ) throws java.io.IOException ;

Target:
public static native int ENGINE_SSL_write_BIO_heap ( long sslRef , long bioRef , byte [ ] sourceJava , int sourceOffset , int sourceLength , org.conscrypt.NativeCrypto.SSLHandshakeCallbacks shc ) throws java.io.IOException ;
Source:
public java.lang.Package getPackage ( ) { java.lang.Package pkg = super . getPackage ( ) ; if ( pkg == null ) { assert false : "TODO" ; } return pkg ; }

Target:
public java.lang.Package getPackage ( ) { java.lang.Package pkg = super . getPackage ( ) ; if ( pkg != null ) { return pkg ; } pkg = createPackage ( ) ; setPackage ( pkg ) ; return pkg ; }
Source:
public static boolean isPKCS12 ( org.bouncycastle.asn1.DERObjectIdentifier algOid ) { return algOid.getId ( ) . startsWith ( PKCSObjectIdentifiers.pkcs_12PbeIds.getId ( ) ) ; }

Target:
public static boolean isPKCS12 ( org.bouncycastle.asn1.ASN1ObjectIdentifier algOid ) { return algOid.getId ( ) . startsWith ( PKCSObjectIdentifiers.pkcs_12PbeIds.getId ( ) ) ; }
Source:
final boolean casBusy ( ) { return com.google.common.cache.Striped64.busyUpdater.compareAndSet ( this , 0 , 1 ) ; }

Target:
final boolean casBusy ( ) { return com.google.common.cache.Striped64.UNSAFE.compareAndSwapInt ( this , com.google.common.cache.Striped64.busyOffset , 0 , 1 ) ; }
Source:
public void testDateFormat ( ) { Settings.System.putString ( mContentResolver , Settings.System.TIME_12_24 , "24" ) ; assertTrue ( android.text.format.DateFormat.is24HourFormat ( mContext ) ) ; Settings.System.putString ( mContentResolver , Settings.System.TIME_12_24 , "12" ) ; assertFalse ( android.text.format.DateFormat.is24HourFormat ( mContext ) ) ; }

Target:
public void test_is24HourFormat ( ) { Settings.System.putString ( mContentResolver , Settings.System.TIME_12_24 , "24" ) ; assertTrue ( android.text.format.DateFormat.is24HourFormat ( mContext ) ) ; Settings.System.putString ( mContentResolver , Settings.System.TIME_12_24 , "12" ) ; assertFalse ( android.text.format.DateFormat.is24HourFormat ( mContext ) ) ; }
Source:
public static void setProperties ( java.util.Properties p ) { java.lang.System.systemProperties = p ; }

Target:
public static void setProperties ( java.util.Properties p ) { java.lang.System.PropertiesWithNonOverrideableDefaults userProperties = new java.lang.System.PropertiesWithNonOverrideableDefaults ( java.lang.System.unchangeableSystemProperties ) ; if ( p != null ) { userProperties.putAll ( p ) ; } java.lang.System.systemProperties = userProperties ; }
Source:
protected boolean hasNoSourceFile ( ) { return ( mFiles.size ( ) ) == 0 ; }

Target:
protected boolean hasNoSourceFile ( ) { return mFiles.isEmpty ( ) ; }
Source:
boolean setHoldingForConference ( ) { if ( ( getState ( ) ) == ( android.telecom.Connection.STATE_ACTIVE ) ) { setOnHold ( ) ; return true ; } return false ; }

Target:
boolean setHoldingForConference ( ) { if ( ( getState ( ) ) == ( android.telecom.Connection.STATE_ACTIVE ) ) { setStateOverride ( Call.State.HOLDING ) ; return true ; } return false ; }
Source:
public void parse ( java.lang.String numberToParse , java.lang.String defaultRegion , com.google.i18n.phonenumbers.Phonenumber.PhoneNumber phoneNumber ) throws com.google.i18n.phonenumbers.NumberParseException { parseHelper ( numberToParse , defaultRegion , false , true , phoneNumber ) ; }

Target:
public void parseAndKeepRawInput ( java.lang.CharSequence numberToParse , java.lang.String defaultRegion , com.google.i18n.phonenumbers.Phonenumber.PhoneNumber phoneNumber ) throws com.google.i18n.phonenumbers.NumberParseException { parseHelper ( numberToParse , defaultRegion , true , true , phoneNumber ) ; }
Source:
public void test04_inject_attributes ( ) throws java.lang.Exception { processTestFiles ( ) ; }

Target:
public boolean getShouldFail ( ) { return mShouldFail ; }
Source:
public static native int RSA_padding_check_PKCS1_type_1 ( byte [ ] to , int tlen , byte [ ] from , int flen , int rsa_len ) ;

Target:
public static native int RSA_private_decrypt ( int flen , byte [ ] from , byte [ ] to , int pkey , int padding ) throws java.security.SignatureException , javax.crypto.BadPaddingException ;
Source:
public void cancelAllTasks ( ) { while ( true ) { java.util.concurrent.Future < T > task = mCompletionService.poll ( ) ; if ( task != null ) { task.cancel ( true ) ; } else { break ; } } }

Target:
public void cancelAllTasks ( ) { for ( java.util.concurrent.Future < T > future : mFutureSet ) { future.cancel ( true ) ; } }
Source:
public void test_RSA_public_encrypt_null_key_Failure ( ) throws java.lang.Exception { try { org.conscrypt.NativeCrypto.RSA_public_encrypt ( 0 , new byte [ 0 ] , new byte [ 0 ] , 0 , 0 ) ; fail ( ) ; } catch ( java.lang.NullPointerException expected ) { } }

Target:
public void test_RSA_size_null_key_Failure ( ) throws java.lang.Exception { try { org.conscrypt.NativeCrypto.RSA_size ( org.conscrypt.NativeCryptoTest.NULL_EVP_PKEY ) ; fail ( ) ; } catch ( java.lang.NullPointerException expected ) { } }
Source:
public void run ( ) { try { zipArchive.close ( ) ; } catch ( java.io.IOException e ) { com.android.jack.Jack.logger.log ( java.util.logging.Level.FINE , ( ( "Failed to close zip for '" + dirOrZip ) + "'." ) , e ) ; } }

Target:
public void run ( ) { try { vfs.close ( ) ; } catch ( java.io.IOException e ) { com.android.jack.Jack.logger.log ( java.util.logging.Level.FINE , ( ( "Failed to close vfs for '" + dirOrZip ) + "'." ) , e ) ; } }
Source:
public int next ( int n ) { return libcore.icu.NativeBreakIterator.nextImpl ( this . address , n ) ; }

Target:
public int next ( int n ) { return libcore.icu.NativeBreakIterator.nextImpl ( this . address , this . string , n ) ; }
Source:
public static com.android.ide.eclipse.adt.internal.editors.layout.gle2.RenderService create ( com.android.ide.eclipse.adt.internal.editors.layout.gle2.GraphicalEditorPart editor , com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration configuration , com.android.ide.common.resources.ResourceResolver resolver ) { com.android.ide.eclipse.adt.internal.editors.layout.gle2.RenderService renderService = new com.android.ide.eclipse.adt.internal.editors.layout.gle2.RenderService ( editor , configuration , resolver ) ; return renderService ; }

Target:
public static com.android.ide.eclipse.adt.internal.editors.layout.gle2.RenderService create ( com.android.ide.eclipse.adt.internal.editors.layout.gle2.GraphicalEditorPart editor , com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration configuration , com.android.ide.common.resources.ResourceResolver resolver , java.lang.Object credential ) { return new com.android.ide.eclipse.adt.internal.editors.layout.gle2.RenderService ( editor , configuration , resolver , credential ) ; }
Source:
public void tearDown ( ) { mHeadsetClientStateMachine.doQuit ( ) ; mHandlerThread.quit ( ) ; }

Target:
public void tearDown ( ) { if ( ! ( mTargetContext.getResources ( ) . getBoolean ( R.bool.profile_supported_hfpclient ) ) ) { return ; } mHeadsetClientStateMachine.doQuit ( ) ; mHandlerThread.quit ( ) ; }
Source:
private java.lang.String getToolResultsBackendUrl ( ) { switch ( getBackendOption ( ) ) { case STAGING : return "https://www-googleapis-staging.sandbox.google.com/" ; case TEST : return "https://www-googleapis-test.sandbox.google.com/" ; default : return "https://www.googleapis.com/" ; } }

Target:
private java.lang.String getToolResultsBackendUrl ( ) { switch ( getBackendOption ( ) ) { case STAGING : case TEST : return "https://www-googleapis-test.sandbox.google.com/" ; default : return "https://www.googleapis.com/" ; } }
Source:
public int hashCode ( ) { return java.util.Arrays.hashCode ( org.conscrypt.NativeCrypto.i2d_PUBKEY ( key.getPkeyContext ( ) ) ) ; }

Target:
public int hashCode ( ) { return java.util.Arrays.hashCode ( org.conscrypt.NativeCrypto.i2d_PUBKEY ( key.getNativeRef ( ) ) ) ; }
Source:
public long getHiSyncId ( android.bluetooth.BluetoothDevice device ) { return 0 ; }

Target:
public int getDeviceMode ( android.bluetooth.BluetoothDevice device ) { com.android.bluetooth.hearingaid.HearingAidService service = getService ( ) ; if ( service == null ) { return android.bluetooth.BluetoothHearingAid.MODE_BINAURAL ; } return ( ( service.getCapabilities ( device ) ) > > 1 ) & 1 ; }
Source:
public void testIsProjectStyle ( ) throws java.lang.Exception { assertTrue ( com.android.ide.eclipse.adt.internal.resources.ResourceHelper.isProjectStyle ( "@android:style/Theme" ) ) ; assertFalse ( com.android.ide.eclipse.adt.internal.resources.ResourceHelper.isProjectStyle ( "@style/LocalTheme" ) ) ; }

Target:
public void testIsProjectStyle ( ) throws java.lang.Exception { assertFalse ( com.android.ide.eclipse.adt.internal.resources.ResourceHelper.isProjectStyle ( "@android:style/Theme" ) ) ; assertTrue ( com.android.ide.eclipse.adt.internal.resources.ResourceHelper.isProjectStyle ( "@style/LocalTheme" ) ) ; }
Source:
public boolean isDependencyFor ( ) { return ( mDependencyFor.size ( ) ) > 0 ; }

Target:
public boolean isDependencyFor ( ) { return ! ( mDependencyFor.isEmpty ( ) ) ; }
Source:
public void onStreamingServicesUpdated ( java.util.List < android.telephony.mbms.StreamingServiceInfo > services ) { }

Target:
public void streamingServicesUpdated ( java.util.List < android.telephony.mbms.StreamingServiceInfo > services ) throws android.os.RemoteException { }
Source:
public void run ( ) { android.os.Debug.stopMethodTracing ( ) ; android.util.Slog.d ( com.android.systemui.statusbar.phone.PhoneStatusBar.TAG , "stopTracing" ) ; vibrate ( ) ; }

Target:
public void run ( ) { if ( com.android.systemui.statusbar.phone.PhoneStatusBar.DEBUG ) { android.util.Log.v ( com.android.systemui.statusbar.phone.PhoneStatusBar.TAG , "running post-collapse cleanup" ) ; } try { mPile.setViewRemoval ( true ) ; mBarService.onClearAllNotifications ( ) ; } catch ( java.lang.Exception ex ) { } }
Source:
public void visitLookupSwitchInsn ( org.objectweb.asm.Label dflt , int [ ] keys , org.objectweb.asm.Label [ ] labels ) { printer.visitLookupSwitchInsn ( dflt , keys , labels ) ; printTypeOfOperandStackTop ( ) ; super . visitLookupSwitchInsn ( dflt , keys , labels ) ; }

Target:
public void visitMultiANewArrayInsn ( java.lang.String desc , int dims ) { printer.visitMultiANewArrayInsn ( desc , dims ) ; printTypeOfOperandStack ( ) ; super . visitMultiANewArrayInsn ( desc , dims ) ; }
Source:
native void rsnAllocationData2D ( long con , long id , int xoff , int yoff , int mip , int face , int w , int h , int [ ] d , int sizeBytes ) ;

Target:
native void rsnAllocationRead1D ( long con , long id , int off , int mip , int count , java.lang.Object d , int sizeBytes , int dt , int mSize , boolean usePadding ) ;
Source:
public void workingLocalOnlyHotspotLegacyApBroadcast ( ) throws java.lang.Exception { workingLocalOnlyHotspot ( false ) ; }

Target:
public void workingLocalOnlyHotspotEnrichedApBroadcast ( ) throws java.lang.Exception { workingLocalOnlyHotspot ( true , true ) ; }
Source:
void hangupForegroundResumeBackground ( ) { if ( com.android.internal.telephony.Phone.DEBUG_PHONE ) log ( "hangupForegroundResumeBackground" ) ; cm.hangupForegroundResumeBackground ( obtainCompleteMessage ( ) ) ; }

Target:
void hangupForegroundResumeBackground ( ) { if ( com.android.internal.telephony.Phone.DEBUG_PHONE ) log ( "hangupForegroundResumeBackground" ) ; mCi.hangupForegroundResumeBackground ( obtainCompleteMessage ( ) ) ; }
Source:
public void testGetExampleNumberWithoutRegion ( ) { assertNotNull ( phoneUtil.getExampleNumberForType ( PhoneNumberUtil.PhoneNumberType.FIXED_LINE ) ) ; assertNotNull ( phoneUtil.getExampleNumberForType ( PhoneNumberUtil.PhoneNumberType.MOBILE ) ) ; assertNotNull ( phoneUtil.getExampleNumberForType ( PhoneNumberUtil.PhoneNumberType.PREMIUM_RATE ) ) ; }

Target:
public void testGetExampleNumberWithoutRegion ( ) { assertNotNull ( phoneUtil.getExampleNumberForType ( PhoneNumberType.FIXED_LINE ) ) ; assertNotNull ( phoneUtil.getExampleNumberForType ( PhoneNumberType.MOBILE ) ) ; assertNotNull ( phoneUtil.getExampleNumberForType ( PhoneNumberType.PREMIUM_RATE ) ) ; }
Source:
public void enter ( ) { maybeLogEvaluationResult ( networkEventType ( validationStage ( ) , com.android.server.connectivity.NetworkMonitor.EvaluationResult.VALIDATED ) ) ; mConnectivityServiceHandler.sendMessage ( obtainMessage ( com.android.server.connectivity.NetworkMonitor.EVENT_NETWORK_TESTED , com.android.server.connectivity.NetworkMonitor.NETWORK_TEST_RESULT_VALID , mNetworkAgentInfo.network.netId , null ) ) ; ( mValidations ) ++ ; }

Target:
public void enter ( ) { maybeLogEvaluationResult ( networkEventType ( validationStage ( ) , com.android.server.connectivity.NetworkMonitor.EvaluationResult.VALIDATED ) ) ; mConnectivityServiceHandler.sendMessage ( obtainMessage ( com.android.server.connectivity.NetworkMonitor.EVENT_NETWORK_TESTED , com.android.server.connectivity.NetworkMonitor.NETWORK_TEST_RESULT_VALID , mNetId , null ) ) ; ( mValidations ) ++ ; }
Source:
public java.util.Set < com.android.manifmerger.XmlNode.NodeKey > getNodeKeys ( ) { return mRecords.keySet ( ) ; }

Target:
public com.google.common.collect.ImmutableSet < com.android.manifmerger.XmlNode.NodeKey > getNodeKeys ( ) { return mRecords.keySet ( ) ; }
Source:
private boolean getSecureBoolean ( java.lang.String name , boolean def ) { final int defInt = ( def ) ? 1 : 0 ; return ( Settings.Secure.getInt ( mResolver , name , defInt ) ) != 0 ; }

Target:
private long getGlobalLong ( java.lang.String name , long def ) { return Settings.Global.getLong ( mResolver , name , def ) ; }
Source:
public boolean execute ( com.android.cellbroadcastreceiver.CellBroadcastContentProvider provider ) { return provider.insertNewBroadcast ( cbm ) ; }

Target:
public boolean execute ( com.android.cellbroadcastreceiver.CellBroadcastContentProvider provider ) { if ( provider.insertNewBroadcast ( cbm ) ) { startService ( alertIntent ) ; return true ; } else { return false ; } }
Source:
protected void onTextChanged ( java.lang.CharSequence text , int start , int lengthBefore , int lengthAfter ) { super . onTextChanged ( text , start , lengthBefore , lengthAfter ) ; com.android.phone.common.util.ViewUtil.resizeText ( this , mOriginalTextSize , mMinTextSize ) ; }

Target:
protected void onTextChanged ( java.lang.CharSequence text , int start , int lengthBefore , int lengthAfter ) { super . onTextChanged ( text , start , lengthBefore , lengthAfter ) ; if ( mIsResizeEnabled ) { com.android.phone.common.util.ViewUtil.resizeText ( this , mOriginalTextSize , mMinTextSize ) ; } }
Source:
public com.android.sched.scheduler.ComponentFilterSet getRequiredFilters ( ) { return adapterFilters.clone ( ) ; }

Target:
public com.android.sched.scheduler.ComponentFilterSet getRequiredFilters ( ) { return runnableFilters.clone ( ) ; }
Source:
public int getInstallLocation ( ) { return android.provider.Settings.System.getInt ( mContext.getContentResolver ( ) , android.provider.Settings.Secure.DEFAULT_INSTALL_LOCATION , PackageHelper.APP_INSTALL_AUTO ) ; }

Target:
public int getInstallLocation ( ) { return android.provider.Settings.Global.getInt ( mContext.getContentResolver ( ) , android.provider.Settings.Global.DEFAULT_INSTALL_LOCATION , PackageHelper.APP_INSTALL_AUTO ) ; }
Source:
private static java.lang.String getClassName ( java.lang.String className ) { int classNameEnd = ( className.length ( ) ) - ( android.test.ClassPathPackageInfoSource.CLASS_EXTENSION.length ( ) ) ; return className.substring ( 0 , classNameEnd ) ; }

Target:
public int hashCode ( ) { return packageName.hashCode ( ) ; }
Source:
public java.util.Iterator < com.android.jack.ir.ast.JMethodId > iterator ( ) { return virtualMethods.iterator ( ) ; }

Target:
public com.android.jack.ir.ast.JMethodId next ( ) { return iterator.next ( ) . methodId ; }
Source:
public void visitRuntimeVisibleAnnotationsAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Field field , proguard.classfile.attribute.visitor.RuntimeVisibleAnnotationsAttribute runtimeVisibleAnnotationsAttribute ) { if ( ( optionalAttributeVisitor ) != null ) { runtimeVisibleAnnotationsAttribute.accept ( clazz , field , optionalAttributeVisitor ) ; } }

Target:
public void visitRuntimeVisibleAnnotationsAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.RuntimeVisibleAnnotationsAttribute runtimeVisibleAnnotationsAttribute ) { if ( ( optionalAttributeVisitor ) != null ) { optionalAttributeVisitor.visitRuntimeVisibleAnnotationsAttribute ( clazz , method , runtimeVisibleAnnotationsAttribute ) ; } }
Source:
public abstract void handleChangedNonJavaFile ( org.eclipse.core.resources.IFolder currentSourceFolder , org.eclipse.core.resources.IFile file , int kind ) ;

Target:
protected abstract java.lang.String getSavePropertyName ( ) ;
Source:
public char getMinusSign ( ) { return minusSign ; }

Target:
public java.lang.String getMinusSignString ( ) { return minusSign ; }
Source:
public TestCaseBuilder addCanvasClientWithoutUsingPicture ( java.lang.String debugString , android.uirendering.cts.testinfrastructure.CanvasClient canvasClient ) { }

Target:
public android.uirendering.cts.testinfrastructure.ActivityTestBase.TestCaseBuilder addCanvasClientWithoutUsingPicture ( java.lang.String debugString , android.uirendering.cts.testinfrastructure.CanvasClient canvasClient ) { return addCanvasClientInternal ( debugString , canvasClient , false , false ) . addCanvasClientInternal ( debugString , canvasClient , true , false ) ; }
Source:
public void run ( ) { android.renderscript.RenderScript pRS = android.renderscript.RenderScript.create ( mCtx ) ; testScriptSide ( pRS ) ; testJavaSide ( pRS ) ; passTest ( ) ; pRS.destroy ( ) ; }

Target:
public void run ( ) { android.renderscript.RenderScript pRS = createRenderScript ( true ) ; testScriptSide ( pRS ) ; testJavaSide ( pRS ) ; passTest ( ) ; pRS.destroy ( ) ; }
Source:
public void enter ( ) { android.util.Log.d ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.TAG , ( "Enter Connected: " + ( getCurrentMessage ( ) . what ) ) ) ; mAudioWbs = false ; }

Target:
public void enter ( ) { if ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.DBG ) { android.util.Log.d ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.TAG , ( "Enter Connected: " + ( getCurrentMessage ( ) . what ) ) ) ; } mAudioWbs = false ; }
Source:
public com.intellij.updater.ValidationResult validate ( java.io.File toDir ) throws java.io.IOException { return doValidate ( getFile ( toDir ) ) ; }

Target:
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 ) ) ; }
Source:
public com.android.ide.common.rendering.api.ResourceValue getProjectResource ( java.lang.String resourceType , java.lang.String resourceName ) { return getResource ( resourceType , resourceName , mProjectResources ) ; }

Target:
public com.android.ide.common.rendering.api.ResourceValue getProjectResource ( com.android.resources.ResourceType resourceType , java.lang.String resourceName ) { return getResource ( resourceType , resourceName , mProjectResources ) ; }
Source:
public static com.android.jack.Sourcelist getTargetLibSourcelist ( @ javax.annotation.Nonnull java.lang.String moduleName ) { return com.android.jack.TestTools.getSourcelistWithAbsPath ( ( ( "out/target/common/obj/JAVA_LIBRARIES/" + moduleName ) + "_intermediates/jayces.java-source-list" ) ) ; }

Target:
public static com.android.jack.Sourcelist getTargetLibSourcelist ( @ javax.annotation.Nonnull java.lang.String moduleName ) { return com.android.jack.TestTools.getSourcelistWithAbsPath ( ( ( "out/target/common/obj/JAVA_LIBRARIES/" + moduleName ) + "_intermediates/jack.java-source-list" ) ) ; }
Source:
public void conference ( java.lang.String conferenceCallId , java.lang.String callId ) throws android.os.RemoteException { mConnectionServiceDelegateAdapter.conference ( conferenceCallId , callId ) ; }

Target:
public void onExtrasChanged ( java.lang.String callId , android.os.Bundle extras , android.telecom.Logging.Session.Info info ) throws android.os.RemoteException { mConnectionServiceDelegateAdapter.onExtrasChanged ( callId , extras , info ) ; }
Source:
public java.util.List < java.lang.Class < ? extends lombok.ast.Node > > getApplicableNodeTypes ( ) { return java.util.Collections.< java.lang.Class < ? extends lombok.ast.Node > > singletonList ( lombok.ast.Assert.class ) ; }

Target:
public java.util.List < java.lang.Class < ? extends com.intellij.psi.PsiElement > > getApplicablePsiTypes ( ) { return java.util.Collections.< java.lang.Class < ? extends com.intellij.psi.PsiElement > > singletonList ( com.intellij.psi.PsiAssertStatement.class ) ; }
Source:
public void visitAnyClass ( proguard.optimize.info.Clazz clazz ) { int accessFlags = clazz.getAccessFlags ( ) ; if ( ( accessFlags & ( ClassConstants.INTERNAL_ACC_PUBLIC ) ) == 0 ) { proguard.optimize.info.AccessMethodMarker.setAccessesPackageCode ( invokingMethod ) ; } }

Target:
public void visitAnyClass ( proguard.optimize.info.Clazz clazz ) { int accessFlags = clazz.getAccessFlags ( ) ; if ( ( accessFlags & ( ClassConstants.ACC_PUBLIC ) ) == 0 ) { proguard.optimize.info.AccessMethodMarker.setAccessesPackageCode ( invokingMethod ) ; } }
Source:
public static boolean $noinline$constString0Equals ( java.lang.String s ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return s.equals ( "" ) ; }

Target:
public static boolean $noinline$equalsConstString0 ( java.lang.String s ) { return s.equals ( "" ) ; }
Source:
public static native double log1p ( double x ) ;

Target:
public static native double hypot ( double x , double y ) ;
Source:
public void sendTerminalResponseToSimResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo ) { }

Target:
public void requestIsimAuthenticationResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , java.lang.String response ) { responseString ( responseInfo , response ) ; }
Source:
public static java.awt.Color makeDarker ( java.awt.Color color , int shades ) { if ( shades < 1 ) { return color ; } return com.google.gct.testing.GoogleCloudTestingUtils.makeDarker ( com.intellij.util.ui.UIUtil.getSlightlyDarkerColor ( color ) , ( shades - 1 ) ) ; }

Target:
public static java.awt.Color makeDarker ( java.awt.Color color , int shades ) { if ( shades < 1 ) { return color ; } return com.google.gct.testing.CloudTestingUtils.makeDarker ( com.intellij.util.ui.UIUtil.getSlightlyDarkerColor ( color ) , ( shades - 1 ) ) ; }
Source:
public void setCellBroadcastSmsConfig ( int [ ] configValuesArray , android.os.Message response ) { android.util.Log.e ( com.android.internal.telephony.sip.SipPhoneBase.LOG_TAG , "Error! This functionality is not implemented for SIP." ) ; }

Target:
public void setCellBroadcastSmsConfig ( int [ ] configValuesArray , android.os.Message response ) { android.telephony.Rlog.e ( com.android.internal.telephony.sip.SipPhoneBase.LOG_TAG , "Error! This functionality is not implemented for SIP." ) ; }