auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
private com.android.server.wifi.hotspot2.PasspointProvider createProvider ( android.net.wifi.hotspot2.PasspointConfiguration config ) { return new com.android.server.wifi.hotspot2.PasspointProvider ( config , mKeyStore , com.android.server.wifi.hotspot2.PasspointProviderTest.PROVIDER_ID ) ; }

Target:
private com.android.server.wifi.hotspot2.PasspointProvider createProvider ( android.net.wifi.hotspot2.PasspointConfiguration config ) { return new com.android.server.wifi.hotspot2.PasspointProvider ( config , mKeyStore , mSimAccessor , com.android.server.wifi.hotspot2.PasspointProviderTest.PROVIDER_ID ) ; }
Source:
protected int getState ( ) { return mState ; }

Target:
int getConnectionState ( android.bluetooth.BluetoothDevice device ) { enforceCallingOrSelfPermission ( com.android.bluetooth.pbap.BluetoothPbapService.BLUETOOTH_PERM , "Need BLUETOOTH permission" ) ; return mState ; }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder clearEndTime ( ) { bitField0_ = ( bitField0_ ) & ( ~ 256 ) ; endTime_ = 0L ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder clearEndTime ( ) { bitField0_ = ( bitField0_ ) & ( ~ 512 ) ; endTime_ = 0L ; onChanged ( ) ; return this ; }
Source:
public static float FloatMultiplication ( ) { float a ; float b ; float c ; a = Main.$inline$float ( 7.0F ) ; b = Main.$inline$float ( 3.0F ) ; c = a * b ; return c ; }

Target:
public static float FloatDivision ( ) { float a ; float b ; float c ; a = 8.0F ; b = 2.5F ; c = a / b ; return c ; }
Source:
private native void initNative ( ) ;

Target:
private native boolean setCodecConfigPreferenceNative ( android.bluetooth.BluetoothCodecConfig [ ] codecConfigArray ) ;
Source:
public com.android.ide.common.rendering.api.ResourceValue findValue ( java.lang.String name , boolean isFrameworkAttr ) { return mItems.get ( com.android.util.Pair.of ( name , isFrameworkAttr ) ) ; }

Target:
public com.android.ide.common.rendering.api.ResourceValue findValue ( java.lang.String name , boolean isFrameworkAttr ) { return getItem ( name , isFrameworkAttr ) ; }
Source:
protected org.objectweb.asm.util.ASMifier createASMifier ( final java.lang.String name , final int id ) { return new org.objectweb.asm.util.ASMifier ( org.objectweb.asm.Opcodes.ASM4 , name , id ) ; }

Target:
protected org.objectweb.asm.util.ASMifier createASMifier ( final java.lang.String name , final int id ) { return new org.objectweb.asm.util.ASMifier ( org.objectweb.asm.Opcodes.ASM5 , name , id ) ; }
Source:
public void testVFE7 ( ) { try { java.lang.Class.forName ( "dot.junit.opcodes.aget_byte.d.T_aget_byte_9" ) ; fail ( "expected a verification exception" ) ; } catch ( java.lang.Throwable t ) { dot.junit.DxUtil.checkVerifyException ( t ) ; } }

Target:
public void testE3 ( ) { loadAndRun ( "dot.junit.opcodes.aget_byte.d.T_aget_byte_1" , java.lang.ArrayIndexOutOfBoundsException.class , new byte [ 2 ] , ( - 1 ) ) ; }
Source:
public java.lang.String getApplicationId ( ) { return variantConfiguration.getApplicationId ( ) ; }

Target:
protected java.lang.String getCapitalizedBuildTypeName ( ) { return com.android.build.gradle.internal.StringHelper.capitalize ( variantConfiguration.getBuildType ( ) . getName ( ) ) ; }
Source:
public void parsePreferencesClasses ( org.eclipse.core.runtime.IProgressMonitor monitor ) { parseClasses ( monitor , AndroidConstants.CLASS_PREFERENCE , AndroidConstants.CLASS_PREFERENCEGROUP , null ) ; }

Target:
public void parsePreferencesClasses ( org.eclipse.core.runtime.IProgressMonitor monitor ) { parseClasses ( monitor , SdkConstants.CLASS_PREFERENCE , SdkConstants.CLASS_PREFERENCEGROUP , null ) ; }
Source:
public void unpark ( java.lang.Object obj ) { if ( obj instanceof java.lang.Thread ) { ( ( java.lang.Thread ) ( obj ) ) . unpark ( ) ; } else { throw new java.lang.IllegalArgumentException ( "valid for Threads only" ) ; } }

Target:
public void unpark ( java.lang.Object obj ) { if ( obj instanceof java.lang.Thread ) { ( ( java.lang.Thread ) ( obj ) ) . unpark$ ( ) ; } else { throw new java.lang.IllegalArgumentException ( "valid for Threads only" ) ; } }
Source:
private static long pow16 ( int n ) { if ( n > 10 ) { throw new java.lang.AssertionError ( "Unexpexted pow16 argument" ) ; } long result = n * n ; result *= result ; result *= result ; result *= result ; return result ; }

Target:
private static long pow16 ( int n ) { if ( n > 10 ) { throw new java.lang.AssertionError ( "Unexpected pow16 argument" ) ; } long result = n * n ; result *= result ; result *= result ; result *= result ; return result ; }
Source:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JFieldRef fieldRef ) { buildReadField ( destReg , fieldRef , sourcePosition ) ; return false ; }

Target:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JParameterRef paramRef ) { buildAssignVariableRef ( destReg , paramRef , sourcePosition ) ; return false ; }
Source:
private static long doDigestRegularFile ( java.io.File file ) throws java.io.IOException { java.io.InputStream in = new java.io.BufferedInputStream ( new java.io.FileInputStream ( file ) ) ; try { return com.intellij.updater.Digester.digestStream ( in ) ; } finally { in.close ( ) ; } }

Target:
public static long digestRegularFile ( java.io.File file ) throws java.io.IOException { java.io.InputStream in = new java.io.BufferedInputStream ( new java.io.FileInputStream ( file ) ) ; try { return com.intellij.updater.Digester.digestStream ( in ) ; } finally { in.close ( ) ; } }
Source:
void stop ( ) { mStatus = android.widget.TextView.Marquee.MARQUEE_STOPPED ; removeMessages ( android.widget.TextView.Marquee.MESSAGE_START ) ; removeMessages ( android.widget.TextView.Marquee.MESSAGE_RESTART ) ; removeMessages ( android.widget.TextView.Marquee.MESSAGE_TICK ) ; resetScroll ( ) ; }

Target:
public void doFrame ( long frameTimeNanos ) { mStatus = android.widget.TextView.Marquee.MARQUEE_RUNNING ; mLastAnimationMs = mChoreographer.getFrameTime ( ) ; tick ( ) ; }
Source:
public void onCallStateChanged ( int state , java.lang.String incomingNumber ) { }

Target:
public void onCallStateChanged ( int state , java.lang.String phoneNumber ) { }
Source:
static int $opt$DoubleToInt ( double a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( int ) ( a ) ) ; }

Target:
static int $opt$noinline$DoubleToInt ( double a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( int ) ( a ) ) ; }
Source:
public boolean isWifiCallingAvailable ( ) { try { return getITelephony ( ) . isWifiCallingAvailable ( ) ; } catch ( android.os.RemoteException ex ) { return false ; } catch ( java.lang.NullPointerException ex ) { return false ; } }

Target:
public int getCarrierIdListVersion ( ) { try { com.android.internal.telephony.ITelephony telephony = getITelephony ( ) ; if ( telephony != null ) { return telephony.getCarrierIdListVersion ( getSubId ( ) ) ; } } catch ( android.os.RemoteException ex ) { } return android.telephony.TelephonyManager.UNKNOWN_CARRIER_ID_LIST_VERSION ; }
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 and 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-ff-rNO/strings.xml" ) ) ; }
Source:
public boolean hasFakeValue ( ) { return getEnumValue ( ) . isFakeValue ( ) ; }

Target:
public boolean hasFakeValue ( ) { com.android.resources.ResourceEnum value = getEnumValue ( ) ; return ( value != null ) && ( value.isFakeValue ( ) ) ; }
Source:
public com.android.sched.util.Version getVersion ( ) { try { return new com.android.sched.util.Version ( "jack-server" , com.android.jack.server.JackHttpServer.class . getClassLoader ( ) ) ; } catch ( java.io.IOException e ) { com.android.jack.server.JackHttpServer.logger.log ( java.util.logging.Level.SEVERE , "Failed to read Jack-server version properties" , e ) ; throw new java.lang.AssertionError ( ) ; } }

Target:
public static com.android.sched.util.Version getServerVersion ( ) { try { return new com.android.sched.util.Version ( "jack-server" , com.android.jack.server.JackHttpServer.class . getClassLoader ( ) ) ; } catch ( java.io.IOException e ) { com.android.jack.server.JackHttpServer.logger.log ( java.util.logging.Level.SEVERE , "Failed to read Jack-server version properties" , e ) ; throw new java.lang.AssertionError ( ) ; } }
Source:
public static void computeRound ( android.renderscript.cts.TestRound.ArgumentsFloatFloat args ) { args.ulf = 0 ; args.ulfRelaxed = 0 ; args.out = java.lang.StrictMath.round ( args.in ) ; }

Target:
public static void computeConvert ( android.renderscript.cts.TestConvert.ArgumentsShortUshort args ) { args.out = android.renderscript.cts.CoreMathVerifier.convertShortToUshort ( args.inV ) ; }
Source:
public void testControlPoints02 ( ) throws java.lang.Exception { checkVectorConversion ( "test_control_points_02" ) ; }

Target:
public void testShapes ( ) throws java.lang.Exception { checkVectorConversion ( "ic_shapes" ) ; }
Source:
public void remove ( ) { com.google.common.base.Preconditions.checkState ( ( ( current ) != null ) ) ; removeAllNodes ( current.key ) ; current = null ; }

Target:
public void remove ( ) { checkForConcurrentModification ( ) ; com.google.common.collect.CollectPreconditions.checkRemove ( ( ( current ) != null ) ) ; removeAllNodes ( current.key ) ; current = null ; expectedModCount = modCount ; }
Source:
public com.google.mockwebserver.MockResponse setBody ( byte [ ] body ) { this . body = body ; setHeader ( com.google.mockwebserver.CONTENT_LENGTH , body.length ) ; return this ; }

Target:
public com.google.mockwebserver.MockResponse setBody ( byte [ ] body ) { setHeader ( "Content-Length" , body.length ) ; this . body = body ; this . bodyStream = null ; return this ; }
Source:
native void rsnScriptSetTimeZone ( long con , long script , byte [ ] timeZone ) ;

Target:
native long rsnScriptKernelIDCreate ( long con , long sid , int slot , int sig , boolean mUseInc ) ;
Source:
public java.util.List < android.view.inputmethod.InputMethodInfo > getInputMethodList ( ) { try { return mService.getInputMethodList ( ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e ) ; } }

Target:
public java.util.List < android.view.inputmethod.InputMethodInfo > getInputMethodList ( ) { try { return mService.getInputMethodList ( ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }
Source:
native void rsnScriptSetVarV ( int con , int id , int slot , byte [ ] val ) ;

Target:
native void rsnScriptSetVarJ ( long con , long id , int slot , long val ) ;
Source:
public void testApi1 ( ) throws java.lang.Exception { assertEquals ( "No warnings." , lintProject ( "apicheck/minsdk2.xml=>AndroidManifest.xml" , "res/drawable/ic_launcher.png" ) ) ; }

Target:
public void testApi1 ( ) throws java.lang.Exception { mEnabled = com.android.tools.lint.checks.IconDetectorTest.ALL ; assertEquals ( "No warnings." , lintProject ( "apicheck/minsdk2.xml=>AndroidManifest.xml" , "res/drawable/ic_launcher.png" ) ) ; }
Source:
public void testNull ( ) throws java.lang.Exception { com.android.tools.lint.detector.api.TypeEvaluatorTest.checkExpression ( null , "null" ) ; }

Target:
public void testNull ( ) throws java.lang.Exception { com.android.tools.lint.detector.api.TypeEvaluatorTest.checkExpression ( PsiType.NULL , "null" ) ; }
Source:
private void loge ( java.lang.String s ) { android.util.Log.e ( com.android.internal.telephony.cdma.CdmaSubscriptionSourceManager.LOG_TAG , ( "[CdmaSSM] " + s ) ) ; }

Target:
private void loge ( java.lang.String s ) { android.telephony.Rlog.e ( com.android.internal.telephony.cdma.CdmaSubscriptionSourceManager.LOG_TAG , ( "[CdmaSSM] " + s ) ) ; }
Source:
public K getKey ( ) { return key ; }

Target:
java.util.Iterator < java.util.Map.Entry < K , V > > entryIterator ( ) { return map.entrySet ( ) . iterator ( ) ; }
Source:
synchronized boolean disconnect ( android.bluetooth.BluetoothDevice device ) { if ( com.android.bluetooth.hid.HidDevService.DBG ) android.util.Log.v ( com.android.bluetooth.hid.HidDevService.TAG , ( "disconnect(): device=" + device ) ) ; if ( ! ( checkDevice ( device ) ) ) { return false ; } return disconnectNative ( ) ; }

Target:
synchronized boolean connect ( android.bluetooth.BluetoothDevice device ) { if ( com.android.bluetooth.hid.HidDevService.DBG ) { android.util.Log.d ( com.android.bluetooth.hid.HidDevService.TAG , ( "connect(): device=" + device ) ) ; } return connectNative ( com.android.bluetooth.Utils.getByteAddress ( device ) ) ; }
Source:
java.util.Set < java.io.File > getDirectories ( ) ;

Target:
java.util.Set < java.io.File > getSrcDirs ( ) ;
Source:
public void testVFE5 ( ) { try { java.lang.Class.forName ( "dot.junit.opcodes.if_eq.d.T_if_eq_10" ) ; fail ( "expected a verification exception" ) ; } catch ( java.lang.Throwable t ) { dot.junit.DxUtil.checkVerifyException ( t ) ; } }

Target:
public void testVFE5 ( ) { load ( "dot.junit.opcodes.if_eq.d.T_if_eq_10" , java.lang.VerifyError.class ) ; }
Source:
public static java.lang.String getThumbnailCacheDirectory ( ) { assert ( org.chromium.base.PathUtils.sDirPathFetchTask ) != null : "setDataDirectorySuffix must be called first." ; return org.chromium.base.PathUtils.getDirectoryPath ( org.chromium.base.PathUtils.THUMBNAIL_DIRECTORY ) ; }

Target:
public static java.lang.String getThumbnailCacheDirectory ( android.content.Context appContext ) { assert ( org.chromium.base.PathUtils.sDirPathFetchTask ) != null : "setDataDirectorySuffix must be called first." ; return org.chromium.base.PathUtils.getDirectoryPath ( org.chromium.base.PathUtils.THUMBNAIL_DIRECTORY ) ; }
Source:
private static long tryParseLong ( java.lang.String value , long defValue ) { if ( android.text.TextUtils.isEmpty ( value ) ) return defValue ; try { return java.lang.Long.valueOf ( value ) ; } catch ( java.lang.NumberFormatException e ) { return defValue ; } }

Target:
private static long tryParseLong ( java.lang.String value , long defValue ) { if ( android.text.TextUtils.isEmpty ( value ) ) return defValue ; try { return java.lang.Long.parseLong ( value ) ; } catch ( java.lang.NumberFormatException e ) { return defValue ; } }
Source:
public void getTTYModeResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , int var2 ) { }

Target:
public void getSmscAddressResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , java.lang.String smsc ) { responseString ( responseInfo , smsc ) ; }
Source:
public static boolean isEncrypted ( ) { final java.lang.String state = android.os.SystemProperties.get ( "ro.crypto.state" , "" ) ; return "encrypted" . equalsIgnoreCase ( state ) ; }

Target:
public static boolean isEncrypted ( ) { return com.android.internal.os.RoSystemProperties.CRYPTO_ENCRYPTED ; }
Source:
public abstract java.lang.Iterable < com.android.tools.lint.client.api.JavaParser.ResolvedMethod > getMethods ( @ com.android.annotations.NonNull java.lang.String name ) ;

Target:
public abstract java.lang.Iterable < com.android.tools.lint.client.api.JavaParser.ResolvedMethod > getMethods ( @ com.android.annotations.NonNull java.lang.String name , boolean includeInherited ) ;
Source:
public void replaceUserDevice ( com.android.sdklib.devices.Device d ) { synchronized ( com.android.sdklib.devices.DeviceManager.sLock ) { if ( ( com.android.sdklib.devices.DeviceManager.mUserDevices ) == null ) { getUserDevices ( ) ; } removeUserDevice ( d ) ; addUserDevice ( d ) ; } }

Target:
public void replaceUserDevice ( com.android.sdklib.devices.Device d ) { synchronized ( mLock ) { if ( ( mUserDevices ) == null ) { initUserDevices ( ) ; } removeUserDevice ( d ) ; addUserDevice ( d ) ; } }
Source:
public static int getExponent ( float f ) { return sun.misc.FpUtils.getExponent ( f ) ; }

Target:
public static float scalb ( float f , int scaleFactor ) { return java.lang.Math.scalb ( f , scaleFactor ) ; }
Source:
public static void computeCospi ( android.renderscript.cts.TestCospi.ArgumentsFloatFloat args , android.renderscript.cts.Target t ) { t.setPrecision ( 4 , 128 , false ) ; args.out = android.renderscript.cts.CoreMathVerifier.cospi ( args.in , t ) ; }

Target:
public static void computeCospi ( android.renderscript.cts.TestCospi.ArgumentsFloatFloat args , android.renderscript.cts.Target t ) { t.setPrecision ( 4 , 128 , false ) ; args.out = android.renderscript.cts.CoreMathVerifier.cospi ( args.inX , t ) ; }
Source:
public void setPeriodicAdvertisingData ( int advertiserId , android.bluetooth.le.AdvertiseData data ) { com.android.bluetooth.gatt.GattService service = getService ( ) ; if ( service == null ) return ; }

Target:
public void setPeriodicAdvertisingParameters ( int advertiserId , android.bluetooth.le.PeriodicAdvertisingParameters parameters ) { com.android.bluetooth.gatt.GattService service = getService ( ) ; if ( service == null ) return ; service.setPeriodicAdvertisingParameters ( advertiserId , parameters ) ; }
Source:
public void onNewOutgoingConnection ( @ android.support.annotation.NonNull com.android.dialer.simulator.impl.SimulatorConnection connection ) { if ( connection.getExtras ( ) . getBoolean ( connectionTag ) ) { com.android.dialer.common.LogUtil.i ( "SimulatorVoiceCall.onNewOutgoingConnection" , "connection created" ) ; handleNewConnection ( connection ) ; connection.setActive ( ) ; } }

Target:
public void onNewOutgoingConnection ( @ android.support.annotation.NonNull com.android.dialer.simulator.impl.SimulatorConnection connection ) { if ( isMyConnection ( connection ) ) { com.android.dialer.common.LogUtil.i ( "SimulatorVoiceCall.onNewOutgoingConnection" , "connection created" ) ; handleNewConnection ( connection ) ; com.android.dialer.common.concurrent.ThreadUtil.postOnUiThread ( connection :: setActive ) ; } }
Source:
public static java.nio.CharBuffer allocate ( int capacity ) { if ( capacity < 0 ) { throw new java.lang.IllegalArgumentException ( ( "capacity < 0: " + capacity ) ) ; } return new java.nio.ReadWriteCharArrayBuffer ( capacity ) ; }

Target:
public static java.nio.CharBuffer allocate ( int capacity ) { if ( capacity < 0 ) { throw new java.lang.IllegalArgumentException ( ( "capacity < 0: " + capacity ) ) ; } return new java.nio.CharArrayBuffer ( new char [ capacity ] ) ; }
Source:
public void setSelectedFrame ( int frame ) { mCurrentFrame = frame ; updateImageCanvas ( ) ; updateFrameStats ( ) ; }

Target:
public void setSelectedFrame ( int frame ) { mCurrentFrame = frame ; if ( ( mTrace ) == null ) { return ; } updateImageCanvas ( ) ; updateFrameStats ( ) ; }
Source:
public java.lang.String getSubscriberId ( ) { com.android.internal.telephony.IccRecords r = mIccRecords.get ( ) ; return r != null ? r.getIMSI ( ) : "" ; }

Target:
public java.lang.String getLine1Number ( ) { com.android.internal.telephony.uicc.IccRecords r = mIccRecords.get ( ) ; return r != null ? r.getMsisdnNumber ( ) : "" ; }
Source:
private static java.util.List < char [ ] > getPasswords ( char [ ] pwd ) { java.util.List < char [ ] > passwords = new java.util.ArrayList < > ( 3 ) ; com.android.apksigner.PasswordRetriever.addPasswords ( passwords , pwd ) ; return passwords ; }

Target:
private java.util.List < char [ ] > getPasswords ( char [ ] pwd , java.nio.charset.Charset ... additionalEncodings ) { java.util.List < char [ ] > passwords = new java.util.ArrayList < > ( 3 ) ; addPasswords ( passwords , pwd , additionalEncodings ) ; return passwords ; }
Source:
public int since ( ) { return 8 ; }

Target:
public int since ( ) { if ( ( mValue ) != null ) { return mValue.since ( ) ; } return 8 ; }
Source:
public void testFormatDurationHours ( ) throws java.lang.Exception { assertEquals ( "59 minutes" , android.text.format.DateUtils.formatDuration ( 3540000 ) ) ; assertEquals ( "1 hour" , android.text.format.DateUtils.formatDuration ( 3600000 ) ) ; assertEquals ( "48 hours" , android.text.format.DateUtils.formatDuration ( 172800000 ) ) ; }

Target:
public void test_formatDuration_Hours ( ) throws java.lang.Exception { assertEquals ( "59 minutes" , android.text.format.DateUtils.formatDuration ( 3540000 ) ) ; assertEquals ( "1 hour" , android.text.format.DateUtils.formatDuration ( 3600000 ) ) ; assertEquals ( "48 hours" , android.text.format.DateUtils.formatDuration ( 172800000 ) ) ; }
Source:
public void setPackageName ( java.lang.String packageName ) { mPackageName = packageName ; }

Target:
public com.android.builder.ProductFlavor setPackageName ( java.lang.String packageName ) { mPackageName = packageName ; return this ; }
Source:
static com.android.build.gradle.tasks.annotations.Extractor.ClassItem create ( @ com.android.annotations.NonNull java.lang.String classFqn ) { classFqn = com.android.build.gradle.tasks.annotations.ApiDatabase.getRawClass ( classFqn ) ; return new com.android.build.gradle.tasks.annotations.Extractor.ClassItem ( classFqn ) ; }

Target:
static com.android.build.gradle.tasks.annotations.Extractor.ClassItem create ( @ com.android.annotations.NonNull java.lang.String classFqn , @ com.android.annotations.NonNull com.android.build.gradle.tasks.annotations.Extractor.ClassKind kind ) { classFqn = com.android.build.gradle.tasks.annotations.ApiDatabase.getRawClass ( classFqn ) ; return new com.android.build.gradle.tasks.annotations.Extractor.ClassItem ( classFqn , kind ) ; }
Source:
static java.lang.reflect.Method getStartFinalizer ( java.lang.Class < ? > finalizer ) { try { return finalizer.getMethod ( "startFinalizer" , java.lang.Class.class , java.lang.Object.class ) ; } catch ( java.lang.NoSuchMethodException e ) { throw new java.lang.AssertionError ( e ) ; } }

Target:
static java.lang.reflect.Method getStartFinalizer ( java.lang.Class < ? > finalizer ) { try { return finalizer.getMethod ( "startFinalizer" , java.lang.Class.class , java.lang.ref.ReferenceQueue.class , java.lang.ref.PhantomReference.class ) ; } catch ( java.lang.NoSuchMethodException e ) { throw new java.lang.AssertionError ( e ) ; } }
Source:
public com.android.ims.internal.IImsVideoCallProvider getVideoCallProvider ( ) { return null ; }

Target:
public java.lang.String getProperty ( java.lang.String name ) { return null ; }
Source:
public void onLocationChanged ( android.location.Location location ) { synchronized ( this ) { receivedGpsLocationLocked ( location ) ; } }

Target:
public void onSensorChanged ( android.hardware.SensorEvent event ) { synchronized ( this ) { mSensorManager.unregisterListener ( this , mMotionSensor ) ; active = false ; motionLocked ( ) ; } }
Source:
private void setCaptivePortalMode ( int mode ) { android.content.ContentResolver cr = mServiceContext.getContentResolver ( ) ; Settings.Global.putInt ( cr , Settings.Global.CAPTIVE_PORTAL_MODE , mode ) ; }

Target:
private void setMobileDataAlwaysOn ( boolean enable ) { android.content.ContentResolver cr = mServiceContext.getContentResolver ( ) ; Settings.Global.putInt ( cr , Settings.Global.MOBILE_DATA_ALWAYS_ON , ( enable ? 1 : 0 ) ) ; mService.updateMobileDataAlwaysOn ( ) ; mService.waitForIdle ( ) ; }
Source:
java.util.Set < java.lang.String > getSupportedAbis ( ) ;

Target:
java.io.File getTestedApk ( int density , @ com.android.annotations.NonNull java.util.List < java.lang.String > abis ) ;
Source:
protected boolean assertTrue ( java.lang.String message , boolean condition ) { return handleAssert ( condition , message , "true" , null ) ; }

Target:
protected static boolean assertTrue ( java.lang.String message , boolean condition ) { return com.ibm.icu.dev.test.TestFmwk.handleAssert ( condition , message , "true" , null ) ; }
Source:
public void serviceDied ( long cookie ) ;

Target:
public boolean linkToDeath ( android.os.IHwBinder.DeathRecipient recipient , long cookie ) ;
Source:
public void msg ( java.lang.String message , int level , boolean incCount , boolean newln ) { if ( ( delegate ) != null ) { delegate.msg ( message , level , incCount , newln ) ; } }

Target:
public void msg ( java.lang.String message , int level , boolean incCount , boolean newln ) { if ( ( delegate ) != null ) { com.ibm.icu.dev.test.TestFmwk.msg ( message , level , incCount , newln ) ; } }
Source:
public static native java.lang.String getDexFileOutputPath ( java.lang.String fileName , java.lang.String instructionSet ) throws java.io.FileNotFoundException ;

Target:
public static native java.lang.String [ ] getDexFileOutputPaths ( java.lang.String fileName , java.lang.String instructionSet ) throws java.io.FileNotFoundException ;
Source:
public static com.android.test.common.fixture.GradleTestProject.Builder builder ( ) { return new com.android.test.common.fixture.GradleTestProject.Builder ( ) ; }

Target:
public static com.android.build.gradle.integration.common.fixture.GradleTestProject.Builder builder ( ) { return new com.android.build.gradle.integration.common.fixture.GradleTestProject.Builder ( ) ; }
Source:
private void checkGraphic ( java.lang.String baseName , com.android.assetstudiolib.GraphicGenerator.Shape shape ) throws java.io.IOException { checkGraphic ( baseName , shape , 1 , "notification" , 12 ) ; }

Target:
public void testNotification1 ( ) throws java.lang.Exception { checkGraphic ( "ic_stat_1" ) ; }
Source:
private int remapConstantIndex ( int constantIndex ) { return constantIndexMap [ constantIndex ] ; }

Target:
private int remapConstantIndex ( int constantIndex ) { int remappedConstantIndex = constantIndexMap [ constantIndex ] ; if ( remappedConstantIndex < 0 ) { throw new java.lang.IllegalArgumentException ( ( ( "Can't remap constant index [" + constantIndex ) + "]" ) ) ; } return remappedConstantIndex ; }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setBranch ( java.lang.String value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 4 ; branch_ = value ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setBuildVendorFingerprint ( java.lang.String value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 16384 ; buildVendorFingerprint_ = value ; onChanged ( ) ; return this ; }
Source:
public void onScaleChangedScaled ( float oldScale , float newScale ) { org.chromium.content.common.TraceEvent.begin ( ) ; if ( com.android.webview.chromium.WebViewContentsClientAdapter.TRACE ) android.util.Log.d ( com.android.webview.chromium.WebViewContentsClientAdapter.TAG , " onScaleChangedScaled" ) ; mWebViewClient.onScaleChanged ( mWebView , oldScale , newScale ) ; org.chromium.content.common.TraceEvent.end ( ) ; }

Target:
public void onScaleChangedScaled ( float oldScale , float newScale ) { org.chromium.base.TraceEvent.begin ( ) ; if ( com.android.webview.chromium.WebViewContentsClientAdapter.TRACE ) android.util.Log.d ( com.android.webview.chromium.WebViewContentsClientAdapter.TAG , " onScaleChangedScaled" ) ; mWebViewClient.onScaleChanged ( mWebView , oldScale , newScale ) ; org.chromium.base.TraceEvent.end ( ) ; }
Source:
public android.net.IpSecManager.SecurityParameterIndex allocateSecurityParameterIndex ( int direction , java.net.InetAddress remoteAddress , int requestedSpi ) throws android.net.IpSecManager.ResourceUnavailableException , android.net.IpSecManager.SpiUnavailableException { if ( requestedSpi == ( android.net.IpSecManager.INVALID_SECURITY_PARAMETER_INDEX ) ) { throw new java.lang.IllegalArgumentException ( "Requested SPI must be a valid (non-zero) SPI" ) ; } return new android.net.IpSecManager.SecurityParameterIndex ( mService , direction , remoteAddress , requestedSpi ) ; }

Target:
public void applyTransportModeTransform ( java.net.DatagramSocket socket , int direction , android.net.IpSecTransform transform ) throws java.io.IOException { try ( android.os.ParcelFileDescriptor pfd = android.os.ParcelFileDescriptor.fromDatagramSocket ( socket ) ) { applyTransportModeTransform ( pfd , direction , transform ) ; } }
Source:
private void onLocaleChange ( ) { if ( ( mDisableUpdates ) > 0 ) { return ; } if ( ( computeCurrentConfig ( false ) ) && ( ( mListener ) != null ) ) { mListener.onConfigurationChange ( ) ; } }

Target:
private void onDeviceConfigChange ( ) { if ( ( mDisableUpdates ) > 0 ) { return ; } if ( ( computeCurrentConfig ( ) ) && ( ( mListener ) != null ) ) { mListener.onConfigurationChange ( ) ; } }
Source:
public int getTargetSdk ( ) { int targetSdk = mProject.getDefaultConfig ( ) . getProductFlavor ( ) . getTargetSdkVersion ( ) ; if ( targetSdk != ( - 1 ) ) { return targetSdk ; } return targetSdk ; }

Target:
public int getTargetSdk ( ) { com.android.builder.model.ApiVersion targetSdk = mProject.getDefaultConfig ( ) . getProductFlavor ( ) . getTargetSdkVersion ( ) ; if ( targetSdk != null ) { return targetSdk.getApiLevel ( ) ; } return mTargetSdk ; }
Source:
public boolean apply ( E input ) { return ( predicate.apply ( input ) ) && ( ! ( collection.contains ( input ) ) ) ; }

Target:
public boolean removeAll ( final java.util.Collection < ? > collection ) { return com.google.common.collect.Iterables.removeIf ( unfiltered , com.google.common.base.Predicates.and ( predicate , com.google.common.base.Predicates.in ( collection ) ) ) ; }
Source:
public void compareBouncycastleStructure ( ) throws java.lang.Exception { com.android.jack.TestTools.checkStructure ( com.android.jack.compile.androidtree.bouncycastle.BouncycastleCompilationTest.BOOTCLASSPATH , null , com.android.jack.compile.androidtree.bouncycastle.BouncycastleCompilationTest.SOURCELIST , false , true , 0.4F , com.android.jack.compile.androidtree.bouncycastle.BouncycastleCompilationTest.JARJAR_RULES , ( ( com.android.jack.ProguardFlags [ ] ) ( null ) ) ) ; }

Target:
public void compareBouncycastleStructure ( ) throws java.lang.Exception { com.android.jack.TestTools.checkStructure ( new com.android.jack.Options ( ) , com.android.jack.compile.androidtree.bouncycastle.BouncycastleCompilationTest.BOOTCLASSPATH , null , com.android.jack.compile.androidtree.bouncycastle.BouncycastleCompilationTest.REF_BOOTCLASSPATH , null , com.android.jack.compile.androidtree.bouncycastle.BouncycastleCompilationTest.SOURCELIST , false , true , 0.4F , com.android.jack.compile.androidtree.bouncycastle.BouncycastleCompilationTest.JARJAR_RULES , ( ( com.android.jack.ProguardFlags [ ] ) ( null ) ) ) ; }
Source:
public static void computeMax ( android.renderscript.cts.TestMax.ArgumentsUshortUshortUshort args ) { args.ulf = 0 ; args.ulfRelaxed = 0 ; args.out = ( ( short ) ( java.lang.StrictMath.max ( ( ( args.inV1 ) & 65535 ) , ( ( args.inV2 ) & 65535 ) ) ) ) ; }

Target:
public static void computeMin ( android.renderscript.cts.TestMin.ArgumentsIntIntInt args ) { args.out = android.renderscript.cts.CoreMathVerifier.minI32 ( args.inV1 , args.inV2 ) ; }
Source:
public void onSearchComplete ( java.lang.String address , int status ) throws android.os.RemoteException { }

Target:
public void onSearchComplete ( java.lang.String address , java.util.List < android.bluetooth.BluetoothGattService > services , int status ) throws android.os.RemoteException { }
Source:
protected void gotoKeyguard ( ) throws com.android.tradefed.device.DeviceNotAvailableException { sleepDevice ( ) ; wakeUpDevice ( ) ; }

Target:
protected void gotoKeyguard ( ) throws java.lang.Exception { sleepDevice ( ) ; wakeUpDevice ( ) ; mAmWmState.waitForKeyguardShowingAndNotOccluded ( mDevice ) ; }
Source:
public static native int SSL_write_BIO ( long sslNativePointer , byte [ ] source , int length , long sinkBioRef , org.conscrypt.NativeCrypto.SSLHandshakeCallbacks shc ) throws java.io.IOException ;

Target:
public static native int ENGINE_SSL_read_direct ( long sslNativePointer , long address , int length , org.conscrypt.NativeCrypto.SSLHandshakeCallbacks shc ) throws java.io.IOException ;
Source:
public boolean matchesAllOf ( java.lang.CharSequence sequence ) { return original.matchesNoneOf ( sequence ) ; }

Target:
public int countIn ( java.lang.CharSequence sequence ) { return ( sequence.length ( ) ) - ( original.countIn ( sequence ) ) ; }
Source:
public void endVisit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JCharLiteral expr ) { performCommonChecks ( expr ) ; com.android.jack.ir.ast.JCharLiteral other = otherOrMe ( expr ) ; ensure ( ( ( expr.getValue ( ) ) == ( other.getValue ( ) ) ) ) ; }

Target:
public void endVisit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JAbstractStringLiteral expr ) { performCommonChecks ( expr ) ; com.android.jack.ir.ast.JAbstractStringLiteral other = otherOrMe ( expr ) ; ensure ( expr.getValue ( ) . equals ( other.getValue ( ) ) ) ; }
Source:
public void test43_001 ( ) throws java.lang.Exception { runTest ( "043" , "001" , "" ) ; }

Target:
public void test43_001 ( ) throws java.lang.Exception { runTest ( "043" , "001" , "" , "lower-case" ) ; }
Source:
private void advance ( ) throws java.io.IOException { close ( ) ; if ( it.hasNext ( ) ) { in = it.next ( ) . getInput ( ) ; } }

Target:
private void advance ( ) throws java.io.IOException { close ( ) ; if ( it.hasNext ( ) ) { in = it.next ( ) . openStream ( ) ; } }
Source:
void addMessage ( com.android.manifmerger.MergingReport.Builder report , com.android.manifmerger.MergingReport.Record.Severity severity , java.lang.String message ) { report.addMessage ( getOwnerElement ( ) . getDocument ( ) . getSourceLocation ( ) , getLine ( ) , getColumn ( ) , severity , message ) ; }

Target:
void addMessage ( com.android.manifmerger.MergingReport.Builder report , com.android.utils.PositionXmlParser.Position position , com.android.manifmerger.MergingReport.Record.Severity severity , java.lang.String message ) { report.addMessage ( getOwnerElement ( ) . getDocument ( ) . getSourceLocation ( ) , position.getLine ( ) , position.getColumn ( ) , severity , message ) ; }
Source:
public static synchronized void setDefault ( java.util.Locale newLocale ) { java.util.Locale.setDefault ( java.util.Locale.Category.DISPLAY , newLocale ) ; java.util.Locale.setDefault ( java.util.Locale.Category.FORMAT , newLocale ) ; java.util.Locale.defaultLocale = newLocale ; libcore.icu.ICU.setDefaultLocale ( newLocale.toLanguageTag ( ) ) ; }

Target:
public static synchronized void setDefault ( java.util.Locale newLocale ) { java.util.Locale.setDefault ( java.util.Locale.Category.DISPLAY , newLocale ) ; java.util.Locale.setDefault ( java.util.Locale.Category.FORMAT , newLocale ) ; java.util.Locale.NoImagePreloadHolder.defaultLocale = newLocale ; libcore.icu.ICU.setDefaultLocale ( newLocale.toLanguageTag ( ) ) ; }
Source:
public V setValue ( V value ) { V oldValue = node.value ; node.value = value ; return oldValue ; }

Target:
public java.util.List < java.util.Map.Entry < K , V > > entries ( ) { return ( ( java.util.List < java.util.Map.Entry < K , V > > ) ( super . entries ( ) ) ) ; }
Source:
public void fatal ( java.lang.String id ) { severities.put ( id , Severity.FATAL ) ; }

Target:
public void check ( java.lang.String id ) { check.add ( id ) ; }
Source:
public void test_with_longTemporalField_nanoOfDay ( ) { for ( long i : testPoints ( 86400000000000L ) ) { java.time.LocalTime test = TEST_12_30_40_987654321.with ( java.time.temporal.ChronoField.NANO_OF_DAY , i ) ; org.testng.Assert.assertEquals ( test , java.time.LocalTime.ofNanoOfDay ( i ) ) ; } }

Target:
public void test_with_longTemporalField_nanoOfDay ( ) { for ( long i : testPoints ( 86400000000000L ) ) { java.time.LocalTime test = tck.java.time.TCKLocalTime.TEST_12_30_40_987654321.with ( java.time.temporal.ChronoField.NANO_OF_DAY , i ) ; org.testng.Assert.assertEquals ( test , java.time.LocalTime.ofNanoOfDay ( i ) ) ; } }
Source:
private void parseAtr ( java.lang.String atr ) { mIsEuicc = false ; }

Target:
private void checkIsEuiccSupported ( ) { if ( ( ( mAtr ) != null ) && ( mAtr.isEuiccSupported ( ) ) ) { mIsEuicc = true ; } else { mIsEuicc = false ; } }
Source:
private com.android.rs.test.Byte4 pack_b4 ( byte [ ] val ) { assert ( val.length ) == 4 ; return new com.android.rs.test.Byte4 ( val [ 0 ] , val [ 1 ] , val [ 2 ] , val [ 3 ] ) ; }

Target:
private android.renderscript.Byte4 pack_b4 ( byte [ ] val ) { assert ( val.length ) == 4 ; return new android.renderscript.Byte4 ( val [ 0 ] , val [ 1 ] , val [ 2 ] , val [ 3 ] ) ; }
Source:
public com.android.dx.util.ByteArray slice ( int start , int end ) { checkOffsets ( start , end ) ; return new com.android.dx.util.ByteArray ( bytes , ( start + ( this . start ) ) , ( end + ( this . start ) ) ) ; }

Target:
public com.android.dx.util.ByteArray slice ( int start , int end ) { checkOffsets ( start , end ) ; byte [ ] slicedOut = java.util.Arrays.copyOfRange ( bytes , start , end ) ; return new com.android.dx.util.ByteArray ( slicedOut ) ; }
Source:
public void setEras ( java.lang.String [ ] newEras ) { eras = java.util.Arrays.copyOf ( newEras , newEras.length ) ; }

Target:
public void setEras ( java.lang.String [ ] newEras ) { eras = java.util.Arrays.copyOf ( newEras , newEras.length ) ; cachedHashCode = 0 ; }
Source:
public java.lang.String getAlgorithmName ( ) { return cipher.getAlgorithmName ( ) ; }

Target:
public org.bouncycastle.crypto.BlockCipher getUnderlyingCipher ( ) { return cipher ; }
Source:
public void println ( com.android.ahat.DocString string ) ;

Target:
void big ( com.android.ahat.DocString string ) ;
Source:
public void Print ( ) { java.lang.System.out.println ( ( ( ( art.Test988.whitespace ( cnt ) ) + "=> " ) + ( m ) ) ) ; }

Target:
public void Print ( ) { java.lang.System.out.println ( ( ( ( art.Test988.whitespace ( cnt ) ) + "=> " ) + ( art.Test988.methodToString ( m ) ) ) ) ; }
Source:
private void inlinedForFalse ( boolean value , java.lang.Iterable it ) { if ( value ) { if ( Main.doThrow ) { throw new java.lang.Error ( "" ) ; } } }

Target:
private void inlinedForFalse ( boolean value , java.lang.Iterable it ) { if ( value ) { it.iterator ( ) ; } }
Source:
synchronized boolean connect ( android.bluetooth.BluetoothDevice device ) { if ( com.android.bluetooth.hid.HidDeviceService.DBG ) { android.util.Log.d ( com.android.bluetooth.hid.HidDeviceService.TAG , ( "connect(): device=" + device ) ) ; } return connectNative ( com.android.bluetooth.Utils.getByteAddress ( device ) ) ; }

Target:
synchronized boolean connect ( android.bluetooth.BluetoothDevice device ) { if ( com.android.bluetooth.hid.HidDeviceService.DBG ) { android.util.Log.d ( com.android.bluetooth.hid.HidDeviceService.TAG , ( "connect(): device=" + device ) ) ; } return ( checkCallingUid ( ) ) && ( mHidDeviceNativeInterface.connect ( device ) ) ; }
Source:
public java.util.List < java.io.File > getClasspath ( ) { return getFilesFromPathString ( classpath ) ; }

Target:
public void setInputSources ( @ javax.annotation.Nonnull java.util.List < java.io.File > inputSources ) { this . inputSources = inputSources ; }
Source:
private static < T > T expectSoon ( T mock ) { return org.mockito.Mockito.verify ( mock , org.mockito.Mockito.timeout ( 100 ) ) ; }

Target:
private static < T > T expectSoon ( T mock ) { return org.mockito.Mockito.verify ( mock , org.mockito.Mockito.timeout ( 200 ) ) ; }
Source:
private static int sign32 ( int x ) { return java.lang.Integer.signum ( x ) ; }

Target:
private static int signInt ( int x ) { return java.lang.Integer.signum ( x ) ; }
Source:
public static com.android.ide.eclipse.adt.internal.editors.layout.configuration.Locale create ( @ com.android.annotations.NonNull com.android.ide.common.resources.configuration.LanguageQualifier language ) { return new com.android.ide.eclipse.adt.internal.editors.layout.configuration.Locale ( language , com.android.ide.eclipse.adt.internal.editors.layout.configuration.Locale.ANY_REGION ) ; }

Target:
public static com.android.ide.eclipse.adt.internal.editors.layout.configuration.Locale create ( @ com.android.annotations.NonNull java.lang.String localeString ) { com.android.ide.common.resources.configuration.LocaleQualifier qualifier = com.android.ide.common.resources.configuration.LocaleQualifier.getQualifier ( localeString ) ; if ( qualifier != null ) { return new com.android.ide.eclipse.adt.internal.editors.layout.configuration.Locale ( qualifier ) ; } else { return com.android.ide.eclipse.adt.internal.editors.layout.configuration.Locale.ANY ; } }
Source:
private void processIccRecordEvents ( int eventCode ) { switch ( eventCode ) { case RuimRecords.EVENT_MWI : notifyMessageWaitingIndicator ( ) ; break ; default : android.util.Log.e ( com.android.internal.telephony.cdma.CDMAPhone.LOG_TAG , ( "Unknown icc records event code " + eventCode ) ) ; break ; } }

Target:
private void processIccRecordEvents ( int eventCode ) { switch ( eventCode ) { case com.android.internal.telephony.uicc.RuimRecords.EVENT_MWI : notifyMessageWaitingIndicator ( ) ; break ; default : android.telephony.Rlog.e ( com.android.internal.telephony.cdma.CDMAPhone.LOG_TAG , ( "Unknown icc records event code " + eventCode ) ) ; break ; } }
Source:
public int getShadowColor ( ) { return mTextPaint.shadowColor ; }

Target:
, @ ViewDebug.IntToString ( from = android.graphics.Typeface.BOLD , to = "BOLD" ) , @ ViewDebug.IntToString ( from = android.graphics.Typeface.ITALIC , to = "ITALIC" ) , @ ViewDebug.IntToString ( from = android.graphics.Typeface.BOLD_ITALIC , to = "BOLD_ITALIC" ) } ) public int getTypefaceStyle ( ) { return mTextPaint.getTypeface ( ) . getStyle ( ) ; }
Source:
public void testGetSuggestedEscape ( ) { assertEquals ( "C:\\\\my\\\\path\\\\to\\\\sdk" , com.android.tools.lint.checks.PropertyFileDetector.getSuggestedEscape ( "Windows file separators (\\) must be escaped (\\\\); use C:\\\\my\\\\path\\\\to\\\\sdk" , com.android.tools.lint.detector.api.TextFormat.TEXT ) ) ; }

Target:
public void testGetSuggestedEscape ( ) { assertEquals ( "C:\\\\my\\\\path\\\\to\\\\sdk" , com.android.tools.lint.checks.PropertyFileDetector.getSuggestedEscape ( "Windows file separators (\\) must be escaped (\\\\); use C:\\\\my\\\\path\\\\to\\\\sdk" , com.android.tools.lint.detector.api.TextFormat.TEXT ) ) ; assertEquals ( "C\\:\\\\my\\\\path\\\\to\\\\sdk" , com.android.tools.lint.checks.PropertyFileDetector.getSuggestedEscape ( "local.properties:11: Error: Windows file separators (\\) and drive letter separators (\':\') must be escaped (\\\\) in property files; use C\\:\\\\my\\\\path\\\\to\\\\sdk" , com.android.tools.lint.detector.api.TextFormat.TEXT ) ) ; }
Source:
public org.junit.runner.Runner runnerForClass ( java.lang.Class < ? > testClass ) throws java.lang.Throwable { if ( mSkipExecution ) { return new com.android.test.runner.junit4.NonExecutingJUnit4ClassRunner ( testClass ) ; } if ( hasInjectedFields ( testClass ) ) { return new com.android.test.runner.junit4.AndroidJUnit4ClassRunner ( testClass , mInstrumentation ) ; } return null ; }

Target:
public org.junit.runner.Runner runnerForClass ( java.lang.Class < ? > testClass ) throws java.lang.Throwable { if ( mSkipExecution ) { return new com.android.test.runner.junit4.NonExecutingJUnit4ClassRunner ( testClass ) ; } if ( hasInjectedFields ( testClass ) ) { return new com.android.test.runner.junit4.AndroidJUnit4ClassRunner ( testClass , mInstrumentation , mBundle ) ; } return null ; }
Source:
public void reset ( ) { java.lang.System.arraycopy ( IV , 0 , counter , 0 , counter.length ) ; cipher.reset ( ) ; }

Target:
public void reset ( ) { java.lang.System.arraycopy ( IV , 0 , counter , 0 , counter.length ) ; cipher.reset ( ) ; this . byteCount = 0 ; }
Source:
public static long max ( long a , long b ) { return a >= b ? a : b ; }

Target:
public static long min ( long a , long b ) { return java.lang.Math.min ( a , b ) ; }
Source:
public abstract void clear ( ) ;

Target:
public abstract void removeType ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JType type ) ;
Source:
public void run ( ) { clearView ( ) ; }

Target:
public java.lang.Boolean call ( ) { return pageDown ( bottom ) ; }
Source:
public static int testTrueBranch ( int x , int y ) { int z ; if ( Main.inlineTrue ( ) ) { z = x + y ; } else { z = x - y ; } return z ; }

Target:
public static int testTrueBranch ( int x , int y ) { int z ; if ( Main.inlineTrue ( ) ) { z = x + y ; } else { z = x - y ; java.lang.System.nanoTime ( ) ; } return z ; }
Source:
public void onCreate ( android.os.Bundle savedInstanceState ) { super . onCreate ( savedInstanceState ) ; setContentView ( new com.example.plasma.PlasmaView ( this ) ) ; }

Target:
public void onCreate ( android.os.Bundle savedInstanceState ) { super . onCreate ( savedInstanceState ) ; android.view.Display display = getWindowManager ( ) . getDefaultDisplay ( ) ; setContentView ( new com.example.plasma.PlasmaView ( this , display.getWidth ( ) , display.getHeight ( ) ) ) ; }
Source:
synchronized void nAllocationRead ( long id , float [ ] d ) { validate ( ) ; rsnAllocationRead ( mContext , id , d ) ; }

Target:
synchronized void nScriptSetVarF ( long id , int slot , float val , boolean mUseInc ) { validate ( ) ; long curCon = mContext ; if ( mUseInc ) { curCon = mIncCon ; } rsnScriptSetVarF ( curCon , id , slot , val , mUseInc ) ; }
Source:
public void onSubscriptionsChanged ( ) { if ( android.telephony.SubscriptionManager.DBG ) log ( "callback: received, sendEmptyMessage(0) to handler" ) ; mHandler.sendEmptyMessage ( 0 ) ; }

Target:
public void handleMessage ( android.os.Message msg ) { if ( android.telephony.SubscriptionManager.DBG ) { log ( "handleMessage: invoke the overriden onSubscriptionsChanged()" ) ; } this . onSubscriptionsChanged ( ) ; }
Source:
private static synchronized void clearA2dpService ( ) { com.android.bluetooth.a2dp.A2dpService.sAd2dpService = null ; }

Target:
private static synchronized void clearA2dpService ( ) { com.android.bluetooth.a2dp.A2dpService.sA2dpService = null ; }
Source:
public void testRunStarted ( int testCount ) ;

Target:
public void testRunStarted ( java.lang.String runName , int testCount ) ;
Source:
public void test512 ( ) throws java.lang.Exception { org.conscrypt.ChainStrengthAnalyzerTest.assertBad ( org.conscrypt.ChainStrengthAnalyzerTest.SHORT_PEM , "Short modulus check did not fail as expected" ) ; }

Target:
public void testRsa512 ( ) throws java.lang.Exception { org.conscrypt.ChainStrengthAnalyzerTest.assertBad ( org.conscrypt.ChainStrengthAnalyzerTest.SHORT_RSA_PEM , "Short RSA modulus check did not fail as expected" ) ; }
Source:
public boolean isDualBandSupported ( ) { return mContext.getResources ( ) . getBoolean ( com.android.internal.R.bool.config_wifi_dual_band_support ) ; }

Target:
public boolean isDualBandSupported ( ) { mLog.trace ( "isDualBandSupported uid=%" ) . c ( android.os.Binder.getCallingUid ( ) ) . flush ( ) ; return mContext.getResources ( ) . getBoolean ( com.android.internal.R.bool.config_wifi_dual_band_support ) ; }