auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void executeShellCommand ( java.lang.String command , com.android.ddmlib.IShellOutputReceiver receiver ) throws java.io.IOException { com.android.ddmlib.AdbHelper.executeRemoteCommand ( com.android.ddmlib.AndroidDebugBridge.getSocketAddress ( ) , command , this , receiver ) ; }

Target:
public void executeShellCommand ( java.lang.String command , com.android.ddmlib.IShellOutputReceiver receiver ) throws com.android.ddmlib.TimeoutException , java.io.IOException { com.android.ddmlib.AdbHelper.executeRemoteCommand ( com.android.ddmlib.AndroidDebugBridge.getSocketAddress ( ) , command , this , receiver , com.android.ddmlib.DdmPreferences.getTimeOut ( ) ) ; }
Source:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; originalLocale = java.util.Locale.getDefault ( ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; originalLocale = java.util.Locale.getDefault ( ) ; android.text.format.cts.TimeTest.maybeInitializeSystemLocales ( ) ; }
Source:
private native void gattConnectionParameterUpdateNative ( int client_if , java.lang.String address , int minInterval , int maxInterval , int latency , int timeout ) ;

Target:
private native void gattConnectionParameterUpdateNative ( int clientIf , java.lang.String address , int minInterval , int maxInterval , int latency , int timeout ) ;
Source:
public java.util.Collection < java.lang.String > getApplicableElements ( ) { return java.util.Arrays.asList ( com.android.SdkConstants.TAG_APPLICATION , com.android.SdkConstants.TAG_ACTIVITY , com.android.SdkConstants.TAG_SERVICE , com.android.SdkConstants.TAG_RECEIVER , com.android.SdkConstants.TAG_PROVIDER ) ; }

Target:
public boolean appliesTo ( @ com.android.annotations.NonNull com.android.resources.ResourceFolderType folderType ) { return ( folderType == ( com.android.resources.ResourceFolderType.VALUES ) ) || ( folderType == ( com.android.resources.ResourceFolderType.LAYOUT ) ) ; }
Source:
native void rsnAllocationRead3D ( long con , long id , int xoff , int yoff , int zoff , int mip , int w , int h , int depth , java.lang.Object d , int sizeBytes , int dt ) ;

Target:
native void rsnAllocationRead2D ( long con , long id , int xoff , int yoff , int mip , int face , int w , int h , java.lang.Object d , int sizeBytes , int dt , int mSize , boolean usePadding ) ;
Source:
public org.gradle.api.tasks.compile.AbstractCompile getJavaCompiler ( ) { return getVariantData ( ) . javaCompileTask ; }

Target:
public org.gradle.api.tasks.compile.AbstractCompile getJavaCompiler ( ) { return getVariantData ( ) . javaCompilerTask ; }
Source:
public void test_RSA_private_encrypt_null_key_Failure ( ) throws java.lang.Exception { try { org.conscrypt.NativeCrypto.RSA_private_encrypt ( 0 , new byte [ 0 ] , new byte [ 0 ] , org.conscrypt.NativeCryptoTest.NULL_EVP_PKEY , 0 ) ; fail ( ) ; } catch ( java.lang.NullPointerException expected ) { } }

Target:
public void test_RSA_private_decrypt_null_key_Failure ( ) throws java.lang.Exception { try { org.conscrypt.NativeCrypto.RSA_private_decrypt ( 0 , new byte [ 0 ] , new byte [ 0 ] , null , 0 ) ; fail ( "Expecting null pointer exception for RSA_private_decrypt with null key" ) ; } catch ( java.lang.NullPointerException expected ) { } }
Source:
java.lang.String getOutputFileNameForSplit ( java.lang.String split ) { java.lang.String apkName = "${project.archivesBaseName}-${outputBaseName}_${split}" ; return apkName + ( ( signingConfig ) == null ? "-unsigned.apk" : "-unaligned.apk" ) ; }

Target:
void execute ( java.lang.String split , java.io.File file ) ;
Source:
private static java.lang.String getTypeDescription ( com.google.devtools.common.options.OptionDefinition optionsField , com.google.devtools.common.options.OptionsData optionsData ) { return optionsData.getConverter ( optionsField ) . getTypeDescription ( ) ; }

Target:
private static java.lang.String getTypeDescription ( com.google.devtools.common.options.OptionDefinition optionsDefinition ) { return optionsDefinition.getConverter ( ) . getTypeDescription ( ) ; }
Source:
public boolean isCategory1 ( ) { switch ( basicType ) { case com.android.jack.dx.rop.type.Type.BT_LONG : case com.android.jack.dx.rop.type.Type.BT_DOUBLE : { return false ; } } return true ; }

Target:
public boolean isCategory1 ( ) { switch ( basicType ) { case com.android.jack.dx.rop.type.Type.BT_CLOSURE : case com.android.jack.dx.rop.type.Type.BT_LONG : case com.android.jack.dx.rop.type.Type.BT_DOUBLE : { return false ; } } return true ; }
Source:
public boolean containsEntry ( java.lang.Object key , java.lang.Object value ) { java.util.Collection < V2 > values = get ( ( ( K ) ( key ) ) ) ; return values.contains ( value ) ; }

Target:
public java.util.Collection < V > get ( java.lang.Object key ) { return containsKey ( key ) ? multimap.get ( ( ( K ) ( key ) ) ) : null ; }
Source:
public android.net.RecommendationRequest.Builder setCurrentRecommendedWifiConfig ( android.net.wifi.WifiConfiguration config ) { this . mCurrentConfig = config ; return this ; }

Target:
public android.net.RecommendationRequest.Builder setDefaultWifiConfig ( android.net.wifi.WifiConfiguration config ) { this . mDefaultConfig = config ; return this ; }
Source:
public void setTrace ( @ com.android.annotations.NonNull com.android.tools.perflib.vmtrace.VmTraceData traceData , @ com.android.annotations.NonNull java.lang.String threadName , com.android.tools.perflib.vmtrace.ClockType renderClock ) { mTraceData = traceData ; displayThread ( threadName ) ; setRenderClock ( renderClock ) ; }

Target:
public void setTrace ( @ com.android.annotations.NonNull com.android.tools.perflib.vmtrace.VmTraceData traceData , @ com.android.annotations.NonNull java.lang.String threadName , com.android.tools.perflib.vmtrace.ClockType renderClock ) { mTraceData = traceData ; mRenderContext = new com.android.tools.perflib.vmtrace.viz.RenderContext ( traceData , renderClock ) ; displayThread ( threadName ) ; }
Source:
private static void configureChannelForReceiving ( java.nio.channels.DatagramChannel receivingChannel ) throws java.lang.Exception { receivingChannel.configureBlocking ( false ) ; }

Target:
private static void configureChannelForReceiving ( java.nio.channels.DatagramChannel receivingChannel ) throws java.lang.Exception { receivingChannel.socket ( ) . setSoTimeout ( 200 ) ; receivingChannel.configureBlocking ( true ) ; }
Source:
public java.lang.String getFullName ( ) { if ( ( densityFilter ) == null ) { return variantData.getVariantConfiguration ( ) . computeFullNameWithSplits ( com.android.build.gradle.internal.variant.BaseVariantOutputData.UNIVERSAL ) ; } return variantData.getVariantConfiguration ( ) . computeFullNameWithSplits ( densityFilter ) ; }

Target:
public java.lang.String getBaseName ( ) { return variantData.getVariantConfiguration ( ) . computeBaseNameWithSplits ( getFilterName ( ) ) ; }
Source:
static com.google.common.collect.ImmutableList < com.android.dialer.phonelookup.PhoneLookup > providePhoneLookupList ( com.android.dialer.phonelookup.cp2.Cp2LocalPhoneLookup cp2LocalPhoneLookup , com.android.dialer.phonelookup.cp2.Cp2RemotePhoneLookup cp2RemotePhoneLookup , com.android.dialer.phonelookup.blockednumber.DialerBlockedNumberPhoneLookup dialerBlockedNumberPhoneLookup , com.android.dialer.phonelookup.blockednumber.SystemBlockedNumberPhoneLookup systemBlockedNumberPhoneLookup , com.android.dialer.phonelookup.spam.SpamPhoneLookup spamPhoneLookup ) { return com.google.common.collect.ImmutableList.of ( cp2LocalPhoneLookup , cp2RemotePhoneLookup , dialerBlockedNumberPhoneLookup , systemBlockedNumberPhoneLookup , spamPhoneLookup ) ; }

Target:
static com.google.common.collect.ImmutableList < com.android.dialer.phonelookup.PhoneLookup > providePhoneLookupList ( com.android.dialer.phonelookup.cp2.Cp2DefaultDirectoryPhoneLookup cp2DefaultDirectoryPhoneLookup , com.android.dialer.phonelookup.cp2.Cp2ExtendedDirectoryPhoneLookup cp2ExtendedDirectoryPhoneLookup , com.android.dialer.phonelookup.blockednumber.DialerBlockedNumberPhoneLookup dialerBlockedNumberPhoneLookup , com.android.dialer.phonelookup.blockednumber.SystemBlockedNumberPhoneLookup systemBlockedNumberPhoneLookup , com.android.dialer.phonelookup.spam.SpamPhoneLookup spamPhoneLookup ) { return com.google.common.collect.ImmutableList.of ( cp2DefaultDirectoryPhoneLookup , cp2ExtendedDirectoryPhoneLookup , dialerBlockedNumberPhoneLookup , systemBlockedNumberPhoneLookup , spamPhoneLookup ) ; }
Source:
public native libcore.io.StructStatFs fstatfs ( java.io.FileDescriptor fd ) throws libcore.io.ErrnoException ;

Target:
public native libcore.io.StructStatVfs fstatvfs ( java.io.FileDescriptor fd ) throws libcore.io.ErrnoException ;
Source:
private com.android.jack.ir.ast.JParameter getNewParameter ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JParameter oldParameter ) { for ( com.android.jack.ir.ast.JParameter newParameter : targetMethod.getParams ( ) ) { if ( newParameter.getName ( ) . equals ( oldParameter.getName ( ) ) ) { return newParameter ; } } throw new java.lang.AssertionError ( ) ; }

Target:
protected java.lang.String cloneLocalName ( @ javax.annotation.Nonnull java.lang.String orgName ) { return orgName ; }
Source:
private static int bits32 ( int x ) { return java.lang.Integer.bitCount ( x ) ; }

Target:
private static int $noinline$BitCountInt ( int x ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return java.lang.Integer.bitCount ( x ) ; }
Source:
public void entering ( java.lang.String sourceClass , java.lang.String sourceMethod ) { if ( ( java.util.logging.Level.FINER.intValue ( ) ) < ( levelValue ) ) { return ; } logp ( java.util.logging.Level.FINER , sourceClass , sourceMethod , "ENTRY" ) ; }

Target:
public void config ( java.util.function.Supplier < java.lang.String > msgSupplier ) { log ( java.util.logging.Level.CONFIG , msgSupplier ) ; }
Source:
java.util.Collection < ? extends com.android.sched.vfs.BaseVElement > list ( @ javax.annotation.Nonnull com.android.sched.vfs.ReadZipFS.ZipVDir dir ) { return dir.list ( ) ; }

Target:
java.util.Collection < ? extends com.android.sched.vfs.BaseVElement > list ( @ javax.annotation.Nonnull com.android.sched.vfs.ReadZipFS.ZipVDir dir ) { return dir.getAllFromCache ( ) ; }
Source:
public static synchronized com.android.internal.telephony.uicc.UiccController make ( android.content.Context c , com.android.internal.telephony.CommandsInterface ci ) { if ( ( com.android.internal.telephony.uicc.UiccController.mInstance ) != null ) { throw new java.lang.RuntimeException ( "UiccController.make() should only be called once" ) ; } com.android.internal.telephony.uicc.UiccController.mInstance = new com.android.internal.telephony.uicc.UiccController ( c , ci ) ; return com.android.internal.telephony.uicc.UiccController.mInstance ; }

Target:
public static com.android.internal.telephony.uicc.UiccController make ( android.content.Context c , com.android.internal.telephony.CommandsInterface ci ) { synchronized ( com.android.internal.telephony.uicc.UiccController.mLock ) { if ( ( com.android.internal.telephony.uicc.UiccController.mInstance ) != null ) { throw new java.lang.RuntimeException ( "UiccController.make() should only be called once" ) ; } com.android.internal.telephony.uicc.UiccController.mInstance = new com.android.internal.telephony.uicc.UiccController ( c , ci ) ; return com.android.internal.telephony.uicc.UiccController.mInstance ; } }
Source:
public void getVideoQuality ( com.android.ims.ImsConfigListener listener ) throws android.os.RemoteException { }

Target:
public void getVideoQuality ( com.android.ims.ImsConfigListener listener ) throws android.os.RemoteException { getImsConfigImpl ( ) . getVideoQuality ( listener ) ; }
Source:
boolean getRenderscriptSupportMode ( ) ;

Target:
java.lang.Boolean getRenderscriptSupportMode ( ) ;
Source:
void stateLogE ( java.lang.String msg ) { loge ( ( ( ( getName ( ) ) + ": " ) + msg ) ) ; }

Target:
void stateLogE ( java.lang.String msg ) { loge ( ( ( ( ( ( getName ( ) ) + ": currentDevice=" ) + ( mDevice ) ) + ", msg=" ) + msg ) ) ; }
Source:
public boolean canWatchFieldAccess ( ) { capabilities ( ) ; return targetVMCapabilities.canWatchFieldAccess ; }

Target:
public boolean canPopFrames ( ) { capabilities ( ) ; return targetVMCapabilities.canPopFrames ; }
Source:
public android.net.IpSecTransform.Builder setUnderlyingNetwork ( android.net.Network net ) { mConfig.setNetwork ( net ) ; return this ; }

Target:
public android.net.IpSecTransform.Builder setUnderlyingNetwork ( @ android.annotation.NonNull android.net.Network net ) { com.android.internal.util.Preconditions.checkNotNull ( net ) ; mConfig.setNetwork ( net ) ; return this ; }
Source:
public void setSkins ( @ com.android.annotations.NonNull java.io.File [ ] skins ) { mSkins = skins ; }

Target:
public void setSkins ( @ com.android.annotations.NonNull java.io.File [ ] skins ) { mSkins = skins ; java.util.Arrays.sort ( mSkins ) ; }
Source:
public android.net.IpSecTransform.Builder setAuthentication ( @ android.net.IpSecTransform.TransformDirection int direction , android.net.IpSecAlgorithm algo ) { mConfig.flow [ direction ] . authenticationAlgo = algo ; return this ; }

Target:
public android.net.IpSecTransform.Builder setAuthentication ( @ android.net.IpSecTransform.TransformDirection int direction , android.net.IpSecAlgorithm algo ) { mConfig.flow [ direction ] . authentication = algo ; return this ; }
Source:
public void noCompress ( java.lang.String noCompress ) { noCompressList = com.android.build.gradle.internal.dsl.Collections.singletonList ( noCompress ) ; }

Target:
public void noCompress ( java.lang.String noCompress ) { noCompressList = java.util.Collections.singletonList ( noCompress ) ; }
Source:
public static int openContentUriForRead ( android.content.Context context , java.lang.String uriString ) { android.content.res.AssetFileDescriptor afd = org.chromium.base.ContentUriUtils.getAssetFileDescriptor ( context , uriString ) ; if ( afd != null ) { return afd.getParcelFileDescriptor ( ) . detachFd ( ) ; } return - 1 ; }

Target:
public static int openContentUriForRead ( android.content.Context context , java.lang.String uriString ) { android.os.ParcelFileDescriptor pfd = org.chromium.base.ContentUriUtils.getParcelFileDescriptor ( context , uriString ) ; if ( pfd != null ) { return pfd.detachFd ( ) ; } return - 1 ; }
Source:
public void sendScreenStateResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo ) { }

Target:
public void getClirResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , int n , int m ) { responseInts ( responseInfo , n , m ) ; }
Source:
protected org.bouncycastle.math.ec.ECCurve cloneCurve ( ) { return new org.bouncycastle.math.ec.ECCurve.Fp ( q , r , a , b ) ; }

Target:
protected org.bouncycastle.math.ec.ECCurve cloneCurve ( ) { return new org.bouncycastle.math.ec.ECCurve.Fp ( q , r , a , b , order , cofactor ) ; }
Source:
public void callSessionConferenceExtendReceived ( com.android.ims.internal.ImsCallSession newSession , com.android.ims.ImsCallProfile profile ) throws android.os.RemoteException { mListener.callSessionConferenceExtendReceived ( ( newSession != null ? newSession.getSession ( ) : null ) , profile ) ; }

Target:
public void callSessionMergeComplete ( android.telephony.ims.stub.ImsCallSessionImplBase newSession ) { try { mListener.callSessionMergeComplete ( ( newSession != null ? newSession.getServiceImpl ( ) : null ) ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e ) ; } }
Source:
protected void onExportProgress ( int progress ) { if ( ( mExportProgressDialog ) != null ) { mExportProgressDialog.setProgress ( progress ) ; } }

Target:
protected void onExportProgress ( int progress ) { if ( ( mExportProgressDialog ) != null ) { mExportProgress = progress ; mExportProgressDialog.setProgress ( progress ) ; } }
Source:
protected void onResume ( ) { super . onResume ( ) ; mHandler.postDelayed ( mTask , com.android.graphics.benchmark.example.SampleActivity.LOOP_PERIOD_MS ) ; }

Target:
protected void onResume ( ) { super . onResume ( ) ; mHandler.postDelayed ( mTask , com.android.game.qualification.example.SampleActivity.LOOP_PERIOD_MS ) ; }
Source:
public void setLineWidth ( float width ) { junit.framework.Assert.assertTrue ( ( width >= 0 ) ) ; mLineWidth = width ; }

Target:
public void setLineWidth ( float width ) { if ( width < 0 ) { throw new java.lang.AssertionError ( ) ; } mLineWidth = width ; }
Source:
public static void doTest ( Transform t ) { t.sayHi ( ) ; Main.doClassTransformation ( Transform.class ) ; t.sayHi ( ) ; }

Target:
public static void doTest ( Transform t ) { t.sayHi ( ) ; Main.doCommonClassRedefinition ( Transform.class , Main.CLASS_BYTES , Main.DEX_BYTES ) ; t.sayHi ( ) ; }
Source:
private final void setFocusedActivityLocked ( com.android.server.am.HistoryRecord r ) { if ( ( mFocusedActivity ) != r ) { mFocusedActivity = r ; mWindowManager.setFocusedApp ( r , true ) ; } }

Target:
final void setFocusedActivityLocked ( com.android.server.am.ActivityRecord r ) { if ( ( mFocusedActivity ) != r ) { mFocusedActivity = r ; mWindowManager.setFocusedApp ( r , true ) ; } }
Source:
public void testFlagIE ( ) { installFromRawResource ( "install.apk" , R.raw.install , ( ( PackageManager.INSTALL_EXTERNAL ) | ( PackageManager.INSTALL_INTERNAL ) ) , false , true , PackageManager.INSTALL_FAILED_INVALID_INSTALL_LOCATION , PackageInfo.INSTALL_LOCATION_AUTO ) ; }

Target:
public void testFlagIEF ( ) { installFromRawResource ( "install.apk" , R.raw.install , ( ( ( android.content.pm.PackageManager.INSTALL_FORWARD_LOCK ) | ( android.content.pm.PackageManager.INSTALL_INTERNAL ) ) | ( android.content.pm.PackageManager.INSTALL_EXTERNAL ) ) , false , true , PackageManager.INSTALL_FAILED_INVALID_INSTALL_LOCATION , PackageInfo.INSTALL_LOCATION_AUTO ) ; }
Source:
public int generate ( java.lang.String name , int uid ) throws android.os.RemoteException ;

Target:
public int import_key ( java.lang.String name , byte [ ] data , int uid , int flags ) throws android.os.RemoteException ;
Source:
public void run ( ) { canRestart [ 0 ] = org.eclipse.jface.dialogs.MessageDialog.openQuestion ( getWindowShell ( ) , "ADB Restart" , ( "A package that depends on ADB has been updated. \n" + "Do you want to restart ADB now?" ) ) ; }

Target:
public void run ( ) { org.eclipse.jface.dialogs.MessageDialog.openInformation ( getWindowShell ( ) , "Android Tools Updated" , ( "The Android SDK and AVD Manager that you are currently using has been updated. " + ( ( "It is recommended that you now close the manager window and re-open it. " + "If you started this window from Eclipse, please check if the Android " ) + "plug-in needs to be updated." ) ) ) ; }
Source:
public void onScheduledRecordingRemoved ( com.android.tv.dvr.ScheduledRecording ... schedules ) { for ( com.android.tv.dvr.ScheduledRecording schedule : schedules ) { if ( ( schedule.getId ( ) ) == ( mSchedule.getId ( ) ) ) { dismissDialog ( ) ; return ; } } }

Target:
public void onScheduledRecordingRemoved ( com.android.tv.dvr.data.ScheduledRecording ... schedules ) { for ( com.android.tv.dvr.data.ScheduledRecording schedule : schedules ) { if ( ( schedule.getId ( ) ) == ( mSchedule.getId ( ) ) ) { dismissDialog ( ) ; return ; } } }
Source:
public void run ( @ org.jetbrains.annotations.NotNull com.intellij.openapi.progress.ProgressIndicator indicator ) { authDataRef.set ( org.jetbrains.plugins.github.GithubUtil.getValidAuthDataFromConfig ( project , indicator ) ) ; }

Target:
public org.jetbrains.plugins.github.util.GithubAuthData convert ( com.intellij.openapi.progress.ProgressIndicator indicator ) throws java.io.IOException { return org.jetbrains.plugins.github.util.GithubUtil.getValidAuthDataFromConfig ( project , indicator ) ; }
Source:
private static native void native_drawTextRun ( int nativeCanvas , char [ ] text , int start , int count , int contextStart , int contextCount , float x , float y , int flags , int paint ) ;

Target:
private static native void native_drawTextRun ( long nativeCanvas , char [ ] text , int start , int count , int contextStart , int contextCount , float x , float y , int flags , long nativePaint ) ;
Source:
public void run ( ) { updateGroup ( ) ; }

Target:
public void onConfigurationChanged ( ) { mRootView.onConfigurationChanged ( ) ; }
Source:
public static long LongRemainder ( ) { long a ; long b ; long c ; a = Main.$inline$long ( 8L ) ; b = Main.$inline$long ( 3L ) ; c = a % b ; return c ; }

Target:
public static float FloatRemainder ( ) { float a ; float b ; float c ; a = 8.0F ; b = 2.5F ; c = a % b ; return c ; }
Source:
public static < E > java.util.Set < E > newSetFromMap ( java.util.Map < E , java.lang.Boolean > map ) { return new com.google.common.collect.Sets.SetFromMap < E > ( map ) ; }

Target:
public static < E > java.util.Set < E > newConcurrentHashSet ( java.lang.Iterable < ? extends E > elements ) { java.util.Set < E > set = com.google.common.collect.Sets.newConcurrentHashSet ( ) ; com.google.common.collect.Iterables.addAll ( set , elements ) ; return set ; }
Source:
private void writeGenericSignatureMarker ( @ javax.annotation.Nonnull org.objectweb.asm.tree.FieldNode fn ) throws java.io.IOException { if ( ( fn.signature ) != null ) { writer.writeKeyword ( Token.GENERIC_SIGNATURE ) ; writer.writeOpen ( ) ; writer.writeString ( fn.signature ) ; writer.writeClose ( ) ; } }

Target:
private void writeGenericSignatureMarker ( @ javax.annotation.Nonnull org.objectweb.asm.tree.FieldNode fn ) throws java.io.IOException { if ( com.android.jill.frontend.java.AsmHelper.hasValidGenericSignature ( fn ) ) { writer.writeKeyword ( Token.GENERIC_SIGNATURE ) ; writer.writeOpen ( ) ; writer.writeString ( fn.signature ) ; writer.writeClose ( ) ; } }
Source:
protected void doBackup ( java.io.File toFile , java.io.File backupFile ) throws java.io.IOException { com.intellij.updater.Utils.copy ( toFile , backupFile ) ; }

Target:
protected void doBackup ( java.io.File toFile , java.io.File backupFile ) throws java.io.IOException { com.intellij.updater.Utils.mirror ( toFile , backupFile ) ; }
Source:
int getBatteryUsageHint ( android.bluetooth.BluetoothDevice device ) { return 0 ; }

Target:
boolean isAudioConnected ( android.bluetooth.BluetoothDevice device ) { enforceCallingOrSelfPermission ( com.android.bluetooth.hfp.BLUETOOTH_PERM , "Need BLUETOOTH permission" ) ; return ( mStateMachine.getAudioState ( ) ) == ( android.bluetooth.BluetoothHeadset.STATE_AUDIO_CONNECTED ) ; }
Source:
protected void engineReset ( ) { free ( ) ; }

Target:
protected void engineReset ( ) { resetContext ( ) ; }
Source:
public void updatePackageTable ( ) { mGroupPackages.getDisplay ( ) . syncExec ( new java.lang.Runnable ( ) { public void run ( ) { sortPackages ( true ) ; } } ) ; }

Target:
public void updatePackageTable ( ) { if ( ! ( mGroupPackages.isDisposed ( ) ) ) { mGroupPackages.getDisplay ( ) . syncExec ( new java.lang.Runnable ( ) { public void run ( ) { sortPackages ( true ) ; } } ) ; } }
Source:
public android.net.wifi.IApInterface setupDriverForSoftApMode ( ) { android.net.wifi.IApInterface apInterface = mWificondControl.setupDriverForSoftApMode ( ) ; if ( ! ( startHal ( false ) ) ) { android.util.Log.e ( com.android.server.wifi.WifiNative.TAG , "Failed to start HAL for AP mode" ) ; } return apInterface ; }

Target:
public android.net.wifi.IApInterface setupForSoftApMode ( ) { if ( ! ( startHal ( false ) ) ) { android.util.Log.e ( com.android.server.wifi.WifiNative.TAG , "Failed to start HAL for AP mode" ) ; } return mWificondControl.setupDriverForSoftApMode ( ) ; }
Source:
public static < T > org.hamcrest.org.hamcrest.Matcher < T > nullValue ( ) { return org.hamcrest.core.IsNull.nullValue ( ) ; }

Target:
public static < T > org.hamcrest.org.hamcrest.Matcher < java.lang.Iterable < ? super T > > hasItem ( T item ) { return org.hamcrest.core.IsCollectionContaining.hasItem ( item ) ; }
Source:
void decode ( @ org.jetbrains.annotations.NotNull com.android.tools.rpclib.binary.Decoder e ) throws java.io.IOException ;

Target:
void encode ( @ org.jetbrains.annotations.NotNull com.android.tools.rpclib.binary.Encoder e , com.android.tools.rpclib.binary.BinaryObject obj ) throws java.io.IOException ;
Source:
public void addFieldAnnotations ( com.android.dx.rop.cst.CstFieldRef field , com.android.dx.rop.annotation.Annotations annotations ) { annotationsDirectory.addFieldAnnotations ( field , annotations ) ; }

Target:
public void addFieldAnnotations ( com.android.dx.rop.cst.CstFieldRef field , com.android.dx.rop.annotation.Annotations annotations , com.android.dx.dex.file.DexFile dexFile ) { annotationsDirectory.addFieldAnnotations ( field , annotations , dexFile ) ; }
Source:
public final java.util.List < java.lang.Class < ? > > coordinateTypes ( ) { java.lang.invoke.MethodType typeGet = accessModeType ( java.lang.invoke.VarHandle.AccessMode.GET ) ; return typeGet.parameterList ( ) ; }

Target:
public final boolean isAccessModeSupported ( java.lang.invoke.VarHandle.AccessMode accessMode ) { final int testBit = 1 << ( accessMode.ordinal ( ) ) ; return ( ( accessModesBitMask ) & testBit ) == testBit ; }
Source:
public static long XorLongInt ( ) { long lhs = 10 ; int rhs = 3 ; return lhs ^ rhs ; }

Target:
public static long XorLongInt ( ) { long lhs = Main.$inline$long ( 10L ) ; int rhs = Main.$inline$int ( 3 ) ; return lhs ^ rhs ; }
Source:
public void onSeriesRecordingUpdated ( com.android.tv.dvr.SeriesRecording seriesRecording ) { if ( ( seriesRecording.getId ( ) ) == ( mSeriesRecording.getId ( ) ) ) { mHeaderRow.setSeriesRecording ( seriesRecording ) ; notifyArrayItemRangeChanged ( 0 , 1 ) ; } }

Target:
public void onSeriesRecordingUpdated ( com.android.tv.dvr.data.SeriesRecording seriesRecording ) { if ( ( seriesRecording.getId ( ) ) == ( mSeriesRecording.getId ( ) ) ) { mHeaderRow.setSeriesRecording ( seriesRecording ) ; notifyArrayItemRangeChanged ( 0 , 1 ) ; } }
Source:
public static javax.net.ssl.X509TrustManager getDefaultTrustManager ( ) throws java.security.KeyManagementException { javax.net.ssl.X509TrustManager result = org.conscrypt.SSLParametersImpl.defaultTrustManager ; if ( result == null ) { org.conscrypt.SSLParametersImpl.defaultTrustManager = result = org.conscrypt.SSLParametersImpl.createDefaultTrustManager ( ) ; } return result ; }

Target:
private static javax.net.ssl.X509TrustManager getDefaultX509TrustManager ( ) throws java.security.KeyManagementException { javax.net.ssl.X509TrustManager result = org.conscrypt.SSLParametersImpl.defaultX509TrustManager ; if ( result == null ) { org.conscrypt.SSLParametersImpl.defaultX509TrustManager = result = org.conscrypt.SSLParametersImpl.createDefaultX509TrustManager ( ) ; } return result ; }
Source:
public static void computeClamp ( android.renderscript.cts.TestClamp.ArgumentsFloatFloatFloatFloat args ) { args.ulf = 0 ; args.ulfRelaxed = 0 ; args.out = java.lang.StrictMath.min ( args.inMaxValue , java.lang.StrictMath.max ( args.inValue , args.inMinValue ) ) ; }

Target:
public static void computeClamp ( android.renderscript.cts.TestClamp.ArgumentsFloatFloatFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( java.lang.Math.min ( args.inMaxValue , java.lang.Math.max ( args.inValue , args.inMinValue ) ) , 0 , 0 ) ; }
Source:
public void onItemSelected ( android.widget.AdapterView < ? > parent , android.view.View view , int pos , long id ) { changeTest ( com.android.rs.imagejb.ImageProcessingActivityJB.TestName.values ( ) [ pos ] ) ; }

Target:
public void onItemSelected ( android.widget.AdapterView < ? > parent , android.view.View view , int pos , long id ) { changeTest ( IPTestListJB.TestName.values ( ) [ pos ] ) ; }
Source:
public void swapConference ( java.lang.String conferenceCallId ) throws android.os.RemoteException { }

Target:
public void conference ( java.lang.String conferenceCallId , java.lang.String callId , android.telecom.Logging.Session.Info info ) throws android.os.RemoteException { mConnectionServiceDelegateAdapter.conference ( conferenceCallId , callId , info ) ; }
Source:
protected void executeBackgroundTask ( org.jdesktop.swingworker.SwingWorker < ? , ? > worker ) { if ( worker != null ) { worker.execute ( ) ; } }

Target:
protected void executeBackgroundTask ( javax.swing.SwingWorker < ? , ? > worker ) { if ( worker != null ) { worker.execute ( ) ; } }
Source:
public com.google.common.util.concurrent.ListenableFuture < com.google.common.collect.ImmutableMap < com.android.dialer.DialerPhoneNumber , com.android.dialer.phonelookup.PhoneLookupInfo > > bulkUpdate ( com.google.common.collect.ImmutableMap < com.android.dialer.DialerPhoneNumber , com.android.dialer.phonelookup.PhoneLookupInfo > existingInfoMap ) { return backgroundExecutorService.submit ( ( ) -> bulkUpdateInternal ( existingInfoMap ) ) ; }

Target:
public com.google.common.util.concurrent.ListenableFuture < com.google.common.collect.ImmutableMap < com.android.dialer.DialerPhoneNumber , com.android.dialer.phonelookup.PhoneLookupInfo > > getMostRecentPhoneLookupInfo ( com.google.common.collect.ImmutableMap < com.android.dialer.DialerPhoneNumber , com.android.dialer.phonelookup.PhoneLookupInfo > existingInfoMap ) { return backgroundExecutorService.submit ( ( ) -> bulkUpdateInternal ( existingInfoMap ) ) ; }
Source:
private void riljLog ( java.lang.String msg ) { android.telephony.Rlog.d ( com.android.internal.telephony.RIL.RILJ_LOG_TAG , msg ) ; }

Target:
private void riljLog ( java.lang.String msg ) { android.telephony.Rlog.d ( com.android.internal.telephony.RIL.RILJ_LOG_TAG , ( msg + ( ( mInstanceId ) != null ? ( " [SUB" + ( mInstanceId ) ) + "]" : "" ) ) ) ; }
Source:
org.gradle.api.tasks.compile.JavaCompile getJavaCompile ( ) ;

Target:
org.gradle.api.tasks.compile.JavaCompile getJavaCompile ( ) throws java.lang.IllegalStateException ;
Source:
public java.lang.String resolveResourceId ( int [ ] id ) { if ( ( mProjectRes ) != null ) { return mProjectRes.resolveResourceValue ( id ) ; } return null ; }

Target:
public java.lang.String resolveResourceId ( int [ ] id ) { if ( ( mProjectRes ) != null ) { return mProjectRes.resolveStyleable ( id ) ; } return null ; }
Source:
private native int _unloadPlugIns ( int uniqueId ) ;

Target:
private native void _finalize ( int uniqueId ) ;
Source:
public void testInstall_successfulFirstUpdate ( ) throws java.lang.Exception { libcore.tzdata.update2.TimeZoneDistro distro = libcore.tzdata.update2.TimeZoneDistroInstallerTest.createValidTimeZoneDistro ( libcore.tzdata.update2.TimeZoneDistroInstallerTest.NEW_RULES_VERSION , 1 ) ; assertEquals ( TimeZoneDistroInstaller.INSTALL_SUCCESS , installer.installWithErrorCode ( distro.getBytes ( ) ) ) ; assertDistroInstalled ( distro ) ; }

Target:
public void testInstall_successfulFirstUpdate ( ) throws java.lang.Exception { libcore.tzdata.shared2.TimeZoneDistro distro = libcore.tzdata.update2.TimeZoneDistroInstallerTest.createValidTimeZoneDistro ( libcore.tzdata.update2.TimeZoneDistroInstallerTest.NEW_RULES_VERSION , 1 ) ; assertEquals ( TimeZoneDistroInstaller.INSTALL_SUCCESS , installer.installWithErrorCode ( distro.getBytes ( ) ) ) ; assertDistroInstalled ( distro ) ; }
Source:
java.lang.Object writeReplace ( ) { return new com.google.common.collect.ImmutableMapValues.SerializedForm < V > ( map ( ) ) ; }

Target:
java.lang.Object writeReplace ( ) { return new com.google.common.collect.ImmutableMapValues.SerializedForm < V > ( map ) ; }
Source:
void setProject ( org.eclipse.core.resources.IProject project ) { mInitialProject = project ; }

Target:
void setProject ( org.eclipse.core.resources.IProject project ) { mInitialProject = project ; mValues.project = project ; }
Source:
public void getAvailableNetworksResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , java.util.ArrayList < com.android.internal.telephony.V1_0.OperatorInfo > var2 ) { }

Target:
public void getImsRegistrationStateResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , boolean isRegistered , int ratFamily ) { responseInts ( responseInfo , ( isRegistered ? 1 : 0 ) , ratFamily ) ; }
Source:
public boolean isJniDebuggable ( ) { return buildType.getIsJniDebuggable ( ) ; }

Target:
public boolean isJniDebuggable ( ) { return com.google.common.base.Objects.firstNonNull ( buildType.getNdk ( ) . getIsDebuggable ( ) , false ) ; }
Source:
public static void main ( java.lang.String [ ] args ) { Main.testClassNewInstance ( ) ; Main.testMissingStuff ( ) ; Main.testBadAccess ( ) ; }

Target:
public static void main ( java.lang.String [ ] args ) { Main.testClassNewInstance ( ) ; Main.testMissingStuff ( ) ; Main.testBadAccess ( ) ; Main.testBadInterfaceMethod ( ) ; }
Source:
public static java.lang.String toUpperCase ( java.util.Locale locale , java.lang.String str ) { return com.ibm.icu.lang.UCharacter.toUpperCase ( com.ibm.icu.util.ULocale.forLocale ( locale ) , str ) ; }

Target:
private static int getCaseLocale ( java.util.Locale locale ) { if ( locale == null ) { locale = java.util.Locale.getDefault ( ) ; } return com.ibm.icu.impl.UCaseProps.getCaseLocale ( locale ) ; }
Source:
private void checkNotDone ( ) { com.google.common.base.Preconditions.checkState ( ( ! ( done ) ) , "Cannot use Hasher after calling #hash() on it" ) ; }

Target:
private void checkNotDone ( ) { com.google.common.base.Preconditions.checkState ( ( ! ( done ) ) , "Cannot re-use a Hasher after calling hash() on it" ) ; }
Source:
public void testMinimalSizeDocked ( ) throws java.lang.Exception { if ( ! ( supportsSplitScreenMultiWindow ( ) ) ) { com.android.tradefed.log.LogUtil.CLog.logAndDisplay ( com.android.ddmlib.Log.LogLevel.INFO , "Skipping test: no multi-window support" ) ; return ; } testMinimalSize ( android.server.cts.DOCKED_STACK_ID ) ; }

Target:
public void testMinimalSizeDocked ( ) throws java.lang.Exception { if ( ( ! ( supportsSplitScreenMultiWindow ( ) ) ) || ( ! ( supportsMultiWindowMode ( ) ) ) ) { com.android.tradefed.log.LogUtil.CLog.logAndDisplay ( com.android.ddmlib.Log.LogLevel.INFO , "Skipping test: no multi-window support" ) ; return ; } testMinimalSize ( android.server.cts.DOCKED_STACK_ID ) ; }
Source:
public void endTrace ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethod method ) { composedStatus.pop ( ) ; for ( com.android.jack.analysis.tracer.TracerBrush config : brushes ) { config.endTrace ( method ) ; } }

Target:
public void endTrace ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethod method ) { composedStatus.pop ( ) ; for ( com.android.jack.analysis.tracer.TracerBrush brush : brushes ) { brush.endTrace ( method ) ; } }
Source:
public void clientReady ( com.android.ddmlib.Client client ) throws java.io.IOException { if ( client.isHeapUpdateEnabled ( ) ) { com.android.ddmlib.HandleHeap.sendHPIF ( client , com.android.ddmlib.HandleHeap.HPIF_WHEN_EVERY_GC ) ; } }

Target:
public void clientReady ( com.android.ddmlib.Client client ) throws java.io.IOException { client.initializeHeapUpdateStatus ( ) ; }
Source:
public void cancelSession ( java.lang.String callingPackage , byte [ ] transactionId , @ android.telephony.euicc.EuiccCardManager.CancelReason int reason , com.android.internal.telephony.euicc.ICancelSessionCallback callback ) { checkCallingPackage ( callingPackage ) ; }

Target:
public void onResult ( byte [ ] result ) { try { callback.onComplete ( EuiccCardManager.RESULT_OK , result ) ; } catch ( android.os.RemoteException exception ) { throw exception.rethrowFromSystemServer ( ) ; } }
Source:
public void setCellInfoListRate ( int rateInMillis ) { mPhone.setCellInfoListRate ( rateInMillis ) ; }

Target:
public void setCellInfoListRate ( int rateInMillis ) { enforceModifyPermission ( ) ; android.os.WorkSource workSource = getWorkSource ( null , android.os.Binder.getCallingUid ( ) ) ; mPhone.setCellInfoListRate ( rateInMillis , workSource ) ; }
Source:
public void changeResultType ( com.android.dx.rop.type.TypeBearer type , com.android.dx.ssa.LocalItem local ) { setResult ( com.android.dx.ssa.RegisterSpec.makeLocalOptional ( getResult ( ) . getReg ( ) , type , local ) ) ; }

Target:
public void changeResultType ( com.android.dx.rop.type.TypeBearer type , com.android.dx.rop.code.LocalItem local ) { setResult ( com.android.dx.rop.code.RegisterSpec.makeLocalOptional ( getResult ( ) . getReg ( ) , type , local ) ) ; }
Source:
private void loge ( java.lang.String msg ) { android.util.Log.e ( com.android.internal.telephony.UiccCard.LOG_TAG , msg ) ; }

Target:
private void loge ( java.lang.String msg ) { android.telephony.Rlog.e ( com.android.internal.telephony.UiccCard.LOG_TAG , msg ) ; }
Source:
public static com.android.dialer.app.calllog.IntentProvider getReturnVoicemailCallIntentProvider ( ) { return new com.android.dialer.app.calllog.IntentProvider ( ) { @ java.lang.Override public android.content.Intent getIntent ( android.content.Context context ) { return new com.android.dialer.callintent.CallIntentBuilder ( com.android.dialer.util.CallUtil.getVoicemailUri ( ) , CallInitiationType.Type.CALL_LOG ) . build ( ) ; } } ; }

Target:
public static com.android.dialer.app.calllog.IntentProvider getReturnVoicemailCallIntentProvider ( @ android.support.annotation.Nullable android.telecom.PhoneAccountHandle phoneAccountHandle ) { return new com.android.dialer.app.calllog.IntentProvider ( ) { @ java.lang.Override public android.content.Intent getIntent ( android.content.Context context ) { return com.android.dialer.callintent.CallIntentBuilder.forVoicemail ( phoneAccountHandle , CallInitiationType.Type.CALL_LOG ) . build ( ) ; } } ; }
Source:
private void clearSuggestions ( ) { if ( ( mUpdateSuggestionsTask ) != null ) { mUpdateSuggestionsTask.cancel ( false ) ; mUpdateSuggestionsTask = null ; } setSuggestionsCursor ( null ) ; }

Target:
private void clearSuggestions ( ) { if ( ( mUpdateSuggestionsTask ) != null ) { mUpdateSuggestionsTask.cancel ( false ) ; mUpdateSuggestionsTask = null ; } setSuggestionsCursor ( null ) ; setSuggestionsVisibility ( false ) ; }
Source:
public void testInstallV1OneSignerSHA224withECDSA ( ) throws java.lang.Exception { assertInstallSucceedsForEach ( "v1-only-with-ecdsa-sha224-%s.apk" , android.appsecurity.cts.PkgInstallSignatureVerificationTest.EC_KEY_NAMES ) ; }

Target:
public void testInstallV1OneSignerSHA384withRSA ( ) throws java.lang.Exception { assertInstallSucceedsForEach ( "v1-only-with-rsa-pkcs1-sha384-1.2.840.113549.1.1.1-%s.apk" , android.appsecurity.cts.PkgInstallSignatureVerificationTest.RSA_KEY_NAMES ) ; assertInstallSucceedsForEach ( "v1-only-with-rsa-pkcs1-sha384-1.2.840.113549.1.1.12-%s.apk" , android.appsecurity.cts.PkgInstallSignatureVerificationTest.RSA_KEY_NAMES ) ; }
Source:
public void addManualPrinter ( java.lang.String hostname , com.android.bips.discovery.ManualDiscovery.PrinterAddCallback callback ) { if ( com.android.bips.discovery.ManualDiscovery.DEBUG ) android.util.Log.d ( com.android.bips.discovery.ManualDiscovery.TAG , ( "addManualPrinter " + hostname ) ) ; android.net.Uri base = android.net.Uri.parse ( ( ( ( ( ( com.android.bips.discovery.ManualDiscovery.DEFAULT_IPP_SCHEME ) + "://" ) + hostname ) + ":" ) + ( com.android.bips.discovery.ManualDiscovery.DEFAULT_IPP_PORT ) ) ) ; new com.android.bips.discovery.ManualDiscovery.CapabilitiesFinder ( base , callback ) . startNext ( ) ; }

Target:
public void addManualPrinter ( java.lang.String hostname , com.android.bips.discovery.ManualDiscovery.PrinterAddCallback callback ) { if ( com.android.bips.discovery.ManualDiscovery.DEBUG ) android.util.Log.d ( com.android.bips.discovery.ManualDiscovery.TAG , ( "addManualPrinter " + hostname ) ) ; new com.android.bips.discovery.ManualDiscovery.CapabilitiesFinder ( hostname , callback ) ; }
Source:
public com.android.ims.internal.IImsMMTelFeature createEmergencyMMTelFeature ( int slotId ) { return null ; }

Target:
public void disableIms ( int slotId ) { }
Source:
private static android.net.wifi.hotspot2.pps.HomeSP createHomeSp ( ) { android.net.wifi.hotspot2.pps.HomeSP homeSp = new android.net.wifi.hotspot2.pps.HomeSP ( ) ; homeSp.setFqdn ( "fqdn" ) ; homeSp.setFriendlyName ( "friendly name" ) ; homeSp.setRoamingConsortiumOIs ( new long [ ] { 85 , 102 } ) ; return homeSp ; }

Target:
private static android.net.wifi.hotspot2.pps.HomeSp createHomeSp ( ) { android.net.wifi.hotspot2.pps.HomeSp homeSp = new android.net.wifi.hotspot2.pps.HomeSp ( ) ; homeSp.setFqdn ( "fqdn" ) ; homeSp.setFriendlyName ( "friendly name" ) ; homeSp.setRoamingConsortiumOis ( new long [ ] { 85 , 102 } ) ; return homeSp ; }
Source:
public static com.android.internal.telephony.GsmAlphabet.TextEncodingDetails calculateLengthCdma ( java.lang.CharSequence messageBody , boolean use7bitOnly ) { return com.android.internal.telephony.gsm.SmsMessage.calculateLength ( messageBody , use7bitOnly ) ; }

Target:
public static com.android.internal.telephony.GsmAlphabet.TextEncodingDetails calculateLengthGsm ( java.lang.CharSequence messageBody , boolean use7bitOnly ) { return com.android.internal.telephony.gsm.SmsMessage.calculateLength ( messageBody , use7bitOnly ) ; }
Source:
public void setValue ( @ org.jetbrains.annotations.Nullable java.lang.String newValue , @ org.jetbrains.annotations.NotNull javax.swing.JEditorPane component ) { component.setText ( newValue ) ; }

Target:
public void setValue ( @ org.jetbrains.annotations.Nullable com.appspot.gsamplesindex.samplesindex.model.Sample sample , @ org.jetbrains.annotations.NotNull com.google.gct.idea.samples.SamplePreviewPanel component ) { component.setSample ( sample ) ; }
Source:
private void createAllChannels ( ) { mNotificationManager.createNotificationChannel ( new android.app.NotificationChannel ( com.android.stk.StkAppService.STK_NOTIFICATION_CHANNEL_ID , getResources ( ) . getString ( R.string.stk_channel_name ) , android.app.NotificationManager.IMPORTANCE_MIN ) ) ; }

Target:
private void cancelNotificationOnKeyguard ( int slotId ) { mNotificationManager.cancel ( getNotificationId ( com.android.stk.StkAppService.NOTIFICATION_ON_KEYGUARD , slotId ) ) ; mStkContext [ slotId ] . mNotificationOnKeyguard = false ; unregisterUserPresentReceiver ( slotId ) ; }
Source:
public void update ( byte [ ] in , int inOff , int len ) { org.apache.harmony.xnet.provider.jsse.NativeCrypto.EVP_DigestUpdate ( getCtx ( ) , in , inOff , len ) ; }

Target:
public void update ( byte [ ] in , int inOff , int len ) { com.android.org.conscrypt.NativeCrypto.EVP_DigestUpdate ( getCtx ( ) , in , inOff , len ) ; }
Source:
public final void prepareFullBuild ( org.eclipse.core.resources.IProject project ) { mDeltaVisitor.reset ( ) ; buildSourceFileList ( ) ; mToCompile.addAll ( mFiles.keySet ( ) ) ; saveState ( project ) ; }

Target:
public final void prepareFullBuild ( org.eclipse.core.resources.IProject project ) { mDeltaVisitor.reset ( ) ; mToCompile.clear ( ) ; mRemoved.clear ( ) ; buildSourceFileList ( ) ; mToCompile.addAll ( mFiles.keySet ( ) ) ; saveState ( project ) ; }
Source:
public void onBrEdrDown ( ) { mAdapterStateMachine.sendMessage ( AdapterState.USER_TURN_OFF ) ; }

Target:
boolean disable ( ) { enforceCallingOrSelfPermission ( com.android.bluetooth.btservice.AdapterService.BLUETOOTH_ADMIN_PERM , "Need BLUETOOTH ADMIN permission" ) ; debugLog ( ( "disable() called with mRunningProfiles.size() = " + ( mRunningProfiles.size ( ) ) ) ) ; mAdapterStateMachine.sendMessage ( AdapterState.USER_TURN_OFF ) ; return true ; }
Source:
public long suggestHighestPriority ( com.android.tv.dvr.ScheduledRecording schedule ) { if ( com.android.tv.common.SoftPreconditions.checkState ( mDataManager.isDvrScheduleLoadFinished ( ) ) ) { return mScheduleManager.suggestHighestPriority ( schedule ) ; } return DvrScheduleManager.DEFAULT_PRIORITY ; }

Target:
public boolean isConflicting ( com.android.tv.dvr.data.ScheduledRecording schedule ) { return ( ( schedule != null ) && ( com.android.tv.common.SoftPreconditions.checkState ( mDataManager.isDvrScheduleLoadFinished ( ) ) ) ) && ( mScheduleManager.isConflicting ( schedule ) ) ; }
Source:
public void onDeleteGroup ( int netId ) { if ( com.android.server.wifi.p2p.WifiP2pServiceImpl.DBG ) logd ( ( "called onDeleteGroup() netId=" + netId ) ) ; mWifiNative.removeNetwork ( netId ) ; mWifiNative.saveConfig ( ) ; sendP2pPersistentGroupsChangedBroadcast ( ) ; }

Target:
public void onDeleteGroup ( int netId ) { if ( com.android.server.wifi.p2p.WifiP2pServiceImpl.DBG ) logd ( ( "called onDeleteGroup() netId=" + netId ) ) ; mWifiNative.removeP2pNetwork ( netId ) ; mWifiNative.saveConfig ( ) ; sendP2pPersistentGroupsChangedBroadcast ( ) ; }
Source:
public android.bluetooth.BluetoothGatt connectGatt ( android.content.Context context , boolean autoConnect , android.bluetooth.BluetoothGattCallback callback , int transport ) { return connectGatt ( context , autoConnect , callback , android.bluetooth.BluetoothDevice.TRANSPORT_AUTO , android.bluetooth.BluetoothDevice.PHY_LE_1M ) ; }

Target:
public android.bluetooth.BluetoothGatt connectGatt ( android.content.Context context , boolean autoConnect , android.bluetooth.BluetoothGattCallback callback , int transport ) { return connectGatt ( context , autoConnect , callback , android.bluetooth.BluetoothDevice.TRANSPORT_AUTO , android.bluetooth.BluetoothDevice.PHY_LE_1M_MASK ) ; }
Source:
private java.lang.String getHeaderSubtitle ( java.lang.String urlString ) { java.net.URL url = com.android.captiveportallogin.CaptivePortalLoginActivity.makeURL ( urlString ) ; if ( url == null ) { return urlString ; } final java.lang.String https = "https" ; if ( https.equals ( url.getProtocol ( ) ) ) { return ( https + "://" ) + ( url.getHost ( ) ) ; } return url.getHost ( ) ; }

Target:
private static java.lang.String host ( java.net.URL url ) { if ( url == null ) { return null ; } return url.getHost ( ) ; }
Source:
public static com.android.sdklib.repository.MajorRevision parseRevision ( @ com.android.annotations.NonNull java.lang.String revision ) throws java.lang.NumberFormatException { if ( revision == null ) { throw new java.lang.NumberFormatException ( "revision is <null>" ) ; } return new com.android.sdklib.repository.MajorRevision ( java.lang.Integer.parseInt ( revision.trim ( ) ) ) ; }

Target:
public static com.android.sdklib.repository.MajorRevision parseRevision ( @ com.android.annotations.NonNull java.lang.String revision ) throws java.lang.NumberFormatException { com.android.sdklib.repository.FullRevision r = parseRevisionImpl ( revision , false , false ) ; return new com.android.sdklib.repository.MajorRevision ( r.getMajor ( ) ) ; }
Source:
private void insert ( E x ) { items [ putIndex ] = x ; putIndex = inc ( putIndex ) ; ++ ( count ) ; notEmpty.signal ( ) ; }

Target:
private void enqueue ( E x ) { items [ putIndex ] = x ; putIndex = inc ( putIndex ) ; ( count ) ++ ; notEmpty.signal ( ) ; }
Source:
public static int UShr28And15 ( int arg ) { return ( arg > > > 28 ) & 15 ; }

Target:
public static int $noinline$UShr28And15 ( int arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( arg > > > 28 ) & 15 ; }
Source:
public static void i ( java.lang.Object objectPrefix , java.lang.String format , java.lang.Object ... args ) { if ( com.android.services.telephony.Log.INFO ) { android.util.Log.i ( 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 i ( java.lang.Object objectPrefix , java.lang.String format , java.lang.Object ... args ) { android.telecom.Log.i ( objectPrefix , format , args ) ; }
Source:
public void test_F32_4_SCALE05_05_inSqure ( ) { testReszie ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inX , Element.DataType.FLOAT_32 , 4 , 0.5F , 0.5F ) ; checkError ( ) ; }

Target:
public void test_F32_4_SCALE05_05_inSqure ( ) { testResize ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inX , Element.DataType.FLOAT_32 , 4 , 0.5F , 0.5F ) ; checkError ( ) ; }
Source:
abstract com.android.dialer.inject.demo.DemoObject demoObject ( ) ;

Target:
abstract java.util.Set < com.android.dialer.inject.demo.DemoObject > demoObjects ( ) ;
Source:
public static boolean isLeftAligned ( int gravity ) { return ( gravity & ( com.android.ide.common.layout.GravityHelper.GRAVITY_LEFT ) ) != 0 ; }

Target:
public static boolean isLeftAligned ( int gravity ) { return ( gravity & ( ( com.android.ide.common.layout.GravityHelper.GRAVITY_LEFT ) | ( com.android.ide.common.layout.GravityHelper.GRAVITY_START ) ) ) != 0 ; }