auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void testNoVerticalWeights4 ( ) throws java.lang.Exception { assertEquals ( "baseline_weights3.xml:2: Warning: Set android:baselineAligned=\"false\" on this element for better performance" , lintFiles ( "res/layout/baseline_weights3.xml" ) ) ; }

Target:
public void testNoVerticalWeights4 ( ) throws java.lang.Exception { assertEquals ( ( "res/layout/baseline_weights3.xml:2: Warning: Set android:baselineAligned=\"false\" on this element for better performance [DisableBaselineAlignment]\n" + ( ( ( "<LinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" + "^\n" ) + "0 errors, 1 warnings\n" ) + "" ) ) , lintFiles ( "res/layout/baseline_weights3.xml" ) ) ; }
Source:
public void callSessionRemoveParticipantsRequestFailed ( com.android.ims.ImsReasonInfo reasonInfo ) throws android.os.RemoteException { mListener.callSessionInviteParticipantsRequestFailed ( reasonInfo ) ; }

Target:
public void callSessionRemoveParticipantsRequestFailed ( android.telephony.ims.ImsReasonInfo reasonInfo ) { try { mListener.callSessionInviteParticipantsRequestFailed ( reasonInfo ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e ) ; } }
Source:
protected boolean addFile ( com.intellij.openapi.vfs.VirtualFile file ) { com.intellij.openapi.file.exclude.b7a64e Merge ; }

Target:
protected boolean addFile ( com.intellij.openapi.vfs.VirtualFile file ) { if ( ( ! ( file instanceof com.intellij.openapi.vfs.VirtualFileWithId ) ) || ( file.isDirectory ( ) ) ) return false ; myFiles.add ( file ) ; return true ; }
Source:
public static java.io.File getJackUnitTestFromBinaryName ( @ javax.annotation.Nonnull java.lang.String signature ) { return com.android.jack.TestTools.getFromAndroidTree ( ( ( ( com.android.jack.TestTools.JACK_UNIT_TESTS_PATH ) + signature ) + ".java" ) ) ; }

Target:
public static java.io.File getJackUnitTestFromBinaryName ( @ javax.annotation.Nonnull java.lang.String signature ) { return new java.io.File ( com.android.jack.test.TestsProperties.getJackRootDir ( ) , ( ( ( com.android.jack.TestTools.JACK_UNIT_TESTS_PATH ) + signature ) + ".java" ) ) ; }
Source:
void align ( int v ) { mN.align ( v ) ; }

Target:
void align ( int v ) { mN.align ( v ) ; while ( ( ( mPos ) & ( v - 1 ) ) != 0 ) { ( mPos ) ++ ; } }
Source:
protected void engineUpdate ( byte [ ] input , int offset , int len ) { org.conscrypt.NativeCrypto.EVP_DigestUpdate ( ctx , input , offset , len ) ; }

Target:
protected void engineUpdate ( byte [ ] input , int offset , int len ) { ensureDigestInitializedInContext ( ) ; org.conscrypt.NativeCrypto.EVP_DigestUpdate ( ctx , input , offset , len ) ; }
Source:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; mUiHandler = new android.os.Handler ( android.os.Looper.getMainLooper ( ) ) ; mDisplayManager = ( ( android.hardware.display.DisplayManager ) ( mContext.getSystemService ( Context.DISPLAY_SERVICE ) ) ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; mUiHandler = new android.os.Handler ( android.os.Looper.getMainLooper ( ) ) ; mDisplayManager = ( ( android.hardware.display.DisplayManager ) ( mContext.getSystemService ( Context.DISPLAY_SERVICE ) ) ) ; android.media.cts.EncodeVirtualDisplayTest.setupEncoderParameters ( ) ; }
Source:
public java.lang.Boolean call ( ) { return onHoverEvent ( event ) ; }

Target:
public java.lang.Boolean call ( ) { return onTouchEvent ( ev ) ; }
Source:
private void run ( @ javax.annotation.Nonnull com.android.jack.test.runtime.RuntimeTestInfo rti ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( rti ) . setSourceLevel ( SourceLevel.JAVA_8 ) . addIgnoredCandidateToolchain ( com.android.jack.test.toolchain.JillBasedToolchain.class ) . compileAndRunTest ( ) ; }

Target:
private void run ( @ javax.annotation.Nonnull com.android.jack.test.runtime.RuntimeTestInfo rti ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( rti ) . setSourceLevel ( SourceLevel.JAVA_8 ) . addProperty ( Options.ANDROID_MIN_API_LEVEL.getName ( ) , java.lang.String.valueOf ( AndroidCompatibilityChecker.N_API_LEVEL ) ) . addIgnoredCandidateToolchain ( com.android.jack.test.toolchain.JillBasedToolchain.class ) . compileAndRunTest ( ) ; }
Source:
private java.lang.String byteToString ( byte [ ] byteArray ) { int key = new java.math.BigInteger ( byteArray ) . intValue ( ) ; java.lang.String value = mHmap.get ( key ) ; return value ; }

Target:
private java.lang.String byteToString ( byte [ ] byteArray ) { int uid = new java.math.BigInteger ( byteArray ) . intValue ( ) ; java.lang.String mediaId = mHmap.get ( uid ) ; return mediaId ; }
Source:
public void teststate ( ) throws java.lang.Exception { assertEquals ( KeyStore.State.UNINITIALIZED , mKeyStore.state ( ) ) ; }

Target:
public void testState ( ) throws java.lang.Exception { assertEquals ( KeyStore.State.UNINITIALIZED , mKeyStore.state ( ) ) ; }
Source:
public final native android.os.HwBlob readBuffer ( ) ;

Target:
public final native android.os.HwBlob readBuffer ( long expectedSize ) ;
Source:
public void test_from_TemporalAccessor_ZDT ( ) { java.time.ZonedDateTime base = java.time.LocalDateTime.of ( 2007 , 7 , 15 , 11 , 30 , 59 , 500 ) . atZone ( tck.java.time.TCKOffsetTime.OFFSET_PONE ) ; org.testng.Assert.assertEquals ( java.time.OffsetTime.from ( base ) , TEST_11_30_59_500_PONE ) ; }

Target:
public void test_from_TemporalAccessor_ZDT ( ) { java.time.ZonedDateTime base = java.time.LocalDateTime.of ( 2007 , 7 , 15 , 11 , 30 , 59 , 500 ) . atZone ( tck.java.time.TCKOffsetTime.OFFSET_PONE ) ; org.testng.Assert.assertEquals ( java.time.OffsetTime.from ( base ) , tck.java.time.TCKOffsetTime.TEST_11_30_59_500_PONE ) ; }
Source:
public int getActivePhoneTypeForSlot ( int slotId ) { final com.android.internal.telephony.Phone phone = com.android.internal.telephony.PhoneFactory.getPhone ( slotId ) ; if ( phone == null ) { return com.android.internal.telephony.PhoneConstants.PHONE_TYPE_NONE ; } else { return phone.getPhoneType ( ) ; } }

Target:
public int getActivePhoneTypeForSlot ( int slotIndex ) { final com.android.internal.telephony.Phone phone = com.android.internal.telephony.PhoneFactory.getPhone ( slotIndex ) ; if ( phone == null ) { return com.android.internal.telephony.PhoneConstants.PHONE_TYPE_NONE ; } else { return phone.getPhoneType ( ) ; } }
Source:
public void onStatusChanged ( ) { if ( com.android.server.wifi.aware.WifiAwareNativeManager.DBG ) android.util.Log.d ( com.android.server.wifi.aware.WifiAwareNativeManager.TAG , "onStatusChanged" ) ; if ( mHalDeviceManager.isStarted ( ) ) { tryToGetAware ( ) ; } else { awareIsDown ( ) ; } }

Target:
public void onStatusChanged ( ) { if ( com.android.server.wifi.aware.WifiAwareNativeManager.DBG ) android.util.Log.d ( com.android.server.wifi.aware.WifiAwareNativeManager.TAG , "onStatusChanged" ) ; if ( mHalDeviceManager.isStarted ( ) ) { mHalDeviceManager.registerInterfaceAvailableForRequestListener ( IfaceType.NAN , mInterfaceAvailableForRequestListener , null ) ; } else { awareIsDown ( ) ; } }
Source:
public void run ( ) { onInitializeAccessibilityEvent ( event ) ; }

Target:
public void run ( ) { onInitializeAccessibilityNodeInfo ( info ) ; }
Source:
protected void engineInit ( int opmode , java.security.Key key , java.security.spec.AlgorithmParameterSpec params , java.security.SecureRandom random ) throws java.security.InvalidAlgorithmParameterException , java.security.InvalidKeyException { final byte [ ] encodedKey = checkInitArgs ( opmode , key ) ; engineInitInternal ( opmode , encodedKey , params , random ) ; }

Target:
protected void engineInit ( int opmode , java.security.Key key , java.security.spec.AlgorithmParameterSpec params , java.security.SecureRandom random ) throws java.security.InvalidAlgorithmParameterException , java.security.InvalidKeyException { checkAndSetEncodedKey ( opmode , key ) ; engineInitInternal ( this . encodedKey , params , random ) ; }
Source:
public final void sendRttInitiationFailure ( int reason ) { mListeners.forEach ( ( l ) -> l.onRttInitiationFailure ( this , reason ) ) ; }

Target:
public final void sendRttInitiationFailure ( int reason ) { unsetRttProperty ( ) ; mListeners.forEach ( ( l ) -> l.onRttInitiationFailure ( this , reason ) ) ; }
Source:
public void testE1 ( ) { try { dot.junit.opcodes.new_instance.d.T_new_instance_3.run ( ) ; fail ( "expected Error" ) ; } catch ( java.lang.Error e ) { } }

Target:
public void testE1 ( ) { load ( "dot.junit.opcodes.new_instance.d.T_new_instance_3" , java.lang.ExceptionInInitializerError.class ) ; }
Source:
public void testButtonOrderRelativeLayout2 ( ) throws java.lang.Exception { com.android.tools.lint.checks.ButtonDetectorTest.sTestIssue = ButtonDetector.ORDER ; assertEquals ( "buttonbar3.xml:27: Warning: Cancel button should be on the left" , lintProject ( "apicheck/minsdk14.xml=>AndroidManifest.xml" , "res/layout/buttonbar3.xml" , "res/values/buttonbar-values.xml" ) ) ; }

Target:
public void testButtonOrderRelativeLayout2 ( ) throws java.lang.Exception { com.android.tools.lint.checks.ButtonDetectorTest.sTestIssue = ButtonDetector.ORDER ; assertEquals ( ( "res/layout/buttonbar3.xml:27: Warning: Cancel button should be on the left [ButtonOrder]\n" + ( ( ( " <Button\n" + " ^\n" ) + "0 errors, 1 warnings\n" ) + "" ) ) , lintProject ( "apicheck/minsdk14.xml=>AndroidManifest.xml" , "res/layout/buttonbar3.xml" , "res/values/buttonbar-values.xml" ) ) ; }
Source:
static com.android.manifmerger.XmlDocument xmlDocumentFromString ( @ com.android.annotations.NonNull com.android.manifmerger.KeyResolver < java.lang.String > selectors , @ com.android.annotations.NonNull com.android.manifmerger.XmlLoader.SourceLocation location , java.lang.String input ) throws java.io.IOException , javax.xml.parsers.ParserConfigurationException , org.xml.sax.SAXException { return com.android.manifmerger.XmlLoader.load ( selectors , location , input ) ; }

Target:
static com.android.manifmerger.XmlDocument xmlDocumentFromString ( @ com.android.annotations.NonNull com.android.manifmerger.KeyResolver < java.lang.String > selectors , @ com.android.annotations.NonNull com.android.manifmerger.XmlLoader.SourceLocation location , java.lang.String input ) throws java.io.IOException , javax.xml.parsers.ParserConfigurationException , org.xml.sax.SAXException { return com.android.manifmerger.XmlLoader.load ( selectors , com.android.manifmerger.TestUtils.NO_PROPERTY_RESOLVER , location , input ) ; }
Source:
boolean isAvailable ( @ org.jetbrains.annotations.NotNull com.intellij.compiler.options.CompilerOptionsManager.Setting setting ) ;

Target:
boolean isAvailable ( @ org.jetbrains.annotations.NotNull com.intellij.openapi.project.Project project , @ org.jetbrains.annotations.NotNull com.intellij.compiler.options.CompilerOptionsManager.Setting setting ) ;
Source:
public java.lang.Iterable < com.android.builder.model.SourceProvider > getFlavorSourceSets ( ) { return mFlavorSourceProviders ; }

Target:
public java.util.List < com.android.builder.model.SourceProvider > getFlavorSourceProviders ( ) { return mFlavorSourceProviders ; }
Source:
public void applyLocalizedPattern ( java.lang.String pattern ) { ndf.applyLocalizedPattern ( pattern ) ; }

Target:
public void applyLocalizedPattern ( java.lang.String pattern ) { ndf.applyLocalizedPattern ( pattern ) ; updateFieldsFromNative ( ) ; }
Source:
boolean onCanceledViaNewOutgoingCallBroadcast ( com.android.server.telecom.Call call ) ;

Target:
boolean onCanceledViaNewOutgoingCallBroadcast ( com.android.server.telecom.Call call , long disconnectionTimeout ) ;
Source:
public void checkServerTrusted ( java.security.cert.X509Certificate [ ] certs , java.lang.String authType ) throws java.security.cert.CertificateException { java.util.List < java.security.cert.X509Certificate > trustedChain = mDelegate.checkServerTrusted ( certs , authType , ( ( java.lang.String ) ( null ) ) ) ; checkPins ( trustedChain ) ; }

Target:
public java.util.List < java.security.cert.X509Certificate > checkServerTrusted ( java.security.cert.X509Certificate [ ] certs , java.lang.String authType , java.lang.String host ) throws java.security.cert.CertificateException { java.util.List < java.security.cert.X509Certificate > trustedChain = mDelegate.checkServerTrusted ( certs , authType , host ) ; checkPins ( trustedChain ) ; return trustedChain ; }
Source:
public java.lang.String toString ( ) { return ( ( ( getClass ( ) . getSimpleName ( ) ) + " [" ) + ( state ( ) ) ) + "]" ; }

Target:
protected java.lang.String serviceName ( ) { return getClass ( ) . getSimpleName ( ) ; }
Source:
public void sendMessage ( int peerId , int messageId , @ android.annotation.Nullable byte [ ] message ) { sendMessage ( peerId , messageId , message , 0 ) ; }

Target:
public void sendMessage ( java.lang.Object peerHandle , int messageId , @ android.annotation.Nullable byte [ ] message ) { sendMessage ( peerHandle , messageId , message , 0 ) ; }
Source:
public void testManifestInstallLocationSdcard ( ) { installFromRawResource ( "install.apk" , R.raw.install_loc_sdcard , 0 , true , false , ( - 1 ) , PackageInfo.INSTALL_LOCATION_PREFER_EXTERNAL ) ; }

Target:
public void testManifestInstallLocationSdcard ( ) { if ( android.os.Environment.isExternalStorageEmulated ( ) ) { return ; } installFromRawResource ( "install.apk" , R.raw.install_loc_sdcard , 0 , true , false , ( - 1 ) , PackageInfo.INSTALL_LOCATION_PREFER_EXTERNAL ) ; }
Source:
public java.lang.reflect.Field getFieldForAbbrev ( char abbrev ) { return abbrevToField.get ( abbrev ) ; }

Target:
public com.google.devtools.common.options.OptionDefinition getFieldForAbbrev ( char abbrev ) { return abbrevToField.get ( abbrev ) ; }
Source:
public int length ( ) { return ( count ) & ( java.lang.Integer.MAX_VALUE ) ; }

Target:
public int length ( ) { final boolean STRING_COMPRESSION_ENABLED = false ; if ( STRING_COMPRESSION_ENABLED ) { return ( count ) > > > 1 ; } else { return count ; } }
Source:
public java.util.List < com.android.sched.vfs.InputVFile > getBinaries ( @ javax.annotation.Nonnull com.android.jack.library.BinaryKind binaryKind ) { java.util.List < com.android.sched.vfs.InputVFile > binaries = new java.util.ArrayList < com.android.sched.vfs.InputVFile > ( ) ; fillBinaries ( libraryVDir , binaryKind , binaries ) ; return binaries ; }

Target:
public java.util.Iterator < com.android.sched.vfs.InputVFile > iterator ( @ javax.annotation.Nonnull com.android.jack.library.FileType fileType ) { java.util.List < com.android.sched.vfs.InputVFile > inputVFiles = new java.util.ArrayList < com.android.sched.vfs.InputVFile > ( ) ; fillFiles ( libraryVDir , fileType , inputVFiles ) ; return inputVFiles.listIterator ( ) ; }
Source:
private static com.google.gson.JsonElement getRequest ( @ org.jetbrains.annotations.NotNull org.jetbrains.plugins.github.api.GithubAuthData auth , @ org.jetbrains.annotations.NotNull java.lang.String path , @ org.jetbrains.annotations.NotNull org.jetbrains.plugins.github.api.Header ... headers ) throws java.io.IOException { return org.jetbrains.plugins.github.api.GithubApiUtil.request ( auth , path , null , java.util.Arrays.asList ( headers ) , org.jetbrains.plugins.github.api.GithubApiUtil.HttpVerb.GET ) . getJsonElement ( ) ; }

Target:
private static com.google.gson.JsonElement getRequest ( @ org.jetbrains.annotations.NotNull org.jetbrains.plugins.github.util.GithubAuthData auth , @ org.jetbrains.annotations.NotNull java.lang.String path , @ org.jetbrains.annotations.NotNull org.jetbrains.plugins.github.api.Header ... headers ) throws java.io.IOException { return org.jetbrains.plugins.github.api.GithubApiUtil.request ( auth , path , null , java.util.Arrays.asList ( headers ) , org.jetbrains.plugins.github.api.GithubApiUtil.HttpVerb.GET ) . getJsonElement ( ) ; }
Source:
public boolean isAllowedToUseHiddenApi ( ) { boolean whitelisted = com.android.server.SystemConfig.getInstance ( ) . getHiddenApiWhitelistedApps ( ) . contains ( packageName ) ; return ( isSystemApp ( ) ) || ( whitelisted && ( ( isSystemApp ( ) ) || ( isUpdatedSystemApp ( ) ) ) ) ; }

Target:
private boolean isValidHiddenApiEnforcementPolicy ( int policy ) { return ( policy >= ( android.content.pm.ApplicationInfo.HIDDEN_API_ENFORCEMENT_DEFAULT ) ) && ( policy <= ( android.content.pm.ApplicationInfo.HIDDEN_API_ENFORCEMENT_MAX ) ) ; }
Source:
public void setLocation ( @ com.android.annotations.NonNull java.io.File sdkRoot ) { assert sdkRoot != null ; mSdkRoot = sdkRoot ; clearLocalPkg ( com.android.sdklib.repository.local.LocalSdk.PKG_ALL ) ; }

Target:
public void setLocation ( @ com.android.annotations.NonNull java.io.File sdkRoot ) { assert sdkRoot != null ; mSdkRoot = sdkRoot ; clearLocalPkg ( PkgType.PKG_ALL ) ; }
Source:
public void removeTransportModeTransform ( java.io.FileDescriptor socket , android.net.IpSecTransform transform ) throws java.io.IOException { try ( android.os.ParcelFileDescriptor pfd = android.os.ParcelFileDescriptor.dup ( socket ) ) { removeTransportModeTransform ( pfd , transform ) ; } }

Target:
public void removeTransportModeTransforms ( java.net.DatagramSocket socket , android.net.IpSecTransform transform ) throws java.io.IOException { try ( android.os.ParcelFileDescriptor pfd = android.os.ParcelFileDescriptor.fromDatagramSocket ( socket ) ) { removeTransportModeTransforms ( pfd , transform ) ; } }
Source:
public void setInitialAttachApn ( java.lang.String apn , java.lang.String protocol , int authType , java.lang.String username , java.lang.String password , android.os.Message result ) { }

Target:
public void setSimCardPower ( boolean powerUp , android.os.Message result ) { }
Source:
public void loadViewHierarchy ( ) { com.android.hierarchyviewerlib.device.Window window = com.android.hierarchyviewerlib.models.DeviceSelectionModel.getModel ( ) . getSelectedWindow ( ) ; if ( window != null ) { loadViewTreeData ( window ) ; } }

Target:
public void loadViewHierarchy ( ) { com.android.hierarchyviewerlib.models.Window window = com.android.hierarchyviewerlib.models.DeviceSelectionModel.getModel ( ) . getSelectedWindow ( ) ; if ( window != null ) { loadViewTreeData ( window ) ; } }
Source:
private java.io.File createAvdIniFile ( com.android.sdklib.internal.avd.AvdManager.AvdInfo info ) throws com.android.prefs.AndroidLocation.AndroidLocationException , java.io.IOException { return createAvdIniFile ( info.getName ( ) , new java.io.File ( info.getPath ( ) ) , info.getTarget ( ) , false ) ; }

Target:
private java.io.File createAvdIniFile ( com.android.sdklib.internal.avd.AvdInfo info ) throws com.android.prefs.AndroidLocation.AndroidLocationException , java.io.IOException { return createAvdIniFile ( info.getName ( ) , new java.io.File ( info.getDataFolderPath ( ) ) , info.getTarget ( ) , false ) ; }
Source:
protected void unwanted ( ) { if ( ( this ) != ( mNetworkAgent ) ) return ; if ( com.android.server.wifi.WifiStateMachine.DBG ) log ( ( "WifiNetworkAgent -> Wifi unwanted score " + ( java.lang.Integer.toString ( mWifiInfo.score ) ) ) ) ; unwantedNetwork ( com.android.server.wifi.WifiStateMachine.NETWORK_STATUS_UNWANTED_DISCONNECT ) ; }

Target:
protected void unwanted ( ) { if ( ( this ) != ( mNetworkAgent ) ) return ; if ( mVerboseLoggingEnabled ) { log ( ( "WifiNetworkAgent -> Wifi unwanted score " + ( java.lang.Integer.toString ( mWifiInfo.score ) ) ) ) ; } unwantedNetwork ( com.android.server.wifi.WifiStateMachine.NETWORK_STATUS_UNWANTED_DISCONNECT ) ; }
Source:
public void copy2DRangeFrom ( int xoff , int yoff , int w , int h , float [ ] data ) { validateIsFloat32 ( ) ; copy2DRangeFromUnchecked ( xoff , yoff , w , h , data ) ; }

Target:
public void copy1DRangeFrom ( int off , int count , short [ ] d ) { validateIsInt16 ( ) ; copy1DRangeFromUnchecked ( off , count , d , Element.DataType.SIGNED_16 , d.length ) ; }
Source:
public void imageLoaded ( ) { synchronized ( this ) { loadImage ( ) ; crosshairLocation = model.getCrosshairLocation ( ) ; selectedNode = model.getSelected ( ) ; } redraw ( ) ; }

Target:
public void imageChanged ( ) { synchronized ( this ) { loadImage ( ) ; } doRedraw ( ) ; }
Source:
public com.google.common.collect.SortedMultiset < E > descendingMultiset ( ) { return forwardMultiset ( ) ; }

Target:
public java.util.Iterator < E > descendingIterator ( ) { return descendingSet ( ) . iterator ( ) ; }
Source:
private native void gattClientEnableAdvNative ( int advertiserId , int min_interval , int max_interval , int adv_type , int chnl_map , int tx_power , int timeout_s ) ;

Target:
private native void gattClientEnableAdvNative ( int advertiserId , boolean enable , int timeout_s ) ;
Source:
public static java.lang.String parseCharset ( java.util.Map < java.lang.String , java.lang.String > headers ) { return com.android.volley.toolbox.HttpHeaderParser.parseCharset ( headers , HTTP.DEFAULT_CONTENT_CHARSET ) ; }

Target:
public static java.lang.String parseCharset ( java.util.Map < java.lang.String , java.lang.String > headers ) { return com.android.volley.toolbox.HttpHeaderParser.parseCharset ( headers , com.android.volley.toolbox.HttpHeaderParser.DEFAULT_CONTENT_CHARSET ) ; }
Source:
com.android.build.gradle.internal.dsl.Collection < java.lang.String > getNoCompress ( ) { return noCompressList ; }

Target:
public java.util.Collection < java.lang.String > getNoCompress ( ) { return noCompressList ; }
Source:
private void gHASHPartial ( byte [ ] Y , byte [ ] b , int off , int len ) { org.bouncycastle.crypto.modes.GCMBlockCipher.xor ( Y , b , off , len ) ; multiplier.multiplyH ( Y ) ; }

Target:
private void gHASHPartial ( byte [ ] Y , byte [ ] b , int off , int len ) { org.bouncycastle.crypto.modes.gcm.GCMUtil.xor ( Y , b , off , len ) ; multiplier.multiplyH ( Y ) ; }
Source:
public void test_until_TemporalUnit_nullEnd ( ) { TEST_12_30_40_987654321.until ( null , java.time.temporal.ChronoUnit.HOURS ) ; }

Target:
public void test_atDate_nullDate ( ) { tck.java.time.TCKLocalTime.TEST_12_30_40_987654321.atDate ( ( ( java.time.LocalDate ) ( null ) ) ) ; }
Source:
public void CheckCastPreChecked ( java.lang.Object o ) { o.toString ( ) ; ( ( Main ) ( o ) ) . Bar ( ) ; }

Target:
public void CheckCastPreChecked ( java.lang.Object o ) { o.toString ( ) ; ( ( Main ) ( o ) ) . $noinline$Bar ( ) ; }
Source:
static com.android.builder.model.AaptOptions create ( @ com.android.annotations.NonNull com.android.builder.model.AaptOptions aaptOptions ) { return new com.android.build.gradle.internal.model.AaptOptionsImpl ( aaptOptions.getIgnoreAssets ( ) , aaptOptions.getNoCompress ( ) , aaptOptions.getFailOnMissingConfigEntry ( ) ) ; }

Target:
static com.android.builder.model.AaptOptions create ( @ com.android.annotations.NonNull com.android.builder.model.AaptOptions aaptOptions ) { return new com.android.build.gradle.internal.model.AaptOptionsImpl ( aaptOptions.getIgnoreAssets ( ) , aaptOptions.getNoCompress ( ) , aaptOptions.getFailOnMissingConfigEntry ( ) , aaptOptions.getAdditionalParameters ( ) ) ; }
Source:
void deviceConnected ( java.lang.String bdaddr , boolean absoluteVolume ) { android.util.Log.i ( com.android.bluetooth.avrcp.AvrcpTargetService.TAG , ( ( ( "deviceConnected: bdaddr=" + bdaddr ) + " absoluteVolume=" ) + absoluteVolume ) ) ; mAudioManager.avrcpSupportsAbsoluteVolume ( bdaddr , absoluteVolume ) ; }

Target:
void deviceConnected ( java.lang.String bdaddr , boolean absoluteVolume ) { android.util.Log.i ( com.android.bluetooth.avrcp.AvrcpTargetService.TAG , ( ( ( "deviceConnected: bdaddr=" + bdaddr ) + " absoluteVolume=" ) + absoluteVolume ) ) ; mAudioManager.avrcpSupportsAbsoluteVolume ( bdaddr , absoluteVolume ) ; com.android.bluetooth.btservice.MetricsLogger.logProfileConnectionEvent ( BluetoothMetricsProto.ProfileId.AVRCP ) ; }
Source:
public int last ( ) { return libcore.icu.NativeBreakIterator.lastImpl ( this . address ) ; }

Target:
public java.text.CharacterIterator getText ( ) { int newLocation = libcore.icu.NativeBreakIterator.currentImpl ( this . address , this . string ) ; this . charIterator.setIndex ( newLocation ) ; return this . charIterator ; }
Source:
public void containsClass ( java.lang.String className ) throws com.android.ide.common.process.ProcessException , java.io.IOException { java.io.File apk = getSubject ( ) ; if ( ! ( com.android.build.gradle.integration.common.utils.ApkHelper.checkForClass ( apk , className ) ) ) { failWithRawMessage ( "'%s' does not contain '%s'" , apk.getName ( ) , className ) ; } }

Target:
public void containsClass ( java.lang.String className ) throws com.android.ide.common.process.ProcessException , java.io.IOException { if ( ! ( checkForClass ( className ) ) ) { failWithRawMessage ( "'%s' does not contain '%s'" , getDisplaySubject ( ) , className ) ; } }
Source:
protected void visitAnnotation ( int typeIndex , int size ) { com.android.dx.util.Leb128Utils.writeUnsignedLeb128 ( out , adjustType ( typeIndex ) ) ; com.android.dx.util.Leb128Utils.writeUnsignedLeb128 ( out , size ) ; }

Target:
private void transformArray ( com.android.dx.io.EncodedValueReader reader ) { int size = reader.readArray ( ) ; com.android.dx.util.Leb128Utils.writeUnsignedLeb128 ( out , size ) ; for ( int i = 0 ; i < size ; i ++ ) { transform ( reader ) ; } }
Source:
public static void terminate ( ) { synchronized ( com.android.hierarchyviewerlib.device.WindowUpdater.listeningThreads ) { for ( com.android.ddmlib.IDevice device : com.android.hierarchyviewerlib.device.WindowUpdater.listeningThreads.keySet ( ) ) { com.android.hierarchyviewerlib.device.WindowUpdater.listeningThreads.get ( device ) . interrupt ( ) ; } } }

Target:
public static void terminate ( ) { synchronized ( com.android.hierarchyviewerlib.device.WindowUpdater.sListeningThreads ) { for ( com.android.ddmlib.IDevice device : com.android.hierarchyviewerlib.device.WindowUpdater.sListeningThreads.keySet ( ) ) { com.android.hierarchyviewerlib.device.WindowUpdater.sListeningThreads.get ( device ) . interrupt ( ) ; } } }
Source:
public static void i ( java.lang.Object objectPrefix , java.lang.String format , java.lang.Object ... args ) { if ( android.telecom.Log.INFO ) { android.util.Log.i ( android.telecom.Log.TAG , android.telecom.Log.buildMessage ( android.telecom.Log.getPrefixFromObject ( objectPrefix ) , format , args ) ) ; } }

Target:
public static void i ( java.lang.Object objectPrefix , java.lang.String format , java.lang.Object ... args ) { if ( android.telecom.Log.INFO ) { android.util.Slog.i ( android.telecom.Log.TAG , android.telecom.Log.buildMessage ( android.telecom.Log.getPrefixFromObject ( objectPrefix ) , format , args ) ) ; } }
Source:
public void setTarget ( android.view.inputmethod.InputConnection target ) { if ( ( ( mTarget ) != null ) && ( ! ( mMutable ) ) ) { throw new java.lang.SecurityException ( "not mutable" ) ; } mTarget = target ; }

Target:
public void setTarget ( @ android.annotation.NonNull android.view.inputmethod.InputConnection target ) { com.android.internal.util.Preconditions.checkNotNull ( target ) ; if ( ( ( mTarget ) != null ) && ( ! ( mMutable ) ) ) { throw new java.lang.SecurityException ( "not mutable" ) ; } mTarget = target ; }
Source:
public void acquired ( ) { mPolicy.enableKeyguard ( false ) ; }

Target:
public void acquired ( ) { mPolicy.enableKeyguard ( false ) ; mKeyguardDisabled = true ; }
Source:
public java.lang.reflect.Type [ ] getGenericInterfaces ( ) { org.apache.harmony.luni.lang.reflect.GenericSignatureParser parser = new org.apache.harmony.luni.lang.reflect.GenericSignatureParser ( getClassLoader ( ) ) ; parser.parseForClass ( this , getSignatureAttribute ( ) ) ; return org.apache.harmony.luni.lang.reflect.Types.getClonedTypeArray ( parser.interfaceTypes ) ; }

Target:
public java.lang.reflect.Type getGenericSuperclass ( ) { libcore.reflect.GenericSignatureParser parser = new libcore.reflect.GenericSignatureParser ( getClassLoader ( ) ) ; parser.parseForClass ( this , getSignatureAttribute ( ) ) ; return libcore.reflect.Types.getType ( parser.superclassType ) ; }
Source:
public java.lang.String getHprofConvLocation ( ) { return new java.io.File ( getSdkToolsFolder ( ) , com.android.ide.eclipse.monitor.SdkToolsLocator.FN_HPROF_CONV ) . getAbsolutePath ( ) ; }

Target:
public java.lang.String getHprofConvLocation ( ) { return new java.io.File ( getSdkPlatformToolsFolder ( ) , com.android.ide.eclipse.monitor.SdkToolsLocator.FN_HPROF_CONV ) . getAbsolutePath ( ) ; }
Source:
public void setTargetSdkVersion ( int targetSdkVersion ) { mTargetSdkVersion = targetSdkVersion ; }

Target:
public com.android.builder.ProductFlavor setTargetSdkVersion ( int targetSdkVersion ) { mTargetSdkVersion = targetSdkVersion ; return this ; }
Source:
public void onClick ( android.content.DialogInterface dialog , int which ) { dismissed = true ; dismiss ( ) ; spamNotificationActivity.maybeShowNotSpamDialog ( number , contactLookupResultType ) ; }

Target:
public void onClick ( android.content.DialogInterface dialog , int which ) { dismissed = true ; dismiss ( ) ; spamNotificationActivity.maybeShowBlockReportSpamDialog ( number , contactLookupResultType ) ; }
Source:
public void run ( @ javax.annotation.Nonnull final com.android.jack.ir.ast.cfg.JControlFlowGraph cfg ) { com.android.jack.optimizations.cfg.CfgBasicBlockUtils basicBlockUtils = new com.android.jack.optimizations.cfg.CfgBasicBlockUtils ( cfg ) ; basicBlockUtils.maximallySplitAllBasicBlocks ( ) ; mergeBlocks ( cfg ) ; basicBlockUtils.mergeSimpleBlocks ( preserveSourceInfo ) ; }

Target:
public void run ( @ javax.annotation.Nonnull final com.android.jack.ir.ast.JMethodBodyCfg cfg ) { com.android.jack.optimizations.cfg.CfgBasicBlockUtils basicBlockUtils = new com.android.jack.optimizations.cfg.CfgBasicBlockUtils ( cfg.getCfg ( ) ) ; basicBlockUtils.maximallySplitAllBasicBlocks ( ) ; mergeBlocks ( cfg.getCfg ( ) ) ; basicBlockUtils.mergeSimpleBlocks ( preserveSourceInfo ) ; }
Source:
public void setMaximumIntegerDigits ( int newValue ) { super . setMaximumIntegerDigits ( java.lang.Math.min ( newValue , android.icu.text.DecimalFormat.DOUBLE_INTEGER_DIGITS ) ) ; }

Target:
public void setMaximumIntegerDigits ( int newValue ) { super . setMaximumIntegerDigits ( java.lang.Math.min ( newValue , android.icu.text.DecimalFormat.MAX_INTEGER_DIGITS ) ) ; }
Source:
boolean isEmpty ( ) { return mEntries.isEmpty ( ) ; }

Target:
com.android.bluetooth.gatt.ScanFilterQueue.Entry pop ( ) { if ( mEntries.isEmpty ( ) ) { return null ; } java.util.Iterator < com.android.bluetooth.gatt.ScanFilterQueue.Entry > iterator = mEntries.iterator ( ) ; com.android.bluetooth.gatt.ScanFilterQueue.Entry entry = iterator.next ( ) ; iterator.remove ( ) ; return entry ; }
Source:
public void onClick ( android.content.DialogInterface dialog , int which ) { setTestResultAndFinish ( false ) ; }

Target:
public void run ( ) { android.widget.Toast.makeText ( this , R.string.usb_reconnect_timeout , Toast.LENGTH_SHORT ) . show ( ) ; com.android.cts.verifier.TestResult.setFailedResult ( this , getTestId ( ) , getTestDetails ( ) ) ; }
Source:
protected void onSetInternalDataEnabled ( boolean enable ) { onSetInternalDataEnabled ( enable , null ) ; }

Target:
protected void onSetInternalDataEnabled ( boolean enable ) { if ( DBG ) log ( ( "onSetInternalDataEnabled: enabled=" + enable ) ) ; onSetInternalDataEnabled ( enable , null ) ; }
Source:
public java.util.Map < java.lang.String , com.android.builder.model.AndroidProject > getAllModels ( ) { return getAllModels ( false ) ; }

Target:
public java.util.Map < java.lang.String , com.android.builder.model.AndroidProject > getAllModels ( ) { return getAllModels ( new com.android.build.gradle.integration.common.fixture.GetAndroidModelAction ( ) , false ) ; }
Source:
public void onReceive ( android.content.Context context , android.content.Intent intent ) { onUserRemoved ( intent ) ; }

Target:
public void binderDied ( ) { foregroundTokenDied ( this ) ; }
Source:
public void testCharsetEncoderSurrogatesBrokenByDesign_REPORT_RI ( ) throws java.lang.Exception { testCharsetEncoderSurrogatesBrokenByDesign_RI ( java.nio.charset.CodingErrorAction.REPORT ) ; }

Target:
public void testCharsetEncoderSplitSurrogates_REPORT ( ) throws java.lang.Exception { testCharsetEncoderSplitSurrogates ( java.nio.charset.CodingErrorAction.REPORT ) ; }
Source:
public void onNetwork ( ) { addViolation ( "onNetwork" ) ; }

Target:
public void onNetwork ( ) { if ( ( ( checksList ) != null ) && ( checksList.contains ( dalvik.system.BlockGuardTest.RecordingPolicy.Check.NETWORK ) ) ) { addViolation ( "onNetwork" ) ; } }
Source:
public java.lang.String toString ( ) { return ref.toString ( ) ; }

Target:
public java.lang.String toHuman ( ) { return ( ( com.android.dx.rop.cst.CstMethodHandle.getTypeName ( type ) ) + "," ) + ( ref.toString ( ) ) ; }
Source:
protected android.os.Parcelable onSaveInstanceState ( ) { android.os.Parcelable superState = super . onSaveInstanceState ( ) ; return new com.android.internal.widget.LockPatternView.SavedState ( superState , com.android.internal.widget.LockPatternUtils.patternToString ( mPattern ) , mPatternDisplayMode.ordinal ( ) , mInputEnabled , mInStealthMode ) ; }

Target:
protected android.os.Parcelable onSaveInstanceState ( ) { android.os.Parcelable superState = super . onSaveInstanceState ( ) ; return new com.android.internal.widget.LockPatternView.SavedState ( superState , com.android.internal.widget.LockPatternUtils.patternToString ( mPattern ) , mPatternDisplayMode.ordinal ( ) , mInputEnabled , mInStealthMode , mTactileFeedbackEnabled ) ; }
Source:
protected boolean isNewBuild ( ) { return ( ( mBuildType ) == null ) || ( ( mPreviousBuildType.length ( ) ) == 0 ) ; }

Target:
protected boolean isNewBuild ( ) { return ( ( mBuildType ) == null ) || ( mPreviousBuildType.isEmpty ( ) ) ; }
Source:
public void testE1 ( ) { dot.junit.opcodes.rem_int_lit8.d.T_rem_int_lit8_9 t = new dot.junit.opcodes.rem_int_lit8.d.T_rem_int_lit8_9 ( ) ; try { t.run ( 1 ) ; fail ( "expected ArithmeticException" ) ; } catch ( java.lang.ArithmeticException ae ) { } }

Target:
public void testE1 ( ) { loadAndRun ( "dot.junit.opcodes.rem_int_lit8.d.T_rem_int_lit8_9" , java.lang.ArithmeticException.class , 1 ) ; }
Source:
public com.android.dx.ssa.RegisterSpec getLocalAssignment ( ) { if ( ( ( result ) != null ) && ( ( result.getLocalItem ( ) ) != null ) ) { return result ; } return null ; }

Target:
public com.android.dx.rop.code.RegisterSpec getLocalAssignment ( ) { if ( ( ( result ) != null ) && ( ( result.getLocalItem ( ) ) != null ) ) { return result ; } return null ; }
Source:
public static com.android.jack.dx.rop.code.Rop opInvokeLambda ( com.android.jack.dx.rop.type.TypeList sources ) { return new com.android.jack.dx.rop.code.Rop ( RegOps.INVOKE_LAMBDA , sources , com.android.jack.dx.rop.type.StdTypeList.THROWABLE ) ; }

Target:
public static com.android.jack.dx.rop.code.Rop opInvokeLambda ( com.android.jack.dx.rop.type.Prototype meth ) { return new com.android.jack.dx.rop.code.Rop ( RegOps.INVOKE_LAMBDA , meth.getParameterFrameTypes ( ) , com.android.jack.dx.rop.type.StdTypeList.THROWABLE ) ; }
Source:
public void setMustTraceOverridingMethods ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethod method ) { if ( ! ( method.getEnclosingType ( ) . isExternal ( ) ) ) { super . setMustTraceOverridingMethods ( method ) ; } }

Target:
public void setMustTraceOverridingMethods ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethod method ) { if ( method.getEnclosingType ( ) . isToEmit ( ) ) { super . setMustTraceOverridingMethods ( method ) ; } }
Source:
public static void computeDegrees ( android.renderscript.cts.TestDegrees.ArgumentsFloatFloat args ) { args.ulf = 3 ; args.ulfRelaxed = 3 ; args.out = ( ( float ) ( ( ( double ) ( args.inValue ) ) * ( 180.0 / ( java.lang.StrictMath.PI ) ) ) ) ; }

Target:
public static void computeConvert ( android.renderscript.cts.TestConvert.ArgumentsShortFloat args ) { args.out = new android.renderscript.cts.Floaty ( android.renderscript.cts.CoreMathVerifier.convertShortToFloat ( args.inV ) , 0 , 0 ) ; }
Source:
private static boolean verifyWifi ( android.support.test.uiautomator.UiDevice device ) { boolean isTrue = device.wait ( android.support.test.uiautomator.Until.hasObject ( android.support.test.uiautomator.By.res ( com.android.devtools.systemimage.uitest.utils.NetworkUtil.WIFI_ICONS_RES ) ) , java.util.concurrent.TimeUnit.MILLISECONDS.convert ( 3L , java.util.concurrent.TimeUnit.SECONDS ) ) ; return isTrue ; }

Target:
private static boolean verifyMobileData ( android.support.test.uiautomator.UiDevice device ) { boolean isTrue = device.wait ( android.support.test.uiautomator.Until.hasObject ( android.support.test.uiautomator.By.res ( Res.MOBILE_TYPE_ICONS_RES ) ) , java.util.concurrent.TimeUnit.MILLISECONDS.convert ( 3L , java.util.concurrent.TimeUnit.SECONDS ) ) ; return isTrue ; }
Source:
protected boolean nestedStatementPop ( com.android.jack.ir.ast.JStatement statement ) { boolean pop = ! ( statement instanceof com.android.jack.ir.ast.JBlock ) ; if ( pop ) { indentOut ( ) ; } return pop ; }

Target:
protected void nestedStatementPush ( com.android.jack.ir.ast.JStatement statement ) { if ( ! ( statement instanceof com.android.jack.ir.ast.JBlock ) ) { indentIn ( ) ; newline ( ) ; } else { space ( ) ; } }
Source:
public java.lang.String getGroupDescription ( ) { return form.equals ( "VIRTUAL" ) ? "Android OS running on Google Compute Engine." : "An actual physical device managed by Google." ; }

Target:
public boolean isVirtual ( ) { return form.equals ( "VIRTUAL" ) ; }
Source:
public static void computeMin ( android.renderscript.cts.TestMin.ArgumentsIntIntInt args ) { args.ulf = 0 ; args.ulfRelaxed = 0 ; args.out = java.lang.StrictMath.min ( args.inV1 , args.inV2 ) ; }

Target:
public static void computeMin ( android.renderscript.cts.TestMin.ArgumentsIntIntInt args ) { args.out = android.renderscript.cts.CoreMathVerifier.minI32 ( args.inV1 , args.inV2 ) ; }
Source:
public char get ( int index ) { return byteBuffer.getChar ( ( index * ( libcore.io.SizeOf.CHAR ) ) ) ; }

Target:
public char get ( int index ) { checkIndex ( index ) ; return byteBuffer.getChar ( ( index * ( libcore.io.SizeOf.CHAR ) ) ) ; }
Source:
public void setInitialAttachApn ( java.lang.String apn , java.lang.String protocol , int authType , java.lang.String username , java.lang.String password , android.os.Message result ) { }

Target:
public void setInitialAttachApn ( com.android.internal.telephony.dataconnection.DataProfile dataProfile , boolean isRoaming , android.os.Message result ) { }
Source:
public com.android.internal.telephony.uicc.UiccSlot [ ] getUiccSlots ( ) { synchronized ( com.android.internal.telephony.uicc.UiccController.mLock ) { return mUiccSlots.clone ( ) ; } }

Target:
public com.android.internal.telephony.uicc.UiccCard getUiccCardForPhone ( int phoneId ) { synchronized ( com.android.internal.telephony.uicc.UiccController.mLock ) { com.android.internal.telephony.uicc.UiccSlot uiccSlot = getUiccSlotForPhone ( phoneId ) ; if ( uiccSlot != null ) { return uiccSlot.getUiccCard ( ) ; } return null ; } }
Source:
public void shutdown ( boolean confirm , boolean wait ) { }

Target:
public void shutdown ( boolean confirm , java.lang.String reason , boolean wait ) { }
Source:
protected void addRevocablePermissions ( @ com.android.annotations.NonNull java.util.Set < java.lang.String > result ) { for ( com.android.tools.lint.checks.PermissionRequirement requirement : permissions ) { requirement.addRevocablePermissions ( result ) ; } }

Target:
protected void addRevocablePermissions ( @ com.android.annotations.NonNull java.util.Set < java.lang.String > result , @ com.android.annotations.NonNull com.android.tools.lint.checks.PermissionHolder revocable ) { for ( com.android.tools.lint.checks.PermissionRequirement requirement : permissions ) { requirement.addRevocablePermissions ( result , revocable ) ; } }
Source:
public void testDoesNothingBeforeStarted ( ) { com.android.server.connectivity.tethering.UpstreamNetworkMonitor unm = new com.android.server.connectivity.tethering.UpstreamNetworkMonitor ( null , null , com.android.server.connectivity.tethering.UpstreamNetworkMonitorTest.EVENT_UNM_UPDATE ) ; org.junit.Assert.assertFalse ( unm.mobileNetworkRequested ( ) ) ; unm.mobileUpstreamRequiresDun ( true ) ; unm.mobileUpstreamRequiresDun ( false ) ; }

Target:
public void testDoesNothingBeforeStarted ( ) { com.android.server.connectivity.tethering.UpstreamNetworkMonitor unm = new com.android.server.connectivity.tethering.UpstreamNetworkMonitor ( null , null , com.android.server.connectivity.tethering.UpstreamNetworkMonitorTest.EVENT_UNM_UPDATE ) ; org.junit.Assert.assertFalse ( unm.mobileNetworkRequested ( ) ) ; unm.updateMobileRequiresDun ( true ) ; unm.updateMobileRequiresDun ( false ) ; }
Source:
public void btnSelIntrinsic ( android.view.View v ) { checkGroup ( 2 ) ; }

Target:
public void btnSelIntrinsic ( android.view.View v ) { checkGroup ( IPTestList.INTRINSIC ) ; }
Source:
private final java.lang.String tenthsToFixedString ( int x ) { int tens = x / 10 ; return ( ( java.lang.Integer.toString ( tens ) ) + "." ) + ( x - ( 10 * tens ) ) ; }

Target:
private final java.lang.String tenthsToFixedString ( int x ) { int tens = x / 10 ; return ( ( java.lang.Integer.toString ( tens ) ) + "." ) + ( java.lang.Math.abs ( ( x - ( 10 * tens ) ) ) ) ; }
Source:
public int hashCode ( ) { return ( inputSet.hashCode ( ) ) << ( ( inputSet.size ( ) ) - 1 ) ; }

Target:
public int hashCode ( ) { return ( inputSet.keySet ( ) . hashCode ( ) ) << ( ( inputSet.size ( ) ) - 1 ) ; }
Source:
public void startLceServiceResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , android.hardware.radio.V1_0.LceStatusInfo var2 ) { }

Target:
public void getPreferredVoicePrivacyResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , boolean enable ) { responseInts ( responseInfo , ( enable ? 1 : 0 ) ) ; }
Source:
public boolean containsKey ( java.lang.Object key ) { return multimap ( ) . containsKey ( key ) ; }

Target:
public java.util.Collection < V > get ( java.lang.Object key ) { return containsKey ( key ) ? multimap.get ( ( ( K ) ( key ) ) ) : null ; }
Source:
public void testBuildTime ( ) { com.android.tv.dvr.ScheduledRecording actual = com.android.tv.testing.dvr.RecordingTestUtils.createTestRecordingWithIdAndPeriod ( 1 , com.android.tv.dvr.ScheduledRecordingTest.INPUT_ID , com.android.tv.dvr.ScheduledRecordingTest.CHANNEL_ID , 10L , 20L ) ; assertEquals ( "type" , ScheduledRecording.TYPE_TIMED , actual.getType ( ) ) ; }

Target:
public void testBuildTime ( ) { com.android.tv.dvr.data.ScheduledRecording actual = com.android.tv.testing.dvr.RecordingTestUtils.createTestRecordingWithIdAndPeriod ( 1 , com.android.tv.dvr.ScheduledRecordingTest.INPUT_ID , com.android.tv.dvr.ScheduledRecordingTest.CHANNEL_ID , 10L , 20L ) ; assertEquals ( "type" , ScheduledRecording.TYPE_TIMED , actual.getType ( ) ) ; }
Source:
protected void rebootAndWaitUntilReady ( ) throws com.android.tradefed.device.DeviceNotAvailableException { getDevice ( ) . executeShellCommand ( "reboot" ) ; assertTrue ( "Device failed to boot" , getDevice ( ) . waitForBootComplete ( 60000 ) ) ; }

Target:
protected void rebootAndWaitUntilReady ( ) throws com.android.tradefed.device.DeviceNotAvailableException { getDevice ( ) . executeShellCommand ( "reboot" ) ; assertTrue ( "Device failed to boot" , getDevice ( ) . waitForBootComplete ( 120000 ) ) ; }
Source:
public java.lang.String getStringValue ( ) { if ( ( mValue ) != null ) { return mValue.getDisplayValue ( ) ; } return "" ; }

Target:
public int hashCode ( ) { if ( ( mValue ) != null ) { return mValue.hashCode ( ) ; } return 0 ; }
Source:
native void rsnAllocationData2D ( int con , int id , int xoff , int yoff , int mip , int face , int w , int h , byte [ ] d , int sizeBytes ) ;

Target:
native void rsnAllocationElementData1D ( long con , long id , int xoff , int mip , int compIdx , byte [ ] d , int sizeBytes ) ;
Source:
synchronized void nScriptSetVarJ ( int id , int slot , long val ) { validate ( ) ; rsnScriptSetVarJ ( mContext , id , slot , val ) ; }

Target:
native void rsnScriptSetVarV ( long con , long id , int slot , byte [ ] val ) ;
Source:
native void rsnScriptForEach ( long con , long id , int slot , long ain , long aout ) ;

Target:
native void rsnScriptSetVarD ( long con , long id , int slot , double val , boolean mUseInc ) ;
Source:
private void readFromParcel ( android.os.Parcel in ) { mServiceType = in.readInt ( ) ; mCallType = in.readInt ( ) ; mCallExtras = in.readParcelable ( null ) ; mMediaProfile = in.readParcelable ( null ) ; }

Target:
private void readFromParcel ( android.os.Parcel in ) { mServiceType = in.readInt ( ) ; mCallType = in.readInt ( ) ; mCallExtras = in.readBundle ( ) ; mMediaProfile = in.readParcelable ( null ) ; }
Source:
public void setAbortEventually ( boolean value ) { mustAbortEventually = value ; }

Target:
public void abortEventually ( ) { mustAbortEventually = true ; }
Source:
synchronized boolean unplug ( ) { if ( com.android.bluetooth.hid.HidDevService.DBG ) android.util.Log.v ( com.android.bluetooth.hid.HidDevService.TAG , "unplug()" ) ; return unplugNative ( ) ; }

Target:
synchronized boolean unplug ( android.bluetooth.BluetoothDevice device ) { if ( com.android.bluetooth.hid.HidDevService.DBG ) android.util.Log.v ( com.android.bluetooth.hid.HidDevService.TAG , ( "unplug(): device=" + device ) ) ; if ( ! ( checkDevice ( device ) ) ) { return false ; } return unplugNative ( ) ; }
Source:
public void test_minusWeeks_negativeOverYears ( ) { java.time.LocalDate t = TEST_2007_07_15.minusWeeks ( ( - 104 ) ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2009 , 7 , 12 ) ) ; }

Target:
public void test_minusWeeks_negativeOverYears ( ) { java.time.LocalDate t = tck.java.time.TCKLocalDate.TEST_2007_07_15.minusWeeks ( ( - 104 ) ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2009 , 7 , 12 ) ) ; }
Source:
com.android.bluetooth.gatt.ScanClient getClient ( int clientIf ) { for ( com.android.bluetooth.gatt.ScanClient client : mRegularScanClients ) { if ( ( client.clientIf ) == clientIf ) return client ; } return null ; }

Target:
com.android.bluetooth.gatt.ScanClient getRegularScanClient ( int clientIf ) { for ( com.android.bluetooth.gatt.ScanClient client : mRegularScanClients ) { if ( ( client.clientIf ) == clientIf ) return client ; } return null ; }
Source:
public void testConstructor_NullEndDate_Failure ( ) throws java.lang.Exception { try { new android.security.KeyPairGeneratorSpec ( getContext ( ) , android.security.KeyPairGeneratorSpecTest.TEST_ALIAS_1 , "RSA" , 1024 , null , android.security.KeyPairGeneratorSpecTest.TEST_DN_1 , android.security.KeyPairGeneratorSpecTest.SERIAL_1 , android.security.KeyPairGeneratorSpecTest.NOW , null , 0 ) ; fail ( "Should throw IllegalArgumentException when keystoreAlias is null" ) ; } catch ( java.lang.IllegalArgumentException success ) { } }

Target:
public void testConstructor_NullStartDate_Success ( ) throws java.lang.Exception { android.security.KeyPairGeneratorSpec spec = new android.security.KeyPairGeneratorSpec ( getContext ( ) , android.security.KeyPairGeneratorSpecTest.TEST_ALIAS_1 , "RSA" , 1024 , null , android.security.KeyPairGeneratorSpecTest.TEST_DN_1 , android.security.KeyPairGeneratorSpecTest.SERIAL_1 , null , android.security.KeyPairGeneratorSpecTest.NOW_PLUS_10_YEARS , 0 ) ; assertEquals ( android.security.KeyPairGeneratorSpecTest.DEFAULT_CERT_NOT_BEFORE , spec.getStartDate ( ) ) ; }
Source:
private void free ( ) { if ( ( sslNativePointer ) == 0 ) { return ; } org.conscrypt.NativeCrypto.SSL_free ( sslNativePointer ) ; sslNativePointer = 0 ; }

Target:
private void free ( ) { if ( ( sslNativePointer ) == 0 ) { return ; } org.conscrypt.NativeCrypto.SSL_free ( sslNativePointer ) ; org.conscrypt.NativeCrypto.BIO_free_all ( networkBio ) ; sslNativePointer = 0 ; networkBio = 0 ; }
Source:
public int getDefaultSim ( ) { return 0 ; }

Target:
public boolean isResolvingImsBinding ( ) { enforceModifyPermission ( ) ; return com.android.internal.telephony.PhoneFactory.getImsResolver ( ) . isResolvingBinding ( ) ; }
Source:
public static native java.lang.String toLowerCase ( java.lang.String s , java.lang.String localeName ) ;

Target:
public static java.lang.String getDisplayCountry ( java.util.Locale targetLocale , java.util.Locale locale ) { return libcore.icu.ICU.getDisplayCountryNative ( targetLocale.toLanguageTag ( ) , locale.toLanguageTag ( ) ) ; }
Source:
private static native java.lang.String getBootClassPathResource ( java.lang.String name , int index ) ;

Target:
private static native java.lang.String [ ] getBootClassPathEntries ( ) ;