auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void attach ( @ android.annotation.Nullable android.os.Handler handler , @ android.annotation.NonNull android.net.wifi.nan.WifiNanEventCallback callback ) { attach ( handler , null , callback ) ; }

Target:
public void attach ( @ android.annotation.Nullable android.os.Handler handler , @ android.annotation.NonNull android.net.wifi.nan.WifiNanAttachCallback attachCallback ) { attach ( handler , null , attachCallback , null ) ; }
Source:
public void write ( java.io.DataOutput out ) throws java.io.IOException { super . write ( out ) ; com.intellij.util.io.DataInputOutputUtil.writeSINT ( out , myColor ) ; }

Target:
public void write ( java.io.DataOutput out ) throws java.io.IOException { super . write ( out ) ; out.writeInt ( myColor ) ; }
Source:
public void onChanged ( ) { updatePassButton ( ) ; }

Target:
public void onClick ( android.content.DialogInterface dialog , int which ) { com.android.cts.verifier.PassFailButtons.setTestResultAndFinish ( this , getTestId ( ) , null , false ) ; }
Source:
public void run ( ) { mNM.notify ( 1 , notificationWithNumbers ( 1 ) ) ; mNM.notify ( 2 , notificationWithNumbers ( 2 ) ) ; }

Target:
public void run ( ) { android.app.Notification n = new android.app.Notification ( ) ; n.flags |= android.app.Notification.FLAG_SHOW_LIGHTS ; n.ledARGB = 0 ; n.ledOnMS = 0 ; n.ledOffMS = 0 ; mNM.notify ( 1 , n ) ; }
Source:
public static java.lang.String guessMimeTypeFromExtension ( java.lang.String extension ) { if ( ( extension == null ) || ( extension.isEmpty ( ) ) ) { return null ; } return libcore.net.MimeUtils.extensionToMimeTypeMap.get ( extension ) ; }

Target:
public static java.lang.String guessMimeTypeFromExtension ( java.lang.String extension ) { if ( ( extension == null ) || ( extension.isEmpty ( ) ) ) { return null ; } extension = extension.toLowerCase ( java.util.Locale.US ) ; return libcore.net.MimeUtils.extensionToMimeTypeMap.get ( extension ) ; }
Source:
public static native boolean EC_GROUP_cmp ( int ctx1 , int ctx2 ) ;

Target:
public static native void EC_GROUP_set_asn1_flag ( long groupRef , int flag ) ;
Source:
public void visitLocalVariableTableAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.CodeAttribute codeAttribute , proguard.classfile.attribute.visitor.LocalVariableTableAttribute localVariableTableAttribute ) { if ( ( localVariableTableAttribute.u2localVariableTableLength ) > 0 ) { localVariableTableAttribute.accept ( clazz , method , codeAttribute , attributeVisitor ) ; } }

Target:
public void visitRuntimeVisibleTypeAnnotationsAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.RuntimeVisibleTypeAnnotationsAttribute runtimeVisibleTypeAnnotationsAttribute ) { if ( ( runtimeVisibleTypeAnnotationsAttribute.u2annotationsCount ) > 0 ) { attributeVisitor.visitRuntimeVisibleTypeAnnotationsAttribute ( clazz , runtimeVisibleTypeAnnotationsAttribute ) ; } }
Source:
public void exitEmergencyCallbackMode ( ) throws com.android.ims.ImsException { try { miEcbm.exitEmergencyCallbackMode ( ) ; } catch ( android.os.RemoteException e ) { throw new com.android.ims.ImsException ( "exitEmergencyCallbackMode()" , e , ImsReasonInfo.CODE_LOCAL_IMS_SERVICE_DOWN ) ; } }

Target:
public void exitEmergencyCallbackMode ( ) throws com.android.ims.ImsException { try { miEcbm.exitEmergencyCallbackMode ( ) ; } catch ( android.os.RemoteException e ) { throw new com.android.ims.ImsException ( "exitEmergencyCallbackMode()" , e , android.telephony.ims.ImsReasonInfo.CODE_LOCAL_IMS_SERVICE_DOWN ) ; } }
Source:
protected void printName ( com.android.jack.ir.ast.HasName x ) { java.lang.String name = x.getName ( ) ; if ( name == null ) { print ( com.android.jack.ir.impl.BaseGenerationVisitor.CHARS_NONAME ) ; } else { print ( name.replace ( "/" , "." ) ) ; } }

Target:
protected void printName ( com.android.jack.ir.ast.HasName x ) { java.lang.String name = x.getName ( ) ; if ( name == null ) { print ( com.android.jack.ir.impl.BaseGenerationVisitor.CHARS_NONAME ) ; } else { print ( name.replace ( '/' , '.' ) ) ; } }
Source:
public void testAvdList_Empty ( ) { runCmdLine ( "list" , "avd" ) ; assertEquals ( "P Available Android Virtual Devices:\n" , getLog ( ) . toString ( ) ) ; runCmdLine ( "list" , "avd" , "--compact" ) ; assertEquals ( "" , getLog ( ) . toString ( ) ) ; }

Target:
public void testListAvds ( ) { runCmdLine ( "list" , "avds" , "--compact" ) ; assertEquals ( "" , getLog ( ) . toString ( ) ) ; runCmdLine ( "list" , "avd" ) ; assertEquals ( "P Available Android Virtual Devices:\n" , getLog ( ) . toString ( ) ) ; }
Source:
public static void playAll ( android.content.Context context , long [ ] list , int position ) { com.android.music.MusicUtils.playAll ( context , list , position , false ) ; }

Target:
public static android.graphics.Bitmap resizeBitmap ( android.graphics.Bitmap bitmap , android.graphics.Bitmap ref ) { int w = ref.getWidth ( ) ; int h = ref.getHeight ( ) ; return android.graphics.Bitmap.createScaledBitmap ( bitmap , w , h , false ) ; }
Source:
public static native byte [ ] [ ] SSL_get_certificate ( int sslNativePointer ) ;

Target:
public static native java.lang.String SSL_get_servername ( long sslNativePointer ) ;
Source:
protected void testCreatedSourcePackageTest ( com.android.sdklib.internal.repository.packages.SourcePackage p ) { super . testCreatedPackage ( p ) ; assertEquals ( "API 5" , p.getVersion ( ) . toString ( ) ) ; }

Target:
protected void testCreatedSourcePackageTest ( com.android.sdklib.internal.repository.packages.SourcePackage p ) { super . testCreatedPackage ( p ) ; assertEquals ( "API 5" , p.getAndroidVersion ( ) . toString ( ) ) ; }
Source:
public boolean isHidden ( ) { return ( ( documentationLevel ( ) ) == ( com.google.devtools.common.options.OptionsParser.DocumentationLevel.HIDDEN ) ) || ( ( documentationLevel ( ) ) == ( com.google.devtools.common.options.OptionsParser.DocumentationLevel.INTERNAL ) ) ; }

Target:
public boolean isHidden ( ) { return ( ( optionUsageRestrictions ( ) ) == ( com.google.devtools.common.options.OptionsParser.OptionUsageRestrictions.HIDDEN ) ) || ( ( optionUsageRestrictions ( ) ) == ( com.google.devtools.common.options.OptionsParser.OptionUsageRestrictions.INTERNAL ) ) ; }
Source:
private static native boolean connectToSupplicantNative ( ) ;

Target:
public boolean connectToStaSupplicant ( ) { if ( ( ! ( mSupplicantStaIfaceHal.isInitializationStarted ( ) ) ) && ( ! ( mSupplicantStaIfaceHal.initialize ( ) ) ) ) { return false ; } return mSupplicantStaIfaceHal.isInitializationComplete ( ) ; }
Source:
public void testVFE12 ( ) { try { new dot.junit.opcodes.invoke_interface.d.T_invoke_interface_21 ( ) . run ( new dot.junit.opcodes.invoke_interface.ITestImpl ( ) ) ; fail ( "expected VerifyError" ) ; } catch ( java.lang.VerifyError t ) { } }

Target:
public void testVFE12 ( ) { load ( "dot.junit.opcodes.invoke_interface.d.T_invoke_interface_21" , java.lang.VerifyError.class ) ; }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent arg0 ) { boolean sizeMode = mSdCardSizeRadio.getSelection ( ) ; enableSdCardWidgets ( sizeMode ) ; validatePage ( ) ; }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent arg0 ) { onBrowseSdCard ( ) ; validatePage ( ) ; }
Source:
public static int smallestDigitsMccForMnc ( int mcc ) { com.android.internal.telephony.MccTable.MccEntry entry ; entry = com.android.internal.telephony.MccTable.entryForMcc ( mcc ) ; if ( entry == null ) { return 2 ; } else { return entry.smallestDigitsMnc ; } }

Target:
public static int smallestDigitsMccForMnc ( int mcc ) { com.android.internal.telephony.MccTable.MccEntry entry ; entry = com.android.internal.telephony.MccTable.entryForMcc ( mcc ) ; if ( entry == null ) { return 2 ; } else { return entry.mSmallestDigitsMnc ; } }
Source:
public void addU8 ( short v ) { mN.addU8 ( v ) ; }

Target:
public void addU8 ( short v ) { mN.addU8 ( v ) ; ( mPos ) ++ ; }
Source:
public void testEndOfDayOnLastDayOfMonth ( ) throws java.lang.Exception { final android.icu.util.ULocale locale = new android.icu.util.ULocale ( "en" ) ; final android.icu.util.TimeZone timeZone = android.icu.util.TimeZone.getTimeZone ( "UTC" ) ; assertEquals ( "April 30, 11:00 PM – May 1, 12:00 AM" , libcore.icu.DateIntervalFormat.formatDateRange ( locale , timeZone , 1430434800000L , 1430438400000L , libcore.icu.FORMAT_SHOW_TIME ) ) ; }

Target:
public void testEndOfDayOnLastDayOfMonth ( ) throws java.lang.Exception { final android.icu.util.ULocale locale = new android.icu.util.ULocale ( "en" ) ; final android.icu.util.TimeZone timeZone = android.icu.util.TimeZone.getTimeZone ( "UTC" ) ; assertEquals ( "11:00 PM – 12:00 AM" , libcore.icu.DateIntervalFormat.formatDateRange ( locale , timeZone , 1430434800000L , 1430438400000L , libcore.icu.FORMAT_SHOW_TIME ) ) ; }
Source:
public com.android.layoutlib.api.SceneResult removeChild ( java.lang.Object childView , com.android.layoutlib.api.LayoutScene.IAnimationListener listener ) { return SceneStatus.NOT_IMPLEMENTED.getResult ( ) ; }

Target:
public com.android.layoutlib.api.SceneResult removeChild ( java.lang.Object childView , com.android.layoutlib.api.LayoutScene.IAnimationListener listener ) { return SceneStatus.NOT_IMPLEMENTED.createResult ( ) ; }
Source:
public abstract void execute ( java.lang.String programName ) ;

Target:
protected abstract java.lang.String constructCommand ( java.lang.String programName ) ;
Source:
public int compareTo ( com.android.sdkuilib.internal.repository.sdkman2.PkgItem pkg ) { return getMainPackage ( ) . compareTo ( pkg.getMainPackage ( ) ) ; }

Target:
public int compareTo ( com.android.sdkuilib.internal.repository.core.PkgItem pkg ) { return getMainPackage ( ) . compareTo ( pkg.getMainPackage ( ) ) ; }
Source:
public void test_joinAnySource_nullNetworkInterface ( ) throws java.lang.Exception { java.nio.channels.DatagramChannel dc = createReceiverChannel ( ) ; try { dc.join ( libcore.java.nio.channels.DatagramChannelMulticastTest.GOOD_MULTICAST_IPv4 , null ) ; fail ( ) ; } catch ( java.lang.NullPointerException expected ) { } dc.close ( ) ; }

Target:
public void test_joinAnySource_nullNetworkInterface ( ) throws java.lang.Exception { java.nio.channels.DatagramChannel dc = libcore.java.nio.channels.DatagramChannelMulticastTest.createReceiverChannel ( ) ; try { dc.join ( libcore.java.nio.channels.DatagramChannelMulticastTest.GOOD_MULTICAST_IPv4 , null ) ; fail ( ) ; } catch ( java.lang.NullPointerException expected ) { } dc.close ( ) ; }
Source:
public void onStop ( ) { super . onStop ( ) ; mAuthenticatorHelper.stopListeningToAccountUpdates ( ) ; android.support.v4.content.LocalBroadcastManager.getInstance ( getContext ( ) ) . unregisterReceiver ( mBCMReceiver ) ; }

Target:
public void onStop ( ) { super . onStop ( ) ; mAuthenticatorHelper.stopListeningToAccountUpdates ( ) ; android.support.v4.content.LocalBroadcastManager.getInstance ( getContext ( ) ) . unregisterReceiver ( mBtConnectionReceiver ) ; android.support.v4.content.LocalBroadcastManager.getInstance ( getContext ( ) ) . unregisterReceiver ( mBCMReceiver ) ; }
Source:
public synchronized void setNegativePrefix ( java.lang.String suffix ) { properties.setNegativePrefix ( suffix ) ; refreshFormatter ( ) ; }

Target:
public synchronized void setNegativePrefix ( java.lang.String prefix ) { if ( prefix == null ) { throw new java.lang.NullPointerException ( ) ; } properties.setNegativePrefix ( prefix ) ; refreshFormatter ( ) ; }
Source:
public abstract void executeInBackground ( java.lang.Runnable task ) ;

Target:
public abstract void executeInBackground ( java.lang.String taskName , java.lang.Runnable task ) ;
Source:
public java.util.SortedMap < K , java.util.Collection < V > > asMap ( ) { return ( ( java.util.SortedMap < K , java.util.Collection < V > > ) ( super . asMap ( ) ) ) ; }

Target:
public java.util.NavigableMap < K , java.util.Collection < V > > asMap ( ) { return ( ( java.util.NavigableMap < K , java.util.Collection < V > > ) ( super . asMap ( ) ) ) ; }
Source:
public java.util.List < T > getAll ( @ org.jetbrains.annotations.NotNull org.jetbrains.plugins.github.api.GithubAuthData auth ) throws java.io.IOException { java.util.List < T > result = new java.util.ArrayList < T > ( ) ; while ( hasNext ( ) ) { result.addAll ( next ( auth ) ) ; } return result ; }

Target:
public java.util.List < T > getAll ( @ org.jetbrains.annotations.NotNull org.jetbrains.plugins.github.util.GithubAuthData auth ) throws java.io.IOException { java.util.List < T > result = new java.util.ArrayList < T > ( ) ; while ( hasNext ( ) ) { result.addAll ( next ( auth ) ) ; } return result ; }
Source:
native long rsnScriptKernelIDCreate ( long con , long sid , int slot , int sig ) ;

Target:
native long rsnScriptFieldIDCreate ( long con , long sid , int slot , boolean mUseInc ) ;
Source:
public void testWildcardMatchesWildcardSuffix ( ) { assertTrue ( verifier.verifyHostName ( "b.c.d" , "*.b.c.d" ) ) ; assertTrue ( verifier.verifyHostName ( "imap.google.com" , "*.imap.google.com" ) ) ; }

Target:
public void testWildcardMatchesWildcardSuffix ( ) { assertTrue ( verifyWithDomainNamePattern ( "b.c.d" , "*.b.c.d" ) ) ; assertTrue ( verifyWithDomainNamePattern ( "imap.google.com" , "*.imap.google.com" ) ) ; }
Source:
static void validateUplo ( @ android.renderscript.ScriptIntrinsicBLAS.Uplo int Uplo ) { if ( ( Uplo != ( android.renderscript.ScriptIntrinsicBLAS.LEFT ) ) && ( Uplo != ( android.renderscript.ScriptIntrinsicBLAS.RIGHT ) ) ) { throw new android.renderscript.RSRuntimeException ( "Invalid uplo passed to BLAS" ) ; } }

Target:
static void validateUplo ( @ android.renderscript.ScriptIntrinsicBLAS.Uplo int Uplo ) { if ( ( Uplo != ( android.renderscript.ScriptIntrinsicBLAS.UPPER ) ) && ( Uplo != ( android.renderscript.ScriptIntrinsicBLAS.LOWER ) ) ) { throw new android.renderscript.RSRuntimeException ( "Invalid uplo passed to BLAS" ) ; } }
Source:
public boolean accept ( java.lang.String fullPath ) { if ( fullPath.endsWith ( ".class" ) ) { java.lang.String path = com.android.dx.command.dexer.Main.fixPath ( fullPath ) ; return com.android.dx.command.dexer.Main.classesInMainDex.contains ( path ) ; } else { return true ; } }

Target:
public boolean accept ( java.lang.String fullPath ) { if ( fullPath.endsWith ( ".class" ) ) { java.lang.String path = com.android.dx.command.dexer.Main.fixPath ( fullPath ) ; return classesInMainDex.contains ( path ) ; } else { return true ; } }
Source:
public synchronized void cleanup ( ) throws android.os.RemoteException { if ( com.android.server.pm.OtaDexoptService.DEBUG_DEXOPT ) { android.util.Log.i ( com.android.server.pm.OtaDexoptService.TAG , "Cleaning up OTA Dexopt state." ) ; } mDexoptPackages = null ; }

Target:
public synchronized void cleanup ( ) throws android.os.RemoteException { if ( com.android.server.pm.OtaDexoptService.DEBUG_DEXOPT ) { android.util.Log.i ( com.android.server.pm.OtaDexoptService.TAG , "Cleaning up OTA Dexopt state." ) ; } mDexoptPackages = null ; mCommandsForCurrentPackage = null ; }
Source:
public void run ( ) { com.android.bluetooth.opp.BluetoothOppManager.getInstance ( this ) . saveSendingFileInfo ( type , stream.toString ( ) , false ) ; launchDevicePicker ( ) ; finish ( ) ; }

Target:
public void run ( ) { sendFileInfo ( type , stream.toString ( ) , false ) ; }
Source:
public com.android.sdklib.devices.Camera getCamera ( com.android.sdklib.devices.CameraLocation location ) { for ( com.android.sdklib.devices.Camera c : mCameras ) { if ( location.equals ( c.mLocation ) ) { return c ; } } return null ; }

Target:
public com.android.sdklib.devices.Camera getCamera ( com.android.sdklib.devices.CameraLocation location ) { for ( com.android.sdklib.devices.Camera c : mCameras ) { if ( location.equals ( c.getLocation ( ) ) ) { return c ; } } return null ; }
Source:
public void setPlmn ( java.lang.String plmn ) { setFieldValue ( android.net.wifi.WifiEnterpriseConfig.PLMN_KEY , plmn , "" ) ; }

Target:
public java.lang.String getRealm ( ) { return getFieldValue ( android.net.wifi.WifiEnterpriseConfig.REALM_KEY ) ; }
Source:
public void getAvailableBandModesResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , java.util.ArrayList < java.lang.Integer > var2 ) { }

Target:
public void getAvailableBandModesResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , java.util.ArrayList < java.lang.Integer > bandModes ) { responseIntArrayList ( responseInfo , bandModes ) ; }
Source:
public static native byte [ ] [ ] get_DH_params ( org.conscrypt.NativeRef.EVP_PKEY dh ) ;

Target:
public static native void EVP_PKEY_CTX_set_rsa_mgf1_md ( long ctx , long evpMdRef ) ;
Source:
synchronized long nScriptKernelIDCreate ( long sid , int slot , int sig ) { validate ( ) ; return rsnScriptKernelIDCreate ( mContext , sid , slot , sig ) ; }

Target:
synchronized void nIncContextDestroy ( ) { validate ( ) ; java.util.concurrent.locks.ReentrantReadWriteLock.WriteLock wlock = mRWLock.writeLock ( ) ; wlock.lock ( ) ; long curCon = mIncCon ; mIncCon = 0 ; wlock.unlock ( ) ; rsnIncContextDestroy ( curCon ) ; }
Source:
public static native void addCommonTransformationResult ( java.lang.String target_name , byte [ ] class_bytes , byte [ ] dex_bytes ) ;

Target:
public static void addCommonTransformationResult ( java.lang.String target_name , byte [ ] class_bytes , byte [ ] dex_bytes ) { art.Redefinition.addCommonTransformationResult ( target_name , class_bytes , dex_bytes ) ; }
Source:
public android.view.MotionEvent getPendingTrackballMove ( android.view.IWindow window ) { if ( com.android.server.WindowManagerService.localLOGV ) android.util.Log.v ( com.android.server.WindowManagerService.TAG , ( "IWindow getPendingMotionEvent called for " + window ) ) ; return mKeyWaiter.finishedKey ( this , window , false , com.android.server.WindowManagerService.KeyWaiter.RETURN_PENDING_TRACKBALL ) ; }

Target:
public android.view.MotionEvent getPendingPointerMove ( android.view.IWindow window ) { if ( com.android.server.WindowManagerService.localLOGV ) android.util.Slog.v ( com.android.server.WindowManagerService.TAG , ( "IWindow getPendingMotionEvent called for " + window ) ) ; return mKeyWaiter.finishedKey ( this , window , false , com.android.server.WindowManagerService.KeyWaiter.RETURN_PENDING_POINTER ) ; }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { com.android.sdkuilib.internal.widgets.DeviceCreationDialog dlg = new com.android.sdkuilib.internal.widgets.DeviceCreationDialog ( mShell , manager , mUpdaterData.getImageFactory ( ) , d ) ; if ( ( dlg.open ( ) ) == ( org.eclipse.jface.window.Window.OK ) ) { setupDevices ( menuBarDevices ) ; } }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { com.android.sdkuilib.internal.widgets.DeviceCreationDialog dlg = new com.android.sdkuilib.internal.widgets.DeviceCreationDialog ( mShell , mDeviceManager , mUpdaterData.getImageFactory ( ) , d ) ; if ( ( dlg.open ( ) ) == ( org.eclipse.jface.window.Window.OK ) ) { setupDevices ( menuBarDevices ) ; } }
Source:
void sleep ( long millis ) { try { jsr166.JSR166TestCase.delay ( millis ) ; } catch ( java.lang.InterruptedException ie ) { jsr166.AssertionFailedError afe = new jsr166.AssertionFailedError ( "Unexpected InterruptedException" ) ; afe.initCause ( ie ) ; throw afe ; } }

Target:
void sleep ( long millis ) { try { jsr166.JSR166TestCase.delay ( millis ) ; } catch ( java.lang.InterruptedException fail ) { junit.framework.AssertionFailedError afe = new junit.framework.AssertionFailedError ( "Unexpected InterruptedException" ) ; afe.initCause ( fail ) ; throw afe ; } }
Source:
private void sendEabResetBroadcast ( ) { logger.info ( "Enter: sendEabResetBroadcast()" ) ; android.content.Intent intent = new android.content.Intent ( android.provider.ContactsContract.Contacts.ACTION_EAB_DATABASE_RESET ) ; android.content.ComponentName component = new android.content.ComponentName ( "com.android.service.ims.presence" , "com.android.service.ims.presence.AlarmBroadcastReceiver" ) ; intent.setComponent ( component ) ; getContext ( ) . sendBroadcast ( intent ) ; }

Target:
private void sendEabResetBroadcast ( ) { logger.info ( "Enter: sendEabResetBroadcast()" ) ; android.content.Intent intent = new android.content.Intent ( android.provider.ContactsContract.Contacts.ACTION_EAB_DATABASE_RESET ) ; getContext ( ) . sendBroadcast ( intent , "com.android.ims.permission.PRESENCE_ACCESS" ) ; }
Source:
public void onPause ( ) { super . onPause ( ) ; com.android.dialer.common.LogUtil.i ( "AnswerFragment.onPause" , null ) ; inCallScreenDelegate.onInCallScreenPaused ( ) ; }

Target:
public void onPause ( ) { android.os.Trace.beginSection ( "AnswerFragment.onPause" ) ; super . onPause ( ) ; com.android.dialer.common.LogUtil.i ( "AnswerFragment.onPause" , null ) ; inCallScreenDelegate.onInCallScreenPaused ( ) ; android.os.Trace.endSection ( ) ; }
Source:
public void testEncodeDecodeVideoFromBufferToBufferQCIF ( ) throws java.lang.Exception { setParameters ( 176 , 144 , 1000000 , android.media.cts.EncodeDecodeTest.MIME_TYPE_AVC ) ; encodeDecodeVideoFromBuffer ( false ) ; }

Target:
public void testVP8EncodeDecodeVideoFromSurfaceToSurface720p ( ) throws java.lang.Throwable { setParameters ( 1280 , 720 , 6000000 , android.media.cts.EncodeDecodeTest.MIME_TYPE_VP8 , true , false ) ; android.media.cts.EncodeDecodeTest.SurfaceToSurfaceWrapper.runTest ( this ) ; }
Source:
public long getLastModified ( @ javax.annotation.Nonnull com.android.sched.vfs.CaseInsensitiveFS.CaseInsensitiveVFile file ) { return vfs.getLastModified ( file.getEncodedFile ( ) ) ; }

Target:
public java.nio.file.attribute.FileTime getLastModified ( @ javax.annotation.Nonnull com.android.sched.vfs.CaseInsensitiveFS.CaseInsensitiveVFile file ) throws com.android.sched.util.file.CannotGetModificationTimeException { return vfs.getLastModified ( file.getEncodedFile ( ) ) ; }
Source:
public android.content.CursorLoader onCreateLoader ( int id , android.os.Bundle args ) { if ( com.android.dialer.app.list.OldSpeedDialFragment.DEBUG ) { com.android.dialer.common.LogUtil.d ( "ContactTileLoaderListener.onCreateLoader" , null ) ; } return com.android.contacts.common.ContactTileLoaderFactory.createStrequentPhoneOnlyLoader ( getActivity ( ) ) ; }

Target:
public void onLoadFinished ( android.content.Loader < android.database.Cursor > loader , android.database.Cursor data ) { adapter.setContactCursor ( data ) ; fragment.setEmptyViewVisibility ( ( ( adapter.getCount ( ) ) == 0 ) ) ; }
Source:
public void uint32 ( long v ) throws java.io.IOException { int32 ( ( ( int ) ( v & - 1 ) ) ) ; }

Target:
public void int64 ( long v ) throws java.io.IOException { intv ( v ) ; }
Source:
public void setListener ( com.android.ims.internal.IImsUtListener listener ) throws android.os.RemoteException { }

Target:
public void setListener ( com.android.ims.internal.IImsUtListener listener ) throws android.os.RemoteException { this . setListener ( new android.telephony.ims.ImsUtListener ( listener ) ) ; }
Source:
public void clear ( ) { multimap ( ) . clear ( ) ; }

Target:
public void clear ( ) { multimap.clear ( ) ; }
Source:
public boolean onKeyDown ( int keyCode , android.view.KeyEvent event ) { switch ( keyCode ) { case android.view.KeyEvent.KEYCODE_BACK : sendResponse ( StkAppService.RES_ID_END_SESSION ) ; finish ( ) ; break ; } return false ; }

Target:
public boolean onKeyDown ( int keyCode , android.view.KeyEvent event ) { switch ( keyCode ) { case android.view.KeyEvent.KEYCODE_BACK : sendStopTone ( ) ; finish ( ) ; break ; } return false ; }
Source:
public java.lang.Iterable < com.android.jack.ir.ast.cfg.JBasicBlock > successors ( ) { return java.util.Collections.emptyList ( ) ; }

Target:
public java.util.List < com.android.jack.ir.ast.cfg.JBasicBlock > getSuccessors ( ) { return java.util.Collections.emptyList ( ) ; }
Source:
private static java.util.concurrent.ExecutorService create ( ) { return java.util.concurrent.Executors.newFixedThreadPool ( java.lang.Runtime.getRuntime ( ) . availableProcessors ( ) ) ; }

Target:
public static synchronized java.util.concurrent.ExecutorService getExecutor ( ) { if ( ( com.android.ide.common.internal.ExecutorSingleton.sExecutorService ) == null ) { com.android.ide.common.internal.ExecutorSingleton.sExecutorService = java.util.concurrent.Executors.newFixedThreadPool ( java.lang.Runtime.getRuntime ( ) . availableProcessors ( ) ) ; } return com.android.ide.common.internal.ExecutorSingleton.sExecutorService ; }
Source:
public boolean filter ( com.android.tv.dvr.RecordedProgram r ) { return r.getInputId ( ) . equals ( inputId ) ; }

Target:
public boolean filter ( com.android.tv.dvr.data.SeriesRecording r ) { if ( r.getInputId ( ) . equals ( inputId ) ) { if ( ! ( isEmptySeriesRecording ( r ) ) ) { return true ; } removedSeriesRecordings.add ( r ) ; } return false ; }
Source:
default void sayHi ( ) { java.lang.System.out.println ( "hi default" ) ; }

Target:
public static void main ( java.lang.String [ ] args ) { IsDefaultTest.test ( ) ; AnnotationTest.testAnnotationsByType ( ) ; AnnotationTest.testDeclaredAnnotation ( ) ; AnnotationTest.testDeclaredAnnotationsByType ( ) ; AnnotationTest.testMethodAnnotationsByType ( ) ; AnnotationTest.testMethodDeclaredAnnotations ( ) ; AnnotationTest.testMethodDeclaredAnnotationsByType ( ) ; }
Source:
public void setup ( ) { put ( "Cipher.FOO" , MockCipherSpi.MustInitWithAlgorithmParameterSpec_RejectsAll.class . getName ( ) ) ; put ( "Cipher.FOO SupportedKeyClasses" , libcore.javax.crypto.MockKey.class . getName ( ) ) ; }

Target:
public void setup ( ) { put ( "Cipher.FOO" , MockCipherSpi.MustInitWithAlgorithmParameters_RejectsAll.class . getName ( ) ) ; put ( "Cipher.FOO SupportedKeyClasses" , libcore.javax.crypto.MockKey.class . getName ( ) ) ; }
Source:
public < T extends org.simpleframework.http.core.Container > com.android.jack.server.router.PathRouter add ( @ javax.annotation.Nonnull java.lang.String path , @ javax.annotation.Nonnull T container ) { registry.put ( path , container ) ; return this ; }

Target:
public < T extends org.simpleframework.http.core.Container > com.android.jack.server.router.PathRouter add ( @ javax.annotation.Nonnull java.lang.String path , @ javax.annotation.Nonnull T container ) { assert ! ( registry.containsKey ( path ) ) ; registry.put ( path , container ) ; return this ; }
Source:
private static com.android.builder.internal.compiler.PreDexCache.Key of ( @ com.android.annotations.NonNull java.io.File sourceFile , @ com.android.annotations.NonNull com.android.sdklib.repository.FullRevision buildToolsRevision ) { return new com.android.builder.internal.compiler.PreDexCache.Key ( sourceFile , buildToolsRevision ) ; }

Target:
private static com.android.builder.internal.compiler.PreDexCache.Key of ( @ com.android.annotations.NonNull java.io.File sourceFile , @ com.android.annotations.NonNull com.android.sdklib.repository.FullRevision buildToolsRevision , boolean jumboMode ) { return new com.android.builder.internal.compiler.PreDexCache.Key ( sourceFile , buildToolsRevision , jumboMode ) ; }
Source:
public int getSerializedSize ( ) { int size = com.google.protobuf.nano.WireFormatNano.computeWireSize ( unknownFieldData ) ; cachedSize = size ; return size ; }

Target:
public final < T > T getExtension ( com.google.protobuf.nano.Extension < M , T > extension ) { return extension.getValueFrom ( unknownFieldData ) ; }
Source:
public void onLightbringerStateChanged ( ) { notifyDataSetChanged ( ) ; }

Target:
public void onDuoStateChanged ( ) { notifyDataSetChanged ( ) ; }
Source:
public void setCacheEntry ( com.android.volley.Cache.Entry entry ) { mCacheEntry = entry ; }

Target:
public com.android.volley.Request < ? > setCacheEntry ( com.android.volley.Cache.Entry entry ) { mCacheEntry = entry ; return this ; }
Source:
public static void computeMax ( android.renderscript.cts.TestMax.ArgumentsIntIntInt args ) { args.ulf = 0 ; args.ulfRelaxed = 0 ; args.out = java.lang.StrictMath.max ( args.inV1 , args.inV2 ) ; }

Target:
public static void computeMax ( android.renderscript.cts.TestMax.ArgumentsUshortUshortUshort args ) { args.out = android.renderscript.cts.CoreMathVerifier.maxU16 ( args.inV1 , args.inV2 ) ; }
Source:
com.google.common.collect.ImmutableList < com.google.common.collect.Multiset.Entry < E > > createAsList ( ) { return forwardEntrySet.asList ( ) . reverse ( ) ; }

Target:
com.google.common.collect.Multiset.Entry < E > getEntry ( int index ) { return forward.entrySet ( ) . asList ( ) . reverse ( ) . get ( index ) ; }
Source:
public void onError ( org.chromium.mojo.system.MojoException exception ) { close ( ) ; }

Target:
private void close ( ) { synchronized ( mLock ) { mWriteHandle.close ( ) ; mPendingActions.clear ( ) ; } mWatcher.cancel ( ) ; mWatcher.destroy ( ) ; mReadHandle.close ( ) ; }
Source:
public void onServiceConnected ( ) { if ( ( mListener ) != null ) { mListener.onServiceConnected ( ) ; } }

Target:
public void run ( ) { mListener.onConnected ( ) ; }
Source:
public void testVFE9 ( ) { try { java.lang.Class.forName ( "dot.junit.opcodes.aput_short.d.T_aput_short_8" ) ; fail ( "expected a verification exception" ) ; } catch ( java.lang.Throwable t ) { dot.junit.DxUtil.checkVerifyException ( t ) ; } }

Target:
public void testE1 ( ) { loadAndRun ( "dot.junit.opcodes.aput_short.d.T_aput_short_1" , java.lang.ArrayIndexOutOfBoundsException.class , new short [ 2 ] , 2 , ( ( short ) ( 10000 ) ) ) ; }
Source:
private double getDouble ( java.lang.StringBuilder stringAccumulator ) { return java.lang.Double.parseDouble ( getString ( stringAccumulator ) ) ; }

Target:
private static double getDouble ( java.lang.StringBuilder stringAccumulator ) { return java.lang.Double.parseDouble ( com.android.sdklib.devices.DeviceParser.DeviceHandler.getString ( stringAccumulator ) ) ; }
Source:
public V remove ( @ javax.annotation.Nullable java.lang.Object key ) { if ( set.remove ( key ) ) { @ java.lang.SuppressWarnings ( value = "unchecked" ) K k = ( ( K ) ( key ) ) ; return function.apply ( k ) ; } else { return null ; } }

Target:
public boolean containsKey ( @ javax.annotation.Nullable java.lang.Object key ) { return backingSet ( ) . contains ( key ) ; }
Source:
public java.util.List < android.service.carrier.CarrierIdentifier > getAllowedCarriers ( int slotId ) { enforceReadPrivilegedPermission ( ) ; int subId = android.telephony.SubscriptionManager.getSubId ( slotId ) [ 0 ] ; return ( ( java.util.List < android.service.carrier.CarrierIdentifier > ) ( sendRequest ( com.android.phone.PhoneInterfaceManager.CMD_GET_ALLOWED_CARRIERS , null , subId ) ) ) ; }

Target:
public java.util.List < android.service.carrier.CarrierIdentifier > getAllowedCarriers ( int slotIndex ) { enforceReadPrivilegedPermission ( ) ; int subId = android.telephony.SubscriptionManager.getSubId ( slotIndex ) [ 0 ] ; return ( ( java.util.List < android.service.carrier.CarrierIdentifier > ) ( sendRequest ( com.android.phone.PhoneInterfaceManager.CMD_GET_ALLOWED_CARRIERS , null , subId ) ) ) ; }
Source:
public java.util.List < com.android.jack.server.PackageLevel > getLevels ( ) { return level.getLevels ( ) ; }

Target:
void apply ( ) throws java.io.IOException { com.android.sched.util.log.LoggerFactory.configure ( new com.android.jack.server.ServerLogConfiguration.FileHandlerLogConfiguration ( level , new java.util.logging.FileHandler ( logFilePattern , maxLogFileSize , logFileCount ) ) ) ; }
Source:
public long getEntryGlobalTime ( ) { return com.google.common.primitives.UnsignedInts.toLong ( mEntryGlobalTime ) ; }

Target:
public long getEntryTime ( com.android.tools.perflib.vmtrace.ClockType clockType ) { return clockType == ( ClockType.THREAD ) ? com.google.common.primitives.UnsignedInts.toLong ( mEntryThreadTime ) : com.google.common.primitives.UnsignedInts.toLong ( mEntryGlobalTime ) ; }
Source:
public com.android.builder.model.AndroidProject getGradleProjectModel ( ) { return com.android.tools.lint.checks.PrivateResourceDetectorTest.createMockProject ( "1.3.0-alpha1" , 3 ) ; }

Target:
public com.android.builder.model.AndroidProject getGradleProjectModel ( ) { return com.android.tools.lint.checks.PrivateResourceDetectorTest.createMockProject ( "1.3.0-alpha2" , 3 ) ; }
Source:
void setAdvertiserId ( int advertiserId ) { this . advertiserId = advertiserId ; }

Target:
void setAdvertiserId ( int advertiserId ) { mAdvertiserId = advertiserId ; }
Source:
public void setNoCompress ( java.lang.String ... noCompress ) { noCompressList = com.android.build.gradle.internal.dsl.Arrays.asList ( noCompress ) ; }

Target:
public void setNoCompress ( java.lang.String ... noCompress ) { noCompressList = java.util.Arrays.asList ( noCompress ) ; }
Source:
public void releaseSafely ( ) { mHandlerThread.quitSafely ( ) ; }

Target:
public void releaseSafely ( ) { mHandlerThread.quitSafely ( ) ; mListener = null ; mChannelScanListener = null ; mChannelScanHandler = null ; }
Source:
public java.util.concurrent.TimeUnit getTimeUnits ( ) { return java.util.concurrent.TimeUnit.MICROSECONDS ; }

Target:
public static java.util.concurrent.TimeUnit getDefaultTimeUnits ( ) { return java.util.concurrent.TimeUnit.MICROSECONDS ; }
Source:
public void run ( ) { mAllocationViewer.refresh ( ) ; updateAllocationStackCall ( ) ; }

Target:
public void selectionChanged ( org.eclipse.jface.viewers.SelectionChangedEvent event ) { com.android.ddmlib.AllocationInfo selectedAlloc = getAllocationSelection ( event.getSelection ( ) ) ; updateAllocationStackTrace ( selectedAlloc ) ; }
Source:
public final java.lang.String getTypeName ( ) { return "class " + ( mClassName ) ; }

Target:
public final java.lang.String getClassName ( ) { return mClassName ; }
Source:
public java.awt.Color getBackground ( ) { return com.intellij.ui.tabs.impl.UIUtil.isUnderNimbusLookAndFeel ( ) ? com.intellij.ui.tabs.impl.UIUtil.getPanelBackground ( ) : super . getBackground ( ) ; }

Target:
public java.awt.Color getBackground ( ) { return com.intellij.ui.tabs.impl.UIUtil.isUnderNimbusLookAndFeel ( ) ? com.intellij.ui.tabs.impl.UIUtil.getPanelBackground ( ) : com.intellij.ui.tabs.impl.UIUtil.getBgFillColor ( getParent ( ) ) ; }
Source:
private void acknowledgeSms ( int messageRef , @ android.telephony.ims.internal.SmsImplBase.DeliverStatusResult int result ) { getSmsImplementation ( ) . acknowledgeSms ( messageRef , result ) ; }

Target:
private void acknowledgeSms ( int token , int messageRef , @ android.telephony.ims.internal.SmsImplBase.DeliverStatusResult int result ) { getSmsImplementation ( ) . acknowledgeSms ( token , messageRef , result ) ; }
Source:
public static void blockingUpdateAllNotifications ( final android.content.Context context ) { com.android.mms.transaction.MessagingNotification.nonBlockingUpdateNewMessageIndicator ( context , false , false ) ; com.android.mms.transaction.MessagingNotification.updateSendFailedNotification ( context ) ; com.android.mms.transaction.MessagingNotification.updateDownloadFailedNotification ( context ) ; }

Target:
public static void blockingUpdateAllNotifications ( final android.content.Context context ) { com.android.mms.transaction.MessagingNotification.nonBlockingUpdateNewMessageIndicator ( context , com.android.mms.transaction.MessagingNotification.THREAD_NONE , false ) ; com.android.mms.transaction.MessagingNotification.nonBlockingUpdateSendFailedNotification ( context ) ; com.android.mms.transaction.MessagingNotification.updateDownloadFailedNotification ( context ) ; com.android.mms.widget.MmsWidgetProvider.notifyDatasetChanged ( context ) ; }
Source:
private static void setFlagValue ( com.google.devtools.common.options.OptionsParser parser , java.lang.String flagName , java.lang.String flagValue ) throws com.google.devtools.common.options.OptionsParsingException { parser.parseWithSourceFunction ( OptionPriority.INVOCATION_POLICY , com.google.devtools.common.options.InvocationPolicyEnforcer.INVOCATION_POLICY_SOURCE , java.util.Arrays.asList ( java.lang.String.format ( "--%s=%s" , flagName , flagValue ) ) ) ; }

Target:
private static void setFlagValue ( com.google.devtools.common.options.OptionsParser parser , java.lang.String flagName , java.lang.String flagValue ) throws com.google.devtools.common.options.OptionsParsingException { parser.parseWithSourceFunction ( OptionPriority.INVOCATION_POLICY , com.google.devtools.common.options.InvocationPolicyEnforcer.INVOCATION_POLICY_SOURCE , com.google.common.collect.ImmutableList.of ( java.lang.String.format ( "--%s=%s" , flagName , flagValue ) ) ) ; }
Source:
public java.lang.String getAuthTokenLabel ( java.lang.String s ) { android.util.Log.d ( com.android.bluetooth.pbapclient.Authenticator.TAG , "got call" , new java.lang.Exception ( ) ) ; return null ; }

Target:
public android.os.Bundle updateCredentials ( android.accounts.AccountAuthenticatorResponse r , android.accounts.Account account , java.lang.String s , android.os.Bundle bundle ) throws android.accounts.NetworkErrorException { if ( com.android.bluetooth.pbapclient.Authenticator.DBG ) android.util.Log.d ( com.android.bluetooth.pbapclient.Authenticator.TAG , "got call" , new java.lang.Exception ( ) ) ; return null ; }
Source:
public boolean isTrue ( ) throws java.lang.Exception { return device.findObject ( new android.support.test.uiautomator.UiSelector ( ) . text ( ( "This application cannot make outgoing calls " + "without the Phone permission." ) ) ) . exists ( ) ; }

Target:
public boolean isTrue ( ) throws java.lang.Exception { return device.findObject ( new android.support.test.uiautomator.UiSelector ( ) . text ( "This application cannot make outgoing calls without the Phone permission." ) ) . exists ( ) ; }
Source:
public com.android.jack.ir.ast.JDefinedAnnotation getAnnotation ( @ javax.annotation.Nonnull java.lang.String annotationName ) throws com.android.jack.lookup.JLookupException { return session.getLookup ( ) . getAnnotation ( com.android.jack.util.NamingTools.getTypeSignatureName ( annotationName ) ) ; }

Target:
public com.android.jack.ir.ast.JAnnotation getAnnotation ( @ javax.annotation.Nonnull java.lang.String annotationName ) { return session.getPhantomLookup ( ) . getAnnotation ( com.android.jack.util.NamingTools.getTypeSignatureName ( annotationName ) ) ; }
Source:
public android.net.RecommendationRequest build ( ) { return new android.net.RecommendationRequest ( mScanResults , mDefaultConfig , mConnectedConfig , mConnectableConfigs ) ; }

Target:
public android.net.RecommendationRequest build ( ) { return new android.net.RecommendationRequest ( mScanResults , mDefaultConfig , mConnectedConfig , mConnectableConfigs , mLastSelectedNetworkId , mLastSelectedTimestamp ) ; }
Source:
public void test_getPrivateKey ( ) { init ( tests.api.javax.net.ssl.X509KeyManagerTest.CLIENT ) ; assertNull ( "Not NULL for NULL parameter" , manager.getPrivateKey ( null ) ) ; assertNull ( "Not NULL for serverAlias_00 parameter" , manager.getPrivateKey ( "serverAlias_00" ) ) ; assertNull ( "Not NULL for clientAlias_02 parameter" , manager.getPrivateKey ( "clientAlias_02" ) ) ; }

Target:
public void test_getPrivateKey ( ) { init ( org.apache.harmony.tests.javax.net.ssl.X509KeyManagerTest.CLIENT ) ; assertNull ( "Not NULL for NULL parameter" , manager.getPrivateKey ( null ) ) ; assertNull ( "Not NULL for serverAlias_00 parameter" , manager.getPrivateKey ( "serverAlias_00" ) ) ; assertNull ( "Not NULL for clientAlias_02 parameter" , manager.getPrivateKey ( "clientAlias_02" ) ) ; }
Source:
public void waitForFlushCompleted ( ) throws java.lang.InterruptedException { if ( ( mTestSensorEventListener ) == null ) { return ; } mTestSensorEventListener.waitForFlushComplete ( ) ; }

Target:
public void startFlush ( ) { if ( ( mTestSensorEventListener ) == null ) { return ; } java.lang.String message = android.hardware.cts.helpers.SensorCtsHelper.formatAssertionMessage ( mSensor , "Flush" ) ; junit.framework.Assert.assertTrue ( message , mSensorManager.flush ( mTestSensorEventListener ) ) ; }
Source:
public lombok.ast.AstVisitor createJavaVisitor ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.JavaContext context ) { return null ; }

Target:
public com.intellij.psi.JavaElementVisitor createPsiVisitor ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.JavaContext context ) { return null ; }
Source:
public native < T extends java.lang.annotation.Annotation > T getDeclaredAnnotation ( java.lang.Class < T > annotationClass ) ;

Target:
public native < A extends java.lang.annotation.Annotation > A getDeclaredAnnotation ( java.lang.Class < A > annotationClass ) ;
Source:
public void visitFieldInsn ( int opcode , java.lang.String owner , java.lang.String name , java.lang.String desc ) { printer.visitFieldInsn ( opcode , owner , name , desc ) ; printTypeOfOperandStackTop ( ) ; super . visitFieldInsn ( opcode , owner , name , desc ) ; }

Target:
public void visitVarInsn ( int opcode , int var ) { printer.visitVarInsn ( opcode , var ) ; printTypeOfOperandStack ( ) ; super . visitVarInsn ( opcode , var ) ; }
Source:
public static native int EVP_VerifyFinal ( org.conscrypt.NativeRef.EVP_MD_CTX ctx , byte [ ] signature , int offset , int length , org.conscrypt.NativeRef.EVP_PKEY key ) ;

Target:
public static native void EVP_DigestSignUpdate ( org.conscrypt.NativeRef.EVP_MD_CTX ctx , byte [ ] buffer , int offset , int length ) ;
Source:
public void checkClientTrusted ( java.security.cert.X509Certificate [ ] chain , java.lang.String authType ) throws java.security.cert.CertificateException { throw new java.security.cert.CertificateException ( "Client authentication not supported" ) ; }

Target:
public void checkClientTrusted ( java.security.cert.X509Certificate [ ] chain , java.lang.String authType ) throws java.security.cert.CertificateException { mDelegate.checkClientTrusted ( chain , authType ) ; }
Source:
public static void assertSSLEngineDefaultProtocols ( java.lang.String [ ] protocols ) { libcore.java.security.StandardNames.assertSSLEngineValidProtocols ( protocols ) ; libcore.java.security.StandardNames.assertSupportedProtocols ( libcore.java.security.StandardNames.SSL_SOCKET_PROTOCOLS_DEFAULT_SSLENGINE , protocols ) ; }

Target:
public static void assertSSLEngineDefaultProtocols ( java.lang.String [ ] protocols ) { libcore.java.security.StandardNames.assertValidProtocols ( protocols ) ; libcore.java.security.StandardNames.assertSupportedProtocols ( libcore.java.security.StandardNames.SSL_SOCKET_PROTOCOLS_CLIENT_DEFAULT , protocols ) ; }
Source:
public com.android.internal.telephony.uicc.IccCardStatus.CardState getCardState ( ) { synchronized ( mLock ) { return mCardState ; } }

Target:
public com.android.internal.telephony.uicc.IccCardStatus.CardState getCardState ( ) { synchronized ( mLock ) { if ( ( mCardState ) == null ) { return com.android.internal.telephony.uicc.IccCardStatus.CardState.CARDSTATE_ABSENT ; } else { return mCardState ; } } }
Source:
public void test_getCollationKeyLjava_lang_String ( ) throws java.lang.Exception { java.lang.String source = null ; java.lang.String Simple = "< a< b< c< d" ; java.text.RuleBasedCollator rbc = new java.text.RuleBasedCollator ( Simple ) ; java.text.CollationKey ck = rbc.getCollationKey ( source ) ; assertNull ( "Assert 1: getCollationKey (null) does not return null" , ck ) ; }

Target:
public void test_getCollationKeyLjava_lang_String ( ) throws java.lang.Exception { java.lang.String source = null ; java.lang.String Simple = "&9 < a< b< c< d" ; java.text.RuleBasedCollator rbc = new java.text.RuleBasedCollator ( Simple ) ; java.text.CollationKey ck = rbc.getCollationKey ( source ) ; assertNull ( "Assert 1: getCollationKey (null) does not return null" , ck ) ; }
Source:
public final int getSize ( ) { com.android.tools.perflib.heap.ClassObj isa = mHeap.mState.findClass ( mClassId ) ; return isa.getSize ( ) ; }

Target:
public final int getSize ( ) { return mClass.getClassObj ( ) . getSize ( ) ; }
Source:
public boolean hasResources ( com.android.resources.ResourceType type ) { java.util.Map < java.lang.String , com.android.ide.common.rendering.api.ResourceValue > list = mResourceItems.get ( type ) ; return ( list != null ) && ( ( list.size ( ) ) > 0 ) ; }

Target:
public boolean hasResources ( com.android.resources.ResourceType type ) { java.util.Map < java.lang.String , com.android.ide.common.rendering.api.ResourceValue > list = mResourceItems.get ( type ) ; return ( list != null ) && ( ! ( list.isEmpty ( ) ) ) ; }
Source:
public void test_joinSourceSpecific_anyBind_ipv4 ( ) throws java.lang.Exception { java.net.InetAddress ipv4LocalAddress = libcore.java.nio.channels.DatagramChannelMulticastTest.getLocalIpv4Address ( ipv4NetworkInterface ) ; test_joinSourceSpecific ( ipv4LocalAddress , libcore.java.nio.channels.DatagramChannelMulticastTest.WILDCARD_IPv4 , libcore.java.nio.channels.DatagramChannelMulticastTest.GOOD_MULTICAST_IPv4 , libcore.java.nio.channels.DatagramChannelMulticastTest.UNICAST_IPv4_1 , ipv4NetworkInterface ) ; }

Target:
public void test_joinSourceSpecific_anyBind_ipv4 ( ) throws java.lang.Exception { if ( ! ( supportsMulticast ) ) { return ; } java.net.InetAddress ipv4LocalAddress = libcore.java.nio.channels.DatagramChannelMulticastTest.getLocalIpv4Address ( ipv4NetworkInterface ) ; test_joinSourceSpecific ( ipv4LocalAddress , libcore.java.nio.channels.DatagramChannelMulticastTest.WILDCARD_IPv4 , libcore.java.nio.channels.DatagramChannelMulticastTest.GOOD_MULTICAST_IPv4 , libcore.java.nio.channels.DatagramChannelMulticastTest.UNICAST_IPv4_1 , ipv4NetworkInterface ) ; }
Source:
public void testAesCbcHmacMd5Udp6 ( ) throws java.lang.Exception { android.net.IpSecAlgorithm crypt = new android.net.IpSecAlgorithm ( android.net.IpSecAlgorithm.CRYPT_AES_CBC , android.net.cts.IpSecManagerTest.CRYPT_KEY ) ; android.net.IpSecAlgorithm auth = new android.net.IpSecAlgorithm ( android.net.IpSecAlgorithm.AUTH_HMAC_MD5 , getAuthKey ( 256 ) , 128 ) ; checkTransform ( android.system.OsConstants.IPPROTO_UDP , android.net.cts.IpSecManagerTest.IPV6_LOOPBACK , crypt , auth ) ; }

Target:
public void testAesCbcHmacMd5Udp6 ( ) throws java.lang.Exception { android.net.IpSecAlgorithm crypt = new android.net.IpSecAlgorithm ( android.net.IpSecAlgorithm.CRYPT_AES_CBC , android.net.cts.IpSecManagerTest.CRYPT_KEY ) ; android.net.IpSecAlgorithm auth = new android.net.IpSecAlgorithm ( android.net.IpSecAlgorithm.AUTH_HMAC_MD5 , getAuthKey ( 128 ) , 96 ) ; checkTransform ( android.system.OsConstants.IPPROTO_UDP , android.net.cts.IpSecManagerTest.IPV6_LOOPBACK , crypt , auth ) ; }
Source:
public void getNeighboringCids ( android.os.Message response ) { }

Target:
public void setInitialAttachApn ( com.android.internal.telephony.dataconnection.DataProfile dataProfile , boolean isRoaming , android.os.Message result ) { }
Source:
public boolean setPnoList ( com.android.server.wifi.WifiNative.PnoSettings settings , com.android.server.wifi.WifiNative.PnoEventHandler eventHandler ) { android.util.Log.e ( mTAG , "setPnoList not supported" ) ; return false ; }

Target:
public java.util.ArrayList < com.android.server.wifi.ScanDetail > getPnoScanResults ( ) { return mWificondControl.getScanResults ( WificondControl.SCAN_TYPE_PNO_SCAN ) ; }
Source:
void notifyRegistrantsRilConnected ( ) { if ( ( mRilConnectedRegistrants ) != null ) { mRilConnectedRegistrants.notifyRegistrants ( new android.os.AsyncResult ( null , null , null ) ) ; } }

Target:
void notifyRegistrantsRilConnectionChanged ( int rilVer ) { mRilVersion = rilVer ; if ( ( mRilConnectedRegistrants ) != null ) { mRilConnectedRegistrants.notifyRegistrants ( new android.os.AsyncResult ( null , new java.lang.Integer ( rilVer ) , null ) ) ; } }
Source:
public java.lang.Void answer ( ) { set ( null ) ; return null ; }

Target:
public java.lang.Void answer ( org.mockito.invocation.InvocationOnMock invocation ) throws java.lang.Throwable { android.util.Log.d ( com.android.server.NetworkPolicyManagerServiceTest.TAG , ( "counting down on answer: " + invocation ) ) ; latch.countDown ( ) ; return null ; }
Source:
public boolean isRevocable ( ) { return ( left.isRevocable ( ) ) || ( right.isRevocable ( ) ) ; }

Target:
protected void addRevocablePermissions ( @ com.android.annotations.NonNull java.util.Set < java.lang.String > result , @ com.android.annotations.NonNull com.android.tools.lint.checks.PermissionHolder revocable ) { left.addRevocablePermissions ( result , revocable ) ; right.addRevocablePermissions ( result , revocable ) ; }