auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public com.android.build.gradle.internal.dsl.BuildType consumerProguardFiles ( java.lang.Object ... proguardFileArray ) { consumerProguardFiles.addAll ( project.files ( proguardFileArray ) . files ) ; return this ; }

Target:
public com.android.build.gradle.internal.dsl.BuildType consumerProguardFiles ( @ com.android.annotations.NonNull java.lang.Object ... proguardFileArray ) { getConsumerProguardFiles ( ) . addAll ( project.files ( proguardFileArray ) . getFiles ( ) ) ; return this ; }
Source:
public boolean onCreate ( ) { databaseHelper = new com.android.dialer.calllog.database.AnnotatedCallLogDatabaseHelper ( getContext ( ) , com.android.dialer.calllog.database.AnnotatedCallLogContentProvider.MAX_ROWS ) ; return true ; }

Target:
public boolean onCreate ( ) { databaseHelper = com.android.dialer.calllog.database.CallLogDatabaseComponent.get ( getContext ( ) ) . annotatedCallLogDatabaseHelper ( ) ; return true ; }
Source:
public static java.text.Collator getInstance ( java.util.Locale locale ) { if ( locale == null ) { throw new java.lang.NullPointerException ( "locale == null" ) ; } return new java.text.RuleBasedCollator ( ( ( java.text.RuleBasedCollator ) ( java.text.com.ibm.icu.text.Collator.getInstance ( locale ) ) ) ) ; }

Target:
public static java.text.Collator getInstance ( java.util.Locale locale ) { if ( locale == null ) { throw new java.lang.NullPointerException ( "locale == null" ) ; } return new java.text.RuleBasedCollator ( new libcore.icu.RuleBasedCollatorICU ( locale ) ) ; }
Source:
public void callSessionStarted ( com.android.ims.internal.IImsCallSession i , com.android.ims.ImsCallProfile imsCallProfile ) throws android.os.RemoteException { mNewListener.callSessionInitiated ( imsCallProfile ) ; }

Target:
public void callSessionStarted ( com.android.ims.internal.IImsCallSession i , android.telephony.ims.ImsCallProfile imsCallProfile ) throws android.os.RemoteException { mNewListener.callSessionInitiated ( imsCallProfile ) ; }
Source:
public void acknowledgeSmsReport ( int token , int messageRef , int result ) throws com.android.ims.ImsException { try { mMmTelFeatureConnection.acknowledgeSmsReport ( token , messageRef , result ) ; } catch ( android.os.RemoteException e ) { throw new com.android.ims.ImsException ( "acknowledgeSmsReport()" , e , ImsReasonInfo.CODE_LOCAL_IMS_SERVICE_DOWN ) ; } }

Target:
public void acknowledgeSmsReport ( int token , int messageRef , int result ) throws com.android.ims.ImsException { try { mMmTelFeatureConnection.acknowledgeSmsReport ( token , messageRef , result ) ; } catch ( android.os.RemoteException e ) { throw new com.android.ims.ImsException ( "acknowledgeSmsReport()" , e , android.telephony.ims.ImsReasonInfo.CODE_LOCAL_IMS_SERVICE_DOWN ) ; } }
Source:
private android.content.Intent getIntent ( int position ) { com.android.cts.verifier.TestListAdapter adapter = getListAdapter ( ) ; com.android.cts.verifier.TestListAdapter.TestListItem item = adapter.getItem ( position ) ; return item.intent ; }

Target:
private android.content.Intent getIntent ( int position ) { com.android.cts.verifier.TestListAdapter.TestListItem item = mAdapter.getItem ( position ) ; return item.intent ; }
Source:
public float length ( ) { return ( ( float ) ( java.lang.Math.sqrt ( ( ( ( x ) * ( x ) ) + ( ( y ) * ( y ) ) ) ) ) ) ; }

Target:
public float length ( ) { return ( ( float ) ( java.lang.Math.hypot ( x , y ) ) ) ; }
Source:
public void test_compareTo_ObjectNull ( ) { TEST_2007_07_15.compareTo ( null ) ; }

Target:
public void test_isAfter_ObjectNull ( ) { tck.java.time.TCKLocalDate.TEST_2007_07_15.isAfter ( null ) ; }
Source:
public void visitVarInsn ( int opcode , int var ) { printer.visitVarInsn ( opcode , var ) ; printTypeOfOperandStack ( ) ; super . visitVarInsn ( opcode , var ) ; }

Target:
public void visitFieldInsn ( int opcode , java.lang.String owner , java.lang.String name , java.lang.String desc ) { printer.visitFieldInsn ( opcode , owner , name , desc ) ; printTypeOfOperandStackTop ( ) ; super . visitFieldInsn ( opcode , owner , name , desc ) ; }
Source:
public void enableVideoCalling ( boolean enable ) { enforceModifyPermission ( ) ; com.android.ims.ImsManager.setVtSetting ( mPhone.getContext ( ) , enable ) ; }

Target:
public void enableVideoCalling ( boolean enable ) { enforceModifyPermission ( ) ; com.android.ims.ImsManager.getInstance ( mPhone.getContext ( ) , mPhone.getPhoneId ( ) ) . setVtSetting ( enable ) ; }
Source:
static float $opt$CharToFloat ( char a ) { return ( ( float ) ( a ) ) ; }

Target:
static short $opt$CharToShort ( char a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( short ) ( a ) ) ; }
Source:
public static boolean isValid ( java.lang.String recipient ) { if ( com.android.mms.MmsConfig.DISABLE_MMS ) { return com.android.mms.ui.RecipientList.Recipient.isPhoneNumber ( recipient ) ; } return ( com.android.mms.ui.RecipientList.Recipient.isPhoneNumber ( recipient ) ) || ( android.provider.Telephony.Mms.isEmailAddress ( recipient ) ) ; }

Target:
public static boolean isValid ( java.lang.String recipient ) { if ( ! ( com.android.mms.MmsConfig.getMmsEnabled ( ) ) ) { return com.android.mms.ui.RecipientList.Recipient.isPhoneNumber ( recipient ) ; } return ( com.android.mms.ui.RecipientList.Recipient.isPhoneNumber ( recipient ) ) || ( android.provider.Telephony.Mms.isEmailAddress ( recipient ) ) ; }
Source:
public void run ( ) { setPictureListener ( listener ) ; }

Target:
public void run ( ) { documentHasImages ( response ) ; }
Source:
public void setUp ( ) throws java.lang.Exception { mContext = getTestContext ( ) ; super . setUp ( ) ; }

Target:
public void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; mContext = android.support.test.InstrumentationRegistry.getTargetContext ( ) ; }
Source:
protected abstract void sendData ( java.lang.String destAddr , java.lang.String scAddr , int destPort , byte [ ] data , android.app.PendingIntent sentIntent , android.app.PendingIntent deliveryIntent ) ;

Target:
private void sendSubmitPdu ( com.android.internal.telephony.SMSDispatcher.SmsTracker tracker ) { if ( shouldBlockSms ( ) ) { android.telephony.Rlog.d ( com.android.internal.telephony.SMSDispatcher.TAG , "Block SMS in Emergency Callback mode" ) ; tracker.onFailed ( mContext , SmsManager.RESULT_ERROR_NO_SERVICE , 0 ) ; } else { sendRawPdu ( tracker ) ; } }
Source:
public void setGsmBroadcastConfigResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo ) { }

Target:
public void getBasebandVersionResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , java.lang.String version ) { responseString ( responseInfo , version ) ; }
Source:
private void verifyPnoNetworkFoundRecieved ( org.mockito.InOrder order , android.os.Handler handler , int listenerId , android.net.wifi.ScanResult [ ] expected ) { android.os.Message scanResultMessage = com.android.server.wifi.scanner.WifiScanningServiceTest.verifyHandleMessageAndGetMessage ( order , handler , WifiScanner.CMD_PNO_NETWORK_FOUND ) ; assertPnoNetworkFoundMessage ( listenerId , expected , scanResultMessage ) ; }

Target:
private void verifyPnoNetworkFoundReceived ( org.mockito.InOrder order , android.os.Handler handler , int listenerId , android.net.wifi.ScanResult [ ] expected ) { android.os.Message scanResultMessage = com.android.server.wifi.scanner.WifiScanningServiceTest.verifyHandleMessageAndGetMessage ( order , handler , WifiScanner.CMD_PNO_NETWORK_FOUND ) ; assertPnoNetworkFoundMessage ( listenerId , expected , scanResultMessage ) ; }
Source:
public void runActivity ( @ org.jetbrains.annotations.NotNull final com.intellij.openapi.project.Project project ) { if ( com.intellij.openapi.application.ApplicationManager.getApplication ( ) . isUnitTestMode ( ) ) return ; com.intellij.openapi.startup.StartupManager.getInstance ( project ) . registerPostStartupActivity ( new org.jetbrains.plugins.gradle.integrations.maven.ImportMavenRepositoriesTask ( project ) ) ; }

Target:
public void runActivity ( @ org.jetbrains.annotations.NotNull final com.intellij.openapi.project.Project project ) { if ( com.intellij.openapi.application.ApplicationManager.getApplication ( ) . isUnitTestMode ( ) ) return ; com.intellij.openapi.project.DumbService.getInstance ( project ) . smartInvokeLater ( new org.jetbrains.plugins.gradle.integrations.maven.ImportMavenRepositoriesTask ( project ) ) ; }
Source:
private java.lang.String getRootPackage ( ) { com.android.tools.idea.rendering.ManifestInfo manifestInfo = com.android.tools.idea.rendering.ManifestInfo.get ( myAndroidModule ) ; java.lang.String rootPackage = manifestInfo.getPackage ( ) ; return rootPackage.trim ( ) . isEmpty ( ) ? null : rootPackage ; }

Target:
private java.lang.String getRootPackage ( ) { com.android.tools.idea.model.ManifestInfo manifestInfo = com.android.tools.idea.model.ManifestInfo.get ( myAndroidModule ) ; java.lang.String rootPackage = manifestInfo.getPackage ( ) ; return rootPackage.trim ( ) . isEmpty ( ) ? null : rootPackage ; }
Source:
public static org.hamcrest.org.hamcrest.Matcher < java.lang.Object > instanceOf ( java.lang.Class < ? > type ) { return org.hamcrest.core.IsInstanceOf.instanceOf ( type ) ; }

Target:
public static < T > org.hamcrest.org.hamcrest.Matcher < T > instanceOf ( java.lang.Class < ? > type ) { return org.hamcrest.core.IsInstanceOf.instanceOf ( type ) ; }
Source:
public java.util.List < com.android.dialer.calllog.datasources.CallLogDataSource > getDataSourcesExcludingSystemCallLog ( ) { return allDataSources.subList ( 1 , allDataSources.size ( ) ) ; }

Target:
public com.google.common.collect.ImmutableList < com.android.dialer.calllog.datasources.CallLogDataSource > getDataSourcesExcludingSystemCallLog ( ) { return allDataSources.subList ( 1 , allDataSources.size ( ) ) ; }
Source:
public java.lang.Object getViewKey ( ) { return null ; }

Target:
public java.lang.Object getViewKey ( ) { return mKey ; }
Source:
void setDataProfile ( com.android.internal.telephony.dataconnection.DataProfile [ ] dps , boolean isRoaming , android.os.Message result ) ;

Target:
void setInitialAttachApn ( android.telephony.data.DataProfile dataProfile , boolean isRoaming , android.os.Message result ) ;
Source:
public final android.content.ContentProviderClient acquireUnstableContentProviderClient ( java.lang.String name ) { android.content.IContentProvider provider = acquireUnstableProvider ( name ) ; if ( provider != null ) { return new android.content.ContentProviderClient ( this , provider , false ) ; } return null ; }

Target:
public final android.content.ContentProviderClient acquireUnstableContentProviderClient ( @ android.annotation.NonNull java.lang.String name ) { com.android.internal.util.Preconditions.checkNotNull ( name , "name" ) ; android.content.IContentProvider provider = acquireUnstableProvider ( name ) ; if ( provider != null ) { return new android.content.ContentProviderClient ( this , provider , false ) ; } return null ; }
Source:
public java.util.List < java.lang.String > getApplicableCallNames ( ) { return java.util.Arrays.asList ( com.android.tools.lint.checks.RecycleDetector.RECYCLE , com.android.tools.lint.checks.RecycleDetector.OBTAIN_STYLED_ATTRIBUTES , com.android.tools.lint.checks.RecycleDetector.OBTAIN , com.android.tools.lint.checks.RecycleDetector.OBTAIN_ATTRIBUTES , com.android.tools.lint.checks.RecycleDetector.OBTAIN_TYPED_ARRAY , com.android.tools.lint.checks.RecycleDetector.OBTAIN_MESSAGE , com.android.tools.lint.checks.RecycleDetector.OBTAIN_NO_HISTORY ) ; }

Target:
public java.util.List < java.lang.String > getApplicableCallNames ( ) { return java.util.Arrays.asList ( com.android.tools.lint.checks.CleanupDetector.RECYCLE , com.android.tools.lint.checks.CleanupDetector.OBTAIN_STYLED_ATTRIBUTES , com.android.tools.lint.checks.CleanupDetector.OBTAIN , com.android.tools.lint.checks.CleanupDetector.OBTAIN_ATTRIBUTES , com.android.tools.lint.checks.CleanupDetector.OBTAIN_TYPED_ARRAY , com.android.tools.lint.checks.CleanupDetector.OBTAIN_MESSAGE , com.android.tools.lint.checks.CleanupDetector.OBTAIN_NO_HISTORY , com.android.tools.lint.checks.CleanupDetector.BEGIN_TRANSACTION , com.android.tools.lint.checks.CleanupDetector.COMMIT , com.android.tools.lint.checks.CleanupDetector.COMMIT_ALLOWING_LOSS ) ; }
Source:
protected void backupAptProblems ( ) { resetJack = true ; super . backupAptProblems ( ) ; }

Target:
public void reset ( ) { resetJack = true ; super . reset ( ) ; }
Source:
public final int getInt ( int index ) { checkIndex ( index , SizeOf.INT ) ; return this . block.peekInt ( ( ( offset ) + index ) , order ) ; }

Target:
public final int getInt ( int index ) { checkNotFreed ( ) ; checkIndex ( index , SizeOf.INT ) ; return this . block.peekInt ( ( ( offset ) + index ) , order ) ; }
Source:
public void testThatClassAnnotatioCausesAllMethodsToBeReportedAsBeingAnnotated ( ) throws java.lang.Exception { assertTrue ( hasExampleAnnotation ( android.test.suitebuilder.annotation.HasAnnotationTest.ClassWithAnnotation.class , "testWithoutAnnotation" ) ) ; }

Target:
public void testThatClassAnnotatioCausesAllMethodsToBeReportedAsBeingAnnotated ( ) throws java.lang.Exception { assertTrue ( hasExampleAnnotation ( android.test.suitebuilder.TestPredicatesTest.ClassWithAnnotation.class , "testWithoutAnnotation" ) ) ; }
Source:
public void testSimpleManifestMerger ( ) throws java.io.IOException { java.io.File project = new java.io.File ( testDir , "simpleManifestMergingTask" ) ; runTasksOn ( project , BasePlugin.GRADLE_TEST_VERSION , "clean" , "manifestMerger" ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; manualDir = new java.io.File ( testDir , FOLDER_TEST_MANUAL ) ; regularDir = new java.io.File ( testDir , FOLDER_TEST_REGULAR ) ; }
Source:
public boolean isCp2LocalInfoIncomplete ( ) { return phoneLookupInfo.getCp2LocalInfo ( ) . getIsIncomplete ( ) ; }

Target:
public boolean isDefaultCp2InfoIncomplete ( ) { return phoneLookupInfo.getDefaultCp2Info ( ) . getIsIncomplete ( ) ; }
Source:
public void testTextViewContent ( ) { assertEquals ( "1234" , mTextView.getText ( ) . toString ( ) ) ; }

Target:
public void testLib2ObfuscatedClass ( ) { java.lang.String className = "com.android.tests.basic.StringProvider" ; try { java.lang.Class < ? > theClass = java.lang.Class.forName ( className ) ; fail ( ( "Found " + className ) ) ; } catch ( java.lang.ClassNotFoundException e ) { } }
Source:
public java.lang.String getAdditionalProposalInfo ( ) { return "Provides more information about this issue" ; }

Target:
public java.lang.String getAdditionalProposalInfo ( ) { return ( "Provides more information about this issue." + "<br><br>" ) + ( com.android.ide.eclipse.adt.internal.lint.EclipseLintClient.getRegistry ( ) . getIssue ( mId ) . getExplanationAsHtml ( ) ) ; }
Source:
public boolean contains ( java.lang.Object o ) { return containsKey ( o ) ; }

Target:
public java.lang.Object [ ] toArray ( ) { return com.google.common.collect.Lists.newArrayList ( iterator ( ) ) . toArray ( ) ; }
Source:
public java.lang.String getDevice ( ) { com.android.ide.eclipse.adt.internal.sdk.LayoutDevice device = getSelectedDevice ( ) ; if ( device != null ) { return device.getName ( ) ; } return null ; }

Target:
public java.lang.String getDevice ( ) { com.android.sdklib.devices.Device device = getSelectedDevice ( ) ; if ( device != null ) { return device.getName ( ) ; } return null ; }
Source:
public void testVerify ( ) { assertTrue ( verifyWithServerCertificate ( "imap.g.com" , new libcore.javax.net.ssl.DefaultHostnameVerifierTest.StubX509Certificate ( "cn=imap.g.com" ) ) ) ; assertFalse ( verifyWithServerCertificate ( "imap.g.com" , new libcore.javax.net.ssl.DefaultHostnameVerifierTest.StubX509Certificate ( "cn=imap2.g.com" ) ) ) ; assertFalse ( verifyWithServerCertificate ( "imap.g.com" , new libcore.javax.net.ssl.DefaultHostnameVerifierTest.StubX509Certificate ( "cn=sub.imap.g.com" ) ) ) ; }

Target:
public void testVerify_wrongHost ( ) { assertFalse ( verifyWithServerCertificate ( "imap.g.com" , libcore.javax.net.ssl.DefaultHostnameVerifierTest.StubX509Certificate.dns ( "imap2.g.com" ) ) ) ; assertFalse ( verifyWithServerCertificate ( "imap.g.com" , libcore.javax.net.ssl.DefaultHostnameVerifierTest.StubX509Certificate.dns ( "sub.imap.g.com" ) ) ) ; }
Source:
public void setUpstreamLinkProperties ( android.net.LinkProperties lp ) { mUpstreamLinkProperties = lp ; }

Target:
public void setUpstreamLinkProperties ( android.net.LinkProperties lp ) { if ( ! ( started ( ) ) ) return ; mUpstreamLinkProperties = lp ; }
Source:
public void enableSaveConfig ( ) { doBooleanCommand ( "SET update_config 1" ) ; }

Target:
public boolean setBluetoothCoexistenceScanMode ( boolean setCoexScanMode ) { if ( com.android.server.wifi.WifiNative.HIDL_SUP_ENABLE ) { return mSupplicantStaIfaceHal.setBtCoexistenceScanModeEnabled ( setCoexScanMode ) ; } else { if ( setCoexScanMode ) { return doBooleanCommand ( "DRIVER BTCOEXSCAN-START" ) ; } else { return doBooleanCommand ( "DRIVER BTCOEXSCAN-STOP" ) ; } } }
Source:
public static com.android.bluetooth.map.BluetoothMapUtils.TYPE fromOrdinal ( int n ) { if ( n < ( com.android.bluetooth.map.BluetoothMapUtils.TYPE.allValues.length ) ) return com.android.bluetooth.map.BluetoothMapUtils.TYPE.allValues [ n ] ; return com.android.bluetooth.map.BluetoothMapUtils.TYPE.NONE ; }

Target:
public static com.android.bluetooth.map.BluetoothMapUtils.TYPE fromOrdinal ( int n ) { if ( n < ( com.android.bluetooth.map.BluetoothMapUtils.TYPE.sAllValues.length ) ) return com.android.bluetooth.map.BluetoothMapUtils.TYPE.sAllValues [ n ] ; return com.android.bluetooth.map.BluetoothMapUtils.TYPE.NONE ; }
Source:
public boolean compareXml ( com.android.manifmerger.XmlDocument other , com.android.manifmerger.MergingReport.Builder mergingReport ) throws java.lang.Exception { return getRootNode ( ) . compareTo ( other.getRootNode ( ) , mergingReport ) ; }

Target:
public com.google.common.base.Optional < java.lang.String > compareTo ( com.android.manifmerger.XmlDocument other ) { return getRootNode ( ) . compareTo ( other.getRootNode ( ) ) ; }
Source:
abstract boolean isValid ( java.lang.String value ) ;

Target:
abstract boolean isWellFormed ( java.lang.String value ) ;
Source:
public java.awt.Color getBackground ( ) { return com.intellij.util.ui.UIUtil.isUnderDarcula ( ) ? new java.awt.Color ( 2566442 ) : super . getBackground ( ) ; }

Target:
public int tabMSize ( ) { return 12 ; }
Source:
public void test4 ( ) throws java.lang.Exception { assertEquals ( "WakelockActivity4.java:10: Warning: The release() call is not always reached" , lintProject ( "bytecode/.classpath=>.classpath" , "bytecode/AndroidManifest.xml=>AndroidManifest.xml" , "res/layout/onclick.xml=>res/layout/onclick.xml" , "bytecode/WakelockActivity4.java.txt=>src/test/pkg/WakelockActivity4.java" , "bytecode/WakelockActivity4.class.data=>bin/classes/test/pkg/WakelockActivity4.class" ) ) ; }

Target:
public void test4 ( ) throws java.lang.Exception { assertEquals ( ( "src/test/pkg/WakelockActivity4.java:10: Warning: The release() call is not always reached [Wakelock]\n" + ( ( ( " getLock().release(); // Should be in finally block\n" + " ~~~~~~~\n" ) + "0 errors, 1 warnings\n" ) + "" ) ) , lintProject ( "bytecode/.classpath=>.classpath" , "bytecode/AndroidManifest.xml=>AndroidManifest.xml" , "res/layout/onclick.xml=>res/layout/onclick.xml" , "bytecode/WakelockActivity4.java.txt=>src/test/pkg/WakelockActivity4.java" , "bytecode/WakelockActivity4.class.data=>bin/classes/test/pkg/WakelockActivity4.class" ) ) ; }
Source:
public java.lang.Class < ? extends T > getInstanciatedClass ( ) ;

Target:
public java.lang.Class < ? extends T > getInstantiatedClass ( ) ;
Source:
native void rsnScriptSetVarJ ( int con , int id , int slot , long val ) ;

Target:
native void rsnScriptSetVarD ( long con , long id , int slot , double val ) ;
Source:
public com.android.sched.vfs.OutputVFile getJayceOutputVFile ( @ javax.annotation.Nonnull com.android.sched.vfs.VPath typePath ) throws com.android.sched.util.file.CannotCreateFileException ;

Target:
public com.android.sched.vfs.OutputVFile createFile ( @ javax.annotation.Nonnull com.android.jack.library.FileType fileType , @ javax.annotation.Nonnull com.android.sched.vfs.VPath typePath ) throws com.android.sched.util.file.CannotCreateFileException ;
Source:
private com.android.rs.test.Byte2 pack_b2 ( byte [ ] val ) { assert ( val.length ) == 2 ; return new com.android.rs.test.Byte2 ( val [ 0 ] , val [ 1 ] ) ; }

Target:
private android.renderscript.Byte2 pack_b2 ( byte [ ] val ) { assert ( val.length ) == 2 ; return new android.renderscript.Byte2 ( val [ 0 ] , val [ 1 ] ) ; }
Source:
private static java.lang.String addonManifestWarning ( @ com.android.annotations.NonNull java.lang.String valueName ) { return java.lang.String.format ( "'%1$s' is missing from %2$s." , valueName , SdkConstants.FN_MANIFEST_INI ) ; }

Target:
public com.android.sdklib.IAndroidTarget getTargetFromHashString ( @ com.android.annotations.Nullable java.lang.String hash ) { return mLocalSdk.getTargetFromHashString ( hash ) ; }
Source:
public void testE1 ( ) { dot.junit.opcodes.div_long_2addr.d.T_div_long_2addr_1 t = new dot.junit.opcodes.div_long_2addr.d.T_div_long_2addr_1 ( ) ; try { t.run ( 12345678912345L , 0 ) ; fail ( "expected ArithmeticException" ) ; } catch ( java.lang.ArithmeticException ae ) { } }

Target:
public void testVFE1 ( ) { load ( "dot.junit.opcodes.div_long_2addr.d.T_div_long_2addr_6" , java.lang.VerifyError.class ) ; }
Source:
com.android.sched.util.location.Location getVFileLocation ( @ javax.annotation.Nonnull com.android.sched.vfs.BaseVDir parent , @ javax.annotation.Nonnull com.android.sched.vfs.VPath path ) { return vfs.getVFileLocation ( parent , path ) ; }

Target:
com.android.sched.vfs.DeflateFS.DeflateVDir getVDir ( @ javax.annotation.Nonnull com.android.sched.vfs.DeflateFS.DeflateVDir parent , @ javax.annotation.Nonnull java.lang.String name ) throws com.android.sched.util.file.NoSuchFileException , com.android.sched.util.file.NotDirectoryException { return new com.android.sched.vfs.DeflateFS.DeflateVDir ( this , vfs.getVDir ( parent.getWrappedDir ( ) , name ) ) ; }
Source:
public static void computeLog2 ( android.renderscript.cts.TestLog2.ArgumentsFloatFloat args ) { args.ulf = 3 ; args.ulfRelaxed = 128 ; args.out = ( ( float ) ( ( java.lang.StrictMath.log10 ( args.in ) ) / ( java.lang.StrictMath.log10 ( 2.0 ) ) ) ) ; }

Target:
public static void computeAtanh ( android.renderscript.cts.TestAtanh.ArgumentsFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( android.renderscript.cts.CoreMathVerifier.atanh ( args.in ) , 5 , 128 ) ; }
Source:
void getNeighboringCids ( android.os.Message response ) ;

Target:
void stopNetworkScan ( android.os.Message response ) ;
Source:
public void visitSyntheticAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Field field , proguard.classfile.attribute.visitor.SyntheticAttribute syntheticAttribute ) { syntheticAttribute.accept ( clazz , field , attributeVisitor ) ; }

Target:
public void visitEnclosingMethodAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.EnclosingMethodAttribute enclosingMethodAttribute ) { attributeVisitor.visitEnclosingMethodAttribute ( clazz , enclosingMethodAttribute ) ; }
Source:
private static boolean isNavigatable ( com.intellij.ui.tabs.impl.JBTabsImpl tabs ) { final int selectedIndex = tabs.myVisibleInfos.indexOf ( tabs.getSelectedInfo ( ) ) ; return ( ( tabs.isNavigationVisible ( ) ) && ( selectedIndex >= 0 ) ) && ( tabs.myNavigationActionsEnabled ) ; }

Target:
private static boolean isNavigatable ( com.intellij.ui.tabs.impl.JBTabsImpl tabs ) { final int selectedIndex = tabs.getVisibleInfos ( ) . indexOf ( tabs.getSelectedInfo ( ) ) ; return ( ( tabs.isNavigationVisible ( ) ) && ( selectedIndex >= 0 ) ) && ( tabs.myNavigationActionsEnabled ) ; }
Source:
public dalvik.system.EmulatedStackFrame.StackFrameAccessor attach ( dalvik.system.EmulatedStackFrame stackFrame ) { frame = stackFrame ; frameBuf = java.nio.ByteBuffer.wrap ( frame.stackFrame ) . order ( java.nio.ByteOrder.LITTLE_ENDIAN ) ; numArgs = frame.type.ptypes ( ) . length ; return this ; }

Target:
public dalvik.system.EmulatedStackFrame.StackFrameAccessor attach ( dalvik.system.EmulatedStackFrame stackFrame ) { frame = stackFrame ; frameBuf = java.nio.ByteBuffer.wrap ( frame.stackFrame ) . order ( java.nio.ByteOrder.LITTLE_ENDIAN ) ; numArgs = frame.type.ptypes ( ) . length ; referencesOffset = 0 ; argumentIdx = 0 ; return this ; }
Source:
public void addExistingConnection ( java.lang.String callId , android.telecom.ParcelableConnection connection , android.telecom.Logging.Session.Info sessionInfo ) { android.telecom.RemoteConnection remoteConnction = new android.telecom.RemoteConnection ( callId , mOutgoingConnectionServiceRpc , connection ) ; mOurConnectionServiceImpl.addRemoteExistingConnection ( remoteConnction ) ; }

Target:
public void onDestroyed ( android.telecom.RemoteConnection connection ) { mConnectionById.remove ( callId ) ; maybeDisconnectAdapter ( ) ; }
Source:
public static com.google.devtools.common.options.ParamsFilePreProcessor.CharIterator wrap ( java.io.Reader reader ) { return new com.google.devtools.common.options.ParamsFilePreProcessor.CharIterator ( reader ) ; }

Target:
protected abstract java.util.List < java.lang.String > parse ( java.nio.file.Path paramsFile ) throws com.google.devtools.common.options.OptionsParsingException , java.io.IOException ;
Source:
public android.graphics.Bitmap getBitmap ( ) { return internalGetBitmap ( getUri ( ) ) ; }

Target:
public com.android.mms.util.ItemLoadedFuture loadThumbnailBitmap ( com.android.mms.util.ItemLoadedCallback callback ) { com.android.mms.util.ThumbnailManager thumbnailManager = com.android.mms.MmsApp.getApplication ( ) . getThumbnailManager ( ) ; mItemLoadedFuture = thumbnailManager.getThumbnail ( getUri ( ) , callback ) ; return mItemLoadedFuture ; }
Source:
public void setaidlOutFolder ( org.apache.tools.ant.types.Path value ) { mAidlOutFolder = com.android.ant.TaskHelper.checkSinglePath ( "aidlOutFolder" , value ) ; }

Target:
public void setAidlOutFolder ( org.apache.tools.ant.types.Path value ) { mAidlOutFolder = com.android.ant.TaskHelper.checkSinglePath ( "aidlOutFolder" , value ) ; }
Source:
public void listenToAllSingleScanResults ( ) { android.net.wifi.WifiScanner.ScanSettings settings = new android.net.wifi.WifiScanner.ScanSettings ( ) ; android.net.wifi.WifiScanner.ScanListener scanListener = mock ( android.net.wifi.WifiScanner.ScanListener.class ) ; mWifiScanner.startScan ( settings , scanListener , com.android.server.wifi.WifiStateMachine.WIFI_WORK_SOURCE ) ; verify ( mWifiStateMachine ) . autoConnectToNetwork ( com.android.server.wifi.WifiConnectivityManagerTest.CANDIDATE_NETWORK_ID , com.android.server.wifi.WifiConnectivityManagerTest.CANDIDATE_BSSID ) ; }

Target:
public void listenToAllSingleScanResults ( ) { android.net.wifi.WifiScanner.ScanSettings settings = new android.net.wifi.WifiScanner.ScanSettings ( ) ; android.net.wifi.WifiScanner.ScanListener scanListener = mock ( android.net.wifi.WifiScanner.ScanListener.class ) ; mWifiScanner.startScan ( settings , scanListener , com.android.server.wifi.WifiStateMachine.WIFI_WORK_SOURCE ) ; verify ( mWifiStateMachine ) . startConnectToNetwork ( com.android.server.wifi.WifiConnectivityManagerTest.CANDIDATE_NETWORK_ID , com.android.server.wifi.WifiConnectivityManagerTest.CANDIDATE_BSSID ) ; }
Source:
public void reset ( ) { java.lang.System.arraycopy ( IV , 0 , cfbV , 0 , IV.length ) ; cipher.reset ( ) ; }

Target:
public void reset ( ) { java.lang.System.arraycopy ( IV , 0 , cfbV , 0 , IV.length ) ; org.bouncycastle.util.Arrays.fill ( inBuf , ( ( byte ) ( 0 ) ) ) ; byteCount = 0 ; cipher.reset ( ) ; }
Source:
public java.lang.Object previous ( ) { org.objectweb.asm.tree.AbstractInsnNode result = prev ; next = result ; prev = result.prev ; return result ; }

Target:
public java.lang.Object previous ( ) { org.objectweb.asm.tree.AbstractInsnNode result = prev ; next = result ; prev = result.prev ; remove = result ; return result ; }
Source:
public java.lang.String getNotConnectedReason ( ) { android.net.NetworkInfo networkInfo = mConnectivityManager.getActiveNetworkInfo ( ) ; if ( networkInfo != null ) { return networkInfo.getReason ( ) ; } else { return "Cannot get network info" ; } }

Target:
public java.lang.String getNotConnectedReason ( ) { android.net.NetworkInfo networkInfo = mConnectivityManager.getActiveNetworkInfo ( ) ; if ( networkInfo != null ) { return networkInfo.getReason ( ) ; } else { return "Network info is not available." ; } }
Source:
synchronized boolean disconnect ( android.bluetooth.BluetoothDevice device ) { if ( com.android.bluetooth.hid.HidDeviceService.DBG ) { android.util.Log.d ( com.android.bluetooth.hid.HidDeviceService.TAG , ( "disconnect(): device=" + device ) ) ; } if ( ! ( checkDevice ( device ) ) ) { return false ; } return disconnectNative ( ) ; }

Target:
synchronized boolean disconnect ( android.bluetooth.BluetoothDevice device ) { if ( com.android.bluetooth.hid.HidDeviceService.DBG ) { android.util.Log.d ( com.android.bluetooth.hid.HidDeviceService.TAG , ( "disconnect(): device=" + device ) ) ; } if ( ! ( checkDevice ( device ) ) ) { return false ; } return mHidDeviceNativeInterface.disconnect ( ) ; }
Source:
public lombok.ast.AstVisitor createJavaVisitor ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.JavaContext context ) { if ( ( mApiDatabase ) == null ) { return new lombok.ast.ForwardingAstVisitor ( ) { } ; } return new com.android.tools.lint.checks.ApiDetector.ApiVisitor ( context ) ; }

Target:
public com.intellij.psi.JavaElementVisitor createPsiVisitor ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.JavaContext context ) { if ( ( mApiDatabase ) == null ) { return new com.intellij.psi.JavaElementVisitor ( ) { @ java.lang.Override public void visitElement ( com.intellij.psi.PsiElement element ) { } } ; } return new com.android.tools.lint.checks.ApiDetector.ApiVisitor ( context ) ; }
Source:
public java.lang.String p2pGetSsid ( java.lang.String deviceAddress ) { if ( ( com.android.server.wifi.WifiNative.HIDL_ENABLE ) && ( ( mSupplicantP2pIfaceHal ) != null ) ) { return mSupplicantP2pIfaceHal.getSsid ( deviceAddress ) ; } else { return p2pGetParam ( deviceAddress , "oper_ssid" ) ; } }

Target:
public boolean p2pCancelConnect ( ) { if ( ( com.android.server.wifi.WifiNative.HIDL_P2P_ENABLE ) && ( ( mSupplicantP2pIfaceHal ) != null ) ) { return mSupplicantP2pIfaceHal.cancelConnect ( ) ; } else { return doBooleanCommand ( "P2P_CANCEL" ) ; } }
Source:
private void parseData ( java.nio.MappedByteBuffer buffer ) { int recordSize = readDataFileHeader ( buffer ) ; parseMethodTraceData ( buffer , recordSize ) ; }

Target:
private void parseData ( java.nio.ByteBuffer buffer ) { int recordSize = readDataFileHeader ( buffer ) ; parseMethodTraceData ( buffer , recordSize ) ; }
Source:
protected void registerTabs ( ) { addFailuresTab ( ) ; addTab ( "Classes" , new org.gradle.api.Action < org.w3c.dom.Element > ( ) { @ java.lang.Override public void execute ( org.w3c.dom.Element element ) { renderClasses ( element ) ; } } ) ; addDeviceAndVariantTabs ( ) ; }

Target:
protected void registerTabs ( ) { addFailuresTab ( ) ; addTab ( "Classes" , new org.gradle.api.internal.ErroringAction < org.gradle.api.internal.html.SimpleHtmlWriter > ( ) { @ java.lang.Override public void doExecute ( org.gradle.api.internal.html.SimpleHtmlWriter htmlWriter ) throws java.io.IOException { renderClasses ( htmlWriter ) ; } } ) ; }
Source:
public void setText ( int resId ) { if ( ( mTextViewFocused ) != null ) { mTextViewFocused.setText ( resId ) ; } if ( ( mTextView ) != null ) { mTextView.setText ( resId ) ; } }

Target:
public void setText ( int resId ) { if ( ( mTextViewFocused ) != null ) { mTextViewFocused.setText ( resId ) ; } if ( ( mTextView ) != null ) { mTextView.setText ( resId ) ; } onTextViewUpdated ( ) ; }
Source:
public void startLate ( ) { android.util.Log.i ( com.android.server.wifi.nan.WifiNanServiceImpl.TAG , "Late initialization of Wi-Fi NAN service" ) ; mStateManager.startLate ( ) ; }

Target:
public void startLate ( ) { android.util.Log.i ( com.android.server.wifi.aware.WifiAwareServiceImpl.TAG , "Late initialization of Wi-Fi Aware service" ) ; mStateManager.startLate ( ) ; }
Source:
public byte [ ] getEncoded ( ) { return org.bouncycastle.jcajce.provider.asymmetric.util.KeyUtil.getEncodedSubjectPublicKeyInfo ( new org.bouncycastle.asn1.x509.AlgorithmIdentifier ( org.bouncycastle.asn1.oiw.OIWObjectIdentifiers.elGamalAlgorithm , new org.bouncycastle.asn1.oiw.ElGamalParameter ( elSpec.getP ( ) , elSpec.getG ( ) ) ) , new org.bouncycastle.asn1.DERInteger ( y ) ) ; }

Target:
public byte [ ] getEncoded ( ) { return org.bouncycastle.jcajce.provider.asymmetric.util.KeyUtil.getEncodedSubjectPublicKeyInfo ( new org.bouncycastle.asn1.x509.AlgorithmIdentifier ( org.bouncycastle.asn1.oiw.OIWObjectIdentifiers.elGamalAlgorithm , new org.bouncycastle.asn1.oiw.ElGamalParameter ( elSpec.getP ( ) , elSpec.getG ( ) ) ) , new org.bouncycastle.asn1.ASN1Integer ( y ) ) ; }
Source:
public java.lang.String getConfigFile ( ) { return mWifiConfigManager.getConfigFile ( ) ; }

Target:
public void handleUserStop ( int userId ) { sendMessage ( com.android.server.wifi.WifiStateMachine.CMD_USER_STOP , userId ) ; }
Source:
private void injectHoverMove ( android.view.View view , int offsetX , int offsetY ) { mActivity.getWindow ( ) . injectInputEvent ( com.android.compatibility.common.util.CtsMouseUtil.obtainMouseEvent ( MotionEvent.ACTION_HOVER_MOVE , view , offsetX , offsetY ) ) ; mInstrumentation.waitForIdleSync ( ) ; }

Target:
private void injectHoverMove ( android.view.View view , int offsetX , int offsetY ) { mInstrumentation.sendPointerSync ( com.android.compatibility.common.util.CtsMouseUtil.obtainMouseEvent ( MotionEvent.ACTION_HOVER_MOVE , view , offsetX , offsetY ) ) ; }
Source:
public native < T extends java.lang.annotation.Annotation > T getDeclaredAnnotation ( java.lang.Class < T > annotationClass ) ;

Target:
private native < A extends java.lang.annotation.Annotation > A getDeclaredAnnotation ( java.lang.Class < A > annotationClass ) ;
Source:
public void setAndroidDependencies ( java.util.List < com.android.builder.AndroidDependency > directLibraryProjects ) { mDirectLibraryProjects.addAll ( directLibraryProjects ) ; resolveIndirectLibraryDependencies ( directLibraryProjects , mFlatLibraryProjects ) ; }

Target:
public void setAndroidDependencies ( @ com.android.annotations.NonNull java.util.List < com.android.builder.AndroidDependency > directLibraryProjects ) { if ( directLibraryProjects != null ) { mDirectLibraryProjects.addAll ( directLibraryProjects ) ; } resolveIndirectLibraryDependencies ( getFullDirectDependencies ( ) , mFlatLibraryProjects ) ; }
Source:
private java.lang.String executeTest ( android.hardware.cts.helpers.sensoroperations.VerifiableSensorOperation operation ) throws java.lang.InterruptedException { operation.addDefaultVerifications ( ) ; operation.setLogEvents ( true ) ; operation.execute ( ) ; return null ; }

Target:
private java.lang.String executeTest ( android.hardware.cts.helpers.sensoroperations.TestSensorOperation operation ) throws java.lang.InterruptedException { operation.addDefaultVerifications ( ) ; operation.execute ( getCurrentTestNode ( ) ) ; return null ; }
Source:
public static final com.ibm.icu.util.ULocale [ ] getAvailableULocales ( ) { return com.ibm.icu.impl.ICUResourceBundle.getAvailableULocales ( com.ibm.icu.impl.ICUResourceBundle.ICU_BASE_NAME , com.ibm.icu.impl.ICUResourceBundle.ICU_DATA_CLASS_LOADER ) ; }

Target:
public static java.util.Set < java.lang.String > getAvailableLocaleNameSet ( ) { return com.ibm.icu.impl.ICUResourceBundle.getAvailableLocaleNameSet ( ICUData.ICU_BASE_NAME , com.ibm.icu.impl.ICUResourceBundle.ICU_DATA_CLASS_LOADER ) ; }
Source:
public void addListeners ( com.android.sdkuilib.repository.UpdaterWindow.ISdkListener listener ) { if ( ( mListeners.contains ( listener ) ) == false ) { mListeners.add ( listener ) ; } }

Target:
public void addListeners ( com.android.sdkuilib.repository.ISdkChangeListener listener ) { if ( ( mListeners.contains ( listener ) ) == false ) { mListeners.add ( listener ) ; } }
Source:
public static java.lang.String summarize ( byte [ ] hwaddr , byte [ ] buffer ) { return android.net.util.ConnectivityPacketSummary.summarize ( hwaddr , buffer , buffer.length ) ; }

Target:
public static java.lang.String summarize ( android.net.MacAddress hwaddr , byte [ ] buffer ) { return android.net.util.ConnectivityPacketSummary.summarize ( hwaddr , buffer , buffer.length ) ; }
Source:
void callbackDone ( int scannerId , int status ) { logd ( ( ( ( "callback done for scannerId - " + scannerId ) + " status - " ) + status ) ) ; if ( status == 0 ) { mLatch.countDown ( ) ; } }

Target:
void callbackDone ( int scannerId , int status ) { if ( com.android.bluetooth.gatt.ScanManager.DBG ) android.util.Log.d ( com.android.bluetooth.gatt.ScanManager.TAG , ( ( ( "callback done for scannerId - " + scannerId ) + " status - " ) + status ) ) ; if ( status == 0 ) { mLatch.countDown ( ) ; } }
Source:
public java.nio.file.FileVisitResult postVisitDirectory ( java.nio.file.Path dir , java.io.IOException exc ) throws java.io.IOException { java.nio.file.Files.delete ( dir ) ; return java.nio.file.FileVisitResult.CONTINUE ; }

Target:
public void deleteTempDir ( ) throws java.lang.Exception { com.android.tradefed.util.FileUtil.recursiveDelete ( mTempDir ) ; }
Source:
public int startSession ( int slotId , int featureType , android.app.PendingIntent incomingCallIntent , com.android.ims.internal.IImsRegistrationListener listener ) throws android.os.RemoteException { return 0 ; }

Target:
public com.android.ims.internal.IImsMMTelFeature createMMTelFeature ( int slotId , com.android.ims.internal.IImsFeatureStatusCallback c ) throws android.os.RemoteException { mStatusCallback = c ; return this . createMMTelFeature ( slotId ) ; }
Source:
public boolean isFunctionEnabled ( java.lang.String function ) { return android.hardware.usb.UsbManager.containsFunction ( android.os.SystemProperties.get ( com.android.server.usb.UsbDeviceManager.USB_CONFIG_PROPERTY ) , function ) ; }

Target:
public boolean isFunctionEnabled ( java.lang.String function ) { return android.hardware.usb.UsbManager.containsFunction ( mCurrentFunctions , function ) ; }
Source:
private java.lang.String getIccStateReason ( com.android.internal.telephony.IccCardConstants.State state ) { switch ( state ) { case PIN_REQUIRED : return com.android.internal.telephony.IccCardConstants.INTENT_VALUE_LOCKED_ON_PIN ; case PUK_REQUIRED : return com.android.internal.telephony.IccCardConstants.INTENT_VALUE_LOCKED_ON_PUK ; case NETWORK_LOCKED : return com.android.internal.telephony.IccCardConstants.INTENT_VALUE_LOCKED_NETWORK ; case PERM_DISABLED : return com.android.internal.telephony.IccCardConstants.INTENT_VALUE_ABSENT_ON_PERM_DISABLED ; default : return null ; } }

Target:
private java.lang.String getIccStateReason ( com.android.internal.telephony.IccCardConstants.State state ) { switch ( state ) { case PIN_REQUIRED : return com.android.internal.telephony.IccCardConstants.INTENT_VALUE_LOCKED_ON_PIN ; case PUK_REQUIRED : return com.android.internal.telephony.IccCardConstants.INTENT_VALUE_LOCKED_ON_PUK ; case NETWORK_LOCKED : return com.android.internal.telephony.IccCardConstants.INTENT_VALUE_LOCKED_NETWORK ; case PERM_DISABLED : return com.android.internal.telephony.IccCardConstants.INTENT_VALUE_ABSENT_ON_PERM_DISABLED ; case CARD_IO_ERROR : return com.android.internal.telephony.IccCardConstants.INTENT_VALUE_ICC_CARD_IO_ERROR ; default : return null ; } }
Source:
public org.eclipse.swt.graphics.Point getToolTipShift ( java.lang.Object object ) { return new org.eclipse.swt.graphics.Point ( 15 , 5 ) ; }

Target:
private void onSelectNewUpdates ( boolean selectNew , boolean selectUpdates , boolean selectTop ) { mImpl.onSelectNewUpdates ( selectNew , selectUpdates , selectTop ) ; syncViewerSelection ( ) ; updateButtonsState ( ) ; }
Source:
public void unregisterForVoiceNetworkStateChanged ( android.os.Handler h ) { }

Target:
public void unregisterForNetworkStateChanged ( android.os.Handler h ) { }
Source:
private static void setPreference ( android.content.Context context , java.lang.String key , boolean value ) { com.android.tv.tuner.TunerPreferences.sPreferenceValues.putBoolean ( key , value ) ; com.android.tv.tuner.TunerPreferences.setPreference ( context , key , java.lang.Boolean.toString ( value ) ) ; }

Target:
private static synchronized void setPreference ( android.content.Context context , java.lang.String key , boolean value ) { com.android.tv.tuner.TunerPreferences.sPreferenceValues.putBoolean ( key , value ) ; com.android.tv.tuner.TunerPreferences.savePreference ( context , key , java.lang.Boolean.toString ( value ) ) ; }
Source:
public void activateCellBroadcastSms ( int activate , android.os.Message response ) { android.util.Log.e ( com.android.internal.telephony.sip.SipPhoneBase.LOG_TAG , "Error! This functionality is not implemented for SIP." ) ; }

Target:
public void setCellBroadcastSmsConfig ( int [ ] configValuesArray , android.os.Message response ) { android.telephony.Rlog.e ( com.android.internal.telephony.sip.SipPhoneBase.LOG_TAG , "Error! This functionality is not implemented for SIP." ) ; }
Source:
public java.lang.String getKeyAttributeName ( ) { return null ; }

Target:
public com.google.common.collect.ImmutableList < java.lang.String > getKeyAttributesNames ( ) { return com.google.common.collect.ImmutableList.of ( ) ; }
Source:
public static android.telecom.DisconnectCause toTelecomDisconnectCause ( int telephonyDisconnectCause ) { return com.android.services.telephony.DisconnectCauseUtil.toTelecomDisconnectCause ( telephonyDisconnectCause , null ) ; }

Target:
public static android.telecom.DisconnectCause toTelecomDisconnectCause ( int telephonyDisconnectCause ) { return com.android.services.telephony.DisconnectCauseUtil.toTelecomDisconnectCause ( telephonyDisconnectCause , CallFailCause.NOT_VALID , null ) ; }
Source:
public void stopDtmf ( ) { mCM.stopDtmf ( null ) ; }

Target:
public void stopDtmf ( ) { mCi.stopDtmf ( null ) ; }
Source:
private static com.android.sdklib.repository.PreciseRevision getLatestVersion ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Context context , @ com.android.annotations.NonNull com.android.ide.common.repository.GradleCoordinate dependency , boolean allowPreview ) { return com.android.tools.lint.checks.GradleDetector.getLatestVersion ( context , dependency , true , allowPreview ) ; }

Target:
public static com.android.sdklib.repository.PreciseRevision getLatestVersionFromRemoteRepo ( @ com.android.annotations.NonNull com.android.tools.lint.client.api.LintClient client , @ com.android.annotations.NonNull com.android.ide.common.repository.GradleCoordinate dependency , boolean allowPreview ) { return com.android.tools.lint.checks.GradleDetector.getLatestVersionFromRemoteRepo ( client , dependency , true , allowPreview ) ; }
Source:
public abstract java.util.List < java.lang.String > targetProcessPrefix ( ) ;

Target:
protected abstract com.google.common.collect.ImmutableList < java.lang.String > targetProcessPrefix ( ) ;
Source:
public void test_F32_1_SCALE20_20_inRectangle ( ) { testReszie ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inY , Element.DataType.FLOAT_32 , 1 , 2.0F , 2.0F ) ; checkError ( ) ; }

Target:
public void test_F32_1_SCALE20_20_inRectangle ( ) { testResize ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inY , Element.DataType.FLOAT_32 , 1 , 2.0F , 2.0F ) ; checkError ( ) ; }
Source:
public void testMinimalSizeDocked ( ) throws java.lang.Exception { HEAD ( 5 ) ; android.server.cts.c121a Merge ; }

Target:
public void testMinimalSizeDocked ( ) throws java.lang.Exception { if ( ! ( supportsSplitScreenMultiWindow ( ) ) ) { com.android.tradefed.log.LogUtil.CLog.logAndDisplay ( com.android.ddmlib.Log.LogLevel.INFO , "Skipping test: no multi-window support" ) ; return ; } testMinimalSize ( android.server.cts.DOCKED_STACK_ID ) ; }
Source:
public void test_formatToCharacterIteratorLjava_lang_Object ( ) { try { new java.text.DecimalFormat ( ) . formatToCharacterIterator ( null ) ; fail ( "NullPointerException expected" ) ; } catch ( java.lang.NullPointerException e ) { } new org.apache.harmony.tests.java.text.Support_DecimalFormat ( "test_formatToCharacterIteratorLjava_lang_Object" ) . t_formatToCharacterIterator ( ) ; }

Target:
public void test_formatToCharacterIterator_null ( ) { try { new java.text.DecimalFormat ( ) . formatToCharacterIterator ( null ) ; fail ( "NullPointerException expected" ) ; } catch ( java.lang.NullPointerException e ) { } }
Source:
public synchronized int getVersionCode ( @ com.android.annotations.NonNull java.io.File manifestFile ) { if ( ( mVersionCode ) == null ) { try { java.lang.String value = com.android.builder.core.DefaultManifestParser.getStringValue ( manifestFile , "/manifest/@android:versionCode" ) ; if ( value != null ) { mVersionCode = com.google.common.base.Optional.of ( java.lang.Integer.valueOf ( value ) ) ; } } catch ( java.lang.NumberFormatException ignored ) { mVersionCode = com.google.common.base.Optional.absent ( ) ; } } return mVersionCode.or ( ( - 1 ) ) ; }

Target:
public synchronized int getVersionCode ( @ com.android.annotations.NonNull java.io.File manifestFile ) { if ( ( mVersionCode ) == null ) { mVersionCode = com.google.common.base.Optional.absent ( ) ; try { java.lang.String value = com.android.builder.core.DefaultManifestParser.getStringValue ( manifestFile , "/manifest/@android:versionCode" ) ; if ( value != null ) { mVersionCode = com.google.common.base.Optional.of ( java.lang.Integer.valueOf ( value ) ) ; } } catch ( java.lang.NumberFormatException ignored ) { } } return mVersionCode.or ( ( - 1 ) ) ; }
Source:
public boolean setPnoScan ( boolean enable ) { java.lang.String cmd = ( enable ) ? "SET pno 1" : "SET pno 0" ; return doBooleanCommand ( cmd ) ; }

Target:
public boolean startPnoScan ( com.android.server.wifi.WifiNative.PnoSettings pnoSettings ) { return mWificondControl.startPnoScan ( pnoSettings ) ; }
Source:
public java.lang.reflect.Type [ ] getGenericParameterTypes ( ) { initGenericTypes ( ) ; return org.apache.harmony.luni.lang.reflect.Types.getClonedTypeArray ( genericParameterTypes ) ; }

Target:
public java.lang.reflect.Type getGenericReturnType ( ) { initGenericTypes ( ) ; return libcore.reflect.Types.getType ( genericReturnType ) ; }
Source:
private boolean hasTestRunnerLibrary ( com.android.ide.eclipse.adt.internal.project.AndroidManifestParser manifestParser ) { for ( java.lang.String lib : manifestParser.getUsesLibraries ( ) ) { if ( lib.equals ( AndroidConstants.LIBRARY_TEST_RUNNER ) ) { return true ; } } return false ; }

Target:
private boolean hasTestRunnerLibrary ( com.android.sdklib.xml.AndroidManifestParser.ManifestData manifestData ) { for ( java.lang.String lib : manifestData.getUsesLibraries ( ) ) { if ( lib.equals ( AndroidConstants.LIBRARY_TEST_RUNNER ) ) { return true ; } } return false ; }
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 prepareDownload ( java.lang.String callingPackage , java.lang.String cardId , @ android.annotation.Nullable byte [ ] hashCc , byte [ ] smdpSigned2 , byte [ ] smdpSignature2 , byte [ ] smdpCertificate , com.android.internal.telephony.euicc.IPrepareDownloadCallback callback ) { checkCallingPackage ( callingPackage ) ; }
Source:
public android.net.Uri getVoicemailRingtoneUri ( android.telecom.PhoneAccountHandle accountHandle ) { final com.android.internal.telephony.Phone phone = com.android.phone.PhoneUtils.getPhoneForPhoneAccountHandle ( accountHandle ) ; if ( phone == null ) { return null ; } return com.android.phone.settings.VoicemailNotificationSettingsUtil.getRingtoneUri ( phone ) ; }

Target:
public android.net.Uri getVoicemailRingtoneUri ( android.telecom.PhoneAccountHandle accountHandle ) { com.android.internal.telephony.Phone phone = com.android.phone.PhoneUtils.getPhoneForPhoneAccountHandle ( accountHandle ) ; if ( phone == null ) { phone = mPhone ; } return com.android.phone.settings.VoicemailNotificationSettingsUtil.getRingtoneUri ( phone ) ; }