auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
boolean isNumberMatchingDesc ( java.lang.String nationalNumber , com.google.i18n.phonenumbers.nano.Phonemetadata.PhoneNumberDesc numberDesc ) { java.util.regex.Matcher nationalNumberPatternMatcher = regexCache.getPatternForRegex ( numberDesc.nationalNumberPattern ) . matcher ( nationalNumber ) ; return ( isNumberPossibleForDesc ( nationalNumber , numberDesc ) ) && ( nationalNumberPatternMatcher.matches ( ) ) ; }

Target:
boolean isNumberMatchingDesc ( java.lang.String nationalNumber , com.google.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc numberDesc ) { java.util.regex.Matcher nationalNumberPatternMatcher = regexCache.getPatternForRegex ( numberDesc.getNationalNumberPattern ( ) ) . matcher ( nationalNumber ) ; return ( isNumberPossibleForDesc ( nationalNumber , numberDesc ) ) && ( nationalNumberPatternMatcher.matches ( ) ) ; }
Source:
public abstract void srcToLib ( @ javax.annotation.CheckForNull java.lang.String classpath , @ javax.annotation.Nonnull java.io.File out , boolean zipFiles , @ javax.annotation.Nonnull java.io.File ... sources ) throws java.lang.Exception ;

Target:
public final void libToExe ( @ javax.annotation.Nonnull java.io.File in , @ javax.annotation.Nonnull java.io.File out , boolean zipFile ) throws java.lang.Exception { libToExe ( new java.io.File [ ] { in } , out , zipFile ) ; }
Source:
com.android.sched.vfs.VPath getPathFromRoot ( @ javax.annotation.Nonnull com.android.sched.vfs.BaseVFile file ) { return vfs.getPathFromRoot ( file ) ; }

Target:
com.android.sched.util.location.Location getVFileLocation ( @ javax.annotation.Nonnull com.android.sched.vfs.DeflateFS.DeflateVFile file ) { return vfs.getVFileLocation ( file.getWrappedFile ( ) ) ; }
Source:
protected final java.lang.Void doInDvrBackground ( com.android.tv.dvr.ScheduledRecording ... params ) { com.android.tv.dvr.provider.AsyncDvrDbTask.sDbHelper.deleteSchedules ( params ) ; return null ; }

Target:
protected final java.lang.Void doInDvrBackground ( com.android.tv.dvr.data.ScheduledRecording ... params ) { com.android.tv.dvr.provider.AsyncDvrDbTask.sDbHelper.deleteSchedules ( params ) ; return null ; }
Source:
private boolean hasUnexpectedItalianLeadingZero ( com.google.i18n.phonenumbers.Phonenumber.PhoneNumber number ) { return ( number.isItalianLeadingZero ( ) ) && ( ! ( isLeadingZeroPossible ( number.getCountryCode ( ) ) ) ) ; }

Target:
public boolean isPossibleNumberForType ( com.google.i18n.phonenumbers.Phonenumber.PhoneNumber number , com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType type ) { com.google.i18n.phonenumbers.PhoneNumberUtil.ValidationResult result = isPossibleNumberForTypeWithReason ( number , type ) ; return ( result == ( com.google.i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE ) ) || ( result == ( com.google.i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE_LOCAL_ONLY ) ) ; }
Source:
public void nvWriteCdmaPrlResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo ) { }

Target:
public void setLocationUpdatesResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo ) { responseVoid ( responseInfo ) ; }
Source:
public static float FloatSubtraction ( ) { float a ; float b ; float c ; a = Main.$inline$float ( 6.0F ) ; b = Main.$inline$float ( 2.0F ) ; c = a - b ; return c ; }

Target:
public static long LongMultiplication ( ) { long a ; long b ; long c ; a = 7L ; b = 3L ; c = a * b ; return c ; }
Source:
void onChildSelected ( com.android.ide.common.api.IGraphics gc , com.android.ide.common.api.INode parentNode , com.android.ide.common.api.INode childNode ) ;

Target:
java.util.List < java.lang.String > getSelectionHint ( com.android.ide.common.api.INode parentNode , com.android.ide.common.api.INode childNode ) ;
Source:
public void start ( ) { mBrowsePlayerInfoList.clear ( ) ; mPlayersChanged = false ; android.content.Intent intent = new android.content.Intent ( android.service.media.MediaBrowserService.SERVICE_INTERFACE ) ; mWaiting = mPackageManager.queryIntentServices ( intent , PackageManager.MATCH_ALL ) ; connectNextPlayer ( ) ; }

Target:
public void cleanup ( ) { if ( ( mWaiting ) != null ) mWaiting.clear ( ) ; mPlayersChanged = false ; if ( ( mCurrentBrowser ) != null ) mCurrentBrowser.disconnect ( ) ; }
Source:
public com.android.sched.util.location.Location getLocation ( ) { return root.getLocation ( ) ; }

Target:
public com.android.sched.vfs.VPath getPathFromRoot ( @ javax.annotation.Nonnull com.android.sched.vfs.CachedDirectFS.CachedParentVFile file ) { return getPathFromDir ( root , file ) ; }
Source:
public static < T extends java.lang.Comparable < T > > org.hamcrest.org.hamcrest.Matcher < T > lessThanOrEqualTo ( T value ) { return org.hamcrest.number.OrderingComparisons.lessThanOrEqualTo ( value ) ; }

Target:
public static < T > org.hamcrest.org.hamcrest.Matcher < T > sameInstance ( T target ) { return org.hamcrest.core.IsSame.< T > sameInstance ( target ) ; }
Source:
public java.lang.Boolean wifiIsNanUsageEnabled ( ) throws android.os.RemoteException { return mMgr.isUsageEnabled ( ) ; }

Target:
public java.lang.Boolean wifiIsNanUsageEnabled ( ) throws android.os.RemoteException { synchronized ( mLock ) { return mMgr.isUsageEnabled ( ) ; } }
Source:
public boolean hasMatchedTetherApnSetting ( ) { com.android.internal.telephony.dataconnection.ApnSetting matched = fetchDunApn ( ) ; log ( ( "hasMatchedTetherApnSetting: APN=" + matched ) ) ; return matched != null ; }

Target:
public boolean hasMatchedTetherApnSetting ( ) { java.util.ArrayList < com.android.internal.telephony.dataconnection.ApnSetting > matches = fetchDunApns ( ) ; log ( ( "hasMatchedTetherApnSetting: APNs=" + matches ) ) ; return ( matches.size ( ) ) > 0 ; }
Source:
public boolean startsWithPlaceholder ( int id ) { if ( ( placeholderIdsOrderedByOffset.length ) == 0 ) { return false ; } return ( ( placeholderIdsOrderedByOffset [ 0 ] ) == 0 ) && ( ( placeholderIdsOrderedByOffset [ 1 ] ) == id ) ; }

Target:
private int getUniquePlaceholderAtStart ( ) { if ( ( ( ( placeholderIdsOrderedByOffset.length ) == 0 ) || ( firstPlaceholderReused ) ) || ( ( placeholderIdsOrderedByOffset [ 0 ] ) != 0 ) ) { return - 1 ; } return placeholderIdsOrderedByOffset [ 1 ] ; }
Source:
public void testSuspiciousRegion ( ) throws java.lang.Exception { assertEquals ( ( "" + ( ( ( "res/values-ff-rNO: Warning: Suspicious language and region combination ff (Fulah) with NO (Norway): language ff is usually paired with: SN (Senegal), CM (Cameroon), GN (Guinea), MR (Mauritania) [WrongRegion]\n" + "res/values-nb-rSE: Warning: Suspicious language and region combination nb (Norwegian Bokmål) with SE (Sweden): language nb is usually paired with: NO (Norway), SJ (Svalbard & Jan Mayen) [WrongRegion]\n" ) + "res/values-sv-rSV: Warning: Suspicious language and region combination sv (Swedish) with SV (El Salvador): language sv is usually paired with: SE (Sweden), AX (Åland Islands), FI (Finland) [WrongRegion]\n" ) + "0 errors, 3 warnings\n" ) ) , lintProject ( "res/values/strings.xml" , "res/values/strings.xml=>res/values-no/strings.xml" , "res/values/strings.xml=>res/values-nb-rNO/strings.xml" , "res/values/strings.xml=>res/values-nb-rSJ/strings.xml" , "res/values/strings.xml=>res/values-nb-rSE/strings.xml" , "res/values/strings.xml=>res/values-sv-rSV/strings.xml" , "res/values/strings.xml=>res/values-ff-rNO/strings.xml" ) ) ; }

Target:
public void testSuspiciousRegion ( ) throws java.lang.Exception { assertEquals ( ( "" + ( ( ( "res/values-ff-rNO: Warning: Suspicious language and region combination ff (Fulah) with NO (Norway): language ff is usually paired with: SN (Senegal), CM (Cameroon), GN (Guinea), MR (Mauritania) [WrongRegion]\n" + "res/values-nb-rSE: Warning: Suspicious language and region combination nb (Norwegian Bokmål) with SE (Sweden): language nb is usually paired with: NO (Norway), SJ (Svalbard & Jan Mayen) [WrongRegion]\n" ) + "res/values-sv-rSV: Warning: Suspicious language and region combination sv (Swedish) with SV (El Salvador): language sv is usually paired with: SE (Sweden), AX (Åland Islands), FI (Finland) [WrongRegion]\n" ) + "0 errors, 3 warnings\n" ) ) , lintProject ( "res/values/strings.xml" , "res/values/strings.xml=>res/values-no/strings.xml" , "res/values/strings.xml=>res/values-nb-rNO/strings.xml" , "res/values/strings.xml=>res/values-nb-rSJ/strings.xml" , "res/values/strings.xml=>res/values-nb-rSE/strings.xml" , "res/values/strings.xml=>res/values-sv-rSV/strings.xml" , "res/values/strings.xml=>res/values-en-rXA/strings.xml" , "res/values/strings.xml=>res/values-ff-rNO/strings.xml" ) ) ; }
Source:
public final void binderDied ( ) { release ( ) ; }

Target:
public final void binderDied ( ) { try { release ( ) ; } catch ( java.lang.Exception e ) { android.util.Log.e ( com.android.server.IpSecService.TAG , ( "Failed to release resource: " + e ) ) ; } }
Source:
static boolean triggerArrayOOM ( char [ ] [ ] holder ) { Main.ArrayMemEater.blowup ( holder ) ; return Main.ArrayMemEater.sawOome ; }

Target:
static boolean triggerArrayOOM ( ) { Main.ArrayMemEater.blowup ( new char [ 128 * 1024 ] [ ] ) ; return Main.ArrayMemEater.sawOome ; }
Source:
public static void computeClamp ( android.renderscript.cts.TestClamp.ArgumentsCharCharCharChar args ) { args.ulf = 0 ; args.ulfRelaxed = 0 ; args.out = ( ( byte ) ( java.lang.StrictMath.min ( args.inMaxValue , java.lang.StrictMath.max ( args.inValue , args.inMinValue ) ) ) ) ; }

Target:
public static void computeClamp ( android.renderscript.cts.TestClamp.ArgumentsUshortUshortUshortUshort args ) { args.out = android.renderscript.cts.CoreMathVerifier.minU16 ( args.inMaxValue , android.renderscript.cts.CoreMathVerifier.maxU16 ( args.inValue , args.inMinValue ) ) ; }
Source:
private void readId ( ) { if ( ( mRecordNumber ) < 0 ) { mCurrentIcon = null ; postIcon ( ) ; return ; } android.os.Message msg = this . obtainMessage ( com.android.internal.telephony.gsm.stk.IconLoader.EVENT_READ_EF_IMG_RECOED_DONE ) ; mSimFH.loadEFImgLinearFixed ( mRecordNumber , msg ) ; }

Target:
private void readId ( ) { if ( ( mRecordNumber ) < 0 ) { mCurrentIcon = null ; postIcon ( ) ; return ; } android.os.Message msg = this . obtainMessage ( com.android.internal.telephony.cat.IconLoader.EVENT_READ_EF_IMG_RECOED_DONE ) ; mSimFH.loadEFImgLinearFixed ( mRecordNumber , msg ) ; }
Source:
public final void init ( java.security.Key key , java.security.spec.AlgorithmParameterSpec params ) throws java.security.InvalidAlgorithmParameterException , java.security.InvalidKeyException { spiImpl.engineInit ( key , params , javax.crypto.KeyAgreement.RANDOM ) ; }

Target:
public final void init ( java.security.Key key , java.security.spec.AlgorithmParameterSpec params ) throws java.security.InvalidAlgorithmParameterException , java.security.InvalidKeyException { getSpi ( key ) . engineInit ( key , params , javax.crypto.KeyAgreement.RANDOM ) ; }
Source:
public void testRunStarted ( int testCount ) { mTestCount = testCount ; }

Target:
public void testRunStarted ( java.lang.String runName , int testCount ) { mTestRunName = runName ; mTestCount = testCount ; }
Source:
public void insert ( @ javax.annotation.Nonnull com.android.jack.ir.ast.cfg.JBasicBlock source , @ javax.annotation.Nonnull com.android.jack.ir.ast.cfg.JBasicBlock target ) { source.replaceAllSuccessors ( target , this . entry ) ; if ( ( this . exit ) != null ) { this . exit.replaceWith ( target ) ; } }

Target:
public void insert ( @ javax.annotation.Nonnull com.android.jack.ir.ast.cfg.JBasicBlock source , @ javax.annotation.Nonnull com.android.jack.ir.ast.cfg.JBasicBlock target ) { source.replaceAllSuccessors ( target , this . entry ) ; if ( ( this . exit ) != null ) { this . exit.detach ( target ) ; } }
Source:
public void testEqualizer_getParamCenterFreq ( ) throws java.lang.Exception { testGetParam ( Equalizer.PARAM_CENTER_FREQ , android.security.cts.EffectBundleTest.BAND_ARRAY , android.security.cts.EffectBundleTest.mValue0 , android.security.cts.EffectBundleTest.mValue1 ) ; }

Target:
public void testEqualizer_getParamBandLevel ( ) throws java.lang.Exception { testGetParam ( android.security.cts.EffectBundleTest.MEDIA_SHORT , Equalizer.PARAM_BAND_LEVEL , android.security.cts.EffectBundleTest.INVALID_BAND_ARRAY , android.security.cts.EffectBundleTest.mValue0 , android.security.cts.EffectBundleTest.mValue1 ) ; }
Source:
protected void onResume ( ) { super . onResume ( ) ; android.telephony.CellBroadcastMessage message = getLatestMessage ( ) ; if ( ( message != null ) && ( com.android.cellbroadcastreceiver.CellBroadcastAlertService.isEmergencyMessage ( this , message ) ) ) { mAnimationHandler.startIconAnimation ( ) ; } }

Target:
protected void onResume ( ) { super . onResume ( ) ; android.telephony.CellBroadcastMessage message = getLatestMessage ( ) ; if ( ( message != null ) && ( com.android.cellbroadcastreceiver.CellBroadcastChannelManager.isEmergencyMessage ( this , message ) ) ) { mAnimationHandler.startIconAnimation ( ) ; } }
Source:
public void registerDefaultNetworkCallback ( android.net.ConnectivityManager.NetworkCallback networkCallback , android.os.Handler handler ) { android.net.ConnectivityManager.CallbackHandler cbHandler = new android.net.ConnectivityManager.CallbackHandler ( handler ) ; sendRequestForNetwork ( null , networkCallback , 0 , android.net.ConnectivityManager.REQUEST , android.net.ConnectivityManager.TYPE_NONE , cbHandler ) ; }

Target:
public void registerDefaultNetworkCallback ( android.net.ConnectivityManager.NetworkCallback networkCallback , android.os.Handler handler ) { android.net.NetworkCapabilities nullCapabilities = null ; android.net.ConnectivityManager.CallbackHandler cbHandler = new android.net.ConnectivityManager.CallbackHandler ( handler ) ; sendRequestForNetwork ( nullCapabilities , networkCallback , 0 , android.net.ConnectivityManager.REQUEST , android.net.ConnectivityManager.TYPE_NONE , cbHandler ) ; }
Source:
public final void addExistingConnection ( java.lang.String connectionId , android.telecom.ParcelableConnection connection ) { com.android.internal.os.SomeArgs args = com.android.internal.os.SomeArgs.obtain ( ) ; args.arg1 = connectionId ; args.arg2 = connection ; mHandler.obtainMessage ( android.telecom.ConnectionServiceAdapterServant.MSG_ADD_EXISTING_CONNECTION , args ) . sendToTarget ( ) ; }

Target:
public final void addExistingConnection ( java.lang.String connectionId , android.telecom.ParcelableConnection connection , android.telecom.Logging.Session.Info sessionInfo ) { com.android.internal.os.SomeArgs args = com.android.internal.os.SomeArgs.obtain ( ) ; args.arg1 = connectionId ; args.arg2 = connection ; mHandler.obtainMessage ( android.telecom.ConnectionServiceAdapterServant.MSG_ADD_EXISTING_CONNECTION , args ) . sendToTarget ( ) ; }
Source:
static int $opt$DivLit ( int a ) { return a / 3 ; }

Target:
static int $opt$DivConst ( int a ) { return a / 3 ; }
Source:
public void run ( ) { while ( isRunning ( ) ) { dalvik.system.VMRuntime.getRuntime ( ) . waitForConcurrentGCRequest ( ) ; if ( isRunning ( ) ) { dalvik.system.VMRuntime.getRuntime ( ) . concurrentGC ( ) ; } } }

Target:
public void run ( ) { synchronized ( this ) { if ( isRunning ( ) ) { dalvik.system.VMRuntime.getRuntime ( ) . startHeapTaskProcessor ( ) ; } } dalvik.system.VMRuntime.getRuntime ( ) . runHeapTasks ( ) ; }
Source:
public int hashCode ( ) { return descriptor.hashCode ( ) ; }

Target:
public java.lang.String toString ( ) { return descriptor.getString ( ) ; }
Source:
public boolean onUnbind ( android.content.Intent intent ) { android.util.Log.i ( android.telecom.cts.CtsConnectionService.LOG_TAG , "Service has been unbound" ) ; android.telecom.cts.CtsConnectionService.sServiceUnBoundLatch.countDown ( ) ; android.telecom.cts.CtsConnectionService.sIsBound = false ; return super . onUnbind ( intent ) ; }

Target:
public boolean onUnbind ( android.content.Intent intent ) { android.util.Log.i ( android.telecom.cts.CtsConnectionService.LOG_TAG , "Service has been unbound" ) ; android.telecom.cts.CtsConnectionService.sServiceUnBoundLatch.countDown ( ) ; android.telecom.cts.CtsConnectionService.sIsBound = false ; android.telecom.cts.CtsConnectionService.sConnectionService = null ; return super . onUnbind ( intent ) ; }
Source:
native void rsnScriptSetVarVE ( int con , int id , int slot , byte [ ] val , int e , int [ ] dims ) ;

Target:
native void rsnScriptInvokeV ( long con , long id , int slot , byte [ ] params ) ;
Source:
public void describeTo ( org.hamcrest.Description description ) { description.appendList ( "(" , " and " , ")" , matchers ) ; }

Target:
public void describeTo ( org.hamcrest.Description description ) { description.appendList ( "(" , ( " " + ( "and" + " " ) ) , ")" , matchers ) ; }
Source:
public int getDay ( ) { return ( normalize ( ) . getDayOfWeek ( ) ) - ( java.util.Date.gcal.SUNDAY ) ; }

Target:
public int getDay ( ) { return ( normalize ( ) . getDayOfWeek ( ) ) - ( sun.util.calendar.BaseCalendar.SUNDAY ) ; }
Source:
public void imageChanged ( ) { org.eclipse.swt.widgets.Display.getDefault ( ) . syncExec ( new java.lang.Runnable ( ) { public void run ( ) { synchronized ( this ) { loadImage ( ) ; } } } ) ; doRedraw ( ) ; }

Target:
public void treeChanged ( ) { org.eclipse.swt.widgets.Display.getDefault ( ) . syncExec ( new java.lang.Runnable ( ) { public void run ( ) { synchronized ( this ) { selectedNode = model.getSelected ( ) ; } } } ) ; doRedraw ( ) ; }
Source:
public boolean setDefaultDialer ( java.lang.String packageName , int userId ) { return mDefaultDialerManagerAdapter.setDefaultDialerApplication ( mContext , packageName , userId ) ; }

Target:
public boolean setDefaultDialer ( java.lang.String packageName , int userId ) { boolean isChanged = mDefaultDialerManagerAdapter.setDefaultDialerApplication ( mContext , packageName , userId ) ; if ( isChanged ) { synchronized ( mLock ) { mCurrentDefaultDialerPerUser.put ( userId , packageName ) ; } } return isChanged ; }
Source:
public static void computeAsinpi ( android.renderscript.cts.TestAsinpi.ArgumentsFloatFloat args ) { args.ulf = 4 ; args.ulfRelaxed = 128 ; args.out = ( ( float ) ( ( java.lang.StrictMath.asin ( args.in ) ) / ( java.lang.StrictMath.PI ) ) ) ; }

Target:
public static void computeRound ( android.renderscript.cts.TestRound.ArgumentsFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( android.renderscript.cts.CoreMathVerifier.round ( args.in ) , 0 , 0 ) ; }
Source:
public void setInputSources ( @ javax.annotation.Nonnull java.util.List < java.io.File > inputSources ) { this . inputSources = inputSources ; }

Target:
public void setInputSources ( @ javax.annotation.Nonnull java.util.Collection < java.io.File > inputSources ) { this . inputSources = new java.util.ArrayList < java.io.File > ( inputSources ) ; }
Source:
protected void onPause ( ) { super . onPause ( ) ; mGLSurfaceView.onPause ( ) ; }

Target:
protected void onPause ( ) { super . onPause ( ) ; mSensorManager.unregisterListener ( mListener ) ; mGLSurfaceView.onPause ( ) ; }
Source:
public void testNoWarningWhenMinSdkAt17 ( ) throws java.lang.Exception { assertEquals ( "No warnings." , lintProject ( "bytecode/.classpath=>.classpath" , "bytecode/AndroidManifestMinSdk17.xml=>AndroidManifest.xml" , "bytecode/AddJavascriptInterfaceTest.java.txt=>src/test/pkg/AddJavascriptInterfaceTest.java" , "bytecode/AddJavascriptInterfaceTest.class.data=>bin/classes/test/pkg/AddJavascriptInterfaceTest.class" , ( "bytecode/AddJavascriptInterfaceTest$CallAddJavascriptInterfaceOnWebView.class.data=>" + "bin/classes/test/pkg/AddJavascriptInterfaceTest$CallAddJavascriptInterfaceOnWebView.class" ) ) ) ; }

Target:
public void testNoWarningWhenMinSdkAt17 ( ) throws java.lang.Exception { assertEquals ( "No warnings." , lintProject ( manifest ( ) . minSdk ( 17 ) , mTestFile ) ) ; }
Source:
public static int NegSub2 ( int arg1 , int arg2 ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } int temp = arg1 - arg2 ; return ( - temp ) | ( - temp ) ; }

Target:
public static int $noinline$NegSub2 ( int arg1 , int arg2 ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } int temp = arg1 - arg2 ; return ( - temp ) | ( - temp ) ; }
Source:
K transform ( com.google.common.collect.LinkedListMultimap.Node < K , V > node ) { return node.key ; }

Target:
public int size ( ) { com.google.common.collect.LinkedListMultimap.KeyList < K , V > keyList = keyToKeyList.get ( key ) ; return keyList == null ? 0 : keyList.count ; }
Source:
public void iccOpenLogicalChannel ( java.lang.String AID , android.os.Message response ) ;

Target:
public void iccOpenLogicalChannel ( java.lang.String AID , int p2 , android.os.Message response ) ;
Source:
native void rsnScriptSetVarJ ( long con , long id , int slot , long val ) ;

Target:
native long rsnScriptInvokeIDCreate ( long con , long sid , int slot ) ;
Source:
synchronized void nScriptSetVarV ( long id , int slot , byte [ ] val ) { validate ( ) ; rsnScriptSetVarV ( mContext , id , slot , val ) ; }

Target:
synchronized void nScriptSetVarD ( long id , int slot , double val , boolean mUseInc ) { validate ( ) ; long curCon = mContext ; if ( mUseInc ) { curCon = mIncCon ; } rsnScriptSetVarD ( curCon , id , slot , val , mUseInc ) ; }
Source:
protected java.util.List < java.time.temporal.TemporalAccessor > samples ( ) { java.time.temporal.TemporalAccessor [ ] array = new java.time.temporal.TemporalAccessor [ ] { TEST_2008_06 } ; return java.util.Arrays.asList ( array ) ; }

Target:
protected java.util.List < java.time.temporal.TemporalAccessor > samples ( ) { java.time.temporal.TemporalAccessor [ ] array = new java.time.temporal.TemporalAccessor [ ] { tck.java.time.TCKYearMonth.TEST_2008_06 } ; return java.util.Arrays.asList ( array ) ; }
Source:
public static com.google.common.io.InputSupplier < java.io.FileInputStream > newInputStreamSupplier ( final java.io.File file ) { com.google.common.base.Preconditions.checkNotNull ( file ) ; return new com.google.common.io.InputSupplier < java.io.FileInputStream > ( ) { @ java.lang.Override public java.io.FileInputStream getInput ( ) throws java.io.IOException { return new java.io.FileInputStream ( file ) ; } } ; }

Target:
public static java.io.BufferedWriter newWriter ( java.io.File file , java.nio.charset.Charset charset ) throws java.io.FileNotFoundException { com.google.common.base.Preconditions.checkNotNull ( file ) ; com.google.common.base.Preconditions.checkNotNull ( charset ) ; return new java.io.BufferedWriter ( new java.io.OutputStreamWriter ( new java.io.FileOutputStream ( file ) , charset ) ) ; }
Source:
static void releaseCpuLock ( ) { if ( ( com.android.cellbroadcastreceiver.CellBroadcastAlertWakeLock.sCpuWakeLock ) != null ) { com.android.cellbroadcastreceiver.CellBroadcastAlertWakeLock.sCpuWakeLock.release ( ) ; com.android.cellbroadcastreceiver.CellBroadcastAlertWakeLock.sCpuWakeLock = null ; android.util.Log.d ( com.android.cellbroadcastreceiver.CellBroadcastAlertWakeLock.TAG , "released screen + CPU wake lock" ) ; } }

Target:
static void releaseScreenBrightWakeLock ( ) { if ( ( ( com.android.cellbroadcastreceiver.CellBroadcastAlertWakeLock.sScreenBrightWakeLock ) != null ) && ( com.android.cellbroadcastreceiver.CellBroadcastAlertWakeLock.sScreenBrightWakeLock.isHeld ( ) ) ) { com.android.cellbroadcastreceiver.CellBroadcastAlertWakeLock.sScreenBrightWakeLock.release ( ) ; android.util.Log.d ( com.android.cellbroadcastreceiver.CellBroadcastAlertWakeLock.TAG , "released screen bright wakelock" ) ; } }
Source:
public void addMethodAnnotations ( com.android.dx.rop.cst.CstMethodRef method , com.android.dx.rop.annotation.Annotations annotations ) { annotationsDirectory.addMethodAnnotations ( method , annotations ) ; }

Target:
public void addMethodAnnotations ( com.android.dx.rop.cst.CstMethodRef method , com.android.dx.rop.annotation.Annotations annotations , com.android.dx.dex.file.DexFile dexFile ) { annotationsDirectory.addMethodAnnotations ( method , annotations , dexFile ) ; }
Source:
public android.net.IpSecTransform.Builder setSpi ( @ android.net.IpSecTransform.TransformDirection int direction , android.net.IpSecManager.SecurityParameterIndex spi ) { mConfig.setSpiResourceId ( direction , spi.getResourceId ( ) ) ; return this ; }

Target:
public android.net.IpSecTransform.Builder setAuthenticatedEncryption ( @ android.annotation.NonNull android.net.IpSecAlgorithm algo ) { com.android.internal.util.Preconditions.checkNotNull ( algo ) ; mConfig.setAuthenticatedEncryption ( algo ) ; return this ; }
Source:
public void onListItemClick ( android.widget.ListView l , android.view.View v , int position , long id ) { editSelected ( position ) ; }

Target:
protected void onStop ( ) { super . onStop ( ) ; if ( ( mPopup ) != null ) { mPopup.dismiss ( ) ; } }
Source:
public void visitMethodrefConstant ( proguard.optimize.peephole.Clazz clazz , proguard.optimize.peephole.MethodrefConstant methodrefConstant ) { methodrefConstant.referencedMemberAccept ( this ) ; }

Target:
public void visitAnyMethodrefConstant ( proguard.optimize.peephole.Clazz clazz , proguard.optimize.peephole.RefConstant refConstant ) { refConstant.referencedMemberAccept ( this ) ; }
Source:
public static int intConditionEqualZero ( int i ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( i > 42 ) != ( Main.$inline$false ( ) ) ? 13 : 54 ; }

Target:
public static int $noinline$intConditionEqualZero ( int i ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( i > 42 ) != ( Main.$inline$false ( ) ) ? 13 : 54 ; }
Source:
public void onSdkChange ( boolean init ) { mAvdSelector.refresh ( false ) ; }

Target:
public void onSdkReload ( ) { mAvdSelector.refresh ( false ) ; }
Source:
private int skipValue ( ) throws java.io.IOException { com.android.tools.perflib.heap.Type type = com.android.tools.perflib.heap.Type.getType ( mInput.readUnsignedByte ( ) ) ; int size = type.getSize ( ) ; skipFully ( size ) ; return size + 1 ; }

Target:
private void skipFully ( long numBytes ) throws java.io.IOException { mInput.setPosition ( ( ( mInput.position ( ) ) + numBytes ) ) ; }
Source:
public static int UShr28And7 ( int arg ) { return ( arg > > > 28 ) & 7 ; }

Target:
public static int $noinline$UShr28And7 ( int arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( arg > > > 28 ) & 7 ; }
Source:
public void testDiff2 ( ) throws java.lang.Exception { java.lang.String main = "" + ( ( ( ( ( ( ( ( "<manifest\n" + " xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" ) + " package=\"com.example.lib3\">\n" ) + "\n" ) + " <application android:label=\"@string/lib_name\" />\n" ) + " <activity android:name=\"activityOne\" />\n" ) + "\n" ) + "\n" ) + "</manifest>" ) ; java.lang.String library = "" + ( ( ( ( ( ( ( "<manifest\n" + " xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" ) + " package=\"com.example.lib3\">\n" ) + "\n" ) + " <activity android:name=\"activityOne\" />\n" ) + " <application android:label=\"@string/lib_name\" />\n" ) + "\n" ) + "</manifest>" ) ; com.android.manifmerger.XmlDocument mainDocument = com.android.manifmerger.TestUtils.xmlDocumentFromString ( new com.android.manifmerger.TestUtils.TestSourceLocation ( getClass ( ) , "testDiff2()" ) , main ) ; com.android.manifmerger.XmlDocument libraryDocument = com.android.manifmerger.TestUtils.xmlDocumentFromString ( new com.android.manifmerger.TestUtils.TestSourceLocation ( getClass ( ) , "testDiff2()" ) , library ) ; assertFalse ( mainDocument.compareTo ( libraryDocument ) . isPresent ( ) ) ; }

Target:
public void testDiff2 ( ) throws java.lang.Exception { java.lang.String main = "" + ( ( ( ( ( ( ( ( "<manifest\n" + " xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" ) + " package=\"com.example.lib3\">\n" ) + "\n" ) + " <application android:label=\"@string/lib_name\" />\n" ) + " <activity android:name=\"activityOne\" />\n" ) + "\n" ) + "\n" ) + "</manifest>" ) ; java.lang.String library = "" + ( ( ( ( ( ( ( "<manifest\n" + " xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" ) + " package=\"com.example.lib3\">\n" ) + "\n" ) + " <activity android:name=\"activityOne\" />\n" ) + " <application android:label=\"@string/lib_name\" />\n" ) + "\n" ) + "</manifest>" ) ; com.android.manifmerger.XmlDocument mainDocument = com.android.manifmerger.TestUtils.xmlDocumentFromString ( new com.android.manifmerger.TestUtils.TestSourceLocation ( getClass ( ) , "testDiff2()" ) , main ) ; com.android.manifmerger.XmlDocument libraryDocument = com.android.manifmerger.TestUtils.xmlLibraryFromString ( new com.android.manifmerger.TestUtils.TestSourceLocation ( getClass ( ) , "testDiff2()" ) , library ) ; assertFalse ( mainDocument.compareTo ( libraryDocument ) . isPresent ( ) ) ; }
Source:
public void callSessionStarted ( com.android.ims.internal.IImsCallSession session , com.android.ims.ImsCallProfile profile ) { if ( ( mListener ) != null ) { mListener.callSessionStarted ( this , profile ) ; } }

Target:
public void callSessionInitiated ( com.android.ims.ImsCallProfile profile ) { if ( ( mListener ) != null ) { mListener.callSessionStarted ( this , profile ) ; } }
Source:
void srcToExe ( @ javax.annotation.CheckForNull java.lang.String classpath , @ javax.annotation.Nonnull java.io.File out , boolean zipFile , @ javax.annotation.Nonnull java.io.File ... sources ) throws java.lang.Exception ;

Target:
void libToExe ( @ javax.annotation.Nonnull java.io.File in , @ javax.annotation.Nonnull java.io.File out , boolean zipFile ) throws java.lang.Exception ;
Source:
public boolean matches ( @ javax.annotation.Nonnull java.lang.String t ) { java.util.regex.Matcher matcher = name.matcher ( t ) ; return matcher.find ( ) ; }

Target:
protected boolean matchesWithoutNegator ( @ javax.annotation.Nonnull java.lang.String t ) { java.util.regex.Matcher matcher = name.matcher ( t ) ; return matcher.find ( ) ; }
Source:
public void testStringSwedishOverlay ( ) throws java.lang.Throwable { final int resId = com.android.internal.R.string.phoneTypeWork ; setLocale ( "en_US" ) ; assertResource ( resId , "Work" , "Work" ) ; setLocale ( "sv_SE" ) ; assertResource ( resId , "Arbete" , "Jobb" ) ; }

Target:
public void testMatrix100100 ( ) throws java.lang.Throwable { final int resId = R.integer.matrix_100100 ; setLocale ( "sv_SE" ) ; assertResource ( resId , 100 , 400 , 400 ) ; }
Source:
public java.lang.String getText ( com.android.monkeyrunner.easy.By selector ) { com.android.hierarchyviewerlib.device.ViewNode node = selector.findView ( mHierarchyViewer ) ; return mHierarchyViewer.getText ( node ) ; }

Target:
public java.lang.String getText ( com.android.monkeyrunner.easy.By selector ) { com.android.hierarchyviewerlib.models.ViewNode node = selector.findView ( mHierarchyViewer ) ; return mHierarchyViewer.getText ( node ) ; }
Source:
public static < T > org.hamcrest.org.hamcrest.Matcher < T > isIn ( T [ ] param1 ) { return org.hamcrest.collection.IsIn.isIn ( param1 ) ; }

Target:
public static < T > org.hamcrest.org.hamcrest.Matcher < java.lang.Iterable < T > > hasItems ( org.hamcrest.org.hamcrest.Matcher ... itemMatchers ) { return org.hamcrest.core.IsCollectionContaining.< org.hamcrest.T > hasItems ( itemMatchers ) ; }
Source:
public void test_getDisplayCountryLjava_util_Locale ( ) { if ( tests.support.Support_Locale.isLocaleAvailable ( java.util.Locale.ITALY ) ) { assertEquals ( "Returned incorrect country" , "Italie" , java.util.Locale.ITALY.getDisplayCountry ( l ) ) ; } }

Target:
public void test_getDisplayCountryLjava_util_Locale ( ) { assertEquals ( "Italie" , java.util.Locale.ITALY.getDisplayCountry ( new java.util.Locale ( "fr" , "CA" , "WIN32" ) ) ) ; }
Source:
public void testConstructorGetParameterAnnotations_repeated ( ) throws java.lang.Exception { libcore.java.lang.reflect.annotations.ExecutableParameterTest.assertParameter0Annotations ( libcore.java.lang.reflect.annotations.ExecutableParameterTest.AnnotatedConstructorClass.getConstructorWithoutAnnotations ( ) , libcore.java.lang.reflect.annotations.AnnotatedElementTestSupport.EXPECT_EMPTY ) ; libcore.java.lang.reflect.annotations.ExecutableParameterTest.assertParameter0Annotations ( libcore.java.lang.reflect.annotations.ExecutableParameterTest.AnnotatedConstructorClass.getConstructorMultipleAnnotationOddity ( ) , "@Repeated(1)" , "@Container({@Repeated(2), @Repeated(3)})" ) ; libcore.java.lang.reflect.annotations.ExecutableParameterTest.assertParameter0Annotations ( libcore.java.lang.reflect.annotations.ExecutableParameterTest.AnnotatedConstructorClass.getConstructorMultipleAnnotationExplicitSingle ( ) , "@Container({@Repeated(1)})" ) ; libcore.java.lang.reflect.annotations.ExecutableParameterTest.assertParameter0Annotations ( libcore.java.lang.reflect.annotations.ExecutableParameterTest.AnnotatedConstructorClass.getConstructorMultipleAnnotation ( ) , "@Container({@Repeated(1), @Repeated(2)})" ) ; libcore.java.lang.reflect.annotations.ExecutableParameterTest.assertParameter0Annotations ( libcore.java.lang.reflect.annotations.ExecutableParameterTest.AnnotatedConstructorClass.getConstructorSingleAnnotation ( ) , "@Repeated(1)" ) ; }

Target:
public void testConstructorGetParameterAnnotations_repeated ( ) throws java.lang.Exception { libcore.java.lang.reflect.annotations.ExecutableParameterTest.assertOnlyParameterAnnotations ( libcore.java.lang.reflect.annotations.ExecutableParameterTest.AnnotatedConstructorClass.getConstructorWithoutAnnotations ( ) , libcore.java.lang.reflect.annotations.AnnotatedElementTestSupport.EXPECT_EMPTY ) ; libcore.java.lang.reflect.annotations.ExecutableParameterTest.assertOnlyParameterAnnotations ( libcore.java.lang.reflect.annotations.ExecutableParameterTest.AnnotatedConstructorClass.getConstructorMultipleAnnotationOddity ( ) , "@Repeated(1)" , "@Container({@Repeated(2), @Repeated(3)})" ) ; libcore.java.lang.reflect.annotations.ExecutableParameterTest.assertOnlyParameterAnnotations ( libcore.java.lang.reflect.annotations.ExecutableParameterTest.AnnotatedConstructorClass.getConstructorMultipleAnnotationExplicitSingle ( ) , "@Container({@Repeated(1)})" ) ; libcore.java.lang.reflect.annotations.ExecutableParameterTest.assertOnlyParameterAnnotations ( libcore.java.lang.reflect.annotations.ExecutableParameterTest.AnnotatedConstructorClass.getConstructorMultipleAnnotation ( ) , "@Container({@Repeated(1), @Repeated(2)})" ) ; libcore.java.lang.reflect.annotations.ExecutableParameterTest.assertOnlyParameterAnnotations ( libcore.java.lang.reflect.annotations.ExecutableParameterTest.AnnotatedConstructorClass.getConstructorSingleAnnotation ( ) , "@Repeated(1)" ) ; }
Source:
public native java.lang.String [ ] list ( java.io.File f ) ;

Target:
private native java.lang.String [ ] list0 ( java.io.File f ) ;
Source:
static com.google.devtools.build.android.desugar.BytecodeTypeInference.InferredType createUninitialized ( int label ) { return com.google.devtools.build.android.desugar.BytecodeTypeInference.InferredType.create ( ( ( com.google.devtools.build.android.desugar.BytecodeTypeInference.InferredType.UNINITIALIZED_PREFIX ) + label ) ) ; }

Target:
static com.google.devtools.build.android.desugar.BytecodeTypeInference.InferredType createNonUninitializedType ( java.lang.String descriptor ) { return com.google.devtools.build.android.desugar.BytecodeTypeInference.InferredType.create ( descriptor , null ) ; }
Source:
private java.lang.String prepareFinishString ( ) { return com.google.gct.testing.GoogleCloudTestingUtils.shouldShowProgressTimestamps ( ) ? ( "Finish\t" + ( java.lang.System.currentTimeMillis ( ) ) ) + "\n" : "Finish\n" ; }

Target:
private java.lang.String prepareFinishString ( ) { return com.google.gct.testing.CloudTestingUtils.shouldShowProgressTimestamps ( ) ? ( "Finish\t" + ( java.lang.System.currentTimeMillis ( ) ) ) + "\n" : "Finish\n" ; }
Source:
public void noteInputEventLocked ( ) { mInputEventCounter.stepLocked ( ) ; }

Target:
public void noteInputEventAtomic ( ) { mInputEventCounter.stepAtomic ( ) ; }
Source:
public java.lang.String get ( int index ) { com.android.dx.io.DexBuffer.checkBounds ( index , tableOfContents.typeIds.size ) ; return strings.get ( typeIds.get ( index ) ) ; }

Target:
public java.lang.String get ( int index ) { com.android.dex.Dex.checkBounds ( index , tableOfContents.typeIds.size ) ; return strings.get ( typeIds.get ( index ) ) ; }
Source:
public void test_supports_should_judge_whether_WrongSuiteTest_which_has_suite_non_static_method_is_not_supported ( ) { assertEquals ( false , runnerFactory.supports ( vogar.target.junit3.WrongSuiteTest.class ) ) ; }

Target:
public void test_supports_should_judge_whether_WrongSuiteTest_which_has_suite_non_static_method_is_not_supported ( ) { junit.framework.Assert.assertEquals ( false , runnerFactory.supports ( vogar.target.junit3.WrongSuiteTest.class ) ) ; }
Source:
public void enableDiscovery ( com.android.nfc.NfcDiscoveryParameters params , boolean restart ) { doEnableDiscovery ( params.getTechMask ( ) , params.shouldEnableLowPowerDiscovery ( ) , params.shouldEnableReaderMode ( ) , params.shouldEnableHostRouting ( ) , restart ) ; }

Target:
public void enableDiscovery ( com.android.nfc.NfcDiscoveryParameters params , boolean restart ) { doEnableDiscovery ( params.getTechMask ( ) , params.shouldEnableLowPowerDiscovery ( ) , params.shouldEnableReaderMode ( ) , params.shouldEnableHostRouting ( ) , params.shouldEnableP2p ( ) , restart ) ; }
Source:
public com.google.common.collect.ImmutableCollection < V > values ( ) { com.google.common.collect.ImmutableCollection < V > result = values ; return result == null ? values = createValues ( ) : result ; }

Target:
public com.google.common.collect.ImmutableCollection < V > values ( ) { com.google.common.collect.ImmutableCollection < V > result = values ; return result == null ? values = new com.google.common.collect.ImmutableMapValues < K , V > ( this ) : result ; }
Source:
public boolean hasAlternates ( ) { for ( com.android.ide.eclipse.adt.internal.resources.manager.ResourceFile file : mFiles ) { if ( ( file.getFolder ( ) . getConfiguration ( ) . isDefault ( ) ) == false ) { return true ; } } return false ; }

Target:
public boolean hasAlternates ( ) { for ( com.android.ide.common.resources.ResourceFile file : mFiles ) { if ( ( file.getFolder ( ) . getConfiguration ( ) . isDefault ( ) ) == false ) { return true ; } } return false ; }
Source:
private java.lang.String hash ( javax.security.auth.x500.X500Principal name ) { int hash = org.conscrypt.NativeCrypto.X509_NAME_hash_old ( name ) ; return org.conscrypt.IntegralToString.intToHexString ( hash , false , 8 ) ; }

Target:
private java.lang.String hash ( javax.security.auth.x500.X500Principal name ) { int hash = org.conscrypt.NativeCrypto.X509_NAME_hash_old ( name ) ; return org.conscrypt.Hex.intToHexString ( hash , 8 ) ; }
Source:
public void getSimSlotsStatusResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , java.util.ArrayList < android.hardware.radio.V1_2.SimSlotStatus > slotsStatus ) { responseIccSlotStatus ( responseInfo , slotsStatus ) ; }

Target:
public void setLinkCapacityReportingCriteriaResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo ) { responseVoid ( responseInfo ) ; }
Source:
public void testValues ( ) { assertEquals ( "Foo-helper" , mTextView.getText ( ) ) ; }

Target:
public void testPackageOnly ( ) { assertEquals ( "Foo-helper" , mTextView.getText ( ) ) ; }
Source:
public javax.net.ssl.SSLSocket createSocket ( java.net.Socket s , java.lang.String host , int port , boolean autoClose ) throws java.io.IOException { hostNameUsed.set ( host ) ; return ( ( javax.net.ssl.SSLSocket ) ( this . delegate.createSocket ( s , host , port , autoClose ) ) ) ; }

Target:
public void setPerformancePreferences ( int connectionTime , int latency , int bandwidth ) { delegate.setPerformancePreferences ( connectionTime , latency , bandwidth ) ; }
Source:
private com.android.internal.telephony.gsm.stk.ComprehensionTlv searchForTag ( com.android.internal.telephony.gsm.stk.ComprehensionTlvTag tag , java.util.List < com.android.internal.telephony.gsm.stk.ComprehensionTlv > ctlvs ) { java.util.Iterator < com.android.internal.telephony.gsm.stk.ComprehensionTlv > iter = ctlvs.iterator ( ) ; return searchForNextTag ( tag , iter ) ; }

Target:
private com.android.internal.telephony.cat.ComprehensionTlv searchForTag ( com.android.internal.telephony.cat.ComprehensionTlvTag tag , java.util.List < com.android.internal.telephony.cat.ComprehensionTlv > ctlvs ) { java.util.Iterator < com.android.internal.telephony.cat.ComprehensionTlv > iter = ctlvs.iterator ( ) ; return searchForNextTag ( tag , iter ) ; }
Source:
public java.lang.String getMessage ( ) { return ( "Failed to list directory content '" + ( directoryLocation.getDescription ( ) ) ) + "'" ; }

Target:
public java.lang.String getMessage ( ) { return "Failed to list content of " + ( directoryLocation.getDescription ( ) ) ; }
Source:
protected void resetRecords ( ) { mIsimImpi = null ; mIsimDomain = null ; mIsimImpu = null ; mIsimIst = null ; mIsimPcscf = null ; auth_rsp = null ; mRecordsRequested = false ; }

Target:
protected void resetRecords ( ) { mIsimImpi = null ; mIsimDomain = null ; mIsimImpu = null ; mIsimIst = null ; mIsimPcscf = null ; auth_rsp = null ; mRecordsRequested = false ; mLockedRecordsRequested = false ; }
Source:
public static com.android.cts.verifier.TestListAdapter.TestListItem newTest ( java.lang.String title , java.lang.String testName , android.content.Intent intent , java.lang.String [ ] requiredFeatures , java.lang.String [ ] excludedFeatures , java.lang.String [ ] applicableFeatures ) { return new com.android.cts.verifier.TestListAdapter.TestListItem ( title , testName , intent , requiredFeatures , excludedFeatures , applicableFeatures ) ; }

Target:
public static com.android.cts.verifier.TestListAdapter.TestListItem newCategory ( java.lang.String title ) { return new com.android.cts.verifier.TestListAdapter.TestListItem ( title , null , null ) ; }
Source:
public java.io.File hostDexJar ( java.lang.Object nameOrAction ) { return localFile ( nameOrAction , ( nameOrAction + ".dex.jar" ) ) ; }

Target:
public java.io.File hostJack ( java.lang.Object nameOrAction ) { return localFile ( nameOrAction , ( nameOrAction + ".jack" ) ) ; }
Source:
public void testSymmetry ( ) throws java.lang.Exception { mEnabled = java.util.Collections.singleton ( RtlDetector.SYMMETRY ) ; assertEquals ( ( "" + ( ( ( "res/layout/relative.xml:29: Warning: When you define paddingRight you should probably also define paddingLeft for right-to-left symmetry [RtlSymmetry]\n" + " android:paddingRight=\"120dip\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "0 errors, 1 warnings\n" ) ) , lintProject ( "rtl/project-api17.properties=>project.properties" , "rtl/minsdk5targetsdk17.xml=>AndroidManifest.xml" , "rtl/relative.xml=>res/layout/relative.xml" ) ) ; }

Target:
public void testSymmetry ( ) throws java.lang.Exception { mEnabled = java.util.Collections.singleton ( RtlDetector.SYMMETRY ) ; assertEquals ( ( "" + ( ( ( "res/layout/relative.xml:29: Warning: When you define paddingRight you should probably also define paddingLeft for right-to-left symmetry [RtlSymmetry]\n" + " android:paddingRight=\"120dip\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~\n" ) + "0 errors, 1 warnings\n" ) ) , lintProject ( "rtl/project-api17.properties=>project.properties" , "rtl/minsdk5targetsdk17.xml=>AndroidManifest.xml" , "rtl/relative.xml=>res/layout/relative.xml" ) ) ; }
Source:
public static boolean isSimConfig ( android.net.wifi.WifiConfiguration config ) { if ( ( config == null ) || ( ( config.enterpriseConfig ) == null ) ) { return false ; } return com.android.server.wifi.util.TelephonyUtil.isSimEapMethod ( config.enterpriseConfig.getEapMethod ( ) ) ; }

Target:
public static boolean isSimConfig ( android.net.wifi.WifiConfiguration config ) { return ( com.android.server.wifi.util.TelephonyUtil.getSimMethodForConfig ( config ) ) != ( WifiEnterpriseConfig.Eap.NONE ) ; }
Source:
protected com.android.ide.common.internal.PngCruncher getCruncher ( ) { java.io.File aapt = getAapt ( ) ; return QueuedCruncher.Builder.INSTANCE.newCruncher ( aapt.getAbsolutePath ( ) , com.android.builder.png.NinePatchAsyncAaptProcessTest.sLogger ) ; }

Target:
private static com.android.ide.common.internal.PngCruncher getCruncher ( ) { com.android.utils.ILogger logger = new com.android.utils.StdLogger ( StdLogger.Level.VERBOSE ) ; java.io.File aapt = com.android.builder.png.NinePatchAaptProcessorTestUtils.getAapt ( com.android.sdklib.repository.FullRevision.parseRevision ( "22" ) ) ; return QueuedCruncher.Builder.INSTANCE.newCruncher ( aapt.getAbsolutePath ( ) , logger ) ; }
Source:
protected java.lang.Void doInBackground ( java.lang.Void ... unused ) { org.chromium.base.TraceEvent.begin ( "ResourceExtractor.ExtractTask.doInBackground" ) ; try { doInBackgroundImpl ( ) ; } finally { org.chromium.base.TraceEvent.end ( "ResourceExtractor.ExtractTask.doInBackground" ) ; } return null ; }

Target:
protected java.lang.Void doInBackground ( java.lang.Void ... unused ) { beginTraceSection ( "ResourceExtractor.ExtractTask.doInBackground" ) ; try { doInBackgroundImpl ( ) ; } finally { endTraceSection ( ) ; } return null ; }
Source:
protected void finalize ( ) throws java.lang.Throwable { if ( ( mappedFile ) != null ) { mappedFile.close ( ) ; } super . finalize ( ) ; }

Target:
public java.lang.String [ ] getAvailableIDs ( ) { checkNotClosed ( ) ; return ids.clone ( ) ; }
Source:
private void handleSetCoreSettings ( android.os.Bundle coreSettings ) { synchronized ( mPackages ) { mCoreSettings = coreSettings ; } }

Target:
private void handleSetCoreSettings ( android.os.Bundle coreSettings ) { synchronized ( mResourcesManager ) { mCoreSettings = coreSettings ; } }
Source:
private void updatePrivateDnsSettings ( ) { mPrivateDnsMode = getStringSetting ( android.provider.Settings.Global.PRIVATE_DNS_MODE ) ; mPrivateDnsSpecifier = getStringSetting ( android.provider.Settings.Global.PRIVATE_DNS_SPECIFIER ) ; }

Target:
public void removeNetwork ( android.net.Network network ) { mPrivateDnsMap.remove ( network.netId ) ; }
Source:
public void endTraceMarked ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JNode node ) { composedStatus.pop ( ) ; for ( com.android.jack.analysis.tracer.TracerBrush config : brushes ) { config.endTraceMarked ( node ) ; } }

Target:
public void endTraceMarked ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JNode node ) { composedStatus.pop ( ) ; for ( com.android.jack.analysis.tracer.TracerBrush brush : brushes ) { brush.endTraceMarked ( node ) ; } }
Source:
public int updateCallBarring ( int cbType , int action , java.lang.String [ ] barrList ) throws android.os.RemoteException { return - 1 ; }

Target:
public int updateCallBarringForServiceClass ( int cbType , int action , java.lang.String [ ] barrList , int serviceClass ) { return - 1 ; }
Source:
public void setBasename ( java.lang.String baseName ) { java.lang.System.out.println ( ( "WARNNG: Using deprecated 'basename' attribute in ApkBuilderTask." + "Use 'apkfilepath' (path) instead." ) ) ; mBaseName = baseName ; }

Target:
public void setBasename ( java.lang.String baseName ) { java.lang.System.out.println ( ( "WARNING: Using deprecated 'basename' attribute in ApkBuilderTask." + "Use 'apkfilepath' (path) instead." ) ) ; mBaseName = baseName ; }
Source:
public boolean hasResources ( com.android.resources.ResourceType type ) { update ( ) ; java.util.HashMap < java.lang.String , com.android.ide.common.rendering.api.ResourceValue > list = mResourceItems.get ( type ) ; return ( list != null ) && ( ( list.size ( ) ) > 0 ) ; }

Target:
protected void update ( ) { getFolder ( ) . getRepository ( ) . removeFile ( mResourceTypeList , this ) ; mResourceItems.clear ( ) ; parseFile ( ) ; mResourceTypeList = java.util.Collections.unmodifiableCollection ( mResourceItems.keySet ( ) ) ; updateResourceItems ( ) ; }
Source:
native void rsnScriptSetVarVE ( long con , long id , int slot , byte [ ] val , long e , int [ ] dims ) ;

Target:
native void rsnScriptSetVarI ( long con , long id , int slot , int val , boolean mUseInc ) ;
Source:
public void onKeyguardExitResult ( boolean success ) { if ( success ) { try { android.app.ActivityManagerNative.getDefault ( ) . stopAppSwitches ( ) ; } catch ( android.os.RemoteException e ) { } sendCloseSystemWindows ( ) ; startDockOrHome ( ) ; } }

Target:
public void onKeyguardExitResult ( boolean success ) { if ( success ) { try { android.app.ActivityManagerNative.getDefault ( ) . stopAppSwitches ( ) ; } catch ( android.os.RemoteException e ) { } sendCloseSystemWindows ( com.android.internal.policy.impl.PhoneWindowManager.SYSTEM_DIALOG_REASON_HOME_KEY ) ; startDockOrHome ( ) ; } }