auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void removeSession ( int sessionId ) { if ( ( mSessions.get ( sessionId ) ) == null ) { android.util.Log.e ( com.android.server.wifi.nan.WifiNanClientState.TAG , ( "removeSession: sessionId doesn't exist - " + sessionId ) ) ; return ; } mSessions.delete ( sessionId ) ; }

Target:
public void removeSession ( int sessionId ) { if ( ( mSessions.get ( sessionId ) ) == null ) { android.util.Log.e ( com.android.server.wifi.aware.WifiAwareClientState.TAG , ( "removeSession: sessionId doesn't exist - " + sessionId ) ) ; return ; } mSessions.delete ( sessionId ) ; }
Source:
public android.net.ProxyInfo getHttpProxy ( ) { return mIpConfiguration.httpProxy ; }

Target:
public android.net.ProxyInfo getHttpProxy ( ) { if ( ( mIpConfiguration.proxySettings ) == ( android.net.IpConfiguration.ProxySettings.NONE ) ) { return null ; } return new android.net.ProxyInfo ( mIpConfiguration.httpProxy ) ; }
Source:
public java.nio.charset.Charset charsetForName ( java.lang.String charsetName ) { if ( ( "US-ASCII" . equalsIgnoreCase ( charsetName ) ) || ( "ASCII" . equalsIgnoreCase ( charsetName ) ) ) { return new tests.api.java.nio.charset.CharsetTest.MockCharset ( "US-ASCII" , new java.lang.String [ ] { "ASCII" } ) ; } return null ; }

Target:
public java.nio.charset.Charset charsetForName ( java.lang.String charsetName ) { if ( ( "US-ASCII" . equalsIgnoreCase ( charsetName ) ) || ( "ASCII" . equalsIgnoreCase ( charsetName ) ) ) { return new org.apache.harmony.tests.java.nio.charset.CharsetTest.MockCharset ( "US-ASCII" , new java.lang.String [ ] { "ASCII" } ) ; } return null ; }
Source:
public void onStreamMethodUpdated ( int method ) { this . onStreamMethodUpdated ( method ) ; }

Target:
public void streamMethodUpdated ( int method ) { onStreamMethodUpdated ( method ) ; }
Source:
public void testPackageNotInstalledForUser ( ) { notifyDexLoad ( mBarUser0 , mFooUser0.getBaseAndSplitDexPaths ( ) , mUser1 ) ; org.junit.Assert.assertNull ( getPackageUseInfo ( mBarUser1 ) ) ; }

Target:
public void testPackageNotInstalledForUser ( ) { notifyDexLoad ( mBarUser0 , mFooUser0.getBaseAndSplitDexPaths ( ) , mUser1 ) ; assertNoUseInfo ( mBarUser1 ) ; }
Source:
public int getPreciseDisconnectCause ( ) { return 0 ; }

Target:
public void setPreciseDisconnectCause ( int cause ) { mPreciseDisconnectCause = cause ; }
Source:
com.google.common.collect.ImmutableList < java.io.File > getTestedApks ( @ com.android.annotations.NonNull com.android.ide.common.process.ProcessExecutor processExecutor , @ com.android.annotations.Nullable java.io.File splitSelectExe , @ com.android.annotations.NonNull com.android.builder.testing.api.DeviceConfigProvider deviceConfigProvider ) throws com.android.ide.common.process.ProcessException ;

Target:
com.google.common.collect.ImmutableList < java.io.File > getTestedApks ( int density , @ com.android.annotations.Nullable java.lang.String language , @ com.android.annotations.Nullable java.lang.String region , @ com.android.annotations.NonNull java.util.List < java.lang.String > abis ) ;
Source:
private static boolean tryParseBool ( java.lang.String value , boolean defValue ) { if ( android.text.TextUtils.isEmpty ( value ) ) return defValue ; return java.lang.Boolean.valueOf ( value ) ; }

Target:
private static boolean tryParseBool ( java.lang.String value , boolean defValue ) { if ( android.text.TextUtils.isEmpty ( value ) ) return defValue ; return java.lang.Boolean.parseBoolean ( value ) ; }
Source:
public void registrationConnectedWithRadioTech ( int imsRadioTech ) { if ( com.android.ims.ImsManager.DBG ) { com.android.ims.ImsManager.log ( ( "registrationConnectedWithRadioTech :: imsRadioTech=" + imsRadioTech ) ) ; } if ( ( mListener ) != null ) { mListener.onImsConnected ( ) ; mListener.onImsConnected ( imsRadioTech ) ; } }

Target:
public void registrationProgressingWithRadioTech ( int imsRadioTech ) { if ( com.android.ims.ImsManager.DBG ) { com.android.ims.ImsManager.log ( ( "registrationProgressingWithRadioTech :: imsRadioTech=" + imsRadioTech ) ) ; } if ( ( mListener ) != null ) { mListener.onImsProgressing ( imsRadioTech ) ; } }
Source:
native void rsnAllocationRead ( long con , long id , byte [ ] d ) ;

Target:
native void rsnScriptSetVarI ( long con , long id , int slot , int val , boolean mUseInc ) ;
Source:
public void setChildren ( java.util.List < com.android.layoutlib.api.ViewInfo > children ) { if ( children != null ) { mChildren = java.util.Collections.unmodifiableList ( children ) ; } else { mChildren = java.util.Collections.emptyList ( ) ; } }

Target:
public void setChildren ( java.util.List < com.android.ide.common.rendering.api.ViewInfo > children ) { if ( children != null ) { mChildren = java.util.Collections.unmodifiableList ( children ) ; } else { mChildren = java.util.Collections.emptyList ( ) ; } }
Source:
public void test ( ) throws java.lang.Exception { assertEquals ( ( "layout1.xml:14: Error: The id \"button5\" is not defined anywhere. Did you mean one of {button1, button2, button3, button4} ?\n" + ( ( "layout1.xml:15: Warning: The id \"my_id2\" is not referring to any views in this layout\n" + "layout1.xml:17: Error: The id \"my_id3\" is not defined anywhere. Did you mean my_id2 ?\n" ) + "layout1.xml:18: Error: The id \"my_id1\" is defined but not assigned to any views. Did you mean my_id2 ?" ) ) , lintProject ( "wrongid/layout1.xml=>res/layout/layout1.xml" , "wrongid/layout2.xml=>res/layout/layout2.xml" , "wrongid/ids.xml=>res/values/ids.xml" ) ) ; }

Target:
public void test ( ) throws java.lang.Exception { assertEquals ( ( "res/layout/layout1.xml:14: Error: The id \"button5\" is not defined anywhere. Did you mean one of {button1, button2, button3, button4} ? [UnknownId]\n" + ( ( ( ( ( ( ( ( ( ( ( ( " android:layout_alignBottom=\"@+id/button5\"\n" + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "res/layout/layout1.xml:17: Error: The id \"my_id3\" is not defined anywhere. Did you mean my_id2 ? [UnknownId]\n" ) + " android:layout_alignRight=\"@+id/my_id3\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "res/layout/layout1.xml:18: Error: The id \"my_id1\" is defined but not assigned to any views. Did you mean my_id2 ? [UnknownId]\n" ) + " android:layout_alignTop=\"@+id/my_id1\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "res/layout/layout1.xml:15: Warning: The id \"my_id2\" is not referring to any views in this layout [UnknownIdInLayout]\n" ) + " android:layout_alignLeft=\"@+id/my_id2\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "3 errors, 1 warnings\n" ) + "" ) ) , lintProject ( "wrongid/layout1.xml=>res/layout/layout1.xml" , "wrongid/layout2.xml=>res/layout/layout2.xml" , "wrongid/ids.xml=>res/values/ids.xml" ) ) ; }
Source:
public void testTextViewContent ( ) { assertEquals ( "1234" , mTextView.getText ( ) . toString ( ) ) ; }

Target:
public void testTextViewContent ( ) { assertEquals ( "1234,com.android.tests.basic.IndirectlyReferencedClass" , mTextView.getText ( ) . toString ( ) ) ; }
Source:
public boolean setConfiguredNetworkBSSID ( java.lang.String bssid ) { return mWifiSupplicantControl.setConfiguredNetworkBSSID ( bssid ) ; }

Target:
public boolean setConfiguredNetworkBSSID ( java.lang.String bssid ) { if ( com.android.server.wifi.WifiNative.HIDL_SUP_ENABLE ) { return mSupplicantStaIfaceHal.setCurrentNetworkBssid ( bssid ) ; } else { return mWifiSupplicantControl.setConfiguredNetworkBSSID ( bssid ) ; } }
Source:
public static final java.lang.String getDefaultType ( ) { java.lang.String dt = java.security.Security.getProperty ( java.security.KeyStore.PROPERTYNAME ) ; return dt == null ? java.security.KeyStore.DEFAULT_KEYSTORE_TYPE : dt ; }

Target:
public static final java.lang.String getDefaultType ( ) { java.lang.String dt = java.security.Security.getProperty ( java.security.KeyStore.PROPERTY_NAME ) ; return dt == null ? java.security.KeyStore.DEFAULT_KEYSTORE_TYPE : dt ; }
Source:
private void updateControls ( ) { updateTime ( ) ; updateProgress ( ) ; updateRecTimeText ( ) ; updateButtons ( ) ; updateRecordButton ( ) ; updateButtonMargin ( ) ; }

Target:
private void updateControls ( boolean forceUpdate ) { if ( forceUpdate || ( getContentsView ( ) . isShown ( ) ) ) { updateTime ( ) ; updateProgress ( ) ; updateButtons ( ) ; updateRecordButton ( ) ; updateButtonMargin ( ) ; } }
Source:
protected com.android.bluetooth.avrcp.IProfileServiceBinder initBinder ( ) { return null ; }

Target:
protected com.android.bluetooth.avrcp.IProfileServiceBinder initBinder ( ) { return new com.android.bluetooth.avrcp.AvrcpTargetService.AvrcpTargetBinder ( this ) ; }
Source:
private void resetProxyAndRequestList ( ) { mRadioProxy = null ; com.android.internal.telephony.RILRequest.resetSerial ( ) ; clearRequestList ( com.android.internal.telephony.RADIO_NOT_AVAILABLE , false ) ; }

Target:
private void resetProxyAndRequestList ( ) { mRadioProxy = null ; mOemHookProxy = null ; com.android.internal.telephony.RILRequest.resetSerial ( ) ; clearRequestList ( com.android.internal.telephony.RADIO_NOT_AVAILABLE , false ) ; }
Source:
public void visitTypeVariable ( java.lang.String name ) { return ; }

Target:
public void visitInnerClassType ( java.lang.String name ) { }
Source:
public void run ( ) { synchronized ( this ) { loadImage ( ) ; } }

Target:
public void treeChanged ( ) { org.eclipse.swt.widgets.Display.getDefault ( ) . syncExec ( new java.lang.Runnable ( ) { public void run ( ) { synchronized ( this ) { selectedNode = model.getSelected ( ) ; } } } ) ; doRedraw ( ) ; }
Source:
public android.view.inputmethod.InputMethodSubtype getCurrentInputMethodSubtype ( ) { synchronized ( mH ) { try { return mService.getCurrentInputMethodSubtype ( ) ; } catch ( android.os.RemoteException e ) { android.util.Log.w ( android.view.inputmethod.InputMethodManager.TAG , ( "IME died: " + ( mCurId ) ) , e ) ; return null ; } } }

Target:
private void showInputMethodPickerLocked ( ) { try { mService.showInputMethodPickerFromClient ( mClient , android.view.inputmethod.InputMethodManager.SHOW_IM_PICKER_MODE_AUTO ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }
Source:
private boolean isRinging ( java.lang.String actionName ) { if ( ( mState ) == ( CallState.RINGING ) ) { return true ; } com.android.server.telecom.Log.i ( this , "Request to %s a non-ringing call %s" , actionName , this ) ; return false ; }

Target:
private void removeChildCall ( com.android.server.telecom.Call call ) { if ( mChildCalls.remove ( call ) ) { android.telecom.Log.addEvent ( this , LogUtils.Events.REMOVE_CHILD , call ) ; for ( com.android.server.telecom.Call.Listener l : mListeners ) { l.onChildrenChanged ( this ) ; } } }
Source:
public java.lang.String getCanonicalPath ( ) throws java.io.IOException { return java.io.File.realpath ( getAbsolutePath ( ) ) ; }

Target:
public java.lang.String getCanonicalPath ( ) throws java.io.IOException { return java.io.File.canonicalizePath ( getAbsolutePath ( ) ) ; }
Source:
public void testDefaultPlay ( ) throws java.lang.InterruptedException { runPlayTest ( 0 ) ; }

Target:
public void testDefaultPlay ( ) throws java.lang.InterruptedException { runPlayTest ( 480 , 360 ) ; }
Source:
private boolean isSimOk ( com.android.internal.telephony.SimCard.State simState ) { boolean missingAndNotProvisioned = ( ! ( mUpdateMonitor.isDeviceProvisioned ( ) ) ) && ( simState == ( SimCard.State.ABSENT ) ) ; return ! ( missingAndNotProvisioned || ( simState == ( SimCard.State.PUK_REQUIRED ) ) ) ; }

Target:
private boolean isSimOk ( com.android.internal.telephony.IccCard.State simState ) { boolean missingAndNotProvisioned = ( ! ( mUpdateMonitor.isDeviceProvisioned ( ) ) ) && ( simState == ( IccCard.State.ABSENT ) ) ; return ! ( missingAndNotProvisioned || ( simState == ( IccCard.State.PUK_REQUIRED ) ) ) ; }
Source:
public void setDataEnabled ( boolean enable ) { throw new java.lang.RuntimeException ( "not implemented" ) ; }

Target:
public void setUserDataEnabled ( boolean enable ) { throw new java.lang.RuntimeException ( "not implemented" ) ; }
Source:
public void update ( java.net.CacheResponse conditionalCacheHit , java.net.HttpURLConnection connection ) throws java.io.IOException { delegate.update ( conditionalCacheHit , connection ) ; }

Target:
public void delete ( ) throws java.io.IOException { if ( ( java.net.ResponseCache.getDefault ( ) ) == ( this . delegate ) ) { java.net.ResponseCache.setDefault ( null ) ; } delegate.delete ( ) ; }
Source:
public void testHasTransformer_ClassWithTransformerAnnotation ( ) { initializePsiClass ( true , false ) ; org.mockito.MockitoAnnotations.initMocks ( this ) ; com.google.gct.intellij.endpoints.validation.EndpointPsiElementVisitor endpointPsiElementVisitor = new com.google.gct.intellij.endpoints.validation.EndpointPsiElementVisitor ( ) ; junit.framework.Assert.assertTrue ( endpointPsiElementVisitor.hasTransformer ( mockPsiClass ) ) ; }

Target:
public void testHasTransformer_ClassWithTransformerAnnotation ( ) { initializePsiClass ( true , false ) ; org.mockito.MockitoAnnotations.initMocks ( this ) ; com.google.gct.idea.appengine.validation.EndpointPsiElementVisitor endpointPsiElementVisitor = new com.google.gct.idea.appengine.validation.EndpointPsiElementVisitor ( ) ; junit.framework.Assert.assertTrue ( endpointPsiElementVisitor.hasTransformer ( mockPsiClass ) ) ; }
Source:
public void visitTypeInsn ( int opcode , java.lang.String type ) { printer.visitTypeInsn ( opcode , type ) ; printTypeOfOperandStackTop ( ) ; super . visitTypeInsn ( opcode , type ) ; }

Target:
public void visitFieldInsn ( int opcode , java.lang.String owner , java.lang.String name , java.lang.String desc ) { printer.visitFieldInsn ( opcode , owner , name , desc ) ; printTypeOfOperandStack ( ) ; super . visitFieldInsn ( opcode , owner , name , desc ) ; }
Source:
public boolean filter ( com.android.tv.dvr.ScheduledRecording r ) { return r.getInputId ( ) . equals ( inputId ) ; }

Target:
public boolean filter ( com.android.tv.dvr.data.ScheduledRecording r ) { return r.getInputId ( ) . equals ( inputId ) ; }
Source:
public void ensureCapacity ( int minCapacity ) { int minExpand = ( ( elementData ) != ( java.util.ArrayList.EMPTY_ELEMENTDATA ) ) ? 0 : java.util.ArrayList.DEFAULT_CAPACITY ; if ( minCapacity > minExpand ) { ensureExplicitCapacity ( minCapacity ) ; } }

Target:
public void trimToSize ( ) { ( modCount ) ++ ; if ( ( size ) < ( elementData.length ) ) { elementData = ( ( size ) == 0 ) ? java.util.ArrayList.EMPTY_ELEMENTDATA : java.util.Arrays.copyOf ( elementData , size ) ; } }
Source:
public void xmlParsing_unexpectedChildInTimeZoneIdThrows ( ) throws java.lang.Exception { libcore.util.TimeZoneFinderTest.checkValidateThrowsParserException ( ( "<timezones ianaversion=\"2017b\">\n" + ( ( ( ( ( " <countryzones>\n" + " <country code=\"gb\">\n" ) + " <id><unexpected-element /></id>\n" ) + " </country>\n" ) + " </countryzones>\n" ) + "</timezones>\n" ) ) ) ; }

Target:
public void xmlParsing_unexpectedChildInTimeZoneIdThrows ( ) throws java.lang.Exception { libcore.util.TimeZoneFinderTest.checkValidateThrowsParserException ( ( "<timezones ianaversion=\"2017b\">\n" + ( ( ( ( ( " <countryzones>\n" + " <country code=\"gb\" default=\"Europe/London\">\n" ) + " <id><unexpected-element /></id>\n" ) + " </country>\n" ) + " </countryzones>\n" ) + "</timezones>\n" ) ) ) ; }
Source:
public void redrawScreenshot ( ) { mScreenshotCanvas.redraw ( ) ; }

Target:
public void redrawScreenshot ( ) { if ( ( mScreenshot ) == null ) { mStackLayout.topControl = mSetScreenshotComposite ; } else { mStackLayout.topControl = mScreenshotCanvas ; } mScreenshotComposite.layout ( ) ; mScreenshotCanvas.redraw ( ) ; }
Source:
public abstract java.lang.String getQualifiedClassName ( ) ;

Target:
abstract boolean isValid ( ) ;
Source:
public void TestSerbianLongNegative ( ) { if ( logKnownIssue ( "12181" , "No support for negative numbers in CDF" ) ) { return ; } checkLocale ( com.ibm.icu.util.ULocale.forLanguageTag ( "sr" ) , CompactStyle.LONG , SerbianTestDataLongNegative ) ; }

Target:
public void TestNordic ( ) { if ( logKnownIssue ( "cldrbug:9465" , "CDF(12,000) for no_NO shouldn't be 12 (12K or similar)" ) ) { return ; } java.lang.String result = com.ibm.icu.text.CompactDecimalFormat.getInstance ( new com.ibm.icu.util.ULocale ( "no_NO" ) , CompactDecimalFormat.CompactStyle.SHORT ) . format ( 12000 ) ; assertNotEquals ( "CDF(12,000) for no_NO shouldn't be 12 (12K or similar)" , "12" , result ) ; }
Source:
public java.lang.String workerClassPath ( ) { return platform.workerClassPath ( ) ; }

Target:
public com.google.common.collect.ImmutableList < java.lang.String > workerClassPathArgs ( ) { return platform.workerClassPathArgs ( ) ; }
Source:
public void visit ( java.lang.String name , java.lang.Object value ) { handleCodeConstant ( value ) ; super . visit ( name , value ) ; }

Target:
public void visit ( java.lang.String name , java.lang.Object value ) { handleCodeConstant ( value , "annotation" ) ; super . visit ( name , value ) ; }
Source:
private java.lang.String addPaddingToValue ( java.lang.String s ) { int padding = ExplodedRenderingHelper.PADDING_VALUE ; if ( stringToPixel ( s ) ) { padding += sIntOut [ 0 ] ; } return padding + "px" ; }

Target:
private java.lang.String addPaddingToValue ( java.lang.String s ) { int padding = ExplodedRenderingHelper.PADDING_VALUE ; if ( stringToPixel ( s ) ) { padding += sIntOut [ 0 ] ; } return padding + ( com.android.SdkConstants.UNIT_PX ) ; }
Source:
public android.content.ComponentName startService ( android.content.Intent service ) { warnIfCallingFromSystemProcess ( ) ; return startServiceAsUser ( service , mUser ) ; }

Target:
public boolean stopService ( android.content.Intent service ) { warnIfCallingFromSystemProcess ( ) ; return stopServiceCommon ( service , mUser ) ; }
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.io.FileDescriptor socket , android.net.IpSecTransform transform ) throws java.io.IOException { applyTransportModeTransform ( new android.os.ParcelFileDescriptor ( socket ) , transform ) ; }
Source:
public native void setByte ( java.lang.Object object , byte value ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;

Target:
public void setByte ( java.lang.Object object , byte value ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException { setByte ( object , value , isAccessible ( ) ) ; }
Source:
public boolean isLabelProperty ( java.lang.Object arg0 , java.lang.String arg1 ) { return false ; }

Target:
public boolean isLabelProperty ( java.lang.Object element , java.lang.String property ) { return false ; }
Source:
public void testE5 ( ) { dot.junit.opcodes.invoke_direct_range.d.T_invoke_direct_range_9 t = new dot.junit.opcodes.invoke_direct_range.d.T_invoke_direct_range_9 ( ) ; try { assertEquals ( 5 , t.run ( ) ) ; fail ( "expected UnsatisfiedLinkError" ) ; } catch ( java.lang.UnsatisfiedLinkError e ) { } }

Target:
public void testE5 ( ) { loadAndRun ( "dot.junit.opcodes.invoke_direct_range.d.T_invoke_direct_range_9" , java.lang.UnsatisfiedLinkError.class ) ; }
Source:
private boolean isImsTurnOffAllowed ( ) { return ( com.android.ims.ImsManager.isTurnOffImsAllowedByPlatform ( mContext ) ) && ( ( ! ( com.android.ims.ImsManager.isWfcEnabledByPlatform ( mContext ) ) ) || ( ! ( com.android.ims.ImsManager.isWfcEnabledByUser ( mContext ) ) ) ) ; }

Target:
private boolean isImsTurnOffAllowed ( ) { return ( isTurnOffImsAllowedByPlatformForSlot ( ) ) && ( ( ! ( isWfcEnabledByPlatformForSlot ( ) ) ) || ( ! ( isWfcEnabledByUserForSlot ( ) ) ) ) ; }
Source:
protected void engineInitVerify ( java.security.PublicKey publicKey ) throws java.security.InvalidKeyException { }

Target:
public void engineInitVerify ( java.security.PublicKey publicKey ) throws java.security.InvalidKeyException { throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
public void onSwipeFromRight ( ) { if ( ( ( mNavigationBar ) != null ) && ( ! ( mNavigationBarOnBottom ) ) ) { requestTransientBars ( mNavigationBar ) ; } }

Target:
public void onSwipeFromBottom ( ) { if ( ( ( mNavigationBar ) != null ) && ( mNavigationBarOnBottom ) ) { requestTransientBars ( mNavigationBar ) ; } }
Source:
native int rsnScriptFieldIDCreate ( int con , int sid , int slot ) ;

Target:
native void rsnScriptSetVarD ( long con , long id , int slot , double val ) ;
Source:
public java.lang.String pickPhone ( ) throws org.json.JSONException { java.lang.String result = null ; android.content.Intent data = mCommonIntentsFacade.pick ( "content://contacts/phones" ) ; if ( data != null ) { android.net.Uri phoneData = data.getData ( ) ; android.database.Cursor cursor = mService.getContentResolver ( ) . query ( phoneData , null , null , null , null ) ; if ( cursor != null ) { if ( cursor.moveToFirst ( ) ) { result = cursor.getString ( cursor.getColumnIndexOrThrow ( ContactsContract.PhoneLookup.NUMBER ) ) ; } cursor.close ( ) ; } } return result ; }

Target:
public java.lang.String contactsDisplayPhonePickList ( ) throws org.json.JSONException { java.lang.String phoneNumber = null ; android.content.Intent data = mCommonIntentsFacade.pick ( "content://contacts/phones" ) ; if ( data != null ) { android.net.Uri phoneData = data.getData ( ) ; android.database.Cursor cursor = mService.getContentResolver ( ) . query ( phoneData , null , null , null , null ) ; if ( cursor != null ) { if ( cursor.moveToFirst ( ) ) { phoneNumber = cursor.getString ( cursor.getColumnIndexOrThrow ( ContactsContract.PhoneLookup.NUMBER ) ) ; } cursor.close ( ) ; } } return phoneNumber ; }
Source:
private void readFromParcel ( android.os.Parcel in ) { mAudioQuality = in.readInt ( ) ; mAudioDirection = in.readInt ( ) ; mVideoQuality = in.readInt ( ) ; mVideoDirection = in.readInt ( ) ; }

Target:
private void readFromParcel ( android.os.Parcel in ) { mAudioQuality = in.readInt ( ) ; mAudioDirection = in.readInt ( ) ; mVideoQuality = in.readInt ( ) ; mVideoDirection = in.readInt ( ) ; mRttMode = in.readInt ( ) ; }
Source:
public int gattServerCreateService ( @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "uuid" ) java.lang.String uuid , @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "serviceType" ) java.lang.Integer serviceType ) { com.googlecode.android_scripting.facade.bluetooth.GattServerFacade.GattServiceCount += 1 ; int index = com.googlecode.android_scripting.facade.bluetooth.GattServerFacade.GattServiceCount ; mGattServiceList.put ( index , new android.bluetooth.BluetoothGattService ( java.util.UUID.fromString ( uuid ) , serviceType ) ) ; return index ; }

Target:
public int gattServerCreateService ( @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "uuid" ) java.lang.String uuid , @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "serviceType" ) java.lang.Integer serviceType ) { com.googlecode.android_scripting.facade.bluetooth.GattServerFacade.sGattServiceCount += 1 ; int index = com.googlecode.android_scripting.facade.bluetooth.GattServerFacade.sGattServiceCount ; mGattServiceList.put ( index , new android.bluetooth.BluetoothGattService ( java.util.UUID.fromString ( uuid ) , serviceType ) ) ; return index ; }
Source:
private static dalvik.system.DexClassLoader createInstance ( dalvik.system.DexClassLoaderTest.Configuration config ) { return new dalvik.system.DexClassLoader ( config.path , config.optimizedDir.getAbsolutePath ( ) , null , java.lang.ClassLoader.getSystemClassLoader ( ) ) ; }

Target:
public boolean accept ( java.io.File file , java.lang.String s ) { return s.endsWith ( ".dex" ) ; }
Source:
public void shutdown ( ) { for ( com.android.chimpchat.core.IChimpDevice device : devices ) { device.dispose ( ) ; } com.android.ddmlib.AndroidDebugBridge.terminate ( ) ; }

Target:
public void shutdown ( ) { for ( com.android.chimpchat.core.IChimpDevice device : devices ) { device.dispose ( ) ; } if ( initAdb ) { com.android.ddmlib.AndroidDebugBridge.terminate ( ) ; } }
Source:
public boolean isValidValueForDevice ( ) { return ( this ) != ( com.android.sdklib.resources.DockMode.NONE ) ; }

Target:
public boolean isValidValueForDevice ( ) { return ( this ) != ( com.android.resources.DockMode.NONE ) ; }
Source:
static boolean shouldPollDiscoveryTestApi ( java.lang.String dimension ) { java.lang.Long lastTimestamp = com.google.gct.testing.dimension.GoogleCloudTestingDimension.lastDiscoveryTestApiUpdateTimestampMap.get ( dimension ) ; if ( lastTimestamp == null ) { return true ; } return ( ( java.lang.System.currentTimeMillis ( ) ) - lastTimestamp ) > ( com.google.gct.testing.dimension.GoogleCloudTestingDimension.DISCOVERY_TEST_API_REFRESH_TIMEOUT ) ; }

Target:
static boolean shouldPollDiscoveryTestApi ( java.lang.String dimension ) { java.lang.Long lastTimestamp = com.google.gct.testing.dimension.CloudConfigurationDimension.lastDiscoveryTestApiUpdateTimestampMap.get ( dimension ) ; if ( lastTimestamp == null ) { return true ; } return ( ( java.lang.System.currentTimeMillis ( ) ) - lastTimestamp ) > ( com.google.gct.testing.dimension.CloudConfigurationDimension.DISCOVERY_TEST_API_REFRESH_TIMEOUT ) ; }
Source:
public void reset ( ) { resetJack = true ; super . reset ( ) ; }

Target:
public void reset ( ) { super . reset ( ) ; if ( resetJack ) { session.reset ( ) ; astBuilder = new com.android.jack.ir.impl.JackIrBuilder ( lookupEnvironment , session ) ; resetJack = false ; } }
Source:
public void error ( java.lang.Throwable t ) { log.error ( null , t ) ; }

Target:
public void error ( java.lang.Throwable t ) { log.error ( null , "error!" , t ) ; }
Source:
public void addInterface ( com.google.doclava.ClassInfo cls ) { mInterfacesMap.put ( cls.name ( ) , cls ) ; }

Target:
public void addInterface ( com.google.doclava.ClassInfo cls ) { cls.setPackage ( this ) ; mInterfacesMap.put ( cls.name ( ) , cls ) ; }
Source:
public void binderDied ( ) { unlinkToDeath ( ) ; synchronized ( mLock ) { removeAccessibilityInteractionConnectionLocked ( mWindowId ) ; } }

Target:
public void binderDied ( ) { unlinkToDeath ( ) ; synchronized ( mLock ) { removeAccessibilityInteractionConnectionLocked ( mWindowId , mUserId ) ; } }
Source:
public static < T > org.junit.internal.matchers.CombinableMatcher < T > both ( org.hamcrest.Matcher < T > matcher ) { return new org.junit.internal.matchers.CombinableMatcher < T > ( matcher ) ; }

Target:
public static < T extends java.lang.Exception > org.hamcrest.Matcher < T > isException ( org.hamcrest.Matcher < T > exceptionMatcher ) { return org.junit.internal.matchers.StacktracePrintingMatcher.isException ( exceptionMatcher ) ; }
Source:
public com.android.server.wifi.WifiConfigManager answer ( android.content.Context context , com.android.server.wifi.WifiNative wifiNative , com.android.server.wifi.FrameworkFacade frameworkFacade , com.android.server.wifi.Clock clock , android.os.UserManager userManager , android.security.KeyStore keyStore ) { mWifiConfigManager = new com.android.server.wifi.WifiConfigManager ( context , wifiNative , frameworkFacade , clock , userManager , keyStore ) ; return mWifiConfigManager ; }

Target:
public void setHasEverConnectedTrueOnConnect ( ) throws java.lang.Exception { connect ( ) ; verify ( mWifiConfigManager , atLeastOnce ( ) ) . updateNetworkAfterConnect ( 0 ) ; }
Source:
private int getNextSessionId ( ) { return ( mNextSessionId ) ++ ; }

Target:
private int getNextSessionId ( ) { synchronized ( mLock ) { return ( mNextSessionId ) ++ ; } }
Source:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.cfg.JEntryBasicBlock block ) { tracer.getStatistic ( com.android.jack.ir.ast.cfg.CfgBasicBlockTracker.ENTRY_COUNT ) . add ( block.elements ( true ) . size ( ) ) ; return false ; }

Target:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.cfg.JEntryBasicBlock block ) { tracer.getStatistic ( com.android.jack.ir.ast.cfg.CfgBasicBlockTracker.ENTRY_COUNT ) . add ( block.getElementCount ( ) ) ; return false ; }
Source:
private void applyTransportModeTransform ( android.os.ParcelFileDescriptor pfd , android.net.IpSecTransform transform ) { }

Target:
private void applyTransportModeTransform ( android.os.ParcelFileDescriptor pfd , android.net.IpSecTransform transform ) { try { mService.applyTransportModeTransform ( pfd , transform.getResourceId ( ) ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }
Source:
public static int getAsmClassWriterFlags ( int version ) { return ( version >= ( org.jetbrains.asm4.Opcodes.V1_6 ) ) && ( version != ( org.jetbrains.asm4.Opcodes.V1_1 ) ) ? org.jetbrains.asm4.ClassWriter.COMPUTE_FRAMES : org.jetbrains.asm4.ClassWriter.COMPUTE_MAXS ; }

Target:
public static int getAsmClassWriterFlags ( int version ) { return ( version >= ( org.jetbrains.org.objectweb.asm.Opcodes.V1_6 ) ) && ( version != ( org.jetbrains.org.objectweb.asm.Opcodes.V1_1 ) ) ? org.jetbrains.org.objectweb.asm.ClassWriter.COMPUTE_FRAMES : org.jetbrains.org.objectweb.asm.ClassWriter.COMPUTE_MAXS ; }
Source:
void initialize ( java.lang.String updateAppPackageName , java.lang.String dataAppPackageName , com.android.server.timezone.IntentHelper.Listener listener ) ;

Target:
void initialize ( java.lang.String updateAppPackageName , java.lang.String dataAppPackageName , com.android.server.timezone.PackageTracker packageTracker ) ;
Source:
public com.android.layoutlib.api.SceneResult removeChild ( ) { return SceneStatus.NOT_IMPLEMENTED.getResult ( ) ; }

Target:
public com.android.layoutlib.api.SceneResult removeChild ( java.lang.Object parentView , int index ) { return SceneStatus.NOT_IMPLEMENTED.getResult ( ) ; }
Source:
public boolean isNewUiEnabled ( android.content.Context context ) { return ( ( com.android.dialer.buildtype.BuildType.get ( ) ) == ( com.android.dialer.buildtype.BuildType.BUGFOOD ) ) || ( com.android.dialer.common.LogUtil.isDebugEnabled ( ) ) ; }

Target:
public boolean isNewUiEnabled ( android.content.Context context ) { return com.android.dialer.configprovider.ConfigProviderBindings.get ( context ) . getBoolean ( "is_nui_shortcut_enabled" , false ) ; }
Source:
void resConfigs ( @ com.android.annotations.NonNull com.android.build.gradle.internal.dsl.Collection < java.lang.String > config ) { addResourceConfigurations ( config ) ; }

Target:
public void resConfigs ( @ com.android.annotations.NonNull java.util.Collection < java.lang.String > config ) { addResourceConfigurations ( config ) ; }
Source:
private void createScannerWithHwPnoScanSupport ( ) { mResources.setBoolean ( R.bool.config_wifi_background_scan_support , true ) ; mScanner = new com.android.server.wifi.scanner.SupplicantWifiScannerImpl ( mContext , mWifiNative , mLooper.getLooper ( ) , mClock ) ; }

Target:
private void createScannerWithHwPnoScanSupport ( ) { mResources.setBoolean ( R.bool.config_wifi_background_scan_support , true ) ; mScanner = new com.android.server.wifi.scanner.SupplicantWifiScannerImpl ( mContext , mWifiNative , mWifiMonitor , mLooper.getLooper ( ) , mClock ) ; }
Source:
public com.android.build.gradle.integration.common.fixture.GradleTestProject create ( ) { return new com.android.build.gradle.integration.common.fixture.GradleTestProject ( name , testProject , experimentalMode , ( experimentalMode ? com.android.build.gradle.integration.common.fixture.GradleTestProject.GRADLE_EXP_TEST_VERSION : com.android.build.gradle.integration.common.fixture.GradleTestProject.GRADLE_TEST_VERSION ) , captureStdOut , captureStdErr ) ; }

Target:
public com.android.build.gradle.integration.common.fixture.GradleTestProject create ( ) { return new com.android.build.gradle.integration.common.fixture.GradleTestProject ( name , testProject , experimentalMode , ( experimentalMode ? com.android.build.gradle.integration.common.fixture.GradleTestProject.GRADLE_EXP_TEST_VERSION : com.android.build.gradle.integration.common.fixture.GradleTestProject.GRADLE_TEST_VERSION ) , captureStdOut , captureStdErr , heapSize ) ; }
Source:
public void onLost ( android.net.Network network ) { handleLost ( mCallbackType , network ) ; recomputeOffloadExemptPrefixes ( ) ; }

Target:
public void onLost ( android.net.Network network ) { handleLost ( mCallbackType , network ) ; recomputeLocalPrefixes ( ) ; }
Source:
private void putSymmetricCipherImpl ( java.lang.String transformation , java.lang.String implClass ) { put ( ( "Cipher." + transformation ) , implClass ) ; put ( ( ( "Cipher." + transformation ) + " SupportedKeyClasses" ) , android.security.KeyStoreSecretKey.class . getName ( ) ) ; }

Target:
private void putSymmetricCipherImpl ( java.lang.String transformation , java.lang.String implClass ) { put ( ( "Cipher." + transformation ) , implClass ) ; put ( ( ( "Cipher." + transformation ) + " SupportedKeyClasses" ) , android.security.AndroidKeyStoreProvider.KEYSTORE_SECRET_KEY_CLASS_NAME ) ; }
Source:
public void setFolder ( java.lang.String id ) { android.util.Log.d ( STATE_TAG , ( "Setting folder to " + id ) ) ; mID = id ; }

Target:
public void setFolder ( java.lang.String id ) { android.util.Log.d ( com.android.bluetooth.avrcpcontroller.AvrcpControllerStateMachine.GetFolderList.STATE_TAG , ( "Setting folder to " + id ) ) ; mID = id ; }
Source:
private void checkUpdateCheckSuccessful ( com.android.server.timezone.PackageVersions packageVersions ) { mFakeIntentHelper.assertReliabilityTriggeringDisabled ( ) ; checkPackageStorageStatus ( PackageStatus.CHECK_COMPLETED_SUCCESS , packageVersions ) ; org.junit.Assert.assertEquals ( 0 , mPackageTracker.getCheckFailureCountForTests ( ) ) ; }

Target:
private void checkUpdateCheckSuccessful ( com.android.server.timezone.PackageVersions packageVersions ) { mFakeIntentHelper.assertReliabilityTriggerNotScheduled ( ) ; checkPackageStorageStatus ( PackageStatus.CHECK_COMPLETED_SUCCESS , packageVersions ) ; org.junit.Assert.assertEquals ( 0 , mPackageTracker.getCheckFailureCountForTests ( ) ) ; }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { choices.getCallback ( ) . action ( choices , getSelectedNodes ( ) , id , null ) ; updateSelection ( ) ; }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { com.android.ide.common.api.RuleAction.Choices choices = ( ( com.android.ide.common.api.RuleAction.Choices ) ( combo.getData ( ) ) ) ; choices.getCallback ( ) . action ( choices , getSelectedNodes ( ) , id , null ) ; updateSelection ( ) ; }
Source:
public boolean hasBuildVendorFingerprint ( ) { return ( ( bitField0_ ) & 2048 ) == 2048 ; }

Target:
public boolean hasSuiteName ( ) { return ( ( bitField0_ ) & 2048 ) == 2048 ; }
Source:
protected org.apache.harmony.jpda.tests.jdwp.StackFrame.VarInfo getVariableInfo ( org.apache.harmony.jpda.tests.jdwp.StackFrame.VarInfo [ ] variables , java.lang.String variableName ) { for ( org.apache.harmony.jpda.tests.jdwp.StackFrame.VarInfo variable : variables ) { if ( variable.name.equals ( variableName ) ) { return variable ; } } return null ; }

Target:
protected Frame.Variable getVariableInfo ( org.apache.harmony.jpda.tests.framework.jdwp.Frame [ ] variables , java.lang.String variableName ) { for ( org.apache.harmony.jpda.tests.framework.jdwp.Frame.Variable variable : variables ) { if ( variable.getName ( ) . equals ( variableName ) ) { return variable ; } } return null ; }
Source:
public void tearDown ( ) throws java.lang.Exception { tearDownConfigs ( mTestsDir ) ; }

Target:
public void tearDown ( ) throws java.lang.Exception { tearDownConfigs ( mTestsDir ) ; tearDownConfigs ( mRootDir ) ; }
Source:
public void iccOpenLogicalChannel ( java.lang.String AID , android.os.Message response ) { com.android.internal.telephony.test.SimulatedCommandsVerifier.getInstance ( ) . iccOpenLogicalChannel ( AID , response ) ; java.lang.Object result = new int [ ] { mChannelId } ; resultSuccess ( response , result ) ; }

Target:
public void iccOpenLogicalChannel ( java.lang.String AID , int p2 , android.os.Message response ) { com.android.internal.telephony.test.SimulatedCommandsVerifier.getInstance ( ) . iccOpenLogicalChannel ( AID , p2 , response ) ; java.lang.Object result = new int [ ] { mChannelId } ; resultSuccess ( response , result ) ; }
Source:
public void testGetLine1Number ( ) { if ( ! ( mHasTelephony ) ) { return ; } try { java.lang.String nmbr = mTelephonyManager.getLine1Number ( ) ; fail ( ( "Got line 1 number: " + nmbr ) ) ; } catch ( java.lang.SecurityException e ) { } }

Target:
public void testGetLine1Number ( ) { if ( ! ( mHasTelephony ) ) { return ; } try { java.lang.String nmbr = mTelephonyManager.getLine1Number ( ) ; org.junit.Assert.fail ( ( "Got line 1 number: " + nmbr ) ) ; } catch ( java.lang.SecurityException e ) { } }
Source:
protected void checkGithubExists ( ) throws java.io.IOException { org.jetbrains.plugins.github.GithubAuthData auth = myGitHubSettings.getAuthData ( ) ; org.jetbrains.plugins.github.api.GithubRepoDetailed githubInfo = org.jetbrains.plugins.github.api.GithubApiUtil.getDetailedRepoInfo ( auth , myLogin1 , org.jetbrains.plugins.github.PROJECT_NAME ) ; assertNotNull ( "GitHub repository does not exist" , githubInfo ) ; }

Target:
protected void checkGithubExists ( ) throws java.io.IOException { org.jetbrains.plugins.github.util.GithubAuthData auth = myGitHubSettings.getAuthData ( ) ; org.jetbrains.plugins.github.api.GithubRepoDetailed githubInfo = org.jetbrains.plugins.github.api.GithubApiUtil.getDetailedRepoInfo ( auth , myLogin1 , org.jetbrains.plugins.github.PROJECT_NAME ) ; assertNotNull ( "GitHub repository does not exist" , githubInfo ) ; }
Source:
static void multiplyP ( int [ ] x , int [ ] y ) { if ( ( org.bouncycastle.crypto.modes.gcm.GCMUtil.shiftRight ( x , y ) ) != 0 ) { y [ 0 ] ^= org.bouncycastle.crypto.modes.gcm.GCMUtil.E1 ; } }

Target:
public static void multiplyP ( int [ ] x , int [ ] z ) { int m = ( org.bouncycastle.crypto.modes.gcm.GCMUtil.shiftRight ( x , z ) ) > > 8 ; z [ 0 ] ^= m & ( org.bouncycastle.crypto.modes.gcm.GCMUtil.E1 ) ; }
Source:
public abstract void send ( byte [ ] data ) throws java.lang.Exception ;

Target:
public void send ( byte [ ] data ) throws java.lang.Exception { android.system.Os.write ( mFd , data , 0 , data.length ) ; }
Source:
static int $opt$FloatToInt ( float a ) { return ( ( int ) ( a ) ) ; }

Target:
static double $opt$FloatToDouble ( float a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( double ) ( a ) ) ; }
Source:
org.w3c.dom.Node getAdoptedNode ( org.w3c.dom.Document document ) { return null ; }

Target:
org.w3c.dom.Node getDetailsXml ( org.w3c.dom.Document document ) { return null ; }
Source:
public static java.lang.Object $opt$getObjectField ( Main m ) { return m.objectField ; }

Target:
public static java.lang.Object $opt$noinline$getObjectField ( Main m ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return m.objectField ; }
Source:
native long rsnScriptGroup2Create ( long con , long [ ] closures ) ;

Target:
synchronized long nScriptGroup2Create ( java.lang.String cachePath , long [ ] closures ) { validate ( ) ; return rsnScriptGroup2Create ( mContext , cachePath , closures ) ; }
Source:
public boolean hasFakeValue ( ) { return com.android.ide.eclipse.adt.internal.resources.configurations.RegionQualifier.FAKE_REGION_VALUE.equals ( mValue ) ; }

Target:
public boolean hasFakeValue ( ) { return com.android.ide.common.resources.configuration.RegionQualifier.FAKE_REGION_VALUE.equals ( mValue ) ; }
Source:
public void putNoFallback ( com.ibm.icu.impl.UResource.Key key ) { if ( ! ( keyToLoader.containsKey ( key ) ) ) { keyToLoader.put ( key.clone ( ) , com.ibm.icu.impl.TimeZoneNamesImpl.ZNamesLoader.DUMMY_LOADER ) ; } }

Target:
UResource.Key createKey ( com.ibm.icu.impl.UResource.Key key ) { return key.clone ( ) ; }
Source:
public boolean visitClassLiteral ( lombok.ast.ClassLiteral node ) { mFoundInnerClass = true ; return super . visitClassLiteral ( node ) ; }

Target:
public void visitNewExpression ( com.intellij.psi.PsiNewExpression expression ) { if ( ( expression.getAnonymousClass ( ) ) != null ) { mFoundInnerClass = true ; } super . visitNewExpression ( expression ) ; }
Source:
public void visitRuntimeVisibleAnnotationsAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.RuntimeVisibleAnnotationsAttribute runtimeVisibleAnnotationsAttribute ) { if ( ( runtimeVisibleAnnotationsAttribute.u2annotationsCount ) > 0 ) { runtimeVisibleAnnotationsAttribute.accept ( clazz , attributeVisitor ) ; } }

Target:
public void visitRuntimeVisibleAnnotationsAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.RuntimeVisibleAnnotationsAttribute runtimeVisibleAnnotationsAttribute ) { if ( ( runtimeVisibleAnnotationsAttribute.u2annotationsCount ) > 0 ) { attributeVisitor.visitRuntimeVisibleAnnotationsAttribute ( clazz , method , runtimeVisibleAnnotationsAttribute ) ; } }
Source:
void allPrintersLost ( ) { for ( com.android.bips.discovery.DiscoveredPrinter printer : mPrinters.values ( ) ) { for ( com.android.bips.discovery.Discovery.Listener listener : mListeners ) { listener.onPrinterLost ( printer ) ; } } mPrinters.clear ( ) ; }

Target:
void allPrintersLost ( ) { for ( android.net.Uri uri : new java.util.ArrayList ( mPrinters.keySet ( ) ) ) { printerLost ( uri ) ; } }
Source:
public void set ( T e ) { throw new java.lang.UnsupportedOperationException ( "not supported" ) ; }

Target:
public java.util.ListIterator < T > listIterator ( final int index ) { return new com.google.common.collect.TransformedListIterator < F , T > ( fromList.listIterator ( index ) ) { @ java.lang.Override T transform ( F from ) { return function.apply ( from ) ; } } ; }
Source:
public java.util.Iterator < com.android.jack.ir.ast.JDefinedClassOrInterface > sortAndNumber ( java.util.Collection < com.android.jack.ir.ast.JDefinedClassOrInterface > types ) { return types.iterator ( ) ; }

Target:
public java.util.Iterator < com.android.jack.ir.ast.JDefinedClassOrInterface > sortAndNumber ( java.util.Collection < com.android.jack.ir.ast.JDefinedClassOrInterface > types ) { assert ! ( deterMultidex ) ; return types.iterator ( ) ; }
Source:
public void run ( ) { pingHostname ( ) ; mHandler.post ( updatePingResults ) ; }

Target:
public void run ( ) { httpClientTest ( ) ; mHandler.post ( updatePingResults ) ; }
Source:
public void error ( java.lang.String id ) { severities.put ( id , Severity.ERROR ) ; }

Target:
public void ignore ( java.lang.String id ) { severities.put ( id , com.android.tools.lint.detector.api.Severity.IGNORE ) ; }
Source:
public boolean needsInput ( ) { return ( len ) <= 0 ; }

Target:
public boolean needsInput ( ) { synchronized ( zsRef ) { return ( len ) <= 0 ; } }
Source:
private static com.google.gson.Gson createGson ( ) { com.google.gson.GsonBuilder gsonBuilder = new com.google.gson.GsonBuilder ( ) ; gsonBuilder.registerTypeAdapter ( com.android.ide.common.blame.SourcePosition.class , new com.android.ide.common.blame.SourcePositionJsonTypeAdapter ( ) ) ; return gsonBuilder.create ( ) ; }

Target:
private static com.google.gson.Gson createGson ( ) { com.google.gson.GsonBuilder gsonBuilder = new com.google.gson.GsonBuilder ( ) ; com.android.ide.common.blame.MessageJsonSerializer.registerTypeAdapters ( gsonBuilder ) ; return gsonBuilder.create ( ) ; }
Source:
private static void testLoadAndUnloadLibrary ( java.lang.reflect.Constructor < ? > constructor ) throws java.lang.Exception { java.lang.ref.WeakReference < java.lang.ClassLoader > loader = Main.setUpLoadLibrary ( constructor ) ; java.lang.Runtime.getRuntime ( ) . gc ( ) ; java.lang.System.out.println ( loader.get ( ) ) ; }

Target:
private static void testLoadAndUnloadLibrary ( java.lang.reflect.Constructor < ? > constructor ) throws java.lang.Exception { java.lang.ref.WeakReference < java.lang.ClassLoader > loader = Main.setUpLoadLibrary ( constructor ) ; Main.doUnloading ( ) ; java.lang.System.out.println ( loader.get ( ) ) ; }
Source:
public void testBooleanOverlay ( ) throws java.lang.Throwable { final int resId = com.android.internal.R.bool.config_automatic_brightness_available ; assertResource ( resId , false , true ) ; }

Target:
public void testBooleanOverlay ( ) throws java.lang.Throwable { final int resId = R.bool.usually_false ; assertResource ( resId , false , true , false ) ; }
Source:
public void getDeviceIdentityResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , java.lang.String var2 , java.lang.String var3 , java.lang.String var4 , java.lang.String var5 ) { }

Target:
public void setCdmaBroadcastActivationResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo ) { responseVoid ( responseInfo ) ; }
Source:
public static float $noinline$floatSubAddSimplifyLeft ( float x , float y ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } float sub = x - y ; return sub + y ; }

Target:
public static int $noinline$intSubAddSimplifyLeft ( int x , int y ) { int sub = x - y ; return sub + y ; }
Source:
public boolean configureRoaming ( com.android.server.wifi.WifiNative.RoamingConfig config ) { android.util.Log.d ( com.android.server.wifi.WifiNative.TAG , "configureRoaming " ) ; try { if ( ( mWifiVendorHal ) != null ) { return mWifiVendorHal.configureRoaming ( config ) ; } } catch ( java.lang.UnsupportedOperationException e ) { } return false ; }

Target:
public boolean p2pCancelConnect ( ) { if ( ( com.android.server.wifi.WifiNative.HIDL_P2P_ENABLE ) && ( ( mSupplicantP2pIfaceHal ) != null ) ) { return mSupplicantP2pIfaceHal.cancelConnect ( ) ; } else { return doBooleanCommand ( "P2P_CANCEL" ) ; } }
Source:
public final void setDaemon ( boolean isDaemon ) { if ( hasBeenStarted ) { throw new java.lang.IllegalThreadStateException ( "Thread already started." ) ; } if ( ( vmThread ) == null ) { daemon = isDaemon ; } }

Target:
private void checkNotStarted ( ) { if ( hasBeenStarted ) { throw new java.lang.IllegalThreadStateException ( "Thread already started" ) ; } }
Source:
public void test_Constructor ( ) { tests.api.javax.xml.parsers.SAXParserFactoryTest.MySAXParserFactory mpf = new tests.api.javax.xml.parsers.SAXParserFactoryTest.MySAXParserFactory ( ) ; assertTrue ( ( mpf instanceof javax.xml.parsers.SAXParserFactory ) ) ; assertFalse ( mpf.isValidating ( ) ) ; }

Target:
public void test_Constructor ( ) { org.apache.harmony.tests.javax.xml.parsers.SAXParserFactoryTest.MySAXParserFactory mpf = new org.apache.harmony.tests.javax.xml.parsers.SAXParserFactoryTest.MySAXParserFactory ( ) ; assertTrue ( ( mpf instanceof javax.xml.parsers.SAXParserFactory ) ) ; assertFalse ( mpf.isValidating ( ) ) ; }
Source:
public void endVisit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JNullLiteral expr ) { performCommonChecks ( expr ) ; otherOrMe ( expr ) ; }

Target:
public void endVisit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JVariableRef expr ) { performCommonChecks ( expr ) ; com.android.jack.ir.ast.JVariableRef other = otherOrMe ( expr ) ; ensure ( equal ( expr.getTarget ( ) , other.getTarget ( ) ) ) ; }
Source:
public static boolean isSplitSystemUser ( ) { return android.os.SystemProperties.getBoolean ( "ro.fw.system_user_split" , false ) ; }

Target:
public static boolean isSplitSystemUser ( ) { return com.android.internal.os.RoSystemProperties.FW_SYSTEM_USER_SPLIT ; }
Source:
public int switch1 ( com.android.jack.switchstatement.test017.jack.Enum1.Enum11 enum1 ) { switch ( enum1 ) { case VALUE1 : return 1 ; case VALUE3 : return 3 ; case VALUE5 : return 5 ; default : return 0 ; } }

Target:
public int switch1 ( com.android.jack.switchstatement.test017.jack.Enum1.Enum1_ enum1 ) { switch ( enum1 ) { case VALUE1 : return 1 ; case VALUE3 : return 3 ; case VALUE5 : return 5 ; default : return 0 ; } }
Source:
public void endSession ( int slotId , int featureType , int sessionId ) throws android.os.RemoteException { }

Target:
public com.android.ims.internal.IImsMMTelFeature createMMTelFeature ( int slotId , com.android.ims.internal.IImsFeatureStatusCallback c ) throws android.os.RemoteException { mStatusCallback = c ; return this . createMMTelFeature ( slotId ) ; }
Source:
public void exitEmergencyCallbackModeResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo ) { }

Target:
public void sendOemRilRequestStringsResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , java.util.ArrayList < java.lang.String > strings ) { responseStringArrayList ( responseInfo , strings ) ; }
Source:
private native void initializeNative ( int max_hf_clients ) ;

Target:
private native void initializeNative ( int max_hf_clients , boolean inband_ring_enable ) ;