auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public java.lang.Iterable < java.lang.String > getCFlags ( ) { }

Target:
public java.lang.Iterable < java.lang.String > getCFlags ( ) { return com.google.common.collect.Iterables.concat ( com.android.build.gradle.ndk.internal.GccNativeToolSpecification.RELEASE_CFLAGS.get ( platform.getName ( ) ) , ( isDebugBuild ? com.android.build.gradle.ndk.internal.GccNativeToolSpecification.DEBUG_CFLAGS.get ( platform.getName ( ) ) : com.google.common.collect.ImmutableList.< java.lang.String > of ( ) ) ) ; }
Source:
private static void testUnloadLoader ( java.lang.reflect.Constructor < ? > constructor ) throws java.lang.Exception { java.lang.ref.WeakReference < java.lang.ClassLoader > loader = Main.setUpUnloadLoader ( constructor , true ) ; java.lang.Runtime.getRuntime ( ) . gc ( ) ; java.lang.System.out.println ( loader.get ( ) ) ; }

Target:
private static void testUnloadLoader ( java.lang.reflect.Constructor < ? > constructor ) throws java.lang.Exception { java.lang.ref.WeakReference < java.lang.ClassLoader > loader = Main.setUpUnloadLoader ( constructor , true ) ; Main.doUnloading ( ) ; java.lang.System.out.println ( loader.get ( ) ) ; }
Source:
public void onProfileServiceStateChanged ( java.lang.String serviceName , int state ) { android.os.Message m = mHandler.obtainMessage ( com.android.bluetooth.btservice.AdapterService.MESSAGE_PROFILE_SERVICE_STATE_CHANGED ) ; m.obj = serviceName ; m.arg1 = state ; mHandler.sendMessage ( m ) ; }

Target:
public void removeProfile ( com.android.bluetooth.btservice.ProfileService profile ) { android.os.Message m = mHandler.obtainMessage ( com.android.bluetooth.btservice.AdapterService.MESSAGE_PROFILE_SERVICE_UNREGISTERED , profile ) ; mHandler.sendMessage ( m ) ; }
Source:
public void copy1DRangeFrom ( int off , int count , short [ ] d ) { validateIsInt16 ( ) ; copy1DRangeFromUnchecked ( off , count , d ) ; }

Target:
public void copy1DRangeFrom ( int off , int count , short [ ] d ) { validateIsInt16 ( ) ; copy1DRangeFromUnchecked ( off , count , d , Element.DataType.SIGNED_16 , d.length ) ; }
Source:
public static void computeSincos ( android.renderscript.cts.TestSincos.ArgumentsFloatFloatFloat args , android.renderscript.cts.Target t ) { t.setPrecision ( 4 , 128 , false ) ; args.outCosptr = android.renderscript.cts.CoreMathVerifier.cos ( args.inV , t ) ; args.out = android.renderscript.cts.CoreMathVerifier.sin ( args.inV , t ) ; }

Target:
public static void computeSincos ( android.renderscript.cts.TestSincos.ArgumentsFloatFloatFloat args , android.renderscript.cts.Target t ) { t.setPrecision ( 4 , 128 , false ) ; args.outCos = android.renderscript.cts.CoreMathVerifier.cos ( args.inV , t ) ; args.out = android.renderscript.cts.CoreMathVerifier.sin ( args.inV , t ) ; }
Source:
public void shouldRequireSupplicantStartupToLeaveInitialState ( ) throws java.lang.Exception { when ( mClientInterface.enableSupplicant ( ) ) . thenReturn ( false ) ; mWsm.setSupplicantRunning ( true ) ; mLooper.dispatchAll ( ) ; org.junit.Assert.assertEquals ( "InitialState" , getCurrentState ( ) . getName ( ) ) ; }

Target:
public void shouldRequireSupplicantStartupToLeaveInitialState ( ) throws java.lang.Exception { when ( mWifiNative.enableSupplicant ( ) ) . thenReturn ( false ) ; mWsm.setSupplicantRunning ( true ) ; mLooper.dispatchAll ( ) ; org.junit.Assert.assertEquals ( "InitialState" , getCurrentState ( ) . getName ( ) ) ; }
Source:
private void initFields ( ) { testSuite_ = com.android.vts.proto.com.google.protobuf.ByteString ; test_ = com.android.vts.proto.com.google.protobuf.ByteString ; statusTimestamp_ = 0L ; status_ = com.android.vts.proto.VtsWebStatusMessage.TestStatus.TEST_UNKNOWN ; failedTestcases_ = java.util.Collections.emptyList ( ) ; }

Target:
private void initFields ( ) { testSuite_ = com.android.vts.proto.com.google.protobuf.ByteString ; test_ = com.android.vts.proto.com.google.protobuf.ByteString ; statusTimestamp_ = 0L ; status_ = com.android.vts.proto.VtsWebStatusMessage.TestStatus.TEST_UNKNOWN ; failedTestcases_ = java.util.Collections.emptyList ( ) ; passedTestcases_ = java.util.Collections.emptyList ( ) ; }
Source:
public void testNextafterF32 ( ) { script_f32 = new android.renderscript.cts.ScriptC_nextafter_f32 ( mRS , mRes , R.raw.nextafter_f32 ) ; android.renderscript.cts.ScriptField_InputData inputDataArray = new android.renderscript.cts.ScriptField_InputData ( mRS , INPUTSIZE ) ; mIn = inputDataArray.getAllocation ( ) ; doF32 ( 75384 , 0 ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; script_f32 = new android.renderscript.cts.ScriptC_nextafter_f32 ( mRS ) ; }
Source:
public void testGetCnsWithOid ( ) { assertCns ( "2.5.4.3=a,ou=xxx" , "a" ) ; }

Target:
public void testGetCnsWithOid ( ) { assertCns ( "2.5.4.3=a,ou=xxx" , "a" ) ; assertCns ( "2.5.4.3=\" a \",ou=xxx" , " a " ) ; assertCns ( "2.5.5.3=a,ou=xxx,cn=b" , "b" ) ; }
Source:
protected com.android.builder.resources.ResourceFile createFileAndItems ( java.io.File file , com.android.utils.ILogger logger ) throws java.io.IOException { com.android.builder.resources.ResourceSet.FolderData folderData = com.android.builder.resources.ResourceSet.getFolderData ( file.getParentFile ( ) ) ; return createResourceFile ( file , folderData , logger ) ; }

Target:
protected com.android.builder.resources.ResourceFile createFileAndItems ( java.io.File sourceFolder , java.io.File file , com.android.utils.ILogger logger ) throws java.io.IOException { com.android.builder.resources.ResourceSet.FolderData folderData = com.android.builder.resources.ResourceSet.getFolderData ( file.getParentFile ( ) ) ; return createResourceFile ( file , folderData , logger ) ; }
Source:
public com.android.ims.internal.IImsCallSession getPendingCallSession ( int sessionId , java.lang.String callId ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; return getServiceInterface ( mBinder ) . getPendingCallSession ( mSlotId , mSupportedFeature , sessionId , callId ) ; } }

Target:
public com.android.ims.ImsCallProfile createCallProfile ( int sessionId , int callServiceType , int callType ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; return getServiceInterface ( mBinder ) . createCallProfile ( mSlotId , mSupportedFeature , sessionId , callServiceType , callType ) ; } }
Source:
private void configureStagedUninstall ( ) throws java.lang.Exception { org.mockito.Mockito.when ( mMockTimeZoneDistroInstaller.getStagedDistroOperation ( ) ) . thenReturn ( libcore.tzdata.shared2.StagedDistroOperation.uninstall ( ) ) ; }

Target:
private void configureStagedUninstall ( ) throws java.lang.Exception { org.mockito.Mockito.when ( mMockTimeZoneDistroInstaller.getStagedDistroOperation ( ) ) . thenReturn ( com.android.timezone.distro.StagedDistroOperation.uninstall ( ) ) ; }
Source:
private native java.lang.Class < ? > [ ] getProxyInterfaces ( ) ;

Target:
private native java.lang.Class < ? > [ ] getInterfacesInternal ( ) ;
Source:
public boolean containsEntry ( @ javax.annotation.Nullable java.lang.Object key , @ javax.annotation.Nullable java.lang.Object value ) { java.util.Collection < V > values = map.get ( key ) ; return ( values != null ) && ( values.contains ( value ) ) ; }

Target:
public boolean containsValue ( @ javax.annotation.Nullable java.lang.Object value ) { return ( value != null ) && ( super . containsValue ( value ) ) ; }
Source:
private static boolean getBoolean ( @ com.android.annotations.NonNull com.android.tools.lint.client.api.JavaParser.ResolvedAnnotation annotation , @ com.android.annotations.NonNull java.lang.String name , boolean defaultValue ) { java.lang.Object value = annotation.getValue ( name ) ; if ( value instanceof java.lang.Boolean ) { return ( ( java.lang.Boolean ) ( value ) ) ; } return defaultValue ; }

Target:
static boolean getBoolean ( @ com.android.annotations.NonNull com.intellij.psi.PsiAnnotation annotation , @ com.android.annotations.NonNull java.lang.String name , boolean defaultValue ) { java.lang.Boolean value = com.android.tools.lint.checks.PermissionRequirement.getAnnotationBooleanValue ( annotation , name ) ; if ( value != null ) { return value ; } return defaultValue ; }
Source:
protected synchronized void addCompilationUnit ( org.eclipse.jdt.internal.compiler.env.ICompilationUnit sourceUnit , org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration parsedUnit ) { super . addCompilationUnit ( sourceUnit , parsedUnit ) ; mUnits.put ( sourceUnit , parsedUnit ) ; }

Target:
protected synchronized void addCompilationUnit ( org.eclipse.jdt.internal.compiler.env.ICompilationUnit sourceUnit , org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration parsedUnit ) { super . addCompilationUnit ( sourceUnit , parsedUnit ) ; mUnits.put ( ( ( com.android.tools.lint.EcjSourceFile ) ( sourceUnit ) ) , parsedUnit ) ; }
Source:
private void loadSettings ( android.database.sqlite.SQLiteDatabase db ) { loadSystemSettings ( db ) ; loadSecureSettings ( db ) ; }

Target:
private void loadSettings ( android.database.sqlite.SQLiteDatabase db ) { loadSystemSettings ( db ) ; loadSecureSettings ( db ) ; if ( ( mUserHandle ) == ( android.os.UserHandle.USER_OWNER ) ) { loadGlobalSettings ( db ) ; } }
Source:
public void removeNetwork ( android.net.Network network ) { mPrivateDnsMap.remove ( network.netId ) ; }

Target:
public void removeNetwork ( android.net.Network network ) { mPrivateDnsMap.remove ( network.netId ) ; mPrivateDnsValidationMap.remove ( network.netId ) ; }
Source:
void libToLib ( @ javax.annotation.Nonnull java.io.File in , @ javax.annotation.Nonnull java.io.File out , boolean zipFiles ) throws java.lang.Exception ;

Target:
void srcToLib ( @ javax.annotation.Nonnull java.io.File out , boolean zipFiles , @ javax.annotation.Nonnull java.io.File ... sources ) throws java.lang.Exception ;
Source:
public void testSubscribeConfigBuilderNegativeCount ( ) { new android.net.wifi.nan.SubscribeConfig.Builder ( ) . setSubscribeCount ( ( - 1 ) ) ; }

Target:
public void testSubscribeConfigBuilderNegativeCount ( ) { new android.net.wifi.aware.SubscribeConfig.Builder ( ) . setSubscribeCount ( ( - 1 ) ) ; }
Source:
public void testReadWithNoStoreFile ( ) throws java.lang.Exception { assertFalse ( mWifiConfigStore.areStoresPresent ( ) ) ; com.android.server.wifi.WifiConfigStoreData readData = mWifiConfigStore.read ( ) ; com.android.server.wifi.WifiConfigStoreDataTest.assertConfigStoreDataEqual ( getEmptyStoreData ( ) , readData ) ; }

Target:
public void testReadWithNoStoreFile ( ) throws java.lang.Exception { mWifiConfigStore.registerStoreData ( mStoreData ) ; assertFalse ( mWifiConfigStore.areStoresPresent ( ) ) ; mWifiConfigStore.read ( ) ; assertNull ( mStoreData.getUserData ( ) ) ; assertNull ( mStoreData.getShareData ( ) ) ; }
Source:
public static void computeFmax ( android.renderscript.cts.TestFmax.ArgumentsFloatFloatFloat args ) { args.ulf = 0 ; args.ulfRelaxed = 0 ; args.out = java.lang.StrictMath.max ( args.inX , args.inY ) ; }

Target:
public static void computePown ( android.renderscript.cts.TestPown.ArgumentsFloatIntFloat args ) { args.out = new android.renderscript.cts.Floaty ( ( ( float ) ( java.lang.Math.pow ( args.inX , ( ( double ) ( args.inY ) ) ) ) ) , 16 , 128 ) ; }
Source:
public android.telecom.cts.BaseTelecomTestWithMockServices.InvokeCounter getInvokeCounter ( int counterIndex ) { if ( ( mInvokeCounterMap.get ( counterIndex ) ) == null ) { mInvokeCounterMap.put ( counterIndex , new android.telecom.cts.BaseTelecomTestWithMockServices.InvokeCounter ( android.telecom.cts.MockConnection.getCounterLabel ( counterIndex ) ) ) ; } return mInvokeCounterMap.get ( counterIndex ) ; }

Target:
public android.telecom.cts.TestUtils.InvokeCounter getInvokeCounter ( int counterIndex ) { if ( ( mInvokeCounterMap.get ( counterIndex ) ) == null ) { mInvokeCounterMap.put ( counterIndex , new android.telecom.cts.TestUtils.InvokeCounter ( android.telecom.cts.MockConnection.getCounterLabel ( counterIndex ) ) ) ; } return mInvokeCounterMap.get ( counterIndex ) ; }
Source:
public void onCallEnded ( android.net.sip.SipAudioCall call ) { if ( com.android.internal.telephony.sip.SipPhone.SipAudioCallAdapter.SACA_DBG ) log ( ( "onCallEnded: call=" + call ) ) ; onCallEnded ( ( call.isInCall ( ) ? Connection.DisconnectCause.NORMAL : Connection.DisconnectCause.INCOMING_MISSED ) ) ; }

Target:
public void onCallEnded ( android.net.sip.SipAudioCall call ) { if ( com.android.internal.telephony.sip.SipPhone.SipAudioCallAdapter.SACA_DBG ) log ( ( "onCallEnded: call=" + call ) ) ; onCallEnded ( ( call.isInCall ( ) ? android.telephony.DisconnectCause.NORMAL : android.telephony.DisconnectCause.INCOMING_MISSED ) ) ; }
Source:
public void testEncodeDecodeVideoFromBufferToBuffer720p ( ) throws java.lang.Exception { setParameters ( 1280 , 720 , 6000000 , android.media.cts.EncodeDecodeTest.MIME_TYPE_AVC ) ; encodeDecodeVideoFromBuffer ( false ) ; }

Target:
public void testEncodeDecodeVideoFromBufferToBufferQCIF ( ) throws java.lang.Exception { setParameters ( 176 , 144 , 1000000 , android.media.cts.EncodeDecodeTest.MIME_TYPE_AVC , true , false ) ; encodeDecodeVideoFromBuffer ( false ) ; }
Source:
public void test_minus_longTemporalUnit_positiveHours ( ) { java.time.LocalTime t = TEST_12_30_40_987654321.minus ( 7 , java.time.temporal.ChronoUnit.HOURS ) ; org.testng.Assert.assertEquals ( t , java.time.LocalTime.of ( 5 , 30 , 40 , 987654321 ) ) ; }

Target:
public void test_minus_longTemporalUnit_positiveHours ( ) { java.time.LocalTime t = tck.java.time.TCKLocalTime.TEST_12_30_40_987654321.minus ( 7 , java.time.temporal.ChronoUnit.HOURS ) ; org.testng.Assert.assertEquals ( t , java.time.LocalTime.of ( 5 , 30 , 40 , 987654321 ) ) ; }
Source:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.cfg.JBasicBlockElement element ) { if ( ( this . element ) != null ) { throw new com.android.jack.ir.JNodeInternalError ( element , "Nested block element" ) ; } this . element = element ; return true ; }

Target:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.cfg.JBasicBlockElement element ) { if ( ( this . blockElement ) != element ) { throw new com.android.jack.ir.JNodeInternalError ( element , "Nested block element" ) ; } return true ; }
Source:
public static final void nextElement ( org.xmlpull.v1.XmlPullParser parser ) throws java.io.IOException , org.xmlpull.v1.XmlPullParserException { int type ; while ( ( ( type = parser.next ( ) ) != ( parser.START_TAG ) ) && ( type != ( parser.END_DOCUMENT ) ) ) { } }

Target:
public static final void nextElement ( org.xmlpull.v1.XmlPullParser parser ) throws java.io.IOException , org.xmlpull.v1.XmlPullParserException { int type ; while ( ( ( type = parser.next ( ) ) != ( org.xmlpull.v1.XmlPullParser.START_TAG ) ) && ( type != ( org.xmlpull.v1.XmlPullParser.END_DOCUMENT ) ) ) { } }
Source:
public java.util.List < java.io.File > getImportedJackLibrary ( ) ;

Target:
public java.util.List < java.io.File > getImportedLibrary ( ) ;
Source:
public void testDescendingAddNull ( ) { try { java.util.NavigableSet q = jsr166.ConcurrentSkipListSubSetTest.dset0 ( ) ; q.add ( null ) ; shouldThrow ( ) ; } catch ( java.lang.NullPointerException success ) { } }

Target:
public void testDescendingAddNonComparable ( ) { java.util.NavigableSet q = jsr166.ConcurrentSkipListSubSetTest.dset0 ( ) ; try { q.add ( new java.lang.Object ( ) ) ; q.add ( new java.lang.Object ( ) ) ; shouldThrow ( ) ; } catch ( java.lang.ClassCastException success ) { } }
Source:
public void preprocessResources ( @ com.android.annotations.NonNull java.lang.String resOutputDir ) throws java.io.IOException , java.lang.InterruptedException { java.util.List < java.io.File > inputs = mVariant.getResourceInputs ( ) ; preprocessResources ( resOutputDir , inputs ) ; }

Target:
public void preprocessResources ( @ com.android.annotations.NonNull java.lang.String resOutputDir ) throws java.io.IOException , java.lang.InterruptedException { com.google.common.base.Preconditions.checkState ( ( ( mVariant ) != null ) , "No Variant Configuration has been set." ) ; java.util.List < java.io.File > inputs = mVariant.getResourceInputs ( ) ; preprocessResources ( resOutputDir , inputs ) ; }
Source:
public com.android.build.gradle.internal.ProductFlavorData < com.android.build.gradle.internal.dsl.ProductFlavor > getDefaultConfig ( ) { return basePlugin.getDefaultConfigData ( ) ; }

Target:
public com.android.build.gradle.internal.ProductFlavorData < com.android.build.gradle.internal.dsl.ProductFlavor > getDefaultConfig ( ) { return defaultConfigData ; }
Source:
public libcore.util.ZoneInfoTestHelper.ZoneInfoDataBuilder initializeToValid ( ) { setTransitions ( new int [ 0 ] [ 0 ] ) ; setTypes ( new int [ ] [ ] { new int [ ] { 3600 , 0 } } ) ; return this ; }

Target:
public libcore.tzdata.testing.ZoneInfoTestHelper.ZoneInfoDataBuilder initializeToValid ( ) { setTransitions ( new int [ 0 ] [ 0 ] ) ; setTypes ( new int [ ] [ ] { new int [ ] { 3600 , 0 } } ) ; return this ; }
Source:
public void clearAppProfiles ( java.lang.String packageName ) throws com.android.internal.os.InstallerConnection.InstallerException { if ( ! ( checkBeforeRemote ( ) ) ) return ; try { mInstalld.clearAppProfiles ( packageName ) ; } catch ( android.os.RemoteException | android.os.ServiceSpecificException e ) { throw new com.android.internal.os.InstallerConnection.InstallerException ( e.getMessage ( ) ) ; } }

Target:
public void destroyAppProfiles ( java.lang.String packageName ) throws com.android.server.pm.Installer.InstallerException { if ( ! ( checkBeforeRemote ( ) ) ) return ; try { mInstalld.destroyAppProfiles ( packageName ) ; } catch ( android.os.RemoteException | android.os.ServiceSpecificException e ) { throw com.android.server.pm.Installer.InstallerException.from ( e ) ; } }
Source:
public com.android.ide.eclipse.adt.editors.layout.gscripts.Rect copy ( ) { return new com.android.ide.eclipse.adt.editors.layout.gscripts.Rect ( x , y , w , h ) ; }

Target:
public com.android.ide.common.api.Rect copy ( ) { return new com.android.ide.common.api.Rect ( x , y , w , h ) ; }
Source:
int getCapabilities ( android.bluetooth.BluetoothDevice device ) { if ( ! ( mDeviceCapabilitiesMap.containsKey ( device ) ) ) { return - 1 ; } return mDeviceCapabilitiesMap.get ( device ) ; }

Target:
int getCapabilities ( android.bluetooth.BluetoothDevice device ) { return mDeviceCapabilitiesMap.getOrDefault ( device , ( - 1 ) ) ; }
Source:
public void onSurfaceCreated ( javax.microedition.khronos.opengles.GL10 unused , javax.microedition.khronos.egl.EGLConfig config ) { android.opengl.GLES20.glClearColor ( 1.0F , 0.0F , 0.0F , 1.0F ) ; }

Target:
public void onSurfaceCreated ( javax.microedition.khronos.opengles.GL10 unused , javax.microedition.khronos.egl.EGLConfig config ) { android.opengl.GLES20.glClearColor ( 0.2F , 0.2F , 0.2F , 1.0F ) ; mSphere = new com.android.graphics.benchmark.example.Sphere ( 0.05F , 36 ) ; }
Source:
public void prepareDownload ( java.lang.String callingPackage , @ android.annotation.Nullable byte [ ] hashCc , byte [ ] smdpSigned2 , byte [ ] smdpSignature2 , byte [ ] smdpCertificate , com.android.internal.telephony.euicc.IPrepareDownloadCallback callback ) { checkCallingPackage ( callingPackage ) ; }

Target:
public void onResult ( byte [ ] result ) { try { callback.onComplete ( EuiccCardManager.RESULT_OK , result ) ; } catch ( android.os.RemoteException exception ) { throw exception.rethrowFromSystemServer ( ) ; } }
Source:
public java.lang.String toHuman ( ) { return ( ( kind.name ( ) ) + "," ) + ( memberRef.toHuman ( ) ) ; }

Target:
public java.lang.String toHuman ( ) { return ( ( kind.name ( ) ) + ", " ) + ( memberRef.toHuman ( ) ) ; }
Source:
public void endSession ( int sessionId ) throws android.os.RemoteException { synchronized ( mLock ) { checkBinderConnection ( ) ; getServiceInterface ( mBinder ) . endSession ( mSlotId , mSupportedFeature , sessionId ) ; } }

Target:
public int startSession ( android.app.PendingIntent incomingCallIntent , com.android.ims.internal.IImsRegistrationListener listener ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; return getServiceInterface ( mBinder ) . startSession ( mSlotId , mSupportedFeature , incomingCallIntent , listener ) ; } }
Source:
public synchronized java.util.Iterator < java.lang.Object > iterator ( ) { return com.google.common.collect.Iterators.< java.lang.Object > forArray ( java.lang.Long.valueOf ( value ) ) ; }

Target:
public boolean isEnabled ( ) { return true ; }
Source:
public void testMatchesIntentWithNoCategoryAndMatcherWithOneCategory ( ) { org.hamcrest.Matcher < android.content.Intent > matcher = android.support.test.espresso.intent.matcher.IntentMatchers.hasCategories ( org.hamcrest.Matchers.hasItem ( org.hamcrest.Matchers.equalTo ( "category" ) ) ) ; assertFalse ( matcher.matches ( new android.content.Intent ( android.content.Intent.ACTION_VIEW , uri ) ) ) ; }

Target:
public void matchesIntentWithNoCategoryAndMatcherWithOneCategory ( ) { org.hamcrest.Matcher < android.content.Intent > matcher = android.support.test.espresso.intent.matcher.IntentMatchers.hasCategories ( org.hamcrest.Matchers.hasItem ( org.hamcrest.Matchers.equalTo ( "category" ) ) ) ; org.junit.Assert.assertFalse ( matcher.matches ( new android.content.Intent ( android.content.Intent.ACTION_VIEW , uri ) ) ) ; }
Source:
public boolean bluetoothConfigHciSnoopLog ( @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "value" , description = "enable or disable log" ) java.lang.Boolean value ) { return mBluetoothAdapter.configHciSnoopLog ( value ) ; }

Target:
public boolean bluetoothIsLe2MPhySupported ( ) { return mBluetoothAdapter.isLe2MPhySupported ( ) ; }
Source:
public void testKeyStore_GetKey_NonExistent_Failure ( ) throws java.lang.Exception { mKeyStore.load ( null , null ) ; assertNull ( "A non-existent entry should return null" , mKeyStore.getKey ( android.security.AndroidKeyStoreTest.TEST_ALIAS_1 , null ) ) ; }

Target:
public void testKeyStore_GetKey_NonExistent_Encrypted_Failure ( ) throws java.lang.Exception { setupPassword ( ) ; mKeyStore.load ( null , null ) ; assertNull ( "A non-existent entry should return null" , mKeyStore.getKey ( android.security.AndroidKeyStoreTest.TEST_ALIAS_1 , null ) ) ; }
Source:
public boolean isAvailable ( ) { try { return mService.isAvailable ( ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }

Target:
public void setConfiguration ( java.lang.String iface , android.net.IpConfiguration config ) { try { mService.setConfiguration ( iface , config ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }
Source:
public void xmlParsing_missingCountryZones ( ) throws java.lang.Exception { libcore.util.TimeZoneFinderTest.checkValidateThrowsParserException ( "<timezones></timezones>\n" ) ; }

Target:
public void xmlParsing_missingCountryZones ( ) throws java.lang.Exception { libcore.util.TimeZoneFinderTest.checkValidateThrowsParserException ( "<timezones ianaversion=\"2017b\"></timezones>\n" ) ; }
Source:
public java.util.zip.ZipOutputStream getOutputStream ( ) { assert ( file ) != null ; clearRemover ( ) ; try { return new java.util.zip.ZipOutputStream ( new java.io.FileOutputStream ( file ) ) ; } catch ( java.io.FileNotFoundException e ) { throw new com.android.sched.util.ConcurrentIOException ( e ) ; } }

Target:
public java.util.zip.ZipOutputStream getOutputStream ( ) { assert ( file ) != null ; clearRemover ( ) ; try { return new com.android.sched.util.file.OutputZipFile.CustomZipOutputStream ( new java.io.FileOutputStream ( file ) ) ; } catch ( java.io.FileNotFoundException e ) { throw new com.android.sched.util.ConcurrentIOException ( e ) ; } }
Source:
public java.lang.String getShortDisplayValue ( ) { if ( ( ( mValue1 ) != ( - 1 ) ) && ( ( mValue2 ) != ( - 1 ) ) ) { return java.lang.String.format ( "%1$dx%2$d" , mValue1 , mValue2 ) ; } return "" ; }

Target:
public java.lang.String getShortDisplayValue ( ) { if ( isValid ( ) ) { return java.lang.String.format ( "%1$dx%2$d" , mValue1 , mValue2 ) ; } return "" ; }
Source:
public void expectMessage ( org.hamcrest.Matcher < java.lang.String > matcher ) { expect ( hasMessage ( matcher ) ) ; }

Target:
public void expectMessage ( java.lang.String substring ) { expectMessage ( org.hamcrest.CoreMatchers.containsString ( substring ) ) ; }
Source:
public static int AddNegs2 ( int arg1 , int arg2 ) { int temp1 = - arg1 ; int temp2 = - arg2 ; return ( temp1 + temp2 ) | ( temp1 + temp2 ) ; }

Target:
public static int $noinline$AddNegs2 ( int arg1 , int arg2 ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } int temp1 = - arg1 ; int temp2 = - arg2 ; return ( temp1 + temp2 ) | ( temp1 + temp2 ) ; }
Source:
private void waitForStagedStatus ( java.lang.String requiredStatus , java.lang.String versionString ) throws java.lang.Exception { com.android.timezone.xts.TimeZoneUpdateHostTest.waitForCondition ( ( ) -> isStagedStatus ( requiredStatus , versionString ) ) ; }

Target:
private void waitForStagedInstall ( java.lang.String versionString ) throws java.lang.Exception { com.android.timezone.xts.TimeZoneUpdateHostTest.waitForCondition ( ( ) -> isStagedInstall ( versionString ) ) ; }
Source:
public void getFeatureValue ( int feature , int network , com.android.ims.ImsConfigListener listener ) throws android.os.RemoteException { listener.onGetFeatureResponse ( feature , network , ImsConfig.FeatureValueConstants.ON , ImsConfig.OperationStatusConstants.SUCCESS ) ; }

Target:
public int setConfig ( int item , int value ) { replaceConfig ( new com.android.phone.testapps.imstestapp.TestImsConfigImpl.ConfigItem ( item , value ) ) ; return ImsConfig.OperationStatusConstants.SUCCESS ; }
Source:
public void requestNetwork ( android.net.NetworkRequest request , android.net.ConnectivityManager.NetworkCallback networkCallback ) { requestNetwork ( request , networkCallback , 0 , inferLegacyTypeForNetworkCapabilities ( request.networkCapabilities ) ) ; }

Target:
public void requestNetwork ( android.net.NetworkRequest request , android.net.ConnectivityManager.NetworkCallback networkCallback , int timeoutMs , android.os.Handler handler ) { int legacyType = inferLegacyTypeForNetworkCapabilities ( request.networkCapabilities ) ; android.net.ConnectivityManager.CallbackHandler cbHandler = new android.net.ConnectivityManager.CallbackHandler ( handler ) ; requestNetwork ( request , networkCallback , timeoutMs , legacyType , cbHandler ) ; }
Source:
java.nio.ByteBuffer getByteBuffer ( long address , boolean modify ) { return getBuffer ( ( address / ( myPageSize ) ) , modify ) ; }

Target:
com.intellij.util.io.ByteBufferWrapper getByteBuffer ( long address , boolean modify ) { return getBufferWrapper ( ( address / ( myPageSize ) ) , modify ) ; }
Source:
public com.android.incallui.call.DialerCall getSecondBackgroundCall ( ) { return getCallWithState ( DialerCall.State.ONHOLD , 1 ) ; }

Target:
public com.android.incallui.call.DialerCall getSecondBackgroundCall ( ) { return getCallWithState ( DialerCallState.ONHOLD , 1 ) ; }
Source:
public final com.google.common.util.concurrent.ListenableFuture < com.google.common.util.concurrent.Service.State > stop ( ) { return delegate.stop ( ) ; }

Target:
public final com.google.common.util.concurrent.Service startAsync ( ) { delegate.startAsync ( ) ; return this ; }
Source:
public int getPolicyCycleDay ( android.net.NetworkTemplate template ) { return getPolicy ( template ) . cycleDay ; }

Target:
public android.net.NetworkPolicy getPolicyMaybeUnquoted ( android.net.NetworkTemplate template ) { android.net.NetworkPolicy policy = getPolicy ( template ) ; if ( policy != null ) { return policy ; } else { return getPolicy ( com.android.settings.net.NetworkPolicyEditor.buildUnquotedNetworkTemplate ( template ) ) ; } }
Source:
public void requestIsimAuthentication ( java.lang.String nonce , android.os.Message result ) { android.util.Log.e ( com.android.internal.telephony.PhoneBase.LOG_TAG , "requestIsimAuthentication() is only supported on LTE devices" ) ; }

Target:
public com.android.internal.telephony.uicc.IsimRecords getIsimRecords ( ) { android.telephony.Rlog.e ( com.android.internal.telephony.PhoneBase.LOG_TAG , "getIsimRecords() is only supported on LTE devices" ) ; return null ; }
Source:
public void test_supports_should_judge_whether_Object_is_not_supported ( ) { assertEquals ( false , runnerFactory.supports ( java.lang.Object.class ) ) ; }

Target:
public void test_supports_should_judge_whether_Object_is_not_supported ( ) { junit.framework.Assert.assertEquals ( false , runnerFactory.supports ( java.lang.Object.class ) ) ; }
Source:
private java.lang.Boolean getBool ( java.lang.StringBuilder stringAccumulator ) { java.lang.String b = getString ( stringAccumulator ) ; return ( b.equalsIgnoreCase ( "true" ) ) || ( b.equalsIgnoreCase ( "1" ) ) ; }

Target:
private static java.lang.Boolean getBool ( java.lang.StringBuilder s ) { return ( com.android.sdklib.devices.DeviceParser.DeviceHandler.equals ( s , "true" ) ) || ( com.android.sdklib.devices.DeviceParser.DeviceHandler.equals ( s , "1" ) ) ; }
Source:
public java.lang.String [ ] getPossibleValues ( java.lang.String prefix ) { return com.android.ide.eclipse.adt.internal.editors.uimodel.UiResourceAttributeNode.computeResourceStringMatches ( getUiParent ( ) , prefix ) ; }

Target:
public java.lang.String [ ] getPossibleValues ( java.lang.String prefix ) { return com.android.ide.eclipse.adt.internal.editors.uimodel.UiResourceAttributeNode.computeResourceStringMatches ( getUiParent ( ) , getDescriptor ( ) , prefix ) ; }
Source:
public long getDuration ( ) { if ( mDurationSet ) { return mDuration ; } else { return new android.animation.ValueAnimator ( ) . getDuration ( ) ; } }

Target:
public long getDuration ( ) { if ( mDurationSet ) { return mDuration ; } else { if ( ( mTempValueAnimator ) == null ) { mTempValueAnimator = new android.animation.ValueAnimator ( ) ; } return mTempValueAnimator.getDuration ( ) ; } }
Source:
native void rsnScriptSetVarVE ( long con , long id , int slot , byte [ ] val , long e , int [ ] dims ) ;

Target:
native void rsnScriptSetVarVE ( long con , long id , int slot , byte [ ] val , long e , int [ ] dims , boolean mUseInc ) ;
Source:
public void copyTo ( float [ ] d ) { validateIsFloat32 ( ) ; mRS.validate ( ) ; mRS.nAllocationRead ( getID ( mRS ) , d ) ; }

Target:
public void copy1DRangeTo ( int off , int count , float [ ] d ) { validateIsFloat32 ( ) ; copy1DRangeToUnchecked ( off , count , d , Element.DataType.FLOAT_32 , d.length ) ; }
Source:
public void selectAll ( ) { table.selectAll ( ) ; }

Target:
public void selectAll ( ) { mTable.selectAll ( ) ; }
Source:
protected boolean isVertical ( com.android.ide.common.api.INode node ) { return com.android.ide.common.layout.LayoutConstants.VALUE_VERTICAL.equals ( node.getStringAttr ( com.android.ide.common.layout.LayoutConstants.ANDROID_URI , com.android.ide.common.layout.LayoutConstants.ATTR_ORIENTATION ) ) ; }

Target:
protected boolean isVertical ( com.android.ide.common.api.INode node ) { return com.android.ide.common.layout.LayoutConstants.VALUE_VERTICAL.equals ( node.getStringAttr ( com.android.util.XmlUtils.ANDROID_URI , com.android.ide.common.layout.LayoutConstants.ATTR_ORIENTATION ) ) ; }
Source:
void addFatal ( java.lang.String msg ) { if ( ( level ) < ( com.android.libcore.timezone.tzlookup.Errors.LEVEL_FATAL ) ) { level = com.android.libcore.timezone.tzlookup.Errors.LEVEL_FATAL ; } add ( msg ) ; }

Target:
void addFatal ( java.lang.String msg ) { level = java.lang.Math.max ( level , com.android.libcore.timezone.tzlookup.Errors.LEVEL_FATAL ) ; add ( msg ) ; }
Source:
private com.android.browser.Tab getPrevTab ( ) { return mTabControl.getTab ( java.lang.Math.max ( 0 , ( ( mTabControl.getCurrentPosition ( ) ) - 1 ) ) ) ; }

Target:
public void startVoiceRecognizer ( ) { android.content.Intent voice = new android.content.Intent ( android.speech.RecognizerIntent.ACTION_RECOGNIZE_SPEECH ) ; voice.putExtra ( RecognizerIntent.EXTRA_LANGUAGE_MODEL , RecognizerIntent.LANGUAGE_MODEL_FREE_FORM ) ; voice.putExtra ( RecognizerIntent.EXTRA_MAX_RESULTS , 1 ) ; mActivity.startActivityForResult ( voice , com.android.browser.Controller.VOICE_RESULT ) ; }
Source:
public java.util.Set < java.lang.Class < ? > > getTopLevelClassesRecursive ( ) { java.util.Set < java.lang.Class < ? > > set = com.google.android.collect.Sets.newHashSet ( ) ; addTopLevelClassesTo ( set ) ; return set ; }

Target:
public java.util.Set < java.lang.Class < ? > > getTopLevelClassesRecursive ( ) { java.util.Set < java.lang.Class < ? > > set = new java.util.HashSet < > ( ) ; addTopLevelClassesTo ( set ) ; return set ; }
Source:
com.android.builder.model.SourceProvider createSourceProvider ( java.io.File manifest ) { com.android.builder.model.SourceProvider provider = org.easymock.EasyMock.createNiceMock ( com.android.builder.model.SourceProvider.class ) ; org.easymock.EasyMock.expect ( provider.getManifestFile ( ) ) . andReturn ( manifest ) . anyTimes ( ) ; org.easymock.EasyMock.replay ( provider ) ; return provider ; }

Target:
com.android.builder.model.SourceProvider createSourceProvider ( java.io.File manifest ) { com.android.builder.model.SourceProvider provider = org.mockito.Mockito.mock ( com.android.builder.model.SourceProvider.class ) ; org.mockito.Mockito.when ( provider.getManifestFile ( ) ) . thenReturn ( manifest ) ; return provider ; }
Source:
public boolean handleInCallMmiCommands ( java.lang.String dialString ) { android.util.Log.e ( com.android.internal.telephony.cdma.CDMAPhone.LOG_TAG , "method handleInCallMmiCommands is NOT supported in CDMA!" ) ; return false ; }

Target:
public void registerForSuppServiceNotification ( android.os.Handler h , int what , java.lang.Object obj ) { android.telephony.Rlog.e ( com.android.internal.telephony.cdma.CDMAPhone.LOG_TAG , "method registerForSuppServiceNotification is NOT supported in CDMA!" ) ; }
Source:
public java.math.BigInteger getX ( ) { ensureReadParams ( ) ; return params.getX ( ) ; }

Target:
public java.math.BigInteger getX ( ) { if ( key.isEngineBased ( ) ) { throw new java.lang.UnsupportedOperationException ( "private key value X cannot be extracted" ) ; } ensureReadParams ( ) ; return params.getX ( ) ; }
Source:
public void onLinkPropertiesChanged ( android.net.Network network , android.net.LinkProperties newLp ) { handleLinkProp ( network , newLp ) ; recomputeOffloadExemptPrefixes ( ) ; }

Target:
public void onLost ( android.net.Network network ) { handleLost ( mCallbackType , network ) ; recomputeLocalPrefixes ( ) ; }
Source:
public static junit.framework.Test suite ( ) { return new junit.framework.TestSuite ( tests.api.javax.security.cert.X509CertificateTest.class ) ; }

Target:
public static junit.framework.Test suite ( ) { return new junit.framework.TestSuite ( org.apache.harmony.tests.javax.security.cert.X509CertificateTest.class ) ; }
Source:
public void testReplaceFwdLockedInternal ( ) { sampleReplaceFromRawResource ( ( ( PackageManager.INSTALL_REPLACE_EXISTING ) | ( PackageManager.INSTALL_FORWARD_LOCK ) ) ) ; }

Target:
public void testReplaceSdcard ( ) { if ( android.os.Environment.isExternalStorageEmulated ( ) ) { return ; } sampleReplaceFromRawResource ( ( ( android.content.pm.PackageManager.INSTALL_REPLACE_EXISTING ) | ( android.content.pm.PackageManager.INSTALL_EXTERNAL ) ) ) ; }
Source:
private void logFromVideoProvider ( java.lang.String toLog ) { com.android.server.telecom.Log.v ( this , ( "VP->IC: " + toLog ) ) ; }

Target:
private void logFromVideoProvider ( java.lang.String toLog ) { android.telecom.Log.v ( this , ( "VP->IC: " + toLog ) ) ; }
Source:
public void fileChanged ( org.eclipse.core.resources.IFile file , org.eclipse.core.resources.IMarkerDelta [ ] markerDeltas , int kind ) ;

Target:
public void fileChanged ( @ com.android.annotations.NonNull org.eclipse.core.resources.IFile file , @ com.android.annotations.NonNull org.eclipse.core.resources.IMarkerDelta [ ] markerDeltas , int kind , @ com.android.annotations.Nullable java.lang.String extension , int flags ) ;
Source:
private int contentToView ( int x ) { return java.lang.Math.round ( ( x * ( mActualScale ) ) ) ; }

Target:
int viewToContentX ( int x ) { return viewToContentDimension ( x ) ; }
Source:
public static java.lang.String currentPackageName ( ) { android.app.ActivityThread am = android.app.ActivityThread.currentActivityThread ( ) ; return ( am != null ) && ( ( am.mBoundApplication ) != null ) ? am.mBoundApplication.processName : null ; }

Target:
public static java.lang.String currentProcessName ( ) { android.app.ActivityThread am = android.app.ActivityThread.currentActivityThread ( ) ; return ( am != null ) && ( ( am.mBoundApplication ) != null ) ? am.mBoundApplication.processName : null ; }
Source:
public static void assumeNotNull ( java.lang.Object ... objects ) { org.junit.Assume.assumeThat ( java.util.Arrays.asList ( objects ) , org.junit.internal.matchers.Each.each ( org.hamcrest.CoreMatchers.notNullValue ( ) ) ) ; }

Target:
public static void assumeNotNull ( java.lang.Object ... objects ) { org.junit.Assume.assumeThat ( java.util.Arrays.asList ( objects ) , org.hamcrest.CoreMatchers.everyItem ( org.hamcrest.CoreMatchers.notNullValue ( ) ) ) ; }
Source:
boolean connectDebugger ( java.lang.String appName , int port ) ;

Target:
boolean connectDebugger ( java.lang.String appName , int appPort , int selectedPort ) ;
Source:
static java.lang.String lookupNsPrefix ( org.w3c.dom.Document doc , java.lang.String nsUri ) { return doc.lookupPrefix ( nsUri ) ; }

Target:
static java.lang.String lookupNsPrefix ( org.w3c.dom.Document doc , java.lang.String nsUri ) { return com.android.util.XmlUtils.lookupNamespacePrefix ( doc , nsUri ) ; }
Source:
public void imsSetEnhanced4gMode ( @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "enable" ) java.lang.Boolean enable ) { mImsManager.setEnhanced4gLteModeSettingForSlot ( enable ) ; }

Target:
public void imsSetEnhanced4gMode ( @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "enable" ) java.lang.Boolean enable ) { mImsManager.setEnhanced4gLteModeSetting ( enable ) ; }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setSuiteBuildNumber ( java.lang.String value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 128 ; suiteBuildNumber_ = value ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setSuiteVersion ( java.lang.String value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 128 ; suiteVersion_ = value ; onChanged ( ) ; return this ; }
Source:
public void test52887 ( ) throws java.lang.Exception { java.lang.String xml = "" + ( ( ( "<!--Comment-->\n" + "<RelativeLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" ) + "\t\t android:layout_width=\"match_parent\"\n" ) + " android:layout_height=\"match_parent\"/>\n" ) ; org.w3c.dom.Document doc = com.android.ide.common.xml.XmlPrettyPrinterTest.parse ( xml ) ; xml = com.android.ide.common.xml.XmlPrettyPrinter.prettyPrint ( doc ) ; assertEquals ( ( "" + ( ( ( ( "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n" + "<!-- Comment -->\n" ) + "<RelativeLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" ) + " android:layout_width=\"match_parent\"\n" ) + " android:layout_height=\"match_parent\" />\n" ) ) , xml ) ; }

Target:
public void test52887 ( ) throws java.lang.Exception { java.lang.String xml = "" + ( ( ( "<!--Comment-->\n" + "<RelativeLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" ) + "\t\t android:layout_width=\"match_parent\"\n" ) + " android:layout_height=\"match_parent\"/>\n" ) ; org.w3c.dom.Document doc = com.android.ide.common.xml.XmlPrettyPrinterTest.parse ( xml ) ; assertNotNull ( doc ) ; xml = com.android.ide.common.xml.XmlPrettyPrinter.prettyPrint ( doc , false ) ; assertEquals ( ( "" + ( ( ( ( "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n" + "<!-- Comment -->\n" ) + "<RelativeLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" ) + " android:layout_width=\"match_parent\"\n" ) + " android:layout_height=\"match_parent\" />\n" ) ) , xml ) ; }
Source:
public com.android.sched.util.codec.Formatter < ? > [ ] getFormatters ( ) ;

Target:
com.android.sched.util.print.Printer addResourceBundles ( @ javax.annotation.Nonnull java.util.ResourceBundle ... bundles ) ;
Source:
public long getTimeCacheMaxAge ( ) { return getSecureLong ( android.provider.Settings.Secure.NETSTATS_TIME_CACHE_MAX_AGE , android.text.format.DateUtils.DAY_IN_MILLIS ) ; }

Target:
public long getUidTagPersistBytes ( long def ) { return getGlobalLong ( android.provider.Settings.Global.NETSTATS_UID_TAG_PERSIST_BYTES , def ) ; }
Source:
void drain ( ) throws java.io.IOException { if ( ( pos ) == 0 ) { return ; } if ( blkmode ) { writeBlockHeader ( pos ) ; } out.write ( buf , 0 , pos ) ; pos = 0 ; }

Target:
void drain ( ) throws java.io.IOException { if ( ( pos ) == 0 ) { return ; } if ( blkmode ) { writeBlockHeader ( pos ) ; } out.write ( buf , 0 , pos ) ; pos = 0 ; warnIfClosed ( ) ; }
Source:
public void testClassPathFilePaths ( ) throws java.lang.Exception { java.io.File root = com.google.common.io.Files.createTempDir ( ) ; java.io.File projectDir = new java.io.File ( root , "prj" ) ; projectDir.mkdirs ( ) ; projectDir = com.android.tools.gradle.eclipse.GradleImportTest.createProject ( projectDir , "1 Weird 'name' of project!" , "test.pkg" ) ; java.io.File lib = new java.io.File ( root , "android-support-v7-appcompat" ) ; lib.mkdirs ( ) ; java.io.File classpath = new java.io.File ( projectDir , ".classpath" ) ; assertTrue ( classpath.exists ( ) ) ; classpath.delete ( ) ; com.google.common.io.Files.write ( ( ( "" + ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" + "<classpath>\n" ) + "\t<classpathentry kind=\"src\" path=\"src\"/>\n" ) + "\t<classpathentry kind=\"src\" path=\"gen\"/>\n" ) + "\t<classpathentry kind=\"con\" path=\"com.android.ide.eclipse.adt.ANDROID_FRAMEWORK\"/>\n" ) + "\t<classpathentry exported=\"true\" kind=\"con\" path=\"com.android.ide.eclipse.adt.DEPENDENCIES\"/>\n" ) + "\t<classpathentry kind=\"lib\" path=\"libs/basic-http-client-android-0.88.jar\"/>\n" ) + "\t<classpathentry kind=\"lib\" path=\"/opt/android-sdk/platforms/android-14/android.jar\">\n" ) + "\t\t<attributes>\n" ) + "\t\t\t<attribute name=\"javadoc_location\" value=\"file:/opt/android-sdk/docs/reference\"/>\n" ) + "\t\t</attributes>\n" ) + "\t\t<accessrules>\n" ) + "\t\t\t<accessrule kind=\"nonaccessible\" pattern=\"com/android/internal/**\"/>\n" ) + "\t\t</accessrules>\n" ) + "\t</classpathentry>\n" ) + "\t<classpathentry kind=\"lib\" path=\"libs/htmlcleaner-2.6.jar\"/>\n" ) + "\t<classpathentry exported=\"true\" kind=\"con\" path=\"com.android.ide.eclipse.adt.LIBRARIES\"/>\n" ) + "\t<classpathentry combineaccessrules=\"false\" kind=\"src\" path=\"/android-support-v7-appcompat\"/>\n" ) + "\t<classpathentry kind=\"output\" path=\"bin/classes\"/>\n" ) ) + ( "</classpath>" . replace ( '/' , java.io.File.separatorChar ) ) ) , classpath , com.google.common.base.Charsets.UTF_8 ) ; java.io.File imported = com.android.tools.gradle.eclipse.GradleImportTest.checkProject ( projectDir , ( ( ( ( ( ( ( "" + ( com.android.tools.gradle.eclipse.ImportSummary.MSG_HEADER ) ) + ( com.android.tools.gradle.eclipse.ImportSummary.MSG_FOLDER_STRUCTURE ) ) + "* $ROOT_PARENT/android-support-v7-appcompat/ => _1Weirdnameofproject/src/main/java/\n" ) + "* AndroidManifest.xml => _1Weirdnameofproject/src/main/AndroidManifest.xml\n" ) + "* res/ => _1Weirdnameofproject/src/main/res/\n" ) + "* src/ => _1Weirdnameofproject/src/main/java/\n" ) + ( com.android.tools.gradle.eclipse.ImportSummary.MSG_FOOTER ) ) , false ) ; com.android.tools.gradle.eclipse.GradleImportTest.deleteDir ( projectDir ) ; com.android.tools.gradle.eclipse.GradleImportTest.deleteDir ( imported ) ; }

Target:
public void customize ( com.android.tools.gradle.eclipse.GradleImport importer ) { importer.setGradleNameStyle ( false ) ; }
Source:
public void run ( ) { com.android.hierarchyviewer.HierarchyViewerApplication.getApp ( ) . showOverlayInLoupe ( com.android.hierarchyviewer.actions.ShowOverlayAction.sAction.isChecked ( ) ) ; }

Target:
public void run ( ) { com.android.hierarchyviewer.HierarchyViewerApplication.getMainWindow ( ) . showOverlayInLoupe ( com.android.hierarchyviewer.actions.ShowOverlayAction.sAction.isChecked ( ) ) ; }
Source:
public void setCellInfoListRateResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo ) { }

Target:
public void sendEnvelopeResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , java.lang.String commandResponse ) { responseString ( responseInfo , commandResponse ) ; }
Source:
public void isAvailable_throwException_shouldReturnFalse ( ) { org.mockito.Mockito.when ( mActivity.getSystemService ( Context.WIFI_P2P_SERVICE ) ) . thenThrow ( new java.lang.IllegalStateException ( ) ) ; com.google.common.truth.Truth.assertThat ( com.android.settings.wfd.WifiDisplaySettings.isAvailable ( mActivity ) ) . isFalse ( ) ; }

Target:
public void isAvailable_noWifiDirectFeature_shouldReturnFalse ( ) { org.mockito.Mockito.when ( mPackageManager.hasSystemFeature ( PackageManager.FEATURE_WIFI_DIRECT ) ) . thenReturn ( false ) ; com.google.common.truth.Truth.assertThat ( com.android.settings.wfd.WifiDisplaySettings.isAvailable ( mActivity ) ) . isFalse ( ) ; }
Source:
public void onConnectionServiceReleased ( com.android.server.telecom.ConnectionServiceFocusManager.ConnectionServiceFocus connectionServiceFocus ) { mEventHandler.obtainMessage ( com.android.server.telecom.ConnectionServiceFocusManager.MSG_RELEASE_CONNECTION_FOCUS , connectionServiceFocus ) . sendToTarget ( ) ; }

Target:
public void onConnectionServiceDeath ( com.android.server.telecom.ConnectionServiceFocusManager.ConnectionServiceFocus connectionServiceFocus ) { mEventHandler.obtainMessage ( com.android.server.telecom.ConnectionServiceFocusManager.MSG_CONNECTION_SERVICE_DEATH , new com.android.server.telecom.ConnectionServiceFocusManager.MessageArgs ( android.telecom.Log.createSubsession ( ) , "CSFM.oCSD" , connectionServiceFocus ) ) . sendToTarget ( ) ; }
Source:
public final boolean isPackageLocal ( ) { return ( ( access ) & ( ( ( org.jetbrains.asm4.Opcodes.ACC_PRIVATE ) | ( org.jetbrains.asm4.Opcodes.ACC_PROTECTED ) ) | ( org.jetbrains.asm4.Opcodes.ACC_PUBLIC ) ) ) == 0 ; }

Target:
public final boolean isPackageLocal ( ) { return ( ( access ) & ( ( ( org.jetbrains.org.objectweb.asm.Opcodes.ACC_PRIVATE ) | ( org.jetbrains.org.objectweb.asm.Opcodes.ACC_PROTECTED ) ) | ( org.jetbrains.org.objectweb.asm.Opcodes.ACC_PUBLIC ) ) ) == 0 ; }
Source:
public final com.android.jack.test.toolchain.Toolchain setAnnotationProcessorClass ( @ javax.annotation.Nonnull java.lang.Class < ? extends javax.annotation.processing.Processor > annotationProcessorClass ) { this . annotationProcessorClass = annotationProcessorClass ; return this ; }

Target:
public com.android.jack.test.toolchain.Toolchain addToClasspath ( @ javax.annotation.Nonnull java.io.File ... classpath ) { this . classpath.addAll ( com.google.common.collect.Lists.newArrayList ( classpath ) ) ; return this ; }
Source:
protected void ensureAll ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethod loaded ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
public void ensureAnnotation ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethod loaded , @ javax.annotation.Nonnull com.android.jack.ir.ast.JAnnotationType annotation ) { ensureAnnotations ( loaded ) ; }
Source:
public native java.lang.Object invoke ( java.lang.Object receiver , java.lang.Object ... args ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException , java.lang.reflect.InvocationTargetException ;

Target:
private native java.lang.Object invoke ( java.lang.Object receiver , java.lang.Object [ ] args , boolean accessible ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException , java.lang.reflect.InvocationTargetException ;