auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void testConstructor_NullSerial_Failure ( ) throws java.lang.Exception { try { new android.security.KeyPairGeneratorSpec ( getContext ( ) , android.security.KeyPairGeneratorSpecTest.TEST_ALIAS_1 , android.security.KeyPairGeneratorSpecTest.TEST_DN_1 , null , android.security.KeyPairGeneratorSpecTest.NOW , android.security.KeyPairGeneratorSpecTest.NOW_PLUS_10_YEARS , 0 ) ; fail ( "Should throw IllegalArgumentException when startDate is null" ) ; } catch ( java.lang.IllegalArgumentException success ) { } }

Target:
public void testConstructor_NullSubjectDN_Failure ( ) throws java.lang.Exception { try { new android.security.KeyPairGeneratorSpec ( getContext ( ) , android.security.KeyPairGeneratorSpecTest.TEST_ALIAS_1 , "RSA" , 1024 , null , null , android.security.KeyPairGeneratorSpecTest.SERIAL_1 , android.security.KeyPairGeneratorSpecTest.NOW , android.security.KeyPairGeneratorSpecTest.NOW_PLUS_10_YEARS , 0 ) ; fail ( "Should throw IllegalArgumentException when subjectDN is null" ) ; } catch ( java.lang.IllegalArgumentException success ) { } }
Source:
public void run ( ) { onFocusChanged ( focused , direction , previouslyFocusedRect ) ; }

Target:
public void run ( ) { onSizeChanged ( w , h , ow , oh ) ; }
Source:
public static void setSyncAutomatically ( android.accounts.Account account , java.lang.String authority , boolean sync ) { try { android.content.ContentResolver.getContentService ( ) . setSyncAutomatically ( account , authority , sync ) ; } catch ( android.os.RemoteException e ) { } }

Target:
public static void requestSync ( android.accounts.Account account , java.lang.String authority , android.os.Bundle extras ) { android.content.ContentResolver.requestSyncAsUser ( account , authority , android.os.UserHandle.myUserId ( ) , extras ) ; }
Source:
public void onConnectSuccess ( int clientId ) { if ( android.net.wifi.nan.WifiNanManager.VDBG ) android.util.Log.v ( android.net.wifi.nan.WifiNanManager.TAG , "onConnectSuccess" ) ; android.os.Message msg = mHandler.obtainMessage ( android.net.wifi.nan.WifiNanManager.WifiNanEventCallbackProxy.CALLBACK_CONNECT_SUCCESS ) ; msg.arg1 = clientId ; mHandler.sendMessage ( msg ) ; }

Target:
public void onConnectSuccess ( int clientId ) { if ( android.net.wifi.aware.WifiAwareManager.VDBG ) android.util.Log.v ( android.net.wifi.aware.WifiAwareManager.TAG , "onConnectSuccess" ) ; android.os.Message msg = mHandler.obtainMessage ( android.net.wifi.aware.WifiAwareManager.WifiAwareEventCallbackProxy.CALLBACK_CONNECT_SUCCESS ) ; msg.arg1 = clientId ; mHandler.sendMessage ( msg ) ; }
Source:
public void wifiConnectByConfig ( @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "config" ) org.json.JSONObject config ) throws org.json.JSONException { android.net.wifi.WifiConfiguration wifiConfig = genWifiConfig ( config ) ; com.googlecode.android_scripting.facade.wifi.WifiManagerFacade.WifiActionListener listener = new com.googlecode.android_scripting.facade.wifi.WifiManagerFacade.WifiActionListener ( mEventFacade , com.googlecode.android_scripting.facade.wifi.WifiConstants.WIFI_CONNECT_BY_CONFIG_CALLBACK ) ; mWifi.connect ( wifiConfig , listener ) ; }

Target:
public java.lang.Boolean wifiConnect ( @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "config" ) org.json.JSONObject config ) throws org.json.JSONException { try { wifiConnectByConfig ( config ) ; } catch ( java.security.GeneralSecurityException e ) { java.lang.String msg = "Caught GeneralSecurityException with the provided" + "configuration" ; throw new java.lang.RuntimeException ( msg ) ; } return true ; }
Source:
private native void gattServerAddServiceNative ( int server_if , java.util.List < com.android.bluetooth.gatt.GattDbElement > service ) ;

Target:
private native void gattServerAddServiceNative ( int serverIf , java.util.List < com.android.bluetooth.gatt.GattDbElement > service ) ;
Source:
public void testCompareNull ( ) throws java.lang.Exception { try { new java.text.RuleBasedCollator ( "< a" ) . compare ( null , null ) ; fail ( ) ; } catch ( java.lang.NullPointerException expected ) { } }

Target:
public void testCompareNull ( ) throws java.lang.Exception { try { new java.text.RuleBasedCollator ( "&9 < a" ) . compare ( null , null ) ; fail ( ) ; } catch ( java.lang.NullPointerException expected ) { } }
Source:
private static Notification.Builder createNotificationBuilder ( @ android.support.annotation.NonNull android.content.Context context ) { return new android.app.Notification.Builder ( context ) . setSmallIcon ( android.R.drawable.stat_notify_voicemail ) . setColor ( context.getColor ( R.color.dialer_theme_color ) ) . setGroup ( com.android.dialer.app.calllog.VisualVoicemailNotifier.GROUP_KEY ) . setOnlyAlertOnce ( true ) . setAutoCancel ( true ) ; }

Target:
private static NotificationCompat.Builder createNotificationBuilder ( @ android.support.annotation.NonNull android.content.Context context ) { return new android.support.v4.app.NotificationCompat.Builder ( context ) . setSmallIcon ( android.R.drawable.stat_notify_voicemail ) . setColor ( context.getColor ( R.color.dialer_theme_color ) ) . setGroup ( com.android.dialer.app.calllog.VisualVoicemailNotifier.GROUP_KEY ) . setOnlyAlertOnce ( true ) . setAutoCancel ( true ) ; }
Source:
public void testVP8EncodeDecodeVideoFromBufferToSurfaceQVGA ( ) throws java.lang.Throwable { setParameters ( 320 , 240 , 2000000 , android.media.cts.EncodeDecodeTest.MIME_TYPE_VP8 ) ; android.media.cts.EncodeDecodeTest.BufferToSurfaceWrapper.runTest ( this ) ; }

Target:
public void testVP8EncodeDecodeVideoFromBufferToBufferQVGA ( ) throws java.lang.Exception { setParameters ( 320 , 240 , 2000000 , android.media.cts.EncodeDecodeTest.MIME_TYPE_VP8 , true , false ) ; encodeDecodeVideoFromBuffer ( false ) ; }
Source:
public void reset ( ) { com.android.dialer.common.LogUtil.i ( "NewVoicemailMediaPlayer.reset" , ( "the uri for this is " + ( voicemailUri ) ) ) ; voicemailUri = null ; }

Target:
public void reset ( ) { com.android.dialer.common.LogUtil.i ( "NewVoicemailMediaPlayer.reset" , ( "the uri for this is " + ( voicemailUri ) ) ) ; voicemailUri = null ; voicemailLoadingStatusView.setVisibility ( com.android.dialer.voicemail.listui.GONE ) ; }
Source:
native void rsnAllocationData2D ( long con , long id , int xoff , int yoff , int mip , int face , int w , int h , long [ ] d , int sizeBytes ) ;

Target:
native void rsnAllocationRead ( long con , long id , java.lang.Object d , int dt , int mSize , boolean usePadding ) ;
Source:
public void acquired ( ) { mPolicy.enableKeyguard ( false ) ; mKeyguardDisabled = true ; }

Target:
public void acquired ( ) { if ( shouldAllowDisableKeyguard ( ) ) { mPolicy.enableKeyguard ( false ) ; mKeyguardDisabled = true ; } else { android.util.Log.v ( com.android.server.WindowManagerService.TAG , "Not disabling keyguard since device policy is enforced" ) ; } }
Source:
public void testInnerClass2 ( ) throws java.lang.Exception { assertEquals ( ( "AndroidManifest.xml:14: Error: Class referenced in the manifest, test.pkg.Foo.Bar, was not found in the project or the libraries [MissingRegistered]\n" + ( ( " <activity\n" + " ^\n" ) + "1 errors, 0 warnings\n" ) ) , lintProject ( "registration/AndroidManifestInner.xml=>AndroidManifest.xml" , "bytecode/.classpath=>.classpath" , "registration/Bar.java.txt=>src/test/pkg/Foo/Bar.java" ) ) ; }

Target:
public void testWrongSeparator1 ( ) throws java.lang.Exception { mScopes = null ; assertEquals ( ( "AndroidManifest.xml:14: Error: Class referenced in the manifest, test.pkg.Foo.Bar, was not found in the project or the libraries [MissingRegistered]\n" + ( ( " <activity\n" + " ^\n" ) + "1 errors, 0 warnings\n" ) ) , lintProject ( "registration/AndroidManifestWrong.xml=>AndroidManifest.xml" , "bytecode/.classpath=>.classpath" , "apicheck/ApiCallTest.class.data=>bin/classes/foo/bar/ApiCallTest.class" , "registration/Bar.java.txt=>src/test/pkg/Foo/Bar.java" ) ) ; }
Source:
public static final java.lang.String getDefaultType ( ) { java.lang.String defaultType = java.security.Security.getProperty ( java.security.cert.CertPathValidator.PROPERTYNAME ) ; return defaultType != null ? defaultType : java.security.cert.CertPathValidator.DEFAULTPROPERTY ; }

Target:
public static final java.lang.String getDefaultType ( ) { java.lang.String defaultType = java.security.Security.getProperty ( java.security.cert.CertPathValidator.PROPERTY_NAME ) ; return defaultType != null ? defaultType : java.security.cert.CertPathValidator.DEFAULT_PROPERTY ; }
Source:
public void mark ( int readLimit ) throws java.io.IOException { if ( readLimit < 0 ) { throw new java.lang.IllegalArgumentException ( ) ; } synchronized ( lock ) { checkNotClosed ( ) ; markpos = pos ; } }

Target:
public void mark ( int readLimit ) throws java.io.IOException { if ( readLimit < 0 ) { throw new java.lang.IllegalArgumentException ( ( "readLimit < 0: " + readLimit ) ) ; } synchronized ( lock ) { checkNotClosed ( ) ; markpos = pos ; } }
Source:
void init ( org.bouncycastle.crypto.tls.TlsContext context ) { this . context = context ; this . handshakeHash = new org.bouncycastle.crypto.tls.DeferredHash ( ) ; this . handshakeHash.init ( context ) ; }

Target:
void init ( org.bouncycastle.crypto.tls.TlsContext context ) { this . readCipher = new org.bouncycastle.crypto.tls.TlsNullCipher ( context ) ; this . writeCipher = this . readCipher ; this . handshakeHash = new org.bouncycastle.crypto.tls.DeferredHash ( ) ; this . handshakeHash.init ( context ) ; setPlaintextLimit ( org.bouncycastle.crypto.tls.RecordStream.DEFAULT_PLAINTEXT_LIMIT ) ; }
Source:
com.android.internal.telephony.gsm.stk.CommandDetails getCmdDetails ( ) { return cmdDet ; }

Target:
com.android.internal.telephony.cat.CommandDetails getCmdDetails ( ) { return cmdDet ; }
Source:
public int classCount ( ) { int count = 0 ; nextFluff ( ) ; while ( hasMoreClassNames ( ) ) { count ++ ; nextClassName ( ) ; nextFluff ( ) ; } index = 0 ; return count ; }

Target:
public int classCount ( ) { int count = 0 ; reset ( ) ; nextFluff ( ) ; while ( hasMoreClassNames ( ) ) { count ++ ; nextClassName ( ) ; nextFluff ( ) ; } reset ( ) ; return count ; }
Source:
public android.content.Intent getIntent ( android.content.Context context ) { return com.android.dialer.lightbringer.LightbringerComponent.get ( context ) . getLightbringer ( ) . getIntent ( context , number ) ; }

Target:
public android.content.Intent getIntent ( android.content.Context context ) { return com.android.dialer.duo.DuoComponent.get ( context ) . getDuo ( ) . getIntent ( context , number ) ; }
Source:
public boolean connectAudio ( android.bluetooth.BluetoothDevice device ) { android.util.Log.e ( com.android.bluetooth.hfpclient.HeadsetClientService.TAG , "connectAudio API not supported" ) ; return false ; }

Target:
public boolean connectAudio ( android.bluetooth.BluetoothDevice device ) { com.android.bluetooth.hfpclient.HeadsetClientService service = getService ( ) ; if ( service == null ) { return false ; } return service.connectAudio ( device ) ; }
Source:
protected void addOrphanDexFiles ( @ javax.annotation.Nonnull java.util.Set < com.android.jack.backend.dex.DexWritingTool.MatchableInputVFile > mainDexToMerge ) { addOrphanDexFiles ( mainDexToMerge , java.util.Collections.< com.android.jack.backend.dex.DexWritingTool.MatchableInputVFile > emptySet ( ) ) ; }

Target:
static void addOrphanDexFiles ( @ javax.annotation.CheckForNull com.android.jack.library.OutputJackLibrary outputLibrary , @ javax.annotation.Nonnull java.util.Set < com.android.jack.backend.dex.DexWritingTool.MatchableInputVFile > mainDexToMerge ) { com.android.jack.backend.dex.DexWritingTool.addOrphanDexFiles ( outputLibrary , mainDexToMerge , java.util.Collections.< com.android.jack.backend.dex.DexWritingTool.MatchableInputVFile > emptySet ( ) ) ; }
Source:
public org.w3c.dom.Document parse ( @ com.android.annotations.NonNull java.lang.String xml ) throws java.io.IOException , javax.xml.parsers.ParserConfigurationException , org.xml.sax.SAXException { xml = com.android.utils.XmlUtils.stripBom ( xml ) ; return parse ( xml , new org.xml.sax.InputSource ( new java.io.StringReader ( xml ) ) , true ) ; }

Target:
public static org.w3c.dom.Document parse ( @ com.android.annotations.NonNull java.lang.String xml ) throws java.io.IOException , javax.xml.parsers.ParserConfigurationException , org.xml.sax.SAXException { xml = com.android.utils.XmlUtils.stripBom ( xml ) ; return com.android.utils.PositionXmlParser.parse ( xml , new org.xml.sax.InputSource ( new java.io.StringReader ( xml ) ) , true ) ; }
Source:
public void breakpointFloat ( float param ) { logWriter.println ( ( ( "breakpointFloat(param=" + param ) + ")" ) ) ; }

Target:
public void breakpointFloat ( float param ) { logWriter.println ( ( ( "breakpointFloat(param=" + param ) + ")" ) ) ; synchronizeWithTest ( ) ; }
Source:
public static final com.ibm.icu.util.ULocale [ ] getAvailableULocales ( ) { return com.ibm.icu.impl.ICUResourceBundle.getAvailableULocales ( com.ibm.icu.impl.ICUResourceBundle.ICU_BASE_NAME , com.ibm.icu.impl.ICUResourceBundle.ICU_DATA_CLASS_LOADER ) ; }

Target:
public static final com.ibm.icu.util.ULocale [ ] getAvailableULocales ( ) { return com.ibm.icu.impl.ICUResourceBundle.getAvailableULocales ( ICUData.ICU_BASE_NAME , com.ibm.icu.impl.ICUResourceBundle.ICU_DATA_CLASS_LOADER ) ; }
Source:
public void start ( com.android.monkeyrunner.adb.LinearInterpolator.Point input ) { points.add ( input ) ; }

Target:
public void start ( com.android.chimpchat.adb.LinearInterpolator.Point input ) { points.add ( input ) ; }
Source:
public void onPreferencesMenuSelected ( ) { org.eclipse.jface.dialogs.MessageDialog.openInformation ( mShell , "test" , "on prefs" ) ; }

Target:
public void onPreferencesMenuSelected ( ) { showRegisteredPage ( Purpose.SETTINGS ) ; }
Source:
protected void finalize ( ) throws java.lang.Exception { synchronized ( Main.nativeLock ) { Main.nativeBytes -= bytes ; } Main.register_native_free.invoke ( Main.runtime , bytes ) ; }

Target:
protected void finalize ( ) throws java.lang.Exception { synchronized ( Main.nativeLock ) { Main.nativeBytes -= bytes ; } Main.register_native_free.invoke ( Main.runtime , bytes ) ; Main.aboutToDeadlockLock = true ; synchronized ( Main.deadlockLock ) { } }
Source:
public void test_plusDays_overLeapYears ( ) { java.time.LocalDate t = TEST_2007_07_15.plusYears ( ( - 1 ) ) . plusDays ( ( 365 + 366 ) ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2008 , 7 , 15 ) ) ; }

Target:
public void test_plusDays_negative ( ) { java.time.LocalDate t = tck.java.time.TCKLocalDate.TEST_2007_07_15.plusDays ( ( - 1 ) ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2007 , 7 , 14 ) ) ; }
Source:
public static byte longAnd0xffToByte ( long value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( byte ) ( value & 255 ) ) ; }

Target:
public static byte $noinline$longAnd0xffToByte ( long value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( byte ) ( value & 255 ) ) ; }
Source:
public void onVirtualCableUnplug ( ) { android.util.Log.d ( android.bluetooth.BluetoothHidDeviceCallback.TAG , "onVirtualCableUnplug" ) ; }

Target:
public void onVirtualCableUnplug ( android.bluetooth.BluetoothDevice device ) { android.util.Log.d ( android.bluetooth.BluetoothHidDeviceCallback.TAG , ( "onVirtualCableUnplug: device=" + device ) ) ; }
Source:
static float $opt$LongToFloat ( long a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( float ) ( a ) ) ; }

Target:
static float $opt$noinline$LongToFloat ( long a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( float ) ( a ) ) ; }
Source:
public void run ( ) { counter.incrementAndGet ( ) ; if ( willThrow ) { throw new java.lang.IllegalStateException ( "TimerTask runtime exception from run()" ) ; } }

Target:
public void run ( ) { counter.addAndGet ( incrementAmount ) ; if ( willThrow ) { throw new java.lang.IllegalStateException ( "TimerTask runtime exception from run()" ) ; } }
Source:
public void setNetworkSelectionModeAutomatic ( int subId ) { enforceModifyPermissionOrCarrierPrivilege ( subId ) ; if ( com.android.phone.PhoneInterfaceManager.DBG ) com.android.phone.PhoneInterfaceManager.log ( ( "setNetworkSelectionModeAutomatic: subId " + subId ) ) ; sendRequest ( com.android.phone.PhoneInterfaceManager.CMD_SET_NETWORK_SELECTION_MODE_AUTOMATIC , null , subId ) ; }

Target:
public void setNetworkSelectionModeAutomatic ( int subId ) { com.android.internal.telephony.TelephonyPermissions.enforceCallingOrSelfModifyPermissionOrCarrierPrivilege ( mApp , subId , "setNetworkSelectionModeAutomatic" ) ; if ( com.android.phone.PhoneInterfaceManager.DBG ) com.android.phone.PhoneInterfaceManager.log ( ( "setNetworkSelectionModeAutomatic: subId " + subId ) ) ; sendRequest ( com.android.phone.PhoneInterfaceManager.CMD_SET_NETWORK_SELECTION_MODE_AUTOMATIC , null , subId ) ; }
Source:
public boolean removeKeyPair ( @ android.annotation.Nullable android.content.ComponentName admin , @ android.annotation.NonNull java.lang.String alias ) { throwIfParentInstance ( "removeKeyPair" ) ; try { return mService.removeKeyPair ( admin , alias ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }

Target:
public boolean removeKeyPair ( @ android.annotation.Nullable android.content.ComponentName admin , @ android.annotation.NonNull java.lang.String alias ) { throwIfParentInstance ( "removeKeyPair" ) ; try { return mService.removeKeyPair ( admin , mContext.getPackageName ( ) , alias ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }
Source:
static com.google.common.collect.ImmutableMap < java.lang.reflect.TypeVariable < ? > , java.lang.reflect.Type > getTypeMappings ( java.lang.reflect.Type contextType ) { com.google.common.reflect.TypeResolver.TypeMappingIntrospector introspector = new com.google.common.reflect.TypeResolver.TypeMappingIntrospector ( ) ; introspector.introspect ( com.google.common.reflect.TypeResolver.TypeMappingIntrospector.wildcardCapturer.capture ( contextType ) ) ; return com.google.common.collect.ImmutableMap.copyOf ( introspector.mappings ) ; }

Target:
static com.google.common.collect.ImmutableMap < com.google.common.reflect.TypeResolver.TypeVariableKey , java.lang.reflect.Type > getTypeMappings ( java.lang.reflect.Type contextType ) { com.google.common.reflect.TypeResolver.TypeMappingIntrospector introspector = new com.google.common.reflect.TypeResolver.TypeMappingIntrospector ( ) ; introspector.visit ( com.google.common.reflect.TypeResolver.TypeMappingIntrospector.wildcardCapturer.capture ( contextType ) ) ; return com.google.common.collect.ImmutableMap.copyOf ( introspector.mappings ) ; }
Source:
HEAD ( ) { android.appsecurity.cts.b8aeb Merge ; android.appsecurity.cts.b8aeb Add ; }

Target:
public void run ( ) { synchronized ( threadLock ) { android.appsecurity.cts.AppSecurityTests.AdbOutputReader.readLines ( in , lines ) ; threadLock.notify ( ) ; } }
Source:
public void testExtractDecodeEditEncodeMuxAudioVideo ( ) throws java.lang.Throwable { setSize ( 1280 , 720 ) ; setSource ( R.raw.video_480x360_mp4_h264_500kbps_30fps_aac_stereo_128kbps_44100hz ) ; setCopyAudio ( ) ; setCopyVideo ( ) ; setVerifyAudioFormat ( ) ; android.media.cts.ExtractDecodeEditEncodeMuxTest.TestWrapper.runTest ( this ) ; }

Target:
public void testExtractDecodeEditEncodeMuxAudio ( ) throws java.lang.Throwable { if ( ! ( setSize ( 1280 , 720 ) ) ) return ; setSource ( R.raw.video_480x360_mp4_h264_500kbps_30fps_aac_stereo_128kbps_44100hz ) ; setCopyAudio ( ) ; setVerifyAudioFormat ( ) ; android.media.cts.ExtractDecodeEditEncodeMuxTest.TestWrapper.runTest ( this ) ; }
Source:
synchronized void enqueue ( java.lang.ref.Reference < ? extends T > reference ) { if ( ( head ) == null ) { reference.queueNext = reference ; } else { reference.queueNext = head ; } head = reference ; notify ( ) ; }

Target:
synchronized void enqueue ( java.lang.ref.Reference < ? extends T > reference ) { if ( ( tail ) == null ) { head = reference ; } else { tail.queueNext = reference ; } tail = reference ; tail.queueNext = reference ; notify ( ) ; }
Source:
private static void log ( java.lang.String msg ) { android.util.Log.d ( android.bluetooth.BluetoothPbap.TAG , msg ) ; }

Target:
private static void log ( java.lang.String msg ) { if ( android.bluetooth.BluetoothPbap.DBG ) { android.util.Log.d ( android.bluetooth.BluetoothPbap.TAG , msg ) ; } }
Source:
public static com.android.server.FgThread get ( ) { synchronized ( com.android.server.UiThread.class ) { com.android.server.FgThread.ensureThreadLocked ( ) ; return com.android.server.FgThread.sInstance ; } }

Target:
public static com.android.server.FgThread get ( ) { synchronized ( com.android.server.FgThread.class ) { com.android.server.FgThread.ensureThreadLocked ( ) ; return com.android.server.FgThread.sInstance ; } }
Source:
public static void parseToExistingProperties ( java.lang.String pattern , com.ibm.icu.impl.number.Properties properties ) { com.ibm.icu.impl.number.PatternString.parseToExistingProperties ( pattern , properties , false ) ; }

Target:
public static void parseToExistingProperties ( java.lang.String pattern , com.ibm.icu.impl.number.Properties properties ) { com.ibm.icu.impl.number.PatternString.parseToExistingProperties ( pattern , properties , com.ibm.icu.impl.number.PatternString.IGNORE_ROUNDING_NEVER ) ; }
Source:
public void test_oneDex_init ( ) throws java.lang.Exception { dalvik.system.DexClassLoaderTest.test_init ( dalvik.system.DexClassLoaderTest.Configuration.ONE_DEX ) ; }

Target:
public void test_oneDex_init ( ) throws java.lang.Exception { dalvik.system.DexClassLoaderTest.test_init ( dalvik.system.DexClassLoaderTest.Configuration.ONE_DEX_INIT ) ; }
Source:
public int previous ( ) { return libcore.icu.NativeBreakIterator.previousImpl ( this . address ) ; }

Target:
public int next ( int n ) { return libcore.icu.NativeBreakIterator.nextImpl ( this . address , this . string , n ) ; }
Source:
public void testTlvItInvalidSizeT1L0 ( ) { final byte [ ] dummy = new byte [ ] { 0 , 1 , 2 } ; final int dummyLength = 3 ; android.net.wifi.nan.TlvBufferUtils.TlvIterable tlvIt10 = new android.net.wifi.nan.TlvBufferUtils.TlvIterable ( 1 , 0 , dummy ) ; }

Target:
public void testTlvItInvalidSizeT1L0 ( ) { final byte [ ] dummy = new byte [ ] { 0 , 1 , 2 } ; final int dummyLength = 3 ; android.net.wifi.aware.TlvBufferUtils.TlvIterable tlvIt10 = new android.net.wifi.aware.TlvBufferUtils.TlvIterable ( 1 , 0 , dummy ) ; }
Source:
public boolean equalsNetCapabilities ( android.net.NetworkCapabilities nc ) { return ( nc.mNetworkCapabilities ) == ( this . mNetworkCapabilities ) ; }

Target:
public boolean equalsNetCapabilities ( android.net.NetworkCapabilities nc ) { return ( ( nc.mNetworkCapabilities ) == ( this . mNetworkCapabilities ) ) && ( ( nc.mUnwantedNetworkCapabilities ) == ( this . mUnwantedNetworkCapabilities ) ) ; }
Source:
private void registerDefaultConstructorProblem ( com.intellij.codeInspection.deprecation.PsiClass superClass , com.intellij.codeInspection.deprecation.PsiElement nameIdentifier , boolean asDeprecated ) { myHolder.registerProblem ( nameIdentifier , ( ( "Default constructor in " + ( superClass.getQualifiedName ( ) ) ) + " is deprecated" ) , ( asDeprecated ? com.intellij.codeInspection.ProblemHighlightType.LIKE_DEPRECATED : com.intellij.codeInspection.ProblemHighlightType.GENERIC_ERROR_OR_WARNING ) ) ; }

Target:
private void registerDefaultConstructorProblem ( com.intellij.codeInspection.deprecation.PsiClass superClass , com.intellij.codeInspection.deprecation.PsiElement nameIdentifier , boolean asDeprecated ) { myHolder.registerProblem ( nameIdentifier , ( ( "Default constructor in " + ( superClass.getQualifiedName ( ) ) ) + " is deprecated" ) , ( asDeprecated ? ProblemHighlightType.LIKE_DEPRECATED : ProblemHighlightType.GENERIC_ERROR_OR_WARNING ) ) ; }
Source:
public android.net.NetworkRequest.Builder setNetworkSpecifier ( java.lang.String networkSpecifier ) { if ( NetworkCapabilities.MATCH_ALL_REQUESTS_NETWORK_SPECIFIER.equals ( networkSpecifier ) ) { throw new java.lang.IllegalArgumentException ( ( ( "Invalid network specifier - must not be '" + ( NetworkCapabilities.MATCH_ALL_REQUESTS_NETWORK_SPECIFIER ) ) + "'" ) ) ; } mNetworkCapabilities.setNetworkSpecifier ( networkSpecifier ) ; return this ; }

Target:
public android.net.NetworkRequest.Builder setNetworkSpecifier ( android.net.NetworkSpecifier networkSpecifier ) { android.net.MatchAllNetworkSpecifier.checkNotMatchAllNetworkSpecifier ( networkSpecifier ) ; mNetworkCapabilities.setNetworkSpecifier ( networkSpecifier ) ; return this ; }
Source:
public final void addInstance ( long id , com.android.tools.perflib.heap.Instance instance ) { mInstances.put ( id , instance ) ; }

Target:
public final com.android.tools.perflib.heap.Instance getInstance ( long id ) { return mInstances.get ( id ) ; }
Source:
private static void checkPermits ( int permits ) { com.google.common.base.Preconditions.checkArgument ( ( permits > 0 ) , "Requested permits must be positive" ) ; }

Target:
private static int checkPermits ( int permits ) { com.google.common.base.Preconditions.checkArgument ( ( permits > 0 ) , "Requested permits (%s) must be positive" , permits ) ; return permits ; }
Source:
public void setCurrentFunction ( java.lang.String function ) { try { mService.setCurrentFunction ( function ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }

Target:
public void setCurrentFunction ( java.lang.String function , boolean usbDataUnlocked ) { try { mService.setCurrentFunction ( function , usbDataUnlocked ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }
Source:
public android.print.PrintDocumentAdapter createPrintDocumentAdapter ( ) { checkThread ( ) ; if ( DebugFlags.TRACE_API ) android.util.Log.d ( android.webkit.WebView.LOGTAG , "createPrintDocumentAdapter" ) ; return mProvider.createPrintDocumentAdapter ( "default" ) ; }

Target:
public android.print.PrintDocumentAdapter createPrintDocumentAdapter ( ) { checkThread ( ) ; if ( android.webkit.WebView.TRACE ) android.util.Log.d ( android.webkit.WebView.LOGTAG , "createPrintDocumentAdapter" ) ; return mProvider.createPrintDocumentAdapter ( "default" ) ; }
Source:
public void testStringsToLengthPrefixedBytesOversizedInput ( ) { try { android.net.SSLCertificateSocketFactory.toLengthPrefixedList ( new byte [ 256 ] ) ; fail ( ) ; } catch ( java.lang.IllegalArgumentException expected ) { } }

Target:
public void testStringsToLengthPrefixedBytesOversizedInput ( ) { try { android.net.SSLCertificateSocketFactory.toLengthPrefixedList ( new byte [ 256 ] ) ; org.junit.Assert.fail ( ) ; } catch ( java.lang.IllegalArgumentException expected ) { } }
Source:
public boolean foo ( boolean b ) { return bar ( b ) ; }

Target:
public int compare ( Main lhs , Main rhs ) { passed = bar ( secondary ) ; return 0 ; }
Source:
public void connect ( @ android.annotation.NonNull android.os.Looper looper , @ android.annotation.NonNull android.net.wifi.nan.WifiNanEventCallback callback ) { connect ( looper , null , callback ) ; }

Target:
public void connect ( @ android.annotation.Nullable android.os.Handler handler , @ android.annotation.NonNull android.net.wifi.nan.WifiNanEventCallback callback ) { connect ( handler , null , callback ) ; }
Source:
public static native void RSA_padding_add_PKCS1_type_1 ( byte [ ] to , int tlen , byte [ ] from , int flen ) ;

Target:
public static native int RSA_public_encrypt ( int flen , byte [ ] from , byte [ ] to , int pkey , int padding ) ;
Source:
public void test13_service_dup ( ) throws java.lang.Exception { processTestFiles ( ) ; }

Target:
public java.util.Map < java.lang.String , java.lang.String > getInjectAttributes ( ) { return mInjectAttributes ; }
Source:
public javax.net.ssl.SSLSession getSession ( ) { if ( ( sslSession ) == null ) { try { waitForHandshake ( ) ; } catch ( java.io.IOException e ) { return org.conscrypt.SSLSessionImpl.getNullSession ( ) ; } } return sslSession ; }

Target:
public javax.net.ssl.SSLSession getSession ( ) { if ( ( sslSession ) == null ) { try { waitForHandshake ( ) ; } catch ( java.io.IOException e ) { return org.conscrypt.SSLNullSession.getNullSession ( ) ; } } return sslSession ; }
Source:
public void run ( ) { onInitializeAccessibilityNodeInfo ( info ) ; }

Target:
public android.view.accessibility.AccessibilityNodeProvider call ( ) { return getAccessibilityNodeProvider ( ) ; }
Source:
public void getEuiccInfo1 ( java.lang.String callingPackage , com.android.internal.telephony.euicc.IGetEuiccInfo1Callback callback ) { checkCallingPackage ( callingPackage ) ; }

Target:
public void onException ( java.lang.Throwable e ) { try { callback.onComplete ( getResultCode ( e ) , null ) ; } catch ( android.os.RemoteException exception ) { throw exception.rethrowFromSystemServer ( ) ; } }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder clearInfraLogPath ( ) { bitField0_ = ( bitField0_ ) & ( ~ 524288 ) ; infraLogPath_ = com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.getDefaultInstance ( ) . getInfraLogPath ( ) ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder clearInfraLogPath ( ) { bitField0_ = ( bitField0_ ) & ( ~ 1048576 ) ; infraLogPath_ = com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.getDefaultInstance ( ) . getInfraLogPath ( ) ; onChanged ( ) ; return this ; }
Source:
private static int getPacketKeepaliveReceiverEvent ( java.lang.String event ) { switch ( event ) { case com.googlecode.android_scripting.facade.telephony.TelephonyConstants.PacketKeepaliveCallbackStarted : return com.googlecode.android_scripting.facade.ConnectivityManagerFacade.PacketKeepaliveReceiver.EVENT_STARTED ; case com.googlecode.android_scripting.facade.telephony.TelephonyConstants.PacketKeepaliveCallbackStopped : return com.googlecode.android_scripting.facade.ConnectivityManagerFacade.PacketKeepaliveReceiver.EVENT_STOPPED ; case com.googlecode.android_scripting.facade.telephony.TelephonyConstants.PacketKeepaliveCallbackError : return com.googlecode.android_scripting.facade.ConnectivityManagerFacade.PacketKeepaliveReceiver.EVENT_ERROR ; } return com.googlecode.android_scripting.facade.ConnectivityManagerFacade.PacketKeepaliveReceiver.EVENT_INVALID ; }

Target:
private static int getPacketKeepaliveReceiverEvent ( java.lang.String event ) { switch ( event ) { case ConnectivityConstants.PacketKeepaliveCallbackStarted : return com.googlecode.android_scripting.facade.ConnectivityManagerFacade.PacketKeepaliveReceiver.EVENT_STARTED ; case ConnectivityConstants.PacketKeepaliveCallbackStopped : return com.googlecode.android_scripting.facade.ConnectivityManagerFacade.PacketKeepaliveReceiver.EVENT_STOPPED ; case ConnectivityConstants.PacketKeepaliveCallbackError : return com.googlecode.android_scripting.facade.ConnectivityManagerFacade.PacketKeepaliveReceiver.EVENT_ERROR ; } return com.googlecode.android_scripting.facade.ConnectivityManagerFacade.PacketKeepaliveReceiver.EVENT_INVALID ; }
Source:
public static java.util.Calendar getInstance ( java.util.Locale aLocale ) { java.util.Calendar cal = java.util.Calendar.createCalendar ( java.util.TimeZone.getDefaultRef ( ) , aLocale ) ; cal.sharedZone = true ; return cal ; }

Target:
public static java.util.Calendar getInstance ( java.util.Locale aLocale ) { return java.util.Calendar.createCalendar ( java.util.TimeZone.getDefault ( ) , aLocale ) ; }
Source:
public java.lang.String getDirName ( ) { return variantData.getVariantConfiguration ( ) . computeDirNameWithSplits ( densityFilter , abiFilter ) ; }

Target:
public java.lang.String getDirName ( ) { if ( ! ( multiOutput ) ) { return variantData.getVariantConfiguration ( ) . getDirName ( ) ; } return variantData.getVariantConfiguration ( ) . computeDirNameWithSplits ( densityFilter , abiFilter ) ; }
Source:
public static void v ( java.lang.Object objectPrefix , java.lang.String format , java.lang.Object ... args ) { if ( com.android.services.telephony.Log.VERBOSE ) { android.util.Log.v ( com.android.services.telephony.Log.TAG , com.android.services.telephony.Log.buildMessage ( com.android.services.telephony.Log.getPrefixFromObject ( objectPrefix ) , format , args ) ) ; } }

Target:
public static void w ( java.lang.Object objectPrefix , java.lang.String format , java.lang.Object ... args ) { android.telecom.Log.w ( objectPrefix , format , args ) ; }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setSuitePlan ( java.lang.String value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 16 ; suitePlan_ = value ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setResultPath ( java.lang.String value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 2 ; resultPath_ = value ; onChanged ( ) ; return this ; }
Source:
public final float getFloat ( int index ) { checkNotFreed ( ) ; checkIndex ( index , SizeOf.FLOAT ) ; return java.lang.Float.intBitsToFloat ( this . block.peekInt ( ( ( offset ) + index ) , order ) ) ; }

Target:
public final float getFloat ( int index ) { checkIsAccessible ( ) ; checkIndex ( index , SizeOf.FLOAT ) ; return java.lang.Float.intBitsToFloat ( this . block.peekInt ( ( ( offset ) + index ) , order ) ) ; }
Source:
protected static java.io.File getDexFile ( @ javax.annotation.Nonnull java.lang.String typeName ) { return new java.io.File ( com.android.jack.experimental.incremental.JackIncremental.dexFilesFolder , new com.android.sched.vfs.VPath ( ( typeName + ( FileType.DEX.getFileExtension ( ) ) ) , com.android.jack.experimental.incremental.JackIncremental.fileSeparator ) . getPathAsString ( java.io.File.separatorChar ) ) ; }

Target:
protected static com.android.sched.vfs.InputVFile getJackFile ( @ javax.annotation.Nonnull java.lang.String typeName ) { try { assert ( com.android.jack.experimental.incremental.JackIncremental.incrementalInputLibrary ) != null ; return com.android.jack.experimental.incremental.JackIncremental.incrementalInputLibrary.getFile ( FileType.JAYCE , new com.android.sched.vfs.VPath ( typeName , com.android.jack.experimental.incremental.JackIncremental.fileSeparator ) ) ; } catch ( com.android.jack.library.FileTypeDoesNotExistException e ) { throw new java.lang.AssertionError ( e ) ; } }
Source:
public void writeContent ( @ javax.annotation.Nonnull com.android.jack.jayce.v0003.io.JayceInternalWriterImpl out ) throws java.io.IOException { assert ( retentionPolicy ) != null ; out.writeRetentionPolicyEnum ( retentionPolicy ) ; out.writeId ( annotationType ) ; out.writeNodes ( elements ) ; }

Target:
public void writeContent ( @ javax.annotation.Nonnull com.android.jack.jayce.v0003.io.JayceInternalWriterImpl out ) throws java.io.IOException { assert ( retentionPolicy ) != null ; out.writeRetentionPolicyEnum ( retentionPolicy ) ; out.writeId ( annotationType ) ; out.writeNodes ( elements ) ; out.writeNodes ( markers ) ; }
Source:
protected void checkReportedError ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Context context , @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Issue issue , @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Severity severity , @ com.android.annotations.Nullable com.android.tools.lint.detector.api.Location location , @ com.android.annotations.NonNull java.lang.String message , @ com.android.annotations.Nullable java.lang.Object data ) { assertNotNull ( message , com.android.tools.lint.checks.PropertyFileDetector.getSuggestedEscape ( message ) ) ; }

Target:
protected void checkReportedError ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Context context , @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Issue issue , @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Severity severity , @ com.android.annotations.Nullable com.android.tools.lint.detector.api.Location location , @ com.android.annotations.NonNull java.lang.String message , @ com.android.annotations.Nullable java.lang.Object data ) { assertNotNull ( message , com.android.tools.lint.checks.PropertyFileDetector.getSuggestedEscape ( message , com.android.tools.lint.detector.api.TextFormat.TEXT ) ) ; }
Source:
public java.util.Iterator < com.android.jack.ir.ast.JDefinedClassOrInterface > sortAndNumber ( java.util.Collection < com.android.jack.ir.ast.JDefinedClassOrInterface > types ) { assert ! ( deterMultidex ) ; return types.iterator ( ) ; }

Target:
public java.util.Iterator < com.android.jack.ir.ast.JDefinedClassOrInterface > sortAndPrepare ( java.util.Collection < com.android.jack.ir.ast.JDefinedClassOrInterface > types ) { return types.iterator ( ) ; }
Source:
public java.lang.String getEid ( ) { if ( ! ( isEnabled ( ) ) ) { return null ; } try { return getIEuiccController ( ) . getEid ( ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }

Target:
public java.lang.String getEid ( ) { if ( ! ( isEnabled ( ) ) ) { return null ; } try { return android.telephony.euicc.EuiccManager.getIEuiccController ( ) . getEid ( ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }
Source:
public K next ( ) { return super . nextEntry ( ) . key ; }

Target:
public final K nextElement ( ) { return super . nextEntry ( ) . key ; }
Source:
private void assertVerifiedForEach ( java.lang.String apkFilenamePatternInResources , java.lang.String [ ] args , java.lang.Integer minSdkVersionOverride ) throws java.lang.Exception { for ( java.lang.String arg : args ) { java.lang.String apkFilenameInResources = java.lang.String.format ( java.util.Locale.US , apkFilenamePatternInResources , arg ) ; assertVerified ( apkFilenameInResources , minSdkVersionOverride ) ; } }

Target:
private void assertVerified ( java.lang.String apkFilenameInResources , java.lang.Integer minSdkVersionOverride , java.lang.Integer maxSdkVersionOverride ) throws java.lang.Exception { com.android.apksig.ApkVerifierTest.assertVerified ( verify ( apkFilenameInResources , minSdkVersionOverride , maxSdkVersionOverride ) ) ; }
Source:
public com.google.common.base.Objects.ToStringHelper add ( java.lang.String name , @ javax.annotation.Nullable java.lang.Object value ) { com.google.common.base.Preconditions.checkNotNull ( name ) ; addHolder ( value ) . builder.append ( name ) . append ( '=' ) . append ( value ) ; return this ; }

Target:
private com.google.common.base.Objects.ToStringHelper addHolder ( @ javax.annotation.Nullable java.lang.Object value ) { com.google.common.base.Objects.ToStringHelper.ValueHolder valueHolder = addHolder ( ) ; valueHolder.value = value ; return this ; }
Source:
public void runFinalization ( ) { try { java.lang.ref.FinalizerReference.finalizeAllEnqueued ( ) ; } catch ( java.lang.InterruptedException e ) { java.lang.Thread.currentThread ( ) . interrupt ( ) ; } }

Target:
public void runFinalization ( ) { dalvik.system.VMRuntime.runFinalization ( 0 ) ; }
Source:
public void testStageInstallWithErrorCode_unsuccessfulFirstUpdate_olderVersionThanSystem ( ) throws java.lang.Exception { com.android.timezone.distro.TimeZoneDistro distro = libcore.tzdata.update2.TimeZoneDistroInstallerTest.createValidTimeZoneDistro ( libcore.tzdata.update2.TimeZoneDistroInstallerTest.OLDER_RULES_VERSION , 1 ) ; assertEquals ( TimeZoneDistroInstaller.INSTALL_FAIL_RULES_TOO_OLD , installer.stageInstallWithErrorCode ( distro ) ) ; assertNoDistroOperationStaged ( ) ; assertNoInstalledDistro ( ) ; }

Target:
public void testStageInstallWithErrorCode_unsuccessfulFirstUpdate_olderVersionThanSystem ( ) throws java.lang.Exception { byte [ ] distroBytes = libcore.tzdata.update2.TimeZoneDistroInstallerTest.createValidTimeZoneDistroBytes ( libcore.tzdata.update2.TimeZoneDistroInstallerTest.OLDER_RULES_VERSION , 1 ) ; assertEquals ( TimeZoneDistroInstaller.INSTALL_FAIL_RULES_TOO_OLD , installer.stageInstallWithErrorCode ( new com.android.timezone.distro.TimeZoneDistro ( distroBytes ) ) ) ; assertNoDistroOperationStaged ( ) ; assertNoInstalledDistro ( ) ; }
Source:
protected boolean start ( ) { mInputDevices = java.util.Collections.synchronizedMap ( new java.util.HashMap < android.bluetooth.BluetoothDevice , java.lang.Integer > ( ) ) ; initializeNative ( ) ; mNativeAvailable = true ; com.android.bluetooth.hid.HidService.setHidService ( this ) ; return true ; }

Target:
protected boolean start ( ) { mInputDevices = java.util.Collections.synchronizedMap ( new java.util.HashMap < android.bluetooth.BluetoothDevice , java.lang.Integer > ( ) ) ; initializeNative ( ) ; mNativeAvailable = true ; com.android.bluetooth.hid.HidHostService.setHidHostService ( this ) ; return true ; }
Source:
native void rsnScriptSetVarD ( long con , long id , int slot , double val ) ;

Target:
native void rsnScriptSetVarD ( long con , long id , int slot , double val , boolean mUseInc ) ;
Source:
public boolean isEditable ( ) { return myGoogleCloudTestingConfiguration.isEditable ( ) ; }

Target:
public boolean isEditable ( ) { return myCloudConfiguration.isEditable ( ) ; }
Source:
public abstract com.android.jack.ir.ast.cfg.JBasicBlockElement firstElement ( ) ;

Target:
public abstract com.android.jack.ir.ast.cfg.JBasicBlockElement getFirstElement ( ) ;
Source:
public final native void autoPause ( ) ;

Target:
public final native void stop ( int streamID ) ;
Source:
private int getUniqueId ( ) { if ( ( ++ ( mUniqueId ) ) == ( INVALID_ID ) ) return ++ ( mUniqueId ) ; return mUniqueId ; }

Target:
private int getUniqueId ( ) { if ( ( ++ ( mUniqueId ) ) == ( com.android.server.NsdService.INVALID_ID ) ) return ++ ( mUniqueId ) ; return mUniqueId ; }
Source:
native void rsnScriptForEachClipped ( long con , long id , int slot , long ain , long aout , byte [ ] params , int xstart , int xend , int ystart , int yend , int zstart , int zend ) ;

Target:
native void rsnScriptForEachClipped ( long con , long incCon , long id , int slot , long ain , long aout , byte [ ] params , int xstart , int xend , int ystart , int yend , int zstart , int zend , boolean mUseInc ) ;
Source:
public com.android.sched.util.config.GatherConfigBuilder setStandardInput ( @ javax.annotation.Nonnull java.io.InputStream in ) { builder.setStandardInput ( in ) ; return this ; }

Target:
public com.android.sched.util.config.GatherConfigBuilder setCodecContext ( @ javax.annotation.Nonnull com.android.sched.util.codec.CodecContext context ) { builder.setCodecContext ( context ) ; return this ; }
Source:
public void moveToFront ( ) { checkCaller ( ) ; startActivityFromRecentsInner ( mTaskId , null ) ; }

Target:
public void moveToFront ( ) { checkCaller ( ) ; final long origId = android.os.Binder.clearCallingIdentity ( ) ; try { synchronized ( this ) { mStackSupervisor.startActivityFromRecentsInner ( mTaskId , null ) ; } } finally { android.os.Binder.restoreCallingIdentity ( origId ) ; } }
Source:
public final java.security.AlgorithmParameters getParameters ( ) { chooseFirstProvider ( ) ; return spi.engineGetParameters ( ) ; }

Target:
public final java.security.AlgorithmParameters getParameters ( ) { updateProviderIfNeeded ( ) ; return spi.engineGetParameters ( ) ; }
Source:
public void test_RSA_size_null_key_Failure ( ) throws java.lang.Exception { try { org.conscrypt.NativeCrypto.RSA_size ( org.conscrypt.NativeCryptoTest.NULL_EVP_PKEY ) ; fail ( ) ; } catch ( java.lang.NullPointerException expected ) { } }

Target:
public void test_RSA_size_null_key_Failure ( ) throws java.lang.Exception { try { org.conscrypt.NativeCrypto.RSA_size ( null ) ; fail ( "Expecting null pointer exception for RSA_size with null key" ) ; } catch ( java.lang.NullPointerException expected ) { } }
Source:
public void testSerialVersionUidChange ( ) throws java.lang.Exception { java.lang.String s = "aced0005737200396c6962636f72652e6a6176612e696f2e53657269616c697a6174696f6e54657" + ( "3742453657269616c56657273696f6e5569644368616e67656400000000000000000200014900016" + "1787000000003" ) ; try { libcore.util.SerializationTester.deserializeHex ( s ) ; fail ( ) ; } catch ( java.io.InvalidClassException expected ) { } }

Target:
public void testSerialVersionUidChange ( ) throws java.lang.Exception { java.lang.String s = "aced0005737200396c6962636f72652e6a6176612e696f2e53657269616c697a6174696f6e54657" + ( "3742453657269616c56657273696f6e5569644368616e67656400000000000000000200014900016" + "1787000000003" ) ; try { libcore.libcore.util.SerializationTester.deserializeHex ( s ) ; fail ( ) ; } catch ( java.io.InvalidClassException expected ) { } }
Source:
private static native void startMethodTracingFd ( java.lang.String traceFileName , java.io.FileDescriptor fd , int bufferSize , int flags ) ;

Target:
private static native void startMethodTracingFd ( java.lang.String traceFileName , java.io.FileDescriptor fd , int bufferSize , int flags , boolean samplingEnabled , int intervalUs ) ;
Source:
public android.net.IpSecTransform.Builder setSpi ( @ android.net.IpSecTransform.TransformDirection int direction , android.net.IpSecManager.SecurityParameterIndex spi ) { mConfig.flow [ direction ] . spiResourceId = spi.getResourceId ( ) ; return this ; }

Target:
public android.net.IpSecTransform.Builder setSpi ( @ android.net.IpSecTransform.TransformDirection int direction , android.net.IpSecManager.SecurityParameterIndex spi ) { mConfig.setSpiResourceId ( direction , spi.getResourceId ( ) ) ; return this ; }
Source:
public void testBaseAssetSetByName ( ) throws java.lang.Exception { com.android.builder.resources.AssetSet assetSet = com.android.builder.resources.AssetSetTest.getBaseAssetSet ( ) ; verifyResourceExists ( assetSet , "foo.dat" , "icon.png" , "main.xml" , "values.xml" ) ; }

Target:
public void testBaseAssetSetByName ( ) throws java.lang.Exception { com.android.builder.resources.AssetSet assetSet = com.android.builder.resources.AssetSetTest.getBaseAssetSet ( ) ; verifyResourceExists ( assetSet , "foo/foo.dat" , "foo/icon.png" , "main.xml" , "values.xml" ) ; }
Source:
private void registerCurrAppEvents ( ) { if ( ( mIccRecords ) != null ) { mIccRecords.registerForLockedRecordsLoaded ( this , com.android.internal.telephony.uicc.UiccProfile.EVENT_ICC_LOCKED , null ) ; mIccRecords.registerForNetworkLockedRecordsLoaded ( this , com.android.internal.telephony.uicc.UiccProfile.EVENT_NETWORK_LOCKED , null ) ; } }

Target:
private void registerCurrAppEvents ( ) { if ( ( mIccRecords ) != null ) { mIccRecords.registerForLockedRecordsLoaded ( mHandler , com.android.internal.telephony.uicc.UiccProfile.EVENT_ICC_LOCKED , null ) ; mIccRecords.registerForNetworkLockedRecordsLoaded ( mHandler , com.android.internal.telephony.uicc.UiccProfile.EVENT_NETWORK_LOCKED , null ) ; } }
Source:
synchronized void reportConnectionFailure ( ) { }

Target:
synchronized void reportConnectionEvent ( byte event ) { }
Source:
synchronized boolean sendReport ( int id , byte [ ] data ) { if ( com.android.bluetooth.hid.HidDevService.DBG ) android.util.Log.v ( com.android.bluetooth.hid.HidDevService.TAG , ( "sendReport(): id=" + id ) ) ; return sendReportNative ( id , data ) ; }

Target:
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 ( ) ; }
Source:
private com.android.build.gradle.tasks.File getOutputFileForSplit ( java.lang.String split ) { return new com.android.build.gradle.tasks.File ( getOutputDirectory ( ) , "resources-${getOutputBaseName()}-${split}.ap_" ) ; }

Target:
private java.io.File getOutputFileForSplit ( final java.lang.String split ) { return new java.io.File ( getOutputDirectory ( ) , ( ( ( ( "resources-" + ( getOutputBaseName ( ) ) ) + "-" ) + split ) + ".ap_" ) ) ; }
Source:
public java.lang.StringBuffer format ( java.math.BigDecimal number , java.lang.StringBuffer result , java.text.FieldPosition fieldPosition ) { return format ( number , result , fieldPosition , false ) ; }

Target:
public java.lang.StringBuffer format ( java.math.BigDecimal number , java.lang.StringBuffer result , java.text.FieldPosition fieldPosition ) { android.icu.impl.number.FormatQuantity4 fq = new android.icu.impl.number.FormatQuantity4 ( number ) ; formatter.format ( fq , result , fieldPosition ) ; fq.populateUFieldPosition ( fieldPosition ) ; return result ; }