auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public org.objectweb.asm.tree.AbstractInsnNode clone ( final java.util.Map < org.objectweb.asm.tree.LabelNode , org.objectweb.asm.tree.LabelNode > labels ) { return new org.objectweb.asm.tree.InvokeDynamicInsnNode ( name , desc , bsm , bsmArgs ) ; }

Target:
public org.objectweb.asm.tree.AbstractInsnNode clone ( final java.util.Map < org.objectweb.asm.tree.LabelNode , org.objectweb.asm.tree.LabelNode > labels ) { return new org.objectweb.asm.tree.InvokeDynamicInsnNode ( name , desc , bsm , bsmArgs ) . cloneAnnotations ( this ) ; }
Source:
public void enableDxOptimizations ( ) { properties.put ( CodeItemBuilder.DEX_OPTIMIZE.getName ( ) , "true" ) ; }

Target:
public void setWorkingDirectory ( @ javax.annotation.Nonnull java.io.File workingDirectory ) { this . workingDirectory = workingDirectory ; }
Source:
public void answer ( ISupplicantStaNetwork.getEapPrivateKeyCallback cb ) throws android.os.RemoteException { cb.onValues ( mStatusSuccess , mSupplicantVariables.eapPrivateKey ) ; }

Target:
public void answer ( ISupplicantStaNetwork.getEapPrivateKeyIdCallback cb ) throws android.os.RemoteException { cb.onValues ( mStatusSuccess , mSupplicantVariables.eapPrivateKeyId ) ; }
Source:
public final com.android.ide.eclipse.adt.internal.resources.manager.ResourceRepository getRepository ( ) { return mFolder.getRepository ( ) ; }

Target:
public final com.android.ide.common.resources.ResourceRepository getRepository ( ) { return mFolder.getRepository ( ) ; }
Source:
public synchronized boolean isDone ( ) throws android.os.RemoteException { if ( ( mDexoptPackages ) == null ) { throw new java.lang.IllegalStateException ( "done() called before prepare()" ) ; } return mDexoptPackages.isEmpty ( ) ; }

Target:
public synchronized boolean isDone ( ) throws android.os.RemoteException { if ( ( mDexoptPackages ) == null ) { throw new java.lang.IllegalStateException ( "done() called before prepare()" ) ; } return ( mDexoptPackages.isEmpty ( ) ) && ( ( mCommandsForCurrentPackage ) == null ) ; }
Source:
private void notifyHostEmuDeactivated ( ) { mListener.onHostCardEmulationDeactivated ( ) ; }

Target:
private void notifyHostEmuActivated ( int technology ) { mListener.onHostCardEmulationActivated ( technology ) ; }
Source:
public void start ( ) throws com.android.ide.common.res2.ConsumerException { }

Target:
public void start ( @ com.android.annotations.NonNull javax.xml.parsers.DocumentBuilderFactory factory ) throws com.android.ide.common.res2.ConsumerException { }
Source:
long currentLifetime ( ) { return ( mMinLifetime ) - ( ( android.net.apf.ApfFilter.curTime ( ) ) - ( mLastSeen ) ) ; }

Target:
long currentLifetime ( ) { return ( mMinLifetime ) - ( ( currentTimeSeconds ( ) ) - ( mLastSeen ) ) ; }
Source:
public com.android.sdklib.internal.repository.DownloadCache getDownloadCache ( ) { if ( ( mMockDownloadCache ) == null ) { mMockDownloadCache = new com.android.sdklib.internal.repository.DownloadCache ( DownloadCache.Strategy.DIRECT ) { @ java.lang.Override protected java.io.File initCacheRoot ( ) { return null ; } } ; } return mMockDownloadCache ; }

Target:
public void setMockDownloadCache ( com.android.sdklib.internal.repository.DownloadCache mockDownloadCache ) { mMockDownloadCache = mockDownloadCache ; }
Source:
public void exit ( ) { android.util.Log.d ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.TAG , ( "Exit AudioOn: " + ( getCurrentMessage ( ) . what ) ) ) ; mAudioManager.setStreamSolo ( AudioManager.STREAM_BLUETOOTH_SCO , false ) ; }

Target:
public void exit ( ) { if ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.DBG ) { android.util.Log.d ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.TAG , ( "Exit AudioOn: " + ( getCurrentMessage ( ) . what ) ) ) ; } }
Source:
protected void run ( ) { showText ( ) ; succeed ( ) ; }

Target:
protected void run ( ) { super . run ( ) ; mNextButton.setVisibility ( View.GONE ) ; findViewById ( R.id.pass_button ) . setVisibility ( View.VISIBLE ) ; }
Source:
private void readNextToken ( ) throws java.io.IOException { byte token = in.readByte ( ) ; try { currentTokenId = com.android.jack.jayce.v0003.io.Tokenizer.tokenMap [ token ] ; } catch ( java.lang.ArrayIndexOutOfBoundsException e ) { throw new com.android.jack.jayce.v0003.io.ParseException ( ( "Unknown token: " + token ) ) ; } }

Target:
private void readNextToken ( ) throws java.io.IOException { int token = in.readUnsignedByte ( ) ; try { currentTokenId = com.android.jack.jayce.v0003.io.Tokenizer.tokenMap [ token ] ; } catch ( java.lang.ArrayIndexOutOfBoundsException e ) { throw new com.android.jack.jayce.v0003.io.ParseException ( ( "Unknown token: " + token ) ) ; } }
Source:
public void run ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface type ) throws java.lang.Exception { type.setEnclosingType ( null ) ; }

Target:
public void run ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface type ) throws java.lang.Exception { com.android.jack.transformations.request.TransformationRequest tr = new com.android.jack.transformations.request.TransformationRequest ( type.getEnclosingPackage ( ) ) ; tr.append ( new com.android.jack.transformations.request.RemoveEnclosingType ( type ) ) ; tr.commit ( ) ; }
Source:
void enableAdvertisingSet ( int advertiserId , boolean enable , int timeout ) { enableAdvertisingSetNative ( advertiserId , enable , timeout ) ; }

Target:
void enableAdvertisingSet ( int advertiserId , boolean enable , int duration , int maxExtAdvEvents ) { enableAdvertisingSetNative ( advertiserId , enable , duration , maxExtAdvEvents ) ; }
Source:
public void callSessionConferenceStateUpdated ( com.android.ims.ImsConferenceState state ) throws android.os.RemoteException { mListener.callSessionConferenceStateUpdated ( state ) ; }

Target:
public void callSessionUpdateFailed ( android.telephony.ims.ImsReasonInfo reasonInfo ) { try { mListener.callSessionUpdateFailed ( reasonInfo ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e ) ; } }
Source:
public static < T > org.hamcrest.org.hamcrest.Matcher < T > any ( java.lang.Class < T > type ) { return org.hamcrest.core.IsAnything.any ( type ) ; }

Target:
public static < T > org.hamcrest.org.hamcrest.Matcher < java.lang.Iterable < ? super T > > hasItem ( org.hamcrest.org.hamcrest.Matcher < ? extends T > itemMatcher ) { return org.hamcrest.core.IsCollectionContaining.hasItem ( itemMatcher ) ; }
Source:
public static com.google.i18n.phonenumbers.PhoneNumberUtil createInstance ( com.google.i18n.phonenumbers.MetadataLoader metadataLoader ) { if ( metadataLoader == null ) { throw new java.lang.IllegalArgumentException ( "metadataLoader could not be null." ) ; } return new com.google.i18n.phonenumbers.PhoneNumberUtil ( com.google.i18n.phonenumbers.PhoneNumberUtil.META_DATA_FILE_PREFIX , metadataLoader , com.google.i18n.phonenumbers.CountryCodeToRegionCodeMap.getCountryCodeToRegionCodeMap ( ) ) ; }

Target:
public static com.google.i18n.phonenumbers.PhoneNumberUtil createInstance ( com.google.i18n.phonenumbers.MetadataSource metadataSource ) { if ( metadataSource == null ) { throw new java.lang.IllegalArgumentException ( "metadataSource could not be null." ) ; } return new com.google.i18n.phonenumbers.PhoneNumberUtil ( metadataSource , com.google.i18n.phonenumbers.CountryCodeToRegionCodeMap.getCountryCodeToRegionCodeMap ( ) ) ; }
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.getJackInternalOutputLibrary ( ) , 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.TypeDependenciesWriter.write ( session.getJackOutputLibrary ( ) , com.android.jack.Jack.getSession ( ) . getTypeDependencies ( ) ) ; }
Source:
protected void setUp ( ) { f = new java.io.File ( java.lang.System.getProperty ( "user.home" ) , "writer.tst" ) ; if ( f.exists ( ) ) { if ( ! ( f.delete ( ) ) ) { fail ( "Unable to delete test file" ) ; } } }

Target:
protected void setUp ( ) throws java.lang.Exception { f = java.io.File.createTempFile ( "FileWriterTest" , "tst" ) ; }
Source:
public static void checkStl ( java.lang.String stl ) { if ( ! ( com.android.build.gradle.ndk.internal.StlConfiguration.VALID_STL.contains ( stl ) ) ) { throw new org.gradle.api.InvalidUserDataException ( "Invalid STL: $stl" ) ; } }

Target:
public static void checkStl ( java.lang.String stl ) { if ( ! ( com.android.build.gradle.ndk.internal.StlConfiguration.VALID_STL.contains ( stl ) ) ) { throw new org.gradle.api.InvalidUserDataException ( ( "Invalid STL: " + stl ) ) ; } }
Source:
native void rsnScriptForEachClipped ( long con , long id , int slot , long ain , long aout , int xstart , int xend , int ystart , int yend , int zstart , int zend ) ;

Target:
native void rsnScriptForEachClipped ( long con , long incCon , long id , int slot , long ain , long aout , byte [ ] params , int xstart , int xend , int ystart , int yend , int zstart , int zend , boolean mUseInc ) ;
Source:
private void cancelAnimation ( final android.animation.ValueAnimator mValueAnimator ) throws java.lang.Throwable { java.lang.Thread animationRunnable = new java.lang.Thread ( ) { public void run ( ) { mValueAnimator.cancel ( ) ; } } ; this . runTestOnUiThread ( animationRunnable ) ; }

Target:
private void cancelAnimation ( final android.animation.ValueAnimator animator ) throws java.lang.Throwable { this . runTestOnUiThread ( new java.lang.Runnable ( ) { public void run ( ) { animator.cancel ( ) ; } } ) ; }
Source:
public void onDestroy ( ) { stop ( ) ; android.app.NotificationManager notificationManager = getSystemService ( android.app.NotificationManager.class ) ; notificationManager.deleteNotificationChannel ( com.android.cts.vpnfirewall.ReflectorVpnService.NOTIFICATION_CHANNEL_ID ) ; super . onDestroy ( ) ; }

Target:
public void onDestroy ( ) { stop ( ) ; android.app.NotificationManager notificationManager = getSystemService ( android.app.NotificationManager.class ) ; notificationManager.deleteNotificationChannel ( com.android.cts.vpnfirewall.ReflectorVpnService.NOTIFICATION_CHANNEL_ID ) ; ensureNetworkCallbackUnregistered ( ) ; super . onDestroy ( ) ; }
Source:
public static long ShrLongInt ( ) { long lhs = 9 ; int rhs = 2 ; return lhs > > rhs ; }

Target:
public static int ShrIntLong ( ) { int lhs = Main.$inline$int ( 7 ) ; long rhs = Main.$inline$long ( 2L ) ; return lhs > > rhs ; }
Source:
static java.lang.Number getFloatAsNumber ( ) { return new java.lang.Float ( 7.77 ) ; }

Target:
static java.lang.Number getFloatAsNumber ( ) { return java.lang.Float.valueOf ( 7.77F ) ; }
Source:
public static < T > org.hamcrest.org.hamcrest.Matcher < java.lang.Iterable < T > > hasItem ( T element ) { return org.hamcrest.collection.IsCollectionContaining.hasItem ( element ) ; }

Target:
public static < T > org.hamcrest.org.hamcrest.Matcher < T > theInstance ( T target ) { return org.hamcrest.core.IsSame.< T > theInstance ( target ) ; }
Source:
protected int dispatchGsmMessage ( com.android.internal.telephony.SmsMessageBase message ) { mNewSmsRegistrants.notifyResult ( message ) ; return 0 ; }

Target:
private int dispatchGsmMessage ( android.telephony.SmsMessage message ) { mNewSmsRegistrants.notifyResult ( message ) ; return 0 ; }
Source:
public void onChanged ( com.android.internal.widget.NumberPicker picker , int oldVal , int newVal ) { mDay = newVal ; if ( ( mOnDateChangedListener ) != null ) { mOnDateChangedListener.onDateChanged ( this , mYear , mMonth , mDay ) ; } }

Target:
public void onChanged ( com.android.internal.widget.NumberPicker picker , int oldVal , int newVal ) { mDay = newVal ; notifyDateChanged ( ) ; }
Source:
public void run ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface type ) throws java.lang.Exception { if ( type.isExternal ( ) ) { return ; } type.removeMarker ( com.android.jack.shrob.shrink.KeepMarker.class ) ; type.removeMarker ( com.android.jack.shrob.shrink.ExtendingOrImplementingClassMarker.class ) ; }

Target:
public void run ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface type ) throws java.lang.Exception { if ( type.isExternal ( ) ) { return ; } type.removeMarker ( com.android.jack.shrob.shrink.KeepMarker.class ) ; type.removeMarker ( com.android.jack.analysis.tracer.ExtendingOrImplementingClassMarker.class ) ; }
Source:
protected void resetRecords ( ) { mMncLength = UNINITIALIZED ; log ( ( "setting0 mMncLength" + ( mMncLength ) ) ) ; mIccId = null ; mFullIccId = null ; mAdnCache.reset ( ) ; mRecordsRequested = false ; }

Target:
protected void resetRecords ( ) { mMncLength = UNINITIALIZED ; log ( ( "setting0 mMncLength" + ( mMncLength ) ) ) ; mIccId = null ; mFullIccId = null ; mAdnCache.reset ( ) ; mRecordsRequested = false ; mLockedRecordsRequested = false ; }
Source:
protected void onDestroy ( ) { super . onDestroy ( ) ; checkLifecycle ( android.app.cts.LaunchpadActivity.ON_DESTROY ) ; android.app.cts.LaunchpadActivity.sCallingTest.activityFinished ( mResultCode , mData , mResultStack ) ; }

Target:
private void finishWithResult ( int resultCode , android.content.Intent data ) { setTestResult ( resultCode , data ) ; finish ( ) ; android.app.cts.LaunchpadActivity.sCallingTest.activityFinished ( mResultCode , mData , mResultStack ) ; }
Source:
private void checkCast ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JExpression exprToCast , @ javax.annotation.Nonnull com.android.jack.ir.ast.JType expectedType ) { if ( ( expectedType instanceof com.android.jack.ir.types.JNumericType ) && ( ! ( exprToCast.getType ( ) . equals ( expectedType ) ) ) ) { throw new java.lang.AssertionError ( com.android.jack.transformations.ast.NumericConversionChecker.Visitor.MISSING_CAST_ERROR ) ; } }

Target:
private void checkCast ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JExpression exprToCast , @ javax.annotation.Nonnull com.android.jack.ir.ast.JType expectedType ) { if ( ( expectedType instanceof com.android.jack.ir.types.JNumericType ) && ( ! ( exprToCast.getType ( ) . isSameType ( expectedType ) ) ) ) { throw new java.lang.AssertionError ( com.android.jack.transformations.ast.NumericConversionChecker.Visitor.MISSING_CAST_ERROR ) ; } }
Source:
public void setDataEnabled ( boolean enabled ) { com.android.ims.ImsManager.log ( ( "setDataEnabled: " + enabled ) ) ; android.os.SystemProperties.set ( com.android.ims.ImsManager.DATA_ENABLED_PROP , ( enabled ? com.android.ims.ImsManager.TRUE : com.android.ims.ImsManager.FALSE ) ) ; }

Target:
private boolean isDataEnabled ( ) { return new android.telephony.TelephonyManager ( mContext , getSubId ( ) ) . isMobileDataEnabled ( ) ; }
Source:
synchronized void nScriptInvoke ( long id , int slot ) { validate ( ) ; rsnScriptInvoke ( mContext , id , slot ) ; }

Target:
synchronized long nScriptFieldIDCreate ( long sid , int slot , boolean mUseInc ) { validate ( ) ; long curCon = mContext ; if ( mUseInc ) { curCon = mIncCon ; } return rsnScriptFieldIDCreate ( curCon , sid , slot , mUseInc ) ; }
Source:
public long getNextValueAsArrayTypeID ( ) { return this . getNextValueAsObjectID ( ) ; }

Target:
public void setNextValueAsClassID ( long val ) { this . setNextValueAsReferenceTypeID ( val ) ; }
Source:
public final void testCollectIds1 ( ) { com.android.ide.common.api.IDragElement [ ] elements = com.android.ide.common.layout.TestDragElement.create ( com.android.ide.common.layout.TestDragElement.create ( "android.widget.Button" , new com.android.ide.common.api.Rect ( 0 , 0 , 100 , 80 ) ) . id ( "@+id/Button01" ) ) ; java.util.Map < java.lang.String , com.android.ide.common.layout.Pair < java.lang.String , java.lang.String > > idMap = new java.util.HashMap < java.lang.String , com.android.ide.common.layout.Pair < java.lang.String , java.lang.String > > ( ) ; java.util.Map < java.lang.String , com.android.ide.common.layout.Pair < java.lang.String , java.lang.String > > ids = new com.android.ide.common.layout.BaseLayout ( ) . collectIds ( idMap , elements ) ; assertEquals ( 1 , ids.size ( ) ) ; assertEquals ( "@+id/Button01" , ids.keySet ( ) . iterator ( ) . next ( ) ) ; }

Target:
public final void testCollectIds1 ( ) { com.android.ide.common.api.IDragElement [ ] elements = com.android.ide.common.layout.TestDragElement.create ( com.android.ide.common.layout.TestDragElement.create ( "android.widget.Button" , new com.android.ide.common.api.Rect ( 0 , 0 , 100 , 80 ) ) . id ( "@+id/Button01" ) ) ; java.util.Map < java.lang.String , com.android.ide.common.layout.Pair < java.lang.String , java.lang.String > > idMap = new java.util.HashMap < java.lang.String , com.android.ide.common.layout.Pair < java.lang.String , java.lang.String > > ( ) ; java.util.Map < java.lang.String , com.android.ide.common.layout.Pair < java.lang.String , java.lang.String > > ids = new com.android.ide.common.layout.BaseLayoutRule ( ) . collectIds ( idMap , elements ) ; assertEquals ( 1 , ids.size ( ) ) ; assertEquals ( "@+id/Button01" , ids.keySet ( ) . iterator ( ) . next ( ) ) ; }
Source:
public void run ( ) { if ( ( mBootMsgDialog ) != null ) { mBootMsgDialog.dismiss ( ) ; mBootMsgDialog = null ; } }

Target:
public void run ( ) { updateSettings ( ) ; }
Source:
public void run ( ) { saveWebArchive ( basename , autoname , callback ) ; }

Target:
public android.webkit.WebBackForwardList call ( ) { return restoreState ( inState ) ; }
Source:
void handleFlushBatchResults ( com.android.bluetooth.gatt.ScanClient client ) { com.android.bluetooth.Utils.enforceAdminPermission ( mService ) ; if ( ! ( mBatchClients.contains ( client ) ) ) { return ; } mScanNative.flushBatchResults ( client.clientIf ) ; }

Target:
void handleFlushBatchResults ( com.android.bluetooth.gatt.ScanClient client ) { com.android.bluetooth.Utils.enforceAdminPermission ( mService ) ; if ( ! ( mBatchClients.contains ( client ) ) ) { return ; } mScanNative.flushBatchResults ( client.scannerId ) ; }
Source:
public void testBuilderBuild_NoIccid ( ) { new android.service.euicc.EuiccProfileInfo.Builder ( ) . build ( ) ; }

Target:
public void testBuilderBuild_IllegalIccid ( ) { new android.service.euicc.EuiccProfileInfo.Builder ( "abc" ) . build ( ) ; }
Source:
public final void binderDied ( ) { try { release ( ) ; } catch ( java.lang.Exception e ) { android.util.Log.e ( com.android.server.IpSecService.TAG , ( "Failed to release resource: " + e ) ) ; } }

Target:
protected com.android.server.IpSecService.UserRecord getUserRecord ( ) { return mUserResourceTracker.getUserRecord ( uid ) ; }
Source:
private void hideBadge ( ) { contactBadgeContainer.setVisibility ( View.INVISIBLE ) ; videoCallBadge.setVisibility ( View.INVISIBLE ) ; }

Target:
private void hideBadge ( ) { contactBadgeContainer.setVisibility ( View.INVISIBLE ) ; videoCallBadge.setVisibility ( View.INVISIBLE ) ; rttCallBadge.setVisibility ( View.INVISIBLE ) ; }
Source:
public com.google.common.base.CharMatcher and ( com.google.common.base.CharMatcher other ) { com.google.common.base.Preconditions.checkNotNull ( other ) ; return this ; }

Target:
public java.lang.String trimLeadingFrom ( java.lang.CharSequence sequence ) { return sequence.toString ( ) ; }
Source:
public java.lang.String telephonyGetIccSimChallengeResponse ( @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "appType" ) java.lang.Integer appType , @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "hexChallenge" ) java.lang.String hexChallenge ) { return telephonyGetIccSimChallengeResponseForSubscription ( android.telephony.SubscriptionManager.getDefaultSubId ( ) , appType , hexChallenge ) ; }

Target:
public java.lang.String telephonyGetIccSimChallengeResponse ( @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "appType" ) java.lang.Integer appType , @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "authType" ) java.lang.Integer authType , @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "hexChallenge" ) java.lang.String hexChallenge ) { return telephonyGetIccSimChallengeResponseForSubscription ( android.telephony.SubscriptionManager.getDefaultSubscriptionId ( ) , appType , authType , hexChallenge ) ; }
Source:
public void callSessionTtyModeReceived ( com.android.ims.internal.IImsCallSession iImsCallSession , int mode ) throws android.os.RemoteException { mNewListener.callSessionTtyModeReceived ( mode ) ; }

Target:
public void callSessionUpdateReceived ( com.android.ims.internal.IImsCallSession i , android.telephony.ims.ImsCallProfile imsCallProfile ) throws android.os.RemoteException { mNewListener.callSessionUpdateReceived ( imsCallProfile ) ; }
Source:
public void setVariantConfig ( @ com.android.annotations.NonNull com.android.builder.VariantConfiguration variant ) { mVariant = variant ; }

Target:
public void setVariantConfig ( @ com.android.annotations.NonNull com.android.builder.VariantConfiguration variant ) { mVariant = com.google.common.base.Preconditions.checkNotNull ( variant , "variant cannot be null." ) ; }
Source:
public void testE1 ( ) { dot.junit.opcodes.aget.d.T_aget_1 t = new dot.junit.opcodes.aget.d.T_aget_1 ( ) ; int [ ] arr = new int [ 2 ] ; try { t.run ( arr , 2 ) ; fail ( "expected ArrayIndexOutOfBoundsException" ) ; } catch ( java.lang.ArrayIndexOutOfBoundsException aie ) { } }

Target:
public void testE2 ( ) { loadAndRun ( "dot.junit.opcodes.aget.d.T_aget_1" , java.lang.NullPointerException.class , null , 2 ) ; }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setHostNameBytes ( com.android.vts.proto.ByteString value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 1024 ; hostName_ = value ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setSuiteBuildNumberBytes ( com.android.vts.proto.ByteString value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 256 ; suiteBuildNumber_ = value ; onChanged ( ) ; return this ; }
Source:
private boolean isImsTurnOffAllowed ( ) { return ( com.android.ims.ImsManager.isTurnOffImsAllowedByPlatform ( mContext ) ) && ( ( ! ( com.android.ims.ImsManager.isWfcEnabledByPlatform ( mContext ) ) ) || ( ! ( com.android.ims.ImsManager.isWfcEnabledByUser ( mContext ) ) ) ) ; }

Target:
public boolean isVtEnabledByUserForSlot ( ) { int enabled = android.provider.Settings.Global.getInt ( mContext.getContentResolver ( ) , android.provider.Settings.Global.VT_IMS_ENABLED , ImsConfig.FeatureValueConstants.ON ) ; return enabled == 1 ; }
Source:
protected void setUp ( ) throws java.lang.Exception { mDefaultConfig = new com.android.builder.ProductFlavor ( "main" ) ; mFlavorConfig = new com.android.builder.ProductFlavor ( "flavor" ) ; mBuildType = new com.android.builder.BuildType ( "debug" ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { mDefaultConfig = new com.android.builder.DefaultProductFlavor ( "main" ) ; mFlavorConfig = new com.android.builder.DefaultProductFlavor ( "flavor" ) ; mBuildType = new com.android.builder.DefaultBuildType ( "debug" ) ; }
Source:
protected void finalize ( ) throws java.lang.Throwable { java.lang.System.out.println ( "In finalizer" ) ; Main.didFinal = true ; throw new java.lang.InterruptedException ( "whee" ) ; }

Target:
protected void finalize ( ) throws java.lang.Throwable { java.lang.System.out.println ( "In finalizer" ) ; Main.didFinal = true ; throw Main.preallocatedException ; }
Source:
private void clearLastSelectedNetwork ( ) { if ( mVerboseLoggingEnabled ) { android.util.Log.v ( com.android.server.wifi.WifiConfigManagerNew.TAG , "Clearing last selected network" ) ; } mLastSelectedNetwork = android.net.wifi.WifiConfiguration.INVALID_NETWORK_ID ; mLastSelectedTimeStamp = android.net.wifi.WifiConfiguration.NetworkSelectionStatus.INVALID_NETWORK_SELECTION_DISABLE_TIMESTAMP ; }

Target:
private void clearLastSelectedNetwork ( ) { if ( mVerboseLoggingEnabled ) { android.util.Log.v ( com.android.server.wifi.WifiConfigManager.TAG , "Clearing last selected network" ) ; } mLastSelectedNetwork = android.net.wifi.WifiConfiguration.INVALID_NETWORK_ID ; mLastSelectedTimeStamp = android.net.wifi.WifiConfiguration.NetworkSelectionStatus.INVALID_NETWORK_SELECTION_DISABLE_TIMESTAMP ; }
Source:
private com.android.browser.Tab getPrevTab ( ) { return mTabControl.getTab ( java.lang.Math.max ( 0 , ( ( mTabControl.getCurrentPosition ( ) ) - 1 ) ) ) ; }

Target:
private com.android.browser.Tab getNextTab ( ) { int pos = ( mTabControl.getCurrentPosition ( ) ) + 1 ; if ( pos >= ( mTabControl.getTabCount ( ) ) ) { pos = 0 ; } return mTabControl.getTab ( pos ) ; }
Source:
public void testInvalidFolder ( ) throws java.lang.Exception { assertEquals ( ( "" + ( ( ( "res/values-kok-rIN: Error: Invalid resource folder; did you mean b+kok+IN ? [InvalidResourceFolder]\n" + "res/values-ldtrl-mnc123: Error: Invalid resource folder: make sure qualifiers appear in the correct order, are spelled correctly, etc. [InvalidResourceFolder]\n" ) + "res/values-no-rNOR: Error: Invalid resource folder; did you mean b+no+NO ? [InvalidResourceFolder]\n" ) + "3 errors, 0 warnings\n" ) ) , lintProject ( "res/values/strings.xml" , "res/values/strings.xml=>res/values-ldtrl-mnc123/strings.xml" , "res/values/strings.xml=>res/values-kok-rIN//strings.xml" , "res/values/strings.xml=>res/values-no-rNOR/strings.xml" ) ) ; }

Target:
public void testInvalidFolder ( ) throws java.lang.Exception { assertEquals ( ( "" + ( ( "res/values-ldtrl-mnc123: Error: Invalid resource folder: make sure qualifiers appear in the correct order, are spelled correctly, etc. [InvalidResourceFolder]\n" + "res/values-no-rNOR: Error: Invalid resource folder; did you mean b+no+NO ? [InvalidResourceFolder]\n" ) + "2 errors, 0 warnings\n" ) ) , lintProject ( "res/values/strings.xml" , "res/values/strings.xml=>res/values-ldtrl-mnc123/strings.xml" , "res/values/strings.xml=>res/values-kok-rIN//strings.xml" , "res/values/strings.xml=>res/values-no-rNOR/strings.xml" ) ) ; }
Source:
public void addItem ( @ com.android.annotations.NonNull com.android.ide.common.res2.ResourceItem item ) throws com.android.ide.common.res2.ConsumerException { if ( item.isTouched ( ) ) { touchedItems.add ( item ) ; } addedItems.add ( item ) ; }

Target:
public void addItem ( @ com.android.annotations.NonNull com.android.ide.common.res2.ResourceItem item ) throws com.android.ide.common.res2.ConsumerException { @ java.lang.SuppressWarnings ( value = "UnusedDeclaration" ) com.android.ide.common.res2.ResourceFile.FileType type = item.getSourceType ( ) ; if ( item.isTouched ( ) ) { touchedItems.add ( item ) ; } addedItems.add ( item ) ; }
Source:
synchronized void nAllocationData1D ( long id , int off , int mip , int count , byte [ ] d , int sizeBytes ) { validate ( ) ; rsnAllocationData1D ( mContext , id , off , mip , count , d , sizeBytes ) ; }

Target:
synchronized void nScriptSetTimeZone ( long script , byte [ ] timeZone , boolean mUseInc ) { validate ( ) ; long curCon = mContext ; if ( mUseInc ) { curCon = mIncCon ; } rsnScriptSetTimeZone ( curCon , script , timeZone , mUseInc ) ; }
Source:
public com.android.jack.test.toolchain.JackApiV01Toolchain build ( ) { return new com.android.jack.test.toolchain.JackApiV01TwoStepsToolchain ( com.android.jack.test.toolchain.AbstractTestTools.getPrebuilt ( "jack" ) ) ; }

Target:
public com.android.jack.test.toolchain.IToolchain build ( ) { return new com.android.jack.test.toolchain.EmbeddedJillBasedToolchain ( com.android.jack.test.toolchain.AbstractTestTools.getPrebuilt ( "jack" ) , com.android.jack.test.toolchain.AbstractTestTools.getPrebuilt ( "legacy-java-compiler" ) , com.android.jack.test.toolchain.AbstractTestTools.getPrebuilt ( "jarjar" ) , com.android.jack.test.toolchain.AbstractTestTools.getPrebuilt ( "proguard" ) ) ; }
Source:
public void testConstructor_IllegalAliases_Initial ( ) { try { new tests.api.java.nio.charset.CharsetTest.MockCharset ( "mockChar" , new java.lang.String [ ] { "mock" , "-123" } ) ; } catch ( java.nio.charset.IllegalCharsetNameException e ) { fail ( "Should not throw IllegalArgumentException!" ) ; } }

Target:
public void testConstructor_EmptyAliases ( ) { try { new tests.api.java.nio.charset.CharsetTest.MockCharset ( "mockChar" , new java.lang.String [ ] { "" } ) ; fail ( ) ; } catch ( java.nio.charset.IllegalCharsetNameException expected ) { } }
Source:
public boolean isExplicitlySet ( android.icu.text.PluralRules.StandardPluralCategories count ) { return explicit [ count.ordinal ( ) ] ; }

Target:
public boolean isExplicitlySet ( android.icu.impl.StandardPlural count ) { return explicit [ count.ordinal ( ) ] ; }
Source:
protected void onRadioAvailable ( ) { sendScreenState ( true ) ; }

Target:
protected void onRadioAvailable ( ) { android.os.PowerManager pm = ( ( android.os.PowerManager ) ( mContext.getSystemService ( Context.POWER_SERVICE ) ) ) ; sendScreenState ( pm.isScreenOn ( ) ) ; }
Source:
public void setSplitDensity ( boolean splitDensity ) { mSplitDensity = splitDensity ; }

Target:
synchronized void setSplitDensity ( boolean splitDensity ) { mSplitDensity = splitDensity ; mSoftVariantMap = null ; }
Source:
int getBluetoothClass ( ) { return mBluetoothClass ; }

Target:
android.bluetooth.BluetoothClass getBluetoothClass ( ) { synchronized ( mObject ) { return mBluetoothClass ; } }
Source:
public android.accounts.Account [ ] getAccountsByTypeAsUser ( java.lang.String type , android.os.UserHandle userHandle ) { try { return mService.getAccountsAsUser ( type , userHandle.getIdentifier ( ) ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e ) ; } }

Target:
public android.accounts.AuthenticatorDescription [ ] getAuthenticatorTypesAsUser ( int userId ) { try { return mService.getAuthenticatorTypes ( userId ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e ) ; } }
Source:
public android.net.wifi.nan.LvBufferUtils.LvConstructor putByteArray ( @ android.annotation.Nullable byte [ ] array , int offset , int length ) { mTlvImpl.putByteArray ( 0 , array , offset , length ) ; return this ; }

Target:
public android.net.wifi.aware.LvBufferUtils.LvConstructor putByteArray ( @ android.annotation.Nullable byte [ ] array , int offset , int length ) { mTlvImpl.putByteArray ( 0 , array , offset , length ) ; return this ; }
Source:
java.lang.String getSourceFileExtension ( ) ;

Target:
java.util.Set < java.lang.String > getSourceFileExtensions ( ) ;
Source:
boolean isValid ( ) { return true ; }

Target:
public java.lang.String getQualifiedClassName ( ) { return containingClass ; }
Source:
public com.android.sdkuilib.ui.GridLayoutBuilder hSpacing ( int h ) { com.android.sdkuilib.ui.GridLayoutBuilder.mGL.horizontalSpacing = h ; return this ; }

Target:
public com.android.sdkuilib.ui.GridLayoutBuilder hSpacing ( int h ) { mGL.horizontalSpacing = h ; return this ; }
Source:
protected void finalize ( ) throws java.lang.Throwable { try { nativeDestructor ( ) ; } finally { super . finalize ( ) ; } }

Target:
protected void finalize ( ) throws java.lang.Throwable { try { nativeDestructor ( ) ; native_instance = 0 ; } finally { super . finalize ( ) ; } }
Source:
public java.util.List < java.lang.String > lookupTimeZoneIdsByCountry ( java.lang.String countryIso ) { libcore.util.CountryTimeZones countryTimeZones = lookupCountryTimeZones ( countryIso ) ; return countryTimeZones == null ? null : countryTimeZones.getTimeZoneIds ( ) ; }

Target:
public java.util.List < java.lang.String > lookupTimeZoneIdsByCountry ( java.lang.String countryIso ) { libcore.util.CountryTimeZones countryTimeZones = lookupCountryTimeZones ( countryIso ) ; return countryTimeZones == null ? null : libcore.util.TimeZoneFinder.extractTimeZoneIds ( countryTimeZones.getTimeZoneMappings ( ) ) ; }
Source:
native void rsnAllocationData2D ( long con , long id , int xoff , int yoff , int mip , int face , int w , int h , java.lang.Object d , int sizeBytes , int dt ) ;

Target:
native void rsnAllocationData2D ( long con , long id , int xoff , int yoff , int mip , int face , int w , int h , java.lang.Object d , int sizeBytes , int dt , int mSize , boolean usePadding ) ;
Source:
public static double ReturnDouble99P25 ( ) { float imm = Main.$inline$float ( 99.25F ) ; return ( ( double ) ( imm ) ) ; }

Target:
public static int ReturnInt33 ( ) { long imm = 33L ; return ( ( int ) ( imm ) ) ; }
Source:
public void enter ( ) { sendNsdStateChangeBroadcast ( true ) ; if ( ( mClients.size ( ) ) > 0 ) { startMDnsDaemon ( ) ; } }

Target:
public void enter ( ) { sendNsdStateChangeBroadcast ( true ) ; if ( ( mClients.size ( ) ) > 0 ) { mDaemon.start ( ) ; } }
Source:
public static java.text.NumberFormat getNumberInstance ( java.util.Locale locale ) { return java.text.NumberFormat.getInstance ( libcore.icu.LocaleData.get ( locale ) . numberPattern , locale ) ; }

Target:
public static java.text.NumberFormat getNumberInstance ( java.util.Locale locale ) { if ( locale == null ) { throw new java.lang.NullPointerException ( "locale == null" ) ; } return java.text.NumberFormat.getInstance ( libcore.icu.LocaleData.get ( locale ) . numberPattern , locale ) ; }
Source:
public void requestNetwork ( android.net.NetworkRequest request , android.net.ConnectivityManager.NetworkCallback networkCallback ) { requestNetwork ( request , networkCallback , 0 , inferLegacyTypeForNetworkCapabilities ( request.networkCapabilities ) ) ; }

Target:
public void requestNetwork ( android.net.NetworkRequest request , android.net.ConnectivityManager.NetworkCallback networkCallback , int timeoutMs ) { int legacyType = inferLegacyTypeForNetworkCapabilities ( request.networkCapabilities ) ; requestNetwork ( request , networkCallback , timeoutMs , legacyType ) ; }
Source:
public native long getLong ( long address ) ;

Target:
public native char getChar ( long address ) ;
Source:
public void testShortNumberMetadataContainsData ( ) throws java.lang.Exception { com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata franceShortNumberMetadata = com.google.i18n.phonenumbers.MetadataManager.getShortNumberMetadataForRegion ( "FR" ) ; assertNotNull ( franceShortNumberMetadata ) ; assertTrue ( franceShortNumberMetadata.hasShortCode ( ) ) ; }

Target:
public void testShortNumberMetadataLoadCorrectly ( ) throws java.lang.Exception { com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata franceMetadata = com.google.i18n.phonenumbers.MetadataManager.getShortNumberMetadataForRegion ( "FR" ) ; assertNotNull ( franceMetadata ) ; assertTrue ( franceMetadata.hasShortCode ( ) ) ; }
Source:
public static void w ( java.lang.Object objectPrefix , java.lang.String format , java.lang.Object ... args ) { if ( android.telecom.Log.WARN ) { android.util.Log.w ( android.telecom.Log.TAG , android.telecom.Log.buildMessage ( android.telecom.Log.getPrefixFromObject ( objectPrefix ) , format , args ) ) ; } }

Target:
public static void w ( java.lang.String prefix , java.lang.String format , java.lang.Object ... args ) { if ( android.telecom.Log.WARN ) { android.util.Slog.w ( android.telecom.Log.TAG , android.telecom.Log.buildMessage ( prefix , format , args ) ) ; } }
Source:
public void setUseExecutor ( boolean useExecutor ) { if ( useExecutor ) { mExecutor = new com.android.builder.internal.util.concurrent.WaitableExecutor ( ) ; } else { mExecutor = null ; } }

Target:
public void setUseExecutor ( boolean useExecutor ) { if ( useExecutor ) { mExecutor = new com.android.ide.common.internal.WaitableExecutor ( ) ; } else { mExecutor = null ; } }
Source:
public int getApi ( ) { return ( mMainPkg ) instanceof com.android.sdklib.internal.repository.IPackageVersion ? ( ( com.android.sdklib.internal.repository.IPackageVersion ) ( mMainPkg ) ) . getVersion ( ) . getApiLevel ( ) : - 1 ; }

Target:
public int getApi ( ) { return ( mMainPkg ) instanceof com.android.sdklib.internal.repository.packages.IPackageVersion ? ( ( com.android.sdklib.internal.repository.packages.IPackageVersion ) ( mMainPkg ) ) . getVersion ( ) . getApiLevel ( ) : - 1 ; }
Source:
public void setObfuscationMappingOutputFile ( @ javax.annotation.Nonnull java.io.File arg0 ) throws com.android.jack.api.v01.ConfigurationException { }

Target:
public void setObfuscationMappingOutputFile ( @ javax.annotation.Nonnull java.io.File obfuscationMappingOutputFile ) { options.addProperty ( MappingPrinter.MAPPING_OUTPUT_ENABLED.getName ( ) , "true" ) ; options.addProperty ( MappingPrinter.MAPPING_OUTPUT_FILE.getName ( ) , obfuscationMappingOutputFile.getPath ( ) ) ; }
Source:
public android.net.IpSecTransform.Builder setSpi ( @ android.net.IpSecTransform.TransformDirection int direction , int spi ) { mConfig.flow [ direction ] . spi = spi ; return this ; }

Target:
public android.net.IpSecTransform.Builder setEncryption ( @ android.net.IpSecTransform.TransformDirection int direction , android.net.IpSecAlgorithm algo ) { mConfig.flow [ direction ] . encryption = algo ; return this ; }
Source:
public void testE2 ( ) { dot.junit.opcodes.aput_byte.d.T_aput_byte_1 t = new dot.junit.opcodes.aput_byte.d.T_aput_byte_1 ( ) ; try { t.run ( null , 2 , ( ( byte ) ( 100 ) ) ) ; fail ( "expected NullPointerException" ) ; } catch ( java.lang.NullPointerException aie ) { } }

Target:
public void testVFE1 ( ) { load ( "dot.junit.opcodes.aput_byte.d.T_aput_byte_2" , java.lang.VerifyError.class ) ; }
Source:
public android.telephony.CellIdentityWcdma createFromParcel ( android.os.Parcel in ) { return new android.telephony.CellIdentityWcdma ( in ) ; }

Target:
protected static android.telephony.CellIdentityWcdma createFromParcelBody ( android.os.Parcel in ) { return new android.telephony.CellIdentityWcdma ( in ) ; }
Source:
public com.google.common.collect.RangeSet < C > complement ( ) { com.google.common.collect.RangeSet < C > result = complement ; return result == null ? complement = createComplement ( ) : result ; }

Target:
public com.google.common.collect.RangeSet < C > complement ( ) { com.google.common.collect.RangeSet < C > result = complement ; return result == null ? complement = new Complement ( ) : result ; }
Source:
public void testStopLessThanStartDisallowed ( ) { final int x = 4195000 ; try { new android.net.UidRange ( x , ( x - 1 ) ) ; fail ( "Exception not thrown for negative-length UID range" ) ; } catch ( java.lang.IllegalArgumentException expected ) { } }

Target:
public void testStopLessThanStartDisallowed ( ) { final int x = 4195000 ; try { new android.net.UidRange ( x , ( x - 1 ) ) ; org.junit.Assert.fail ( "Exception not thrown for negative-length UID range" ) ; } catch ( java.lang.IllegalArgumentException expected ) { } }
Source:
private static java.math.BigInt newBigInt ( ) { java.math.BigInt bi = new java.math.BigInt ( ) ; bi.bignum = java.math.NativeBN.BN_new ( ) ; return bi ; }

Target:
private static java.math.BigInt newBigInt ( ) { java.math.BigInt bi = new java.math.BigInt ( ) ; bi.bignum = java.math.NativeBN.BN_new ( ) ; java.math.BigInt.registry.registerNativeAllocation ( bi , bi.bignum ) ; return bi ; }
Source:
private void onInBandRing ( int in_band , byte [ ] address ) { android.util.Log.w ( com.android.bluetooth.hfpclient.NativeInterface.TAG , "onInBandRing not supported" ) ; }

Target:
private void onInBandRing ( int inBand , byte [ ] address ) { android.util.Log.w ( com.android.bluetooth.hfpclient.NativeInterface.TAG , "onInBandRing not supported" ) ; }
Source:
public int compare ( com.android.sdklib.internal.avd.AvdManager.AvdInfo o1 , com.android.sdklib.internal.avd.AvdManager.AvdInfo o2 ) { return o1.compareTo ( o2 ) ; }

Target:
public int compare ( com.android.sdklib.internal.avd.AvdInfo o1 , com.android.sdklib.internal.avd.AvdInfo o2 ) { return o1.compareTo ( o2 ) ; }
Source:
public static sun.security.util.Debug getInstance ( java.lang.String option , java.lang.String prefix ) { if ( sun.security.util.Debug.isOn ( option ) ) { sun.security.util.Debug d = new sun.security.util.Debug ( prefix ) ; return d ; } else { return null ; } }

Target:
public static sun.security.util.Debug getInstance ( java.lang.String option , java.lang.String prefix ) { if ( sun.security.util.Debug.isOn ( option ) ) { sun.security.util.Debug d = new sun.security.util.Debug ( ) ; d.prefix = prefix ; return d ; } else { return null ; } }
Source:
public void endVisit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedInterface x ) { endVisit ( ( ( com.android.jack.ir.ast.JDefinedClassOrInterface ) ( x ) ) ) ; }

Target:
public void endVisit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedInterface definedInterface ) { endVisit ( ( ( com.android.jack.ir.ast.JDefinedClassOrInterface ) ( definedInterface ) ) ) ; }
Source:
public com.google.gct.testing.GoogleCloudTestingPersistentConfiguration apply ( com.google.gct.testing.GoogleCloudTestingConfigurationImpl configuration ) { return configuration.getPersistentConfiguration ( ) ; }

Target:
public com.google.gct.testing.GoogleCloudTestingPersistentConfiguration apply ( com.google.gct.testing.CloudTestConfigurationImpl configuration ) { return configuration.getPersistentConfiguration ( ) ; }
Source:
protected java.lang.String getServiceName ( ) { return getClass ( ) . getSimpleName ( ) ; }

Target:
protected java.lang.String serviceName ( ) { return getClass ( ) . getSimpleName ( ) ; }
Source:
public void waitForEvents ( int eventCount ) throws java.lang.InterruptedException { if ( ( mTestSensorEventListener ) == null ) { android.util.Log.w ( android.hardware.cts.helpers.TestSensorManager.LOG_TAG , "No listener registered, returning." ) ; return ; } mTestSensorEventListener.waitForEvents ( eventCount ) ; }

Target:
public void unregisterListener ( ) { if ( ( mTestSensorEventListener ) == null ) { android.util.Log.w ( android.hardware.cts.helpers.TestSensorManager.LOG_TAG , "No listener registered, returning." ) ; return ; } mSensorManager.unregisterListener ( mTestSensorEventListener , mEnvironment.getSensor ( ) ) ; mTestSensorEventListener.assertEventsReceivedInHandler ( ) ; mTestSensorEventListener = null ; }
Source:
public void onConferenceParticipantsChanged ( java.util.List < android.telecom.ConferenceParticipant > participants ) { updateConferenceParticipants ( participants ) ; }

Target:
public void onConferenceParticipantsChanged ( java.util.List < android.telecom.ConferenceParticipant > participants ) { mHandler.obtainMessage ( com.android.services.telephony.TelephonyConnection.MSG_SET_CONFERENCE_PARTICIPANTS , participants ) . sendToTarget ( ) ; }
Source:
public static < V > com.google.common.util.concurrent.ListenableFuture < java.util.List < V > > successfulAsList ( com.google.common.util.concurrent.ListenableFuture < ? extends V > ... futures ) { return new com.google.common.util.concurrent.Futures.ListFuture < V > ( com.google.common.collect.ImmutableList.copyOf ( futures ) , false , com.google.common.util.concurrent.MoreExecutors.sameThreadExecutor ( ) ) ; }

Target:
public static < V > com.google.common.util.concurrent.ListenableFuture < java.util.List < V > > successfulAsList ( com.google.common.util.concurrent.ListenableFuture < ? extends V > ... futures ) { return com.google.common.util.concurrent.Futures.listFuture ( com.google.common.collect.ImmutableList.copyOf ( futures ) , false , com.google.common.util.concurrent.MoreExecutors.directExecutor ( ) ) ; }
Source:
public android.bluetooth.le.AdvertisingSetParameters.Builder setIncludeTxPower ( boolean includeTxPower ) { this . includeTxPower = includeTxPower ; return this ; }

Target:
public android.bluetooth.le.AdvertisingSetParameters.Builder setIncludeTxPower ( boolean includeTxPower ) { mIncludeTxPower = includeTxPower ; return this ; }
Source:
int versionCode ( ) ;

Target:
int getVersionCode ( ) ;
Source:
public static boolean isProxyClass ( java.lang.Class < ? > cl ) { if ( cl == null ) { throw new java.lang.NullPointerException ( ) ; } return java.lang.reflect.Proxy.proxyClasses.containsKey ( cl ) ; }

Target:
public static boolean isProxyClass ( java.lang.Class < ? > cl ) { return ( java.lang.reflect.Proxy.class . isAssignableFrom ( cl ) ) && ( java.lang.reflect.Proxy.proxyClassCache.containsValue ( cl ) ) ; }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { com.android.ddms.AboutDialog dlg = new com.android.ddms.AboutDialog ( shell ) ; dlg.open ( ) ; }

Target:
public void onAboutMenuSelected ( ) { com.android.ddms.AboutDialog dlg = new com.android.ddms.AboutDialog ( shell ) ; dlg.open ( ) ; }
Source:
void addConferenceCall ( java.lang.String callId , android.telecom.ParcelableConference parcelableConference ) { for ( com.android.internal.telecom.IConnectionServiceAdapter adapter : mAdapters ) { try { adapter.addConferenceCall ( callId , parcelableConference ) ; } catch ( android.os.RemoteException ignored ) { } } }

Target:
void addConferenceCall ( java.lang.String callId , android.telecom.ParcelableConference parcelableConference ) { for ( com.android.internal.telecom.IConnectionServiceAdapter adapter : mAdapters ) { try { adapter.addConferenceCall ( callId , parcelableConference , android.telecom.Log.getExternalSession ( ) ) ; } catch ( android.os.RemoteException ignored ) { } } }
Source:
public void copy3DRangeFrom ( int xoff , int yoff , int zoff , int w , int h , int d , int [ ] data ) { validateIsInt32 ( ) ; copy3DRangeFromUnchecked ( xoff , yoff , zoff , w , h , d , data ) ; }

Target:
public void copy2DRangeTo ( int xoff , int yoff , int w , int h , float [ ] data ) { validateIsFloat32 ( ) ; copy2DRangeToUnchecked ( xoff , yoff , w , h , data , Element.DataType.FLOAT_32 , data.length ) ; }
Source:
public int count ( @ javax.annotation.Nullable java.lang.Object element ) { java.util.concurrent.atomic.AtomicInteger existingCounter = safeGet ( element ) ; return existingCounter == null ? 0 : existingCounter.get ( ) ; }

Target:
public int count ( @ javax.annotation.Nullable java.lang.Object element ) { java.util.concurrent.atomic.AtomicInteger existingCounter = com.google.common.collect.Maps.safeGet ( countMap , element ) ; return existingCounter == null ? 0 : existingCounter.get ( ) ; }
Source:
public void setOnHold ( java.lang.String callId ) { if ( mConnectionById.containsKey ( callId ) ) { findConnectionForAction ( callId , "setOnHold" ) . setState ( Connection.STATE_HOLDING ) ; } else { findConferenceForAction ( callId , "setOnHold" ) . setState ( Connection.STATE_HOLDING ) ; } }

Target:
public void setOnHold ( java.lang.String callId , android.telecom.Logging.Session.Info sessionInfo ) { if ( mConnectionById.containsKey ( callId ) ) { findConnectionForAction ( callId , "setOnHold" ) . setState ( Connection.STATE_HOLDING ) ; } else { findConferenceForAction ( callId , "setOnHold" ) . setState ( Connection.STATE_HOLDING ) ; } }
Source:
public void testStagefright_b72165027 ( ) throws java.lang.Exception { doStagefrightTest ( R.raw.bug_72165027 ) ; }

Target:
public void testStagefright_bug_72165027 ( ) throws java.lang.Exception { doStagefrightTest ( R.raw.bug_72165027 ) ; }
Source:
private android.net.NetworkRequest sendRequestForNetwork ( android.net.NetworkCapabilities need , android.net.ConnectivityManager.NetworkCallback callback , int timeoutMs , int action , int legacyType ) { return sendRequestForNetwork ( need , callback , getHandler ( ) , timeoutMs , action , legacyType ) ; }

Target:
public void requestNetwork ( android.net.NetworkRequest request , android.net.ConnectivityManager.NetworkCallback networkCallback , int timeoutMs ) { int legacyType = inferLegacyTypeForNetworkCapabilities ( request.networkCapabilities ) ; requestNetwork ( request , networkCallback , timeoutMs , legacyType ) ; }
Source:
private void expectHwDisconnectedPnoScanStart ( org.mockito.InOrder order , com.android.server.wifi.WifiNative.PnoSettings pnoSettings ) { order.verify ( mWifiNative ) . setPnoScan ( true ) ; }

Target:
private void expectHwDisconnectedPnoScanStart ( org.mockito.InOrder order , com.android.server.wifi.WifiNative.PnoSettings pnoSettings ) { order.verify ( mWifiNative ) . startPnoScan ( any ( WifiNative.PnoSettings.class ) ) ; }
Source:
private void setCallState ( android.bluetooth.BluetoothHeadsetClientCall c , int state ) { if ( state == ( c.getState ( ) ) ) { return ; } c.setState ( state ) ; sendCallChangedIntent ( c ) ; }

Target:
public com.android.internal.util.IState getDisconnectedState ( ) { return mDisconnected ; }