auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public static org.bouncycastle.crypto.Digest getSHA512 ( ) { return org.bouncycastle.crypto.digests.AndroidDigestFactory.FACTORY.getSHA512 ( ) ; }

Target:
public static org.bouncycastle.crypto.Digest getSHA512 ( ) { if ( ( org.bouncycastle.crypto.digests.AndroidDigestFactory.CONSCRYPT ) != null ) { try { return org.bouncycastle.crypto.digests.AndroidDigestFactory.CONSCRYPT.getSHA512 ( ) ; } catch ( java.lang.Exception ignored ) { } } return org.bouncycastle.crypto.digests.AndroidDigestFactory.BC.getSHA512 ( ) ; }
Source:
public void streamMethodUpdated ( int methodType ) throws android.os.RemoteException { listener.streamMethodUpdated ( methodType ) ; }

Target:
public void onStreamMethodUpdated ( int methodType ) { try { listener.streamMethodUpdated ( methodType ) ; } catch ( android.os.RemoteException e ) { onAppCallbackDied ( uid , subscriptionId ) ; } }
Source:
public boolean isRunProguard ( ) { return buildType.isRunProguard ( ) ; }

Target:
public boolean isMinifyEnabled ( ) { return buildType.isMinifyEnabled ( ) ; }
Source:
public boolean hasUnsupportedCritical ( ) { if ( ( critical ) == null ) { makeOidsLists ( ) ; } return hasUnsupported ; }

Target:
public boolean hasUnsupportedCritical ( ) { java.lang.Boolean resultHasUnsupported = hasUnsupported ; if ( resultHasUnsupported == null ) { makeOidsLists ( ) ; resultHasUnsupported = hasUnsupported ; } return resultHasUnsupported.booleanValue ( ) ; }
Source:
public java.lang.String getLongDescription ( ) { return mSource.getLongDescription ( ) ; }

Target:
public java.lang.String getLongDescription ( ) { if ( mSource.isEnabled ( ) ) { return mSource.getLongDescription ( ) ; } else { return "Loading from this site has been disabled. " + "To enable it, use Tools > Manage Add-ons Sites." ; } }
Source:
public com.android.layoutlib.api.SceneResult insertChild ( java.lang.Object parentView , com.android.layoutlib.api.IXmlPullParser childXml , int index , com.android.layoutlib.api.LayoutScene.IAnimationListener listener ) { return SceneStatus.NOT_IMPLEMENTED.createResult ( ) ; }

Target:
public com.android.ide.common.rendering.api.Result insertChild ( java.lang.Object parentView , com.android.ide.common.rendering.api.ILayoutPullParser childXml , int index , com.android.ide.common.rendering.api.IAnimationListener listener ) { return Status.NOT_IMPLEMENTED.createResult ( ) ; }
Source:
public void setSortingKey ( java.lang.String sortingKey ) { mSortingKey = sortingKey ; }

Target:
public void setSortingKey ( java.lang.String sortingKey ) { mSortingKey = sortingKey ; mSortedByName = ZoneGetter.KEY_DISPLAY_LABEL.equals ( sortingKey ) ; }
Source:
public static java.lang.String externalShortClassName ( java.lang.String externalClassName ) { int index = externalClassName.lastIndexOf ( ClassConstants.EXTERNAL_PACKAGE_SEPARATOR ) ; return externalClassName.substring ( ( index + 1 ) ) ; }

Target:
public static java.lang.String externalShortClassName ( java.lang.String externalClassName ) { int index = externalClassName.lastIndexOf ( JavaConstants.PACKAGE_SEPARATOR ) ; return externalClassName.substring ( ( index + 1 ) ) ; }
Source:
public void doQuit ( ) { quitNow ( ) ; }

Target:
public void cleanup ( ) { if ( ( mPhonebook ) != null ) { mPhonebook.cleanup ( ) ; } mAudioParams.clear ( ) ; }
Source:
public int addressType ( ) { if ( equals ( android.net.MacAddress.BROADCAST_ADDRESS ) ) { return android.net.MacAddress.TYPE_BROADCAST ; } if ( isMulticastAddress ( ) ) { return android.net.MacAddress.TYPE_MULTICAST ; } return android.net.MacAddress.TYPE_UNICAST ; }

Target:
public int getAddressType ( ) { if ( equals ( android.net.MacAddress.BROADCAST_ADDRESS ) ) { return android.net.MacAddress.TYPE_BROADCAST ; } if ( isMulticastAddress ( ) ) { return android.net.MacAddress.TYPE_MULTICAST ; } return android.net.MacAddress.TYPE_UNICAST ; }
Source:
public com.android.ide.eclipse.adt.editors.layout.gscripts.Rect set ( org.eclipse.swt.graphics.Rectangle swtRect ) { set ( swtRect.x , swtRect.y , swtRect.width , swtRect.height ) ; return this ; }

Target:
public com.android.ide.common.api.Rect set ( org.eclipse.swt.graphics.Rectangle swtRect ) { set ( swtRect.x , swtRect.y , swtRect.width , swtRect.height ) ; return this ; }
Source:
public void testGetName ( ) { java.lang.String name = "gps" ; android.location.LocationProvider locationProvider = mLocationManager.getProvider ( name ) ; assertEquals ( name , locationProvider.getName ( ) ) ; }

Target:
public void testGetName ( ) { android.location.LocationProvider locationProvider = mLocationManager.getProvider ( android.location.cts.LocationProviderTest.PROVIDER_NAME ) ; assertEquals ( android.location.cts.LocationProviderTest.PROVIDER_NAME , locationProvider.getName ( ) ) ; }
Source:
public void visitAnnotation ( proguard.classfile.util.Clazz clazz , proguard.classfile.util.Annotation annotation ) { annotation.referencedClasses = findReferencedClasses ( clazz.getName ( ) , clazz.getString ( annotation.u2typeIndex ) ) ; annotation.elementValuesAccept ( clazz , this ) ; }

Target:
public void visitLocalVariableTypeInfo ( proguard.classfile.util.Clazz clazz , proguard.classfile.util.Method method , proguard.classfile.util.CodeAttribute codeAttribute , proguard.classfile.util.LocalVariableTypeInfo localVariableTypeInfo ) { localVariableTypeInfo.referencedClasses = findReferencedClasses ( clazz.getName ( ) , localVariableTypeInfo.getSignature ( clazz ) ) ; }
Source:
protected void onSelected ( ) { getMainActivity ( ) . getOverlayManager ( ) . showRecentlyWatchedDialog ( ) ; }

Target:
protected void onSelected ( ) { getMainActivity ( ) . getOverlayManager ( ) . showDvrHistoryDialog ( ) ; }
Source:
boolean hasWriteObjectData ( ) { return hasWriteObjectData ; }

Target:
boolean hasWriteObjectData ( ) { requireInitialized ( ) ; return hasWriteObjectData ; }
Source:
public com.android.build.gradle.internal.dependency.LibraryDependencyImpl getNoDependencyRepresentation ( ) { return new com.android.build.gradle.internal.dependency.LibraryDependencyImpl ( getBundle ( ) , getBundleFolder ( ) , java.util.Collections.< com.android.builder.dependency.LibraryDependency > emptyList ( ) , getName ( ) , variantName , getProject ( ) , requestedCoordinates , resolvedCoordinates ) ; }

Target:
public com.android.build.gradle.internal.dependency.LibraryDependencyImpl getNonTransitiveRepresentation ( ) { return new com.android.build.gradle.internal.dependency.LibraryDependencyImpl ( getBundle ( ) , getBundleFolder ( ) , java.util.Collections.< com.android.builder.dependency.LibraryDependency > emptyList ( ) , getName ( ) , variantName , getProject ( ) , requestedCoordinates , resolvedCoordinates ) ; }
Source:
public static int internalMethodParameterSize ( java.lang.String internalMethodDescriptor , int accessFlags ) { return proguard.classfile.util.ClassUtil.internalMethodParameterSize ( internalMethodDescriptor , ( ( accessFlags & ( proguard.classfile.ClassConstants.INTERNAL_ACC_STATIC ) ) != 0 ) ) ; }

Target:
public static int internalMethodParameterSize ( java.lang.String internalMethodDescriptor , int accessFlags ) { return proguard.classfile.util.ClassUtil.internalMethodParameterSize ( internalMethodDescriptor , ( ( accessFlags & ( ClassConstants.ACC_STATIC ) ) != 0 ) ) ; }
Source:
com.android.ide.eclipse.adt.internal.assetstudio.AssetType getAssetType ( ) { return mChooseAssetPage.getAssetType ( ) ; }

Target:
public void init ( org.eclipse.ui.IWorkbench workbench , org.eclipse.jface.viewers.IStructuredSelection selection ) { setHelpAvailable ( false ) ; mInitialProject = guessProject ( selection ) ; mValues.project = mInitialProject ; }
Source:
public void setChecked ( boolean checked ) { super . setChecked ( checked ) ; mThumbPosition = ( checked ) ? getThumbScrollRange ( ) : 0 ; invalidate ( ) ; }

Target:
public void setChecked ( boolean checked ) { super . setChecked ( checked ) ; mThumbPosition = ( isChecked ( ) ) ? getThumbScrollRange ( ) : 0 ; invalidate ( ) ; }
Source:
public com.android.ahat.heapdump.Size getSize ( ) { return Size.ZERO ; }

Target:
public com.android.ahat.heapdump.Field [ ] getInstanceFields ( ) { return getBaseline ( ) . asClassObj ( ) . getInstanceFields ( ) ; }
Source:
public com.android.ims.internal.IImsMMTelFeature getEmergencyMMTelFeatureAndListen ( int slotId , com.android.ims.internal.IImsServiceFeatureCallback callback ) { enforceModifyPermission ( ) ; return com.android.internal.telephony.PhoneFactory.getImsResolver ( ) . getEmergencyMMTelFeatureAndListen ( slotId , callback ) ; }

Target:
public void enableIms ( int slotId ) { enforceModifyPermission ( ) ; com.android.internal.telephony.PhoneFactory.getImsResolver ( ) . enableIms ( slotId ) ; }
Source:
public static void doRecur ( java.lang.Runnable r ) { if ( r != null ) { r.run ( ) ; } art.Test1934.doRecur ( r ) ; }

Target:
public static void doRecurCnt ( java.lang.Runnable r , int cnt ) { if ( r != null ) { r.run ( ) ; } if ( cnt != 0 ) { art.Test1934.doRecurCnt ( r , ( cnt - 1 ) ) ; } }
Source:
public void doQuit ( ) { quitNow ( ) ; }

Target:
public void doQuit ( ) { android.util.Log.d ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.TAG , "doQuit" ) ; if ( ( mAudioManager ) != null ) { mAudioManager.setParameters ( "hfp_enable=false" ) ; } quitNow ( ) ; }
Source:
public void removeLintListener ( @ com.android.annotations.NonNull com.android.tools.lint.client.api.LintListener listener ) { mListeners.remove ( listener ) ; if ( ( mListeners.size ( ) ) == 0 ) { mListeners = null ; } }

Target:
public void removeLintListener ( @ com.android.annotations.NonNull com.android.tools.lint.client.api.LintListener listener ) { mListeners.remove ( listener ) ; if ( mListeners.isEmpty ( ) ) { mListeners = null ; } }
Source:
public V remove ( @ javax.annotation.Nullable java.lang.Object key ) { if ( set.remove ( key ) ) { @ java.lang.SuppressWarnings ( value = "unchecked" ) K k = ( ( K ) ( key ) ) ; return function.apply ( k ) ; } else { return null ; } }

Target:
public V get ( @ javax.annotation.Nullable java.lang.Object key ) { if ( com.google.common.collect.Collections2.safeContains ( backingSet ( ) , key ) ) { @ java.lang.SuppressWarnings ( value = "unchecked" ) K k = ( ( K ) ( key ) ) ; return function.apply ( k ) ; } else { return null ; } }
Source:
public void test_channelWithJoinWithoutSource ( ) throws java.lang.Exception { setup ( false ) ; assertEquals ( client , key.channel ( ) ) ; key.drop ( ) ; assertEquals ( client , key.channel ( ) ) ; }

Target:
public void test_channelWithJoinWithoutSource ( ) throws java.lang.Exception { init ( false ) ; assertEquals ( client , key.channel ( ) ) ; key.drop ( ) ; assertEquals ( client , key.channel ( ) ) ; }
Source:
void updateInCallButtonUiColors ( ) ;

Target:
void updateInCallButtonUiColors ( @ android.support.annotation.ColorInt int color ) ;
Source:
public boolean matches ( final java.lang.Object arg ) { return android.text.TextUtils.equals ( id , ( ( com.android.messaging.datamodel.data.ConversationListItemData ) ( arg ) ) . getConversationId ( ) ) ; }

Target:
public boolean matchesObject ( final java.lang.Object arg ) { return android.text.TextUtils.equals ( id , ( ( com.android.messaging.datamodel.data.ConversationListItemData ) ( arg ) ) . getConversationId ( ) ) ; }
Source:
public void tearDown ( ) { mAdapterService.cleanup ( ) ; com.android.bluetooth.btservice.Config.init ( android.support.test.InstrumentationRegistry.getTargetContext ( ) ) ; }

Target:
public void tearDown ( ) { mAdapterService.unregisterCallback ( mIBluetoothCallback ) ; mAdapterService.cleanup ( ) ; com.android.bluetooth.btservice.Config.init ( android.support.test.InstrumentationRegistry.getTargetContext ( ) ) ; }
Source:
public void setEcjArguments ( @ javax.annotation.Nonnull java.util.List < java.lang.String > ecjArguments ) { this . ecjArguments = ecjArguments ; }

Target:
public void setEcjExtraArguments ( @ javax.annotation.Nonnull java.util.List < java.lang.String > ecjArguments ) { this . ecjExtraArguments = ecjArguments ; }
Source:
private native void gattClientWriteCharacteristicNative ( int conn_id , int handle , int write_type , int auth_req , byte [ ] value ) ;

Target:
private native void gattClientWriteCharacteristicNative ( int connId , int handle , int writeType , int authReq , byte [ ] value ) ;
Source:
public com.android.ide.eclipse.gltrace.state.IGLProperty getProperty ( int key ) { return mSparseArray.get ( key ) ; }

Target:
public com.android.ide.eclipse.gltrace.state.IGLProperty getProperty ( int key ) { com.android.ide.eclipse.gltrace.state.IGLProperty p = mSparseArray.get ( key ) ; if ( ( p == null ) && ( mCreateOnAccess ) ) { add ( key ) ; p = mSparseArray.get ( key ) ; } return p ; }
Source:
public void run ( ) { selectDropped ( added ) ; }

Target:
public void run ( ) { selectionManager.selectDropped ( added ) ; }
Source:
public lombok.ast.AstVisitor createJavaVisitor ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.JavaContext context ) { return new com.android.tools.lint.checks.SupportAnnotationDetector.CallVisitor ( context ) ; }

Target:
public com.intellij.psi.JavaElementVisitor createPsiVisitor ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.JavaContext context ) { return new com.android.tools.lint.checks.SupportAnnotationDetector.CallVisitor ( context ) ; }
Source:
public void setNavigationIconHints ( int hints ) { if ( hints == ( mNavigationIconHints ) ) return ; mNavigationIconHints = hints ; if ( ( mNavigationBarView ) != null ) { mNavigationBarView.setNavigationIconHints ( hints ) ; } }

Target:
private void setNavigationIconHints ( int hints ) { if ( hints == ( mNavigationIconHints ) ) return ; mNavigationIconHints = hints ; if ( ( mNavigationBarView ) != null ) { mNavigationBarView.setNavigationIconHints ( hints ) ; } checkBarModes ( ) ; }
Source:
public static int NegSub1 ( int arg1 , int arg2 ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return - ( arg1 - arg2 ) ; }

Target:
public static int $noinline$NegSub1 ( int arg1 , int arg2 ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return - ( arg1 - arg2 ) ; }
Source:
public boolean contains ( java.lang.String key ) { return contains ( android.security.KeyStore.getBytes ( key ) ) ; }

Target:
public boolean contains ( java.lang.String key ) { return contains ( android.security.KeyStore.getKeyBytes ( key ) ) ; }
Source:
public void test_F32_1_SCALE20_05_inSqure ( ) { testReszie ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inX , Element.DataType.FLOAT_32 , 1 , 2.0F , 0.5F ) ; checkError ( ) ; }

Target:
public void test_F32_1_SCALE20_05_inSqure ( ) { testResize ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inX , Element.DataType.FLOAT_32 , 1 , 2.0F , 0.5F ) ; checkError ( ) ; }
Source:
public void addValue ( com.android.ide.common.rendering.api.AttrResourceValue attr ) { if ( ( mAttrMap ) == null ) { mAttrMap = new java.util.HashMap < java.lang.String , com.android.ide.common.rendering.api.AttrResourceValue > ( ) ; } mAttrMap.put ( attr.getName ( ) , attr ) ; }

Target:
public void addValue ( com.android.ide.common.rendering.api.AttrResourceValue attr ) { if ( ( mAttrMap ) == null ) { mAttrMap = new java.util.LinkedHashMap < java.lang.String , com.android.ide.common.rendering.api.AttrResourceValue > ( ) ; } mAttrMap.put ( attr.getName ( ) , attr ) ; }
Source:
public static com.android.dialer.app.calllog.IntentProvider getDuoInviteIntentProvider ( java.lang.String number ) { return new com.android.dialer.app.calllog.IntentProvider ( ) { @ java.lang.Override public android.content.Intent getIntent ( android.content.Context context ) { return com.android.dialer.duo.DuoComponent.get ( context ) . getDuo ( ) . getInviteIntent ( number ) . orNull ( ) ; } } ; }

Target:
public void logInteraction ( android.content.Context context ) { com.android.dialer.logging.Logger.get ( context ) . logImpression ( DialerImpression.Type.DUO_CALL_LOG_INVITE ) ; }
Source:
public void testInRootUpdatesRef ( ) { initInteraction ( ) ; org.hamcrest.Matcher < android.support.test.espresso.Root > testMatcher = org.hamcrest.Matchers.nullValue ( android.support.test.espresso.Root.class ) ; testInteraction.inRoot ( testMatcher ) ; assertEquals ( testMatcher , rootMatcherRef.get ( ) ) ; }

Target:
public void inRootUpdatesRef ( ) { initInteraction ( ) ; org.hamcrest.Matcher < android.support.test.espresso.Root > testMatcher = org.hamcrest.Matchers.nullValue ( android.support.test.espresso.Root.class ) ; testInteraction.inRoot ( testMatcher ) ; org.junit.Assert.assertEquals ( testMatcher , rootMatcherRef.get ( ) ) ; }
Source:
public static com.android.ide.common.repository.GradleCoordinate.ArtifactType getArtifactType ( @ com.android.annotations.Nullable java.lang.String name ) { if ( name != null ) { for ( com.android.ide.common.repository.GradleCoordinate.ArtifactType type : com.android.ide.common.repository.GradleCoordinate.ArtifactType.values ( ) ) { if ( type.myId.equalsIgnoreCase ( name ) ) { return type ; } } } return null ; }

Target:
public static com.android.ide.common.repository.GradleCoordinate.ArtifactType getArtifactType ( @ com.android.annotations.Nullable java.lang.String name ) { if ( name != null ) { for ( com.android.ide.common.repository.GradleCoordinate.ArtifactType type : com.android.ide.common.repository.GradleCoordinate.ArtifactType.values ( ) ) { if ( type.mId.equalsIgnoreCase ( name ) ) { return type ; } } } return null ; }
Source:
private boolean generate ( byte [ ] key ) { execute ( 'a' , key ) ; return ( mError ) == ( android.security.KeyStore.NO_ERROR ) ; }

Target:
public boolean generate ( java.lang.String key ) { try { return ( mBinder.generate ( key ) ) == ( android.security.KeyStore.NO_ERROR ) ; } catch ( android.os.RemoteException e ) { android.util.Log.w ( android.security.KeyStore.TAG , "Cannot connect to keystore" , e ) ; return false ; } }
Source:
void stopAdvertising ( com.android.bluetooth.gatt.AdvertiseClient client ) { if ( client == null ) { return ; } android.os.Message message = new android.os.Message ( ) ; message.what = com.android.bluetooth.gatt.AdvertiseManager.MSG_STOP_ADVERTISING ; message.obj = client ; mHandler.sendMessage ( message ) ; }

Target:
public void binderDied ( ) { if ( com.android.bluetooth.gatt.AdvertiseManager.DBG ) android.util.Log.d ( com.android.bluetooth.gatt.AdvertiseManager.TAG , "Binder is dead - unregistering advertising set" ) ; stopAdvertisingSet ( callback ) ; }
Source:
private static native java.lang.String runAccessibilityTestImpl ( java.lang.String [ ] publicSystemLibs , java.lang.String [ ] publicVendorLibs ) ;

Target:
public static native int getGlobal ( ) ;
Source:
public static native int EVP_PKEY_size ( int pkey ) ;

Target:
public static native int ENGINE_ctrl_cmd_string ( long engineRef , java.lang.String cmd , java.lang.String arg , int cmd_optional ) ;
Source:
public void test_getDisplayName ( ) { assertEquals ( "English (Canada,WIN32)" , testLocale.getDisplayName ( ) ) ; }

Target:
public void test_getDisplayName ( ) { assertEquals ( "English (Canada,WIN32)" , new java.util.Locale ( "en" , "CA" , "WIN32" ) . getDisplayName ( ) ) ; }
Source:
public int getDigests ( ) { if ( ( mDigests ) == null ) { throw new java.lang.IllegalStateException ( "Digests not specified" ) ; } return mDigests ; }

Target:
public java.lang.String [ ] getDigests ( ) { if ( ( mDigests ) == null ) { throw new java.lang.IllegalStateException ( "Digests not specified" ) ; } return android.security.ArrayUtils.cloneIfNotEmpty ( mDigests ) ; }
Source:
void onIncomingPostCallData ( long sessionId , @ android.support.annotation.NonNull com.android.dialer.multimedia.MultimediaData multimediaData ) ;

Target:
void onIncomingPostCallData ( @ android.support.annotation.NonNull android.content.BroadcastReceiver.PendingResult pendingResult , long sessionId , @ android.support.annotation.NonNull com.android.dialer.multimedia.MultimediaData multimediaData ) ;
Source:
public void TestNumberFormatTestTupleToString ( ) { new com.ibm.icu.dev.test.format.NumberFormatTestTuple ( ) . toString ( ) ; }

Target:
public void TestNumberFormatTestDataToString ( ) { new com.ibm.icu.dev.test.format.NumberFormatTestData ( ) . toString ( ) ; }
Source:
public void testDependenciesMinSdkVersion ( ) throws java.lang.Exception { mEnabled = java.util.Collections.singleton ( com.android.tools.lint.checks.GradleDetector.DEPENDENCY ) ; assertEquals ( ( "" + ( ( ( "build.gradle:13: Warning: Using the appcompat library when minSdkVersion >= 14 is not necessary [GradleDependency]\n" + " compile \'com.android.support:appcompat-v7:+\'\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "0 errors, 1 warnings\n" ) ) , lintProject ( "gradle/Dependencies14.gradle=>build.gradle" ) ) ; }

Target:
public void testDependenciesMinSdkVersion ( ) throws java.lang.Exception { mEnabled = java.util.Collections.singleton ( com.android.tools.lint.checks.GradleDetector.DEPENDENCY ) ; assertEquals ( ( "" + ( ( ( "build.gradle:13: Warning: Using the appcompat library when minSdkVersion >= 14 and compileSdkVersion < 21 is not necessary [GradleDependency]\n" + " compile \'com.android.support:appcompat-v7:+\'\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "0 errors, 1 warnings\n" ) ) , lintProject ( "gradle/Dependencies14.gradle=>build.gradle" ) ) ; }
Source:
private libcore.tzdata.update2.DistroVersion createDistroVersion ( int majorFormatVersion , int minorFormatVersion ) throws libcore.tzdata.update2.DistroException { return new libcore.tzdata.update2.DistroVersion ( majorFormatVersion , minorFormatVersion , libcore.tzdata.update2.DistroVersionTest.VALID_RULES_VERSION , 3 ) ; }

Target:
private libcore.tzdata.shared2.DistroVersion createDistroVersion ( int majorFormatVersion , int minorFormatVersion ) throws libcore.tzdata.shared2.DistroException { return new libcore.tzdata.shared2.DistroVersion ( majorFormatVersion , minorFormatVersion , libcore.tzdata.shared2.DistroVersionTest.VALID_RULES_VERSION , 3 ) ; }
Source:
protected native void datagramSocketClose ( ) ;

Target:
protected void datagramSocketClose ( ) { try { libcore.io.IoBridge.closeAndSignalBlockedThreads ( fd ) ; } catch ( java.io.IOException ignored ) { } }
Source:
public void reopenTls ( ) { com.android.email.mail.transport.SmtpSenderUnitTests.assertTrue ( mOpen ) ; com.android.email.mail.transport.SmtpSenderUnitTests.assertTrue ( mTlsAllowed ) ; com.android.email.mail.transport.SmtpSenderUnitTests.fail ( "reopenTls() not implemented" ) ; }

Target:
public void reopenTls ( ) { com.android.email.mail.transport.SmtpSenderUnitTests.assertTrue ( mOpen ) ; com.android.email.mail.transport.SmtpSenderUnitTests.assertTrue ( mTlsAllowed ) ; mTlsReopened = true ; }
Source:
static int getDescriptor ( long address ) { return sun.nio.ch.KQueue.unsafe.getInt$ ( ( address + ( sun.nio.ch.KQueue.OFFSET_IDENT ) ) ) ; }

Target:
static int getDescriptor ( long address ) { return sun.nio.ch.KQueue.unsafe.getInt ( ( address + ( sun.nio.ch.KQueue.OFFSET_IDENT ) ) ) ; }
Source:
public com.google.i18n.phonenumbers.Phonenumber.PhoneNumber parse ( java.lang.String numberToParse , java.lang.String defaultRegion ) throws com.google.i18n.phonenumbers.NumberParseException { com.google.i18n.phonenumbers.Phonenumber.PhoneNumber phoneNumber = new com.google.i18n.phonenumbers.Phonenumber.PhoneNumber ( ) ; parse ( numberToParse , defaultRegion , phoneNumber ) ; return phoneNumber ; }

Target:
public void parseAndKeepRawInput ( java.lang.CharSequence numberToParse , java.lang.String defaultRegion , com.google.i18n.phonenumbers.Phonenumber.PhoneNumber phoneNumber ) throws com.google.i18n.phonenumbers.NumberParseException { parseHelper ( numberToParse , defaultRegion , true , true , phoneNumber ) ; }
Source:
public final java.nio.charset.CharsetDecoder onMalformedInput ( java.nio.charset.CodingErrorAction newAction ) { if ( newAction == null ) { throw new java.lang.IllegalArgumentException ( ) ; } malformedInputAction = newAction ; implOnMalformedInput ( newAction ) ; return this ; }

Target:
public final java.nio.charset.CharsetDecoder onMalformedInput ( java.nio.charset.CodingErrorAction newAction ) { if ( newAction == null ) { throw new java.lang.IllegalArgumentException ( "newAction == null" ) ; } malformedInputAction = newAction ; implOnMalformedInput ( newAction ) ; return this ; }
Source:
public int getCarrierPrivilegeStatus ( android.content.pm.PackageInfo packageInfo ) { return ( mCarrierPrivilegeRules ) == null ? android.telephony.TelephonyManager.CARRIER_PRIVILEGE_STATUS_RULES_NOT_LOADED : mCarrierPrivilegeRules.getCarrierPrivilegeStatus ( packageInfo ) ; }

Target:
public int getCarrierPrivilegeStatus ( android.content.pm.PackageInfo packageInfo ) { com.android.internal.telephony.uicc.UiccCarrierPrivilegeRules carrierPrivilegeRules = getCarrierPrivilegeRules ( ) ; return carrierPrivilegeRules == null ? android.telephony.TelephonyManager.CARRIER_PRIVILEGE_STATUS_RULES_NOT_LOADED : carrierPrivilegeRules.getCarrierPrivilegeStatus ( packageInfo ) ; }
Source:
public void setup ( ) { put ( "Signature.FOO" , MockSignatureSpi.AllKeyTypes.class . getName ( ) ) ; }

Target:
public void setup ( ) { put ( "Signature.FOO" , MockSignatureSpi.SpecificKeyTypes2.class . getName ( ) ) ; put ( "Signature.FOO SupportedKeyClasses" , libcore.java.security.MockPrivateKey2.class . getName ( ) ) ; }
Source:
public native T newInstance ( java.lang.Object ... args ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException , java.lang.InstantiationException , java.lang.reflect.InvocationTargetException ;

Target:
public native T newInstance ( java.lang.Object [ ] args , boolean accessible ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException , java.lang.InstantiationException , java.lang.reflect.InvocationTargetException ;
Source:
public boolean isBackgroundNetwork ( ) { return ( ( ! ( isVPN ( ) ) ) && ( ( numForegroundNetworkRequests ( ) ) == 0 ) ) && ( ( mNumBackgroundNetworkRequests ) > 0 ) ; }

Target:
public boolean isBackgroundNetwork ( ) { return ( ( ( ! ( isVPN ( ) ) ) && ( ( numForegroundNetworkRequests ( ) ) == 0 ) ) && ( ( mNumBackgroundNetworkRequests ) > 0 ) ) && ( ! ( isLingering ( ) ) ) ; }
Source:
public java.lang.String listNetworks ( ) { return doStringCommand ( "LIST_NETWORKS" ) ; }

Target:
public boolean tearDown ( ) { if ( ! ( mWificondControl.tearDownInterfaces ( ) ) ) { android.util.Log.e ( com.android.server.wifi.WifiNative.TAG , "Failed to teardown interfaces from Wificond" ) ; return false ; } stopHal ( ) ; return true ; }
Source:
public void selectionChanged ( org.eclipse.ui.IWorkbenchPart part , org.eclipse.jface.viewers.ISelection selection ) { if ( getEditor ( ) . isEditorPageActive ( ) ) { mCheckOutlineAdapter = true ; } }

Target:
public com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor getDescriptor ( java.lang.String xmlLocalName ) { com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor unknown = mUnknownDescriptorMap.get ( xmlLocalName ) ; if ( unknown == null ) { unknown = createUnknownDescriptor ( xmlLocalName ) ; mUnknownDescriptorMap.put ( xmlLocalName , unknown ) ; } return unknown ; }
Source:
java.lang.reflect.Type [ ] getGenericExceptionTypes ( ) { return libcore.reflect.Types.getTypeArray ( getMethodOrConstructorGenericInfo ( ) . genericExceptionTypes , false ) ; }

Target:
public java.lang.reflect.Type [ ] getGenericExceptionTypes ( ) { return libcore.reflect.Types.getTypeArray ( getMethodOrConstructorGenericInfoInternal ( ) . genericExceptionTypes , false ) ; }
Source:
public void run ( ) { onDetachedFromWindow ( ) ; }

Target:
public void run ( ) { onVisibilityChanged ( changedView , visibility ) ; }
Source:
private org.chromium.android_webview.AwBrowserContext getBrowserContextLocked ( ) { assert java.lang.Thread.holdsLock ( mLock ) ; assert mStarted ; if ( ( mBrowserContext ) == null ) { mBrowserContext = new org.chromium.android_webview.AwBrowserContext ( android.app.ActivityThread.currentApplication ( ) . getSharedPreferences ( com.android.webview.chromium.WebViewChromiumFactoryProvider.CHROMIUM_PREFS_NAME , Context.MODE_PRIVATE ) ) ; } return mBrowserContext ; }

Target:
private org.chromium.android_webview.AwBrowserContext getBrowserContextLocked ( ) { assert java.lang.Thread.holdsLock ( mLock ) ; assert mStarted ; if ( ( mBrowserContext ) == null ) { mBrowserContext = new org.chromium.android_webview.AwBrowserContext ( mWebViewPrefs ) ; } return mBrowserContext ; }
Source:
public void testMultipleUserField ( ) throws java.lang.Exception { final java.lang.String host = "http://multiple@users@url.com" ; java.net.URL url = new java.net.URL ( host ) ; assertNull ( url.getUserInfo ( ) ) ; assertTrue ( url.getHost ( ) . isEmpty ( ) ) ; }

Target:
public void testAtSignInUserInfo ( ) throws java.lang.Exception { try { new java.net.URL ( "http://user@userhost.com:password@host" ) ; fail ( ) ; } catch ( java.net.MalformedURLException expected ) { } }
Source:
public java.util.Set < java.util.Map.Entry < K , V > > entrySet ( ) { java.util.Set < java.util.Map.Entry < K , V > > es = entrySet ; return es != null ? es : ( entrySet = new EntrySet ( ) ) ; }

Target:
public java.util.Set < java.util.Map.Entry < K , V > > entrySet ( ) { java.util.concurrent.ConcurrentHashMap.EntrySetView < K , V > es ; return ( es = entrySet ) != null ? es : ( entrySet = new java.util.concurrent.ConcurrentHashMap.EntrySetView < K , V > ( this ) ) ; }
Source:
public com.android.test.common.fixture.GradleTestProject.Builder withName ( @ com.android.annotations.NonNull java.lang.String name ) { this . name = name ; return this ; }

Target:
public com.android.build.gradle.integration.common.fixture.GradleTestProject.Builder withName ( @ com.android.annotations.NonNull java.lang.String name ) { this . name = name ; return this ; }
Source:
public android.content.Intent getIntent ( android.content.Context context ) { return new android.content.Intent ( com.android.dialer.duo.DuoConstants.DUO_ACTIVATE_ACTION ) . setPackage ( DuoConstants.PACKAGE_NAME ) ; }

Target:
public android.content.Intent getIntent ( android.content.Context context ) { return com.android.dialer.duo.DuoComponent.get ( context ) . getDuo ( ) . getActivateIntent ( ) . orNull ( ) ; }
Source:
public static native void registerAppInfo ( java.lang.String appDir , java.lang.String processName , java.lang.String pkgname ) ;

Target:
public static native void registerAppInfo ( java.lang.String packageName , java.lang.String appDir , java.lang.String [ ] codePaths ) ;
Source:
protected java.util.Set < java.lang.String > getDefaultValues ( ) { return com.google.common.collect.Sets.newHashSet ( com.android.build.gradle.internal.dsl.AbiSplitOptions.ABI_LIST ) ; }

Target:
protected java.util.Set < java.lang.String > getDefaultValues ( ) { java.util.Set < java.lang.String > values = com.google.common.collect.Sets.newHashSet ( ) ; for ( com.android.build.gradle.internal.core.Abi abi : com.android.build.gradle.internal.NdkHandler.getAbiList ( ) ) { values.add ( abi.getName ( ) ) ; } return values ; }
Source:
public void run ( ) { pair.listener.failed ( from , cause ) ; }

Target:
void call ( com.google.common.util.concurrent.Service.Listener listener ) { listener.failed ( from , cause ) ; }
Source:
public java.lang.Boolean call ( ) { return performAccessibilityAction ( action , arguments ) ; }

Target:
public void run ( ) { setOverScrollMode ( mode ) ; }
Source:
public void setFromFieldPacker ( int xoff , int yoff , int component_number , android.renderscript.FieldPacker fp ) { setFromFieldPacker ( xoff , yoff , 0 , component_number , fp ) ; }

Target:
public void setAutoPadding ( boolean useAutoPadding ) { mAutoPadding = useAutoPadding ; }
Source:
public void dup ( ) { super . dup ( ) ; producerPop ( ) ; producerPush ( ) ; producerPush ( ) ; }

Target:
public boolean generalize ( proguard.evaluation.TracedStack other ) { return ( ( super . generalize ( other ) ) | ( producerStack.generalize ( other.producerStack ) ) ) | ( actualProducerStack.generalize ( other.actualProducerStack ) ) ; }
Source:
public static java.lang.String setProperty ( java.lang.String name , java.lang.String value ) { java.lang.System.checkPropertyName ( name ) ; return ( ( java.lang.String ) ( java.lang.System.getProperties ( ) . setProperty ( name , value ) ) ) ; }

Target:
public static java.lang.String getProperty ( java.lang.String name , java.lang.String defaultValue ) { java.lang.System.checkPropertyName ( name ) ; return java.lang.System.systemProperties.getProperty ( name , defaultValue ) ; }
Source:
protected void resetRecords ( ) { mIsimImpi = null ; mIsimDomain = null ; mIsimImpu = null ; mIsimIst = null ; mIsimPcscf = null ; auth_rsp = null ; mRecordsRequested = false ; mLockedRecordsRequested = false ; }

Target:
protected void resetRecords ( ) { mIsimImpi = null ; mIsimDomain = null ; mIsimImpu = null ; mIsimIst = null ; mIsimPcscf = null ; auth_rsp = null ; mRecordsRequested = false ; mLockedRecordsReqReason = LOCKED_RECORDS_REQ_REASON_NONE ; }
Source:
public static native long SSL_get_options ( int ssl ) ;

Target:
public static native byte [ ] i2d_X509_REVOKED ( long x509RevokedCtx ) ;
Source:
native void rsnScriptForEachClipped ( long con , long id , int slot , long ain , long aout , int xstart , int xend , int ystart , int yend , int zstart , int zend ) ;

Target:
native long rsnScriptIntrinsicCreate ( long con , int id , long eid , boolean mUseInc ) ;
Source:
public java.lang.Boolean call ( ) { return canGoBackOrForward ( steps ) ; }

Target:
public void run ( ) { goBackOrForward ( steps ) ; }
Source:
public com.android.sdklib.BuildToolInfo getBuildTool ( @ com.android.annotations.Nullable com.android.sdklib.repository.FullRevision revision ) { com.android.sdklib.repository.local.LocalPkgInfo pkg = getPkgInfo ( com.android.sdklib.repository.local.LocalSdk.PKG_BUILD_TOOLS , revision ) ; if ( pkg instanceof com.android.sdklib.repository.local.LocalBuildToolPkgInfo ) { return ( ( com.android.sdklib.repository.local.LocalBuildToolPkgInfo ) ( pkg ) ) . getBuildToolInfo ( ) ; } return null ; }

Target:
public com.android.sdklib.BuildToolInfo getBuildTool ( @ com.android.annotations.Nullable com.android.sdklib.repository.FullRevision revision ) { com.android.sdklib.repository.local.LocalPkgInfo pkg = getPkgInfo ( PkgType.PKG_BUILD_TOOLS , revision ) ; if ( pkg instanceof com.android.sdklib.repository.local.LocalBuildToolPkgInfo ) { return ( ( com.android.sdklib.repository.local.LocalBuildToolPkgInfo ) ( pkg ) ) . getBuildToolInfo ( ) ; } return null ; }
Source:
public java.lang.String getDisplayName ( ) { return getDisplayName ( java.util.Locale.getDefault ( java.util.Locale.Category.DISPLAY ) ) ; }

Target:
public java.lang.String getDisplayName ( ) { return icuCurrency.getDisplayName ( ) ; }
Source:
public boolean p2pFind ( ) { if ( ( com.android.server.wifi.WifiNative.HIDL_ENABLE ) && ( ( mSupplicantP2pIfaceHal ) != null ) ) { return mSupplicantP2pIfaceHal.find ( ) ; } else { return doBooleanCommand ( "P2P_FIND" ) ; } }

Target:
public boolean p2pReject ( java.lang.String deviceAddress ) { if ( ( com.android.server.wifi.WifiNative.HIDL_P2P_ENABLE ) && ( ( mSupplicantP2pIfaceHal ) != null ) ) { return mSupplicantP2pIfaceHal.reject ( deviceAddress ) ; } else { return doBooleanCommand ( ( "P2P_REJECT " + deviceAddress ) ) ; } }
Source:
public void postForkChild ( int debugFlags , java.lang.String instructionSet ) { dalvik.system.ZygoteHooks.nativePostForkChild ( token , debugFlags , instructionSet ) ; }

Target:
public void postForkChild ( int debugFlags , java.lang.String instructionSet ) { dalvik.system.ZygoteHooks.nativePostForkChild ( token , debugFlags , instructionSet ) ; java.lang.Math.setRandomSeedInternal ( java.lang.System.currentTimeMillis ( ) ) ; }
Source:
public void testGetName ( ) { java.lang.String name = "gps" ; android.location.LocationProvider locationProvider = mLocationManager.getProvider ( name ) ; assertEquals ( name , locationProvider.getName ( ) ) ; }

Target:
protected void tearDown ( ) throws java.lang.Exception { mLocationManager.removeTestProvider ( android.location.cts.LocationProviderTest.PROVIDER_NAME ) ; super . tearDown ( ) ; }
Source:
void expectCapabilitiesWith ( int capability , com.android.server.ConnectivityServiceTest.MockNetworkAgent agent ) { com.android.server.ConnectivityServiceTest.CallbackInfo cbi = expectCallback ( com.android.server.ConnectivityServiceTest.CallbackState.NETWORK_CAPABILITIES , agent ) ; android.net.NetworkCapabilities.NetworkCapabilities nc = ( ( android.net.NetworkCapabilities.NetworkCapabilities ) ( cbi.arg ) ) ; org.junit.Assert.assertTrue ( nc.hasCapability ( capability ) ) ; }

Target:
void expectCapabilitiesWithout ( int capability , com.android.server.ConnectivityServiceTest.MockNetworkAgent agent ) { com.android.server.ConnectivityServiceTest.CallbackInfo cbi = expectCallback ( com.android.server.ConnectivityServiceTest.CallbackState.NETWORK_CAPABILITIES , agent ) ; android.net.NetworkCapabilities nc = ( ( android.net.NetworkCapabilities ) ( cbi.arg ) ) ; org.junit.Assert.assertFalse ( nc.hasCapability ( capability ) ) ; }
Source:
public boolean imsIsVolteProvisionedOnDevice ( ) { return mImsManager.isVolteProvisionedOnDevice ( mContext ) ; }

Target:
public boolean imsIsVolteProvisionedOnDevice ( ) { return mImsManager.isVolteProvisionedOnDeviceForSlot ( ) ; }
Source:
public void setSoTimeout ( int readTimeoutMilliseconds ) throws java.net.SocketException { super . setSoTimeout ( readTimeoutMilliseconds ) ; this . readTimeoutMilliseconds = readTimeoutMilliseconds ; }

Target:
public synchronized void setSoTimeout ( int readTimeoutMilliseconds ) throws java.net.SocketException { if ( ( socket ) != ( this ) ) { socket.setSoTimeout ( readTimeoutMilliseconds ) ; } else { super . setSoTimeout ( readTimeoutMilliseconds ) ; } this . readTimeoutMilliseconds = readTimeoutMilliseconds ; }
Source:
public void annotate ( com.android.dx.util.ExceptionWithContext ex ) { locals.annotate ( ex ) ; stack.annotate ( ex ) ; }

Target:
public void annotate ( com.android.dex.util.ExceptionWithContext ex ) { locals.annotate ( ex ) ; stack.annotate ( ex ) ; }
Source:
boolean hasSanityChecks ( ) { return sanityChecks ; }

Target:
public void setInputSources ( @ javax.annotation.Nonnull java.util.List < java.io.File > inputSources ) { this . inputSources = inputSources ; }
Source:
public java.lang.String format ( java.lang.CharSequence ... values ) { return format ( new java.lang.StringBuilder ( ) , null , values ) . toString ( ) ; }

Target:
public java.lang.CharSequence get ( int index ) { if ( ( ( appendTo ) == null ) || ( ( appendTo ) != ( values [ index ] ) ) ) { return values [ index ] ; } return appendToCopy ; }
Source:
protected void execute ( org.eclipse.core.runtime.IProgressMonitor monitor ) throws java.lang.reflect.InvocationTargetException { createProjectAsync ( monitor , null , null , projectData ) ; }

Target:
protected void execute ( org.eclipse.core.runtime.IProgressMonitor monitor ) throws java.lang.reflect.InvocationTargetException { createProjectAsync ( monitor , mainData , testData , null , false ) ; }
Source:
public void getAllTableItemsWithFallback ( java.lang.String path , android.icu.impl.UResource.TableSink sink ) throws java.util.MissingResourceException { getAllContainerItemsWithFallback ( path , null , sink ) ; }

Target:
public void getAllArrayItemsWithFallback ( java.lang.String path , android.icu.impl.UResource.ArraySink sink ) throws java.util.MissingResourceException { getAllItemsWithFallback ( path , null , sink , null ) ; }
Source:
public void setBackgroundColor ( int color ) { setBackgroundDrawable ( new android.graphics.drawable.ColorDrawable ( color ) ) ; }

Target:
public void setBackgroundColor ( int color ) { if ( ( mBGDrawable ) instanceof android.graphics.drawable.ColorDrawable ) { ( ( android.graphics.drawable.ColorDrawable ) ( mBGDrawable ) ) . setColor ( color ) ; } else { setBackgroundDrawable ( new android.graphics.drawable.ColorDrawable ( color ) ) ; } }
Source:
static com.android.internal.telephony.gsm.GsmMmiCode newFromUssdUserInput ( java.lang.String ussdMessge , com.android.internal.telephony.gsm.GSMPhone phone , com.android.internal.telephony.gsm.UiccCardApplication app ) { com.android.internal.telephony.gsm.GsmMmiCode ret = new com.android.internal.telephony.gsm.GsmMmiCode ( phone , app ) ; ret.message = ussdMessge ; ret.state = State.PENDING ; ret.isPendingUSSD = true ; return ret ; }

Target:
static com.android.internal.telephony.gsm.GsmMmiCode newFromUssdUserInput ( java.lang.String ussdMessge , com.android.internal.telephony.gsm.GSMPhone phone , com.android.internal.telephony.uicc.UiccCardApplication app ) { com.android.internal.telephony.gsm.GsmMmiCode ret = new com.android.internal.telephony.gsm.GsmMmiCode ( phone , app ) ; ret.message = ussdMessge ; ret.state = State.PENDING ; ret.isPendingUSSD = true ; return ret ; }
Source:
public native java.lang.reflect.Method [ ] getDeclaredMethodsUnchecked ( boolean publicOnly ) ;

Target:
private native java.lang.reflect.Constructor < ? > [ ] getDeclaredConstructorsInternal ( boolean publicOnly ) ;
Source:
public boolean hasCapability ( @ android.net.NetworkCapabilities.NetCapability int capability ) { if ( ( capability < ( android.net.NetworkCapabilities.MIN_NET_CAPABILITY ) ) || ( capability > ( android.net.NetworkCapabilities.MAX_NET_CAPABILITY ) ) ) { return false ; } return ( ( mNetworkCapabilities ) & ( 1 << capability ) ) != 0 ; }

Target:
private static boolean isValidCapability ( @ android.net.NetworkCapabilities.NetCapability int capability ) { return ( capability >= ( android.net.NetworkCapabilities.MIN_NET_CAPABILITY ) ) && ( capability <= ( android.net.NetworkCapabilities.MAX_NET_CAPABILITY ) ) ; }
Source:
public void load ( java.lang.String filename ) { load0 ( dalvik.system.VMStack.getStackClass2 ( ) , filename ) ; }

Target:
public void load ( java.lang.String filename ) { load0 ( dalvik.system.VMStack.getStackClass1 ( ) , filename ) ; }
Source:
public void sendMessage ( android.view.View view ) { android.content.Intent intent = new android.content.Intent ( this , com.example.android.multiproject.ShowPeopleActivity.class ) ; startActivity ( intent ) ; }

Target:
public void sendMessage ( android.view.View view ) { android.content.Intent intent = new android.content.Intent ( this , com.example.android.multiproject.library.ShowPeopleActivity.class ) ; startActivity ( intent ) ; }
Source:
public void setPeriodicAdvertisingData ( android.bluetooth.le.AdvertiseData data ) { try { gatt.setPeriodicAdvertisingData ( this . advertiserId , data ) ; } catch ( android.os.RemoteException e ) { android.util.Log.e ( android.bluetooth.le.AdvertisingSet.TAG , "remote exception - " , e ) ; } }

Target:
public void setPeriodicAdvertisingData ( android.bluetooth.le.AdvertiseData periodicData ) { try { gatt.setPeriodicAdvertisingData ( this . advertiserId , periodicData ) ; } catch ( android.os.RemoteException e ) { android.util.Log.e ( android.bluetooth.le.AdvertisingSet.TAG , "remote exception - " , e ) ; } }
Source:
native void rsnAllocationRead ( int con , int id , byte [ ] d ) ;

Target:
native void rsnAllocationRead ( int con , int id , java.lang.Object d , int dt ) ;
Source:
public com.android.ddmlib.RawImage getScreenshot ( ) throws java.io.IOException { return com.android.ddmlib.AdbHelper.getFrameBuffer ( AndroidDebugBridge.sSocketAddr , this ) ; }

Target:
public com.android.ddmlib.RawImage getScreenshot ( ) throws java.io.IOException { return com.android.ddmlib.AdbHelper.getFrameBuffer ( com.android.ddmlib.AndroidDebugBridge.getSocketAddress ( ) , this ) ; }
Source:
public void onUiShowing ( boolean showing ) { if ( showing ) { hide ( ) ; } else { if ( com.android.dialer.telecom.TelecomUtil.isInCall ( context ) ) { show ( ) ; } } }

Target:
public void onUiShowing ( boolean showing ) { if ( showing ) { hide ( ) ; } else { if ( com.android.dialer.telecom.TelecomUtil.isInManagedCall ( context ) ) { show ( ) ; } } }
Source:
public void setWebContentsDebuggingEnabled ( boolean enable ) { if ( ! ( android.os.Build.IS_DEBUGGABLE ) ) { this . setWebContentsDebuggingEnabled ( enable ) ; } }

Target:
public void setWebContentsDebuggingEnabled ( boolean enable ) { if ( ! ( com.android.webview.chromium.WebViewChromiumFactoryProvider.isBuildDebuggable ( ) ) ) { this . setWebContentsDebuggingEnabled ( enable ) ; } }
Source:
public void setEnabled ( boolean enabled ) { mEnabled = enabled ; }

Target:
public static boolean setEnabled ( com.android.tv.menu.MenuAction action , boolean enabled ) { boolean changed = ( action.mEnabled ) != enabled ; action.mEnabled = enabled ; return changed ; }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent arg0 ) { boolean sizeMode = mSdCardSizeRadio.getSelection ( ) ; enableSdCardWidgets ( sizeMode ) ; validatePage ( ) ; }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { reloadSkinCombo ( ) ; validatePage ( ) ; }
Source:
private void testScriptSide ( com.android.rs.test.RenderScript pRS ) { com.android.rs.test.ScriptC_sampler s = new com.android.rs.test.ScriptC_sampler ( pRS ) ; pRS.setMessageHandler ( mRsMessage ) ; initializeGlobals ( pRS , s ) ; s.invoke_sampler_test ( ) ; pRS.finish ( ) ; waitForMessage ( ) ; }

Target:
private void testScriptSide ( android.renderscript.RenderScript pRS ) { com.android.rs.test.ScriptC_sampler s = new com.android.rs.test.ScriptC_sampler ( pRS ) ; pRS.setMessageHandler ( mRsMessage ) ; initializeGlobals ( pRS , s ) ; s.invoke_sampler_test ( ) ; pRS.finish ( ) ; waitForMessage ( ) ; }
Source:
java.util.Collection < java.io.File > getJniDirectories ( ) ;

Target:
java.util.Collection < java.io.File > getCDirectories ( ) ;
Source:
private static android.net.wifi.hotspot2.pps.Credential createCredentialWithSimCredential ( ) { android.net.wifi.hotspot2.pps.Credential.SimCredential simCred = new android.net.wifi.hotspot2.pps.Credential.SimCredential ( ) ; simCred.imsi = "imsi" ; simCred.eapType = 1 ; return android.net.wifi.hotspot2.pps.CredentialTest.createCredential ( null , null , simCred , null , null , null ) ; }

Target:
private static android.net.wifi.hotspot2.pps.Credential createCredentialWithSimCredential ( ) { android.net.wifi.hotspot2.pps.Credential.SimCredential simCred = new android.net.wifi.hotspot2.pps.Credential.SimCredential ( ) ; simCred.imsi = "1234*" ; simCred.eapType = android.net.wifi.EAPConstants.EAP_SIM ; return android.net.wifi.hotspot2.pps.CredentialTest.createCredential ( null , null , simCred , null , null , null ) ; }
Source:
public void test_RSA_private_encrypt_null_key_Failure ( ) throws java.lang.Exception { try { org.conscrypt.NativeCrypto.RSA_private_encrypt ( 0 , new byte [ 0 ] , new byte [ 0 ] , 0 , 0 ) ; fail ( ) ; } catch ( java.lang.NullPointerException expected ) { } }

Target:
public void test_RSA_public_encrypt_null_key_Failure ( ) throws java.lang.Exception { try { org.conscrypt.NativeCrypto.RSA_public_encrypt ( 0 , new byte [ 0 ] , new byte [ 0 ] , org.conscrypt.NativeCryptoTest.NULL_EVP_PKEY , 0 ) ; fail ( ) ; } catch ( java.lang.NullPointerException expected ) { } }
Source:
public char [ ] getDigits ( ) { return digits ; }

Target:
public char [ ] getDigits ( ) { return digits.clone ( ) ; }
Source:
private static org.chromium.base.SystemMessageHandler create ( long messagePumpDelegateNative ) { return new org.chromium.base.SystemMessageHandler ( messagePumpDelegateNative ) ; }

Target:
private static org.chromium.base.SystemMessageHandler create ( long messagePumpDelegateNative , long messagePumpNative ) { return new org.chromium.base.SystemMessageHandler ( messagePumpDelegateNative , messagePumpNative ) ; }
Source:
static com.android.sched.vfs.VPath getFilePath ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface type ) { return new com.android.sched.vfs.VPath ( ( ( com.android.jack.ir.formatter.BinaryQualifiedNameFormatter.getFormatter ( ) . getName ( type ) ) + ( com.android.jack.backend.dex.DexWriter.DEX_FILE_EXTENSION ) ) , '/' ) ; }

Target:
static com.android.sched.vfs.VPath getFilePath ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface type ) { return new com.android.sched.vfs.VPath ( ( ( com.android.jack.ir.formatter.BinaryQualifiedNameFormatter.getFormatter ( ) . getName ( type ) ) + ( BinaryKind.DEX.getFileExtension ( ) ) ) , '/' ) ; }