auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public synchronized void onAcceptFailed ( ) { android.util.Log.e ( com.android.bluetooth.mapclient.MnsService.TAG , "OnAcceptFailed" ) ; com.android.bluetooth.mapclient.MnsService.mServerSockets = null ; if ( mShutdown ) { android.util.Log.e ( com.android.bluetooth.mapclient.MnsService.TAG , ( "Failed to accept incomming connection - " + "shutdown" ) ) ; } }

Target:
public synchronized void onAcceptFailed ( ) { android.util.Log.e ( com.android.bluetooth.mapclient.MnsService.TAG , "OnAcceptFailed" ) ; com.android.bluetooth.mapclient.MnsService.sServerSockets = null ; if ( mShutdown ) { android.util.Log.e ( com.android.bluetooth.mapclient.MnsService.TAG , ( "Failed to accept incomming connection - " + "shutdown" ) ) ; } }
Source:
public com.android.layoutlib.api.SceneResult createResult ( ) { assert ( this ) != ( com.android.layoutlib.api.SceneResult.SceneStatus.ERROR_UNKNOWN ) ; if ( ( mResult ) == null ) { mResult = new com.android.layoutlib.api.SceneResult ( this ) ; } return mResult ; }

Target:
public com.android.ide.common.rendering.api.Result createResult ( ) { assert ( this ) != ( com.android.ide.common.rendering.api.Result.Status.ERROR_UNKNOWN ) ; if ( ( mResult ) == null ) { mResult = new com.android.ide.common.rendering.api.Result ( this ) ; } return mResult ; }
Source:
public static com.android.layoutlib.api.ResourceDensity getEnum ( int dpi ) { for ( com.android.layoutlib.api.ResourceDensity d : com.android.layoutlib.api.ResourceDensity.values ( ) ) { if ( ( d.mDpi ) == dpi ) { return d ; } } return null ; }

Target:
public static com.android.ide.common.rendering.api.ResourceDensity getEnum ( int dpi ) { for ( com.android.ide.common.rendering.api.ResourceDensity d : com.android.ide.common.rendering.api.ResourceDensity.values ( ) ) { if ( ( d.mDpi ) == dpi ) { return d ; } } return null ; }
Source:
public static java.lang.String getFreeWidgetId ( com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode uiNode ) { java.lang.String name = uiNode.getDescriptor ( ) . getXmlLocalName ( ) ; if ( "TabWidget" . equals ( name ) ) { return "@android:id/tabs" ; } return "@+id/" + ( com.android.ide.eclipse.adt.internal.editors.descriptors.DescriptorsUtils.getFreeWidgetId ( uiNode.getUiRoot ( ) , new java.lang.Object [ ] { name , null , null , null } ) ) ; }

Target:
public static java.lang.String getFreeWidgetId ( com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode uiNode ) { java.lang.String name = uiNode.getDescriptor ( ) . getXmlLocalName ( ) ; return com.android.ide.eclipse.adt.internal.editors.descriptors.DescriptorsUtils.getFreeWidgetId ( uiNode.getUiRoot ( ) , name ) ; }
Source:
native void rsnScriptSetVarD ( int con , int id , int slot , double val ) ;

Target:
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 ) ;
Source:
native void rsnAllocationData3D ( long con , long id , int xoff , int yoff , int zoff , int mip , int w , int h , int depth , short [ ] d , int sizeBytes ) ;

Target:
native void rsnAllocationRead ( long con , long id , java.lang.Object d , int dt ) ;
Source:
public void run ( ) { if ( ( mFolders.isDisposed ( ) ) == false ) { emptyTables ( ) ; } }

Target:
public void run ( ) { mFolders.dispose ( ) ; mParent.pack ( true ) ; createControl ( mParent ) ; }
Source:
public void start ( ) { mLog.log ( android.net.ip.ConnectivityPacketTracker.MARK_START ) ; mPacketListener.start ( ) ; }

Target:
protected void onStart ( ) { mLog.log ( android.net.ip.ConnectivityPacketTracker.MARK_START ) ; }
Source:
public void TestGetTextWithNoPlaceholders ( ) { assertEquals ( "" , "Templates and are here." , com.ibm.icu.impl.SimplePatternFormatter.compile ( "Templates {1}{2} and {3} are here." ) . getTextWithNoPlaceholders ( ) ) ; }

Target:
public void TestGetTextWithNoArguments ( ) { assertEquals ( "" , "Templates and are here." , com.ibm.icu.text.SimpleFormatter.compile ( "Templates {1}{2} and {3} are here." ) . getTextWithNoArguments ( ) ) ; }
Source:
public void testException_MatcherDescriptionReturnsCorrectValue ( ) { final android.support.test.espresso.NoMatchingViewException noMatchingViewExcpetion = createException ( ) ; final java.lang.String viewMatcherDescription = noMatchingViewExcpetion.getViewMatcherDescription ( ) ; org.hamcrest.MatcherAssert.assertThat ( "wrong view matcher description" , viewMatcherDescription , org.hamcrest.Matchers.equalTo ( "null" ) ) ; }

Target:
public void exception_MatcherDescriptionReturnsCorrectValue ( ) { final android.support.test.espresso.NoMatchingViewException noMatchingViewExcpetion = createException ( ) ; final java.lang.String viewMatcherDescription = noMatchingViewExcpetion.getViewMatcherDescription ( ) ; org.hamcrest.MatcherAssert.assertThat ( "wrong view matcher description" , viewMatcherDescription , org.hamcrest.Matchers.equalTo ( "null" ) ) ; }
Source:
public boolean shouldShowLoadingIndicator ( android.database.Cursor cursor ) { java.lang.String value = getString ( cursor , PhotoViewColumns.LOADING_INDICATOR ) ; if ( value == null ) { return false ; } else { return java.lang.Boolean.valueOf ( value ) ; } }

Target:
public boolean shouldShowLoadingIndicator ( android.database.Cursor cursor ) { java.lang.String value = getString ( cursor , PhotoViewColumns.LOADING_INDICATOR ) ; if ( value == null ) { return false ; } else { return java.lang.Boolean.parseBoolean ( value ) ; } }
Source:
private android.database.Cursor dialpadSearchLoadInBackground ( ) { com.android.dialer.dialpadview.SmartDialCursorLoader loader = new com.android.dialer.dialpadview.SmartDialCursorLoader ( getContext ( ) ) ; loader.configureQuery ( query ) ; android.database.Cursor cursor = loader.loadInBackground ( ) ; return com.android.dialer.searchfragment.cp2.SearchContactsCursorLoader.SmartDialCursor.newInstance ( getContext ( ) , cursor ) ; }

Target:
private android.database.Cursor dialpadSearchLoadInBackground ( ) { com.android.dialer.smartdial.SmartDialCursorLoader loader = new com.android.dialer.smartdial.SmartDialCursorLoader ( getContext ( ) ) ; loader.configureQuery ( query ) ; android.database.Cursor cursor = loader.loadInBackground ( ) ; return com.android.dialer.searchfragment.cp2.SearchContactsCursorLoader.SmartDialCursor.newInstance ( getContext ( ) , cursor ) ; }
Source:
public boolean hasPath ( ) { return false ; }

Target:
public boolean hasUpdate ( ) { return ( mUpdate ) != null ; }
Source:
protected void flushCookieStore ( ) { mChromeCookieManager.flushCookieStore ( ) ; }

Target:
public void flush ( ) { mChromeCookieManager.flushCookieStore ( ) ; }
Source:
native void rsnAllocationData3D ( long con , long id , int xoff , int yoff , int zoff , int mip , int w , int h , int depth , byte [ ] d , int sizeBytes ) ;

Target:
native void rsnScriptForEach ( long con , long incCon , long id , int slot , long ain , long aout , byte [ ] params , boolean mUseInc ) ;
Source:
public com.android.layoutlib.api.IResourceValue findItem ( java.lang.String name ) { return mItems.get ( name ) ; }

Target:
public com.android.layoutlib.api.IResourceValue findItem ( java.lang.String name ) { return mItems.get ( com.android.util.Pair.of ( name , true ) ) ; }
Source:
public static byte $noinline$shortToCharToByte ( short value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( byte ) ( ( char ) ( value ) ) ) ; }

Target:
public static short $noinline$shortToCharToShort ( short value ) { return ( ( short ) ( ( char ) ( value ) ) ) ; }
Source:
public static int IntDivision ( ) { int a ; int b ; int c ; a = 8 ; b = 3 ; c = a / b ; return c ; }

Target:
public static int IntDivision ( ) { int a ; int b ; int c ; a = Main.$inline$int ( 8 ) ; b = Main.$inline$int ( 3 ) ; c = a / b ; return c ; }
Source:
public void run ( ) { mActivity.startAnimation ( mValueAnimator ) ; }

Target:
public void run ( ) { mActivity.startAnimation ( animator ) ; }
Source:
boolean isEmpty ( @ javax.annotation.Nonnull com.android.sched.vfs.MessageDigestFS.MessageDigestVDir dir ) { return vfs.isEmpty ( dir ) ; }

Target:
boolean isEmpty ( @ javax.annotation.Nonnull com.android.sched.vfs.MessageDigestFS.MessageDigestVDir dir ) { return vfs.isEmpty ( dir.getWrappedDir ( ) ) ; }
Source:
public void fine ( java.lang.String msg ) { if ( ( java.util.logging.Level.FINE.intValue ( ) ) < ( levelValue ) ) { return ; } log ( java.util.logging.Level.FINE , msg ) ; }

Target:
public void fine ( java.util.function.Supplier < java.lang.String > msgSupplier ) { log ( java.util.logging.Level.FINE , msgSupplier ) ; }
Source:
public void setBcc ( java.util.ArrayList < android.text.util.Rfc822Token > bcc ) { this . bcc = bcc ; }

Target:
public void setBcc ( java.util.ArrayList < android.text.util.Rfc822Token > bcc ) { this . mBcc = bcc ; }
Source:
protected com.android.sched.util.location.Location getVFSLocation ( ) { return inputVFS.getLocation ( ) ; }

Target:
public void close ( ) throws com.android.jack.library.LibraryIOException { try { inputVFS.close ( ) ; } catch ( java.io.IOException e ) { throw new com.android.jack.library.LibraryIOException ( getLocation ( ) , e ) ; } }
Source:
public static < T > com.google.common.base.Optional < T > absent ( ) { return ( ( com.google.common.base.Optional < T > ) ( com.google.common.base.Absent.INSTANCE ) ) ; }

Target:
public static < T > com.google.common.base.Optional < T > absent ( ) { return com.google.common.base.Absent.withType ( ) ; }
Source:
public boolean isWifiCallingAvailable ( ) { try { return getITelephony ( ) . isWifiCallingAvailable ( ) ; } catch ( android.os.RemoteException ex ) { return false ; } catch ( java.lang.NullPointerException ex ) { return false ; } }

Target:
public boolean isImsRegistered ( int subId ) { try { return getITelephony ( ) . isImsRegistered ( subId ) ; } catch ( android.os.RemoteException | java.lang.NullPointerException ex ) { return false ; } }
Source:
public java.util.Map < java.lang.String , java.lang.String > getManifestPlaceholders ( ) { java.util.Map < java.lang.String , java.lang.String > mergedFlavorsPlaceholders = mMergedFlavor.getManifestPlaceholders ( ) ; mergedFlavorsPlaceholders.putAll ( mBuildType.getManifestPlaceholders ( ) ) ; return mergedFlavorsPlaceholders ; }

Target:
public boolean getRenderscriptNdkMode ( ) { java.lang.Boolean value = mMergedFlavor.getRenderscriptNdkMode ( ) ; if ( value != null ) { return value ; } return false ; }
Source:
private void setFrameCount ( int nFrames ) { mFrameSelectionScale.setMaximum ( nFrames ) ; mFrameSelectionSpinner.setMaximum ( nFrames ) ; }

Target:
private void setFrameCount ( int nFrames ) { boolean en = nFrames > 0 ; mFrameSelectionScale.setEnabled ( en ) ; mFrameSelectionSpinner.setEnabled ( en ) ; mFrameSelectionScale.setMaximum ( nFrames ) ; mFrameSelectionSpinner.setMaximum ( nFrames ) ; }
Source:
protected synchronized boolean cleanup ( ) { android.util.Log.i ( com.android.bluetooth.hfp.HeadsetService.TAG , "cleanup()" ) ; if ( ! ( mCreated ) ) { android.util.Log.w ( com.android.bluetooth.hfp.HeadsetService.TAG , "cleanup() called before create()" ) ; return true ; } mCreated = false ; return true ; }

Target:
protected synchronized void cleanup ( ) { android.util.Log.i ( com.android.bluetooth.hfp.HeadsetService.TAG , "cleanup" ) ; if ( ! ( mCreated ) ) { android.util.Log.w ( com.android.bluetooth.hfp.HeadsetService.TAG , "cleanup() called before create()" ) ; } mCreated = false ; }
Source:
public void testVFE1 ( ) { try { java.lang.Class.forName ( "dxc.junit.opcodes.array_length.jm.T_array_length_2" ) ; fail ( "expected a verification exception" ) ; } catch ( java.lang.Throwable t ) { dot.junit.DxUtil.checkVerifyException ( t ) ; } }

Target:
public void testVFE1 ( ) { load ( "dot.junit.opcodes.array_length.d.T_array_length_2" , java.lang.VerifyError.class ) ; }
Source:
public java.lang.String getUsage ( ) { return "a path to a Jack library, or a Jar for the annotation processor" ; }

Target:
public java.lang.String getUsage ( ) { return "a path to a Jack library or a Jar" ; }
Source:
public boolean getDataEnabled ( ) { return false ; }

Target:
public boolean isUserDataEnabled ( ) { return false ; }
Source:
public void prependPath ( @ javax.annotation.Nonnull com.android.sched.vfs.VPath path ) { pathFragments.add ( 0 , new com.android.sched.vfs.VPath.VPathFragment ( java.lang.String.valueOf ( com.android.sched.vfs.VPath.INTERNAL_SEPARATOR ) , com.android.sched.vfs.VPath.INTERNAL_SEPARATOR ) ) ; pathFragments.addAll ( 0 , path.getPathFragments ( ) ) ; }

Target:
public void appendPath ( @ javax.annotation.Nonnull com.android.sched.vfs.VPath path ) { pathFragments.add ( new com.android.sched.vfs.VPath.VPathFragment ( java.lang.String.valueOf ( com.android.sched.vfs.VPath.INTERNAL_SEPARATOR ) , com.android.sched.vfs.VPath.INTERNAL_SEPARATOR ) ) ; pathFragments.addAll ( path.getPathFragments ( ) ) ; }
Source:
public void saveOAuthData ( com.google.gdt.eclipse.login.common.OAuthData credentials ) { com.google.gct.login.GoogleLoginPrefs.saveOAuthData ( credentials ) ; }

Target:
public void saveOAuthData ( com.google.gct.login.OAuthData credentials ) { com.google.gct.login.GoogleLoginPrefs.saveOAuthData ( credentials ) ; }
Source:
public static int getTunerType ( android.content.Context context ) { return com.android.tv.tuner.TunerHal.TUNER_TYPE_USB ; }

Target:
static boolean useBuiltInTuner ( android.content.Context context ) { return false ; }
Source:
void registerSync ( android.bluetooth.le.ScanResult scanResult , int skip , int timeout , android.bluetooth.le.IPeriodicAdvertisingCallback callback ) { enforceAdminPermission ( ) ; }

Target:
void registerSync ( android.bluetooth.le.ScanResult scanResult , int skip , int timeout , android.bluetooth.le.IPeriodicAdvertisingCallback callback ) { enforceAdminPermission ( ) ; mPeriodicScanManager.startSync ( scanResult , skip , timeout , callback ) ; }
Source:
public static com.android.sdklib.resources.Navigation getEnum ( java.lang.String value ) { for ( com.android.sdklib.resources.Navigation orient : com.android.sdklib.resources.Navigation.values ( ) ) { if ( orient.mValue.equals ( value ) ) { return orient ; } } return null ; }

Target:
public static com.android.sdklib.resources.Navigation getEnum ( java.lang.String value ) { for ( com.android.sdklib.resources.Navigation nav : com.android.sdklib.resources.Navigation.values ( ) ) { if ( nav.mValue.equals ( value ) ) { return nav ; } } return null ; }
Source:
public void testAccessibility ( ) throws java.lang.Exception { assertEquals ( ( "accessibility.xml:4: Warning: [Accessibility] Missing contentDescription " + ( ( "attribute on image\n" + "accessibility.xml:5: Warning: [Accessibility] Missing contentDescription " ) + "attribute on image" ) ) , lintProject ( "res/layout/accessibility.xml" ) ) ; }

Target:
public void testAccessibility ( ) throws java.lang.Exception { assertEquals ( ( "res/layout/accessibility.xml:4: Warning: [Accessibility] Missing contentDescription attribute on image [ContentDescription]\n" + ( ( ( ( ( ( " <ImageView android:id=\"@+id/android_logo\" android:layout_width=\"wrap_content\" android:layout_height=\"wrap_content\" android:src=\"@drawable/android_button\" android:focusable=\"false\" android:clickable=\"false\" android:layout_weight=\"1.0\" />\n" + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "res/layout/accessibility.xml:5: Warning: [Accessibility] Missing contentDescription attribute on image [ContentDescription]\n" ) + " <ImageButton android:importantForAccessibility=\"yes\" android:id=\"@+id/android_logo2\" android:layout_width=\"wrap_content\" android:layout_height=\"wrap_content\" android:src=\"@drawable/android_button\" android:focusable=\"false\" android:clickable=\"false\" android:layout_weight=\"1.0\" />\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "0 errors, 2 warnings\n" ) + "" ) ) , lintProject ( "res/layout/accessibility.xml" ) ) ; }
Source:
public void test_minusWeeks_overLeapYears ( ) { java.time.LocalDate t = TEST_2007_07_15.minusYears ( ( - 1 ) ) . minusWeeks ( 104 ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2006 , 7 , 18 ) ) ; }

Target:
public void test_minusWeeks_overLeapYears ( ) { java.time.LocalDate t = tck.java.time.TCKLocalDate.TEST_2007_07_15.minusYears ( ( - 1 ) ) . minusWeeks ( 104 ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2006 , 7 , 18 ) ) ; }
Source:
public void currentSignalStrength ( int indicationType , com.android.internal.telephony.V1_0.SignalStrength signalStrength ) { mRil.processIndication ( indicationType ) ; }

Target:
public void modemReset ( int indicationType , java.lang.String reason ) { mRil.processIndication ( indicationType ) ; }
Source:
public static native int EVP_MD_CTX_copy ( int ctx ) ;

Target:
public static native void EVP_MD_CTX_init ( long ctx ) ;
Source:
private static com.android.libcore.timezone.tzlookup.zonetree.Country parseCountry ( java.lang.String text ) throws java.lang.Exception { com.android.libcore.timezone.tzlookup.zonetree.Country.Builder builder = com.android.libcore.timezone.tzlookup.zonetree.Country.newBuilder ( ) ; com.google.protobuf.TextFormat.getParser ( ) . merge ( text , builder ) ; return builder.build ( ) ; }

Target:
private static com.android.libcore.timezone.tzlookup.proto.CountryZonesFile.Country parseCountry ( java.lang.String text ) throws java.lang.Exception { com.android.libcore.timezone.tzlookup.proto.CountryZonesFile.Country.Builder builder = com.android.libcore.timezone.tzlookup.proto.CountryZonesFile.Country.newBuilder ( ) ; com.google.protobuf.TextFormat.getParser ( ) . merge ( text , builder ) ; return builder.build ( ) ; }
Source:
public void closeUdpEncapsulationSocket ( int resourceId ) throws android.os.RemoteException { releaseManagedResource ( mUdpSocketRecords , resourceId , "UdpEncapsulationSocket" ) ; }

Target:
protected com.android.server.IpSecService.ResourceTracker getResourceTracker ( ) { return mUserQuotaTracker.getUserRecord ( this . uid ) . socket ; }
Source:
public java.lang.String toString ( ) { return java.lang.String.format ( java.util.Locale.US , "%s:%s:%s" , myGroupId , myArtifactId , getFullRevision ( ) ) ; }

Target:
public java.lang.String toString ( ) { java.lang.String s = java.lang.String.format ( java.util.Locale.US , "%s:%s:%s" , myGroupId , myArtifactId , getFullRevision ( ) ) ; if ( ( myArtifactType ) != null ) { s += "@" + ( myArtifactType.toString ( ) ) ; } return s ; }
Source:
public void keyguardWaitingForActivityDrawn ( ) { synchronized ( mWindowMap ) { mKeyguardWaitingForActivityDrawn = true ; } }

Target:
public void keyguardWaitingForActivityDrawn ( ) { if ( com.android.server.wm.WindowManagerService.DEBUG_KEYGUARD ) android.util.Slog.d ( com.android.server.wm.WindowManagerService.TAG , "keyguardWaitingForActivityDrawn" ) ; synchronized ( mWindowMap ) { mKeyguardWaitingForActivityDrawn = true ; } }
Source:
public void run ( ) { onWindowVisibilityChanged ( visibility ) ; }

Target:
public void run ( ) { onOverScrolled ( scrollX , scrollY , clampedX , clampedY ) ; }
Source:
public void proceed ( ) { postProceed ( true ) ; }

Target:
public android.net.Uri getUrl ( ) { return android.net.Uri.parse ( mParams.url ) ; }
Source:
public static java.lang.Object getMinSdkVersion ( com.android.sdklib.io.IAbstractFile manifestFile ) throws com.android.sdklib.io.StreamException , javax.xml.xpath.XPathExpressionException { javax.xml.xpath.XPath xPath = com.android.sdklib.xml.AndroidXPathFactory.newXPath ( ) ; java.lang.String result = xPath.evaluate ( ( ( ( ( ( ( ( "/" + ( com.android.sdklib.xml.AndroidManifest.NODE_MANIFEST ) ) + "/" ) + ( com.android.sdklib.xml.AndroidManifest.NODE_USES_SDK ) ) + "/@" ) + ( AndroidXPathFactory.DEFAULT_NS_PREFIX ) ) + ":" ) + ( com.android.sdklib.xml.AndroidManifest.ATTRIBUTE_MIN_SDK_VERSION ) ) , new org.xml.sax.InputSource ( manifestFile.getContents ( ) ) ) ; try { return java.lang.Integer.valueOf ( result ) ; } catch ( java.lang.NumberFormatException e ) { return ( result.length ( ) ) > 0 ? result : null ; } }

Target:
public static java.lang.Object getMinSdkVersion ( com.android.io.IAbstractFile manifestFile ) throws com.android.io.StreamException , javax.xml.xpath.XPathExpressionException { javax.xml.xpath.XPath xPath = com.android.sdklib.xml.AndroidXPathFactory.newXPath ( ) ; java.lang.String result = xPath.evaluate ( ( ( ( ( ( ( ( "/" + ( com.android.sdklib.xml.AndroidManifest.NODE_MANIFEST ) ) + "/" ) + ( com.android.sdklib.xml.AndroidManifest.NODE_USES_SDK ) ) + "/@" ) + ( AndroidXPathFactory.DEFAULT_NS_PREFIX ) ) + ":" ) + ( com.android.sdklib.xml.AndroidManifest.ATTRIBUTE_MIN_SDK_VERSION ) ) , new org.xml.sax.InputSource ( manifestFile.getContents ( ) ) ) ; try { return java.lang.Integer.valueOf ( result ) ; } catch ( java.lang.NumberFormatException e ) { return ( result.length ( ) ) > 0 ? result : null ; } }
Source:
public static android.telecom.Logging.Session.Info getInfo ( android.telecom.Logging.Session s ) { return new android.telecom.Logging.Session.Info ( s.getFullSessionId ( ) , s.getShortMethodName ( ) ) ; }

Target:
public static android.telecom.Logging.Session.Info getInfo ( android.telecom.Logging.Session s ) { return new android.telecom.Logging.Session.Info ( s.getFullSessionId ( ) , s.getFullMethodPath ( ( ( ! ( android.telecom.Log.DEBUG ) ) && ( s.isSessionExternal ( ) ) ) ) ) ; }
Source:
java.util.List < android.media.session.MediaSession.QueueItem > getQueue ( ) { if ( ! ( isBrowsable ( ) ) ) return null ; return mMediaController.getQueue ( ) ; }

Target:
public void dump ( java.lang.StringBuilder sb ) { sb.append ( ( ( mMediaController.toString ( ) ) + "\n" ) ) ; }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setSuitePlanBytes ( com.android.vts.proto.ByteString value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 16 ; suitePlan_ = value ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setSuitePlan ( java.lang.String value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 32 ; suitePlan_ = value ; onChanged ( ) ; return this ; }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { if ( ( mDisableUpdates ) > 0 ) { return ; } final java.lang.Object source = e.getSource ( ) ; if ( source == ( mOrientationCombo ) ) { flipOrientation ( ) ; } }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { if ( ( mDisableUpdates ) > 0 ) { return ; } final java.lang.Object source = e.getSource ( ) ; if ( source == ( mOrientationCombo ) ) { gotoNextState ( ) ; } }
Source:
public void run ( ) { reporterThread.interrupt ( ) ; try { reporterThread.join ( ) ; } catch ( java.lang.InterruptedException e ) { java.lang.Thread.currentThread ( ) . interrupt ( ) ; } }

Target:
public void run ( ) { toProcess.add ( com.android.jack.reporting.CommonReporter.ReportingDone.INSTANCE ) ; try { reporterThread.join ( ) ; } catch ( java.lang.InterruptedException e ) { java.lang.Thread.currentThread ( ) . interrupt ( ) ; } }
Source:
public static com.android.manifmerger.Actions load ( java.lang.String xml ) { return com.android.manifmerger.Actions.getGsonParser ( ) . fromJson ( xml , com.android.manifmerger.Actions.class ) ; }

Target:
public static com.android.manifmerger.Actions load ( java.lang.String xml ) throws java.io.IOException , javax.xml.parsers.ParserConfigurationException , org.xml.sax.SAXException { return com.android.manifmerger.Actions.load ( new com.android.utils.PositionXmlParser ( ) . parse ( xml ) ) ; }
Source:
synchronized void nAllocationRead ( long id , long [ ] d ) { validate ( ) ; rsnAllocationRead ( mContext , id , d ) ; }

Target:
synchronized void nScriptSetVarJ ( long id , int slot , long val , boolean mUseInc ) { validate ( ) ; long curCon = mContext ; if ( mUseInc ) { curCon = mIncCon ; } rsnScriptSetVarJ ( curCon , id , slot , val , mUseInc ) ; }
Source:
public void testRefactor6 ( ) throws java.lang.Exception { checkRefactoring ( com.android.ide.eclipse.adt.internal.refactorings.core.RenameResourceParticipantTest.TEST_PROJECT , "@drawable/ic_launcher" , true , "newlauncher" , ( "CHANGES:\n" + ( ( ( ( ( ( ( ( ( ( ( ( ( ( "-------\n" + "* AndroidManifest.xml - /testRefactor6/AndroidManifest.xml\n" ) + " < android:icon=\"@drawable/ic_launcher\"\n" ) + " ---\n" ) + " > android:icon=\"@drawable/newlauncher\"\n" ) + "\n" ) + "\n" ) + "* Rename \'testRefactor6/res/drawable-hdpi/ic_launcher.png\' to \'newlauncher.png\'\n" ) + "* Rename \'testRefactor6/res/drawable-ldpi/ic_launcher.png\' to \'newlauncher.png\'\n" ) + "* Rename \'testRefactor6/res/drawable-mdpi/ic_launcher.png\' to \'newlauncher.png\'\n" ) + "* Rename \'testRefactor6/res/drawable-xhdpi/ic_launcher.png\' to \'newlauncher.png\'\n" ) + "* R.java - /testRefactor6/gen/com/example/refactoringtest/R.java\n" ) + " < public static final int ic_launcher=0x7f020000;\n" ) + " ---\n" ) + " > public static final int newlauncher=0x7f020000;" ) ) ) ; }

Target:
public void testRefactor6 ( ) throws java.lang.Exception { renameResource ( com.android.ide.eclipse.adt.internal.refactorings.core.TEST_PROJECT , "@drawable/ic_launcher" , true , "newlauncher" , ( "CHANGES:\n" + ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( "-------\n" + "* AndroidManifest.xml - /testRefactor6/AndroidManifest.xml\n" ) + " @@ -12 +12\n" ) + " - android:icon=\"@drawable/ic_launcher\"\n" ) + " + android:icon=\"@drawable/newlauncher\"\n" ) + "\n" ) + "\n" ) + "* Rename \'testRefactor6/res/drawable-hdpi/ic_launcher.png\' to \'newlauncher.png\'\n" ) + "\n" ) + "* Rename \'testRefactor6/res/drawable-ldpi/ic_launcher.png\' to \'newlauncher.png\'\n" ) + "\n" ) + "* Rename \'testRefactor6/res/drawable-mdpi/ic_launcher.png\' to \'newlauncher.png\'\n" ) + "\n" ) + "* Rename \'testRefactor6/res/drawable-xhdpi/ic_launcher.png\' to \'newlauncher.png\'\n" ) + "\n" ) + "* R.java - /testRefactor6/gen/com/example/refactoringtest/R.java\n" ) + " @@ -14 +14\n" ) + " - public static final int ic_launcher=0x7f020000;\n" ) + " + public static final int newlauncher=0x7f020000;" ) ) ) ; }
Source:
public void writeSmsToRuim ( int status , java.lang.String pdu , android.os.Message response ) { android.util.Log.d ( com.android.internal.telephony.test.SimulatedCommands.LOG_TAG , ( "Write SMS to RUIM with status " + status ) ) ; unimplemented ( response ) ; }

Target:
public void writeSmsToRuim ( int status , java.lang.String pdu , android.os.Message response ) { android.telephony.Rlog.d ( com.android.internal.telephony.test.SimulatedCommands.LOG_TAG , ( "Write SMS to RUIM with status " + status ) ) ; unimplemented ( response ) ; }
Source:
public java.util.Collection < com.android.jack.library.BinaryKind > getBinaryKinds ( ) ;

Target:
public java.util.Collection < com.android.jack.library.FileType > getFileTypes ( ) ;
Source:
public void testScan ( ) throws java.lang.Exception { com.android.server.wifi.WificondControl wificondControl = org.mockito.Mockito.mock ( com.android.server.wifi.WificondControl.class ) ; mWifiNative.setWificondControl ( wificondControl ) ; mWifiNative.scan ( com.android.server.wifi.WifiNativeTest.SCAN_FREQ_SET , com.android.server.wifi.WifiNativeTest.SCAN_HIDDEN_NETWORK_SSID_SET ) ; org.mockito.Mockito.verify ( wificondControl ) . scan ( com.android.server.wifi.WifiNativeTest.SCAN_FREQ_SET , com.android.server.wifi.WifiNativeTest.SCAN_HIDDEN_NETWORK_SSID_SET ) ; }

Target:
public void testScan ( ) throws java.lang.Exception { mWifiNative.scan ( com.android.server.wifi.WifiNativeTest.SCAN_FREQ_SET , com.android.server.wifi.WifiNativeTest.SCAN_HIDDEN_NETWORK_SSID_SET ) ; org.mockito.Mockito.verify ( mWificondControl ) . scan ( com.android.server.wifi.WifiNativeTest.SCAN_FREQ_SET , com.android.server.wifi.WifiNativeTest.SCAN_HIDDEN_NETWORK_SSID_SET ) ; }
Source:
public android.net.wifi.IApInterface setupDriverForSoftApMode ( android.net.wifi.IWificond wificond ) { android.net.wifi.IApInterface apInterface = mWificondControl.setupDriverForSoftApMode ( wificond ) ; if ( ! ( startHal ( ) ) ) { android.util.Log.e ( com.android.server.wifi.WifiNative.TAG , "Failed to start HAL for AP mode" ) ; } return apInterface ; }

Target:
public boolean initializeSupplicantHal ( ) { if ( ! ( com.android.server.wifi.WifiNative.HIDL_ENABLE ) ) { return true ; } return mSupplicantStaIfaceHal.initialize ( ) ; }
Source:
public boolean saveConfig ( ) { return false ; }

Target:
public boolean saveConfig ( ) { return mSupplicantP2pIfaceHal.saveConfig ( ) ; }
Source:
public void accept ( int callType ) throws com.android.ims.ImsException { accept ( callType , new com.android.ims.ImsStreamMediaProfile ( ) ) ; }

Target:
public void accept ( int callType ) throws com.android.ims.ImsException { accept ( callType , new android.telephony.ims.ImsStreamMediaProfile ( ) ) ; }
Source:
long getLastModified ( ) ;

Target:
java.nio.file.attribute.FileTime getLastModified ( ) throws com.android.sched.util.file.CannotGetModificationTimeException ;
Source:
public boolean password ( java.lang.String password ) { return password ( android.security.KeyStore.getBytes ( password ) ) ; }

Target:
public boolean password ( java.lang.String password ) { return password ( android.security.KeyStore.getPasswordBytes ( password ) ) ; }
Source:
protected java.lang.String getTestDataRelPath ( ) { return "eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/" + "internal/editors/layout/refactoring/testdata" ; }

Target:
protected java.lang.String getTestDataRelPath ( ) { fail ( "Must be overridden" ) ; return null ; }
Source:
public void setCdmaBroadcastConfig ( int [ ] configValuesArray , android.os.Message response ) { }

Target:
public void setCdmaBroadcastConfig ( com.android.internal.telephony.cdma.CdmaSmsBroadcastConfigInfo [ ] configs , android.os.Message response ) { }
Source:
public TestCaseBuilder addCanvasClientWithoutUsingPicture ( android.uirendering.cts.testinfrastructure.CanvasClient canvasClient ) { }

Target:
public android.uirendering.cts.testinfrastructure.ActivityTestBase.TestCaseBuilder addCanvasClient ( android.uirendering.cts.testinfrastructure.CanvasClient canvasClient , boolean useHardware ) { return addCanvasClient ( null , canvasClient , useHardware ) ; }
Source:
public static void computeMin ( android.renderscript.cts.TestMin.ArgumentsCharCharChar args ) { args.ulf = 0 ; args.ulfRelaxed = 0 ; args.out = ( ( byte ) ( java.lang.StrictMath.min ( args.inV1 , args.inV2 ) ) ) ; }

Target:
public static void computeClamp ( android.renderscript.cts.TestClamp.ArgumentsUintUintUintUint args ) { args.out = android.renderscript.cts.CoreMathVerifier.minU32 ( args.inMaxValue , android.renderscript.cts.CoreMathVerifier.maxU32 ( args.inValue , args.inMinValue ) ) ; }
Source:
public static java.lang.String toUnicode ( java.lang.String input , int flags ) { return libcore.icu.NativeIDN.toUnicode ( input , flags ) ; }

Target:
public static java.lang.String toUnicode ( java.lang.String input ) { return java.net.IDN.toUnicode ( input , 0 ) ; }
Source:
public boolean isNonDefaultOnTheAir ( ) { return ( ( ( mSupport5gBand ) || ( ( mMasterPreference ) != 0 ) ) || ( ( mClusterLow ) != ( android.net.wifi.nan.ConfigRequest.CLUSTER_ID_MIN ) ) ) || ( ( mClusterHigh ) != ( android.net.wifi.nan.ConfigRequest.CLUSTER_ID_MAX ) ) ; }

Target:
public boolean isNonDefault ( ) { return ( ( ( mSupport5gBand ) || ( ( mMasterPreference ) != 0 ) ) || ( ( mClusterLow ) != ( android.net.wifi.nan.ConfigRequest.CLUSTER_ID_MIN ) ) ) || ( ( mClusterHigh ) != ( android.net.wifi.nan.ConfigRequest.CLUSTER_ID_MAX ) ) ; }
Source:
public void set ( V value ) { nodes.setValue ( value ) ; }

Target:
public void set ( V value ) { nodeItr.setValue ( value ) ; }
Source:
public final native void setLoop ( int streamID , int loop ) ;

Target:
public final native void setRate ( int streamID , float rate ) ;
Source:
public static native java.lang.String getDisplayScriptNative ( java.lang.String variantCode , java.lang.String locale ) ;

Target:
private static native java.lang.String getDisplayScriptNative ( java.lang.String targetLanguageTag , java.lang.String languageTag ) ;
Source:
public final void accept ( com.android.tools.perflib.heap.Visitor visitor ) { com.android.tools.perflib.heap.Instance instance = getReferredInstance ( ) ; if ( instance != null ) { instance.accept ( visitor ) ; } }

Target:
public final void accept ( com.android.tools.perflib.heap.Visitor visitor ) { visitor.visitRootObj ( this ) ; com.android.tools.perflib.heap.Instance instance = getReferredInstance ( ) ; if ( instance != null ) { visitor.visitLater ( instance ) ; } }
Source:
public final int generateSecret ( byte [ ] sharedSecret , int offset ) throws java.lang.IllegalStateException , javax.crypto.ShortBufferException { return spiImpl.engineGenerateSecret ( sharedSecret , offset ) ; }

Target:
public final int generateSecret ( byte [ ] sharedSecret , int offset ) throws java.lang.IllegalStateException , javax.crypto.ShortBufferException { return getSpi ( ) . engineGenerateSecret ( sharedSecret , offset ) ; }
Source:
private static void assertMeidFormat ( java.lang.String deviceId ) { java.lang.String meidPattern = "[0-9a-fA-F]{14}" ; assertTrue ( ( ( ( "MEID device id " + deviceId ) + " does not match pattern " ) + meidPattern ) , java.util.regex.Pattern.matches ( meidPattern , deviceId ) ) ; }

Target:
private static void assertMeidFormat ( java.lang.String deviceId ) { java.lang.String meidPattern = "[0-9a-fA-F]{14}" ; org.junit.Assert.assertTrue ( ( ( ( "MEID device id " + deviceId ) + " does not match pattern " ) + meidPattern ) , java.util.regex.Pattern.matches ( meidPattern , deviceId ) ) ; }
Source:
public int getWeight ( ) { return 3 ; }

Target:
public int getWeight ( ) { return 200 ; }
Source:
public void testE2 ( ) { try { dot.junit.opcodes.const_class.d.T_const_class_7 t = new dot.junit.opcodes.const_class.d.T_const_class_7 ( ) ; t.run ( ) ; fail ( "expected an IllegalAccessError exception" ) ; } catch ( java.lang.IllegalAccessError e ) { } }

Target:
public void testVFE2 ( ) { load ( "dot.junit.opcodes.const_class.d.T_const_class_4" , java.lang.VerifyError.class ) ; }
Source:
protected boolean getUseSni ( ) { return useSni ; }

Target:
protected boolean getUseSni ( ) { return ( useSni ) != null ? useSni.booleanValue ( ) : isSniEnabledByDefault ( ) ; }
Source:
private boolean hasParameters ( proguard.obfuscate.Clazz clazz , proguard.obfuscate.Method method ) { return ( method.getDescriptor ( clazz ) . charAt ( 1 ) ) != ( ClassConstants.INTERNAL_METHOD_ARGUMENTS_CLOSE ) ; }

Target:
private boolean hasParameters ( proguard.obfuscate.Clazz clazz , proguard.obfuscate.Method method ) { return ( method.getDescriptor ( clazz ) . charAt ( 1 ) ) != ( ClassConstants.METHOD_ARGUMENTS_CLOSE ) ; }
Source:
public synchronized java.util.Iterator < java.lang.Object > iterator ( ) { return com.google.common.collect.Iterators.concat ( com.google.common.collect.Iterators.forArray ( java.lang.Long.valueOf ( number ) , java.lang.Long.valueOf ( size ) ) , element.iterator ( ) ) ; }

Target:
public long getNumber ( ) { return number ; }
Source:
public void setUp ( ) { org.mockito.MockitoAnnotations.initMocks ( this ) ; mStorage = new com.android.networkrecommendation.DefaultNetworkRecommendationService.ScoreStorage ( ) ; mProvider = new com.android.networkrecommendation.DefaultNetworkRecommendationService.DefaultNetworkRecommendationProvider ( new android.os.Handler ( android.os.Looper.getMainLooper ( ) ) , mNetworkScoreManager , mStorage ) ; }

Target:
public void setUp ( ) { org.mockito.MockitoAnnotations.initMocks ( this ) ; mStorage = new com.android.networkrecommendation.DefaultNetworkRecommendationProvider.ScoreStorage ( ) ; mProvider = new com.android.networkrecommendation.DefaultNetworkRecommendationProvider ( new android.os.Handler ( android.os.Looper.getMainLooper ( ) ) , mNetworkScoreManager , mStorage ) ; }
Source:
java.lang.String read ( com.android.dx.io.DexBuffer.Section in , com.android.dx.merge.IndexMap indexMap , int index ) { return in.readString ( ) ; }

Target:
java.lang.String read ( com.android.dex.Dex.Section in , com.android.dx.merge.IndexMap indexMap , int index ) { return in.readString ( ) ; }
Source:
private static java.lang.String getUseValueOfErrorMessage ( java.lang.String typeName , java.lang.String argument ) { return java.lang.String.format ( "Use %1$s.valueOf(%2$s) instead" , typeName , argument ) ; }

Target:
private static java.lang.String getUseValueOfErrorMessage ( java.lang.String typeName , java.lang.String argument ) { return java.lang.String.format ( "Use `%1$s.valueOf(%2$s)` instead" , typeName , argument ) ; }
Source:
private void onSimNotReady ( ) { if ( com.android.internal.telephony.dataconnection.DcTracker.DBG ) log ( "onSimNotReady" ) ; cleanUpAllConnections ( true , Phone.REASON_SIM_NOT_READY ) ; mAllApnSettings = null ; mAutoAttachOnCreationConfig = false ; }

Target:
private void onSimNotReady ( ) { if ( com.android.internal.telephony.dataconnection.DcTracker.DBG ) log ( "onSimNotReady" ) ; cleanUpAllConnections ( true , Phone.REASON_SIM_NOT_READY ) ; mAllApnSettings = null ; mAutoAttachOnCreationConfig = false ; mAutoAttachOnCreation.set ( false ) ; }
Source:
public void callSessionConferenceExtendReceived ( com.android.ims.internal.IImsCallSession newSession , com.android.ims.ImsCallProfile profile ) throws android.os.RemoteException { mListener.callSessionConferenceExtendReceived ( newSession , profile ) ; }

Target:
public void callSessionUpdateReceived ( android.telephony.ims.ImsCallProfile profile ) { try { mListener.callSessionUpdateReceived ( profile ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e ) ; } }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { newOrEdit ( true ) ; }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent event ) { on_SitesTableViewer_selectAll ( ) ; }
Source:
public void test_with_TemporalField_invalidField ( ) { TEST_11_30_59_500_PONE.with ( java.time.temporal.ChronoField.YEAR , 0 ) ; }

Target:
public void test_with_TemporalField_invalidField ( ) { tck.java.time.TCKOffsetTime.TEST_11_30_59_500_PONE.with ( java.time.temporal.ChronoField.YEAR , 0 ) ; }
Source:
public synchronized void onPlaybackStateChanged ( android.media.session.PlaybackState state ) { if ( com.android.bluetooth.avrcp.Avrcp.DEBUG ) android.util.Log.v ( com.android.bluetooth.avrcp.Avrcp.TAG , ( "onPlaybackStateChanged: state " + ( state.toString ( ) ) ) ) ; scheduleMediaUpdate ( ) ; }

Target:
public synchronized void onPlaybackStateChanged ( android.media.session.PlaybackState state ) { if ( com.android.bluetooth.avrcp.Avrcp.DEBUG ) android.util.Log.v ( com.android.bluetooth.avrcp.Avrcp.TAG , ( "onPlaybackStateChanged: state " + ( state.toString ( ) ) ) ) ; updateCurrentMediaState ( false ) ; }
Source:
public synchronized void onUserStopped ( ) { setVpnForcedLocked ( false ) ; mAlwaysOn = false ; unregisterPackageChangeReceiverLocked ( ) ; agentDisconnect ( ) ; }

Target:
private void setVpnForcedLocked ( boolean enforce ) { final java.util.List < java.lang.String > exemptedPackages = ( com.android.server.connectivity.Vpn.isNullOrLegacyVpn ( mPackage ) ) ? null : java.util.Collections.singletonList ( mPackage ) ; setVpnForcedWithExemptionsLocked ( enforce , exemptedPackages ) ; }
Source:
private static com.google.currysrc.api.transform.DocumentTransformRule createMandatoryRule ( com.google.currysrc.api.transform.DocumentTransformer transformer ) { return new com.google.currysrc.api.transform.DocumentTransformRule ( transformer , com.google.currysrc.api.match.SourceMatchers.always ( ) , true ) ; }

Target:
private static com.google.currysrc.api.transform.DocumentTransformRule createMandatoryRule ( com.google.currysrc.api.transform.DocumentTransformer transformer ) { return new com.google.currysrc.api.transform.DocumentTransformRule ( transformer , com.google.currysrc.api.match.SourceMatchers.all ( ) , true ) ; }
Source:
private void checkPeerCertificatesPresent ( ) throws javax.net.ssl.SSLPeerUnverifiedException { if ( ( ( peerCertificates ) == null ) || ( ( peerCertificates.length ) == 0 ) ) { throw new javax.net.ssl.SSLPeerUnverifiedException ( "No peer certificates" ) ; } }

Target:
protected java.security.cert.X509Certificate [ ] getX509PeerCertificates ( ) throws javax.net.ssl.SSLPeerUnverifiedException { if ( ( ( peerCertificates ) == null ) || ( ( peerCertificates.length ) == 0 ) ) { throw new javax.net.ssl.SSLPeerUnverifiedException ( "No peer certificates" ) ; } return peerCertificates ; }
Source:
private void loglocal ( java.lang.String msg ) { if ( com.android.internal.telephony.uicc.UiccProfile.DBG ) com.android.internal.telephony.uicc.UiccProfile.sLocalLog.log ( msg ) ; }

Target:
private void loglocal ( java.lang.String msg ) { if ( com.android.internal.telephony.uicc.UiccProfile.DBG ) UiccController.sLocalLog.log ( ( ( ( "UiccProfile[" + ( mPhoneId ) ) + "]: " ) + msg ) ) ; }
Source:
public void setCountryCodeQualifier ( com.android.ide.eclipse.adt.internal.resources.configurations.CountryCodeQualifier qualifier ) { mQualifiers [ com.android.ide.eclipse.adt.internal.resources.configurations.FolderConfiguration.INDEX_COUNTRY_CODE ] = qualifier ; }

Target:
public void setCountryCodeQualifier ( com.android.ide.common.resources.configuration.CountryCodeQualifier qualifier ) { mQualifiers [ com.android.ide.common.resources.configuration.FolderConfiguration.INDEX_COUNTRY_CODE ] = qualifier ; }
Source:
protected void finalize ( ) { try { super . finalize ( ) ; } catch ( java.lang.Throwable throwable ) { android.util.Log.e ( com.android.internal.telephony.gsm.SimPhoneBookInterfaceManager.LOG_TAG , "Error while finalizing:" , throwable ) ; } if ( DBG ) android.util.Log.d ( com.android.internal.telephony.gsm.SimPhoneBookInterfaceManager.LOG_TAG , "SimPhoneBookInterfaceManager finalized" ) ; }

Target:
protected void finalize ( ) { try { super . finalize ( ) ; } catch ( java.lang.Throwable throwable ) { android.telephony.Rlog.e ( com.android.internal.telephony.gsm.SimPhoneBookInterfaceManager.LOG_TAG , "Error while finalizing:" , throwable ) ; } if ( DBG ) android.telephony.Rlog.d ( com.android.internal.telephony.gsm.SimPhoneBookInterfaceManager.LOG_TAG , "SimPhoneBookInterfaceManager finalized" ) ; }
Source:
void addGeneratedSourceFolders ( @ com.android.annotations.NonNull org.gradle.api.Task task , @ com.android.annotations.NonNull java.io.File ... sourceFolders ) ;

Target:
void registerJavaGeneratingTask ( @ com.android.annotations.NonNull org.gradle.api.Task task , @ com.android.annotations.NonNull java.util.Collection < java.io.File > sourceFolders ) ;
Source:
protected void onCreate ( @ android.support.annotation.Nullable android.os.Bundle bundle ) { super . onCreate ( bundle ) ; com.android.incallui.audioroute.AudioRouteSelectorDialogFragment.newInstance ( com.android.incallui.audiomode.AudioModeProvider.getInstance ( ) . getAudioState ( ) ) . show ( getSupportFragmentManager ( ) , null ) ; }

Target:
protected void onCreate ( @ android.support.annotation.Nullable android.os.Bundle bundle ) { super . onCreate ( bundle ) ; com.android.incallui.audioroute.AudioRouteSelectorDialogFragment.newInstance ( com.android.incallui.audiomode.AudioModeProvider.getInstance ( ) . getAudioState ( ) ) . show ( getSupportFragmentManager ( ) , AudioRouteSelectorDialogFragment.TAG ) ; }
Source:
public static int NotEqualFalseRhs ( boolean arg ) { return arg == false ? 3 : 5 ; }

Target:
public static short intAnd0x17fffToShort ( int value ) { return ( ( short ) ( value & 98303 ) ) ; }
Source:
public static final native android.os.IHwBinder getService ( java.lang.String serviceName , int versionMajor , int versionMinor ) ;

Target:
public static final native android.os.IHwBinder getService ( java.lang.String iface , java.lang.String serviceName ) ;
Source:
public void onServiceConnected ( android.content.ComponentName name , android.os.IBinder service ) { if ( com.android.server.NetworkScoreService.DBG ) android.util.Log.d ( com.android.server.NetworkScoreService.TAG , ( "ScoringServiceConnection: " + ( name.flattenToString ( ) ) ) ) ; mConnected = true ; }

Target:
public void onServiceConnected ( android.content.ComponentName name , android.os.IBinder service ) { if ( com.android.server.NetworkScoreService.DBG ) android.util.Log.d ( com.android.server.NetworkScoreService.TAG , ( "ScoringServiceConnection: " + ( name.flattenToString ( ) ) ) ) ; mConnected = true ; mRecommendationProvider = INetworkRecommendationProvider.Stub.asInterface ( service ) ; }
Source:
public android.content.ContentValues getConstraints ( android.net.Uri uri , int action ) { return getConstraints ( convertUriToPath ( uri ) , action ) ; }

Target:
public android.content.ContentValues getConstraints ( android.net.Uri uri , int action ) { if ( ( null == uri ) || ( ( android.net.Uri.EMPTY ) == uri ) ) { throw new java.lang.IllegalArgumentException ( "Uri should be non null" ) ; } return getConstraints ( convertUriToPath ( uri ) , action ) ; }
Source:
public void testWithRowString_ValueDoesNotMatch ( ) { assertFalse ( android.support.test.espresso.matcher.CursorMatchers.withRowString ( android.support.test.espresso.matcher.CursorMatchersTest.COLUMN_STR , "does not match" ) . matches ( cursor ) ) ; }

Target:
public void withRowString_ValueDoesNotMatch ( ) { junit.framework.TestCase.assertFalse ( android.support.test.espresso.matcher.CursorMatchers.withRowString ( android.support.test.espresso.matcher.CursorMatchersTest.COLUMN_STR , "does not match" ) . matches ( cursor ) ) ; }
Source:
public abstract void disconnect ( int timeOut ) throws com.android.ddmlib.TimeoutException ;

Target:
public abstract void disconnect ( int timeOut , com.android.utils.ILogger logger ) throws com.android.ddmlib.TimeoutException ;
Source:
public java.lang.String find ( java.lang.String key ) { return tests.api.support.A.pp.findProp ( key ) ; }

Target:
public java.lang.String find ( java.lang.String key ) { return org.apache.harmony.tests.support.A.pp.findProp ( key ) ; }
Source:
public static < W extends java.lang.Appendable & java.io.Closeable > void copy ( java.io.File from , java.nio.charset.Charset charset , com.google.common.io.OutputSupplier < W > to ) throws java.io.IOException { com.google.common.io.CharStreams.copy ( com.google.common.io.Files.newReaderSupplier ( from , charset ) , to ) ; }

Target:
public static void write ( java.lang.CharSequence from , java.io.File to , java.nio.charset.Charset charset ) throws java.io.IOException { com.google.common.io.Files.asCharSink ( to , charset ) . write ( from ) ; }
Source:
public void onPostDialCharWait ( java.lang.String callId , java.lang.String chars ) { if ( isActivityStarted ( ) ) { mInCallActivity.showPostCharWaitDialog ( callId , chars ) ; } }

Target:
public void onPostDialCharWait ( java.lang.String callId , java.lang.String chars ) { if ( isActivityStarted ( ) ) { mInCallActivity.showDialogForPostCharWait ( callId , chars ) ; } }
Source:
public static void computeIlogb ( android.renderscript.cts.TestIlogb.ArgumentsFloatInt args ) { args.ulf = 4 ; args.ulfRelaxed = 12 ; args.out = ( ( int ) ( ( ( ( java.lang.Float.floatToIntBits ( args.in ) ) > > 23 ) & 255 ) - 127.0F ) ) ; }

Target:
public static void computeExpm1 ( android.renderscript.cts.TestExpm1.ArgumentsFloatFloat args ) { args.ulf = 4 ; args.ulfRelaxed = 16 ; args.out = ( ( float ) ( java.lang.StrictMath.expm1 ( args.in ) ) ) ; }
Source:
public void onAttachedToWindow ( ) { super . onAttachedToWindow ( ) ; mAttached = true ; }

Target:
public void onAttachedToWindow ( ) { super . onAttachedToWindow ( ) ; mAttached = true ; updateAnim ( ) ; }
Source:
public void testEncode_CharBuffer_NullCharBuffer ( ) { tests.api.java.nio.charset.CharsetTest.MockCharset c = new tests.api.java.nio.charset.CharsetTest.MockCharset ( "mock" , null ) ; try { c.encode ( ( ( java.nio.CharBuffer ) ( null ) ) ) ; fail ( "Should throw NullPointerException!" ) ; } catch ( java.lang.NullPointerException e ) { } }

Target:
public void testIsSupported_IllegalName ( ) { try { java.nio.charset.Charset.isSupported ( " ///#$$" ) ; fail ( ) ; } catch ( java.nio.charset.IllegalCharsetNameException expected ) { } }