auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
protected javax.swing.JComponent createCenterPanel ( ) { populateTemplates ( ) ; return myRootPanel ; }

Target:
protected javax.swing.JComponent createCenterPanel ( ) { populateTemplates ( ) ; createDescriptionPane ( ) ; return myRootPanel ; }
Source:
public proguard.evaluation.value.ReferenceValue createReferenceValue ( java.lang.String type , proguard.evaluation.value.Clazz referencedClass , boolean mayBeNull ) { return type == null ? proguard.evaluation.value.ValueFactory.REFERENCE_VALUE_NULL : ! ( type.equals ( ClassConstants.INTERNAL_NAME_JAVA_LANG_OBJECT ) ) ? new proguard.evaluation.value.ReferenceValue ( type , referencedClass , mayBeNull ) : mayBeNull ? proguard.evaluation.value.ValueFactory.REFERENCE_VALUE_JAVA_LANG_OBJECT_MAYBE_NULL : proguard.evaluation.value.ValueFactory.REFERENCE_VALUE_JAVA_LANG_OBJECT_NOT_NULL ; }

Target:
public proguard.evaluation.value.ReferenceValue createReferenceValue ( java.lang.String type , proguard.evaluation.value.Clazz referencedClass , boolean mayBeNull ) { return type == null ? proguard.evaluation.value.ValueFactory.REFERENCE_VALUE_NULL : ! ( type.equals ( ClassConstants.NAME_JAVA_LANG_OBJECT ) ) ? new proguard.evaluation.value.TypedReferenceValue ( type , referencedClass , mayBeNull ) : mayBeNull ? proguard.evaluation.value.ValueFactory.REFERENCE_VALUE_JAVA_LANG_OBJECT_MAYBE_NULL : proguard.evaluation.value.ValueFactory.REFERENCE_VALUE_JAVA_LANG_OBJECT_NOT_NULL ; }
Source:
final char getChar ( int offset ) { return sun.nio.ch.NativeObject.unsafe.getChar ( ( offset + ( address ) ) ) ; }

Target:
final char getChar ( int offset ) { return sun.nio.ch.NativeObject.unsafe.getChar$ ( ( offset + ( address ) ) ) ; }
Source:
public static void wtf ( java.lang.String prefix , java.lang.Throwable tr , java.lang.String format , java.lang.Object ... args ) { android.util.Log.wtf ( 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.String format , java.lang.Object ... args ) { android.telecom.Log.wtf ( prefix , format , args ) ; }
Source:
private static void cancelRootNotification ( android.content.Context context ) { android.app.NotificationManager nm = context.getSystemService ( android.app.NotificationManager.class ) ; nm.cancel ( com.google.android.traceur.Receiver.class . getName ( ) , 0 ) ; }

Target:
private static void cancelRootNotification ( android.content.Context context ) { android.app.NotificationManager nm = context.getSystemService ( android.app.NotificationManager.class ) ; nm.cancel ( com.android.traceur.Receiver.class . getName ( ) , 0 ) ; }
Source:
public static com.android.jack.dx.rop.code.Rop opCreateLambda ( ) { return new com.android.jack.dx.rop.code.Rop ( RegOps.CREATE_LAMBDA , com.android.jack.dx.rop.type.Type.LONG , com.android.jack.dx.rop.type.StdTypeList.EMPTY , Exceptions.LIST_Error , "create-lambda" ) ; }

Target:
public static com.android.jack.dx.rop.code.Rop opLiberateVariable ( com.android.jack.dx.rop.type.TypeBearer type , com.android.jack.dx.rop.type.TypeList sources ) { return new com.android.jack.dx.rop.code.Rop ( RegOps.LIBERATE_VARIABLE , type.getType ( ) , sources , com.android.jack.dx.rop.type.StdTypeList.EMPTY , Rop.BRANCH_NONE , "liberate-lambda" ) ; }
Source:
public static float $noinline$floatAddSubSimplifyArg2 ( float x , float y ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } float sum = x + y ; return sum - y ; }

Target:
public static float $noinline$floatSubAddSimplifyLeft ( float x , float y ) { float sub = x - y ; return sub + y ; }
Source:
public void callSessionRttModifyRequestReceived ( com.android.ims.ImsCallProfile callProfile ) throws android.os.RemoteException { mListener.callSessionRttModifyRequestReceived ( callProfile ) ; }

Target:
public void callSessionConferenceExtendReceived ( android.telephony.ims.stub.ImsCallSessionImplBase newSession , android.telephony.ims.ImsCallProfile profile ) { try { mListener.callSessionConferenceExtendReceived ( ( newSession != null ? newSession.getServiceImpl ( ) : null ) , profile ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e ) ; } }
Source:
public void onDestroyActionMode ( android.view.ActionMode mode ) { mWebView.clearSelection ( ) ; }

Target:
public void onDestroyActionMode ( android.view.ActionMode mode ) { mWebView.selectionDone ( ) ; }
Source:
public void stopServer ( ) { running = false ; }

Target:
public void close ( ) throws java.lang.Exception { running = false ; try { join ( ) ; } finally { serverSocket.close ( ) ; } }
Source:
public void validateSimCredentialWithoutIMSI ( ) throws java.lang.Exception { android.net.wifi.hotspot2.pps.Credential cred = new android.net.wifi.hotspot2.pps.Credential ( ) ; cred.realm = "realm" ; cred.simCredential = new android.net.wifi.hotspot2.pps.Credential.SimCredential ( ) ; cred.simCredential.eapType = android.net.wifi.EAPConstants.EAP_SIM ; org.junit.Assert.assertFalse ( cred.validate ( ) ) ; }

Target:
public void validateSimCredentialWithoutIMSI ( ) throws java.lang.Exception { android.net.wifi.hotspot2.pps.Credential cred = android.net.wifi.hotspot2.pps.CredentialTest.createCredentialWithSimCredential ( ) ; cred.getSimCredential ( ) . setImsi ( null ) ; org.junit.Assert.assertFalse ( cred.validate ( ) ) ; }
Source:
public void run ( ) { documentHasImages ( response ) ; }

Target:
public void run ( ) { clearMatches ( ) ; }
Source:
public java.lang.Boolean getFunctionalTest ( ) { com.android.builder.core.VariantConfiguration config = this ; if ( ( mType ) == ( com.android.builder.core.VariantConfiguration.Type.TEST ) ) { config = getTestedConfig ( ) ; } java.lang.Boolean functionalTest = config.mMergedFlavor.getTestFunctionalTest ( ) ; return functionalTest != null ? functionalTest : com.android.builder.core.VariantConfiguration.DEFAULT_FUNCTIONAL_TEST ; }

Target:
public java.lang.String getInstrumentationRunner ( ) { com.android.builder.core.VariantConfiguration config = this ; if ( ( mType ) == ( com.android.builder.core.VariantConfiguration.Type.TEST ) ) { config = getTestedConfig ( ) ; } java.lang.String runner = config.mMergedFlavor.getTestInstrumentationRunner ( ) ; return runner != null ? runner : com.android.builder.core.VariantConfiguration.DEFAULT_TEST_RUNNER ; }
Source:
public static float $noinline$floatSubAddSimplifyRight ( float x , float y ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } float sub = x - y ; return y + sub ; }

Target:
public static float $noinline$floatAddSubSimplifyArg1 ( float x , float y ) { float sum = x + y ; return sum - x ; }
Source:
public void streamingServicesUpdated ( java.util.List < android.telephony.mbms.StreamingServiceInfo > services ) throws android.os.RemoteException { listener.streamingServicesUpdated ( services ) ; }

Target:
public void onStreamingServicesUpdated ( java.util.List < android.telephony.mbms.StreamingServiceInfo > services ) { try { listener.streamingServicesUpdated ( services ) ; } catch ( android.os.RemoteException e ) { onAppCallbackDied ( uid , subscriptionId ) ; } }
Source:
public java.lang.String toString ( ) { java.lang.StringBuilder result = com.google.common.collect.Collections2.newStringBuilderForCollection ( size ( ) ) . append ( '{' ) ; com.google.common.collect.Collections2.STANDARD_JOINER.appendTo ( result , entries ) ; return result.append ( '}' ) . toString ( ) ; }

Target:
com.google.common.collect.ImmutableMapEntry < K , V > getNextInValueBucket ( ) { return null ; }
Source:
public void testInitialize ( ) { android.util.Log.i ( com.android.bluetooth.hfpclient.HeadsetClientServiceTest.TAG , "testInitialize, test passed" ) ; }

Target:
public void testInitialize ( ) { org.junit.Assert.assertNotNull ( com.android.bluetooth.hfpclient.HeadsetClientService.getHeadsetClientService ( ) ) ; }
Source:
public boolean isFulfilled ( com.ibm.icu.text.PluralRules.FixedDecimal n ) { return ( a.isFulfilled ( n ) ) || ( b.isFulfilled ( n ) ) ; }

Target:
public boolean isFulfilled ( com.ibm.icu.text.PluralRules.IFixedDecimal n ) { return ( a.isFulfilled ( n ) ) || ( b.isFulfilled ( n ) ) ; }
Source:
private void prepareNativeDaemon ( ) { }

Target:
protected void nullifyRecord ( ) { mSpi = android.net.IpSecManager.INVALID_SECURITY_PARAMETER_INDEX ; mResourceId = android.net.IpSecManager.INVALID_RESOURCE_ID ; }
Source:
private void logOutgoing ( java.lang.String msg , java.lang.Object ... params ) { android.telecom.Log.d ( this , ( "Telecom -> ConnectionService: " + msg ) , params ) ; }

Target:
private void logIncoming ( java.lang.String msg , java.lang.Object ... params ) { android.telecom.Log.d ( this , ( ( ( "ConnectionService -> Telecom[" + ( mComponentName.flattenToShortString ( ) ) ) + "]: " ) + msg ) , params ) ; }
Source:
public void setCarrierInfoForImsiEncryption ( java.security.PublicKey publicKey , java.lang.String keyIdentifier , android.os.Message response ) { if ( response != null ) { android.os.AsyncResult.forMessage ( response ) . result = publicKey ; response.sendToTarget ( ) ; } }

Target:
public void setCarrierInfoForImsiEncryption ( android.telephony.ImsiEncryptionInfo imsiEncryptionInfo , android.os.Message response ) { if ( response != null ) { android.os.AsyncResult.forMessage ( response ) . result = imsiEncryptionInfo ; response.sendToTarget ( ) ; } }
Source:
public synchronized void childAdded ( java.util.prefs.NodeChangeEvent e ) { ++ ( added ) ; notifyAll ( ) ; }

Target:
public void childAdded ( java.util.prefs.NodeChangeEvent e ) { if ( libcore.java.util.prefs.OldPreferencesTest.ENCOURAGE_RACES ) try { java.lang.Thread.sleep ( 1000 ) ; } catch ( java.lang.InterruptedException ignored ) { } synchronized ( this ) { ++ ( eventCount ) ; ++ ( added ) ; notifyAll ( ) ; } }
Source:
public com.google.common.collect.ImmutableList < com.android.manifmerger.Actions.NodeRecord > getNodeRecords ( com.android.manifmerger.XmlNode.NodeKey key ) { return mRecords.containsKey ( key ) ? mRecords.get ( key ) . getNodeRecords ( ) : com.google.common.collect.ImmutableList.< com.android.manifmerger.Actions.NodeRecord > of ( ) ; }

Target:
public com.google.common.collect.ImmutableList < com.android.manifmerger.Actions.NodeRecord > getNodeRecords ( org.w3c.dom.Element element ) { com.android.manifmerger.XmlNode.NodeKey nodeKey = XmlNode.NodeKey.fromXml ( element ) ; return mRecords.containsKey ( nodeKey ) ? mRecords.get ( nodeKey ) . getNodeRecords ( ) : com.google.common.collect.ImmutableList.< com.android.manifmerger.Actions.NodeRecord > of ( ) ; }
Source:
public void onRssiThresholdBreached ( byte curRssi ) { if ( com.android.server.wifi.WifiStateMachine.DBG ) { android.util.Log.e ( com.android.server.wifi.WifiStateMachine.TAG , ( "onRssiThresholdBreach event. Cur Rssi = " + curRssi ) ) ; } sendMessage ( com.android.server.wifi.WifiStateMachine.CMD_RSSI_THRESHOLD_BREACH , curRssi ) ; }

Target:
public void onRssiThresholdBreached ( byte curRssi ) { if ( mVerboseLoggingEnabled ) { android.util.Log.e ( com.android.server.wifi.WifiStateMachine.TAG , ( "onRssiThresholdBreach event. Cur Rssi = " + curRssi ) ) ; } sendMessage ( com.android.server.wifi.WifiStateMachine.CMD_RSSI_THRESHOLD_BREACH , curRssi ) ; }
Source:
native long rsnScriptIntrinsicCreate ( long con , int id , long eid ) ;

Target:
native void rsnScriptSetVarF ( long con , long id , int slot , float val , boolean mUseInc ) ;
Source:
BRANCH ( ) { }

Target:
public void actionPerformed ( java.awt.event.ActionEvent e ) { setRadioButtonsEnabled ( ) ; }
Source:
public void write ( java.lang.String s , int off , int len ) { write ( s.substring ( off , ( off + len ) ) . toCharArray ( ) , 0 , len ) ; }

Target:
protected static int getIntProperty ( java.lang.String key , int defVal , int maxVal ) { return com.ibm.icu.dev.test.TestFmwk.getParams ( ) . getIntProperty ( key , defVal , maxVal ) ; }
Source:
public void callSessionMergeFailed ( com.android.ims.ImsReasonInfo reasonInfo ) throws android.os.RemoteException { mListener.callSessionMergeFailed ( reasonInfo ) ; }

Target:
public void callSessionRemoveParticipantsRequestFailed ( com.android.ims.ImsReasonInfo reasonInfo ) throws android.os.RemoteException { mListener.callSessionInviteParticipantsRequestFailed ( reasonInfo ) ; }
Source:
public static long LongRemainder ( ) { long a ; long b ; long c ; a = 8L ; b = 3L ; c = a % b ; return c ; }

Target:
public static long LongRemainder ( ) { long a ; long b ; long c ; a = Main.$inline$long ( 8L ) ; b = Main.$inline$long ( 3L ) ; c = a % b ; return c ; }
Source:
public int getStrength ( ) { return strength_ICU_Java ( icuColl.getStrength ( ) ) ; }

Target:
public int getStrength ( ) { int value = icuColl.getStrength ( ) ; return value == java.text.com.ibm.icu.text.Collator ? java.text.Collator.IDENTICAL : value ; }
Source:
public boolean pingSupplicant ( ) { if ( ( mService ) == null ) return false ; try { return mService.pingSupplicant ( ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }

Target:
public boolean removePasspointConfiguration ( java.lang.String fqdn ) { try { return mService.removePasspointConfiguration ( fqdn ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }
Source:
private boolean fixedOrder ( ) { return false ; }

Target:
public boolean hasManualPreviews ( ) { assert ( mMode ) == ( com.android.ide.eclipse.adt.internal.editors.layout.gle2.RenderPreviewMode.CUSTOM ) ; return ( ( mManualList ) != null ) && ( ! ( mManualList.isEmpty ( ) ) ) ; }
Source:
protected java.lang.Object getTestCase ( ) throws java.lang.Exception { return constructor.newInstance ( constructorArgs ) ; }

Target:
protected java.lang.Object getTestCase ( ) throws java.lang.Throwable { try { return constructor.newInstance ( constructorArgs ) ; } catch ( java.lang.reflect.InvocationTargetException e ) { throw e.getCause ( ) ; } }
Source:
public int requestNetworkScan ( int subId , android.telephony.NetworkScanRequest request , android.os.Messenger messenger , android.os.IBinder binder ) { enforceModifyPermissionOrCarrierPrivilege ( subId ) ; return mNetworkScanRequestTracker.startNetworkScan ( request , messenger , binder , getPhone ( subId ) ) ; }

Target:
public int requestNetworkScan ( int subId , android.telephony.NetworkScanRequest request , android.os.Messenger messenger , android.os.IBinder binder ) { com.android.internal.telephony.TelephonyPermissions.enforceCallingOrSelfModifyPermissionOrCarrierPrivilege ( mApp , subId , "requestNetworkScan" ) ; return mNetworkScanRequestTracker.startNetworkScan ( request , messenger , binder , getPhone ( subId ) ) ; }
Source:
public static int ror_int_constant_c_negc ( int value ) { return ( value > > > 2 ) | ( value << ( - 2 ) ) ; }

Target:
public static int ror_int_constant_c_negc ( int value ) { return ( value > > > 2 ) | ( value << ( Main.$opt$inline$IntConstantM2 ( ) ) ) ; }
Source:
public int setUsbTethering ( boolean enable ) { throw new java.lang.RuntimeException ( "not implemented" ) ; }

Target:
public int setUsbTethering ( boolean enable , java.lang.String callerPkg ) { throw new java.lang.RuntimeException ( "not implemented" ) ; }
Source:
public TestCaseBuilder addLayout ( int layoutId , @ android.support.annotation.Nullable android.uirendering.cts.testinfrastructure.ViewInitializer viewInitializer ) { }

Target:
public android.uirendering.cts.testinfrastructure.ActivityTestBase.TestCaseBuilder addLayout ( int layoutId , @ android.support.annotation.Nullable android.uirendering.cts.testinfrastructure.ViewInitializer viewInitializer ) { return addLayout ( layoutId , viewInitializer , false ) . addLayout ( layoutId , viewInitializer , true ) ; }
Source:
public boolean syncDisableNetwork ( com.android.internal.util.AsyncChannel channel , int netId ) { android.os.Message resultMsg = channel.sendMessageSynchronously ( android.net.wifi.WifiStateMachine.CMD_DISABLE_NETWORK , netId , WifiConfiguration.DISABLED_UNKNOWN_REASON ) ; boolean result = ( resultMsg.arg1 ) != ( android.net.wifi.WifiStateMachine.FAILURE ) ; resultMsg.recycle ( ) ; return result ; }

Target:
public boolean syncDisableNetwork ( com.android.internal.util.AsyncChannel channel , int netId ) { android.os.Message resultMsg = channel.sendMessageSynchronously ( WifiManager.DISABLE_NETWORK , netId ) ; boolean result = ( resultMsg.arg1 ) != ( WifiManager.DISABLE_NETWORK_FAILED ) ; resultMsg.recycle ( ) ; return result ; }
Source:
public boolean accept ( com.android.tools.perflib.heap.Instance instance ) ;

Target:
public boolean visitEnter ( com.android.tools.perflib.heap.Instance instance ) { return mVisited.add ( instance ) ; }
Source:
void copySessionParametersFrom ( org.bouncycastle.crypto.tls.SecurityParameters other ) { this . entity = other.entity ; this . cipherSuite = other.cipherSuite ; this . compressionAlgorithm = other.compressionAlgorithm ; this . prfAlgorithm = other.prfAlgorithm ; this . verifyDataLength = other.verifyDataLength ; this . masterSecret = org.bouncycastle.util.Arrays.clone ( other.masterSecret ) ; }

Target:
public byte [ ] getPskIdentity ( ) { return pskIdentity ; }
Source:
int testThisWithInstanceCall ( ) { return doNativeCallRef ( ) ; }

Target:
int $noinline$testThisWithInstanceCall ( ) { return doNativeCallRef ( ) ; }
Source:
public void run ( ) { mListView.setDividerHeight ( 10 ) ; }

Target:
public void run ( ) { mListView.setDividerHeight ( 10 ) ; drawWaiter.registerDrawCompleteCallback ( mListView ) ; }
Source:
public void unregisterMediaButtonIntent ( android.app.PendingIntent pi ) { android.media.session.MediaSessionLegacyHelper helper = android.media.session.MediaSessionLegacyHelper.getHelper ( mApplicationContext ) ; helper.removeMediaButtonListener ( pi ) ; }

Target:
public void unregisterMediaButtonIntent ( android.app.PendingIntent pi ) { android.media.session.MediaSessionLegacyHelper helper = android.media.session.MediaSessionLegacyHelper.getHelper ( getContext ( ) ) ; helper.removeMediaButtonListener ( pi ) ; }
Source:
public java.lang.String getHostExecutionFlags ( ) { return java.lang.String.format ( "-Xnorelocate -Ximage:%s" , getHostCoreImagePath ( ) ) ; }

Target:
public java.lang.String getHostExecutionFlags ( ) { return java.lang.String.format ( "-Xnorelocate -Ximage:%s" , getHostCoreImagePathNoArch ( ) ) ; }
Source:
private void logNetworkEvent ( int evtype ) { mMetricsLog.log ( new android.net.metrics.NetworkEvent ( mNetId , evtype ) ) ; }

Target:
private void logNetworkEvent ( int evtype ) { int [ ] transports = mNetworkAgentInfo.networkCapabilities.getTransportTypes ( ) ; mMetricsLog.log ( mNetId , transports , new android.net.metrics.NetworkEvent ( evtype ) ) ; }
Source:
synchronized void nAllocationData1D ( long id , int off , int mip , int count , byte [ ] d , int sizeBytes ) { validate ( ) ; rsnAllocationData1D ( mContext , id , off , mip , count , d , sizeBytes ) ; }

Target:
synchronized void nScriptBindAllocation ( long script , long alloc , int slot , boolean mUseInc ) { validate ( ) ; long curCon = mContext ; if ( mUseInc ) { curCon = mIncCon ; } rsnScriptBindAllocation ( curCon , script , alloc , slot , mUseInc ) ; }
Source:
private void writeDescriptor ( java.lang.String writeValue ) { android.bluetooth.BluetoothGattDescriptor descriptor = getDescriptor ( ) ; if ( descriptor == null ) return ; descriptor.setValue ( writeValue.getBytes ( ) ) ; mBluetoothGatt.writeDescriptor ( descriptor ) ; }

Target:
private void writeCharacteristic ( java.util.UUID uid , java.lang.String writeValue ) { android.bluetooth.BluetoothGattCharacteristic characteristic = getCharacteristic ( uid ) ; if ( characteristic != null ) { writeCharacteristic ( characteristic , writeValue ) ; } }
Source:
public void dup ( ) { super . dup ( ) ; producerPop ( ) ; producerPush ( ) ; producerPush ( ) ; }

Target:
public void dup ( ) { super . dup ( ) ; producerStack.pop ( ) ; producerStack.push ( producerValue ) ; producerStack.push ( producerValue ) ; actualProducerStack.dup ( ) ; }
Source:
public java.lang.String insnArgString ( com.android.jack.dx.dex.code.DalvInsn insn ) { com.android.jack.dx.rop.code.RegisterSpecList regs = insn.getRegisters ( ) ; return ( ( regs.get ( 0 ) . regString ( ) ) + ", " ) + ( cstString ( insn ) ) ; }

Target:
public java.lang.String insnArgString ( com.android.jack.dx.dex.code.DalvInsn insn ) { com.android.jack.dx.rop.code.RegisterSpecList regs = insn.getRegisters ( ) ; return ( ( regs.get ( 0 ) . regString ( ) ) + ", " ) + ( cstString ( ( ( com.android.jack.dx.dex.code.CstInsn ) ( insn ) ) ) ) ; }
Source:
private void writeCharacteristic ( java.lang.String writeValue ) { android.bluetooth.BluetoothGattCharacteristic characteristic = getCharacteristic ( com.android.cts.verifier.bluetooth.BleClientService.CHARACTERISTIC_UUID ) ; if ( characteristic == null ) return ; characteristic.setValue ( writeValue ) ; mBluetoothGatt.writeCharacteristic ( characteristic ) ; }

Target:
private void writeCharacteristic ( java.util.UUID uid , java.lang.String writeValue ) { android.bluetooth.BluetoothGattCharacteristic characteristic = getCharacteristic ( uid ) ; if ( characteristic != null ) { writeCharacteristic ( characteristic , writeValue ) ; } }
Source:
synchronized void nScriptSetVarV ( long id , int slot , byte [ ] val ) { validate ( ) ; rsnScriptSetVarV ( mContext , id , slot , val ) ; }

Target:
synchronized void nIncContextDestroy ( ) { validate ( ) ; java.util.concurrent.locks.ReentrantReadWriteLock.WriteLock wlock = mRWLock.writeLock ( ) ; wlock.lock ( ) ; long curCon = mIncCon ; mIncCon = 0 ; wlock.unlock ( ) ; rsnIncContextDestroy ( curCon ) ; }
Source:
public void onClick ( android.view.View v ) { toggleShuffle ( ) ; }

Target:
public void onRepeat ( android.view.View v , long howlong , int repcnt ) { scanForward ( repcnt , howlong ) ; }
Source:
android.security.keymaster.OperationResult finish ( byte [ ] input ) ;

Target:
public android.security.keymaster.OperationResult update ( byte [ ] input ) { return mKeyStore.update ( mOperationToken , null , input ) ; }
Source:
public static void computeCosh ( android.renderscript.cts.TestCosh.ArgumentsFloatFloat args ) { args.ulf = 4 ; args.ulfRelaxed = 128 ; args.out = ( ( float ) ( java.lang.StrictMath.cosh ( args.in ) ) ) ; }

Target:
public static void 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 endVisit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethodLiteral expr ) { performCommonChecks ( expr ) ; com.android.jack.ir.ast.JMethodLiteral other = otherOrMe ( expr ) ; ensure ( ( ( expr.getMethod ( ) ) == ( other.getMethod ( ) ) ) ) ; }

Target:
public void endVisit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JUnaryOperation expr ) { performCommonChecks ( expr ) ; com.android.jack.ir.ast.JUnaryOperation other = otherOrMe ( expr ) ; ensure ( ( ( expr.getOp ( ) ) == ( other.getOp ( ) ) ) ) ; }
Source:
public int hashCode ( ) { if ( ( mValue ) != null ) { return mValue.hashCode ( ) ; } return 0 ; }

Target:
public boolean isMatchFor ( com.android.ide.eclipse.adt.internal.resources.configurations.ResourceQualifier qualifier ) { if ( ( mValue ) == ( com.android.sdklib.resources.DockMode.NONE ) ) { return true ; } return ( ( ( com.android.ide.eclipse.adt.internal.resources.configurations.DockModeQualifier ) ( qualifier ) ) . mValue ) == ( mValue ) ; }
Source:
void remove ( ) ;

Target:
default void remove ( ) { throw new java.lang.UnsupportedOperationException ( "remove" ) ; }
Source:
private void continueTest ( ) { new com.android.cts.verifier.jobscheduler.ChargingConstraintTestActivity.TestDevicePluggedInConstraint ( ) . execute ( ) ; }

Target:
public void onTimerExpired ( ) { mProblemWithChargerTextView.setVisibility ( View.VISIBLE ) ; }
Source:
public java.net.Socket createSocket ( java.net.Socket s , java.lang.String host , int port , boolean autoClose ) throws java.io.IOException { return new org.conscrypt.OpenSSLSocketImplWrapper ( s , host , port , autoClose , ( ( org.conscrypt.SSLParametersImpl ) ( sslParameters.clone ( ) ) ) ) ; }

Target:
public java.net.Socket createSocket ( java.net.Socket s , java.lang.String hostname , int port , boolean autoClose ) throws java.io.IOException { return new org.conscrypt.OpenSSLSocketImplWrapper ( s , hostname , port , autoClose , ( ( org.conscrypt.SSLParametersImpl ) ( sslParameters.clone ( ) ) ) ) ; }
Source:
public void setWifi ( boolean isWifi ) { mIsWifi = isWifi ; updateConnectionCapabilities ( ) ; updateStatusHints ( ) ; }

Target:
public void setWifi ( boolean isWifi ) { mIsWifi = isWifi ; updateConnectionProperties ( ) ; updateStatusHints ( ) ; refreshDisableAddCall ( ) ; }
Source:
public boolean onCreateActionMode ( android.view.ActionMode mode , android.view.Menu menu ) { mode.getMenuInflater ( ) . inflate ( R.menu.mode_directory , menu ) ; return true ; }

Target:
public boolean onCreateActionMode ( android.view.ActionMode mode , android.view.Menu menu ) { mode.getMenuInflater ( ) . inflate ( R.menu.mode_directory , menu ) ; mode.setTitle ( getResources ( ) . getString ( R.string.mode_selected_count , mCurrentView.getCheckedItemCount ( ) ) ) ; return true ; }
Source:
public void testVFE11 ( ) { try { java.lang.Class.forName ( "dot.junit.opcodes.sput_wide.d.T_sput_wide_10" ) ; fail ( "expected a verification exception" ) ; } catch ( java.lang.Throwable t ) { dot.junit.DxUtil.checkVerifyException ( t ) ; } }

Target:
public void testVFE12 ( ) { try { new dot.junit.opcodes.sput_wide.d.T_sput_wide_15 ( ) . run ( ) ; fail ( "expected IllegalAccessError" ) ; } catch ( java.lang.IllegalAccessError t ) { dot.junit.DxUtil.checkVerifyException ( t ) ; } }
Source:
public static native boolean doDhcpRequest ( android.net.DhcpInfo results ) ;

Target:
public static native int getPowerModeCommand ( ) ;
Source:
public void loadState ( org.jetbrains.plugins.gradle.settings.GradleSettings.MyState state ) { super . loadState ( state ) ; myServiceDirectoryPath = state.serviceDirectoryPath ; }

Target:
public void loadState ( org.jetbrains.plugins.gradle.settings.GradleSettings.MyState state ) { super . loadState ( state ) ; myServiceDirectoryPath = state.serviceDirectoryPath ; myGradleVmOptions = state.gradleVmOptions ; }
Source:
public static void computePow ( android.renderscript.cts.TestPow.ArgumentsFloatFloatFloat args ) { args.ulf = 16 ; args.ulfRelaxed = 128 ; args.out = ( ( float ) ( java.lang.StrictMath.pow ( args.inX , args.inY ) ) ) ; }

Target:
public static void computeConvert ( android.renderscript.cts.TestConvert.ArgumentsUcharChar args ) { args.out = android.renderscript.cts.CoreMathVerifier.convertUcharToChar ( args.inV ) ; }
Source:
public boolean isApplicable ( ) { return ( ( ( annotation ) != null ) && ( ! ( annotation.source ( ) . isAssignableFrom ( javax.lang.model.type.NullType.class ) ) ) ) && ( ! ( annotation.method ( ) . isEmpty ( ) ) ) ; }

Target:
public boolean isApplicable ( ) { return ( ( ( annotation ) != null ) && ( ! ( annotation.source ( ) . isAssignableFrom ( java.lang.Void.class ) ) ) ) && ( ! ( annotation.method ( ) . isEmpty ( ) ) ) ; }
Source:
public void testUnusedOnSomeVersions1 ( ) throws java.lang.Exception { assertEquals ( ( "" + ( ( ( ( ( ( "res/layout/attribute2.xml:4: Error: switchTextAppearance requires API level 14 (current min is 1), but note that attribute editTextColor is only used in API level 11 and higher [NewApi]\n" + " android:editTextColor=\"?android:switchTextAppearance\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "res/layout/attribute2.xml:4: Warning: Attribute \"editTextColor\" is only used in API level 11 and higher (current min is 1) [UnusedAttribute]\n" ) + " android:editTextColor=\"?android:switchTextAppearance\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "1 errors, 1 warnings\n" ) ) , lintProject ( "apicheck/minsdk1.xml=>AndroidManifest.xml" , "apicheck/attribute2.xml=>res/layout/attribute2.xml" ) ) ; }

Target:
public void testUnusedOnSomeVersions1 ( ) throws java.lang.Exception { assertEquals ( ( "" + ( ( ( ( ( ( "res/layout/attribute2.xml:4: Error: switchTextAppearance requires API level 14 (current min is 1), but note that attribute editTextColor is only used in API level 11 and higher [NewApi]\n" + " android:editTextColor=\"?android:switchTextAppearance\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "res/layout/attribute2.xml:4: Warning: Attribute editTextColor is only used in API level 11 and higher (current min is 1) [UnusedAttribute]\n" ) + " android:editTextColor=\"?android:switchTextAppearance\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "1 errors, 1 warnings\n" ) ) , lintProject ( "apicheck/minsdk1.xml=>AndroidManifest.xml" , "apicheck/attribute2.xml=>res/layout/attribute2.xml" ) ) ; }
Source:
public java.util.List < com.android.sched.vfs.InputVFile > getBinaries ( @ javax.annotation.Nonnull com.android.jack.library.BinaryKind binaryKind ) ;

Target:
public com.android.sched.vfs.InputVFile getFile ( @ javax.annotation.Nonnull com.android.jack.library.FileType fileType , @ javax.annotation.Nonnull com.android.sched.vfs.VPath typePath ) throws com.android.jack.library.FileTypeDoesNotExistException ;
Source:
public boolean enableNetworkWithoutConnect ( int netId ) { if ( com.android.server.wifi.WifiNative.DBG ) logDbg ( ( "enableNetworkWithoutConnect nid=" + ( java.lang.Integer.toString ( netId ) ) ) ) ; return doBooleanCommand ( ( ( ( "ENABLE_NETWORK " + netId ) + " " ) + "no-connect" ) ) ; }

Target:
public java.util.ArrayList < com.android.server.wifi.ScanDetail > getScanResults ( ) { return mWificondControl.getScanResults ( ) ; }
Source:
public static < T > T readLines ( java.io.File file , java.nio.charset.Charset charset , com.google.common.io.LineProcessor < T > callback ) throws java.io.IOException { return com.google.common.io.CharStreams.readLines ( com.google.common.io.Files.newReaderSupplier ( file , charset ) , callback ) ; }

Target:
public static < T > T readLines ( java.io.File file , java.nio.charset.Charset charset , com.google.common.io.LineProcessor < T > callback ) throws java.io.IOException { return com.google.common.io.Files.asCharSource ( file , charset ) . readLines ( callback ) ; }
Source:
native void rsnScriptSetVarD ( long con , long id , int slot , double val ) ;

Target:
native void rsnScriptSetVarVE ( long con , long id , int slot , byte [ ] val , long e , int [ ] dims , boolean mUseInc ) ;
Source:
private com.android.sched.vfs.OutputVFile getOutputDex ( @ javax.annotation.Nonnull com.android.sched.vfs.OutputVDir outputVDir ) throws com.android.jack.backend.dex.DexWritingException { return getOutputDex ( outputVDir , 1 ) ; }

Target:
private com.android.sched.vfs.OutputVFile getOutputDex ( @ javax.annotation.Nonnull com.android.sched.vfs.OutputVFS outputVDir ) throws com.android.jack.backend.dex.DexWritingException { return getOutputDex ( outputVDir , 1 ) ; }
Source:
public void visitJumpInsn ( int opcode , org.objectweb.asm.Label label ) { printer.visitJumpInsn ( opcode , label ) ; printTypeOfOperandStack ( ) ; super . visitJumpInsn ( opcode , label ) ; }

Target:
public void visitInvokeDynamicInsn ( java.lang.String name , java.lang.String desc , org.objectweb.asm.Handle bsm , java.lang.Object ... bsmArgs ) { printer.visitInvokeDynamicInsn ( name , desc , bsm , bsmArgs ) ; printTypeOfOperandStackTop ( ) ; super . visitInvokeDynamicInsn ( name , desc , bsm , bsmArgs ) ; }
Source:
public static native boolean isDexOptNeededInternal ( java.lang.String fileName , java.lang.String pkgname , boolean defer ) throws java.io.FileNotFoundException , java.io.IOException ;

Target:
public static native boolean isDexOptNeededInternal ( java.lang.String fileName , java.lang.String pkgname , java.lang.String instructionSet , boolean defer ) throws java.io.FileNotFoundException , java.io.IOException ;
Source:
public static com.google.common.io.ByteArrayDataInput newDataInput ( byte [ ] bytes ) { return new com.google.common.io.ByteStreams.ByteArrayDataInputStream ( bytes ) ; }

Target:
public java.lang.String toString ( ) { return "ByteStreams.nullOutputStream()" ; }
Source:
public static int getTunerCount ( android.content.Context context ) { if ( ( com.android.tv.tuner.TunerHal.getTunerType ( context ) ) == ( com.android.tv.tuner.TunerHal.TUNER_TYPE_BUILT_IN ) ) { } return com.android.tv.tuner.UsbTunerHal.getNumberOfDevices ( context ) ; }

Target:
static boolean useBuiltInTuner ( android.content.Context context ) { return false ; }
Source:
public void onTargetChange ( ) { com.android.ide.eclipse.adt.internal.sdk.AndroidTargetData targetData = mConfigChooser.onXmlModelLoaded ( ) ; updateCapabilities ( targetData ) ; changed ( ( ( CHANGED_FOLDER ) | ( CHANGED_RENDER_TARGET ) ) ) ; }

Target:
public void onTargetChange ( ) { com.android.ide.eclipse.adt.internal.sdk.AndroidTargetData targetData = mConfigChooser.onXmlModelLoaded ( ) ; updateCapabilities ( targetData ) ; changed ( ( ( com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration.CFG_FOLDER ) | ( com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration.CFG_TARGET ) ) ) ; }
Source:
public com.android.internal.telephony.TimeServiceHelper makeTimeServiceHelper ( android.content.Context context ) { return new com.android.internal.telephony.TimeServiceHelper ( context ) ; }

Target:
public com.android.internal.telephony.uicc.UiccProfile makeUiccProfile ( android.content.Context context , com.android.internal.telephony.CommandsInterface ci , com.android.internal.telephony.uicc.IccCardStatus ics , int phoneId , com.android.internal.telephony.uicc.UiccCard uiccCard ) { return new com.android.internal.telephony.uicc.UiccProfile ( context , ci , ics , phoneId , uiccCard ) ; }
Source:
synchronized void nScriptSetVarJ ( int id , int slot , long val ) { validate ( ) ; rsnScriptSetVarJ ( mContext , id , slot , val ) ; }

Target:
synchronized void nAllocationRead ( long id , float [ ] d ) { validate ( ) ; rsnAllocationRead ( mContext , id , d ) ; }
Source:
public void resendIncallMute ( int indicationType ) { }

Target:
public void resendIncallMute ( int indicationType ) { mRil.processIndication ( indicationType ) ; if ( RIL.RILJ_LOGD ) mRil.unsljLog ( com.android.internal.telephony.RILConstants.RIL_UNSOL_RESEND_INCALL_MUTE ) ; mRil.mResendIncallMuteRegistrants.notifyRegistrants ( ) ; }
Source:
public java.lang.String getMessage ( ) { com.android.jack.ir.formatter.TypeAndMethodFormatter formatter = com.android.jack.Jack.getUserFriendlyFormatter ( ) ; return ( ( "Default method " + ( formatter.getName ( method ) ) ) + " not supported in Android API level less than " ) + ( AndroidCompatibilityChecker.N_API_LEVEL ) ; }

Target:
public java.lang.String getMessage ( ) { com.android.jack.ir.formatter.TypeAndMethodFormatter formatter = com.android.jack.Jack.getUserFriendlyFormatter ( ) ; return ( ( "Default method " + ( formatter.getName ( method ) ) ) + " not supported in Android API level less than " ) + ( AndroidApiLevel.ReleasedLevel.N.getLevel ( ) ) ; }
Source:
public void getAllArrayItemsWithFallback ( java.lang.String path , com.ibm.icu.impl.UResource.ArraySink sink ) throws java.util.MissingResourceException { getAllContainerItemsWithFallback ( path , sink , null ) ; }

Target:
public void getAllArrayItemsWithFallback ( java.lang.String path , com.ibm.icu.impl.UResource.ArraySink sink ) throws java.util.MissingResourceException { getAllItemsWithFallback ( path , null , sink , null ) ; }
Source:
public void scheduleAtFixedRate ( java.util.TimerTask task , long delay , long period ) { if ( ( delay < 0 ) || ( period <= 0 ) ) { throw new java.lang.IllegalArgumentException ( ) ; } scheduleImpl ( task , delay , period , true ) ; }

Target:
public void scheduleAtFixedRate ( java.util.TimerTask task , long delay , long period ) { validateScheduling ( task , java.util.Timer.VALID_DATE , delay , period ) ; doSchedule ( task , ( ( java.lang.System.currentTimeMillis ( ) ) + delay ) , period , true ) ; }
Source:
public void setConnectionHeld ( ) { mMediaPlayer.pause ( ) ; setOnHold ( ) ; }

Target:
public void setConnectionHeld ( ) { mMediaPlayer.pause ( ) ; setOnHold ( ) ; if ( ( mListener ) != null ) { mListener.onConnectionStateChanged ( this ) ; } }
Source:
public boolean matchesObject ( java.lang.Object string ) { return mStrings.contains ( string ) ; }

Target:
public boolean matches ( java.lang.String string ) { return mStrings.contains ( string ) ; }
Source:
private byte [ ] bigIntToBytes ( java.math.BigInteger r ) { return org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi.converter.integerToBytes ( r , org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi.converter.getByteLength ( parameters.getG ( ) . getAffineXCoord ( ) ) ) ; }

Target:
private byte [ ] bigIntToBytes ( java.math.BigInteger r ) { return org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi.converter.integerToBytes ( r , org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi.converter.getByteLength ( parameters.getCurve ( ) ) ) ; }
Source:
public void addRecordedProgram ( com.android.tv.dvr.RecordedProgram recordedProgram ) { addRecordedProgramInternal ( recordedProgram ) ; }

Target:
public void addRecordedProgram ( com.android.tv.dvr.data.RecordedProgram recordedProgram ) { addRecordedProgramInternal ( recordedProgram ) ; }
Source:
public static float nextUp ( float f ) { return sun.misc.FpUtils.nextUp ( f ) ; }

Target:
public static float nextUp ( float f ) { return java.lang.Math.nextUp ( f ) ; }
Source:
public void testTopLocationsY ( ) { assertPositionEquals ( android.support.test.espresso.action.GeneralLocationTest.VIEW_POSITION_Y , GeneralLocation.TOP_LEFT , android.support.test.espresso.action.GeneralLocationTest.AXIS_Y ) ; assertPositionEquals ( android.support.test.espresso.action.GeneralLocationTest.VIEW_POSITION_Y , GeneralLocation.TOP_CENTER , android.support.test.espresso.action.GeneralLocationTest.AXIS_Y ) ; assertPositionEquals ( android.support.test.espresso.action.GeneralLocationTest.VIEW_POSITION_Y , GeneralLocation.TOP_RIGHT , android.support.test.espresso.action.GeneralLocationTest.AXIS_Y ) ; }

Target:
public void topLocationsY ( ) { assertPositionEquals ( android.support.test.espresso.action.GeneralLocationTest.VIEW_POSITION_Y , GeneralLocation.TOP_LEFT , android.support.test.espresso.action.GeneralLocationTest.AXIS_Y ) ; assertPositionEquals ( android.support.test.espresso.action.GeneralLocationTest.VIEW_POSITION_Y , GeneralLocation.TOP_CENTER , android.support.test.espresso.action.GeneralLocationTest.AXIS_Y ) ; assertPositionEquals ( android.support.test.espresso.action.GeneralLocationTest.VIEW_POSITION_Y , GeneralLocation.TOP_RIGHT , android.support.test.espresso.action.GeneralLocationTest.AXIS_Y ) ; }
Source:
public void setTextView ( android.widget.TextView newView ) { mStatusText = newView ; }

Target:
public void setDependentViews ( android.widget.TextView msgView , android.view.View arrowView , android.view.View backgroundView ) { mStatusText = msgView ; mArrowsView = arrowView ; mBackgroundView = backgroundView ; }
Source:
public static java.lang.String toOctalString ( int i ) { return java.lang.Integer.toUnsignedString ( i , 3 ) ; }

Target:
public static java.lang.String toOctalString ( int i ) { return java.lang.Integer.toUnsignedString0 ( i , 3 ) ; }
Source:
public void visitClassConstant ( proguard.classfile.visitor.Clazz clazz , proguard.classfile.constant.ClassConstant classConstant ) { proguard.classfile.visitor.Clazz referencedClass = classConstant.referencedClass ; if ( ( referencedClass == null ) || ( ! ( implementingClass.extendsOrImplements ( referencedClass ) ) ) ) { constantVisitor.visitClassConstant ( clazz , classConstant ) ; } }

Target:
public void visitClassConstant ( proguard.classfile.Clazz clazz , proguard.classfile.constant.ClassConstant classConstant ) { proguard.classfile.Clazz referencedClass = classConstant.referencedClass ; if ( ( referencedClass == null ) || ( ! ( implementingClass.extendsOrImplements ( referencedClass ) ) ) ) { constantVisitor.visitClassConstant ( clazz , classConstant ) ; } }
Source:
public com.google.common.collect.ImmutableSet < com.android.dialer.DialerPhoneNumber > dialerPhoneNumbersForE164 ( java.lang.String e164 ) { return com.android.dialer.common.Assert.isNotNull ( e164NumbersToDialerPhoneNumbers.get ( e164 ) ) ; }

Target:
public com.google.common.collect.ImmutableSet < com.android.dialer.DialerPhoneNumber > dialerPhoneNumbersForValidE164 ( java.lang.String validE164 ) { return com.android.dialer.common.Assert.isNotNull ( e164NumbersToDialerPhoneNumbers.get ( validE164 ) ) ; }
Source:
com.android.ide.eclipse.adt.internal.editors.layout.gle2.ScaleInfo getVerticalTransform ( ) { org.eclipse.swt.widgets.ScrollBar scrollBar = new org.eclipse.swt.widgets.List ( this , ( ( org.eclipse.swt.SWT.V_SCROLL ) | ( org.eclipse.swt.SWT.H_SCROLL ) ) ) . getVerticalBar ( ) ; return new com.android.ide.eclipse.adt.internal.editors.layout.gle2.PointTestCases.TestScaleInfo ( scrollBar , mScaleY , mTranslateY ) ; }

Target:
com.android.ide.eclipse.adt.internal.editors.layout.gle2.CanvasTransform getVerticalTransform ( ) { org.eclipse.swt.widgets.ScrollBar scrollBar = new org.eclipse.swt.widgets.List ( this , ( ( org.eclipse.swt.SWT.V_SCROLL ) | ( org.eclipse.swt.SWT.H_SCROLL ) ) ) . getVerticalBar ( ) ; return new com.android.ide.eclipse.adt.internal.editors.layout.gle2.PointTestCases.TestCanvasTransform ( scrollBar , mScaleY , mTranslateY ) ; }
Source:
void startAdvertisingSet ( android.bluetooth.le.AdvertisingSetParameters parameters , android.bluetooth.le.AdvertiseData advertiseData , android.bluetooth.le.AdvertiseData scanResponse , android.bluetooth.le.PeriodicAdvertisingParameters periodicParameters , android.bluetooth.le.AdvertiseData periodicData , android.bluetooth.le.IAdvertisingSetCallback callback ) { enforceAdminPermission ( ) ; mAdvertiseManager.startAdvertisingSet ( parameters , advertiseData , scanResponse , periodicParameters , periodicData , callback ) ; }

Target:
void startAdvertisingSet ( android.bluetooth.le.AdvertisingSetParameters parameters , android.bluetooth.le.AdvertiseData advertiseData , android.bluetooth.le.AdvertiseData scanResponse , android.bluetooth.le.PeriodicAdvertisingParameters periodicParameters , android.bluetooth.le.AdvertiseData periodicData , int timeout , android.bluetooth.le.IAdvertisingSetCallback callback ) { enforceAdminPermission ( ) ; mAdvertiseManager.startAdvertisingSet ( parameters , advertiseData , scanResponse , periodicParameters , periodicData , timeout , callback ) ; }
Source:
public int getVoiceNetworkType ( ) { return rilRadioTechnologyToNetworkType ( mRilVoiceRadioTechnology ) ; }

Target:
public java.util.List < android.telephony.NetworkRegistrationState > getNetworkRegistrationStates ( ) { return mNetworkRegistrationStates ; }
Source:
public boolean isServiceValid ( java.lang.String actionName ) { if ( ( mBinder ) == null ) { com.android.server.telecom.Log.w ( this , "%s invoked while service is unbound" , actionName ) ; return false ; } return true ; }

Target:
public boolean isServiceValid ( java.lang.String actionName ) { if ( ( mBinder ) == null ) { android.telecom.Log.w ( this , "%s invoked while service is unbound" , actionName ) ; return false ; } return true ; }
Source:
public static void d ( java.lang.Object objectPrefix , java.lang.String format , java.lang.Object ... args ) { if ( com.android.services.telephony.Log.DEBUG ) { android.util.Log.d ( 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 d ( java.lang.Object objectPrefix , java.lang.String format , java.lang.Object ... args ) { android.telecom.Log.d ( objectPrefix , format , args ) ; }
Source:
public synchronized void resetSimAuthNetworks ( ) { sendMessage ( com.android.server.wifi.WifiStateMachine.CMD_RESET_SIM_NETWORKS ) ; }

Target:
public synchronized void resetSimAuthNetworks ( boolean simPresent ) { sendMessage ( com.android.server.wifi.WifiStateMachine.CMD_RESET_SIM_NETWORKS , ( simPresent ? 1 : 0 ) ) ; }
Source:
com.android.bluetooth.avrcp.MediaData getCurrentMediaData ( ) { return mCurrentData ; }

Target:
java.util.List < com.android.bluetooth.avrcp.Metadata > getCurrentQueue ( ) { return com.android.bluetooth.avrcp.Util.toMetadataList ( getQueue ( ) ) ; }
Source:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JParameter x ) { printAnnotationLiterals ( x.getAnnotations ( ) ) ; print ( com.android.jack.ir.ast.JModifier.getStringVariableModifier ( x.getModifier ( ) ) ) ; printType ( x ) ; space ( ) ; printName ( x ) ; return false ; }

Target:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JParameter x ) { printAnnotationLiterals ( x.getAnnotations ( ) ) ; print ( com.android.jack.ir.ast.JModifier.getStringParameterModifier ( x.getModifier ( ) ) ) ; printType ( x ) ; space ( ) ; printName ( x ) ; return false ; }
Source:
protected byte [ ] engineDoFinal ( ) { final org.conscrypt.NativeRef.EVP_MD_CTX ctxLocal = ctx ; final byte [ ] output = org.conscrypt.NativeCrypto.EVP_DigestSignFinal ( ctxLocal ) ; resetContext ( ) ; return output ; }

Target:
protected void engineUpdate ( byte [ ] input , int offset , int len ) { final org.conscrypt.NativeRef.HMAC_CTX ctxLocal = ctx ; org.conscrypt.NativeCrypto.HMAC_Update ( ctxLocal , input , offset , len ) ; }
Source:
public boolean isImsRegistered ( int subId ) { try { return getITelephony ( ) . isImsRegisteredForSubscriber ( subId ) ; } catch ( android.os.RemoteException ex ) { return false ; } catch ( java.lang.NullPointerException ex ) { return false ; } }

Target:
public java.lang.CharSequence getSimCarrierIdName ( ) { try { com.android.internal.telephony.ITelephony service = getITelephony ( ) ; if ( service != null ) { return service.getSubscriptionCarrierName ( getSubId ( ) ) ; } } catch ( android.os.RemoteException ex ) { } return null ; }
Source:
public void onMessageSent ( ) { if ( ( mMsgListAdapter.getCount ( ) ) == 0 ) { if ( com.android.mms.LogTag.VERBOSE ) { com.android.mms.ui.ComposeMessageActivity.log ( "onMessageSent" ) ; } startMsgListQuery ( ) ; } }

Target:
public void run ( ) { if ( com.android.mms.LogTag.VERBOSE ) { com.android.mms.ui.ComposeMessageActivity.log ( "onMessageSent" ) ; } startMsgListQuery ( ) ; updateThreadIdIfRunning ( ) ; }
Source:
public V get ( @ javax.annotation.Nullable java.lang.Object key ) { if ( set.contains ( key ) ) { @ java.lang.SuppressWarnings ( value = "unchecked" ) K k = ( ( K ) ( key ) ) ; return function.apply ( k ) ; } else { return null ; } }

Target:
public V remove ( @ javax.annotation.Nullable java.lang.Object key ) { if ( backingSet ( ) . remove ( key ) ) { @ java.lang.SuppressWarnings ( value = "unchecked" ) K k = ( ( K ) ( key ) ) ; return function.apply ( k ) ; } else { return null ; } }
Source:
public void accept ( final org.objectweb.asm.MethodVisitor mv ) { mv.visitMethodInsn ( opcode , owner , name , desc ) ; }

Target:
public void accept ( final org.objectweb.asm.MethodVisitor mv ) { mv.visitMethodInsn ( opcode , owner , name , desc , itf ) ; acceptAnnotations ( mv ) ; }
Source:
private com.android.dx.io.DexBuffer resourceToDexBuffer ( java.lang.String resource ) throws java.io.IOException { return new com.android.dx.io.DexBuffer ( getClass ( ) . getResourceAsStream ( resource ) ) ; }

Target:
private com.android.dex.Dex resourceToDexBuffer ( java.lang.String resource ) throws java.io.IOException { return new com.android.dex.Dex ( getClass ( ) . getResourceAsStream ( resource ) ) ; }
Source:
public java.lang.String getHostExecutionFlags ( ) { return java.lang.String.format ( "-Xnorelocate -Ximage:%s/framework/core.art" , androidHostOut ) ; }

Target:
private java.lang.String getHostCoreImagePath ( ) { return ( androidHostOut ) + "/framework/core.art" ; }
Source:
private void checkType ( int expected ) { if ( ( peek ( ) ) != expected ) { throw new java.lang.IllegalStateException ( ( "Expected array but was " + ( java.lang.Integer.toHexString ( peek ( ) ) ) ) ) ; } }

Target:
private void checkType ( int expected ) { if ( ( peek ( ) ) != expected ) { throw new java.lang.IllegalStateException ( java.lang.String.format ( "Expected %x but was %x" , expected , peek ( ) ) ) ; } }