auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public boolean checkRegion ( ) { if ( ( ( mQualifiers [ com.android.ide.eclipse.adt.internal.resources.configurations.FolderConfiguration.INDEX_LANGUAGE ] ) == null ) && ( ( mQualifiers [ com.android.ide.eclipse.adt.internal.resources.configurations.FolderConfiguration.INDEX_REGION ] ) != null ) ) { return false ; } return true ; }

Target:
public boolean checkRegion ( ) { if ( ( ( mQualifiers [ com.android.ide.common.resources.configuration.FolderConfiguration.INDEX_LANGUAGE ] ) == null ) && ( ( mQualifiers [ com.android.ide.common.resources.configuration.FolderConfiguration.INDEX_REGION ] ) != null ) ) { return false ; } return true ; }
Source:
private void onRespAndHold ( int resp_and_hold ) { com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent event = new com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.EVENT_TYPE_RESP_AND_HOLD ) ; event.valueInt = resp_and_hold ; android.util.Log.d ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.TAG , ( "incoming" + event ) ) ; sendMessage ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.STACK_EVENT , event ) ; }

Target:
private void onRespAndHold ( int resp_and_hold ) { com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent event = new com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.EVENT_TYPE_RESP_AND_HOLD ) ; event.valueInt = resp_and_hold ; if ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.DBG ) { android.util.Log.d ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.TAG , ( "incoming" + event ) ) ; } sendMessage ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.STACK_EVENT , event ) ; }
Source:
public boolean hasVendorId ( ) { return getType ( ) . hasVendorId ( ) ; }

Target:
public boolean hasVendor ( ) { return getType ( ) . hasVendor ( ) ; }
Source:
public static com.android.ide.common.resources.configuration.FolderConfiguration getConfigForFolder ( @ com.android.annotations.NonNull java.lang.String folderName ) { return com.android.ide.common.resources.configuration.FolderConfiguration.getConfig ( com.google.common.base.Splitter.on ( '-' ) . split ( folderName ) ) ; }

Target:
public static com.android.ide.common.resources.configuration.FolderConfiguration getConfigForFolder ( @ com.android.annotations.NonNull java.lang.String folderName ) { return com.android.ide.common.resources.configuration.FolderConfiguration.getConfig ( com.android.ide.common.resources.configuration.FolderConfiguration.QUALIFIER_SPLITTER.split ( folderName ) ) ; }
Source:
public boolean getIccRecordsLoaded ( ) { return mActivePhone.getIccRecordsLoaded ( ) ; }

Target:
public com.android.internal.telephony.IccCard getIccCard ( ) { return mIccCardProxy ; }
Source:
public void parseCacheHeaders_etag ( ) { headers.put ( "ETag" , "Yow!" ) ; com.android.volley.Cache.Entry entry = com.android.volley.toolbox.HttpHeaderParser.parseCacheHeaders ( response ) ; assertNotNull ( entry ) ; assertEquals ( "Yow!" , entry.etag ) ; }

Target:
public void parseCacheHeaders_etag ( ) { headers.put ( "ETag" , "Yow!" ) ; com.android.volley.Cache.Entry entry = com.android.volley.toolbox.HttpHeaderParser.parseCacheHeaders ( response ) ; org.junit.Assert.assertNotNull ( entry ) ; org.junit.Assert.assertEquals ( "Yow!" , entry.etag ) ; }
Source:
protected synchronized boolean cleanup ( ) { com.android.bluetooth.pbapclient.PbapClientService.sPbapClientService = null ; return true ; }

Target:
protected boolean cleanup ( ) { com.android.bluetooth.pbapclient.PbapClientService.clearPbapClientService ( ) ; return true ; }
Source:
void saveNfcOnSetting ( boolean on ) { synchronized ( this ) { mPrefsEditor.putBoolean ( com.android.nfc.NfcService.PREF_NFC_ON , on ) ; mPrefsEditor.apply ( ) ; } }

Target:
void saveNfcOnSetting ( boolean on ) { synchronized ( this ) { mPrefsEditor.putBoolean ( com.android.nfc.NfcService.PREF_NFC_ON , on ) ; mPrefsEditor.apply ( ) ; mBackupManager.dataChanged ( ) ; } }
Source:
public boolean areCarrierPriviligeRulesLoaded ( ) { return ( ( mCarrierPrivilegeRules ) == null ) || ( mCarrierPrivilegeRules.areCarrierPriviligeRulesLoaded ( ) ) ; }

Target:
public boolean areCarrierPriviligeRulesLoaded ( ) { com.android.internal.telephony.uicc.UiccCarrierPrivilegeRules carrierPrivilegeRules = getCarrierPrivilegeRules ( ) ; return ( carrierPrivilegeRules == null ) || ( carrierPrivilegeRules.areCarrierPriviligeRulesLoaded ( ) ) ; }
Source:
public void test_withDayOfYear_normal ( ) { java.time.LocalDate t = TEST_2007_07_15.withDayOfYear ( 33 ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2007 , 2 , 2 ) ) ; }

Target:
public void test_withDayOfYear_normal ( ) { java.time.LocalDate t = tck.java.time.TCKLocalDate.TEST_2007_07_15.withDayOfYear ( 33 ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2007 , 2 , 2 ) ) ; }
Source:
public com.android.layoutlib.api.SceneResult animate ( java.lang.Object targetObject , java.lang.String animationName , boolean isFrameworkAnimation , com.android.layoutlib.api.LayoutScene.IAnimationListener listener ) { return SceneStatus.NOT_IMPLEMENTED.getResult ( ) ; }

Target:
public com.android.layoutlib.api.SceneResult animate ( java.lang.Object targetObject , java.lang.String animationName , boolean isFrameworkAnimation , com.android.layoutlib.api.LayoutScene.IAnimationListener listener ) { return SceneStatus.NOT_IMPLEMENTED.createResult ( ) ; }
Source:
public java.lang.String mapNameToOid ( java.lang.String algName ) { return org.conscrypt.NativeCrypto.OBJ_txt2nid_oid ( algName ) ; }

Target:
public static java.lang.String oidToAlgorithmName ( java.lang.String oid ) { try { return sun.security.x509.AlgorithmId.get ( oid ) . getName ( ) ; } catch ( java.security.NoSuchAlgorithmException e ) { return oid ; } }
Source:
java.lang.String print ( boolean shortFormat ) ;

Target:
java.lang.String print ( boolean shortFormat ) { return shortFormat ? mDescription : ( mSource ) == null ? mDescription : mSource.getAbsolutePath ( ) ; }
Source:
public java.lang.String getContent ( ) throws java.io.IOException { return body.getContent ( ) ; }

Target:
public java.lang.String getContent ( ) throws java.io.IOException { org.simpleframework.http.ContentType type = getContentType ( ) ; if ( type == null ) { return body.getContent ( "ISO-8859-1" ) ; } return getContent ( type ) ; }
Source:
private int getSpecialLabel ( int label ) { return ( ( maxLabel ) * 2 ) + ( ~ label ) ; }

Target:
private int getMinimumUnreservedLabel ( ) { return ( ( maxLabel ) + ( method.getCatches ( ) . size ( ) ) ) + ( com.android.dx.cf.code.Ropper.SPECIAL_LABEL_COUNT ) ; }
Source:
public int getMaxServiceNameLength ( ) { return mCharacteristics.getInt ( android.net.wifi.nan.WifiNanCharacteristics.KEY_MAX_SERVICE_NAME_LENGTH ) ; }

Target:
public int getMaxServiceNameLength ( ) { return mCharacteristics.getInt ( android.net.wifi.aware.WifiAwareCharacteristics.KEY_MAX_SERVICE_NAME_LENGTH ) ; }
Source:
public int switch2 ( com.android.jack.switchstatement.test016.jack.Enum1.Enum1_ enum1 ) { switch ( enum1 ) { case VALUE2 : return 2 ; case VALUE4 : return 4 ; default : return 0 ; } }

Target:
public int switch2 ( com.android.jack.switchstatement.test016.jack.Enum1.Enum11 enum1 ) { switch ( enum1 ) { case VALUE2 : return 2 ; case VALUE4 : return 4 ; default : return 0 ; } }
Source:
void reportIncorrectSuggestion ( @ android.support.annotation.NonNull android.content.Context context , @ android.support.annotation.NonNull java.lang.String number ) ;

Target:
void reportIncorrectSuggestion ( @ android.support.annotation.NonNull android.content.Context context , @ android.support.annotation.NonNull java.lang.String number , @ android.support.annotation.NonNull android.telecom.PhoneAccountHandle newAccount ) ;
Source:
public void setModulation ( java.lang.String modulation ) { mProto.modulation = modulation ; }

Target:
public synchronized void setModulation ( java.lang.String modulation ) { mProto.modulation = ( modulation == null ) ? "" : modulation ; }
Source:
public static boolean isEnabled ( ) { return dalvik.system.CloseGuard.ENABLED ; }

Target:
public static boolean isEnabled ( ) { return dalvik.system.CloseGuard.stackAndTrackingEnabled ; }
Source:
public void onClick ( android.view.View v ) { startActivity ( new android.content.Intent ( android.telecom.TelecomManager.ACTION_SHOW_CALL_SETTINGS ) ) ; }

Target:
public void onClick ( android.view.View v ) { getPassButton ( ) . setEnabled ( true ) ; mSetDefaultDialerButton.setEnabled ( false ) ; mRestoreDefaultDialerImage.setImageDrawable ( getDrawable ( R.drawable.fs_warning ) ) ; }
Source:
public void checkRead ( java.lang.String file ) { if ( ( isRelevant ( ) ) && ( ! ( isReadingAllowed ( file ) ) ) ) { throw com.android.ide.common.rendering.RenderSecurityException.create ( "Read" , file ) ; } }

Target:
public void checkRead ( java.lang.String file ) { if ( ( ( com.android.ide.common.rendering.RenderSecurityManager.RESTRICT_READS ) && ( isRelevant ( ) ) ) && ( ! ( isReadingAllowed ( file ) ) ) ) { throw com.android.ide.common.rendering.RenderSecurityException.create ( "Read" , file ) ; } }
Source:
public void applyTransportModeTransform ( java.net.DatagramSocket socket , android.net.IpSecTransform transform ) throws java.io.IOException { try ( android.os.ParcelFileDescriptor pfd = android.os.ParcelFileDescriptor.fromDatagramSocket ( socket ) ) { applyTransportModeTransform ( pfd , transform ) ; } }

Target:
public void applyTransportModeTransform ( java.net.DatagramSocket socket , int direction , android.net.IpSecTransform transform ) throws java.io.IOException { try ( android.os.ParcelFileDescriptor pfd = android.os.ParcelFileDescriptor.fromDatagramSocket ( socket ) ) { applyTransportModeTransform ( pfd , direction , transform ) ; } }
Source:
public java.util.Map < java.lang.String , java.util.List < java.lang.String > > getHeaderFields ( ) { return java.util.Collections.EMPTY_MAP ; }

Target:
public java.util.Map < java.lang.String , java.util.List < java.lang.String > > getHeaderFields ( ) { return java.util.Collections.emptyMap ( ) ; }
Source:
public com.android.server.telecom.MissedCallNotifier makeMissedCallNotifierImpl ( android.content.Context context , com.android.server.telecom.PhoneAccountRegistrar phoneAccountRegistrar ) { return mMissedCallNotifier ; }

Target:
public com.android.server.telecom.MissedCallNotifier makeMissedCallNotifierImpl ( android.content.Context context , com.android.server.telecom.PhoneAccountRegistrar phoneAccountRegistrar , com.android.server.telecom.DefaultDialerCache defaultDialerCache ) { return mMissedCallNotifier ; }
Source:
public com.google.common.util.concurrent.ListenableFuture < com.android.dialer.phonelookup.PhoneLookupInfo > lookup ( @ android.support.annotation.NonNull android.telecom.Call call ) { return com.google.common.util.concurrent.MoreExecutors.newDirectExecutorService ( ) . submit ( PhoneLookupInfo :: getDefaultInstance ) ; }

Target:
public com.google.common.util.concurrent.ListenableFuture < com.android.dialer.phonelookup.PhoneLookupInfo > lookup ( @ android.support.annotation.NonNull android.telecom.Call call ) { return backgroundExecutorService.submit ( PhoneLookupInfo :: getDefaultInstance ) ; }
Source:
public void onReceive ( android.content.Context context , android.content.Intent intent ) { android.util.Log.d ( com.android.graphics.benchmark.device.GraphicsBenchmarkTest.TAG , "Received intent" ) ; mHandler.getLooper ( ) . quit ( ) ; }

Target:
public void onReceive ( android.content.Context context , android.content.Intent intent ) { long timestamp = intent.getLongExtra ( "timestamp" , 0 ) ; android.util.Log.d ( com.android.graphics.benchmark.device.GraphicsBenchmarkTest.TAG , ( "Received intent at " + timestamp ) ) ; mReport.startLoop ( timestamp ) ; }
Source:
public void initComponent ( ) { checkJvm ( ) ; com.intellij.ide.SystemHealthMonitor.startDiskSpaceMonitoring ( ) ; }

Target:
public void initComponent ( ) { checkJvm ( ) ; checkIBusPresent ( ) ; com.intellij.ide.SystemHealthMonitor.startDiskSpaceMonitoring ( ) ; }
Source:
public static void testStoreStore ( boolean doThrow ) { Main m = new Main ( ) ; m.intField = 42 ; m.intField = 43 ; if ( doThrow ) { throw new java.lang.Error ( m.$opt$noinline$toString ( ) ) ; } }

Target:
public static void testStoreStore ( boolean doThrow ) { Main m = new Main ( ) ; m.intField = 42 ; m.intField2 = 43 ; if ( doThrow ) { throw new java.lang.Error ( m.$opt$noinline$toString ( ) ) ; } }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setStartTime ( long value ) { bitField0_ |= 256 ; startTime_ = value ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder clearEndTime ( ) { bitField0_ = ( bitField0_ ) & ( ~ 1024 ) ; endTime_ = 0L ; onChanged ( ) ; return this ; }
Source:
public int hashCode ( ) { return mEGLContext ; }

Target:
public int hashCode ( ) { int result = 17 ; result = ( 31 * result ) + ( ( int ) ( ( mEGLContext ) ^ ( ( mEGLContext ) > > > 32 ) ) ) ; return result ; }
Source:
public int getIntValue ( ) throws com.android.apksigner.AndroidBinXmlParser.XmlParserException { switch ( mValueType ) { case com.android.apksigner.AndroidBinXmlParser.Attribute.TYPE_REFERENCE : case com.android.apksigner.AndroidBinXmlParser.Attribute.TYPE_INT_DEC : case com.android.apksigner.AndroidBinXmlParser.Attribute.TYPE_INT_HEX : case com.android.apksigner.AndroidBinXmlParser.Attribute.TYPE_INT_BOOLEAN : return mValueData ; default : throw new com.android.apksigner.AndroidBinXmlParser.XmlParserException ( ( "Cannot coerce to int: value type " + ( mValueType ) ) ) ; } }

Target:
public int getIntValue ( ) throws com.android.apksig.apk.AndroidBinXmlParser.XmlParserException { switch ( mValueType ) { case com.android.apksig.apk.AndroidBinXmlParser.Attribute.TYPE_REFERENCE : case com.android.apksig.apk.AndroidBinXmlParser.Attribute.TYPE_INT_DEC : case com.android.apksig.apk.AndroidBinXmlParser.Attribute.TYPE_INT_HEX : case com.android.apksig.apk.AndroidBinXmlParser.Attribute.TYPE_INT_BOOLEAN : return mValueData ; default : throw new com.android.apksig.apk.AndroidBinXmlParser.XmlParserException ( ( "Cannot coerce to int: value type " + ( mValueType ) ) ) ; } }
Source:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JAbsentArrayDimension x ) { return false ; }

Target:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClass x ) { printTypeFlags ( x ) ; print ( com.android.jack.ir.impl.CHARS_CLASS ) ; printTypeName ( x ) ; return false ; }
Source:
public void onBrEdrDown ( ) { if ( android.bluetooth.BluetoothAdapter.VDBG ) android.util.Log.i ( android.bluetooth.BluetoothAdapter.TAG , "on QBrEdrDown: " ) ; }

Target:
public void onBrEdrDown ( ) { if ( android.bluetooth.BluetoothAdapter.VDBG ) android.util.Log.i ( android.bluetooth.BluetoothAdapter.TAG , ( "onBrEdrDown: " + ( mService ) ) ) ; }
Source:
public static android.os.Looper getInstanceLooper ( ) { return android.net.ConnectivityThread.getInstance ( ) . getLooper ( ) ; }

Target:
public static android.os.Looper getInstanceLooper ( ) { return android.net.ConnectivityThread.Singleton.INSTANCE.getLooper ( ) ; }
Source:
public java.lang.String getVendorId ( ) ;

Target:
public com.android.sdklib.repository.descriptors.IdDisplay getVendor ( ) ;
Source:
private void handleNetworkConnectionFailure ( int netId ) { if ( mNetworksDisabledDuringConnect ) { mWifiConfigStore.enableAllNetworks ( ) ; mNetworksDisabledDuringConnect = false ; } mWifiConfigStore.disableNetwork ( netId , WifiConfiguration.DISABLED_AUTH_FAILURE ) ; }

Target:
private void handleNetworkConnectionFailure ( int netId , int disableReason ) { if ( mNetworksDisabledDuringConnect ) { mWifiConfigStore.enableAllNetworks ( ) ; mNetworksDisabledDuringConnect = false ; } mWifiConfigStore.disableNetwork ( netId , disableReason ) ; }
Source:
public void traverse ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JVisitor visitor ) { visitor.visit ( this ) ; visitor.endVisit ( this ) ; }

Target:
public void traverse ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JVisitor visitor ) { if ( visitor.visit ( this ) ) { visitor.accept ( capturedVariablesRef ) ; } visitor.endVisit ( this ) ; }
Source:
public com.google.common.base.Objects.ToStringHelper addValue ( long value ) { addHolder ( ) . builder.append ( value ) ; return this ; }

Target:
private com.google.common.base.Objects.ToStringHelper.ValueHolder addHolder ( ) { com.google.common.base.Objects.ToStringHelper.ValueHolder valueHolder = new com.google.common.base.Objects.ToStringHelper.ValueHolder ( ) ; holderTail = holderTail.next = valueHolder ; return valueHolder ; }
Source:
public int doFinal ( byte [ ] out , int outOff ) throws java.lang.IllegalStateException , org.bouncycastle.crypto.DataLengthException { long result = doFinal ( ) ; org.bouncycastle.crypto.util.Pack.longToLittleEndian ( result , out , outOff ) ; return 8 ; }

Target:
public int doFinal ( byte [ ] out , int outOff ) throws java.lang.IllegalStateException , org.bouncycastle.crypto.DataLengthException { long result = doFinal ( ) ; org.bouncycastle.util.Pack.longToLittleEndian ( result , out , outOff ) ; return 8 ; }
Source:
public java.lang.Void call ( ) throws java.lang.Exception { java.io.File objFile = createSupportObjFile ( bcFile , abi , objName , objAbiFolder , launcher , env ) ; createSupportLibFile ( objFile , abi , soName , libAbiFolder , launcher , env ) ; return null ; }

Target:
public java.lang.Void call ( ) throws java.lang.Exception { java.io.File objFile = createSupportObjFile ( bcFile , abi , objName , objAbiFolder , processExecutor , processOutputHandler , env ) ; createSupportLibFile ( objFile , abi , soName , libAbiFolder , processExecutor , processOutputHandler , env ) ; return null ; }
Source:
synchronized void nContextDestroy ( ) { validate ( ) ; rsnContextDestroy ( mContext ) ; }

Target:
synchronized void nContextDestroy ( ) { validate ( ) ; java.util.concurrent.locks.ReentrantReadWriteLock.WriteLock wlock = mRWLock.writeLock ( ) ; wlock.lock ( ) ; long curCon = mContext ; mContext = 0 ; wlock.unlock ( ) ; rsnContextDestroy ( curCon ) ; }
Source:
public void test_sourceAddressWithJoinWithoutSource ( ) throws java.lang.Exception { setup ( false ) ; assertNull ( key.sourceAddress ( ) ) ; }

Target:
public void test_sourceAddressWithJoinWithoutSource ( ) throws java.lang.Exception { init ( false ) ; assertNull ( key.sourceAddress ( ) ) ; }
Source:
public void onClick ( android.content.DialogInterface dialog , int whichButton ) { mRead = true ; saveMessage ( ) ; dialog.dismiss ( ) ; finish ( ) ; }

Target:
public void onClick ( android.content.DialogInterface dialog , int whichButton ) { mRead = true ; saveMessage ( ) ; dialog.dismiss ( ) ; processNextMessage ( ) ; }
Source:
private void recomputePadding ( ) { setPadding ( mPaddingLeft , mPaddingTop , mUserPaddingRight , mUserPaddingBottom ) ; }

Target:
protected int getFadeTop ( boolean offsetRequired ) { int top = mPaddingTop ; if ( offsetRequired ) top += getTopPaddingOffset ( ) ; return top ; }
Source:
void noteProcessState ( java.lang.String name , int uid , int state ) { synchronized ( mStats ) { mStats.noteProcessStateLocked ( name , uid , state ) ; } }

Target:
void noteUidProcessState ( int uid , int state ) { synchronized ( mStats ) { mStats.noteUidProcessStateLocked ( uid , state ) ; } }
Source:
public static void checkOnMainThread ( ) { if ( ! ( com.android.server.telecom.ThreadUtil.isOnMainThread ( ) ) ) { com.android.server.telecom.Log.wtf ( com.android.server.telecom.ThreadUtil.TAG , new java.lang.IllegalStateException ( ) , "Must be on the main thread!" ) ; } }

Target:
public static void checkOnMainThread ( ) { if ( ! ( com.android.server.telecom.ThreadUtil.isOnMainThread ( ) ) ) { android.telecom.Log.wtf ( com.android.server.telecom.ThreadUtil.TAG , new java.lang.IllegalStateException ( ) , "Must be on the main thread!" ) ; } }
Source:
public final void addThread ( com.android.tools.perflib.heap.ThreadObj thread , int serialNumber ) { mThreads.put ( serialNumber , thread ) ; }

Target:
public final com.android.tools.perflib.heap.ThreadObj getThread ( int serialNumber ) { return mThreads.get ( serialNumber ) ; }
Source:
public final java.security.cert.CertPath generateCertPath ( java.io.InputStream inputStream , java.lang.String charsetName ) throws java.security.cert.CertificateException { return spiImpl.engineGenerateCertPath ( inputStream , charsetName ) ; }

Target:
public final java.security.cert.CertPath generateCertPath ( java.io.InputStream inputStream , java.lang.String encoding ) throws java.security.cert.CertificateException { return spiImpl.engineGenerateCertPath ( inputStream , encoding ) ; }
Source:
public void startNetworkScan ( android.os.Message response ) { mCi.startNetworkScan ( response ) ; }

Target:
public void startNetworkScan ( android.telephony.NetworkScanRequest nsr , android.os.Message response ) { mCi.startNetworkScan ( nsr , response ) ; }
Source:
public boolean importKey ( java.lang.String keyName , byte [ ] key ) { return importKey ( keyName , key , ( - 1 ) ) ; }

Target:
public boolean importKey ( java.lang.String keyName , byte [ ] key ) { return importKey ( keyName , key , android.security.KeyStore.UID_SELF ) ; }
Source:
public void handleUserUnlock ( int userId ) { if ( userId == ( mCurrentUserId ) ) { loadFromStoreAndMigrateAfterUserSwitch ( mCurrentUserId ) ; } }

Target:
private void handleUserUnlockOrSwitch ( int userId ) { if ( mVerboseLoggingEnabled ) { android.util.Log.v ( com.android.server.wifi.WifiConfigManager.TAG , ( "Loading from store after user switch/unlock for " + userId ) ) ; } if ( loadFromUserStoreAfterUnlockOrSwitch ( userId ) ) { saveToStore ( true ) ; mPendingUnlockStoreRead = false ; } }
Source:
private static com.android.ide.common.blame.output.GradleMessageRewriter.ErrorFormatMode computeErrorFormatMode ( @ com.android.annotations.NonNull org.gradle.api.Project project ) { if ( com.android.build.gradle.internal.ExtraModelInfo.isPropertyTrue ( project , com.android.builder.model.AndroidProject.PROPERTY_INVOKED_FROM_IDE ) ) { return com.android.ide.common.blame.output.GradleMessageRewriter.ErrorFormatMode.MACHINE_PARSABLE ; } else { return com.android.ide.common.blame.output.GradleMessageRewriter.ErrorFormatMode.HUMAN_READABLE ; } }

Target:
private static com.android.ide.common.blame.output.GradleMessageRewriter.ErrorFormatMode computeErrorFormatMode ( @ com.android.annotations.NonNull org.gradle.api.Project project ) { if ( com.android.build.gradle.AndroidGradleOptions.invokedFromIde ( project ) ) { return com.android.ide.common.blame.output.GradleMessageRewriter.ErrorFormatMode.MACHINE_PARSABLE ; } else { return com.android.ide.common.blame.output.GradleMessageRewriter.ErrorFormatMode.HUMAN_READABLE ; } }
Source:
void ensurePackageDexOpt ( java.lang.String packageName ) { android.content.pm.IPackageManager pm = android.app.AppGlobals.getPackageManager ( ) ; try { if ( pm.performDexOptIfNeeded ( packageName , null ) ) { mDidDexOpt = true ; } } catch ( android.os.RemoteException e ) { } }

Target:
public void registerTaskStackListener ( android.app.ITaskStackListener listener ) throws android.os.RemoteException { enforceCallingPermission ( android.Manifest.permission.MANAGE_ACTIVITY_STACKS , "registerTaskStackListener()" ) ; synchronized ( this ) { if ( listener != null ) { mTaskStackListeners.register ( listener ) ; } } }
Source:
public void testStringsToLengthPrefixedBytesEmptyByteArray ( ) { try { android.net.SSLCertificateSocketFactory.toLengthPrefixedList ( new byte [ 0 ] ) ; fail ( ) ; } catch ( java.lang.IllegalArgumentException expected ) { } }

Target:
public void testStringsToLengthPrefixedBytesEmptyByteArray ( ) { try { android.net.SSLCertificateSocketFactory.toLengthPrefixedList ( new byte [ 0 ] ) ; org.junit.Assert.fail ( ) ; } catch ( java.lang.IllegalArgumentException expected ) { } }
Source:
public void setDataEnabled ( boolean enable ) { setDataEnabled ( getSubId ( android.telephony.SubscriptionManager.getDefaultDataSubscriptionId ( ) ) , enable ) ; }

Target:
public boolean isUserMobileDataEnabled ( ) { return isUserMobileDataEnabled ( getSubId ( android.telephony.SubscriptionManager.getDefaultDataSubscriptionId ( ) ) ) ; }
Source:
public void getDefaultSmdpAddress ( java.lang.String callingPackage , com.android.internal.telephony.euicc.IGetDefaultSmdpAddressCallback callback ) { checkCallingPackage ( callingPackage ) ; }

Target:
public void onResult ( java.lang.String result ) { try { callback.onComplete ( EuiccCardManager.RESULT_OK , result ) ; } catch ( android.os.RemoteException exception ) { throw exception.rethrowFromSystemServer ( ) ; } }
Source:
public void onSkipToNext ( ) { android.util.Log.d ( com.android.bluetooth.a2dpsink.mbs.A2dpMediaBrowserService.TAG , "onSkipToNext" ) ; mAvrcpCommandQueue.obtainMessage ( com.android.bluetooth.a2dpsink.mbs.A2dpMediaBrowserService.MSG_AVRCP_PASSTHRU , BluetoothAvrcpController.PASS_THRU_CMD_ID_FORWARD ) . sendToTarget ( ) ; }

Target:
public void onSkipToNext ( ) { android.util.Log.d ( com.android.bluetooth.a2dpsink.mbs.A2dpMediaBrowserService.TAG , "onSkipToNext" ) ; mAvrcpCommandQueue.obtainMessage ( com.android.bluetooth.a2dpsink.mbs.A2dpMediaBrowserService.MSG_AVRCP_PASSTHRU , AvrcpControllerService.PASS_THRU_CMD_ID_FORWARD ) . sendToTarget ( ) ; }
Source:
public void applyTransportModeTransform ( java.io.FileDescriptor socket , int direction , android.net.IpSecTransform transform ) throws java.io.IOException { try ( android.os.ParcelFileDescriptor pfd = android.os.ParcelFileDescriptor.dup ( socket ) ) { applyTransportModeTransform ( pfd , direction , transform ) ; } }

Target:
public void removeTransportModeTransforms ( java.net.Socket socket , android.net.IpSecTransform transform ) throws java.io.IOException { removeTransportModeTransforms ( socket.getFileDescriptor$ ( ) , transform ) ; }
Source:
private void loge ( java.lang.String msg ) { android.util.Log.e ( com.android.internal.telephony.PhoneProxy.LOG_TAG , ( "[PhoneProxy] " + msg ) ) ; }

Target:
private void loge ( java.lang.String msg ) { android.telephony.Rlog.e ( com.android.internal.telephony.PhoneProxy.LOG_TAG , ( "[PhoneProxy] " + msg ) ) ; }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder clearBranch ( ) { bitField0_ = ( bitField0_ ) & ( ~ 2 ) ; branch_ = com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.getDefaultInstance ( ) . getBranch ( ) ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder clearResultPath ( ) { bitField0_ = ( bitField0_ ) & ( ~ 2 ) ; resultPath_ = com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.getDefaultInstance ( ) . getResultPath ( ) ; onChanged ( ) ; return this ; }
Source:
public void testBuild_TooManyRules ( ) { new android.telephony.euicc.EuiccRulesAuthTable.Builder ( 0 ) . add ( 0 , new android.service.carrier.CarrierIdentifier [ ] { } , 0 ) . build ( ) ; }

Target:
public void testBuild_TooManyRules ( ) { new android.telephony.euicc.EuiccRulesAuthTable.Builder ( 0 ) . add ( 0 , java.util.Arrays.asList ( new android.service.carrier.CarrierIdentifier [ ] { } ) , 0 ) . build ( ) ; }
Source:
public void onClick ( android.view.View v ) { setTestResultAndFinish ( false ) ; }

Target:
public void onClick ( android.view.View v ) { getPassButton ( ) . setEnabled ( true ) ; setTestResultAndFinish ( true ) ; }
Source:
private void initDebug ( ) { mDebuggable = true ; mDebugJniBuild = true ; mDebugSigned = true ; mZipAlign = false ; }

Target:
private void initDebug ( ) { mDebuggable = true ; mDebugJniBuild = true ; mDebugSigned = true ; mZipAlign = false ; mBuildConfigDebug = true ; }
Source:
public void testIntegerArray ( ) throws java.lang.Throwable { final int resId = com.android.internal.R.array.config_virtualKeyVibePattern ; final int [ ] expected = new int [ ] { 0 , 10 , 20 , 30 } ; assertResource ( resId , expected , expected ) ; }

Target:
public void testMatrix101100 ( ) throws java.lang.Throwable { final int resId = R.integer.matrix_101100 ; setLocale ( "sv_SE" ) ; assertResource ( resId , 100 , 400 , 400 ) ; }
Source:
synchronized void nAllocationRead ( long id , long [ ] d ) { validate ( ) ; rsnAllocationRead ( mContext , id , d ) ; }

Target:
synchronized void nScriptSetVarD ( long id , int slot , double val , boolean mUseInc ) { validate ( ) ; long curCon = mContext ; if ( mUseInc ) { curCon = mIncCon ; } rsnScriptSetVarD ( curCon , id , slot , val , mUseInc ) ; }
Source:
public boolean enableWBS ( ) { com.android.bluetooth.hfp.HeadsetService service = getService ( ) ; if ( service == null ) { return false ; } return service.enableWBS ( ) ; }

Target:
public boolean isInbandRingingEnabled ( ) { com.android.bluetooth.hfp.HeadsetService service = getService ( ) ; if ( service == null ) { return false ; } return service.isInbandRingingEnabled ( ) ; }
Source:
public void Print ( ) { java.lang.System.out.println ( ( ( ( ( art.Test988.whitespace ( cnt ) ) + "<= " ) + ( m ) ) + " EXCEPTION" ) ) ; }

Target:
public void Print ( ) { java.lang.System.out.println ( ( ( ( ( art.Test988.whitespace ( cnt ) ) + "<= " ) + ( art.Test988.methodToString ( m ) ) ) + " EXCEPTION" ) ) ; }
Source:
public void visit ( @ com.android.annotations.NonNull com.android.manifmerger.XmlDocument xmlDocument , @ com.android.annotations.NonNull com.android.manifmerger.PlaceholderHandler.KeyBasedValueResolver < java.lang.String > valueProvider , @ com.android.annotations.NonNull com.android.manifmerger.MergingReport.Builder mergingReportBuilder ) { visit ( xmlDocument.getRootNode ( ) , valueProvider , mergingReportBuilder ) ; }

Target:
public void visit ( @ com.android.annotations.NonNull com.android.manifmerger.ManifestMerger2.MergeType mergeType , @ com.android.annotations.NonNull com.android.manifmerger.XmlDocument xmlDocument , @ com.android.annotations.NonNull com.android.manifmerger.PlaceholderHandler.KeyBasedValueResolver < java.lang.String > valueProvider , @ com.android.annotations.NonNull com.android.manifmerger.MergingReport.Builder mergingReportBuilder ) { visit ( mergeType , xmlDocument.getRootNode ( ) , valueProvider , mergingReportBuilder ) ; }
Source:
public native void putFloat$ ( long address , float x ) ;

Target:
public native void putFloat ( long address , float x ) ;
Source:
public java.lang.String sendEnvelopeWithStatus ( java.lang.String content ) { try { com.android.internal.telephony.ITelephony telephony = getITelephony ( ) ; if ( telephony != null ) return telephony.sendEnvelopeWithStatus ( content ) ; } catch ( android.os.RemoteException ex ) { } catch ( java.lang.NullPointerException ex ) { } return "" ; }

Target:
public java.lang.String sendEnvelopeWithStatus ( java.lang.String content ) { return sendEnvelopeWithStatus ( getSubId ( ) , content ) ; }
Source:
public org.eclipse.swt.graphics.Color getBackground ( java.lang.Object element ) { return mTable.getDisplay ( ) . getSystemColor ( SWT.COLOR_LIST_BACKGROUND ) ; }

Target:
protected boolean canEdit ( java.lang.Object element ) { return true ; }
Source:
private static void doTestPrimitiveFieldsIntegral ( ) { art.Test906.IntObject intObject = new art.Test906.IntObject ( ) ; art.Test906.setTag ( intObject , 10000 ) ; java.lang.System.out.println ( art.Test906.iterateThroughHeapPrimitiveFields ( 10000 ) ) ; java.lang.System.out.println ( art.Test906.getTag ( intObject ) ) ; }

Target:
private static void doTestPrimitiveFieldsIntegral ( ) { java.lang.System.out.println ( "doTestPrimitiveFieldsIntegral" ) ; art.Test906.IntObject intObject = new art.Test906.IntObject ( ) ; art.Test906.setTag ( intObject , 10000 ) ; java.lang.System.out.println ( art.Test906.iterateThroughHeapPrimitiveFields ( 10000 ) ) ; java.lang.System.out.println ( art.Test906.getTag ( intObject ) ) ; }
Source:
public com.android.ims.internal.IImsUt getUtInterface ( int sessionId ) throws android.os.RemoteException { synchronized ( mLock ) { checkBinderConnection ( ) ; return getServiceInterface ( mBinder ) . getUtInterface ( mSlotId , mSupportedFeature , sessionId ) ; } }

Target:
public com.android.ims.internal.IImsConfig getConfigInterface ( ) throws android.os.RemoteException { synchronized ( mLock ) { checkBinderConnection ( ) ; return getServiceInterface ( mBinder ) . getConfigInterface ( mSlotId , mSupportedFeature ) ; } }
Source:
public void testEnded ( com.android.ddmlib.testrunner.TestIdentifier test ) ;

Target:
public void testEnded ( com.android.ddmlib.testrunner.TestIdentifier test , java.util.Map < java.lang.String , java.lang.String > testMetrics ) ;
Source:
public void addUserConfiguration ( com.android.ide.eclipse.adt.internal.sdk.LayoutDevice device , java.lang.String configName , com.android.ide.eclipse.adt.internal.resources.configurations.FolderConfiguration config ) { if ( mUserLayoutDevices.contains ( device ) ) { device.addConfig ( configName , config ) ; } }

Target:
public void addUserConfiguration ( com.android.ide.eclipse.adt.internal.sdk.LayoutDevice device , java.lang.String configName , com.android.ide.common.resources.configuration.FolderConfiguration config ) { if ( mUserLayoutDevices.contains ( device ) ) { device.addConfig ( configName , config ) ; } }
Source:
public static com.android.jack.Options buildCommandLineArgs ( @ javax.annotation.Nonnull java.io.File fileOrSourcelist , @ javax.annotation.CheckForNull java.io.File jarjarRules ) throws java.io.IOException { com.android.jack.Options options = com.android.jack.TestTools.buildCommandLineArgs ( null , null , new java.io.File [ ] { fileOrSourcelist } ) ; options.jarjarRulesFile = jarjarRules ; return options ; }

Target:
public static com.android.jack.Options buildCommandLineArgs ( @ javax.annotation.Nonnull java.io.File fileOrSourcelist , @ javax.annotation.CheckForNull java.io.File jarjarRules ) throws java.io.IOException { com.android.jack.Options options = com.android.jack.TestTools.buildCommandLineArgs ( null , new java.io.File [ ] { fileOrSourcelist } ) ; options.setJarjarRulesFile ( jarjarRules ) ; return options ; }
Source:
public java.lang.String getName ( ) { return mName ; }

Target:
public java.lang.String getName ( ) { return ( mName ) != null ? mName : mDir.getName ( ) ; }
Source:
public boolean needEclipseWorkspace ( ) { if ( ( mWorkspaceLocation ) != null ) { return false ; } for ( com.android.tools.gradle.eclipse.EclipseProject project : mProjectMap.values ( ) ) { if ( project.needWorkspaceLocation ( ) ) { return true ; } } return false ; }

Target:
public java.io.File getEclipseWorkspace ( ) { return mWorkspaceLocation ; }
Source:
public ScheduledRecording.Builder createNewScheduleBuilder ( ) { return ( mSchedule ) != null ? com.android.tv.dvr.ScheduledRecording.buildFrom ( mSchedule ) : null ; }

Target:
public ScheduledRecording.Builder createNewScheduleBuilder ( ) { return ( mSchedule ) != null ? com.android.tv.dvr.data.ScheduledRecording.buildFrom ( mSchedule ) : null ; }
Source:
com.android.sched.util.location.Location getVDirLocation ( @ javax.annotation.Nonnull com.android.sched.vfs.BaseVDir dir ) { return vfs.getVDirLocation ( dir ) ; }

Target:
com.android.sched.vfs.DeflateFS.DeflateVFile createVFile ( @ javax.annotation.Nonnull com.android.sched.vfs.DeflateFS.DeflateVDir parent , @ javax.annotation.Nonnull java.lang.String name ) throws com.android.sched.util.file.CannotCreateFileException { return new com.android.sched.vfs.DeflateFS.DeflateVFile ( this , vfs.createVFile ( parent.getWrappedDir ( ) , name ) ) ; }
Source:
boolean isOpened ( ) { return false ; }

Target:
private java.lang.String getSmsFormat ( ) { return getSmsImplementation ( ) . getSmsFormat ( ) ; }
Source:
public void testVFE7 ( ) { try { java.lang.Class.forName ( "dot.junit.opcodes.aget_object.d.T_aget_object_9" ) ; fail ( "expected a verification exception" ) ; } catch ( java.lang.Throwable t ) { dot.junit.DxUtil.checkVerifyException ( t ) ; } }

Target:
public void testE3 ( ) { loadAndRun ( "dot.junit.opcodes.aget_object.d.T_aget_object_1" , java.lang.NullPointerException.class , null , 0 ) ; }
Source:
public static int intConditionNotEqualOne ( int i ) { return ( i > 42 ) == true ? 13 : 54 ; }

Target:
private static boolean $inline$true ( ) { return true ; }
Source:
public void testMixedFormat ( ) throws java.lang.Exception { assertEquals ( "No warnings." , lintProject ( "res/drawable-mdpi/frame.png=>res/drawable-mdpi/f.png" , "res/drawable/states.xml=>res/drawable-hdpi/f.xml" , "res/drawable/states.xml=>res/drawable-xhdpi/f.xml" ) ) ; }

Target:
public void testMixedFormat ( ) throws java.lang.Exception { mEnabled = com.android.tools.lint.checks.IconDetectorTest.ALL ; assertEquals ( "No warnings." , lintProject ( "res/drawable-mdpi/frame.png=>res/drawable-mdpi/f.png" , "res/drawable/states.xml=>res/drawable-hdpi/f.xml" , "res/drawable/states.xml=>res/drawable-xhdpi/f.xml" ) ) ; }
Source:
public com.android.sched.util.codec.OutputStreamCodec allowStandard ( ) { this . allowStandard = true ; return this ; }

Target:
public com.android.sched.util.codec.OutputStreamCodec allowStandardOutput ( ) { this . allowStandardIO = true ; return this ; }
Source:
public com.android.ims.internal.IImsCallSession createCallSession ( int sessionId , android.telephony.ims.ImsCallProfile profile ) { return null ; }

Target:
public com.android.ims.internal.IImsCallSession createCallSession ( int sessionId , android.telephony.ims.ImsCallProfile profile , com.android.ims.internal.IImsCallSessionListener listener ) { return null ; }
Source:
public void onServiceDiscovered ( int peerId , byte [ ] serviceSpecificInfo , byte [ ] matchFilter ) { }

Target:
public void onServiceDiscovered ( java.lang.Object peerHandle , byte [ ] serviceSpecificInfo , byte [ ] matchFilter ) { }
Source:
public android.net.wifi.IClientInterface setupDriverForClientMode ( android.net.wifi.IWificond wificond ) { return mWificondControl.setupDriverForClientMode ( wificond ) ; }

Target:
public android.net.wifi.IApInterface setupDriverForSoftApMode ( ) { android.net.wifi.IApInterface apInterface = mWificondControl.setupDriverForSoftApMode ( ) ; if ( ! ( startHal ( false ) ) ) { android.util.Log.e ( com.android.server.wifi.WifiNative.TAG , "Failed to start HAL for AP mode" ) ; } return apInterface ; }
Source:
protected final boolean isFilled ( com.android.ide.common.api.INode node , java.lang.String attribute ) { java.lang.String value = node.getStringAttr ( com.android.ide.common.layout.LayoutConstants.ANDROID_URI , attribute ) ; return ( com.android.ide.common.layout.LayoutConstants.VALUE_MATCH_PARENT.equals ( value ) ) || ( com.android.ide.common.layout.LayoutConstants.VALUE_FILL_PARENT.equals ( value ) ) ; }

Target:
protected final boolean isFilled ( com.android.ide.common.api.INode node , java.lang.String attribute ) { java.lang.String value = node.getStringAttr ( com.android.util.XmlUtils.ANDROID_URI , attribute ) ; return ( com.android.ide.common.layout.LayoutConstants.VALUE_MATCH_PARENT.equals ( value ) ) || ( com.android.ide.common.layout.LayoutConstants.VALUE_FILL_PARENT.equals ( value ) ) ; }
Source:
public final native void resume ( int streamID ) ;

Target:
public final native void stop ( int streamID ) ;
Source:
void createDefaultBuildTypes ( @ org.gradle.model.Path ( value = "android.buildTypes" ) org.gradle.model.collection.ManagedSet < com.android.build.gradle.managed.BuildType > buildTypes ) { buildTypes.create = $missing$ ; { it.name = com.android.builder.core.BuilderConstants.DEBUG ; it.setIsDebuggable ( true ) ; it.setIsEmbedMicroApp ( false ) ; } buildTypes.create = $missing$ ; it.name = com.android.builder.core.BuilderConstants.RELEASE ; }

Target:
public void execute ( com.android.build.gradle.managed.BuildType buildType ) { buildType.setName ( BuilderConstants.RELEASE ) ; }
Source:
public void run ( ) { int focusedWindow = com.android.hierarchyviewerlib.device.DeviceBridge.getFocusedWindow ( device ) ; com.android.hierarchyviewerlib.models.DeviceSelectionModel.getModel ( ) . updateFocusedWindow ( device , focusedWindow ) ; }

Target:
public void run ( ) { com.android.hierarchyviewerlib.device.IHvDevice hvDevice = getHvDevice ( device ) ; int focusedWindow = hvDevice.getFocusedWindow ( ) ; com.android.hierarchyviewerlib.models.DeviceSelectionModel.getModel ( ) . updateFocusedWindow ( hvDevice , focusedWindow ) ; }
Source:
synchronized long nScriptKernelIDCreate ( long sid , int slot , int sig ) { validate ( ) ; return rsnScriptKernelIDCreate ( mContext , sid , slot , sig ) ; }

Target:
synchronized void nScriptSetVarD ( long id , int slot , double val , boolean mUseInc ) { validate ( ) ; long curCon = mContext ; if ( mUseInc ) { curCon = mIncCon ; } rsnScriptSetVarD ( curCon , id , slot , val , mUseInc ) ; }
Source:
public org.jetbrains.plugins.gradle.tooling.ModelBuilderError getModelBuildError ( @ org.jetbrains.annotations.NotNull org.gradle.api.Project project , @ org.jetbrains.annotations.NotNull java.lang.Exception e ) { return new org.jetbrains.plugins.gradle.tooling.ModelBuilderError ( "Scala import errors" , java.lang.String.format ( "%s\nUnable to build Scala gradle configuration for %s" , e.getMessage ( ) , project ) ) ; }

Target:
public org.jetbrains.plugins.gradle.tooling.ErrorMessageBuilder getErrorMessageBuilder ( @ org.jetbrains.annotations.NotNull org.gradle.api.Project project , @ org.jetbrains.annotations.NotNull java.lang.Exception e ) { return org.jetbrains.plugins.gradle.tooling.ErrorMessageBuilder.create ( project , e , "Scala import errors" ) . withDescription ( "Unable to build Scala project configuration" ) ; }
Source:
static float $opt$IntToFloat ( int a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( float ) ( a ) ) ; }

Target:
static float $opt$noinline$IntToFloat ( int a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( float ) ( a ) ) ; }
Source:
public com.android.ide.common.api.DropFeedback onDropEnter ( com.android.ide.common.api.INode targetNode , com.android.ide.common.api.IDragElement [ ] elements ) { return null ; }

Target:
public void paint ( com.android.ide.common.api.IGraphics gc , com.android.ide.common.api.INode node , com.android.ide.common.api.DropFeedback feedback ) { com.android.ide.common.api.Rect b = node.getBounds ( ) ; if ( b.isValid ( ) ) { gc.useStyle ( DrawingStyle.DROP_RECIPIENT ) ; gc.drawRect ( b ) ; } }
Source:
public static int getIndex ( com.android.sdklib.resources.TouchScreen touch ) { int i = 0 ; for ( com.android.sdklib.resources.TouchScreen t : com.android.sdklib.resources.TouchScreen.values ( ) ) { if ( t == touch ) { return i ; } i ++ ; } return - 1 ; }

Target:
public static int getIndex ( com.android.resources.TouchScreen touch ) { int i = 0 ; for ( com.android.resources.TouchScreen t : com.android.resources.TouchScreen.values ( ) ) { if ( t == touch ) { return i ; } i ++ ; } return - 1 ; }
Source:
public int size ( ) { return filteredEntrySet.size ( ) ; }

Target:
public int size ( ) { return filteredDelegate.size ( ) ; }
Source:
public void testAccelerometer_fastest_flush ( ) throws java.lang.Throwable { runFlushSensorTest ( Sensor.TYPE_ACCELEROMETER , android.hardware.cts.SensorBatchingTests.RATE_FASTEST , android.hardware.cts.SensorBatchingTests.BATCHING_10S ) ; }

Target:
public void testAccelerometer_fastest_flush ( ) throws java.lang.Throwable { runFlushSensorTest ( Sensor.TYPE_ACCELEROMETER , android.hardware.cts.SensorBatchingTests.RATE_FASTEST , android.hardware.cts.SensorBatchingTests.BATCHING_PERIOD ) ; }
Source:
void setReadyOps ( int readyOps ) { this . readyOps = readyOps ; }

Target:
void setReadyOps ( int readyOps ) { this . readyOps = readyOps & ( interestOps ) ; }
Source:
public void removeCapability ( int capability ) { mNetworkCapabilities.removeCapability ( capability ) ; mNetworkAgent.sendNetworkCapabilities ( mNetworkCapabilities ) ; }

Target:
public void addCapability ( int capability ) { mNetworkCapabilities.addCapability ( capability ) ; mNetworkAgent.sendNetworkCapabilities ( mNetworkCapabilities ) ; }
Source:
public void setOutputFile ( @ com.android.annotations.NonNull java.io.File outputFile ) { com.android.build.gradle.internal.variant.ApkVariantData variantData = getApkVariantData ( ) ; if ( ( variantData.zipAlignTask ) != null ) { variantData.zipAlignTask.setOutputFile ( outputFile ) ; } else { variantData.packageApplicationTask.setOutputFile ( outputFile ) ; } variantData.setOutputFile ( outputFile ) ; }

Target:
public org.gradle.api.DefaultTask getInstall ( ) { com.android.build.gradle.internal.variant.ApkVariantOutputData variantOutputData = getApkVariantData ( ) . getOutputs ( ) . get ( 0 ) ; return variantOutputData.installTask ; }
Source:
public float getAspectRatio ( ) { return ( mBaseWidth ) / ( mBaseHeight ) ; }

Target:
public float getBaseWidth ( ) { return mBaseWidth ; }
Source:
public void messageReceived ( java.util.List < com.android.ddmuilib.logcat.LogCatMessage > receivedMessages ) { checkMessages ( receivedMessages , device ) ; }

Target:
public void bufferChanged ( java.util.List < com.android.ddmuilib.logcat.LogCatMessage > addedMessages , java.util.List < com.android.ddmuilib.logcat.LogCatMessage > deletedMessages ) { checkMessages ( addedMessages , device ) ; }
Source:
public void runTest ( ) throws java.lang.Throwable { try { super . runTest ( ) ; } catch ( android.hardware.cts.helpers.SensorTestStateNotSupportedException e ) { android.util.Log.w ( LOG_TAG , e.getMessage ( ) ) ; } }

Target:
public void runBare ( ) throws java.lang.Throwable { try { super . runBare ( ) ; } catch ( android.hardware.cts.helpers.SensorTestStateNotSupportedException e ) { android.util.Log.w ( android.hardware.cts.SensorTestCase.LOG_TAG , e.getMessage ( ) ) ; } }
Source:
public boolean savePicture ( android.os.Bundle b , final java.io.File dest ) { checkThread ( ) ; if ( DebugFlags.TRACE_API ) android.util.Log.d ( android.webkit.WebView.LOGTAG , ( "savePicture=" + ( dest.getName ( ) ) ) ) ; return mProvider.savePicture ( b , dest ) ; }

Target:
public boolean savePicture ( android.os.Bundle b , final java.io.File dest ) { checkThread ( ) ; if ( android.webkit.WebView.TRACE ) android.util.Log.d ( android.webkit.WebView.LOGTAG , ( "savePicture=" + ( dest.getName ( ) ) ) ) ; return mProvider.savePicture ( b , dest ) ; }
Source:
public void checkRead ( java.lang.String file , java.lang.Object context ) { if ( ( isRelevant ( ) ) && ( ! ( isReadingAllowed ( file ) ) ) ) { throw com.android.ide.common.rendering.RenderSecurityException.create ( "Read" , file ) ; } }

Target:
public void checkRead ( java.lang.String file ) { if ( ( ( com.android.ide.common.rendering.RenderSecurityManager.RESTRICT_READS ) && ( isRelevant ( ) ) ) && ( ! ( isReadingAllowed ( file ) ) ) ) { throw com.android.ide.common.rendering.RenderSecurityException.create ( "Read" , file ) ; } }
Source:
public boolean isActiveSubId ( int subId ) { boolean retVal = ( android.telephony.SubscriptionManager.isValidSubscriptionId ( subId ) ) && ( com.android.internal.telephony.SubscriptionController.sSlotIdxToSubId.containsValue ( subId ) ) ; if ( com.android.internal.telephony.SubscriptionController.VDBG ) logdl ( ( "[isActiveSubId]- " + retVal ) ) ; return retVal ; }

Target:
public boolean isActiveSubId ( int subId ) { boolean retVal = ( android.telephony.SubscriptionManager.isValidSubscriptionId ( subId ) ) && ( com.android.internal.telephony.SubscriptionController.sSlotIndexToSubId.containsValue ( subId ) ) ; if ( com.android.internal.telephony.SubscriptionController.VDBG ) logdl ( ( "[isActiveSubId]- " + retVal ) ) ; return retVal ; }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setModulesTotal ( int value ) { bitField0_ |= 131072 ; modulesTotal_ = value ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setModulesTotal ( int value ) { bitField0_ |= 262144 ; modulesTotal_ = value ; onChanged ( ) ; return this ; }