auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
native void rsnAllocationData3D ( long con , long id , int xoff , int yoff , int zoff , int mip , int w , int h , int depth , long [ ] d , int sizeBytes ) ;

Target:
synchronized void nScriptSetVarI ( long id , int slot , int val , boolean mUseInc ) { validate ( ) ; long curCon = mContext ; if ( mUseInc ) { curCon = mIncCon ; } rsnScriptSetVarI ( curCon , id , slot , val , mUseInc ) ; }
Source:
public void onCreate ( ) { if ( com.android.bluetooth.btservice.ProfileService.DBG ) log ( "onCreate" ) ; super . onCreate ( ) ; mAdapter = android.bluetooth.BluetoothAdapter.getDefaultAdapter ( ) ; mBinder = initBinder ( ) ; }

Target:
public void onCreate ( ) { if ( com.android.bluetooth.btservice.ProfileService.DBG ) log ( "onCreate" ) ; super . onCreate ( ) ; mAdapter = android.bluetooth.BluetoothAdapter.getDefaultAdapter ( ) ; mBinder = initBinder ( ) ; create ( ) ; }
Source:
public void registerDefaultNetworkCallback ( android.net.ConnectivityManager.NetworkCallback networkCallback ) { sendRequestForNetwork ( null , networkCallback , 0 , android.net.ConnectivityManager.REQUEST , android.net.ConnectivityManager.TYPE_NONE ) ; }

Target:
private void requestNetwork ( android.net.NetworkRequest request , android.net.ConnectivityManager.NetworkCallback networkCallback , int timeoutMs , int legacyType , android.os.Handler handler ) { android.net.ConnectivityManager.CallbackHandler cbHandler = new android.net.ConnectivityManager.CallbackHandler ( handler ) ; android.net.NetworkCapabilities nc = request.networkCapabilities ; sendRequestForNetwork ( nc , networkCallback , timeoutMs , android.net.ConnectivityManager.REQUEST , legacyType , cbHandler ) ; }
Source:
public void getAllArrayItemsWithFallback ( java.lang.String path , android.icu.impl.UResource.ArraySink sink ) throws java.util.MissingResourceException { getAllContainerItemsWithFallback ( path , sink , null ) ; }

Target:
public void getAllItemsWithFallback ( java.lang.String path , android.icu.impl.UResource.Sink sink ) throws java.util.MissingResourceException { getAllItemsWithFallback ( path , sink , null , null ) ; }
Source:
public void enter ( ) { infoLog ( "Entering OnState" ) ; com.android.bluetooth.btservice.AdapterService adapterService = mAdapterService ; if ( adapterService == null ) { errorLog ( "Entered OnState after cleanup" ) ; return ; } adapterService.updateUuids ( ) ; adapterService.setBluetoothClassFromConfig ( ) ; }

Target:
public boolean processMessage ( android.os.Message msg ) { switch ( msg.what ) { case com.android.bluetooth.btservice.AdapterState.USER_TURN_OFF : transitionTo ( mTurningOffState ) ; break ; default : infoLog ( ( "Unhandled message - " + ( messageString ( msg.what ) ) ) ) ; return false ; } return true ; }
Source:
private void displayAvdList ( ) { try { com.android.sdklib.internal.avd.AvdManager avdManager = com.android.sdklib.internal.avd.AvdManager.getInstance ( mSdkManager.getLocalSdk ( ) , mSdkLog ) ; displayAvdList ( avdManager ) ; } catch ( com.android.prefs.AndroidLocation.AndroidLocationException e ) { errorAndExit ( e.getMessage ( ) ) ; } }

Target:
protected com.android.sdklib.internal.avd.AvdManager getAvdManager ( ) throws com.android.prefs.AndroidLocation.AndroidLocationException { if ( ( mAvdManager ) == null ) { mAvdManager = com.android.sdklib.internal.avd.AvdManager.getInstance ( mSdkManager.getLocalSdk ( ) , mSdkLog ) ; } return mAvdManager ; }
Source:
private boolean keyguardIsShowingTq ( ) { if ( ( mKeyguardMediator ) == null ) return false ; return mKeyguardMediator.isShowingAndNotHidden ( ) ; }

Target:
public boolean inKeyguardRestrictedKeyInputMode ( ) { if ( ( mKeyguardMediator ) == null ) return false ; return mKeyguardMediator.isInputRestricted ( ) ; }
Source:
private static java.io.File getHprofConf ( ) { java.io.File libDir = new java.io.File ( java.lang.System.getProperty ( "java.library.path" ) ) ; return new java.io.File ( new java.io.File ( libDir.getParentFile ( ) , "bin" ) , "hprof-conv" ) ; }

Target:
private static java.io.File getHprofConf ( ) { java.io.File libDir = new java.io.File ( java.lang.System.getProperty ( "java.library.path" ) . split ( ":" ) [ 0 ] ) ; return new java.io.File ( new java.io.File ( libDir.getParentFile ( ) , "bin" ) , "hprof-conv" ) ; }
Source:
public void onResume ( ) { super . onResume ( ) ; getActivity ( ) . registerReceiver ( mRefreshReceiver , new android.content.IntentFilter ( com.android.traceur.MainFragment.ACTION_REFRESH_TAGS ) ) ; }

Target:
public void onResume ( ) { super . onResume ( ) ; getActivity ( ) . registerReceiver ( mRefreshReceiver , new android.content.IntentFilter ( com.android.traceur.MainFragment.ACTION_REFRESH_TAGS ) ) ; com.android.traceur.Receiver.updateTracing ( getContext ( ) ) ; }
Source:
public synchronized void addTrue ( ) { ( this . numTrue ) ++ ; ( this . total ) ++ ; }

Target:
public synchronized void addTrue ( ) { ( this . trueCount ) ++ ; ( this . total ) ++ ; }
Source:
public void onAnnouncementRequested ( java.lang.CharSequence announcement ) { announceForAccessibility ( announcement ) ; }

Target:
public void onAnnouncementRequested ( java.lang.CharSequence announcement ) { if ( announcement != null ) { mHandler.obtainMessage ( com.android.systemui.qs.QSPanel.H.ANNOUNCE_FOR_ACCESSIBILITY , announcement ) . sendToTarget ( ) ; } }
Source:
private void handleEndSession ( java.util.Map < java.lang.String , java.lang.String > values ) { }

Target:
private boolean handleBeginSession ( java.util.Map < java.lang.String , java.lang.String > values ) { return true ; }
Source:
native void rsnAllocationData3D ( int con , int id , int xoff , int yoff , int zoff , int mip , int w , int h , int depth , short [ ] d , int sizeBytes ) ;

Target:
native void rsnAllocationData2D ( long con , long id , int xoff , int yoff , int mip , int face , int w , int h , float [ ] d , int sizeBytes ) ;
Source:
public void addU16 ( int v ) { mN.addU16 ( v ) ; }

Target:
public void addU16 ( int v ) { mN.addU16 ( v ) ; mPos += 2 ; }
Source:
private java.lang.String dumpEntireTimeZoneStatusToString ( ) throws java.lang.Exception { java.lang.String output = getDevice ( ) . executeShellCommand ( "dumpsys timezone" ) ; assertNotNull ( output ) ; return output ; }

Target:
private java.lang.String dumpEntireTimeZoneStatusToString ( ) throws java.lang.Exception { java.lang.String output = getDevice ( ) . executeShellCommand ( "dumpsys timezone" ) ; org.junit.Assert.assertNotNull ( output ) ; return output ; }
Source:
public void alignToFourBytes ( ) { while ( ( ( data.position ( ) ) & 3 ) != 0 ) { data.put ( ( ( byte ) ( 0 ) ) ) ; } }

Target:
public void alignToFourBytesWithZeroFill ( ) { while ( ( ( data.position ( ) ) & 3 ) != 0 ) { data.put ( ( ( byte ) ( 0 ) ) ) ; } }
Source:
public static java.util.List < org.jetbrains.plugins.github.api.GithubIssue > getIssuesQueried ( @ org.jetbrains.annotations.NotNull org.jetbrains.plugins.github.api.GithubAuthData auth , @ org.jetbrains.annotations.NotNull java.lang.String user , @ org.jetbrains.annotations.NotNull java.lang.String repo , @ org.jetbrains.annotations.Nullable java.lang.String query ) throws java.io.IOException { query = java.net.URLEncoder.encode ( ( ( ( ( ( "@" + user ) + "/" ) + repo ) + " " ) + query ) , "UTF-8" ) ; java.lang.String path = "/search/issues?q=" + query ; com.google.gson.JsonElement result = org.jetbrains.plugins.github.api.GithubApiUtil.getRequest ( auth , path , org.jetbrains.plugins.github.api.GithubApiUtil.ACCEPT_NEW_SEARCH_API ) ; return org.jetbrains.plugins.github.api.GithubApiUtil.createDataFromRaw ( org.jetbrains.plugins.github.api.GithubApiUtil.fromJson ( result , org.jetbrains.plugins.github.api.GithubIssuesSearchResultRaw.class ) , org.jetbrains.plugins.github.api.GithubIssuesSearchResult.class ) . getIssues ( ) ; }

Target:
public static java.util.List < org.jetbrains.plugins.github.api.GithubIssue > getIssuesQueried ( @ org.jetbrains.annotations.NotNull org.jetbrains.plugins.github.util.GithubAuthData auth , @ org.jetbrains.annotations.NotNull java.lang.String user , @ org.jetbrains.annotations.NotNull java.lang.String repo , @ org.jetbrains.annotations.Nullable java.lang.String query ) throws java.io.IOException { query = java.net.URLEncoder.encode ( ( ( ( ( ( "@" + user ) + "/" ) + repo ) + " " ) + query ) , "UTF-8" ) ; java.lang.String path = "/search/issues?q=" + query ; com.google.gson.JsonElement result = org.jetbrains.plugins.github.api.GithubApiUtil.getRequest ( auth , path , org.jetbrains.plugins.github.api.GithubApiUtil.ACCEPT_NEW_SEARCH_API ) ; return org.jetbrains.plugins.github.api.GithubApiUtil.createDataFromRaw ( org.jetbrains.plugins.github.api.GithubApiUtil.fromJson ( result , org.jetbrains.plugins.github.api.GithubIssuesSearchResultRaw.class ) , org.jetbrains.plugins.github.api.GithubIssuesSearchResult.class ) . getIssues ( ) ; }
Source:
public static synchronized com.android.internal.telephony.gsm.stk.RilMessageDecoder getInstance ( android.os.Handler caller , com.android.internal.telephony.gsm.SIMFileHandler fh ) { if ( ( com.android.internal.telephony.gsm.stk.RilMessageDecoder.sInstance ) == null ) { com.android.internal.telephony.gsm.stk.RilMessageDecoder.sInstance = new com.android.internal.telephony.gsm.stk.RilMessageDecoder ( caller , fh ) ; com.android.internal.telephony.gsm.stk.RilMessageDecoder.sInstance.start ( ) ; } return com.android.internal.telephony.gsm.stk.RilMessageDecoder.sInstance ; }

Target:
public static synchronized com.android.internal.telephony.gsm.stk.RilMessageDecoder getInstance ( android.os.Handler caller , com.android.internal.telephony.IccFileHandler fh ) { if ( ( com.android.internal.telephony.gsm.stk.RilMessageDecoder.sInstance ) == null ) { com.android.internal.telephony.gsm.stk.RilMessageDecoder.sInstance = new com.android.internal.telephony.gsm.stk.RilMessageDecoder ( caller , fh ) ; com.android.internal.telephony.gsm.stk.RilMessageDecoder.sInstance.start ( ) ; } return com.android.internal.telephony.gsm.stk.RilMessageDecoder.sInstance ; }
Source:
protected abstract boolean isCaRemoved ( java.lang.String caFile ) ;

Target:
protected abstract boolean isCertMarkedAsRemoved ( java.lang.String caFile ) ;
Source:
private int getApiLevel ( java.lang.String target ) { if ( target.startsWith ( "android-" ) ) { return java.lang.Integer.parseInt ( target.substring ( "android-" . length ( ) ) ) ; } return - 1 ; }

Target:
private int getApiLevel ( java.lang.String target ) { if ( target.startsWith ( "android-" ) ) { return java.lang.Integer.parseInt ( target.substring ( "android-" . length ( ) ) ) ; } return 99 ; }
Source:
public boolean initializeSupplicantHal ( ) { if ( ! ( com.android.server.wifi.WifiNative.HIDL_ENABLE ) ) { return true ; } if ( ! ( mSupplicantP2pIfaceHal.initialize ( ) ) ) { return false ; } return mSupplicantStaIfaceHal.initialize ( ) ; }

Target:
public boolean migrateNetworksFromSupplicant ( java.util.Map < java.lang.String , android.net.wifi.WifiConfiguration > configs , android.util.SparseArray < java.util.Map < java.lang.String , java.lang.String > > networkExtras ) { mWifiSupplicantControl.loadNetworks ( configs , networkExtras ) ; return true ; }
Source:
final void updateLruProcessLocked ( com.android.server.am.ProcessRecord app , boolean oomAdj , boolean updateActivityTime ) { ( mLruSeq ) ++ ; updateLruProcessInternalLocked ( app , oomAdj , updateActivityTime , 0 ) ; }

Target:
final void setFocusedActivityLocked ( com.android.server.am.ActivityRecord r ) { if ( ( mFocusedActivity ) != r ) { mFocusedActivity = r ; if ( r != null ) { mWindowManager.setFocusedApp ( r.appToken , true ) ; } applyUpdateLockStateLocked ( r ) ; } }
Source:
protected void finalize ( ) { if ( com.android.internal.telephony.uicc.SIMRecords.DBG ) log ( "finalized" ) ; }

Target:
protected void finalize ( ) { if ( DBG ) log ( "finalized" ) ; }
Source:
public boolean hasTransport ( int transportType ) { return ( android.net.NetworkCapabilities.isValidTransport ( transportType ) ) && ( ( ( mTransportTypes ) & ( 1 << transportType ) ) != 0 ) ; }

Target:
public boolean hasTransport ( int transportType ) { if ( ( transportType < ( android.net.NetworkCapabilities.MIN_TRANSPORT ) ) || ( transportType > ( android.net.NetworkCapabilities.MAX_TRANSPORT ) ) ) { return false ; } return ( ( mTransportTypes ) & ( 1 << transportType ) ) != 0 ; }
Source:
public static void e ( java.lang.String prefix , java.lang.Throwable tr , java.lang.String format , java.lang.Object ... args ) { if ( com.android.services.telephony.Log.ERROR ) { android.util.Log.e ( com.android.services.telephony.Log.TAG , com.android.services.telephony.Log.buildMessage ( prefix , format , args ) , tr ) ; } }

Target:
public static void wtf ( java.lang.String prefix , java.lang.Throwable tr , java.lang.String format , java.lang.Object ... args ) { android.telecom.Log.wtf ( prefix , tr , format , args ) ; }
Source:
public int getCurrentPhoneType ( ) { return getCurrentPhoneType ( android.telephony.TelephonyManager.getDefaultSubscription ( ) ) ; }

Target:
public int getCurrentPhoneType ( int subId ) { int phoneId ; if ( subId == ( SubscriptionManager.INVALID_SUBSCRIPTION_ID ) ) { phoneId = 0 ; } else { phoneId = android.telephony.SubscriptionManager.getPhoneId ( subId ) ; } return getCurrentPhoneTypeForSlot ( phoneId ) ; }
Source:
private int getDrmMimeSavedStringRsrc ( long msgId , boolean success ) { java.lang.String mimeType = getDrmMimeType ( msgId ) ; if ( isAudioMimeType ( mimeType ) ) { return success ? R.string.saved_ringtone : R.string.saved_ringtone_fail ; } return 0 ; }

Target:
private int getDrmMimeSavedStringRsrc ( long msgId , boolean success ) { if ( isDrmRingtoneWithRights ( msgId ) ) { return success ? R.string.saved_ringtone : R.string.saved_ringtone_fail ; } return 0 ; }
Source:
protected void prepareTest ( int test ) { }

Target:
public void testPosterizeSet ( ) { com.android.rs.imagejb.ImageProcessingTest.TestAction ta = new com.android.rs.imagejb.ImageProcessingTest.TestAction ( com.android.rs.imagejb.IPTestListJB.TestName.POSTERIZE_SET ) ; runTest ( ta , TestName.POSTERIZE_SET.name ( ) ) ; }
Source:
public static java.lang.String getFolderSegment ( int code ) { if ( ( ( code != ( com.android.ide.eclipse.adt.internal.resources.configurations.CountryCodeQualifier.DEFAULT_CODE ) ) && ( code >= 100 ) ) && ( code <= 999 ) ) { return java.lang.String.format ( "mcc%1$d" , code ) ; } return "" ; }

Target:
public static java.lang.String getFolderSegment ( int code ) { if ( ( ( code != ( com.android.ide.common.resources.configuration.CountryCodeQualifier.DEFAULT_CODE ) ) && ( code >= 100 ) ) && ( code <= 999 ) ) { return java.lang.String.format ( "mcc%1$d" , code ) ; } return "" ; }
Source:
public static com.android.ahat.DocString text ( java.lang.String format , java.lang.Object ... args ) { com.android.ahat.DocString doc = new com.android.ahat.DocString ( ) ; return doc.append ( format , args ) ; }

Target:
public static com.android.ahat.DocString text ( java.lang.String str ) { com.android.ahat.DocString doc = new com.android.ahat.DocString ( ) ; return doc.append ( str ) ; }
Source:
public synchronized void onServiceConnected ( android.content.ComponentName className , android.os.IBinder service ) { mSecureElementService = ISecureElementService.Stub.asInterface ( service ) ; if ( ( mSEListener ) != null ) { mSEListener.onServiceConnected ( ) ; } android.util.Log.i ( android.se.omapi.SEService.TAG , "Service onServiceConnected" ) ; }

Target:
public synchronized void onServiceConnected ( android.content.ComponentName className , android.os.IBinder service ) { mSecureElementService = ISecureElementService.Stub.asInterface ( service ) ; if ( ( mSEListener ) != null ) { mSEListener.onConnected ( ) ; } android.util.Log.i ( android.se.omapi.SEService.TAG , "Service onServiceConnected" ) ; }
Source:
public com.google.gct.testing.GoogleCloudTestingConfigurationImpl clone ( ) { return copy ( null ) ; }

Target:
public com.google.gct.testing.CloudTestConfigurationImpl clone ( ) { return copy ( null ) ; }
Source:
private static boolean isOnWindows ( ) { return java.lang.System.getProperty ( com.android.tradefed.testtype.VtsMultiDeviceTest.OS_NAME ) . contains ( com.android.tradefed.testtype.VtsMultiDeviceTest.WINDOWS ) ; }

Target:
protected com.android.tradefed.util.VtsPythonRunnerHelper createVtsPythonRunnerHelper ( ) { return new com.android.tradefed.util.VtsPythonRunnerHelper ( mBuildInfo ) ; }
Source:
public static float scalb ( float f , int scaleFactor ) { return sun.misc.FpUtils.scalb ( f , scaleFactor ) ; }

Target:
public static int getExponent ( float f ) { return ( ( ( java.lang.Float.floatToRawIntBits ( f ) ) & ( sun.misc.FloatConsts.EXP_BIT_MASK ) ) > > ( ( sun.misc.FloatConsts.SIGNIFICAND_WIDTH ) - 1 ) ) - ( sun.misc.FloatConsts.EXP_BIAS ) ; }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setPassedTestCaseCount ( int value ) { bitField0_ |= 4096 ; passedTestCaseCount_ = value ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder clearFailedTestCaseCount ( ) { bitField0_ = ( bitField0_ ) & ( ~ 32768 ) ; failedTestCaseCount_ = 0 ; onChanged ( ) ; return this ; }
Source:
public void execute ( java.lang.String ... tasks ) { execute ( java.util.Collections.< java.lang.String > emptyList ( ) , false , false , tasks ) ; }

Target:
public void execute ( java.lang.String ... tasks ) { execute ( java.util.Collections.< java.lang.String > emptyList ( ) , false , false , com.android.build.gradle.integration.common.fixture.GradleTestProject.ExpectedBuildResult.SUCCESS , tasks ) ; }
Source:
public com.android.ims.internal.IImsCallSession getPendingCallSession ( int sessionId , java.lang.String callId ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; return getServiceInterface ( mBinder ) . getPendingCallSession ( mSlotId , mSupportedFeature , sessionId , callId ) ; } }

Target:
public void setUiTTYMode ( int uiTtyMode , android.os.Message onComplete ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; getServiceInterface ( mBinder ) . setUiTTYMode ( mSlotId , mSupportedFeature , uiTtyMode , onComplete ) ; } }
Source:
synchronized void nContextDestroy ( ) { validate ( ) ; java.util.concurrent.locks.ReentrantReadWriteLock.WriteLock wlock = mRWLock.writeLock ( ) ; wlock.lock ( ) ; int curCon = mContext ; mContext = 0 ; wlock.unlock ( ) ; rsnContextDestroy ( curCon ) ; }

Target:
void nObjDestroy ( long id ) { if ( ( mContext ) != 0 ) { rsnObjDestroy ( mContext , id ) ; } }
Source:
void passFailButtonsClickHandler ( android.view.View target ) ;

Target:
void setPassFailButtonClickListeners ( ) ;
Source:
public final boolean isValid ( ) { return block.isValid ( ) ; }

Target:
public final boolean isAccessible ( ) { return block.isAccessible ( ) ; }
Source:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; pdq = new com.android.ide.eclipse.adt.internal.resources.configurations.PixelDensityQualifier ( ) ; config = new com.android.ide.eclipse.adt.internal.resources.configurations.FolderConfiguration ( ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; pdq = new com.android.ide.common.resources.configuration.PixelDensityQualifier ( ) ; config = new com.android.ide.common.resources.configuration.FolderConfiguration ( ) ; }
Source:
com.android.sched.util.location.Location getVDirLocation ( @ javax.annotation.Nonnull com.android.sched.vfs.BaseVDir parent , @ javax.annotation.Nonnull java.lang.String name ) { return vfs.getVDirLocation ( parent , name ) ; }

Target:
com.android.sched.util.location.Location getVFileLocation ( @ javax.annotation.Nonnull com.android.sched.vfs.MessageDigestFS.MessageDigestVDir parent , @ javax.annotation.Nonnull java.lang.String name ) { return vfs.getVFileLocation ( parent.getWrappedDir ( ) , name ) ; }
Source:
public boolean pullPhoneBook ( java.lang.String pbName , long filter , byte format , int maxListCount , int listStartOffset ) { android.bluetooth.client.pbap.BluetoothPbapRequest req = new android.bluetooth.client.pbap.BluetoothPbapRequestPullPhoneBook ( pbName , filter , format , maxListCount , listStartOffset ) ; return mSession.makeRequest ( req ) ; }

Target:
public boolean pullPhoneBook ( java.lang.String pbName , long filter , byte format , int maxListCount , int listStartOffset ) { android.bluetooth.client.pbap.BluetoothPbapRequest req = new android.bluetooth.client.pbap.BluetoothPbapRequestPullPhoneBook ( pbName , mAccount , filter , format , maxListCount , listStartOffset ) ; return mSession.makeRequest ( req ) ; }
Source:
private void checkNotFreed ( ) { if ( ! ( block.isValid ( ) ) ) { throw new java.lang.IllegalStateException ( "buffer was freed" ) ; } }

Target:
private void checkNotFreed ( ) { if ( block.isFreed ( ) ) { throw new java.lang.IllegalStateException ( "buffer was freed" ) ; } }
Source:
public static native void EVP_CIPHER_CTX_cleanup ( long ctx ) ;

Target:
public static native void EVP_CIPHER_CTX_free ( long ctx ) ;
Source:
final void deleteByRedirectingToPrimarySuccessor ( ) { assert hasPrimarySuccessor ( ) ; com.android.jack.ir.ast.cfg.JBasicBlock primary = getPrimarySuccessor ( ) ; for ( com.android.jack.ir.ast.cfg.JBasicBlock pre : this . getPredecessorsSnapshot ( ) ) { pre.replaceAllSuccessors ( this , primary ) ; } dereferenceAllSuccessors ( ) ; }

Target:
public void checkValidity ( ) { super . checkValidity ( ) ; if ( ! ( hasElements ( ) ) ) { throw new com.android.jack.ir.JNodeInternalError ( this , "Block must not be empty" ) ; } }
Source:
native void rsnScriptInvoke ( long con , long id , int slot ) ;

Target:
native void rsnScriptSetVarV ( long con , long id , int slot , byte [ ] val , boolean mUseInc ) ;
Source:
public void workingLocalOnlyHotspotEnrichedApBroadcast ( ) throws java.lang.Exception { workingLocalOnlyHotspot ( true ) ; }

Target:
public void workingLocalOnlyHotspotLegacyApBroadcast ( ) throws java.lang.Exception { workingLocalOnlyHotspot ( true , false ) ; }
Source:
private void notifyAdvertiseUnsupported ( ) { if ( com.android.cts.verifier.bluetooth.BleServerService.DEBUG ) { android.util.Log.d ( com.android.cts.verifier.bluetooth.BleServerService.TAG , "notifyAdvertiseUnsupported" ) ; } android.content.Intent intent = new android.content.Intent ( com.android.cts.verifier.bluetooth.BleServerService.BLE_ADVERTISE_UNSUPPORTED ) ; sendBroadcast ( intent ) ; }

Target:
private void writeCharacteristic ( java.lang.String writeValue ) { android.bluetooth.BluetoothGattCharacteristic characteristic = getCharacteristic ( com.android.cts.verifier.bluetooth.BleServerService.CHARACTERISTIC_UUID ) ; if ( characteristic != null ) return ; characteristic.setValue ( writeValue ) ; }
Source:
public static void w ( java.lang.Object objectPrefix , java.lang.String format , java.lang.Object ... args ) { if ( com.android.services.telephony.Log.WARN ) { android.util.Log.w ( com.android.services.telephony.Log.TAG , com.android.services.telephony.Log.buildMessage ( com.android.services.telephony.Log.getPrefixFromObject ( objectPrefix ) , format , args ) ) ; } }

Target:
public static void w ( java.lang.Object objectPrefix , java.lang.String format , java.lang.Object ... args ) { android.telecom.Log.w ( objectPrefix , format , args ) ; }
Source:
public boolean isVarArgs ( ) { return ( ( getModifiers ( ) ) & ( java.lang.reflect.Modifier.VARARGS ) ) != 0 ; }

Target:
public java.lang.reflect.Type [ ] getGenericExceptionTypes ( ) { return libcore.reflect.Types.getTypeArray ( getMethodOrConstructorGenericInfoInternal ( ) . genericExceptionTypes , false ) ; }
Source:
protected boolean invokeCodeCompletion ( ) { return ( mId.equals ( SecurityDetector.EXPORTED_SERVICE.getId ( ) ) ) || ( mId.equals ( TextFieldDetector.ISSUE.getId ( ) ) ) ; }

Target:
protected boolean invokeCodeCompletion ( ) { return ( ( mId.equals ( SecurityDetector.EXPORTED_SERVICE.getId ( ) ) ) || ( mId.equals ( TextFieldDetector.ISSUE.getId ( ) ) ) ) || ( mId.equals ( ManifestOrderDetector.ALLOW_BACKUP.getId ( ) ) ) ; }
Source:
public void TestCyrillic ( ) throws java.io.IOException { long start = java.lang.System.currentTimeMillis ( ) ; new android.icu.dev.test.translit.RoundTripTest.Test ( "Latin-Cyrillic" ) . test ( "[a-zA-ZĐđʺʹ]" , "[Ѐ-џ]" , null , this , new android.icu.dev.test.translit.RoundTripTest.Legal ( ) ) ; showElapsed ( start , "TestCyrillic" ) ; }

Target:
public void TestCyrillic ( ) throws java.io.IOException { long start = java.lang.System.currentTimeMillis ( ) ; new android.icu.dev.test.translit.RoundTripTest.TransliterationTest ( "Latin-Cyrillic" ) . test ( "[a-zA-ZĐđʺʹ]" , "[Ѐ-џ]" , null , this , new android.icu.dev.test.translit.RoundTripTest.Legal ( ) ) ; showElapsed ( start , "TestCyrillic" ) ; }
Source:
protected void setUp ( ) { java.io.File resources = tests.support.resource.Support_Resources.createTempFolder ( ) ; tests.support.resource.Support_Resources.copyFile ( resources , null , libcore.io.ClassPathURLStreamHandlerTest.JAR ) ; jarFile = new java.io.File ( resources , libcore.io.ClassPathURLStreamHandlerTest.JAR ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { java.io.File resources = tests.support.resource.Support_Resources.createTempFolder ( ) . getCanonicalFile ( ) ; tests.support.resource.Support_Resources.copyFile ( resources , null , libcore.io.ClassPathURLStreamHandlerTest.JAR ) ; jarFile = new java.io.File ( resources , libcore.io.ClassPathURLStreamHandlerTest.JAR ) ; }
Source:
public void resolveOperandBlockIndex ( java.util.Map < java.lang.Integer , java.lang.Integer > labelToIndex ) { for ( com.android.jack.dx.ssa.PhiInsn.Operand o : operands ) { @ java.lang.SuppressWarnings ( value = "boxing" ) java.lang.Integer index = labelToIndex.get ( o.ropLabel ) ; o.blockIndex = index.intValue ( ) ; } }

Target:
public void resolveOperandBlockIndex ( java.util.Map < java.lang.Integer , java.lang.Integer > labelToIndex ) { for ( com.android.jack.dx.ssa.PhiInsn.Operand o : operands ) { java.lang.Integer index = labelToIndex.get ( java.lang.Integer.valueOf ( o.ropLabel ) ) ; o.blockIndex = index.intValue ( ) ; } }
Source:
protected abstract java.lang.String generateReplacementText ( org.eclipse.jdt.core.dom.Comment commentNode , java.lang.String commentText ) ;

Target:
protected abstract java.lang.String processComment ( com.google.currysrc.api.process.Reporter reporter , org.eclipse.jdt.core.dom.Comment commentNode , java.lang.String commentText ) ;
Source:
public void doWork ( ) throws android.os.RemoteException { mService.editProperties ( mResponse , accountType , ( activity != null ) ) ; }

Target:
public void doWork ( ) throws android.os.RemoteException { mService.getAuthToken ( mResponse , account , authTokenType , notifyAuthFailure , false , optionsIn ) ; }
Source:
private static native java.lang.String [ ] [ ] getZoneStringsImpl ( java.lang.String locale , java.lang.String [ ] timeZoneIds ) ;

Target:
private static native void fillZoneStrings ( java.lang.String locale , java.lang.String [ ] [ ] result ) ;
Source:
private native int connectSocketNative ( byte [ ] address , int type , byte [ ] uuid , int port , int flag ) ;

Target:
private native int createSocketChannelNative ( int type , java.lang.String serviceName , byte [ ] uuid , int port , int flag , int callingUid ) ;
Source:
private boolean hasConnectedDevices ( ) { return ( ! ( mA2dpConnectedDevices.isEmpty ( ) ) ) || ( ! ( mHfpConnectedDevices.isEmpty ( ) ) ) ; }

Target:
private boolean hasConnectedClassicDevices ( ) { return ( ! ( mA2dpConnectedDevices.isEmpty ( ) ) ) || ( ! ( mHfpConnectedDevices.isEmpty ( ) ) ) ; }
Source:
private native void setOption_native ( java.io.FileDescriptor fd , int optID , int b , int value ) throws java.io.IOException ;

Target:
private static int javaSoToOsOpt ( int optID ) { switch ( optID ) { case java.net.SocketOptions.SO_SNDBUF : return android.system.OsConstants.SO_SNDBUF ; case java.net.SocketOptions.SO_RCVBUF : return android.system.OsConstants.SO_RCVBUF ; case java.net.SocketOptions.SO_REUSEADDR : return android.system.OsConstants.SO_REUSEADDR ; default : throw new java.lang.UnsupportedOperationException ( ( "Unknown option: " + optID ) ) ; } }
Source:
public java.lang.String getName ( ) { if ( ( mName ) == null ) { mName = mDir.getName ( ) ; } return mName ; }

Target:
public java.lang.String getName ( ) { if ( ( mName ) == null ) { mName = mClient.getProjectName ( this ) ; } return mName ; }
Source:
public android.telephony.ims.feature.RcsFeature onCreateRcsFeature ( int slotId ) { return mTestRcsFeature ; }

Target:
public android.telephony.ims.feature.RcsFeature createRcsFeature ( int slotId ) { return mTestRcsFeature ; }
Source:
public java.util.Scanner useLocale ( java.util.Locale l ) { if ( l == null ) { throw new java.lang.NullPointerException ( "l == null" ) ; } this . locale = l ; return this ; }

Target:
private void setLocale ( java.util.Locale locale ) { this . locale = locale ; this . decimalFormat = null ; this . cachedFloatPattern = null ; this . cachedIntegerPatternRadix = - 1 ; this . cachedIntegerPattern = null ; }
Source:
public com.android.jack.dx.rop.type.Type getType ( ) { return com.android.jack.dx.rop.type.Type.intern ( getDescriptor ( ) . getString ( ) ) ; }

Target:
public com.android.jack.dx.rop.type.Type getType ( ) { return type.getClassType ( ) ; }
Source:
private void sendCoreSettings ( ) { populateCoreSettings ( mCoreSettings ) ; mActivityManagerService.onCoreSettingsChange ( mCoreSettings ) ; }

Target:
private void sendCoreSettings ( ) { populateSettings ( mCoreSettings , com.android.server.am.CoreSettingsObserver.sSecureSettingToTypeMap ) ; populateSettings ( mCoreSettings , com.android.server.am.CoreSettingsObserver.sSystemSettingToTypeMap ) ; mActivityManagerService.onCoreSettingsChange ( mCoreSettings ) ; }
Source:
protected int engineGetOutputSize ( int inputLen ) { return getFinalOutputSize ( inputLen ) ; }

Target:
protected int engineGetOutputSize ( int inputLen ) { if ( ( modeBlockSize ) == 1 ) { return inputLen ; } else { return inputLen + ( modeBlockSize ) ; } }
Source:
public void run ( ) { int focusedWindow = com.android.hierarchyviewerlib.device.DeviceBridge.getFocusedWindow ( device ) ; com.android.hierarchyviewerlib.ComponentRegistry.getDeviceSelectionModel ( ) . updateFocusedWindow ( device , focusedWindow ) ; }

Target:
public void run ( ) { int focusedWindow = com.android.hierarchyviewerlib.device.DeviceBridge.getFocusedWindow ( device ) ; com.android.hierarchyviewerlib.models.DeviceSelectionModel.getModel ( ) . updateFocusedWindow ( device , focusedWindow ) ; }
Source:
public static java.util.Locale [ ] getAvailableLocales ( ) { if ( ( android.icu.text.Collator.shim ) == null ) { return android.icu.impl.ICUResourceBundle.getAvailableLocales ( ICUResourceBundle.ICU_COLLATION_BASE_NAME , ICUResourceBundle.ICU_DATA_CLASS_LOADER ) ; } return android.icu.text.Collator.shim.getAvailableLocales ( ) ; }

Target:
public static java.util.Locale [ ] getAvailableLocales ( ) { if ( ( android.icu.text.Collator.shim ) == null ) { return android.icu.impl.ICUResourceBundle.getAvailableLocales ( ICUData.ICU_COLLATION_BASE_NAME , ICUResourceBundle.ICU_DATA_CLASS_LOADER ) ; } return android.icu.text.Collator.shim.getAvailableLocales ( ) ; }
Source:
public static void computeTanh ( android.renderscript.cts.TestTanh.ArgumentsFloatFloat args ) { args.ulf = 5 ; args.ulfRelaxed = 128 ; args.out = ( ( float ) ( java.lang.StrictMath.tanh ( args.in ) ) ) ; }

Target:
public static void computeCosh ( android.renderscript.cts.TestCosh.ArgumentsFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( android.renderscript.cts.CoreMathVerifier.cosh ( args.in ) , 4 , 128 ) ; }
Source:
public void testReadWithNoStoreFile ( ) throws java.lang.Exception { com.android.server.wifi.WifiConfigStoreData readData = mWifiConfigStore.read ( ) ; com.android.server.wifi.WifiConfigStoreDataTest.assertConfigStoreDataEqual ( getEmptyStoreData ( ) , readData ) ; }

Target:
public void testReadWithNoStoreFile ( ) throws java.lang.Exception { assertFalse ( mWifiConfigStore.areStoresPresent ( ) ) ; com.android.server.wifi.WifiConfigStoreData readData = mWifiConfigStore.read ( ) ; com.android.server.wifi.WifiConfigStoreDataTest.assertConfigStoreDataEqual ( getEmptyStoreData ( ) , readData ) ; }
Source:
synchronized void nScriptSetVarV ( int id , int slot , byte [ ] val ) { validate ( ) ; rsnScriptSetVarV ( mContext , id , slot , val ) ; }

Target:
synchronized long nScriptKernelIDCreate ( long sid , int slot , int sig ) { validate ( ) ; return rsnScriptKernelIDCreate ( mContext , sid , slot , sig ) ; }
Source:
public static com.android.sdklib.repository.descriptors.IPkgDesc newBuildTool ( @ com.android.annotations.NonNull final com.android.sdklib.repository.FullRevision revision ) { return new com.android.sdklib.repository.descriptors.PkgDesc ( ) { @ java.lang.Override public com.android.sdklib.repository.descriptors.PkgType getType ( ) { return PkgType.PKG_BUILD_TOOLS ; } @ java.lang.Override public com.android.sdklib.repository.FullRevision getFullRevision ( ) { return revision ; } } ; }

Target:
public boolean isUpdateFor ( @ com.android.annotations.NonNull com.android.sdklib.repository.descriptors.IPkgDesc existingDesc ) { return ( isGenericUpdateFor ( existingDesc ) ) && ( ( revision.compareTo ( existingDesc.getFullRevision ( ) , PreviewComparison.COMPARE_TYPE ) ) == 0 ) ; }
Source:
public void visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JConstructor x , @ javax.annotation.Nonnull com.android.sched.transform.TransformRequest transformRequest ) throws java.lang.Exception { visit ( ( ( com.android.jack.ir.ast.JMethod ) ( x ) ) , transformRequest ) ; }

Target:
public void visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JConstructor constructor , @ javax.annotation.Nonnull com.android.sched.transform.TransformRequest transformRequest ) throws java.lang.Exception { visit ( ( ( com.android.jack.ir.ast.JMethod ) ( constructor ) ) , transformRequest ) ; }
Source:
public java.lang.String call ( ) { return getUrl ( ) ; }

Target:
public void run ( ) { requestImageRef ( msg ) ; }
Source:
public void testResourceFiles ( ) throws java.lang.Exception { assertEquals ( ( "" + ( ( "res/layout/layout1.xml: Error: Resource named \'layout1\' does not start with the project\'s resource prefix \'unit_test_prefix_\'; rename to \'unit_test_prefix_layout1\' ? [ResourceName]\n" + "res/menu/menu.xml: Error: Resource named \'menu\' does not start with the project\'s resource prefix \'unit_test_prefix_\'; rename to \'unit_test_prefix_menu\' ? [ResourceName]\n" ) + "2 errors, 0 warnings\n" ) ) , lintProject ( "res/layout/layout1.xml" , "res/menu/menu.xml" , "res/layout/layout1.xml=>res/layout/unit_test_prefix_ok.xml" , "res/drawable-mdpi/frame.png" , "res/drawable-mdpi/frame.png=>res/drawable/unit_test_prefix_ok1.png" , "res/drawable-mdpi/frame.png=>res/drawable/unit_test_prefix_ok2.9.png" ) ) ; }

Target:
public void testResourceFiles ( ) throws java.lang.Exception { assertEquals ( ( "" + ( ( ( ( ( ( ( "res/drawable-mdpi/frame.png: Error: Resource named \'frame\' does not start with the project\'s resource prefix \'unit_test_prefix_\'; rename to \'unit_test_prefix_frame\' ? [ResourceName]\n" + "res/layout/layout1.xml:2: Error: Resource named \'layout1\' does not start with the project\'s resource prefix \'unit_test_prefix_\'; rename to \'unit_test_prefix_layout1\' ? [ResourceName]\n" ) + "<LinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" ) + "^\n" ) + "res/menu/menu.xml:2: Error: Resource named \'menu\' does not start with the project\'s resource prefix \'unit_test_prefix_\'; rename to \'unit_test_prefix_menu\' ? [ResourceName]\n" ) + "<menu xmlns:android=\"http://schemas.android.com/apk/res/android\" >\n" ) + "^\n" ) + "3 errors, 0 warnings\n" ) ) , lintProject ( "res/layout/layout1.xml" , "res/menu/menu.xml" , "res/layout/layout1.xml=>res/layout/unit_test_prefix_ok.xml" , "res/drawable-mdpi/frame.png" , "res/drawable-mdpi/frame.png=>res/drawable/unit_test_prefix_ok1.png" , "res/drawable-mdpi/frame.png=>res/drawable/unit_test_prefix_ok2.9.png" ) ) ; }
Source:
public com.android.jack.server.JackSimpleServer.JackRouter addContainer ( @ javax.annotation.Nonnull java.lang.String fragment , @ javax.annotation.Nonnull org.simpleframework.http.core.Container container ) { registry.put ( fragment , container ) ; return this ; }

Target:
public void addContainer ( @ javax.annotation.Nonnull org.simpleframework.http.Path path , @ javax.annotation.Nonnull org.simpleframework.http.core.Container container ) { registry.put ( path.getPath ( ) , container ) ; }
Source:
public void addDynamicConfigFile ( java.lang.String moduleName , java.io.File configFile ) { HEAD ( 9.0 ) ; }

Target:
public void addDynamicConfigFile ( java.lang.String moduleName , java.io.File configFile ) { mBuildInfo.setFile ( configFile.getName ( ) , configFile , ( ( com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper.CONFIG_PATH_PREFIX ) + moduleName ) ) ; }
Source:
public void update ( ) { sendMessage ( com.android.server.wifi.WifiStateMachine.CMD_UPDATE_LINKPROPERTIES ) ; }

Target:
public void onProvisioningSuccess ( android.net.LinkProperties newLp ) { sendMessage ( com.android.server.wifi.WifiStateMachine.CMD_UPDATE_LINKPROPERTIES , newLp ) ; sendMessage ( com.android.server.wifi.WifiStateMachine.CMD_IP_CONFIGURATION_SUCCESSFUL ) ; }
Source:
public static < T > T defaultValue ( java.lang.Class < T > type ) { return ( ( T ) ( com.google.common.base.Defaults.DEFAULTS.get ( type ) ) ) ; }

Target:
public static < T > T defaultValue ( java.lang.Class < T > type ) { @ java.lang.SuppressWarnings ( value = "unchecked" ) T t = ( ( T ) ( com.google.common.base.Defaults.DEFAULTS.get ( com.google.common.base.Preconditions.checkNotNull ( type ) ) ) ) ; return t ; }
Source:
public void remove ( ) { delegate.remove ( ) ; }

Target:
public java.util.ListIterator < T > listIterator ( final int index ) { return new com.google.common.collect.TransformedListIterator < F , T > ( fromList.listIterator ( index ) ) { @ java.lang.Override T transform ( F from ) { return function.apply ( from ) ; } } ; }
Source:
static int smear ( int hashCode ) { hashCode ^= ( hashCode > > > 20 ) ^ ( hashCode > > > 12 ) ; return ( hashCode ^ ( hashCode > > > 7 ) ) ^ ( hashCode > > > 4 ) ; }

Target:
static boolean needsResizing ( int size , int tableSize , double loadFactor ) { return ( size > ( loadFactor * tableSize ) ) && ( tableSize < ( com.google.common.collect.Hashing.MAX_TABLE_SIZE ) ) ; }
Source:
void preClose ( java.io.FileDescriptor fd ) throws java.io.IOException { sun.nio.ch.FileDispatcherImpl.preCloseImpl ( fd ) ; }

Target:
void preClose ( java.io.FileDescriptor fd ) throws java.io.IOException { sun.nio.ch.FileDispatcherImpl.preClose0 ( fd ) ; }
Source:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JAnnotationLiteral annotationLiteral ) { transformationRequestRoot.push ( annotationLiteral ) ; return super . visit ( annotationLiteral ) ; }

Target:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JAnnotation annotationLiteral ) { transformationRequestRoot.push ( annotationLiteral ) ; return super . visit ( annotationLiteral ) ; }
Source:
void addNewIntentLocked ( android.content.Intent intent ) { if ( ( newIntents ) == null ) { newIntents = new java.util.ArrayList < android.content.Intent > ( ) ; } newIntents.add ( intent ) ; }

Target:
void addNewIntentLocked ( com.android.internal.content.ReferrerIntent intent ) { if ( ( newIntents ) == null ) { newIntents = new java.util.ArrayList < > ( ) ; } newIntents.add ( intent ) ; }
Source:
protected static java.io.File getDexFile ( @ javax.annotation.Nonnull java.lang.String typeName ) { return new java.io.File ( com.android.jack.experimental.incremental.JackIncremental.dexFilesFolder , new com.android.sched.vfs.VPath ( ( typeName + ( com.android.jack.backend.dex.DexWriter.DEX_FILE_EXTENSION ) ) , com.android.jack.experimental.incremental.JackIncremental.fileSeparator ) . getPathAsString ( java.io.File.separatorChar ) ) ; }

Target:
protected static java.io.File getDexFile ( @ javax.annotation.Nonnull java.lang.String typeName ) { return new java.io.File ( com.android.jack.experimental.incremental.JackIncremental.dexFilesFolder , new com.android.sched.vfs.VPath ( ( typeName + ( BinaryKind.DEX.getFileExtension ( ) ) ) , com.android.jack.experimental.incremental.JackIncremental.fileSeparator ) . getPathAsString ( java.io.File.separatorChar ) ) ; }
Source:
static short $opt$ByteToShort ( byte a ) { return ( ( short ) ( a ) ) ; }

Target:
static short $opt$ByteToShort ( byte a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( short ) ( a ) ) ; }
Source:
public void notifyStatusIndicator ( ) { }

Target:
public void notifyStatusIndicator ( ) { if ( ( myButton ) != null ) { com.intellij.openapi.application.ApplicationManager.getApplication ( ) . invokeLater ( new java.lang.Runnable ( ) { @ java.lang.Override public void run ( ) { myButton.updateUi ( ) ; } } ) ; } }
Source:
public android.telephony.VisualVoicemailSmsFilterSettings getVisualVoicemailSmsFilterSettings ( java.lang.String callingPackage , int subId ) { mAppOps.checkPackage ( android.os.Binder.getCallingUid ( ) , callingPackage ) ; return com.android.phone.VisualVoicemailSmsFilterConfig.getVisualVoicemailSmsFilterSettings ( mPhone.getContext ( ) , callingPackage , subId ) ; }

Target:
public void disableVisualVoicemailSmsFilter ( java.lang.String callingPackage , int subId ) { mAppOps.checkPackage ( android.os.Binder.getCallingUid ( ) , callingPackage ) ; com.android.phone.vvm.VisualVoicemailSmsFilterConfig.disableVisualVoicemailSmsFilter ( mPhone.getContext ( ) , callingPackage , subId ) ; }
Source:
public boolean isBoundary ( int offset ) { return libcore.icu.NativeBreakIterator.isBoundaryImpl ( this . address , offset ) ; }

Target:
public boolean isBoundary ( int offset ) { return libcore.icu.NativeBreakIterator.isBoundaryImpl ( this . address , this . string , offset ) ; }
Source:
public boolean isDeviceManaged ( ) { return ( getDeviceOwnerComponentOnAnyUser ( ) ) != null ; }

Target:
public boolean isDeviceManaged ( ) { try { return mService.hasDeviceOwner ( ) ; } catch ( android.os.RemoteException re ) { throw re.rethrowFromSystemServer ( ) ; } }
Source:
public boolean isBinderAlive ( ) { return ( ( ( mIsAvailable ) && ( ( getFeatureStatus ( ) ) == ( android.telephony.ims.feature.ImsFeature.STATE_READY ) ) ) && ( ( mBinder ) != null ) ) && ( mBinder.isBinderAlive ( ) ) ; }

Target:
public boolean isBinderReady ( ) { return ( isBinderAlive ( ) ) && ( ( getFeatureStatus ( ) ) == ( android.telephony.ims.feature.ImsFeature.STATE_READY ) ) ; }
Source:
protected static java.util.Date getValidDate ( java.security.cert.PKIXParameters paramsPKIX ) { java.util.Date validDate = paramsPKIX.getDate ( ) ; if ( validDate == null ) { validDate = new java.util.Date ( ) ; } return validDate ; }

Target:
protected static java.util.Date getValidDate ( org.bouncycastle.jcajce.PKIXExtendedParameters paramsPKIX ) { java.util.Date validDate = paramsPKIX.getDate ( ) ; if ( validDate == null ) { validDate = new java.util.Date ( ) ; } return validDate ; }
Source:
public java.util.List < android.view.inputmethod.InputMethodInfo > getInputMethodList ( ) { try { return mService.getInputMethodList ( ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e ) ; } }

Target:
public void notifySuggestionPicked ( android.text.style.SuggestionSpan span , java.lang.String originalString , int index ) { try { mService.notifySuggestionPicked ( span , originalString , index ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }
Source:
public void cancelledRequest ( ) throws java.lang.Exception { mRequest.cancel ( ) ; mCacheQueue.add ( mRequest ) ; mCacheQueue.waitUntilEmpty ( com.android.volley.CacheDispatcherTest.TIMEOUT_MILLIS ) ; assertFalse ( mCache.getCalled ) ; assertFalse ( mDelivery.wasEitherResponseCalled ( ) ) ; }

Target:
public void duplicateSoftExpiredCacheHit_failedRequest ( ) throws java.lang.Exception { com.android.volley.Cache.Entry entry = com.android.volley.utils.CacheTestUtils.makeRandomCacheEntry ( null , false , true ) ; org.mockito.Mockito.when ( mCache.get ( org.mockito.Matchers.anyString ( ) ) ) . thenReturn ( entry ) ; com.android.volley.toolbox.StringRequest secondRequest = new com.android.volley.toolbox.StringRequest ( Request.Method.GET , "http://foo" , null , null ) ; mRequest.setSequence ( 1 ) ; secondRequest.setSequence ( 2 ) ; mDispatcher.processRequest ( mRequest ) ; mDispatcher.processRequest ( secondRequest ) ; org.mockito.ArgumentCaptor < java.lang.Runnable > runnable = org.mockito.ArgumentCaptor.forClass ( java.lang.Runnable.class ) ; org.mockito.Mockito.verify ( mDelivery ) . postResponse ( org.mockito.ArgumentMatchers.any ( com.android.volley.Request.class ) , org.mockito.ArgumentMatchers.any ( com.android.volley.Response.class ) , runnable.capture ( ) ) ; runnable.getValue ( ) . run ( ) ; org.mockito.Mockito.verify ( mNetworkQueue ) . put ( mRequest ) ; org.mockito.Mockito.verify ( mDelivery ) . postResponse ( org.mockito.ArgumentMatchers.any ( com.android.volley.Request.class ) , org.mockito.ArgumentMatchers.any ( com.android.volley.Response.class ) , org.mockito.ArgumentMatchers.any ( java.lang.Runnable.class ) ) ; ( ( com.android.volley.Request < ? > ) ( mRequest ) ) . notifyListenerResponseNotUsable ( ) ; org.mockito.Mockito.verify ( mNetworkQueue ) . put ( secondRequest ) ; }
Source:
private void debugPrintf ( java.lang.String message , java.lang.Object ... params ) { com.android.ide.eclipse.adt.AdtPlugin.printToConsole ( "Canvas" , java.lang.String.format ( message , params ) ) ; }

Target:
private void debugPrintf ( java.lang.String message , java.lang.Object ... params ) { if ( com.android.ide.eclipse.adt.internal.editors.layout.gle2.LayoutCanvas.DEBUG ) com.android.ide.eclipse.adt.AdtPlugin.printToConsole ( "Canvas" , java.lang.String.format ( message , params ) ) ; }
Source:
public void visitLineNumberTableAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.CodeAttribute codeAttribute , proguard.classfile.attribute.visitor.LineNumberTableAttribute lineNumberTableAttribute ) { if ( ( optionalAttributeVisitor ) != null ) { lineNumberTableAttribute.accept ( clazz , method , codeAttribute , optionalAttributeVisitor ) ; } }

Target:
public void visitRuntimeVisibleTypeAnnotationsAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Field field , proguard.classfile.attribute.visitor.RuntimeVisibleTypeAnnotationsAttribute runtimeVisibleTypeAnnotationsAttribute ) { if ( ( optionalAttributeVisitor ) != null ) { optionalAttributeVisitor.visitRuntimeVisibleTypeAnnotationsAttribute ( clazz , field , runtimeVisibleTypeAnnotationsAttribute ) ; } }
Source:
private native void gattClientSetPreferredPhyNative ( int clientIf , int conn_id , int tx_phy , int rx_phy , int phy_options ) ;

Target:
private native void gattClientReadPhyNative ( int clientIf , java.lang.String address ) ;