auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void overrideSetting ( java.lang.String key , boolean boolValue ) { com.android.sdkuilib.internal.repository.SettingsController sc = getSettingsController ( ) ; assert sc instanceof com.android.sdkuilib.internal.repository.MockUpdaterData.MockSettingsController ; ( ( com.android.sdkuilib.internal.repository.MockUpdaterData.MockSettingsController ) ( sc ) ) . overrideSetting ( key , boolValue ) ; }

Target:
public void overrideSetting ( java.lang.String key , boolean boolValue ) { com.android.sdkuilib.internal.repository.SettingsController sc = getSettingsController ( ) ; assert sc instanceof com.android.sdkuilib.internal.repository.MockSwtUpdaterData.MockSettingsController ; ( ( com.android.sdkuilib.internal.repository.MockSwtUpdaterData.MockSettingsController ) ( sc ) ) . overrideSetting ( key , boolValue ) ; }
Source:
private void configureInstalledDistroVersion ( @ javax.annotation.Nullable libcore.tzdata.shared2.DistroVersion installedDistroVersion ) throws java.lang.Exception { org.mockito.Mockito.when ( mMockTimeZoneDistroInstaller.getInstalledDistroVersion ( ) ) . thenReturn ( installedDistroVersion ) ; }

Target:
private void configureInstalledDistroVersion ( @ javax.annotation.Nullable com.android.timezone.distro.DistroVersion installedDistroVersion ) throws java.lang.Exception { org.mockito.Mockito.when ( mMockTimeZoneDistroInstaller.getInstalledDistroVersion ( ) ) . thenReturn ( installedDistroVersion ) ; }
Source:
public void setExtra ( byte [ ] extra ) { if ( ( extra != null ) && ( ( extra.length ) > 65535 ) ) { throw new java.lang.IllegalArgumentException ( "invalid extra field length" ) ; } this . extra = extra ; }

Target:
public java.util.zip.ZipEntry setLastModifiedTime ( java.nio.file.attribute.FileTime time ) { this . mtime = java.util.Objects.requireNonNull ( time , "lastModifiedTime" ) ; this . xdostime = java.util.zip.ZipUtils.javaToExtendedDosTime ( time.to ( java.util.concurrent.TimeUnit.MILLISECONDS ) ) ; return this ; }
Source:
public static java.lang.String transportNameOf ( int transport ) { if ( ( transport < 0 ) || ( ( android.net.NetworkCapabilities.TRANSPORT_NAMES.length ) <= transport ) ) { return "UNKNOWN" ; } return android.net.NetworkCapabilities.TRANSPORT_NAMES [ transport ] ; }

Target:
public static java.lang.String transportNameOf ( int transport ) { if ( ! ( android.net.NetworkCapabilities.isValidTransport ( transport ) ) ) { return "UNKNOWN" ; } return android.net.NetworkCapabilities.TRANSPORT_NAMES [ transport ] ; }
Source:
public void setJavaCompileTask ( @ com.android.annotations.Nullable com.android.build.gradle.internal.scope.AndroidTask < ? extends org.gradle.api.tasks.compile.AbstractCompile > javaCompileTask ) { this . javaCompileTask = javaCompileTask ; }

Target:
public void setJavaCompilerTask ( @ com.android.annotations.NonNull com.android.build.gradle.internal.scope.AndroidTask < ? extends org.gradle.api.tasks.compile.AbstractCompile > javaCompileTask ) { this . javaCompilerTask = javaCompileTask ; }
Source:
java.lang.String classNameToEntryPath ( java.lang.String className ) { return className.replaceAll ( "\\." , "/" ) . concat ( ".class" ) ; }

Target:
java.lang.String classNameToEntryPath ( java.lang.String className ) { return className.replace ( '.' , '/' ) . concat ( ".class" ) ; }
Source:
public void iccOpenLogicalChannelResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , int var2 , java.util.ArrayList < java.lang.Byte > var3 ) { }

Target:
public void setPreferredNetworkTypeResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo ) { responseVoid ( responseInfo ) ; }
Source:
public static native byte [ ] i2d_SSL_SESSION ( int sslSessionNativePointer ) ;

Target:
public static native void SSL_free ( long sslNativePointer ) ;
Source:
public static native float hypot ( float x , float y ) ;

Target:
public static float hypot ( float x , float y ) { return ( ( float ) ( java.lang.Math.hypot ( x , y ) ) ) ; }
Source:
public android.content.ComponentName getCallingActivity ( android.os.IBinder token ) { synchronized ( this ) { com.android.server.am.HistoryRecord r = getCallingRecordLocked ( token ) ; return r != null ? r.intent.getComponent ( ) : null ; } }

Target:
public java.lang.String getCallingPackage ( android.os.IBinder token ) { synchronized ( this ) { com.android.server.am.ActivityRecord r = getCallingRecordLocked ( token ) ; return ( r != null ) && ( ( r.app ) != null ) ? r.info.packageName : null ; } }
Source:
private static libcore.tzdata.update2.TimeZoneBundle createValidTimeZoneBundle ( java.lang.String rulesVersion , java.lang.String androidRevision ) throws java.lang.Exception { return libcore.tzdata.update2.TimeZoneBundleInstallerTest.createValidTimeZoneBundleBuilder ( rulesVersion , androidRevision ) . build ( ) ; }

Target:
private static libcore.tzdata.update2.TimeZoneBundle createValidTimeZoneBundle ( java.lang.String rulesVersion , int revision ) throws java.lang.Exception { return libcore.tzdata.update2.TimeZoneBundleInstallerTest.createValidTimeZoneBundleBuilder ( rulesVersion , revision ) . build ( ) ; }
Source:
public void focusChanged ( ) { imageChanged ( ) ; }

Target:
public void treeChanged ( ) { }
Source:
public void testLoadConfigFromXml ( ) { com.android.phone.vvm.omtp.TelephonyVvmConfigManager manager = createManager ( ( ( ( com.android.phone.vvm.omtp.TelephonyVvmConfigManagerTest.XML_HEADER ) + ( com.android.phone.vvm.omtp.TelephonyVvmConfigManagerTest.CARRIER ) ) + ( com.android.phone.vvm.omtp.TelephonyVvmConfigManagerTest.XML_FOOTER ) ) ) ; verifyCarrier ( manager.getConfig ( "12345" ) ) ; verifyCarrier ( manager.getConfig ( "67890" ) ) ; }

Target:
public void dontTestLoadConfigFromXml ( ) { com.android.phone.vvm.omtp.TelephonyVvmConfigManager manager = createManager ( ( ( ( com.android.phone.vvm.omtp.TelephonyVvmConfigManagerTest.XML_HEADER ) + ( com.android.phone.vvm.omtp.TelephonyVvmConfigManagerTest.CARRIER ) ) + ( com.android.phone.vvm.omtp.TelephonyVvmConfigManagerTest.XML_FOOTER ) ) ) ; verifyCarrier ( manager.getConfig ( "12345" ) ) ; verifyCarrier ( manager.getConfig ( "67890" ) ) ; }
Source:
public void keep ( com.android.sdkuilib.internal.repository.sdkman2.PkgItem item ) { mItemsToRemove.remove ( item ) ; }

Target:
public void keep ( com.android.sdkuilib.internal.repository.core.PkgItem item ) { mItemsToRemove.remove ( item ) ; }
Source:
public void accept ( final org.objectweb.asm.MethodVisitor mv ) { mv.visitJumpInsn ( opcode , label.getLabel ( ) ) ; }

Target:
public void accept ( final org.objectweb.asm.MethodVisitor mv ) { mv.visitJumpInsn ( opcode , label.getLabel ( ) ) ; acceptAnnotations ( mv ) ; }
Source:
public void run ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JSession session ) throws java.lang.Exception { com.android.jack.backend.dex.DexWritingTool writingTool = new com.android.jack.backend.dex.MergingDexWritingTool ( outputVDir ) ; writingTool.write ( ) ; }

Target:
public void run ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JSession session ) throws java.lang.Exception { com.android.jack.backend.dex.DexWritingTool writingTool = com.android.sched.util.config.ThreadConfig.get ( com.android.jack.backend.dex.DexFileWriter.DEX_WRITING_POLICY ) ; writingTool.write ( outputVDir ) ; }
Source:
public void setDataEnabled ( boolean enable ) { mDcTracker.setDataEnabled ( enable ) ; }

Target:
public void setUserDataEnabled ( boolean enable ) { mDcTracker.setUserDataEnabled ( enable ) ; }
Source:
private void agentDisconnect ( android.net.NetworkAgent networkAgent ) { android.net.NetworkInfo networkInfo = new android.net.NetworkInfo ( mNetworkInfo ) ; agentDisconnect ( networkInfo , networkAgent ) ; }

Target:
private void updateAlwaysOnNotification ( android.net.NetworkInfo.DetailedState networkState ) { final boolean visible = ( mAlwaysOn ) && ( networkState != ( android.net.NetworkInfo.DetailedState.CONNECTED ) ) ; updateAlwaysOnNotificationInternal ( visible ) ; }
Source:
public boolean test ( java.nio.file.Path path ) { return ( path.toString ( ) . startsWith ( pathPrefix ) ) && ( ! ( generatedClasses.containsKey ( path ) ) ) ; }

Target:
public boolean test ( java.nio.file.Path path ) { return ( path.toString ( ) . startsWith ( rootPathPrefixStr ) ) && ( ! ( generatedClasses.containsKey ( path ) ) ) ; }
Source:
public void onInCallUiShown ( boolean forFullScreenIntent ) { for ( com.android.incallui.call.DialerCall call : mCallById.values ( ) ) { call.getLatencyReport ( ) . onInCallUiShown ( forFullScreenIntent ) ; } }

Target:
public void onInCallUiShown ( boolean forFullScreenIntent ) { for ( com.android.incallui.call.DialerCall call : mCallById.values ( ) ) { call.getLatencyReport ( ) . onInCallUiShown ( forFullScreenIntent ) ; } if ( ( mUiListeners ) != null ) { mUiListeners.onInCallUiShown ( ) ; } }
Source:
public org.eclipse.jface.viewers.ISelection getSelection ( ) { return mCanvas.getSelection ( ) ; }

Target:
public void setSelection ( org.eclipse.jface.viewers.ISelection selection , boolean reveal ) { mCanvas.getSelectionManager ( ) . setSelection ( selection ) ; }
Source:
public void breakpointByte ( byte param ) { logWriter.println ( ( ( "breakpointByte(param=" + param ) + ")" ) ) ; }

Target:
public void breakpointByte ( byte param ) { logWriter.println ( ( ( "breakpointByte(param=" + param ) + ")" ) ) ; synchronizeWithTest ( ) ; }
Source:
protected java.lang.String generateReplacementText ( org.eclipse.jdt.core.dom.Comment commentNode , java.lang.String commentText ) { java.lang.String newCommentText = commentText.replace ( oldText , newText ) ; if ( newCommentText.equals ( commentText ) ) { return null ; } return newCommentText ; }

Target:
protected java.lang.String processComment ( com.google.currysrc.api.process.Reporter reporter , org.eclipse.jdt.core.dom.Comment commentNode , java.lang.String commentText ) { java.lang.String newCommentText = commentText.replace ( oldText , newText ) ; if ( newCommentText.equals ( commentText ) ) { return null ; } return newCommentText ; }
Source:
public int quantityForInt ( int value ) { return libcore.icu.NativePluralRules.quantityForIntImpl ( address , value ) ; }

Target:
public int quantityForInt ( int value ) { if ( value < 0 ) { return libcore.icu.NativePluralRules.OTHER ; } return libcore.icu.NativePluralRules.quantityForIntImpl ( address , value ) ; }
Source:
public void run ( ) { onTestFinish ( intent.getAction ( ) ) ; }

Target:
public int onStartCommand ( android.content.Intent intent , int flags , int startId ) { return START_NOT_STICKY ; }
Source:
public void setCamera ( java.lang.String cameraId ) { try { android.telecom.Log.w ( this , "setCamera: cameraId=%s, calling=%s" , cameraId , mCallingPackageName ) ; mVideoProvider.setCamera ( cameraId , mCallingPackageName ) ; } catch ( android.os.RemoteException e ) { } }

Target:
public void setCamera ( java.lang.String cameraId ) { try { android.telecom.Log.w ( this , "setCamera: cameraId=%s, calling=%s" , cameraId , mCallingPackageName ) ; mVideoProvider.setCamera ( cameraId , mCallingPackageName , mTargetSdkVersion ) ; } catch ( android.os.RemoteException e ) { } }
Source:
public void testReplaceSdcard ( ) { sampleReplaceFromRawResource ( ( ( PackageManager.INSTALL_REPLACE_EXISTING ) | ( PackageManager.INSTALL_EXTERNAL ) ) ) ; }

Target:
public void testReplaceSdcard ( ) { if ( android.os.Environment.isExternalStorageEmulated ( ) ) { return ; } sampleReplaceFromRawResource ( ( ( android.content.pm.PackageManager.INSTALL_REPLACE_EXISTING ) | ( android.content.pm.PackageManager.INSTALL_EXTERNAL ) ) ) ; }
Source:
public com.android.internal.telephony.Connection dial ( java.lang.String dialString , com.android.internal.telephony.UUSInfo uusInfo , int videoState , android.os.Bundle intentExtras ) throws com.android.internal.telephony.CallStateException { throw new java.lang.RuntimeException ( "not implemented" ) ; }

Target:
public com.android.internal.telephony.Connection dial ( java.lang.String dialString , com.android.internal.telephony.DialArgs dialArgs ) throws com.android.internal.telephony.CallStateException { throw new java.lang.RuntimeException ( "not implemented" ) ; }
Source:
public boolean nudValid ( ) { return ( nudConnected ( ) ) || ( ( ( ndm_state ) & ( ( ( android.net.netlink.StructNdMsg.NUD_PROBE ) | ( android.net.netlink.StructNdMsg.NUD_STALE ) ) | ( android.net.netlink.StructNdMsg.NUD_DELAY ) ) ) != 0 ) ; }

Target:
public static boolean isNudStateValid ( short nudState ) { return ( android.net.netlink.StructNdMsg.isNudStateConnected ( nudState ) ) || ( ( nudState & ( ( ( android.net.netlink.StructNdMsg.NUD_PROBE ) | ( android.net.netlink.StructNdMsg.NUD_STALE ) ) | ( android.net.netlink.StructNdMsg.NUD_DELAY ) ) ) != 0 ) ; }
Source:
public java.lang.String getVoiceMailNumber ( ) { mContext.enforceCallingOrSelfPermission ( com.android.internal.telephony.PhoneSubInfo.READ_PHONE_STATE , "Requires READ_PHONE_STATE" ) ; java.lang.String number = android.telephony.PhoneNumberUtils.extractNetworkPortion ( mPhone.getVoiceMailNumber ( ) ) ; android.util.Log.d ( com.android.internal.telephony.PhoneSubInfo.LOG_TAG , "VM: PhoneSubInfo.getVoiceMailNUmber: " ) ; return number ; }

Target:
public java.lang.String getVoiceMailNumber ( ) { mContext.enforceCallingOrSelfPermission ( com.android.internal.telephony.PhoneSubInfo.READ_PHONE_STATE , "Requires READ_PHONE_STATE" ) ; java.lang.String number = android.telephony.PhoneNumberUtils.extractNetworkPortion ( mPhone.getVoiceMailNumber ( ) ) ; android.telephony.Rlog.d ( com.android.internal.telephony.PhoneSubInfo.LOG_TAG , "VM: PhoneSubInfo.getVoiceMailNUmber: " ) ; return number ; }
Source:
public int matchProviderWithCurrentNetwork ( java.lang.String fqdn ) { return mWifiStateMachine.matchProviderWithCurrentNetwork ( mWifiStateMachineChannel , fqdn ) ; }

Target:
public int matchProviderWithCurrentNetwork ( java.lang.String fqdn ) { mLog.trace ( "matchProviderWithCurrentNetwork uid=%" ) . c ( android.os.Binder.getCallingUid ( ) ) . flush ( ) ; return mWifiStateMachine.matchProviderWithCurrentNetwork ( mWifiStateMachineChannel , fqdn ) ; }
Source:
public final int getJayceMinorVersion ( ) { return jayceMinorVersion ; }

Target:
public final int getJayceMinorVersion ( ) throws com.android.jack.library.LibraryFormatException { ensureJayceLoaded ( ) ; return jayceMinorVersion ; }
Source:
public void addU16 ( android.support.v8.renderscript.Int4 v ) { mN.addU16 ( new android.support.v8.renderscript.Int4 ( v.x , v.y , v.z , v.w ) ) ; }

Target:
public void addU16 ( android.support.v8.renderscript.Int4 v ) { mN.addU16 ( new android.support.v8.renderscript.Int4 ( v.x , v.y , v.z , v.w ) ) ; mPos += 8 ; }
Source:
void reloadFromDatabase ( com.android.server.telecom.TelecomSystem.SyncRoot lock , com.android.server.telecom.CallsManager callsManager , com.android.server.telecom.ContactsAsyncHelper contactsAsyncHelper , com.android.server.telecom.CallerInfoAsyncQueryFactory callerInfoAsyncQueryFactory , android.os.UserHandle userHandle ) ;

Target:
void reloadFromDatabase ( com.android.server.telecom.CallerInfoLookupHelper callerInfoLookupHelper , com.android.server.telecom.MissedCallNotifier.CallInfoFactory callInfoFactory , android.os.UserHandle userHandle ) ;
Source:
public void onReceiveUssdResponseFailed ( java.lang.String request , int failureCode ) { }

Target:
public void onReceiveUssdResponseFailed ( final android.telephony.TelephonyManager telephonyManager , java.lang.String request , int failureCode ) { }
Source:
public void SetData ( java.lang.Object data ) { mData = data ; }

Target:
public void setData ( java.lang.Object data ) { mData = data ; }
Source:
void conferenceWith ( com.android.server.telecom.Call otherCall ) { if ( ( mConnectionService ) == null ) { com.android.server.telecom.Log.w ( this , "conference requested on a call without a connection service." ) ; } else { com.android.server.telecom.Log.event ( this , Log.Events.CONFERENCE_WITH , otherCall ) ; mConnectionService.conference ( this , otherCall ) ; } }

Target:
void conferenceWith ( com.android.server.telecom.Call otherCall ) { if ( ( mConnectionService ) == null ) { android.telecom.Log.w ( this , "conference requested on a call without a connection service." ) ; } else { android.telecom.Log.addEvent ( this , LogUtils.Events.CONFERENCE_WITH , otherCall ) ; mConnectionService.conference ( this , otherCall ) ; } }
Source:
static void noClinitBecauseOfInvokeStatic ( ) { Main.ClassWithClinit2.staticMethod ( ) ; Main.ClassWithClinit2.doThrow = false ; }

Target:
static void noClinitBecauseOfInvokeStatic ( ) { Main.ClassWithClinit2.$noinline$staticMethod ( ) ; Main.ClassWithClinit2.doThrow = false ; }
Source:
public static javax.net.ssl.SSLSession wrapSSLSession ( org.conscrypt.OpenSSLSessionImpl sslSession ) { if ( ( Build.VERSION.SDK_INT ) <= ( Build.VERSION_CODES.M ) ) { return sslSession ; } else { return new org.conscrypt.OpenSSLExtendedSessionImpl ( sslSession ) ; } }

Target:
public static javax.net.ssl.SSLSession wrapSSLSession ( org.conscrypt.OpenSSLSessionImpl sslSession ) { if ( ( Build.VERSION.SDK_INT ) <= 23 ) { return sslSession ; } else { return new org.conscrypt.OpenSSLExtendedSessionImpl ( sslSession ) ; } }
Source:
public void createGroup ( android.net.wifi.p2p.WifiP2pManager.Channel c , android.net.wifi.p2p.WifiP2pManager.ActionListener listener ) { android.net.wifi.p2p.WifiP2pManager.checkChannel ( c ) ; c.mAsyncChannel.sendMessage ( android.net.wifi.p2p.WifiP2pManager.CREATE_GROUP , 0 , c.putListener ( listener ) ) ; }

Target:
public void createGroup ( android.net.wifi.p2p.WifiP2pManager.Channel c , android.net.wifi.p2p.WifiP2pManager.ActionListener listener ) { android.net.wifi.p2p.WifiP2pManager.checkChannel ( c ) ; c.mAsyncChannel.sendMessage ( android.net.wifi.p2p.WifiP2pManager.CREATE_GROUP , WifiP2pGroup.PERSISTENT_NET_ID , c.putListener ( listener ) ) ; }
Source:
public long getExitThreadTime ( ) { return com.google.common.primitives.UnsignedInts.toLong ( mExitThreadTime ) ; }

Target:
public long getExitTime ( com.android.tools.perflib.vmtrace.ClockType clockType ) { return clockType == ( ClockType.THREAD ) ? com.google.common.primitives.UnsignedInts.toLong ( mExitThreadTime ) : com.google.common.primitives.UnsignedInts.toLong ( mExitGlobalTime ) ; }
Source:
public void enableAdvertising ( boolean enable , int timeout ) { try { gatt.enableAdverisingSet ( this . advertiserId , enable , timeout ) ; } catch ( android.os.RemoteException e ) { android.util.Log.e ( android.bluetooth.le.AdvertisingSet.TAG , "remote exception - " , e ) ; } }

Target:
public void enableAdvertising ( boolean enable , int timeout ) { try { gatt.enableAdvertisingSet ( this . advertiserId , enable , timeout ) ; } catch ( android.os.RemoteException e ) { android.util.Log.e ( android.bluetooth.le.AdvertisingSet.TAG , "remote exception - " , e ) ; } }
Source:
public void setDebug ( boolean debug ) { mDebug = debug ; }

Target:
public void setBuildType ( java.lang.String buildType ) { super . setBuildType ( buildType ) ; mDebug = java.lang.Boolean.valueOf ( buildType ) ; }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setBuildVendorFingerprint ( java.lang.String value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 8192 ; buildVendorFingerprint_ = value ; onChanged ( ) ; return this ; }

Target:
public boolean hasModulesTotal ( ) { return ( ( bitField0_ ) & 262144 ) == 262144 ; }
Source:
public static void removeListener ( @ android.support.annotation.NonNull com.android.dialer.simulator.impl.SimulatorConnectionService.Listener listener ) { com.android.dialer.common.Assert.isNotNull ( listener ) ; com.android.dialer.simulator.impl.SimulatorConnectionService.listeners.remove ( listener ) ; }

Target:
public static void addListener ( @ android.support.annotation.NonNull com.android.dialer.simulator.impl.SimulatorConnectionService.Listener listener ) { com.android.dialer.simulator.impl.SimulatorConnectionService.listeners.add ( com.android.dialer.common.Assert.isNotNull ( listener ) ) ; }
Source:
synchronized void nAllocationRead ( int id , byte [ ] d ) { validate ( ) ; rsnAllocationRead ( mContext , id , d ) ; }

Target:
synchronized long nScriptFieldIDCreate ( long sid , int slot ) { validate ( ) ; return rsnScriptFieldIDCreate ( mContext , sid , slot ) ; }
Source:
public com.android.internal.telephony.imsphone.ImsExternalCallTracker makeImsExternalCallTracker ( com.android.internal.telephony.imsphone.ImsPhone imsPhone , com.android.internal.telephony.imsphone.ImsPullCall callPuller ) { return new com.android.internal.telephony.imsphone.ImsExternalCallTracker ( imsPhone , callPuller ) ; }

Target:
public com.android.internal.telephony.SimActivationTracker makeSimActivationTracker ( com.android.internal.telephony.Phone phone ) { return new com.android.internal.telephony.SimActivationTracker ( phone ) ; }
Source:
public void run ( ) { if ( ( mCallback ) != null ) { mCallback.onConnectionUpdated ( this , interval , latency , timeout , status ) ; } }

Target:
public void run ( ) { final android.bluetooth.BluetoothGattCallback callback = mCallback ; if ( callback != null ) { callback.onConnectionUpdated ( this , interval , latency , timeout , status ) ; } }
Source:
public final void testContainsIntInt_Invalid ( ) { com.android.ide.eclipse.adt.editors.layout.gscripts.Rect r = new com.android.ide.eclipse.adt.editors.layout.gscripts.Rect ( 3 , 4 , ( - 20 ) , ( - 30 ) ) ; assertFalse ( r.contains ( 3 , 4 ) ) ; }

Target:
public final void testContainsIntInt_Invalid ( ) { com.android.ide.common.api.Rect r = new com.android.ide.common.api.Rect ( 3 , 4 , ( - 20 ) , ( - 30 ) ) ; assertFalse ( r.contains ( 3 , 4 ) ) ; }
Source:
public void onCancel ( android.content.DialogInterface dialog ) { com.android.cts.verifier.TestResult.setPassedResult ( this ) ; finish ( ) ; }

Target:
public void onClick ( android.content.DialogInterface dialog , int which ) { dialog.dismiss ( ) ; }
Source:
public void onClick ( android.content.DialogInterface dialog , int whichButton ) { dialog.dismiss ( ) ; finish ( ) ; }

Target:
public void onClick ( android.content.DialogInterface dialog , int whichButton ) { dialog.dismiss ( ) ; processNextMessage ( ) ; }
Source:
public static java.lang.String toString ( @ android.security.KeyStoreKeyConstraints.BlockModeEnum int mode ) { switch ( mode ) { case android.security.KeyStoreKeyConstraints.BlockMode.ECB : return "ECB" ; default : throw new java.lang.IllegalArgumentException ( ( "Unknown block mode: " + mode ) ) ; } }

Target:
public static java.lang.String toString ( @ android.security.KeyStoreKeyConstraints.BlockModeEnum int mode ) { switch ( mode ) { case android.security.KeyStoreKeyConstraints.BlockMode.ECB : return "ECB" ; case android.security.KeyStoreKeyConstraints.BlockMode.CBC : return "CBC" ; case android.security.KeyStoreKeyConstraints.BlockMode.CTR : return "CTR" ; default : throw new java.lang.IllegalArgumentException ( ( "Unknown block mode: " + mode ) ) ; } }
Source:
private static java.lang.String getTypeDescription ( java.lang.reflect.Field optionsField ) { return com.google.devtools.common.options.OptionsParserImpl.findConverter ( optionsField ) . getTypeDescription ( ) ; }

Target:
private static java.lang.String getTypeDescription ( java.lang.reflect.Field optionsField ) { return com.google.devtools.common.options.OptionsData.findConverter ( optionsField ) . getTypeDescription ( ) ; }
Source:
public boolean getEnableAutoJoinWhenAssociated ( ) { enforceAccessPermission ( ) ; return mWifiStateMachine.getEnableAutoJoinWhenAssociated ( ) ; }

Target:
public boolean getEnableAutoJoinWhenAssociated ( ) { enforceAccessPermission ( ) ; mLog.trace ( "getEnableAutoJoinWhenAssociated uid=%" ) . c ( android.os.Binder.getCallingUid ( ) ) . flush ( ) ; return mWifiStateMachine.getEnableAutoJoinWhenAssociated ( ) ; }
Source:
public void realRun ( ) throws java.lang.InterruptedException { threadsStarted.countDown ( ) ; done.await ( ) ; assertEquals ( THREADS , p.getLargestPoolSize ( ) ) ; }

Target:
public void realRun ( ) throws java.lang.InterruptedException { threadStarted.countDown ( ) ; assertEquals ( 1 , p.getActiveCount ( ) ) ; done.await ( ) ; }
Source:
T get ( int key ) { T val = mArray.get ( key ) ; if ( val != null ) { val.checkOwnerOrSystemAndThrow ( ) ; } return val ; }

Target:
T get ( int key ) { T val = mArray.get ( key ) ; if ( val != null ) { val.checkOwnerOrSystem ( ) ; } return val ; }
Source:
public java.util.Collection < V > getValue ( ) { return get ( key ) ; }

Target:
java.util.Iterator < java.util.Map.Entry < K , V > > entryIterator ( ) { return map.entrySet ( ) . iterator ( ) ; }
Source:
public void test002 ( ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( TEST002 ) . addIgnoredCandidateToolchain ( com.android.jack.test.toolchain.JillBasedToolchain.class ) . setWithDebugInfos ( true ) . compileAndRunTest ( true ) ; }

Target:
public void test002 ( ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( TEST002 ) . addIgnoredCandidateToolchain ( com.android.jack.test.toolchain.JillBasedToolchain.class ) . setWithDebugInfos ( true ) . addProperty ( Optimizations.REMOVE_UNUSED_NON_SYNTHETIC_DEFINITION.getName ( ) , java.lang.String.valueOf ( false ) ) . compileAndRunTest ( true ) ; }
Source:
public static native java.lang.String mapLibraryName ( java.lang.String nickname ) ;

Target:
public static java.lang.String mapLibraryName ( java.lang.String nickname ) { if ( nickname == null ) { throw new java.lang.NullPointerException ( "nickname == null" ) ; } return ( "lib" + nickname ) + ".so" ; }
Source:
protected com.android.tools.lint.detector.api.Detector getDetector ( ) { return new com.android.tools.lint.checks.RecycleDetector ( ) ; }

Target:
protected com.android.tools.lint.detector.api.Detector getDetector ( ) { return new com.android.tools.lint.checks.CleanupDetector ( ) ; }
Source:
public void test_Harmony_1352 ( ) throws java.lang.Exception { try { new java.text.RuleBasedCollator ( "< a< b< c< d" ) . getCollationElementIterator ( ( ( java.text.CharacterIterator ) ( null ) ) ) ; fail ( "NullPointerException expected" ) ; } catch ( java.lang.NullPointerException expected ) { } }

Target:
public void test_Harmony_1352 ( ) throws java.lang.Exception { try { new java.text.RuleBasedCollator ( "&9 < a< b< c< d" ) . getCollationElementIterator ( ( ( java.text.CharacterIterator ) ( null ) ) ) ; fail ( "NullPointerException expected" ) ; } catch ( java.lang.NullPointerException expected ) { } }
Source:
public static native java.lang.String getScript ( java.lang.String locale ) ;

Target:
public static native java.lang.String addLikelySubtags ( java.lang.String locale ) ;
Source:
public java.lang.String toString ( ) { return ( "IsInstanceOf(" + ( clazz.getName ( ) ) ) + ")" ; }

Target:
public java.lang.String toString ( ) { return ( "Predicates.instanceOf(" + ( clazz.getName ( ) ) ) + ")" ; }
Source:
public void onSuccessfulFill ( android.content.Context appContext ) { if ( ( lastTimestampProcessed ) != null ) { android.preference.PreferenceManager.getDefaultSharedPreferences ( appContext ) . edit ( ) . putLong ( com.android.dialer.calllog.datasources.systemcalllog.SystemCallLogDataSource.PREF_LAST_TIMESTAMP_PROCESSED , lastTimestampProcessed ) . apply ( ) ; } }

Target:
public void onSuccessfulFill ( android.content.Context appContext ) { if ( ( lastTimestampProcessed ) != null ) { com.android.dialer.storage.StorageComponent.get ( appContext ) . unencryptedSharedPrefs ( ) . edit ( ) . putLong ( com.android.dialer.calllog.datasources.systemcalllog.SystemCallLogDataSource.PREF_LAST_TIMESTAMP_PROCESSED , lastTimestampProcessed ) . apply ( ) ; } }
Source:
public com.android.ims.internal.IImsRegistration getRegistration ( int slotId ) throws android.os.RemoteException { synchronized ( mLock ) { return mIImsServiceController.getRegistration ( slotId ) ; } }

Target:
public android.telephony.ims.aidl.IImsRegistration getRegistration ( int slotId ) throws android.os.RemoteException { synchronized ( mLock ) { return mIImsServiceController.getRegistration ( slotId ) ; } }
Source:
private native void gattClientUpdateAdvNative ( int advertiserId , int min_interval , int max_interval , int adv_type , int chnl_map , int tx_power , int timeout_s ) ;

Target:
private native void gattClientSetParamsNative ( int advertiserId , int min_interval , int max_interval , int adv_type , int chnl_map , int tx_power ) ;
Source:
public boolean isStarted ( ) { return ( mIface ) != null ; }

Target:
public java.lang.String toString ( ) { return ( ( ( ( "mBaseIface: " + ( mBaseIface ) ) + ", mIface: " ) + ( mIface ) ) + ", mState: " ) + ( mState ) ; }
Source:
private static void sloge ( java.lang.String s ) { android.util.Log.e ( com.android.internal.telephony.gsm.GsmServiceStateTracker.LOG_TAG , ( "[GsmSST] " + s ) ) ; }

Target:
private static void sloge ( java.lang.String s ) { android.telephony.Rlog.e ( com.android.internal.telephony.gsm.GsmServiceStateTracker.LOG_TAG , ( "[GsmSST] " + s ) ) ; }
Source:
public void saveProperties ( java.util.Properties props ) { super . saveProperties ( props ) ; if ( ( getMinPlatformToolsRevision ( ) ) != ( MIN_PLATFORM_TOOLS_REV_INVALID ) ) { props.setProperty ( com.android.sdklib.internal.repository.packages.ToolPackage.PROP_MIN_PLATFORM_TOOLS_REV , java.lang.Integer.toString ( getMinPlatformToolsRevision ( ) ) ) ; } }

Target:
public void saveProperties ( java.util.Properties props ) { super . saveProperties ( props ) ; if ( ( getMinPlatformToolsRevision ( ) ) != ( MIN_PLATFORM_TOOLS_REV_INVALID ) ) { props.setProperty ( PkgProps.MIN_PLATFORM_TOOLS_REV , java.lang.Integer.toString ( getMinPlatformToolsRevision ( ) ) ) ; } }
Source:
public void reject ( java.lang.String callId ) throws android.os.RemoteException { rejectedCallIds.add ( callId ) ; }

Target:
public void reject ( java.lang.String callId , android.telecom.Logging.Session.Info info ) throws android.os.RemoteException { rejectedCallIds.add ( callId ) ; }
Source:
public static double DoubleSubtraction ( ) { double a ; double b ; double c ; a = 6.0 ; b = 2.0 ; c = a - b ; return c ; }

Target:
public static int IntSubtraction ( ) { int a ; int b ; int c ; a = Main.$inline$int ( 6 ) ; b = Main.$inline$int ( 2 ) ; c = a - b ; return c ; }
Source:
private void startAnimation ( final android.animation.ValueAnimator mValueAnimator ) throws java.lang.Throwable { this . runTestOnUiThread ( new java.lang.Runnable ( ) { public void run ( ) { mActivity.startAnimation ( mValueAnimator ) ; } } ) ; }

Target:
private void startAnimation ( final android.animation.ValueAnimator animator ) throws java.lang.Throwable { this . runTestOnUiThread ( new java.lang.Runnable ( ) { public void run ( ) { mActivity.startAnimation ( animator ) ; } } ) ; }
Source:
public static void computeLog1p ( android.renderscript.cts.TestLog1p.ArgumentsFloatFloat args ) { args.ulf = 2 ; args.ulfRelaxed = 16 ; args.out = ( ( float ) ( java.lang.StrictMath.log1p ( args.in ) ) ) ; }

Target:
public static void computeAsinpi ( android.renderscript.cts.TestAsinpi.ArgumentsFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( ( ( android.renderscript.cts.CoreMathVerifier.asin ( args.inV ) ) / ( ( float ) ( java.lang.Math.PI ) ) ) , 5 , 128 ) ; }
Source:
public void decode ( @ org.jetbrains.annotations.NotNull com.android.tools.rpclib.binary.Decoder d ) throws java.io.IOException { com.android.tools.rpclib.rpccore.ObjectFactory.decode ( d , this ) ; }

Target:
public com.android.tools.rpclib.rpccore.RpcError setMessage ( java.lang.String v ) { mMessage = v ; return this ; }
Source:
public void run ( ) { if ( mActivityStarted ) { initAnimations ( ) ; initSideFragments ( ) ; } }

Target:
public void run ( ) { if ( mActivityStarted ) { initAnimations ( ) ; initSideFragments ( ) ; initMenuItemViews ( ) ; } }
Source:
public void onReceive ( android.content.Context context , android.content.Intent intent ) { accept ( getResultExtras ( true ) . getStringArrayList ( com.android.cts.verifier.notifications.MockListener.EXTRA_PAYLOAD ) ) ; }

Target:
public void onDestroy ( ) { super . onDestroy ( ) ; android.util.Log.d ( com.android.cts.verifier.notifications.MockListener.TAG , "destroyed" ) ; }
Source:
public int getSpanSize ( int position ) { return mFullSpanItems.contains ( position ) ? glm.getSpanCount ( ) : 1 ; }

Target:
public int getSpanSize ( int position ) { return mFullSpanItems.contains ( position ) ? glm.getSpanCount ( ) : mSpanPerItem ; }
Source:
public void onSuccess ( ) { android.telecom.Log.d ( this , "Adding simService %s" , currentSimService.getComponentName ( ) ) ; simServiceComponentNames.add ( currentSimService.getComponentName ( ) ) ; simServiceBinders.add ( currentSimService.mServiceInterface.asBinder ( ) ) ; maybeComplete ( ) ; }

Target:
public void onFailure ( ) { android.telecom.Log.w ( this , "onFailure - could not bind to CS for call %s" , call.getId ( ) ) ; }
Source:
public com.android.test.common.fixture.GradleTestProject create ( ) { return new com.android.test.common.fixture.GradleTestProject ( name , projectDir ) ; }

Target:
public com.android.build.gradle.integration.common.fixture.GradleTestProject create ( ) { return new com.android.build.gradle.integration.common.fixture.GradleTestProject ( name , projectDir ) ; }
Source:
public long getId ( ) { return mBuffer.getInt ( ) ; }

Target:
public long getId ( ) { return ( mBuffer.getInt ( ) ) & 4294967295L ; }
Source:
public void addDynamicConfigFile ( java.lang.String moduleName , java.io.File configFile ) { mBuildInfo.addBuildAttribute ( ( ( com.android.compatibility.common.util.DynamicConfigHostSide.CONFIG_PATH_PREFIX ) + moduleName ) , configFile.getAbsolutePath ( ) ) ; mBuildInfo.setFile ( configFile.getName ( ) , configFile , "1" ) ; }

Target:
public void addDynamicConfigFile ( java.lang.String moduleName , java.io.File configFile ) { mBuildInfo.setFile ( configFile.getName ( ) , configFile , ( ( com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper.CONFIG_PATH_PREFIX ) + moduleName ) ) ; }
Source:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; mContext = getInstrumentation ( ) . getTargetContext ( ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; mContext = getInstrumentation ( ) . getTargetContext ( ) ; mHasFeature = mContext.getPackageManager ( ) . hasSystemFeature ( android.voicesettings.cts.VoiceSettingsTestBase.FEATURE_VOICE_RECOGNIZERS ) ; }
Source:
public java.lang.invoke.MethodHandle asFixedArity ( ) { assert ! ( isVarargsCollector ( ) ) ; return this ; }

Target:
public java.lang.invoke.MethodHandle asFixedArity ( ) { java.lang.invoke.MethodHandle mh = this ; if ( mh.isVarargsCollector ( ) ) { mh = ( ( java.lang.invoke.Transformers.VarargsCollector ) ( mh ) ) . asFixedArity ( ) ; } assert ! ( mh.isVarargsCollector ( ) ) ; return mh ; }
Source:
public long getDevPersistBytes ( long def ) { return getSecureLong ( android.provider.Settings.Secure.NETSTATS_DEV_PERSIST_BYTES , def ) ; }

Target:
public long getTimeCacheMaxAge ( ) { return getGlobalLong ( android.provider.Settings.Global.NETSTATS_TIME_CACHE_MAX_AGE , android.text.format.DateUtils.DAY_IN_MILLIS ) ; }
Source:
private void saveNitzTime ( long time ) { android.os.SystemProperties.set ( "gsm.nitz.time" , java.lang.String.valueOf ( time ) ) ; mSavedTime = time ; mSavedAtTime = android.os.SystemClock.elapsedRealtime ( ) ; mNitzUpdatedTime = true ; }

Target:
private void saveNitzTime ( long time ) { mDeviceState.setNitzTimeProperty ( time ) ; mSavedTime = time ; mSavedAtTime = mDeviceState.elapsedRealtime ( ) ; mNitzUpdatedTime = true ; }
Source:
public static java.util.Set < java.lang.String > getFullLocaleNameSet ( ) { return android.icu.impl.ICUResourceBundle.getFullLocaleNameSet ( android.icu.impl.ICUResourceBundle.ICU_BASE_NAME , android.icu.impl.ICUResourceBundle.ICU_DATA_CLASS_LOADER ) ; }

Target:
public static final java.util.Locale [ ] getAvailableLocales ( ) { return android.icu.impl.ICUResourceBundle.getAvailEntry ( ICUData.ICU_BASE_NAME , android.icu.impl.ICUResourceBundle.ICU_DATA_CLASS_LOADER ) . getLocaleList ( ) ; }
Source:
private void onCapabilitiesUpdatedResponseLocal ( com.android.server.wifi.nan.WifiNanNative.Capabilities capabilities ) { if ( com.android.server.wifi.nan.WifiNanStateManager.VDBG ) { android.util.Log.v ( com.android.server.wifi.nan.WifiNanStateManager.TAG , ( "onCapabilitiesUpdatedResponseLocal: capabilites=" + capabilities ) ) ; } mCapabilities = capabilities ; mCharacteristics = null ; }

Target:
private void onCapabilitiesUpdatedResponseLocal ( com.android.server.wifi.aware.WifiAwareNative.Capabilities capabilities ) { if ( com.android.server.wifi.aware.WifiAwareStateManager.VDBG ) { android.util.Log.v ( com.android.server.wifi.aware.WifiAwareStateManager.TAG , ( "onCapabilitiesUpdatedResponseLocal: capabilites=" + capabilities ) ) ; } mCapabilities = capabilities ; mCharacteristics = null ; }
Source:
private void updatePendingConfiguration ( android.content.res.Configuration config ) { synchronized ( mPackages ) { if ( ( ( mPendingConfiguration ) == null ) || ( mPendingConfiguration.isOtherSeqNewer ( config ) ) ) { mPendingConfiguration = config ; } } }

Target:
private void updatePendingConfiguration ( android.content.res.Configuration config ) { synchronized ( mResourcesManager ) { if ( ( ( mPendingConfiguration ) == null ) || ( mPendingConfiguration.isOtherSeqNewer ( config ) ) ) { mPendingConfiguration = config ; } } }
Source:
public static java.lang.String getProperty ( java.lang.String name , java.lang.String defaultValue ) { java.lang.System.checkPropertyName ( name ) ; return java.lang.System.getProperties ( ) . getProperty ( name , defaultValue ) ; }

Target:
public static java.lang.String getProperty ( java.lang.String name , java.lang.String defaultValue ) { java.lang.System.checkPropertyName ( name ) ; return java.lang.System.systemProperties.getProperty ( name , defaultValue ) ; }
Source:
public boolean requiresUi ( android.content.Context context , com.android.dialer.callintent.CallIntentBuilder builder ) { return ! ( com.android.dialer.util.PermissionsUtil.hasPhonePermissions ( context ) ) ; }

Target:
public boolean requiresUi ( android.content.Context context , com.android.dialer.callintent.CallIntentBuilder builder ) { return ! ( com.android.dialer.telecom.TelecomUtil.hasCallPhonePermission ( context ) ) ; }
Source:
public com.android.builder.model.AndroidProject executeAndReturnModel ( java.lang.String ... tasks ) { return execute ( java.util.Collections.< java.lang.String > emptyList ( ) , true , tasks ) ; }

Target:
public com.android.builder.model.AndroidProject executeAndReturnModel ( boolean emulateStudio_1_0 , java.lang.String ... tasks ) { return execute ( java.util.Collections.< java.lang.String > emptyList ( ) , true , emulateStudio_1_0 , tasks ) ; }
Source:
void updateNowPlayingList ( @ android.annotation.Nullable com.android.bluetooth.avrcp.MediaController mediaController ) { getNowPlayingList ( mediaController ) ; }

Target:
void updateNowPlayingList ( @ android.annotation.Nullable com.android.bluetooth.avrcp.MediaController mediaController ) { mNowPlayingListUpdated = true ; getNowPlayingList ( mediaController ) ; }
Source:
public com.android.ims.ImsCallProfile createCallProfile ( int sessionId , int callServiceType , int callType ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; return getServiceInterface ( mBinder ) . createCallProfile ( mSlotId , mSupportedFeature , sessionId , callServiceType , callType ) ; } }

Target:
public com.android.ims.internal.IImsCallSession createCallSession ( int sessionId , com.android.ims.ImsCallProfile profile , com.android.ims.internal.IImsCallSessionListener listener ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; return getServiceInterface ( mBinder ) . createCallSession ( sessionId , profile , listener ) ; } }
Source:
public void setOutputCurrency ( java.lang.String value ) { outputCurrency = value ; }

Target:
public void setParseNoExponent ( java.lang.String value ) { parseNoExponent = java.lang.Integer.valueOf ( value ) ; }
Source:
public int import_key ( java.lang.String name , byte [ ] data ) throws android.os.RemoteException ;

Target:
public int del ( java.lang.String name , int uid ) throws android.os.RemoteException ;
Source:
public void tearDown ( ) throws java.lang.Exception { java.net.CookieHandler.setDefault ( defaultHandler ) ; super . tearDown ( ) ; }

Target:
public void tearDown ( ) throws java.lang.Exception { java.net.CookieHandler.setDefault ( defaultHandler ) ; server.shutdown ( ) ; super . tearDown ( ) ; }
Source:
public void setIsInEcm ( boolean isInEcm ) { setSystemProperty ( TelephonyProperties.PROPERTY_INECM_MODE , java.lang.String.valueOf ( isInEcm ) ) ; mIsPhoneInEcmState = isInEcm ; }

Target:
public void setIsInEcm ( boolean isInEcm ) { setGlobalSystemProperty ( TelephonyProperties.PROPERTY_INECM_MODE , java.lang.String.valueOf ( isInEcm ) ) ; mIsPhoneInEcmState = isInEcm ; }
Source:
public com.android.layoutlib.api.SceneResult moveChild ( java.lang.Object parentView , java.lang.Object childView , int index , java.util.Map < java.lang.String , java.lang.String > layoutParams , com.android.layoutlib.api.LayoutScene.IAnimationListener listener ) { return SceneStatus.NOT_IMPLEMENTED.createResult ( ) ; }

Target:
public com.android.ide.common.rendering.api.Result moveChild ( java.lang.Object parentView , java.lang.Object childView , int index , java.util.Map < java.lang.String , java.lang.String > layoutParams , com.android.ide.common.rendering.api.IAnimationListener listener ) { return Status.NOT_IMPLEMENTED.createResult ( ) ; }
Source:
public void testGenerate_NotInitialized_Fail ( ) throws java.lang.Exception { assertFalse ( "Should fail when keystore is not initialized" , mKeyStore.generate ( android.security.KeyStoreTest.TEST_KEYNAME , KeyStore.UID_SELF , NativeCrypto.EVP_PKEY_RSA , android.security.KeyStoreTest.RSA_KEY_SIZE , KeyStore.FLAG_ENCRYPTED , null ) ) ; }

Target:
public void testGenerate_NotInitialized_Fail ( ) throws java.lang.Exception { assertFalse ( "Should fail when keystore is not initialized" , mKeyStore.generate ( android.security.KeyStoreTest.TEST_KEYNAME , KeyStore.UID_SELF , NativeConstants.EVP_PKEY_RSA , android.security.KeyStoreTest.RSA_KEY_SIZE , KeyStore.FLAG_ENCRYPTED , null ) ) ; }
Source:
public static void main ( java.lang.String [ ] args ) throws java.lang.Throwable { Main.testfindSpecial_invokeSuperBehaviour ( ) ; Main.testfindSpecial_invokeDirectBehaviour ( ) ; }

Target:
public static void main ( java.lang.String [ ] args ) throws java.lang.Throwable { Main.testfindSpecial_invokeSuperBehaviour ( ) ; Main.testfindSpecial_invokeDirectBehaviour ( ) ; Main.testThrowException ( ) ; }
Source:
public void test_U8_3_SCALE10_10_inRectangle ( ) { testReszie ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inY , Element.DataType.UNSIGNED_8 , 3 , 1.0F , 1.0F ) ; checkError ( ) ; }

Target:
public void test_U8_3_SCALE10_10_inRectangle ( ) { testResize ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inY , Element.DataType.UNSIGNED_8 , 3 , 1.0F , 1.0F ) ; checkError ( ) ; }
Source:
com.android.bluetooth.gatt.GattDbElement GetSampleGattDbElement ( ) { return new com.android.bluetooth.gatt.GattDbElement ( ) ; }

Target:
com.android.bluetooth.gatt.GattDbElement getSampleGattDbElement ( ) { return new com.android.bluetooth.gatt.GattDbElement ( ) ; }
Source:
synchronized void nScriptSetVarVE ( int id , int slot , byte [ ] val , int e , int [ ] dims ) { validate ( ) ; rsnScriptSetVarVE ( mContext , id , slot , val , e , dims ) ; }

Target:
synchronized void nScriptSetVarV ( long id , int slot , byte [ ] val ) { validate ( ) ; rsnScriptSetVarV ( mContext , id , slot , val ) ; }
Source:
public java.lang.Iterable < com.android.jack.ir.ast.JSsaVariableUseRef > getRhs ( ) { return rhs.values ( ) ; }

Target:
public com.android.jack.ir.ast.JSsaVariableUseRef [ ] getRhs ( ) { return java.util.Arrays.copyOf ( rhs , rhs.length ) ; }
Source:
private void setNotification ( boolean enable ) { android.bluetooth.BluetoothGattCharacteristic characteristic = getCharacteristic ( com.android.cts.verifier.bluetooth.BleClientService.UPDATE_CHARACTERISTIC_UUID ) ; if ( characteristic != null ) { setNotification ( characteristic , enable ) ; } }

Target:
private void setNotification ( boolean enable ) { android.bluetooth.BluetoothGattCharacteristic characteristic = getCharacteristic ( com.android.cts.verifier.bluetooth.BleClientService.UPDATE_CHARACTERISTIC_UUID ) ; if ( characteristic != null ) mBluetoothGatt.setCharacteristicNotification ( characteristic , enable ) ; }
Source:
public static java.lang.String getNameOfNamedCurve ( int namedCurve ) { return org.bouncycastle.crypto.tls.TlsECCUtils.isSupportedNamedCurve ( namedCurve ) ? org.bouncycastle.crypto.tls.TlsECCUtils.curveNames [ ( namedCurve - 1 ) ] : null ; }

Target:
public static java.lang.String getNameOfNamedCurve ( int namedCurve ) { return org.bouncycastle.crypto.tls.TlsECCUtils.isSupportedNamedCurve ( namedCurve ) ? org.bouncycastle.crypto.tls.TlsECCUtils.CURVE_NAMES [ ( namedCurve - 1 ) ] : null ; }
Source:
public void addNotifyStatusChangedCallbackIfAvailable ( com.android.ims.MmTelFeatureConnection.IFeatureUpdate c ) throws com.android.ims.ImsException { if ( ! ( mMmTelFeatureConnection.isBinderAlive ( ) ) ) { throw new com.android.ims.ImsException ( "Binder is not active!" , ImsReasonInfo.CODE_LOCAL_IMS_SERVICE_DOWN ) ; } if ( c != null ) { mStatusCallbacks.add ( c ) ; } }

Target:
public void addNotifyStatusChangedCallbackIfAvailable ( com.android.ims.MmTelFeatureConnection.IFeatureUpdate c ) throws com.android.ims.ImsException { if ( ! ( mMmTelFeatureConnection.isBinderAlive ( ) ) ) { throw new com.android.ims.ImsException ( "Binder is not active!" , android.telephony.ims.ImsReasonInfo.CODE_LOCAL_IMS_SERVICE_DOWN ) ; } if ( c != null ) { mStatusCallbacks.add ( c ) ; } }
Source:
protected void engineUpdate ( byte [ ] input , int offset , int len ) { org.conscrypt.NativeCrypto.EVP_DigestUpdate ( ctx.getContext ( ) , input , offset , len ) ; }

Target:
protected void engineUpdate ( byte [ ] input , int offset , int len ) { final org.conscrypt.OpenSSLDigestContext ctxLocal = ctx ; org.conscrypt.NativeCrypto.EVP_DigestUpdate ( ctxLocal , input , offset , len ) ; }
Source:
private java.lang.String getRelativeGradleProjectPath ( java.lang.String path , java.lang.String root ) { java.lang.String relativePath = com.android.ide.eclipse.adt.internal.wizards.exportgradle.BuildFileCreator.getRelativePath ( path , root ) ; return ":" + ( relativePath.replaceAll ( ( "\\" + ( org.eclipse.core.runtime.Path.SEPARATOR ) ) , ":" ) ) ; }

Target:
private java.lang.String getRelativeGradleProjectPath ( org.eclipse.core.runtime.IPath path , org.eclipse.core.runtime.IPath root ) { org.eclipse.core.runtime.IPath relativePath = path.makeRelativeTo ( root ) ; java.lang.String relativeString = relativePath.toOSString ( ) ; return ":" + ( relativeString.replaceAll ( java.util.regex.Pattern.quote ( java.io.File.separator ) , ":" ) ) ; }
Source:
public boolean enableNetworkWithoutConnect ( int netId ) { if ( com.android.server.wifi.WifiNative.DBG ) logDbg ( ( "enableNetworkWithoutConnect nid=" + ( java.lang.Integer.toString ( netId ) ) ) ) ; return doBooleanCommand ( ( ( ( "ENABLE_NETWORK " + netId ) + " " ) + "no-connect" ) ) ; }

Target:
public boolean disconnect ( ) { if ( com.android.server.wifi.WifiNative.DBG ) logDbg ( "DISCONNECT " ) ; if ( com.android.server.wifi.WifiNative.HIDL_SUP_ENABLE ) { return mSupplicantStaIfaceHal.disconnect ( ) ; } else { return doBooleanCommand ( "DISCONNECT" ) ; } }
Source:
private static final void checkCert ( java.security.cert.X509Certificate cert ) throws java.security.cert.CertificateException { org.conscrypt.ChainStrengthAnalyzer.checkKeyLength ( cert ) ; org.conscrypt.ChainStrengthAnalyzer.checkNotMD5 ( cert ) ; }

Target:
private static final void checkCert ( java.security.cert.X509Certificate cert ) throws java.security.cert.CertificateException { org.conscrypt.ChainStrengthAnalyzer.checkKeyLength ( cert ) ; org.conscrypt.ChainStrengthAnalyzer.checkSignatureAlgorithm ( cert ) ; }
Source:
public static native byte [ ] i2d_SSL_SESSION ( int sslSessionNativePointer ) ;

Target:
public static native long SSL_get_mode ( long ssl ) ;