auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public static < T > com.google.common.base.Function < com.google.common.base.Supplier < T > , T > supplierFunction ( ) { return ( ( com.google.common.base.Function ) ( com.google.common.base.Suppliers.SupplierFunction.INSTANCE ) ) ; }

Target:
public static < T > com.google.common.base.Function < com.google.common.base.Supplier < T > , T > supplierFunction ( ) { @ java.lang.SuppressWarnings ( value = "unchecked" ) com.google.common.base.Suppliers.SupplierFunction < T > sf = ( ( com.google.common.base.Suppliers.SupplierFunction < T > ) ( com.google.common.base.Suppliers.SupplierFunctionImpl.INSTANCE ) ) ; return sf ; }
Source:
protected java.io.File initCacheRoot ( ) { return null ; }

Target:
public com.android.sdklib.internal.repository.sources.SdkSources getSources ( ) { return mMockSdkSources ; }
Source:
public void checkValidity ( ) { if ( ! ( ( parent ) instanceof com.android.jack.ir.ast.JPackage ) ) { throw new com.android.jack.ir.JNodeInternalError ( this , "Invalid parent" ) ; } }

Target:
public void checkValidity ( ) { if ( ( ( parent ) == null ) || ( ( parent ) != ( enclosingPackage ) ) ) { throw new com.android.jack.ir.JNodeInternalError ( this , "Invalid parent or enclosing package" ) ; } }
Source:
public void run ( ) { setNewType ( com.android.ide.eclipse.adt.internal.editors.layout.gle2.LayoutMetadata.KEY_LV_ITEM , ( ( com.android.ide.common.layout.LayoutConstants.ANDROID_LAYOUT_PREFIX ) + ( mLayout ) ) ) ; }

Target:
public void run ( ) { if ( isChecked ( ) ) { setNewType ( com.android.ide.eclipse.adt.internal.editors.layout.gle2.LayoutMetadata.KEY_LV_ITEM , ( ( com.android.ide.common.layout.LayoutConstants.ANDROID_LAYOUT_PREFIX ) + ( mLayout ) ) ) ; } }
Source:
public static native long SSL_get_mode ( int ssl ) ;

Target:
public static native long X509_CRL_get_lastUpdate ( long x509CrlCtx ) ;
Source:
public void unregisterNetworkCallback ( android.app.PendingIntent operation ) { android.net.ConnectivityManager.checkPendingIntent ( operation ) ; releaseNetworkRequest ( operation ) ; }

Target:
public void unregisterNetworkCallback ( android.app.PendingIntent operation ) { android.net.ConnectivityManager.checkPendingIntentNotNull ( operation ) ; releaseNetworkRequest ( operation ) ; }
Source:
public void testMergeByCount ( ) throws java.lang.Exception { com.android.ide.common.res2.ResourceMerger merger = com.android.ide.common.res2.ResourceMergerTest.getResourceMerger ( ) ; assertEquals ( 31 , merger.size ( ) ) ; }

Target:
public void testMergeByCount ( ) throws java.lang.Exception { com.android.ide.common.res2.ResourceMerger merger = com.android.ide.common.res2.ResourceMergerTest.getResourceMerger ( false ) ; assertEquals ( 32 , merger.size ( ) ) ; }
Source:
public void testSuccessfulFirstUpdate ( ) throws java.lang.Exception { libcore.tzdata.update2.TimeZoneBundle bundle = libcore.tzdata.update2.TzDataBundleInstallerTest.createValidTimeZoneBundle ( libcore.tzdata.update2.TzDataBundleInstallerTest.NEW_RULES_VERSION , "001" ) ; assertTrue ( installer.install ( bundle.getBytes ( ) ) ) ; assertBundleInstalled ( bundle ) ; }

Target:
public void testSuccessfulFirstUpdate ( ) throws java.lang.Exception { libcore.tzdata.update2.TimeZoneBundle bundle = libcore.tzdata.update2.TimeZoneBundleInstallerTest.createValidTimeZoneBundle ( libcore.tzdata.update2.TimeZoneBundleInstallerTest.NEW_RULES_VERSION , "001" ) ; assertTrue ( installer.install ( bundle.getBytes ( ) ) ) ; assertBundleInstalled ( bundle ) ; }
Source:
public TestCaseBuilder addCanvasClientWithoutUsingPicture ( android.uirendering.cts.testinfrastructure.CanvasClient canvasClient , boolean useHardware ) { }

Target:
public android.uirendering.cts.testinfrastructure.ActivityTestBase.TestCaseBuilder addCanvasClient ( android.uirendering.cts.testinfrastructure.CanvasClient canvasClient ) { return addCanvasClient ( null , canvasClient ) ; }
Source:
public void addI8 ( android.support.v8.renderscript.Byte4 v ) { mN.addI8 ( new android.support.v8.renderscript.Byte4 ( v.x , v.y , v.z , v.w ) ) ; }

Target:
public void addI8 ( android.support.v8.renderscript.Byte4 v ) { mN.addI8 ( new android.support.v8.renderscript.Byte4 ( v.x , v.y , v.z , v.w ) ) ; mPos += 4 ; }
Source:
private void setNetworkSignalIcon ( int level ) { mSignalsView.setVisibility ( View.VISIBLE ) ; mSignalDrawable.setLevel ( com.android.systemui.statusbar.phone.SignalDrawable.getState ( level , SignalStrength.NUM_SIGNAL_STRENGTH_BINS , false ) ) ; mNetworkSignalView.setVisibility ( View.VISIBLE ) ; }

Target:
private void setNetworkSignalIcon ( int level ) { mSignalsView.setVisibility ( View.VISIBLE ) ; mSignalDrawable.setLevel ( com.android.settingslib.graph.SignalDrawable.getState ( level , SignalStrength.NUM_SIGNAL_STRENGTH_BINS , false ) ) ; mNetworkSignalView.setVisibility ( View.VISIBLE ) ; }
Source:
public void setBuildConfigFields ( @ com.android.annotations.NonNull java.util.Collection < com.android.builder.model.ClassField > fields ) { mBuildConfigFields.clear ( ) ; mBuildConfigFields.addAll ( fields ) ; }

Target:
private void setBuildConfigFields ( @ com.android.annotations.NonNull java.util.Map < java.lang.String , com.android.builder.model.ClassField > fields ) { mBuildConfigFields.clear ( ) ; mBuildConfigFields.putAll ( fields ) ; }
Source:
public void verifyParcelWithoutPreferredRoamingPartnerList ( ) throws java.lang.Exception { android.net.wifi.hotspot2.pps.Policy policy = android.net.wifi.hotspot2.pps.PolicyTest.createPolicy ( ) ; policy.preferredRoamingPartnerList = null ; android.net.wifi.hotspot2.pps.PolicyTest.verifyParcel ( policy ) ; }

Target:
public void verifyParcelWithoutPreferredRoamingPartnerList ( ) throws java.lang.Exception { android.net.wifi.hotspot2.pps.Policy policy = android.net.wifi.hotspot2.pps.PolicyTest.createPolicy ( ) ; policy.setPreferredRoamingPartnerList ( null ) ; android.net.wifi.hotspot2.pps.PolicyTest.verifyParcel ( policy ) ; }
Source:
public static void computeCosh ( android.renderscript.cts.TestCosh.ArgumentsFloatFloat args ) { args.ulf = 4 ; args.ulfRelaxed = 128 ; args.out = ( ( float ) ( java.lang.StrictMath.cosh ( args.in ) ) ) ; }

Target:
public static void computeLog1p ( android.renderscript.cts.TestLog1p.ArgumentsFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( android.renderscript.cts.CoreMathVerifier.log1p ( args.in ) , 2 , 16 ) ; }
Source:
public org.eclipse.jface.resource.ImageDescriptor loadDescriptor ( java.lang.String filename , org.eclipse.swt.widgets.Display display ) { return null ; }

Target:
public org.eclipse.jface.resource.ImageDescriptor loadDescriptor ( java.lang.String filename ) { java.net.URL url = mClass.getResource ( ( ( com.android.ddmuilib.ImageLoader.PATH ) + filename ) ) ; return org.eclipse.jface.resource.ImageDescriptor.createFromURL ( url ) ; }
Source:
public final native void registerService ( java.lang.String serviceName ) ;

Target:
public final native void registerService ( java.lang.String serviceName , int versionMajor , int versionMinor ) ;
Source:
public void onActivityPause ( ) { if ( closeSearchOnPause ) { closeSearchOnPause = false ; if ( isInSearch ( ) ) { closeSearch ( false ) ; } } }

Target:
public void onActivityPause ( ) { com.android.dialer.common.LogUtil.enterBlock ( "MainSearchController.onActivityPause" ) ; closeKeyboard ( ) ; if ( closeSearchOnPause ) { closeSearchOnPause = false ; if ( isInSearch ( ) ) { closeSearch ( false ) ; } } }
Source:
public boolean remove ( java.lang.Object object ) { try { return delegate.remove ( object ) ; } catch ( java.lang.NullPointerException e ) { return false ; } catch ( java.lang.ClassCastException e ) { return false ; } }

Target:
public boolean contains ( @ javax.annotation.Nullable java.lang.Object object ) { return ( object != null ) && ( com.google.common.collect.Collections2.safeContains ( delegate , object ) ) ; }
Source:
public static void computeFloor ( android.renderscript.cts.TestFloor.ArgumentsFloatFloat args ) { args.ulf = 0 ; args.ulfRelaxed = 1 ; args.out = ( ( float ) ( java.lang.StrictMath.floor ( args.in ) ) ) ; }

Target:
public static void computeConvert ( android.renderscript.cts.TestConvert.ArgumentsUcharUchar args ) { args.out = android.renderscript.cts.CoreMathVerifier.convertUcharToUchar ( args.inV ) ; }
Source:
private boolean isCmdInteractive ( com.android.internal.telephony.gsm.stk.StkCmdMessage cmd ) { switch ( cmd.getCmdType ( ) ) { case SEND_DTMF : case SEND_SMS : case SEND_SS : case SEND_USSD : case SET_UP_IDLE_MODE_TEXT : case SET_UP_MENU : return false ; } return true ; }

Target:
private boolean isCmdInteractive ( com.android.internal.telephony.cat.CatCmdMessage cmd ) { switch ( cmd.getCmdType ( ) ) { case SEND_DTMF : case SEND_SMS : case SEND_SS : case SEND_USSD : case SET_UP_IDLE_MODE_TEXT : case SET_UP_MENU : return false ; } return true ; }
Source:
public void testVFE4 ( ) { try { new dot.junit.opcodes.invoke_direct_range.d.T_invoke_direct_range_6 ( ) ; fail ( "expected a verification exception" ) ; } catch ( java.lang.Throwable t ) { dot.junit.DxUtil.checkVerifyException ( t ) ; } }

Target:
public void testVFE4 ( ) { load ( "dot.junit.opcodes.invoke_direct_range.d.T_invoke_direct_range_6" , java.lang.VerifyError.class ) ; }
Source:
private void logServiceDisconnected ( java.lang.String sourceTag ) { com.android.server.telecom.Log.i ( this , "Service unbound %s, from %s." , mComponentName , sourceTag ) ; }

Target:
private void logServiceDisconnected ( java.lang.String sourceTag ) { android.telecom.Log.i ( this , "Service unbound %s, from %s." , mComponentName , sourceTag ) ; }
Source:
public static void rebootSafeMode ( final android.content.Context context , boolean confirm ) { com.android.server.power.ShutdownThread.mReboot = true ; com.android.server.power.ShutdownThread.mRebootSafeMode = true ; com.android.server.power.ShutdownThread.mRebootReason = null ; com.android.server.power.ShutdownThread.shutdownInner ( context , confirm ) ; }

Target:
public static void rebootSafeMode ( final android.content.Context context , boolean confirm ) { com.android.server.power.ShutdownThread.mReboot = true ; com.android.server.power.ShutdownThread.mRebootSafeMode = true ; com.android.server.power.ShutdownThread.mRebootUpdate = false ; com.android.server.power.ShutdownThread.mRebootReason = null ; com.android.server.power.ShutdownThread.shutdownInner ( context , confirm ) ; }
Source:
public int startSession ( android.app.PendingIntent incomingCallIntent , com.android.ims.internal.IImsRegistrationListener listener ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; return getServiceInterface ( mBinder ) . startSession ( mSlotId , mSupportedFeature , incomingCallIntent , listener ) ; } }

Target:
public void setBinder ( android.os.IBinder binder ) { mBinder = binder ; }
Source:
private void unregisterForRuimRecordEvents ( ) { mIccRecords.unregisterForRecordsEvents ( this ) ; mIccRecords.unregisterForRecordsLoaded ( this ) ; }

Target:
protected void unregisterForRuimRecordEvents ( ) { com.android.internal.telephony.IccRecords r = mIccRecords.get ( ) ; if ( r == null ) { return ; } r.unregisterForRecordsEvents ( this ) ; r.unregisterForRecordsLoaded ( this ) ; }
Source:
int getHashCount ( ) { return numHashFunctions ; }

Target:
public static < T > com.google.common.hash.BloomFilter < T > create ( com.google.common.hash.Funnel < ? super T > funnel , int expectedInsertions , double fpp ) { return com.google.common.hash.BloomFilter.create ( funnel , expectedInsertions , fpp , com.google.common.hash.BloomFilter.DEFAULT_STRATEGY ) ; }
Source:
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 ) ; }

Target:
public void callSessionMultipartyStateChanged ( com.android.ims.internal.IImsCallSession i , boolean isMultiparty ) throws android.os.RemoteException { mNewListener.callSessionMultipartyStateChanged ( isMultiparty ) ; }
Source:
native void rsnScriptSetVarJ ( long con , long id , int slot , long val ) ;

Target:
native void rsnScriptSetVarV ( long con , long id , int slot , byte [ ] val , boolean mUseInc ) ;
Source:
public void turnOnIms ( int slotId , int featureType , int sessionId ) throws android.os.RemoteException { }

Target:
public com.android.ims.internal.IImsEcbm getEcbmInterface ( int slotId , int featureType ) throws android.os.RemoteException { return null ; }
Source:
native void rsnAllocationData1D ( long con , long id , int off , int mip , int count , float [ ] 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 testUrlWithSpaceInHost ( ) throws java.lang.Exception { java.net.URLConnection urlConnection = new java.net.URL ( "http://and roid.com/" ) . openConnection ( ) ; try { urlConnection.getInputStream ( ) ; fail ( ) ; } catch ( java.net.UnknownHostException expected ) { } }

Target:
public void testUrlWithSpaceInHostViaHttpProxy ( ) throws java.lang.Exception { server.enqueue ( new com.google.mockwebserver.MockResponse ( ) ) ; server.play ( ) ; java.net.URLConnection urlConnection = new java.net.URL ( "http://and roid.com/" ) . openConnection ( server.toProxyAddress ( ) ) ; try { urlConnection.getInputStream ( ) ; org.junit.Assert.fail ( ) ; } catch ( java.net.UnknownHostException expected ) { } }
Source:
private void cancelNotifications ( ) { mNm.cancelAll ( ) ; android.content.Intent cancelIntent = new android.content.Intent ( com.android.cts.verifier.notifications.PackagePriorityVerifierActivity.ACTION_CANCEL ) ; cancelIntent.setPackage ( com.android.cts.verifier.notifications.PackagePriorityVerifierActivity.NOTIFICATION_BOT_PACKAGE ) ; cancelIntent.putExtra ( com.android.cts.verifier.notifications.PackagePriorityVerifierActivity.EXTRA_ID , 0 ) ; sendBroadcast ( cancelIntent ) ; }

Target:
private void cancelNotifications ( ) { mNm.cancelAll ( ) ; android.content.Intent cancelIntent = new android.content.Intent ( com.android.cts.verifier.notifications.PackagePriorityVerifierActivity.ACTION_CANCEL ) ; cancelIntent.setPackage ( com.android.cts.verifier.notifications.PackagePriorityVerifierActivity.NOTIFICATION_BOT_PACKAGE ) ; cancelIntent.putExtra ( com.android.cts.verifier.notifications.PackagePriorityVerifierActivity.EXTRA_ID , 0 ) ; cancelIntent.addFlags ( Intent.FLAG_INCLUDE_STOPPED_PACKAGES ) ; sendBroadcast ( cancelIntent ) ; }
Source:
public long sendfile ( java.io.FileDescriptor outFd , java.io.FileDescriptor inFd , libcore.util.MutableLong inOffset , long byteCount ) throws android.system.ErrnoException { dalvik.system.BlockGuard.getThreadPolicy ( ) . onWriteToDisk ( ) ; return os.sendfile ( outFd , inFd , inOffset , byteCount ) ; }

Target:
public long sendfile ( java.io.FileDescriptor outFd , java.io.FileDescriptor inFd , android.util.MutableLong inOffset , long byteCount ) throws android.system.ErrnoException { dalvik.system.BlockGuard.getThreadPolicy ( ) . onWriteToDisk ( ) ; return os.sendfile ( outFd , inFd , inOffset , byteCount ) ; }
Source:
public final java.util.Map.Entry < K , V > pollFirstEntry ( ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
public final java.util.Map.Entry < K , V > pollLastEntry ( ) { throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
public final void test_getCipherSuite ( ) throws java.lang.Exception { java.net.URL url = new java.net.URL ( "https://localhost:55555" ) ; javax.net.ssl.HttpsURLConnection connection = ( ( javax.net.ssl.HttpsURLConnection ) ( url.openConnection ( ) ) ) ; try { connection.getCipherSuite ( ) ; fail ( "IllegalStateException wasn't thrown" ) ; } catch ( java.lang.IllegalStateException expected ) { } javax.net.ssl.HttpsURLConnection con = new tests.api.javax.net.ssl.MyHttpsURLConnection ( new java.net.URL ( "https://www.fortify.net/" ) ) ; assertEquals ( "CipherSuite" , con.getCipherSuite ( ) ) ; }

Target:
public final void test_getCipherSuite ( ) throws java.lang.Exception { java.net.URL url = new java.net.URL ( "https://localhost:55555" ) ; javax.net.ssl.HttpsURLConnection connection = ( ( javax.net.ssl.HttpsURLConnection ) ( url.openConnection ( ) ) ) ; try { connection.getCipherSuite ( ) ; fail ( "IllegalStateException wasn't thrown" ) ; } catch ( java.lang.IllegalStateException expected ) { } javax.net.ssl.HttpsURLConnection con = new org.apache.harmony.tests.javax.net.ssl.MyHttpsURLConnection ( new java.net.URL ( "https://www.fortify.net/" ) ) ; assertEquals ( "CipherSuite" , con.getCipherSuite ( ) ) ; }
Source:
public boolean terminateCall ( android.bluetooth.BluetoothDevice device , int index ) { com.android.bluetooth.hfpclient.HeadsetClientService service = getService ( ) ; if ( service == null ) { return false ; } return service.terminateCall ( device , index ) ; }

Target:
public boolean terminateCall ( android.bluetooth.BluetoothDevice device , android.bluetooth.BluetoothHeadsetClientCall call ) { com.android.bluetooth.hfpclient.HeadsetClientService service = getService ( ) ; if ( service == null ) { return false ; } return service.terminateCall ( device , call.getUUID ( ) ) ; }
Source:
public void insertElement ( int at , @ javax.annotation.Nonnull com.android.jack.ir.ast.cfg.JBasicBlockElement element ) { throw new java.lang.AssertionError ( ) ; }

Target:
public void insertElement ( int at , @ javax.annotation.Nonnull com.android.jack.ir.ast.cfg.JBasicBlockElement element ) { throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
private boolean isStackEntryPresentBefore ( int instructionOffset , int stackIndex ) { proguard.optimize.evaluation.TracedStack tracedStack = partialEvaluator.getStackBefore ( instructionOffset ) ; proguard.optimize.evaluation.InstructionOffsetValue producerOffsets = tracedStack.getBottomProducerValue ( stackIndex ) . instructionOffsetValue ( ) ; return isAnyStackEntryNecessaryAfter ( producerOffsets , stackIndex ) ; }

Target:
private boolean isStackEntryPresentBefore ( int instructionOffset , int stackIndex ) { proguard.evaluation.TracedStack tracedStack = partialEvaluator.getStackBefore ( instructionOffset ) ; proguard.optimize.evaluation.InstructionOffsetValue producerOffsets = tracedStack.getBottomProducerValue ( stackIndex ) . instructionOffsetValue ( ) ; return isAnyStackEntryNecessaryAfter ( producerOffsets , stackIndex ) ; }
Source:
boolean isEmpty ( @ javax.annotation.Nonnull com.android.sched.vfs.CaseInsensitiveFS.CaseInsensitiveVDir dir ) { return list ( dir ) . isEmpty ( ) ; }

Target:
public com.android.sched.util.file.StreamFileStatus getStatus ( ) { if ( ! ( used ) ) { return com.android.sched.util.file.StreamFileStatus.NOT_USED ; } else if ( closed ) { return com.android.sched.util.file.StreamFileStatus.CLOSED ; } else { return com.android.sched.util.file.StreamFileStatus.OPEN ; } }
Source:
public void systemReady ( ) { mKeyguardMediator.onSystemReady ( ) ; android.os.SystemProperties.set ( "dev.bootcomplete" , "1" ) ; synchronized ( mLock ) { updateOrientationListenerLp ( ) ; } }

Target:
public void run ( ) { updateSettings ( ) ; }
Source:
public void reset ( ) { mImageView.setImageURI ( null ) ; mTextView.setText ( "" ) ; }

Target:
public void reset ( ) { mImageView.setImageBitmap ( null ) ; mTextView.setText ( "" ) ; }
Source:
public static byte [ ] getPinkNoise ( android.content.Context context , int ampl , int duration ) { return com.android.cts.verifier.audioquality.AudioAssets.readAsset ( context , ( ( ( ( "pink_" + ampl ) + "_" ) + duration ) + "s" ) ) ; }

Target:
public static byte [ ] getPinkNoise ( android.content.Context context , int ampl , int duration ) { return com.android.cts.verifier.audioquality.AudioAssets.readAsset ( context , ( ( ( ( "audioquality/pink_" + ampl ) + "_" ) + duration ) + "s" ) ) ; }
Source:
public void turnOffIms ( ) throws android.os.RemoteException { synchronized ( mLock ) { checkBinderConnection ( ) ; getServiceInterface ( mBinder ) . turnOffIms ( mSlotId , mSupportedFeature ) ; } }

Target:
public void turnOffIms ( ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; getServiceInterface ( mBinder ) . turnOffIms ( mSlotId , mSupportedFeature ) ; } }
Source:
public void onChange ( boolean selfChange ) { super . onChange ( selfChange ) ; synchronized ( mLock ) { if ( ( mUiAutomationService ) == null ) { populateEnabledAccessibilityServicesLocked ( ) ; manageServicesLocked ( ) ; } } }

Target:
public java.util.List < android.accessibilityservice.AccessibilityServiceInfo > getInstalledAccessibilityServiceList ( int userId ) { synchronized ( mLock ) { final int resolvedUserId = mSecurityPolicy.resolveCallingUserIdEnforcingPermissionsLocked ( userId ) ; return getUserStateLocked ( resolvedUserId ) . mInstalledServices ; } }
Source:
public boolean hasAlternativeName ( @ javax.annotation.Nonnull java.lang.String oldName ) { return true ; }

Target:
public boolean hasAlternativeName ( @ javax.annotation.Nonnull com.android.jack.shrob.obfuscation.key.Key key ) { return true ; }
Source:
public java.util.List < java.lang.String > computeConfigurationInstancesForResultsViewer ( ) { java.util.List < java.lang.String > configurationInstances = new java.util.LinkedList < java.lang.String > ( ) ; computeConfigurationInstancesForResultsViewerRecursively ( "" , 0 , configurationInstances ) ; return configurationInstances ; }

Target:
public java.util.List < java.lang.String > computeConfigurationInstances ( java.lang.String delimiter ) { java.util.List < java.lang.String > configurationInstances = new java.util.LinkedList < java.lang.String > ( ) ; computeConfigurationInstancesRecursively ( delimiter , "" , 0 , configurationInstances ) ; return configurationInstances ; }
Source:
public void breakpointClass ( java.lang.Class < ? > param ) { logWriter.println ( ( ( "breakpointClass(param=\"" + param ) + "\")" ) ) ; }

Target:
public void breakpointClass ( java.lang.Class < ? > param ) { logWriter.println ( ( ( "breakpointClass(param=\"" + param ) + "\")" ) ) ; synchronizeWithTest ( ) ; }
Source:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JBooleanLiteral x ) { printBooleanLiteral ( x.getValue ( ) ) ; return false ; }

Target:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedInterface x ) { printTypeFlags ( x ) ; print ( com.android.jack.ir.impl.CHARS_INTERFACE ) ; printTypeName ( x ) ; return false ; }
Source:
public void testVFE11 ( ) { try { new dot.junit.opcodes.invoke_interface_range.d.T_invoke_interface_range_20 ( ) . run ( new dot.junit.opcodes.invoke_interface_range.ITestImpl ( ) ) ; fail ( "expected a verification exception" ) ; } catch ( java.lang.Throwable t ) { dot.junit.DxUtil.checkVerifyException ( t ) ; } }

Target:
public void testVFE11 ( ) { load ( "dot.junit.opcodes.invoke_interface_range.d.T_invoke_interface_range_20" , java.lang.VerifyError.class ) ; }
Source:
public boolean getMessageWaitingIndicator ( ) { return mIccRecords.getVoiceMessageWaiting ( ) ; }

Target:
public boolean getIccRecordsLoaded ( ) { com.android.internal.telephony.IccRecords r = mIccRecords.get ( ) ; return r != null ? r.getRecordsLoaded ( ) : false ; }
Source:
public static native void EVP_SignUpdateDirect ( org.conscrypt.NativeRef.EVP_MD_CTX ctx , long ptr , int length ) ;

Target:
public static native void EVP_DigestVerifyUpdate ( org.conscrypt.NativeRef.EVP_MD_CTX ctx , byte [ ] buffer , int offset , int length ) ;
Source:
public com.android.sched.util.config.id.EnumPropertyId < T > withCategory ( @ javax.annotation.Nonnull com.android.sched.util.config.category.Category category ) { super . withCategory ( category ) ; return this ; }

Target:
public com.android.sched.util.config.id.EnumPropertyId < T > addCategory ( @ javax.annotation.Nonnull java.lang.Class < ? extends com.android.sched.util.config.category.Category > category ) { super . addCategory ( category ) ; return this ; }
Source:
void cleanupCallLog ( ) { mContext.getContentResolver ( ) . delete ( Calls.CONTENT_URI , null , null ) ; }

Target:
private void cleanupCallLog ( ) { mTargetContext.getContentResolver ( ) . delete ( Calls.CONTENT_URI , null , null ) ; }
Source:
static void setBackend ( com.android.monkeyrunner.core.IMonkeyBackend backend ) { com.android.monkeyrunner.MonkeyRunner.backend = backend ; }

Target:
static void setChimpChat ( com.android.chimpchat.ChimpChat chimp ) { com.android.monkeyrunner.MonkeyRunner.chimpchat = chimp ; }
Source:
public java.lang.Object getData ( final java.lang.String dataId ) { if ( com.google.gct.testing.results.GoogleCloudTestTreeView.SM_TEST_RUNNER_VIEW.is ( dataId ) ) { return this ; } return super . getData ( dataId ) ; }

Target:
public java.lang.Object getData ( final java.lang.String dataId ) { if ( com.google.gct.testing.results.GoogleCloudTestTreeView.CLOUD_TEST_RUNNER_VIEW.is ( dataId ) ) { return this ; } return super . getData ( dataId ) ; }
Source:
public void accept ( proguard.classfile.attribute.Clazz clazz , proguard.classfile.attribute.AttributeVisitor attributeVisitor ) { attributeVisitor.visitBootstrapMethodsAttribute ( clazz , this ) ; }

Target:
public void accept ( proguard.classfile.Clazz clazz , proguard.classfile.attribute.AttributeVisitor attributeVisitor ) { attributeVisitor.visitBootstrapMethodsAttribute ( clazz , this ) ; }
Source:
public long get ( com.android.tools.perflib.vmtrace.MethodInfo info , java.lang.String threadName ) { return info.getExclusiveTime ( threadName , ClockType.THREAD ) ; }

Target:
public long get ( com.android.tools.perflib.vmtrace.MethodInfo info , com.android.tools.perflib.vmtrace.ThreadInfo thread ) { return info.getExclusiveTime ( thread , ClockType.THREAD ) ; }
Source:
public void btnSelHp ( android.view.View v ) { checkGroup ( 0 ) ; }

Target:
public void onItemSelected ( android.widget.AdapterView < ? > parent , android.view.View view , int pos , long id ) { mResolution = com.android.rs.image2.IPControls.Resolutions.values ( ) [ pos ] ; }
Source:
public long size ( ) { return size ; }

Target:
public int size ( ) { checkNotClosed ( ) ; return size ; }
Source:
public java.lang.String format ( com.ibm.icu.dev.test.format.NumberFormatTestData tuple ) { return null ; }

Target:
public java.lang.String format ( com.ibm.icu.dev.test.format.DataDrivenNumberFormatTestData tuple ) { if ( ( ( tuple.output ) != null ) && ( tuple.output.equals ( "fail" ) ) ) return "fail" ; return null ; }
Source:
public void testVP8EncodeDecodeVideoFromBufferToSurface720p ( ) throws java.lang.Throwable { setParameters ( 1280 , 720 , 6000000 , android.media.cts.EncodeDecodeTest.MIME_TYPE_VP8 ) ; android.media.cts.EncodeDecodeTest.BufferToSurfaceWrapper.runTest ( this ) ; }

Target:
public void testVP8EncodeDecodeVideoFromBufferToSurfaceQCIF ( ) throws java.lang.Throwable { setParameters ( 176 , 144 , 1000000 , android.media.cts.EncodeDecodeTest.MIME_TYPE_VP8 , true , false ) ; android.media.cts.EncodeDecodeTest.BufferToSurfaceWrapper.runTest ( this ) ; }
Source:
protected org.apache.harmony.lang.annotation.AnnotationMember setDefinition ( org.apache.harmony.lang.annotation.AnnotationMember copy ) { definingMethod = copy.definingMethod ; elementType = copy.elementType ; return this ; }

Target:
protected libcore.reflect.AnnotationMember setDefinition ( libcore.reflect.AnnotationMember copy ) { definingMethod = copy.definingMethod ; elementType = copy.elementType ; return this ; }
Source:
public void stateUpdated ( int state ) { }

Target:
public void streamStateChanged ( android.telephony.mbms.StreamingService service , int state ) { }
Source:
public void setup ( ) { put ( "Signature.FOO" , libcore.java.security.ProviderTest.MockSpi.class . getName ( ) ) ; put ( "Signature.FOO SupportedKeyFormats" , "Invalid" ) ; }

Target:
public void setup ( ) { put ( "Signature.FOO" , libcore.java.security.ProviderTest.MockSpi.class . getName ( ) ) ; put ( "Signature.FOO SupportedKeyFormats" , new libcore.javax.crypto.MockKey ( ) . getFormat ( ) ) ; }
Source:
public boolean isOpaque ( ) { return ( ( mPrivateFlags ) & ( android.view.View.OPAQUE_MASK ) ) == ( android.view.View.OPAQUE_MASK ) ; }

Target:
public boolean isOpaque ( ) { return ( ( ( mPrivateFlags ) & ( android.view.View.OPAQUE_MASK ) ) == ( android.view.View.OPAQUE_MASK ) ) && ( ( ( mTransformationInfo ) != null ? mTransformationInfo.mAlpha : 1 ) >= ( 1.0F - ( ViewConfiguration.ALPHA_THRESHOLD ) ) ) ; }
Source:
private void updateViewPortTransform ( java.awt.geom.AffineTransform tx ) { mViewPortTransform = new java.awt.geom.AffineTransform ( tx ) ; updateTransform ( ) ; }

Target:
private void updateViewPortTransform ( java.awt.geom.AffineTransform tx ) { mViewPortTransform = new java.awt.geom.AffineTransform ( tx ) ; try { mViewPortInverseTransform = mViewPortTransform.createInverse ( ) ; } catch ( java.awt.geom.NoninvertibleTransformException e ) { mViewPortInverseTransform = new java.awt.geom.AffineTransform ( ) ; } updateTransform ( ) ; }
Source:
public int runJUnit ( @ javax.annotation.Nonnull java.lang.String [ ] options , @ javax.annotation.Nonnull java.lang.String jUnitRunnerName , @ javax.annotation.Nonnull java.lang.String [ ] jUnitTestClasses , @ javax.annotation.Nonnull java.io.File ... classpathFiles ) throws com.android.jack.test.runner.RuntimeRunnerException { return runOnHost ( buildCommandLine ( options , jUnitRunnerName , jUnitTestClasses , classpathFiles ) , "ANDROID_HOST_OUT" ) ; }

Target:
public int runJUnit ( @ javax.annotation.Nonnull java.lang.String [ ] options , @ javax.annotation.Nonnull java.lang.String jUnitRunnerName , @ javax.annotation.Nonnull java.lang.String [ ] jUnitTestClasses , @ javax.annotation.Nonnull java.io.File ... classpathFiles ) throws com.android.jack.test.runner.RuntimeRunnerException { return runOnHost ( buildCommandLineJunit ( options , jUnitRunnerName , jUnitTestClasses , classpathFiles ) , "ANDROID_HOST_OUT" ) ; }
Source:
public static native float sqrt ( float value ) ;

Target:
public static float sqrt ( float value ) { return ( ( float ) ( java.lang.Math.sqrt ( value ) ) ) ; }
Source:
public org.eclipse.swt.graphics.Color getBackground ( java.lang.Object element , int columnIndex ) { if ( element instanceof com.android.sdkuilib.internal.repository.PackagesPage.PkgItem ) { if ( ( ( ( com.android.sdkuilib.internal.repository.PackagesPage.PkgItem ) ( element ) ) . getState ( ) ) == ( com.android.sdkuilib.internal.repository.PackagesPage.PkgState.HAS_UPDATE ) ) { return mColorUpdate ; } } return null ; }

Target:
public org.eclipse.swt.graphics.Color getBackground ( java.lang.Object element , int columnIndex ) { if ( element instanceof com.android.sdkuilib.internal.repository.PackageManager.PkgItem ) { if ( ( ( ( com.android.sdkuilib.internal.repository.PackageManager.PkgItem ) ( element ) ) . getState ( ) ) == ( com.android.sdkuilib.internal.repository.PackageManager.PkgState.HAS_UPDATE ) ) { return mColorUpdate ; } } return null ; }
Source:
public static native float cos ( float angle ) ;

Target:
public static float cos ( float angle ) { return ( ( float ) ( java.lang.Math.cos ( angle ) ) ) ; }
Source:
public static native int EVP_SignFinal ( org.conscrypt.NativeRef.EVP_MD_CTX ctx , byte [ ] signature , int offset , org.conscrypt.NativeRef.EVP_PKEY key ) ;

Target:
public static native long EVP_DigestVerifyInit ( org.conscrypt.NativeRef.EVP_MD_CTX ctx , long evpMdRef , org.conscrypt.NativeRef.EVP_PKEY key ) ;
Source:
protected final void visit ( org.eclipse.jdt.core.dom.Javadoc javadoc , org.eclipse.jdt.core.dom.rewrite.ASTRewrite rewrite ) { if ( mustTag ( javadoc ) ) { com.google.currysrc.api.transform.JavadocUtils.addJavadocTag ( rewrite , javadoc , tagText ) ; } }

Target:
protected final void visit ( com.google.currysrc.api.process.Reporter reporter , org.eclipse.jdt.core.dom.Javadoc javadoc , org.eclipse.jdt.core.dom.rewrite.ASTRewrite rewrite ) { if ( mustTag ( javadoc ) ) { com.google.currysrc.api.process.JavadocUtils.addJavadocTag ( rewrite , javadoc , tagText ) ; } }
Source:
public void onPeriodicAdvertisingEnable ( android.bluetooth.le.AdvertisingSet advertisingSet , boolean enable , int status ) { }

Target:
public void onPeriodicAdvertisingEnabled ( android.bluetooth.le.AdvertisingSet advertisingSet , boolean enable , int status ) { }
Source:
private static com.android.jack.test.toolchain.IToolchain createToolchain ( @ javax.annotation.Nonnull java.lang.String propertyName ) { return com.android.jack.test.toolchain.AbstractTestTools.getToolchainBuilder ( com.android.jack.test.toolchain.AbstractTestTools.getProperty ( propertyName ) ) . build ( ) ; }

Target:
private static com.android.jack.test.toolchain.IToolchain createToolchain ( @ javax.annotation.Nonnull java.lang.String propertyName ) { return com.android.jack.test.toolchain.AbstractTestTools.getToolchainBuilder ( com.android.jack.test.TestsProperties.getProperty ( propertyName ) ) . build ( ) ; }
Source:
public void test_Constructor ( ) throws java.net.SocketException { new java.net.DatagramSocket ( ) . close ( ) ; }

Target:
public void test_Constructor ( ) throws java.lang.Exception { try ( java.net.DatagramSocket ds = new java.net.DatagramSocket ( ) ) { boolean multicastAllEnabled = ( Libcore.os.getsockoptInt ( ds.getFileDescriptor$ ( ) , android.system.OsConstants.IPPROTO_IP , android.system.OsConstants.IP_MULTICAST_ALL ) ) == 1 ; assertFalse ( multicastAllEnabled ) ; } }
Source:
boolean expectAux ( java.lang.String tag , java.lang.String source , java.lang.String result , java.lang.String expectedResult ) { return expectAux ( tag , new java.lang.String [ ] { source , result } , result.equals ( expectedResult ) , expectedResult ) ; }

Target:
static boolean expectAux ( java.lang.String tag , java.lang.String source , java.lang.String result , java.lang.String expectedResult ) { return android.icu.dev.test.translit.TransliteratorTest.expectAux ( tag , new java.lang.String [ ] { source , result } , result.equals ( expectedResult ) , expectedResult ) ; }
Source:
public java.nio.charset.CharsetDecoder newDecoder ( ) { return new tests.api.java.nio.charset.CharsetDecoderTest.MockCharsetDecoder ( this , ( ( float ) ( tests.api.java.nio.charset.CharsetEncoderTest.AVER_BYTES ) ) , tests.api.java.nio.charset.CharsetEncoderTest.MAX_BYTES ) ; }

Target:
public java.nio.charset.CharsetDecoder newDecoder ( ) { return new org.apache.harmony.tests.java.nio.charset.CharsetDecoderTest.MockCharsetDecoder ( this , ( ( float ) ( org.apache.harmony.tests.java.nio.charset.CharsetEncoderTest.AVER_BYTES ) ) , org.apache.harmony.tests.java.nio.charset.CharsetEncoderTest.MAX_BYTES ) ; }
Source:
public boolean dispatchTrackballEvent ( android.view.MotionEvent ev ) { return mBlockEvents ; }

Target:
public boolean dispatchKeyShortcutEvent ( android.view.KeyEvent event ) { return mBlockEvents ; }
Source:
public static native int EVP_VerifyFinal ( org.conscrypt.NativeRef.EVP_MD_CTX ctx , byte [ ] signature , int offset , int length , org.conscrypt.NativeRef.EVP_PKEY key ) ;

Target:
public static native long EVP_DigestSignInit ( org.conscrypt.NativeRef.EVP_MD_CTX ctx , long evpMdRef , org.conscrypt.NativeRef.EVP_PKEY key ) ;
Source:
public void testMakeTimeZone_found ( ) throws java.lang.Exception { libcore.util.ZoneInfoDB.TzData data = new libcore.util.ZoneInfoDB.TzData ( libcore.util.ZoneInfoDBTest.TZDATA_IN_ROOT ) ; assertNotNull ( data.makeTimeZone ( "Europe/London" ) ) ; assertTrue ( data.hasTimeZone ( "Europe/London" ) ) ; }

Target:
public void testMakeTimeZone_found ( ) throws java.lang.Exception { libcore.util.ZoneInfoDB.TzData data = ZoneInfoDB.TzData.loadTzData ( libcore.util.ZoneInfoDBTest.TZDATA_IN_ROOT ) ; assertNotNull ( data.makeTimeZone ( "Europe/London" ) ) ; assertTrue ( data.hasTimeZone ( "Europe/London" ) ) ; }
Source:
public java.util.List < com.android.jack.ir.ast.cfg.JBasicBlockElement > elements ( final boolean forward ) { com.google.common.collect.ImmutableList < com.android.jack.ir.ast.cfg.JBasicBlockElement > list = com.google.common.collect.ImmutableList.copyOf ( elements ) ; return forward ? list : list.reverse ( ) ; }

Target:
public java.util.List < com.android.jack.ir.ast.cfg.JBasicBlockElement > getElements ( final boolean forward ) { com.google.common.collect.ImmutableList < com.android.jack.ir.ast.cfg.JBasicBlockElement > list = com.google.common.collect.ImmutableList.copyOf ( elements ) ; return forward ? list : list.reverse ( ) ; }
Source:
public java.lang.String getSymbol ( ) { return icuCurrency.getSymbol ( ) ; }

Target:
public java.lang.String getSymbol ( ) { return getSymbol ( java.util.Locale.getDefault ( java.util.Locale.Category.DISPLAY ) ) ; }
Source:
public void tearDown ( ) { Settings.Global.putInt ( mContentResolver , Settings.Global.WIFI_WAKEUP_ENABLED , mWifiWakeupEnabledOriginalValue ) ; }

Target:
public void tearDown ( ) { Settings.Global.putInt ( mContentResolver , Settings.Global.WIFI_WAKEUP_ENABLED , mWifiWakeupEnabledOriginalValue ) ; Settings.Global.putInt ( mContentResolver , Settings.Global.AIRPLANE_MODE_ON , mAirplaneModeOriginalValue ) ; }
Source:
static char $opt$ByteToChar ( byte a ) { return ( ( char ) ( a ) ) ; }

Target:
static char $opt$ByteToChar ( byte a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( char ) ( a ) ) ; }
Source:
public void dragFinished ( org.eclipse.swt.dnd.DragSourceEvent e ) { com.android.ide.eclipse.adt.internal.editors.layout.gle2.GlobalCanvasDragInfo.getInstance ( ) . stopDrag ( ) ; mElements = null ; }

Target:
public void dragFinished ( org.eclipse.swt.dnd.DragSourceEvent e ) { com.android.ide.eclipse.adt.internal.editors.layout.gle2.GlobalCanvasDragInfo.getInstance ( ) . stopDrag ( ) ; mElements = null ; if ( ( mImage ) != null ) { mImage.dispose ( ) ; mImage = null ; } }
Source:
public void enter ( ) { if ( mIsInitialized ) { com.android.server.telecom.Log.i ( com.android.server.telecom.CallAudioModeStateMachine.LOG_TAG , "Abandoning audio focus: now UNFOCUSED" ) ; mAudioManager.abandonAudioFocusForCall ( ) ; mAudioManager.setMode ( AudioManager.MODE_NORMAL ) ; mMostRecentMode = android.media.AudioManager.MODE_NORMAL ; mCallAudioManager.setCallAudioRouteFocusState ( CallAudioRouteStateMachine.NO_FOCUS ) ; } }

Target:
public void enter ( ) { if ( mIsInitialized ) { android.telecom.Log.i ( com.android.server.telecom.CallAudioModeStateMachine.LOG_TAG , "Abandoning audio focus: now UNFOCUSED" ) ; mAudioManager.abandonAudioFocusForCall ( ) ; mAudioManager.setMode ( AudioManager.MODE_NORMAL ) ; mMostRecentMode = android.media.AudioManager.MODE_NORMAL ; mCallAudioManager.setCallAudioRouteFocusState ( CallAudioRouteStateMachine.NO_FOCUS ) ; } }
Source:
public void callSessionConferenceExtendReceived ( com.android.ims.internal.ImsCallSession newSession , com.android.ims.ImsCallProfile profile ) throws android.os.RemoteException { mListener.callSessionConferenceExtendReceived ( ( newSession != null ? newSession.getSession ( ) : null ) , profile ) ; }

Target:
public void callSessionConferenceExtendReceived ( com.android.ims.internal.IImsCallSession newSession , android.telephony.ims.ImsCallProfile profile ) { try { mListener.callSessionConferenceExtendReceived ( newSession , profile ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e ) ; } }
Source:
public com.android.ide.common.process.ProcessResult executeProcess ( @ com.android.annotations.NonNull com.android.ide.common.process.ProcessInfo processInfo ) { return mProcessExecutor.execute ( processInfo , mProcessOutputHandler ) ; }

Target:
public com.android.ide.common.process.ProcessResult executeProcess ( @ com.android.annotations.NonNull com.android.ide.common.process.ProcessInfo processInfo , @ com.android.annotations.NonNull com.android.ide.common.process.ProcessOutputHandler handler ) { return mProcessExecutor.execute ( processInfo , handler ) ; }
Source:
public boolean isTrue ( ) throws java.lang.Exception { return ! ( com.android.devtools.systemimage.uitest.utils.NetworkUtil.hasCellularNetworkConnection ( instrumentation ) ) ; }

Target:
public boolean isTrue ( ) throws android.support.test.uiautomator.UiObjectNotFoundException { return ( ! ( billingCycle.exists ( ) ) ) || ( ! ( billingCycle.isEnabled ( ) ) ) ; }
Source:
protected void logStartUnitTest ( com.android.rs.unittest.UnitTest test ) { java.lang.String thisDeviceName = android.os.Build.DEVICE ; int thisApiVersion = android.os.Build.VERSION.SDK_INT ; android.util.Log.i ( com.android.rs.testcompat.RSSupportLibTestsListActivity.TAG , java.lang.String.format ( ( "RenderScript support lib testing (%s) " + "on device %s, API version %d" ) , test.toString ( ) , thisDeviceName , thisApiVersion ) ) ; }

Target:
protected void logEndUnitTest ( com.android.rs.unittest.UnitTest test ) { test.logEnd ( com.android.rs.testcompat.RSSupportLibTestsListActivity.TAG ) ; }
Source:
public static void computePowr ( android.renderscript.cts.TestPowr.ArgumentsFloatFloatFloat args ) { args.ulf = 16 ; args.ulfRelaxed = 128 ; args.out = ( ( float ) ( java.lang.StrictMath.pow ( args.inX , args.inY ) ) ) ; }

Target:
public static void computeFmax ( android.renderscript.cts.TestFmax.ArgumentsFloatFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( java.lang.Math.max ( args.inX , args.inY ) , 0 , 0 ) ; }
Source:
public boolean hasSubId ( ) { return ( com.android.phone.SubscriptionInfoHelper.mSubId ) != ( com.android.phone.SubscriptionInfoHelper.NO_SUB_ID ) ; }

Target:
public boolean hasSubId ( ) { return ( mSubId ) != ( android.telephony.SubscriptionManager.INVALID_SUBSCRIPTION_ID ) ; }
Source:
protected void setPendingIntentWhitelistDuration ( int durationMs ) throws java.lang.Exception { final java.lang.String command = java.lang.String.format ( "settings put global device_idle_constants %s=%d" , "notification_whitelist_duration" , durationMs ) ; executeSilentShellCommand ( command ) ; }

Target:
protected void setPendingIntentWhitelistDuration ( int durationMs ) throws java.lang.Exception { executeSilentShellCommand ( java.lang.String.format ( "settings put global %s %s=%d" , mDeviceIdleConstantsSetting , "notification_whitelist_duration" , durationMs ) ) ; }
Source:
public boolean isInTouchMode ( ) { if ( ( mAttachInfo ) != null ) { return mAttachInfo.mInTouchMode ; } else { return android.view.ViewRoot.isInTouchMode ( ) ; } }

Target:
public boolean isInTouchMode ( ) { if ( ( mAttachInfo ) != null ) { return mAttachInfo.mInTouchMode ; } else { return android.view.ViewRootImpl.isInTouchMode ( ) ; } }
Source:
protected void onSizeChanged ( int w , int h , int oldw , int oldh ) { super . onSizeChanged ( w , h , oldw , oldh ) ; com.android.phone.common.util.ViewUtil.resizeText ( this , mOriginalTextSize , mMinTextSize ) ; }

Target:
protected void onSizeChanged ( int w , int h , int oldw , int oldh ) { super . onSizeChanged ( w , h , oldw , oldh ) ; if ( mIsResizeEnabled ) { com.android.phone.common.util.ViewUtil.resizeText ( this , mOriginalTextSize , mMinTextSize ) ; } }
Source:
public void setUp ( com.android.tradefed.invoker.IInvocationContext context ) throws com.android.tradefed.device.DeviceNotAvailableException , com.android.tradefed.targetprep.BuildError , com.android.tradefed.targetprep.TargetSetupError { setUp ( context.getDevices ( ) . get ( 0 ) , context.getBuildInfos ( ) . get ( 0 ) ) ; }

Target:
public void setUp ( com.android.tradefed.invoker.IInvocationContext context ) throws com.android.tradefed.device.DeviceNotAvailableException , com.android.tradefed.targetprep.BuildError , com.android.tradefed.targetprep.TargetSetupError { mBuildInfo = context.getBuildInfos ( ) . get ( 0 ) ; startVirtualenv ( mBuildInfo ) ; setLocalPypiPath ( ) ; installDeps ( mBuildInfo ) ; }
Source:
public void onItemSelected ( android.widget.AdapterView parent , android.view.View v , int pos , long id ) { mCellInfoRefreshRateIndex = pos ; phone.setCellInfoListRate ( com.android.settings.RadioInfo.mCellInfoRefreshRates [ pos ] ) ; updateAllCellInfo ( ) ; }

Target:
public void onItemSelected ( android.widget.AdapterView parent , android.view.View v , int pos , long id ) { mCellInfoRefreshRateIndex = pos ; mTelephonyManager.setCellInfoListRate ( com.android.settings.RadioInfo.mCellInfoRefreshRates [ pos ] ) ; updateAllCellInfo ( ) ; }
Source:
public void onUnhold ( ) { com.android.dialer.common.LogUtil.enterBlock ( "SimulatorConnection.onUnhold" ) ; setActive ( ) ; }

Target:
public void removeListener ( @ android.support.annotation.NonNull com.android.dialer.simulator.impl.SimulatorConnection.Listener listener ) { listeners.remove ( com.android.dialer.common.Assert.isNotNull ( listener ) ) ; }
Source:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JEnumLiteral literal ) { result = new com.android.jack.dx.rop.cst.CstEnumRef ( new com.android.jack.dx.rop.cst.CstString ( literal.getFieldId ( ) . getName ( ) ) , com.android.jack.backend.dex.rop.RopHelper.getCstType ( literal.getType ( ) ) ) ; return false ; }

Target:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JEnumLiteral literal ) { result = new com.android.jack.dx.rop.cst.CstEnumRef ( new com.android.jack.dx.rop.cst.CstString ( literal.getFieldId ( ) . getName ( ) ) , com.android.jack.backend.dex.rop.RopHelper.convertTypeToDx ( literal.getType ( ) ) ) ; return false ; }
Source:
public static int NegNeg2 ( int arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } int temp = - arg ; return temp + ( - temp ) ; }

Target:
public static int $noinline$NegNeg2 ( int arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } int temp = - arg ; return temp + ( - temp ) ; }
Source:
public static java.net.InetAddress getByNameOnNet ( java.lang.String host , int netId ) throws java.net.UnknownHostException { return java.net.InetAddress.getAllByNameImpl ( host , netId ) [ 0 ] ; }

Target:
public static java.net.InetAddress getByNameOnNet ( java.lang.String host , int netId ) throws java.net.UnknownHostException { return java.net.InetAddress.impl.lookupAllHostAddr ( host , netId ) [ 0 ] ; }
Source:
public void onPause ( ) { com.android.dialer.common.LogUtil.d ( "CallLogFragment.onPause" , toString ( ) ) ; cancelDisplayUpdate ( ) ; mAdapter.onPause ( ) ; super . onPause ( ) ; }

Target:
public void onPause ( ) { com.android.dialer.common.LogUtil.enterBlock ( "CallLogFragment.onPause" ) ; cancelDisplayUpdate ( ) ; mAdapter.onPause ( ) ; super . onPause ( ) ; }
Source:
public static int intToDoubleToInt ( int value ) { return ( ( int ) ( ( double ) ( value ) ) ) ; }

Target:
public static int $noinline$intToFloatToInt ( int value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( int ) ( ( float ) ( value ) ) ) ; }
Source:
private void clearInternalData ( ) { mConfiguredNetworks.clear ( ) ; mDeletedEphemeralSSIDs.clear ( ) ; mScanDetailCaches.clear ( ) ; }

Target:
private void clearInternalData ( ) { mConfiguredNetworks.clear ( ) ; mDeletedEphemeralSSIDs.clear ( ) ; mScanDetailCaches.clear ( ) ; clearLastSelectedNetwork ( ) ; }
Source:
public java.lang.String toString ( ) { return ( ( ( getClass ( ) . getName ( ) ) + "[" ) + ( originalPath ) ) + "]" ; }

Target:
public java.lang.String toString ( ) { return ( ( ( ( ( getClass ( ) . getName ( ) ) + "[dexPath=" ) + ( originalPath ) ) + ",libraryPath=" ) + ( originalLibraryPath ) ) + "]" ; }
Source:
public java.lang.String getStepName ( ) { return "Choose a Sample" ; }

Target:
public java.lang.String getStepName ( ) { return com.google.gct.idea.util.GctBundle.message ( "sample.browser.title" ) ; }
Source:
private static void requestStringListResult ( android.content.Context context , java.lang.String action , com.android.cts.verifier.notifications.MockListener.StringListResultCatcher catcher ) { android.content.Intent broadcast = new android.content.Intent ( action ) ; context.sendOrderedBroadcast ( broadcast , null , catcher , null , com.android.cts.verifier.notifications.MockListener.RESULT_NO_SERVER , null , null ) ; }

Target:
public static com.android.cts.verifier.notifications.MockListener getInstance ( ) { return com.android.cts.verifier.notifications.MockListener.sNotificationListenerInstance ; }
Source:
public void addProviderWithEmptyConfig ( ) throws java.lang.Exception { org.junit.Assert.assertFalse ( mManager.addProvider ( new android.net.wifi.hotspot2.PasspointConfiguration ( ) ) ) ; }

Target:
public void addProviderWithNullConfig ( ) throws java.lang.Exception { org.junit.Assert.assertFalse ( mManager.addOrUpdateProvider ( null ) ) ; }