auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void testLibraries ( ) throws java.lang.Exception { assertEquals ( "No warnings." , lintProject ( "bytecode/classpath-lib=>.classpath" , "bytecode/AndroidManifest.xml=>AndroidManifest.xml" , "bytecode/GetterTest.java.txt=>src/test/bytecode/GetterTest.java" , "bytecode/GetterTest.jar.data=>libs/library.jar" ) ) ; }

Target:
public void testPostFroyo ( ) throws java.lang.Exception { assertEquals ( "No warnings." , lintProject ( "bytecode/.classpath=>.classpath" , "apicheck/minsdk10.xml=>AndroidManifest.xml" , "bytecode/GetterTest.java.txt=>src/test/bytecode/GetterTest.java" , "bytecode/GetterTest.class.data=>bin/classes/test/bytecode/GetterTest.class" ) ) ; }
Source:
public long get ( com.android.tools.perflib.vmtrace.MethodInfo info , com.android.tools.perflib.vmtrace.ThreadInfo thread ) { return info.getInclusiveTime ( thread , ClockType.THREAD ) ; }

Target:
public long get ( com.android.tools.perflib.vmtrace.MethodInfo info , com.android.tools.perflib.vmtrace.ThreadInfo thread , java.util.concurrent.TimeUnit unit ) { return info.getProfileData ( ) . getInclusiveTime ( thread , ClockType.THREAD , unit ) ; }
Source:
public void float32 ( float v ) throws java.io.IOException { int32 ( java.lang.Float.floatToIntBits ( v ) ) ; }

Target:
public void int64 ( long v ) throws java.io.IOException { intv ( v ) ; }
Source:
public java.lang.String getNetworkCountryIso ( int subId ) { int phoneId = android.telephony.SubscriptionManager.getPhoneId ( subId ) ; return getNetworkCountryIsoForPhone ( phoneId ) ; }

Target:
public java.lang.String getNetworkCountryIsoForPhone ( int phoneId ) { try { com.android.internal.telephony.ITelephony telephony = getITelephony ( ) ; if ( telephony == null ) return "" ; return telephony.getNetworkCountryIsoForPhone ( phoneId ) ; } catch ( android.os.RemoteException ex ) { return "" ; } }
Source:
public K getKey ( ) { return node.key ; }

Target:
public java.util.List < java.util.Map.Entry < K , V > > entries ( ) { return ( ( java.util.List < java.util.Map.Entry < K , V > > ) ( super . entries ( ) ) ) ; }
Source:
public void closeInputStream ( ) throws java.io.IOException { zipInputStream.closeEntry ( ) ; zipInputStream = null ; }

Target:
public void closeInputStream ( ) throws java.io.IOException { zipInputStream.closeEntry ( ) ; zipInputStream = null ; bufferedInputStream = null ; }
Source:
private java.util.Map < java.lang.String , java.lang.String > createNetworkExtrasForPasspointConfig ( java.lang.String fqdn ) { java.util.Map < java.lang.String , java.lang.String > extras = new java.util.HashMap < > ( ) ; extras.put ( WifiSupplicantControl.ID_STRING_KEY_FQDN , fqdn ) ; return extras ; }

Target:
private java.util.Map < java.lang.String , java.lang.String > createNetworkExtrasForPasspointConfig ( java.lang.String fqdn ) { java.util.Map < java.lang.String , java.lang.String > extras = new java.util.HashMap < > ( ) ; extras.put ( SupplicantStaNetworkHal.ID_STRING_KEY_FQDN , fqdn ) ; return extras ; }
Source:
public java.lang.String getZoneTab ( ) { return zoneTab ; }

Target:
public java.lang.String getZoneTab ( ) { checkNotClosed ( ) ; return zoneTab ; }
Source:
public void onServiceConnected ( android.content.ComponentName className , android.os.IBinder service ) { android.util.Log.d ( android.bluetooth.BluetoothInputHost.TAG , "onServiceConnected()" ) ; mService = IBluetoothInputHost.Stub.asInterface ( service ) ; if ( ( mServiceListener ) != null ) { mServiceListener.onServiceConnected ( BluetoothProfile.INPUT_HOST , this ) ; } }

Target:
public void onServiceConnected ( android.content.ComponentName className , android.os.IBinder service ) { android.util.Log.d ( android.bluetooth.BluetoothHidDevice.TAG , "onServiceConnected()" ) ; mService = IBluetoothHidDevice.Stub.asInterface ( service ) ; if ( ( mServiceListener ) != null ) { mServiceListener.onServiceConnected ( BluetoothProfile.HID_DEVICE , this ) ; } }
Source:
public boolean print ( @ javax.annotation.Nonnull java.io.PrintStream printer , @ javax.annotation.Nonnull java.lang.String key ) { return this . < java.lang.String > getFormatter ( DataType.STRING ) . print ( printer , getString ( key ) ) ; }

Target:
public boolean print ( @ javax.annotation.Nonnull java.io.PrintWriter printer , @ javax.annotation.Nonnull java.lang.String key ) { return this . < java.lang.String > getFormatter ( DataType.STRING ) . print ( printer , getString ( key ) ) ; }
Source:
public void reset ( ) { for ( int i = 0 ; i < ( com.android.ide.eclipse.adt.internal.resources.configurations.FolderConfiguration.INDEX_COUNT ) ; i ++ ) { mQualifiers [ i ] = null ; } }

Target:
public void reset ( ) { for ( int i = 0 ; i < ( com.android.ide.common.resources.configuration.FolderConfiguration.INDEX_COUNT ) ; i ++ ) { mQualifiers [ i ] = null ; } }
Source:
public void copy3DRangeFrom ( int xoff , int yoff , int zoff , int w , int h , int d , float [ ] data ) { validateIsFloat32 ( ) ; copy3DRangeFromUnchecked ( xoff , yoff , zoff , w , h , d , data ) ; }

Target:
public void copyTo ( java.lang.Object array ) { copyTo ( array , validateObjectIsPrimitiveArray ( array , true ) , java.lang.reflect.Array.getLength ( array ) ) ; }
Source:
public void exit ( ) { turnOffUpstreamMobileConnection ( ) ; mUpstreamNetworkMonitor.stop ( ) ; stopListeningForSimChanges ( ) ; notifyTetheredOfNewUpstreamIface ( null ) ; handleNewUpstreamNetworkState ( null ) ; }

Target:
public void exit ( ) { unrequestUpstreamMobileConnection ( ) ; mUpstreamNetworkMonitor.stop ( ) ; stopListeningForSimChanges ( ) ; notifyTetheredOfNewUpstreamIface ( null ) ; handleNewUpstreamNetworkState ( null ) ; }
Source:
static native void getNowPlayingListNative ( byte [ ] address , byte start , byte items ) ;

Target:
static native void getPlayerListNative ( byte [ ] address , byte start , byte end ) ;
Source:
public void doImport ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JSession session ) { for ( com.android.sched.vfs.InputVFS resourceDir : resourceDirs ) { importResourceDirElement ( resourceDir.getRootDir ( ) . list ( ) , session , "" ) ; } }

Target:
public void doImport ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JSession session ) { for ( com.android.sched.vfs.InputVFS resourceDir : resourceDirs ) { importResourceDirElement ( resourceDir.getRootInputVDir ( ) . list ( ) , session , "" ) ; } }
Source:
private static native java.lang.String nativeGetString ( int obj , int idx ) ;

Target:
private static native int [ ] nativeGetStyle ( long obj , int idx ) ;
Source:
private static void assertHasLabel ( libcore.icu.AlphabeticIndex ai , java.lang.String string , java.lang.String expectedLabel ) { ai.addLabels ( java.util.Locale.US ) ; int index = ai.getBucketIndex ( string ) ; java.lang.String label = ai.getBucketLabel ( index ) ; assertEquals ( expectedLabel , label ) ; }

Target:
private static libcore.icu.ImmutableIndex createIndex ( java.util.Locale locale ) { return new libcore.icu.AlphabeticIndex ( locale ) . addLabels ( java.util.Locale.US ) . getImmutableIndex ( ) ; }
Source:
public void tearDown ( ) { mAdapterService.finalize ( ) ; }

Target:
public void tearDown ( ) { mAdapterService.cleanup ( ) ; }
Source:
public void run ( ) { try { loadSubtitleSource ( R.raw.test_subtitle1_srt ) ; loadSubtitleSource ( R.raw.test_subtitle2_srt ) ; } catch ( java.lang.Exception e ) { throw new junit.framework.AssertionFailedError ( e.getMessage ( ) ) ; } }

Target:
public void run ( ) { try { loadSubtitleSource ( R.raw.test_subtitle1_srt ) ; loadSubtitleSource ( R.raw.test_subtitle2_srt ) ; readTimedTextTracks ( ) ; } catch ( java.lang.Exception e ) { throw new junit.framework.AssertionFailedError ( e.getMessage ( ) ) ; } }
Source:
native void socketClose0 ( ) throws java.io.IOException ;

Target:
native void socketClose0 ( boolean useDeferredClose ) throws java.io.IOException ;
Source:
public android.hardware.wifi.supplicant.V1_0.SupplicantStatus answer ( java.util.ArrayList < java.lang.Byte > identity ) throws android.os.RemoteException { assertEquals ( identityStr , com.android.server.wifi.SupplicantStaNetworkHal.stringFromByteArrayList ( identity ) ) ; return mStatusSuccess ; }

Target:
public android.hardware.wifi.supplicant.V1_0.SupplicantStatus answer ( java.util.ArrayList < java.lang.Byte > identity ) throws android.os.RemoteException { assertEquals ( identityStr , com.android.server.wifi.util.NativeUtil.stringFromByteArrayList ( identity ) ) ; return mStatusSuccess ; }
Source:
public boolean configureRoaming ( com.android.server.wifi.WifiNative.RoamingConfig config ) { android.util.Log.d ( com.android.server.wifi.WifiNative.TAG , "configureRoaming " ) ; if ( com.android.server.wifi.WifiNative.HIDL_VENDOR_ENABLE ) { return mWifiVendorHal.configureRoaming ( config ) ; } else { android.util.Log.e ( com.android.server.wifi.WifiNative.TAG , "configureRoaming not supported" ) ; return false ; } }

Target:
public boolean configureRoaming ( com.android.server.wifi.WifiNative.RoamingConfig config ) { android.util.Log.d ( mTAG , "configureRoaming " ) ; return mWifiVendorHal.configureRoaming ( config ) ; }
Source:
public boolean hasSubId ( ) { return ( com.android.phone.SubscriptionInfoHelper.mSubId ) != ( com.android.phone.SubscriptionInfoHelper.NO_SUB_ID ) ; }

Target:
public boolean hasSubId ( ) { return ( mSubId ) != ( com.android.phone.SubscriptionInfoHelper.NO_SUB_ID ) ; }
Source:
java.lang.String getHostnameOrIP ( ) { if ( ( peerHostname ) != null ) { return peerHostname ; } java.net.InetAddress peerAddress = getInetAddress ( ) ; if ( peerAddress != null ) { return peerAddress.getHostAddress ( ) ; } return null ; }

Target:
java.lang.String getHostnameOrIP ( ) { if ( ( peerHostname ) != null ) { return peerHostname ; } java.net.InetAddress peerAddress = getInetAddress ( ) ; if ( peerAddress != null ) { return org.conscrypt.Platform.getOriginalHostNameFromInetAddress ( peerAddress ) ; } return null ; }
Source:
public void streamMethodUpdated ( int methodType ) throws android.os.RemoteException { }

Target:
public void onStreamMethodUpdated ( int methodType ) { }
Source:
public boolean getMessageWaitingIndicator ( ) { return mIccRecords.getVoiceMessageWaiting ( ) ; }

Target:
public boolean getMessageWaitingIndicator ( ) { com.android.internal.telephony.IccRecords r = mIccRecords.get ( ) ; return r != null ? r.getVoiceMessageWaiting ( ) : false ; }
Source:
public void testGetActivityThemes4 ( ) throws java.lang.Exception { com.android.ide.eclipse.adt.internal.editors.manifest.ManifestInfo info = getManifestInfo ( ( "<manifest xmlns:android=\'http://schemas.android.com/apk/res/android\'\n" + ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( " package=\'com.android.unittest\'>\n" + " <application\n" ) + " android:label=\'@string/app_name\'\n" ) + " android:name=\'.app.TestApp\' android:icon=\'@drawable/app_icon\'>\n" ) + "\n" ) + " <activity\n" ) + " android:name=\'.prefs.PrefsActivity\'\n" ) + " android:label=\'@string/prefs_title\' />\n" ) + "\n" ) + " <activity\n" ) + " android:name=\'.app.IntroActivity\'\n" ) + " android:label=\'@string/intro_title\'\n" ) + " android:theme=\'@android:style/Theme.Dialog\' />\n" ) + " </application>\n" ) + " <uses-sdk android:minSdkVersion=\'3\' android:targetSdkVersion=\'4\'/>\n" ) + "</manifest>\n" ) + "" ) ) ) ; assertEquals ( "com.android.unittest" , info.getPackage ( ) ) ; assertEquals ( "Theme" , com.android.ide.eclipse.adt.internal.resources.ResourceHelper.styleToTheme ( info.getDefaultTheme ( null , com.android.resources.ScreenSize.XLARGE ) ) ) ; java.util.Map < java.lang.String , java.lang.String > map = info.getActivityThemes ( ) ; assertEquals ( map.toString ( ) , 1 , map.size ( ) ) ; assertNull ( map.get ( "com.android.unittest.prefs.PrefsActivity" ) ) ; assertEquals ( "@android:style/Theme.Dialog" , map.get ( "com.android.unittest.app.IntroActivity" ) ) ; }

Target:
public void testGetActivityThemes4 ( ) throws java.lang.Exception { com.android.ide.eclipse.adt.internal.editors.manifest.ManifestInfo info = getManifestInfo ( ( "<manifest xmlns:android=\'http://schemas.android.com/apk/res/android\'\n" + ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( " package=\'com.android.unittest\'>\n" + " <application\n" ) + " android:label=\'@string/app_name\'\n" ) + " android:name=\'.app.TestApp\' android:icon=\'@drawable/app_icon\'>\n" ) + "\n" ) + " <activity\n" ) + " android:name=\'.prefs.PrefsActivity\'\n" ) + " android:label=\'@string/prefs_title\' />\n" ) + "\n" ) + " <activity\n" ) + " android:name=\'.app.IntroActivity\'\n" ) + " android:label=\'@string/intro_title\'\n" ) + " android:theme=\'@android:style/Theme.Dialog\' />\n" ) + " </application>\n" ) + " <uses-sdk android:minSdkVersion=\'3\' android:targetSdkVersion=\'4\'/>\n" ) + "</manifest>\n" ) + "" ) ) ) ; assertEquals ( "com.android.unittest" , info.getPackage ( ) ) ; assertEquals ( "Theme" , com.android.ide.eclipse.adt.internal.resources.ResourceHelper.styleToTheme ( info.getDefaultTheme ( null , com.android.resources.ScreenSize.XLARGE ) ) ) ; java.util.Map < java.lang.String , com.android.ide.eclipse.adt.internal.editors.manifest.ManifestInfo.ActivityAttributes > map = info.getActivityAttributesMap ( ) ; assertEquals ( map.toString ( ) , 2 , map.size ( ) ) ; assertNull ( map.get ( "com.android.unittest.prefs.PrefsActivity" ) . getTheme ( ) ) ; assertEquals ( "@android:style/Theme.Dialog" , map.get ( "com.android.unittest.app.IntroActivity" ) . getTheme ( ) ) ; }
Source:
short getShortUnchecked ( int i ) { return getShort ( ix ( i ) ) ; }

Target:
short getShortUnchecked ( int i ) { if ( ! ( memoryRef.isAccessible ) ) { throw new java.lang.IllegalStateException ( "buffer is inaccessible" ) ; } return getShort ( ix ( i ) ) ; }
Source:
public void run ( ) { try { java.lang.Thread.sleep ( 10000 , 99999 ) ; } catch ( java.lang.InterruptedException ie ) { wasInterrupted = true ; } }

Target:
public void run ( ) { try { java.lang.Thread.sleep ( 1000 , 9999 ) ; } catch ( java.lang.InterruptedException ie ) { wasInterrupted = true ; } }
Source:
public void test_getSystemResourceLjava_lang_String ( ) { assertNotNull ( "Failed to find resource: hyts_Foo.c" , java.lang.ClassLoader.getSystemResource ( "hyts_Foo.c" ) ) ; }

Target:
public void test_testClassLoader_getResourceAsStream_withSharpChar ( ) throws java.lang.Exception { org.apache.harmony.tests.java.lang.ClassLoaderTest.assertGetResourceAsStreamNotNull ( testClassLoader , ClassTest.SHARP_RESOURCE_ABS_NAME ) ; }
Source:
public void setCamera ( java.lang.String cameraId ) { mProviderHandler.obtainMessage ( com.android.ims.internal.ImsVideoCallProvider.MSG_SET_CAMERA , cameraId ) . sendToTarget ( ) ; }

Target:
public void setCamera ( java.lang.String cameraId , int uid ) { com.android.internal.os.SomeArgs args = com.android.internal.os.SomeArgs.obtain ( ) ; args.arg1 = cameraId ; args.argi1 = uid ; mProviderHandler.obtainMessage ( com.android.ims.internal.ImsVideoCallProvider.MSG_SET_CAMERA , args ) . sendToTarget ( ) ; }
Source:
public abstract void setReadOnly ( @ com.android.annotations.NonNull java.io.File file ) ;

Target:
void setExecutablePermission ( @ com.android.annotations.NonNull java.io.File file ) throws java.io.IOException ;
Source:
protected void setUp ( ) throws java.lang.Exception { testDir = getTestDir ( ) ; sdkDir = getSdkDir ( ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { testDir = getTestDir ( ) ; sdkDir = getSdkDir ( ) ; ndkDir = getNdkDir ( ) ; }
Source:
public void startAnimation ( android.view.animation.Animation animation ) { animation.setStartTime ( Animation.START_ON_FIRST_FRAME ) ; setAnimation ( animation ) ; invalidate ( ) ; }

Target:
public void startAnimation ( android.view.animation.Animation animation ) { animation.setStartTime ( Animation.START_ON_FIRST_FRAME ) ; setAnimation ( animation ) ; invalidateParentCaches ( ) ; invalidate ( true ) ; }
Source:
public java.util.Set < ? extends java.lang.Class < ? extends java.lang.annotation.Annotation > > annotations ( ) { return com.google.common.collect.ImmutableSet.of ( com.android.dialer.inject.DialerRootComponent.class ) ; }

Target:
public java.util.Set < ? extends java.lang.Class < ? extends java.lang.annotation.Annotation > > annotations ( ) { return com.google.common.collect.ImmutableSet.of ( com.android.dialer.inject.DialerRootComponent.class , com.android.dialer.inject.InstallIn.class , com.android.dialer.inject.IncludeInDialerRoot.class ) ; }
Source:
public void addCapability ( long capability , android.telephony.ims.internal.aidl.IImsCapabilityCallback c ) throws android.os.RemoteException { this . addCapability ( capability , c ) ; }

Target:
public void queryCapabilityConfiguration ( int capability , int radioTech , android.telephony.ims.internal.aidl.IImsCapabilityCallback c ) { queryCapabilityConfigurationInternal ( capability , radioTech , c ) ; }
Source:
java.util.List < com.google.devtools.common.options.UnparsedOptionValueDescription > asListOfUnparsedOptions ( ) ;

Target:
java.util.List < com.google.devtools.common.options.ParsedOptionDescription > asCompleteListOfParsedOptions ( ) ;
Source:
static com.google.devtools.common.options.OptionPriority lowestOptionPriorityAtCategory ( com.google.devtools.common.options.OptionPriority.PriorityCategory category ) { return new com.google.devtools.common.options.OptionPriority ( category , 0 , false ) ; }

Target:
static com.google.devtools.common.options.OptionPriority lowestOptionPriorityAtCategory ( com.google.devtools.common.options.OptionPriority.PriorityCategory category ) { return new com.google.devtools.common.options.OptionPriority ( category , com.google.common.collect.ImmutableList.of ( 0 ) ) ; }
Source:
public com.google.common.base.Objects.ToStringHelper addValue ( char value ) { addHolder ( ) . builder.append ( value ) ; return this ; }

Target:
public com.google.common.base.Objects.ToStringHelper addValue ( int value ) { return addHolder ( java.lang.String.valueOf ( value ) ) ; }
Source:
public static com.android.incallui.incall.protocol.SecondaryInfo createEmptySecondaryInfo ( boolean isFullScreen ) { return new com.android.incallui.incall.protocol.SecondaryInfo ( false , null , false , null , null , false , false , isFullScreen ) ; }

Target:
public static com.android.incallui.incall.protocol.SecondaryInfo.Builder builder ( ) { return new com.android.incallui.incall.protocol.AutoValue_SecondaryInfo.Builder ( ) . setShouldShow ( false ) . setNameIsNumber ( false ) . setIsConference ( false ) . setIsVideoCall ( false ) . setIsFullscreen ( false ) ; }
Source:
public com.android.internal.telephony.Connection dial ( java.lang.String dialString , com.android.internal.telephony.UUSInfo uusInfo , int videoState , android.os.Bundle intentExtras ) throws com.android.internal.telephony.CallStateException { return dialInternal ( dialString , videoState , intentExtras , null ) ; }

Target:
public static com.android.internal.telephony.imsphone.ImsPhone.ImsDialArgs.Builder from ( com.android.internal.telephony.imsphone.ImsPhone.ImsDialArgs dialArgs ) { return new com.android.internal.telephony.imsphone.ImsPhone.ImsDialArgs.Builder ( ) . setUusInfo ( dialArgs.uusInfo ) . setVideoState ( dialArgs.videoState ) . setIntentExtras ( dialArgs.intentExtras ) . setRttTextStream ( dialArgs.rttTextStream ) . setClirMode ( dialArgs.clirMode ) ; }
Source:
public void addU32 ( long v ) { mN.addU32 ( v ) ; }

Target:
public void addU32 ( long v ) { mN.addU32 ( v ) ; mPos += 4 ; }
Source:
public com.android.ide.eclipse.adt.internal.resources.configurations.ResourceQualifier getQualifier ( int index ) { return mQualifiers [ index ] ; }

Target:
public com.android.ide.common.resources.configuration.ResourceQualifier getQualifier ( int index ) { return mQualifiers [ index ] ; }
Source:
private void setUpResources ( android.content.Context ctx ) { org.chromium.android_webview.AwResource.setResources ( com.android.webview.chromium.WebViewChromiumFactoryProvider.getWebViewPackageResources ( ctx ) ) ; org.chromium.android_webview.AwResource.setErrorPageResources ( R.raw.webviewchromium_loaderror , R.raw.webviewchromium_nodomain ) ; org.chromium.android_webview.AwResource.setConfigKeySystemUuidMapping ( R.array.config_keySystemUuidMapping ) ; }

Target:
private void setUpResources ( android.content.Context ctx ) { com.android.webview.chromium.ResourceRewriter.rewriteRValues ( ctx ) ; org.chromium.android_webview.AwResource.setResources ( ctx.getResources ( ) ) ; org.chromium.android_webview.AwResource.setErrorPageResources ( android.R.raw.loaderror , android.R.raw.nodomain ) ; org.chromium.android_webview.AwResource.setConfigKeySystemUuidMapping ( android.R.array.config_keySystemUuidMapping ) ; }
Source:
public void onCreate ( com.android.ide.common.api.INode node , com.android.ide.common.api.INode parent , com.android.ide.common.api.InsertType insertType ) { super . onCreate ( node , parent , insertType ) ; if ( insertType == ( com.android.ide.common.api.InsertType.CREATE ) ) { node.setAttribute ( com.android.ide.common.layout.LayoutConstants.ANDROID_URI , com.android.ide.common.layout.LayoutConstants.ATTR_SRC , "@android:drawable/btn_plus" ) ; } }

Target:
public void onCreate ( com.android.ide.common.api.INode node , com.android.ide.common.api.INode parent , com.android.ide.common.api.InsertType insertType ) { super . onCreate ( node , parent , insertType ) ; if ( insertType.isCreate ( ) ) { node.setAttribute ( com.android.ide.common.layout.LayoutConstants.ANDROID_URI , com.android.ide.common.layout.LayoutConstants.ATTR_SRC , "@android:drawable/btn_plus" ) ; } }
Source:
public com.android.volley.NetworkResponse answer ( org.mockito.invocation.InvocationOnMock invocationOnMock ) throws java.lang.Throwable { java.lang.Thread.sleep ( 20 ) ; return mock ( com.android.volley.NetworkResponse.class ) ; }

Target:
public com.android.volley.NetworkResponse answer ( org.mockito.invocation.InvocationOnMock invocationOnMock ) throws java.lang.Throwable { java.lang.Thread.sleep ( 20 ) ; return org.mockito.Mockito.mock ( com.android.volley.NetworkResponse.class ) ; }
Source:
native void rsnAllocationData1D ( long con , long id , int off , int mip , int count , int [ ] d , int sizeBytes ) ;

Target:
native void rsnAllocationData3D ( long con , long id , int xoff , int yoff , int zoff , int mip , int w , int h , int depth , java.lang.Object d , int sizeBytes , int dt , int mSize , boolean usePadding ) ;
Source:
public void setContext ( android.content.Context context ) { mContext = context ; }

Target:
public final void initialize ( android.content.Context context , int slotId ) { mContext = context ; mSlotId = slotId ; }
Source:
public java.lang.String getName ( ) { return scope.getTaskName ( "compile" , "Java" ) ; }

Target:
public java.lang.String getName ( ) { return scope.getTaskName ( "compile" , "JavaWithJavac" ) ; }
Source:
void nObjDestroy ( int id ) { if ( ( mContext ) != 0 ) { rsnObjDestroy ( mContext , id ) ; } }

Target:
synchronized void nContextSendMessage ( int id , int [ ] data ) { validate ( ) ; rsnContextSendMessage ( mContext , id , data ) ; }
Source:
private boolean satisfiedBySpecifier ( android.net.NetworkCapabilities nc ) { return ( ( android.text.TextUtils.isEmpty ( mNetworkSpecifier ) ) || ( mNetworkSpecifier.equals ( nc.mNetworkSpecifier ) ) ) || ( android.net.NetworkCapabilities.MATCH_ALL_REQUESTS_NETWORK_SPECIFIER.equals ( nc.mNetworkSpecifier ) ) ; }

Target:
private boolean satisfiedBySpecifier ( android.net.NetworkCapabilities nc ) { return ( ( ( mNetworkSpecifier ) == null ) || ( mNetworkSpecifier.satisfiedBy ( nc.mNetworkSpecifier ) ) ) || ( ( nc.mNetworkSpecifier ) instanceof android.net.MatchAllNetworkSpecifier ) ; }
Source:
public java.net.Socket createSocket ( java.lang.String host , int port , java.net.InetAddress localHost , int localPort ) throws java.io.IOException , java.net.UnknownHostException { return new org.conscrypt.OpenSSLSocketImpl ( host , port , localHost , localPort , ( ( org.conscrypt.SSLParametersImpl ) ( sslParameters.clone ( ) ) ) ) ; }

Target:
public java.net.Socket createSocket ( java.lang.String hostname , int port , java.net.InetAddress localHost , int localPort ) throws java.io.IOException , java.net.UnknownHostException { return new org.conscrypt.OpenSSLSocketImpl ( hostname , port , localHost , localPort , ( ( org.conscrypt.SSLParametersImpl ) ( sslParameters.clone ( ) ) ) ) ; }
Source:
public static java.lang.String serializeHex ( java.lang.Object object ) throws java.io.IOException { return libcore.util.HexEncoding.encodeToString ( libcore.util.SerializationTester.serialize ( object ) ) ; }

Target:
public static java.lang.String serializeHex ( java.lang.Object object ) throws java.io.IOException { return libcore.util.SerializationTester.hexEncode ( libcore.util.SerializationTester.serialize ( object ) ) ; }
Source:
public void testVFE18 ( ) { loadAndRun ( "dot.junit.opcodes.invoke_super.d.T_invoke_super_24" , java.lang.IncompatibleClassChangeError.class ) ; }

Target:
public void testVFE18 ( ) { loadAndRun ( "dot.junit.opcodes.invoke_super.d.T_invoke_super_24" , java.lang.AbstractMethodError.class ) ; }
Source:
public void testWarningComparator ( ) throws java.lang.Exception { assertEquals ( ( "src/test/pkg/StringFormatActivity.java:21: Error: Wrong argument type for formatting argument \'#1\' in score: conversion is \'d\', received boolean (argument #2 in method call) [StringFormatMatches]\n" + ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( " String output4 = String.format(score, true); // wrong\n" + " ~~~~\n" ) + " res/values-es/formatstrings.xml:6: Conflicting argument declaration here\n" ) + "src/test/pkg/StringFormatActivity.java:21: Error: Wrong argument type for formatting argument \'#1\' in score: conversion is \'d\', received boolean (argument #2 in method call) [StringFormatMatches]\n" ) + " String output4 = String.format(score, true); // wrong\n" ) + " ~~~~\n" ) + " res/values/formatstrings.xml:6: Conflicting argument declaration here\n" ) + "src/test/pkg/StringFormatActivity.java:22: Error: Wrong argument type for formatting argument \'#1\' in score: conversion is \'d\', received boolean (argument #2 in method call) [StringFormatMatches]\n" ) + " String output4 = String.format(score, won); // wrong\n" ) + " ~~~\n" ) + " res/values-es/formatstrings.xml:6: Conflicting argument declaration here\n" ) + "src/test/pkg/StringFormatActivity.java:22: Error: Wrong argument type for formatting argument \'#1\' in score: conversion is \'d\', received boolean (argument #2 in method call) [StringFormatMatches]\n" ) + " String output4 = String.format(score, won); // wrong\n" ) + " ~~~\n" ) + " res/values/formatstrings.xml:6: Conflicting argument declaration here\n" ) + "res/values-es/formatstrings.xml:5: Warning: Formatting string \'missing\' is not referencing numbered arguments [1, 2] [StringFormatCount]\n" ) + " <string name=\"missing\">Hello %3$s World</string>\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "res/values/formatstrings.xml:5: Warning: Formatting string \'missing\' is not referencing numbered arguments [1, 2] [StringFormatCount]\n" ) + " <string name=\"missing\">Hello %3$s World</string>\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "4 errors, 2 warnings\n" ) ) , lintProject ( "res/values/formatstrings.xml" , "res/values/formatstrings.xml=>res/values-es/formatstrings.xml" , "src/test/pkg/StringFormatActivity.java.txt=>src/test/pkg/StringFormatActivity.java" ) ) ; }

Target:
public void testNotStringFormat ( ) throws java.lang.Exception { assertEquals ( "No warnings." , lintProject ( "res/values/formatstrings3.xml" , "res/values/shared_prefs_keys.xml" , "src/test/pkg/SharedPrefsTest6.java.txt=>src/test/pkg/SharedPrefsTest6.java" ) ) ; }
Source:
private void updateNetworkType ( ) { setSummaryText ( com.android.settings.deviceinfo.Status.KEY_NETWORK_TYPE , ( ( ( mTelephonyManager.getNetworkTypeName ( ) ) + ":" ) + ( mTelephonyManager.getNetworkType ( ) ) ) ) ; }

Target:
private void updateNetworkType ( ) { java.lang.String networktype = null ; if ( ( android.telephony.TelephonyManager.NETWORK_TYPE_UNKNOWN ) != ( mTelephonyManager.getNetworkType ( ) ) ) { networktype = mTelephonyManager.getNetworkTypeName ( ) ; } setSummaryText ( com.android.settings.deviceinfo.Status.KEY_NETWORK_TYPE , networktype ) ; }
Source:
public void ipSecDestroyTransportModeTransform ( java.lang.String id ) { android.net.IpSecTransform transform = com.googlecode.android_scripting.facade.IpSecManagerFacade.mTransformHashMap.get ( id ) ; if ( transform == null ) { com.googlecode.android_scripting.Log.e ( "IpSec: Transform does not exist for the requested id" ) ; return ; } transform.close ( ) ; com.googlecode.android_scripting.facade.IpSecManagerFacade.mTransformHashMap.remove ( id ) ; }

Target:
public void ipSecDestroyTransportModeTransform ( java.lang.String id ) { android.net.IpSecTransform transform = com.googlecode.android_scripting.facade.IpSecManagerFacade.sTransformHashMap.get ( id ) ; if ( transform == null ) { com.googlecode.android_scripting.Log.e ( "IpSec: Transform does not exist for the requested id" ) ; return ; } transform.close ( ) ; com.googlecode.android_scripting.facade.IpSecManagerFacade.sTransformHashMap.remove ( id ) ; }
Source:
synchronized void nScriptSetVarVE ( int id , int slot , byte [ ] val , int e , int [ ] dims ) { validate ( ) ; rsnScriptSetVarVE ( mContext , id , slot , val , e , dims ) ; }

Target:
synchronized void nScriptSetVarI ( long id , int slot , int val ) { validate ( ) ; rsnScriptSetVarI ( mContext , id , slot , val ) ; }
Source:
private static void $opt$InplaceNegOneLong ( long a ) { a = - a ; Main.expectEquals ( ( - 1L ) , a ) ; }

Target:
private static void $opt$InplaceNegOneInt ( int a ) { a = - a ; Main.assertEquals ( ( - 1 ) , a ) ; }
Source:
private void compileWithProfilesAndCheckFilter ( java.util.Set < android.cts.compilation.AdbRootDependentCompilationTest.ProfileLocation > profileLocations ) throws java.lang.Exception { for ( android.cts.compilation.AdbRootDependentCompilationTest.ProfileLocation profileLocation : profileLocations ) { writeProfile ( profileLocation ) ; } executeCompile ( false ) ; java.lang.String compilerFilter = getCompilerFilter ( odexFilePath ) ; assertEquals ( "compiler-filter" , "speed-profile" , compilerFilter ) ; }

Target:
protected void tearDown ( ) throws java.lang.Exception { if ( mNewlyObtainedRoot ) { mDevice.executeAdbCommand ( "unroot" ) ; } apkFile.delete ( ) ; textProfileFile.delete ( ) ; mDevice.uninstallPackage ( android.cts.compilation.AdbRootDependentCompilationTest.APPLICATION_PACKAGE ) ; super . tearDown ( ) ; }
Source:
public void wifiNanDisconnect ( ) throws android.os.RemoteException , org.json.JSONException { mMgr.disconnect ( ) ; mSessions.clear ( ) ; }

Target:
private int getNextDiscoverySessionId ( ) { synchronized ( mLock ) { return ( mNextDiscoverySessionId ) ++ ; } }
Source:
public boolean removeAllNetworks ( ) { return doBooleanCommand ( "REMOVE_NETWORK all" ) ; }

Target:
public boolean disableSupplicant ( ) { return mWificondControl.disableSupplicant ( ) ; }
Source:
private void onRingIndication ( ) { com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent event = new com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.EVENT_TYPE_RING_INDICATION ) ; android.util.Log.d ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.TAG , ( "incoming" + event ) ) ; sendMessage ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.STACK_EVENT , event ) ; }

Target:
private void onRingIndication ( ) { com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent event = new com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.EVENT_TYPE_RING_INDICATION ) ; if ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.DBG ) { android.util.Log.d ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.TAG , ( "incoming" + event ) ) ; } sendMessage ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.STACK_EVENT , event ) ; }
Source:
public java.lang.String getLanguage ( ) { return getProperty ( IDevice.PROP_DEVICE_LANGUAGE ) ; }

Target:
public java.lang.String getLanguage ( ) { return getProperties ( ) . get ( IDevice.PROP_DEVICE_LANGUAGE ) ; }
Source:
public void error ( org.xml.sax.SAXParseException e ) { log.printf ( "Error when parsing %s: %s" , xmlFile.getName ( ) , e.toString ( ) ) ; }

Target:
public void error ( org.xml.sax.SAXParseException e ) { log.error ( Severity.ERROR , new com.android.manifmerger.IMergerLog.FileAndLine ( xmlFile.getName ( ) , 0 ) , "Error when parsing: %1$s" , e.toString ( ) ) ; }
Source:
public long getSize ( ) { return 0 ; }

Target:
public com.android.ahat.heapdump.Size getSize ( ) { return Size.ZERO ; }
Source:
public void onMiddlewareReady ( ) { try { callback.onMiddlewareReady ( ) ; } catch ( android.os.RemoteException e ) { onAppCallbackDied ( uid , subscriptionId ) ; } }

Target:
public void onError ( int errorCode , java.lang.String message ) { try { callback.onError ( errorCode , message ) ; } catch ( android.os.RemoteException e ) { onAppCallbackDied ( uid , subscriptionId ) ; } }
Source:
public static native void ensureHasProfilingInfo ( ) ;

Target:
public static native void ensureHasProfilingInfo ( java.lang.String methodName ) ;
Source:
public void validateSimCredentialWithEapTls ( ) 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.imsi = "1234*" ; cred.simCredential.eapType = android.net.wifi.EAPConstants.EAP_TLS ; org.junit.Assert.assertFalse ( cred.validate ( ) ) ; }

Target:
public void validateSimCredentialWithEapTls ( ) throws java.lang.Exception { android.net.wifi.hotspot2.pps.Credential cred = android.net.wifi.hotspot2.pps.CredentialTest.createCredentialWithSimCredential ( ) ; cred.getSimCredential ( ) . setEapType ( EAPConstants.EAP_TLS ) ; org.junit.Assert.assertFalse ( cred.validate ( ) ) ; }
Source:
public java.util.Collection < com.android.jack.ir.ast.JAnnotation > getAnnotations ( ) { return annotations.getAnnotations ( ) ; }

Target:
public java.util.Collection < com.android.jack.ir.ast.JAnnotationType > getAnnotationTypes ( ) { return com.android.jack.Jack.getUnmodifiableCollections ( ) . getUnmodifiableCollection ( com.android.jack.util.AnnotationUtils.getAnnotationTypes ( annotations ) ) ; }
Source:
protected org.eclipse.swt.widgets.Control createContents ( org.eclipse.swt.widgets.Composite parent ) { org.eclipse.swt.widgets.Control contents = super . createContents ( parent ) ; setTitle ( "Lint Warnings in Layout" ) ; setMessage ( "Lint Errors found for the current layout:" ) ; setTitleImage ( com.android.ide.eclipse.adt.AdtPlugin.getImageDescriptor ( com.android.ide.eclipse.adt.internal.lint.LintListDialog.PROJECT_LOGO_LARGE ) . createImage ( ) ) ; return contents ; }

Target:
protected org.eclipse.swt.widgets.Control createContents ( org.eclipse.swt.widgets.Composite parent ) { org.eclipse.swt.widgets.Control contents = super . createContents ( parent ) ; setTitle ( "Lint Warnings in Layout" ) ; setMessage ( "Lint Errors found for the current layout:" ) ; setTitleImage ( com.android.ide.eclipse.adt.internal.editors.IconFactory.getInstance ( ) . getIcon ( com.android.ide.eclipse.adt.internal.lint.LintListDialog.PROJECT_LOGO_LARGE ) ) ; return contents ; }
Source:
public com.google.mockwebserver.MockResponse setChunkedBody ( java.lang.String body , int maxChunkSize ) throws java.io.IOException { return setChunkedBody ( body.getBytes ( com.google.mockwebserver.MockWebServer.ASCII ) , maxChunkSize ) ; }

Target:
public com.google.mockwebserver.MockResponse setChunkedBody ( java.lang.String body , int maxChunkSize ) { try { return setChunkedBody ( body.getBytes ( "UTF-8" ) , maxChunkSize ) ; } catch ( java.io.UnsupportedEncodingException e ) { throw new java.lang.AssertionError ( ) ; } }
Source:
public com.google.common.primitives.UnsignedLong add ( com.google.common.primitives.UnsignedLong val ) { com.google.common.base.Preconditions.checkNotNull ( val ) ; return com.google.common.primitives.UnsignedLong.asUnsigned ( ( ( this . value ) + ( val.value ) ) ) ; }

Target:
public com.google.common.primitives.UnsignedLong mod ( com.google.common.primitives.UnsignedLong val ) { return com.google.common.primitives.UnsignedLong.fromLongBits ( com.google.common.primitives.UnsignedLongs.remainder ( value , com.google.common.base.Preconditions.checkNotNull ( val ) . value ) ) ; }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { newOrEdit ( false ) ; }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { userNewOrEdit ( false ) ; }
Source:
public static long ReturnLong34 ( ) { float imm = 34.0F ; return ( ( long ) ( imm ) ) ; }

Target:
public static long ReturnLong34 ( ) { float imm = Main.$inline$float ( 34.0F ) ; return ( ( long ) ( imm ) ) ; }
Source:
public void setInputMethod ( android.os.IBinder token , java.lang.String id ) { try { mService.setInputMethod ( token , id ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e ) ; } }

Target:
public void setInputMethod ( android.os.IBinder token , java.lang.String id ) { try { mService.setInputMethod ( token , id ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }
Source:
public void copy3DRangeFrom ( int xoff , int yoff , int zoff , int w , int h , int d , int [ ] data ) { validateIsInt32 ( ) ; copy3DRangeFromUnchecked ( xoff , yoff , zoff , w , h , d , data ) ; }

Target:
public void copyTo ( int [ ] d ) { validateIsInt32 ( ) ; copyTo ( d , Element.DataType.SIGNED_32 , d.length ) ; }
Source:
public void breakpointChar ( char param ) { logWriter.println ( ( ( "breakpointChar(param=" + param ) + ")" ) ) ; }

Target:
public void breakpointChar ( char param ) { logWriter.println ( ( ( "breakpointChar(param=" + param ) + ")" ) ) ; synchronizeWithTest ( ) ; }
Source:
private void ensureCapacityInternal ( int minimumCapacity ) { if ( ( minimumCapacity - ( value.length ) ) > 0 ) expandCapacity ( minimumCapacity ) ; }

Target:
private void ensureCapacityInternal ( int minimumCapacity ) { if ( ( minimumCapacity - ( value.length ) ) > 0 ) { value = java.util.Arrays.copyOf ( value , newCapacity ( minimumCapacity ) ) ; } }
Source:
public void addSchedule ( com.android.tv.dvr.ScheduledRecording schedule ) { if ( mDataManager.isDvrScheduleLoadFinished ( ) ) { mDataManager.addScheduledRecording ( schedule ) ; } }

Target:
public void addSchedule ( com.android.tv.dvr.data.ScheduledRecording schedule ) { if ( mDataManager.isDvrScheduleLoadFinished ( ) ) { mDataManager.addScheduledRecording ( schedule ) ; } }
Source:
static void asBytes ( int [ ] x , byte [ ] z ) { org.bouncycastle.crypto.util.Pack.intToBigEndian ( x , z , 0 ) ; }

Target:
static void asBytes ( int [ ] x , byte [ ] z ) { org.bouncycastle.util.Pack.intToBigEndian ( x , z , 0 ) ; }
Source:
private static int calculateDefaultFlags ( ) { return ( ( com.android.apksig.SigningCertificateLineage.PAST_CERT_INSTALLED_DATA ) | ( com.android.apksig.SigningCertificateLineage.PAST_CERT_PERMISSION ) ) | ( com.android.apksig.SigningCertificateLineage.PAST_CERT_SHARED_USER_ID ) ; }

Target:
private static int calculateDefaultFlags ( ) { return ( ( ( com.android.apksig.SigningCertificateLineage.PAST_CERT_INSTALLED_DATA ) | ( com.android.apksig.SigningCertificateLineage.PAST_CERT_PERMISSION ) ) | ( com.android.apksig.SigningCertificateLineage.PAST_CERT_SHARED_USER_ID ) ) | ( com.android.apksig.SigningCertificateLineage.PAST_CERT_AUTH ) ; }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder clearFailedTestCaseCount ( ) { bitField0_ = ( bitField0_ ) & ( ~ 8192 ) ; failedTestCaseCount_ = 0 ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setEndTime ( long value ) { bitField0_ |= 512 ; endTime_ = value ; onChanged ( ) ; return this ; }
Source:
public com.android.sdklib.internal.repository.SdkSource [ ] getSources ( ) { return mSources.toArray ( new com.android.sdklib.internal.repository.SdkSource [ mSources.size ( ) ] ) ; }

Target:
public void removeAll ( com.android.sdklib.internal.repository.SdkSourceCategory category ) { mSources.remove ( category ) ; }
Source:
public void clear ( ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
protected java.util.SortedSet < E > delegate ( ) { return set ; }
Source:
public void setup ( ) { put ( "Signature.FOO" , libcore.java.security.ProviderTest.MockSpi.class . getName ( ) ) ; put ( "Alg.Alias.Signature.OID.1.2.840.113549.1.1.5" , "FOO" ) ; }

Target:
public boolean supportsParameter ( java.lang.Object parameter ) { fail ( "This should not be called" ) ; return false ; }
Source:
public com.android.sched.util.log.EventType getDynamicEventType ( @ javax.annotation.Nonnull java.lang.String name ) { return com.android.sched.util.log.tracer.TracerEventType.NOTYPE ; }

Target:
public com.android.sched.util.log.EventType getDynamicEventType ( @ javax.annotation.Nonnull java.lang.String name ) { return com.android.sched.util.log.tracer.TracerEventType.SINGLETON ; }
Source:
public void unlisten ( ) { com.android.phone.vvm.VvmSimStateTracker.getTelephonyManager ( mContext , mPhoneAccountHandle ) . listen ( this , PhoneStateListener.LISTEN_NONE ) ; com.android.phone.vvm.VvmSimStateTracker.sListeners.put ( mPhoneAccountHandle , null ) ; }

Target:
public void unlisten ( ) { mContext.getSystemService ( android.telephony.TelephonyManager.class ) . listen ( this , PhoneStateListener.LISTEN_NONE ) ; com.android.phone.vvm.VvmSimStateTracker.sListeners.put ( mPhoneAccountHandle , null ) ; }
Source:
public void deactivateDataCall ( int cid , boolean reasonRadioShutDown , boolean isHandover , android.telephony.data.DataServiceCallback callback ) { callback.onDeactivateDataCallComplete ( DataServiceCallback.RESULT_ERROR_UNSUPPORTED ) ; }

Target:
public void deactivateDataCall ( int cid , @ android.telephony.data.DataService.DeactivateDataReason int reason , android.telephony.data.DataServiceCallback callback ) { callback.onDeactivateDataCallComplete ( DataServiceCallback.RESULT_ERROR_UNSUPPORTED ) ; }
Source:
public void writeTypeList ( com.android.dex.TypeList typeList ) { short [ ] types = typeList.getTypes ( ) ; writeInt ( types.length ) ; for ( short type : types ) { writeShort ( type ) ; } alignToFourBytes ( ) ; }

Target:
public void writeTypeList ( com.android.dex.TypeList typeList ) { short [ ] types = typeList.getTypes ( ) ; writeInt ( types.length ) ; for ( short type : types ) { writeShort ( type ) ; } alignToFourBytesWithZeroFill ( ) ; }
Source:
public void setKeyboard ( com.android.resources.Keyboard k ) { mKeyboard = k ; }

Target:
public void setKeyboard ( @ com.android.annotations.NonNull com.android.resources.Keyboard keyboard ) { mKeyboard = keyboard ; }
Source:
public static long getChecksum ( java.io.File file , java.util.zip.Checksum checksum ) throws java.io.IOException { return com.google.common.io.ByteStreams.getChecksum ( com.google.common.io.Files.newInputStreamSupplier ( file ) , checksum ) ; }

Target:
public boolean apply ( java.io.File file ) { return file.isDirectory ( ) ; }
Source:
public static double DoubleRemainder ( ) { double a ; double b ; double c ; a = Main.$inline$double ( 8.0 ) ; b = Main.$inline$double ( 2.5 ) ; c = a % b ; return c ; }

Target:
public static int IntAddition1 ( ) { int a ; int b ; int c ; a = 1 ; b = 2 ; c = a + b ; return c ; }
Source:
public java.util.List < java.lang.String > getBootClasspath ( ) { return java.util.Collections.singletonList ( getPath ( IAndroidTarget.ANDROID_JAR ) ) ; }

Target:
public java.util.List < com.android.sdklib.internal.androidTarget.OptionalLibrary > getOptionalLibraries ( ) { return mBasePlatform.getOptionalLibraries ( ) ; }
Source:
public int getRemoteStreamMaxVolume ( ) { return mMediaFocusControl.getRemoteStreamMaxVolume ( ) ; }

Target:
public boolean isHdmiSystemAudioSupported ( ) { return mHdmiSystemAudioSupported ; }
Source:
public final int getMeasuredWidth ( ) { return mMeasuredWidth ; }

Target:
public final int getMeasuredWidthAndState ( ) { return mMeasuredWidth ; }
Source:
public void setConnectionDisconnected ( int cause ) { mMediaPlayer.stop ( ) ; setDisconnected ( new android.telecom.DisconnectCause ( cause ) ) ; destroy ( ) ; }

Target:
public void setConnectionDisconnected ( int cause ) { mMediaPlayer.stop ( ) ; setDisconnected ( new android.telecom.DisconnectCause ( cause ) ) ; destroy ( ) ; if ( ( mListener ) != null ) { mListener.onConnectionRemoved ( this ) ; } }
Source:
private void initDevicesLists ( ) { boolean changed = initDefaultDevices ( ) ; changed |= initVendorDevices ( ) ; changed |= initUserDevices ( ) ; if ( changed ) { notifyListeners ( ) ; } }

Target:
private void initDevicesLists ( ) { boolean changed = initDefaultDevices ( ) ; changed |= initVendorDevices ( ) ; changed |= initSysImgDevices ( ) ; changed |= initUserDevices ( ) ; if ( changed ) { notifyListeners ( ) ; } }
Source:
public static com.android.dialer.main.Main provideMain ( ) { return new com.android.dialer.main.impl.MainImpl ( ) ; }

Target:
abstract com.android.dialer.calllog.config.CallLogConfig to ( com.android.dialer.calllog.config.CallLogConfigImpl impl ) ;
Source:
public void setMultiprocessEnabled ( boolean enabled ) ;

Target:
public void setMultiProcessEnabledFromContext ( android.content.Context context ) ;
Source:
private synchronized boolean isActiveDevice ( android.bluetooth.BluetoothDevice device ) { throw new java.lang.IllegalStateException ( "Implement me" ) ; }

Target:
private synchronized boolean isActiveDevice ( android.bluetooth.BluetoothDevice device ) { synchronized ( mStateMachines ) { return ( device != null ) && ( java.util.Objects.equals ( device , mActiveDevice ) ) ; } }
Source:
public com.android.jack.test.toolchain.JackApiV01Toolchain build ( ) { return new com.android.jack.test.toolchain.JackApiV01Toolchain ( com.android.jack.test.toolchain.AbstractTestTools.getPrebuilt ( "jack" ) ) ; }

Target:
public com.android.jack.test.toolchain.JackApiToolchain build ( ) { return new com.android.jack.test.toolchain.JackApiToolchain ( ) ; }
Source:
static android.telephony.SignalStrength convertHalSignalStrength_1_2 ( com.android.internal.telephony.V1_2.SignalStrength signalStrength ) { return new android.telephony.SignalStrength ( signalStrength.gsm.signalStrength , signalStrength.gsm.bitErrorRate , signalStrength.cdma.dbm , signalStrength.cdma.ecio , signalStrength.evdo.dbm , signalStrength.evdo.ecio , signalStrength.evdo.signalNoiseRatio , signalStrength.lte.signalStrength , signalStrength.lte.rsrp , signalStrength.lte.rsrq , signalStrength.lte.rssnr , signalStrength.lte.cqi , signalStrength.tdScdma.rscp ) ; }

Target:
static android.telephony.SignalStrength convertHalSignalStrength_1_2 ( com.android.internal.telephony.V1_2.SignalStrength signalStrength ) { return new android.telephony.SignalStrength ( signalStrength.gsm.signalStrength , signalStrength.gsm.bitErrorRate , signalStrength.cdma.dbm , signalStrength.cdma.ecio , signalStrength.evdo.dbm , signalStrength.evdo.ecio , signalStrength.evdo.signalNoiseRatio , signalStrength.lte.signalStrength , signalStrength.lte.rsrp , signalStrength.lte.rsrq , signalStrength.lte.rssnr , signalStrength.lte.cqi , signalStrength.tdScdma.rscp , signalStrength.wcdma.base.signalStrength , signalStrength.wcdma.rscp ) ; }
Source:
public boolean isNanSupported ( ) { return isFeatureSupported ( android.net.wifi.WifiManager.WIFI_FEATURE_NAN ) ; }

Target:
public boolean isWifiAwareSupported ( ) { return isFeatureSupported ( android.net.wifi.WifiManager.WIFI_FEATURE_AWARE ) ; }
Source:
public void test005 ( ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( TEST005 ) . compileAndRunTest ( ) ; }

Target:
public void test005 ( ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( TEST005 ) . addIgnoredCandidateToolchain ( com.android.jack.test.toolchain.JillBasedToolchain.class ) . compileAndRunTest ( ) ; }