auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
private void transmitNextMessage ( ) { android.os.Message msg = mSm.obtainMessage ( com.android.server.wifi.nan.WifiNanStateManager.MESSAGE_TYPE_COMMAND ) ; msg.arg1 = com.android.server.wifi.nan.WifiNanStateManager.COMMAND_TYPE_TRANSMIT_NEXT_MESSAGE ; mSm.sendMessage ( msg ) ; }

Target:
private void transmitNextMessage ( ) { android.os.Message msg = mSm.obtainMessage ( com.android.server.wifi.aware.WifiAwareStateManager.MESSAGE_TYPE_COMMAND ) ; msg.arg1 = com.android.server.wifi.aware.WifiAwareStateManager.COMMAND_TYPE_TRANSMIT_NEXT_MESSAGE ; mSm.sendMessage ( msg ) ; }
Source:
synchronized void nScriptSetVarF ( long id , int slot , float val ) { validate ( ) ; rsnScriptSetVarF ( mContext , id , slot , val ) ; }

Target:
synchronized void nScriptSetVarD ( long id , int slot , double val , boolean mUseInc ) { validate ( ) ; long curCon = mContext ; if ( mUseInc ) { curCon = mIncCon ; } rsnScriptSetVarD ( curCon , id , slot , val , mUseInc ) ; }
Source:
public static void assertTlsVersions ( java.lang.String version , java.lang.String [ ] protocols ) { assertEquals ( ( ( "For protocol \"" + version ) + "\"" ) , java.util.Arrays.toString ( libcore.java.security.StandardNames.TLS_VERSIONS.get ( version ) ) , java.util.Arrays.toString ( protocols ) ) ; }

Target:
public static void assertSSLContextEnabledProtocols ( java.lang.String version , java.lang.String [ ] protocols ) { assertEquals ( ( ( "For protocol \"" + version ) + "\"" ) , java.util.Arrays.toString ( libcore.java.security.StandardNames.SSL_CONTEXT_PROTOCOLS_ENABLED.get ( version ) ) , java.util.Arrays.toString ( protocols ) ) ; }
Source:
private android.app.PendingIntent createActionIntent ( java.lang.String action ) { android.content.Intent toggleSpeaker = new android.content.Intent ( context , com.android.incallui.ReturnToCallActionReceiver.class ) ; toggleSpeaker.setAction ( action ) ; return android.app.PendingIntent.getBroadcast ( context , 0 , toggleSpeaker , 0 ) ; }

Target:
private android.app.PendingIntent createActionIntent ( java.lang.String action ) { android.content.Intent intent = new android.content.Intent ( context , com.android.incallui.NewReturnToCallActionReceiver.class ) ; intent.setAction ( action ) ; return android.app.PendingIntent.getBroadcast ( context , 0 , intent , 0 ) ; }
Source:
public void release ( ) { mQueue.clear ( ) ; mNumBytesQueued = 0 ; mAudioTrack.release ( ) ; mAudioTrack = null ; }

Target:
public void release ( ) { mQueue.clear ( ) ; mNumBytesQueued = 0 ; mAudioTrack.release ( ) ; mAudioTrack = null ; mStopped = false ; }
Source:
public void setDataRoamingEnabled ( boolean enable ) { mDcTracker.setDataOnRoamingEnabled ( enable ) ; }

Target:
public void setUserDataEnabled ( boolean enable ) { mDcTracker.setUserDataEnabled ( enable ) ; }
Source:
public java.lang.String getName ( ) { return mName ; }

Target:
public java.lang.String getDisplayName ( ) { return mName ; }
Source:
public static void doTest ( ) { Transform abc = new Transform ( ) ; Main.enableCommonRetransformation ( true ) ; Main.doCommonClassRetransformation ( Transform.class ) ; Main.enableCommonRetransformation ( false ) ; }

Target:
public static void doTest ( ) { Transform abc = new Transform ( ) ; Main.enableCommonRetransformation ( true ) ; Main.doCommonClassRetransformation ( Transform.class ) ; Main.doCommonClassRetransformation ( java.lang.Object.class ) ; Main.enableCommonRetransformation ( false ) ; }
Source:
public boolean supportsAidPrefixRouting ( ) { return ( ( mAidMatchingSupport ) == ( com.android.nfc.cardemulation.AidRoutingManager.AID_MATCHING_EXACT_OR_PREFIX ) ) || ( ( mAidMatchingSupport ) == ( com.android.nfc.cardemulation.AidRoutingManager.AID_MATCHING_PREFIX_ONLY ) ) ; }

Target:
public boolean supportsAidPrefixRouting ( ) { return ( ( ( mAidMatchingSupport ) == ( com.android.nfc.cardemulation.AidRoutingManager.AID_MATCHING_EXACT_OR_PREFIX ) ) || ( ( mAidMatchingSupport ) == ( com.android.nfc.cardemulation.AidRoutingManager.AID_MATCHING_PREFIX_ONLY ) ) ) || ( ( mAidMatchingSupport ) == ( com.android.nfc.cardemulation.AidRoutingManager.AID_MATCHING_EXACT_OR_SUBSET_OR_PREFIX ) ) ; }
Source:
public java.lang.String getIMSI ( ) { return mImsi ; }

Target:
private void onLockedAllRecordsLoaded ( ) { mLockedRecordsLoadedRegistrants.notifyRegistrants ( new android.os.AsyncResult ( null , null , null ) ) ; }
Source:
public java.util.Set < java.lang.String > getAbiFilters ( ) { return ndkConfig.getAbiFilters ( ) ; }

Target:
public java.util.Set < java.lang.String > getAbiFilters ( ) { return ndkConfig.getAbiFilters ( ) . isEmpty ( ) ? null : ndkConfig.getAbiFilters ( ) ; }
Source:
public void setScreenLayoutSizeQualifier ( com.android.ide.common.resources.configuration.ScreenLayoutSizeQualifier qualifier ) { mQualifiers [ com.android.ide.common.resources.configuration.FolderConfiguration.INDEX_SCREEN_LAYOUT_SIZE ] = qualifier ; }

Target:
public void setScreenSizeQualifier ( com.android.ide.common.resources.configuration.ScreenSizeQualifier qualifier ) { mQualifiers [ com.android.ide.common.resources.configuration.FolderConfiguration.INDEX_SCREEN_LAYOUT_SIZE ] = qualifier ; }
Source:
protected com.android.ide.common.internal.PngCruncher getCruncher ( ) { java.io.File aapt = getAapt ( ) ; return QueuedCruncher.Builder.INSTANCE.newCruncher ( aapt.getAbsolutePath ( ) , com.android.builder.png.NinePatchAsyncAaptProcessTest.sLogger ) ; }

Target:
public void run ( ) throws com.android.ide.common.internal.PngException , java.io.IOException { java.io.File outFile = com.android.builder.png.NinePatchAaptProcessorTestUtils.crunchFile ( com.android.builder.png.NinePatchAsyncAaptProcessTest.sCruncherKey.get ( ) , mFile , com.android.builder.png.NinePatchAsyncAaptProcessTest.sCruncher ) ; com.android.builder.png.NinePatchAsyncAaptProcessTest.mSourceAndCrunchedFiles.put ( mFile , outFile ) ; }
Source:
public void showFindDialog ( ) { if ( ( mFindDialog ) != null ) { return ; } mFindDialog = new com.android.ddmuilib.logcat.FindDialog ( org.eclipse.swt.widgets.Display.getDefault ( ) . getActiveShell ( ) , mFindTarget ) ; mFindDialog.open ( ) ; mFindDialog = null ; }

Target:
public void showFindDialog ( ) { if ( ( mFindDialog ) != null ) { return ; } mFindDialog = new com.android.ddmuilib.FindDialog ( org.eclipse.swt.widgets.Display.getDefault ( ) . getActiveShell ( ) , mFindTarget ) ; mFindDialog.open ( ) ; mFindDialog = null ; }
Source:
public static native double abs ( double d ) ;

Target:
public static double abs ( double d ) { return java.lang.Double.longBitsToDouble ( ( ( java.lang.Double.doubleToRawLongBits ( d ) ) & 9223372036854775807L ) ) ; }
Source:
public void callSessionRemoveParticipantsRequestFailed ( com.android.ims.ImsReasonInfo reasonInfo ) throws android.os.RemoteException { mListener.callSessionInviteParticipantsRequestFailed ( reasonInfo ) ; }

Target:
public void callSessionUpdated ( android.telephony.ims.ImsCallProfile profile ) { try { mListener.callSessionUpdated ( profile ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e ) ; } }
Source:
public static android.telephony.SmsMessage newFromParcel ( android.os.Parcel p ) { com.android.internal.telephony.SmsMessageBase wrappedMessage = com.android.internal.telephony.cdma.SmsMessage.newFromParcel ( p ) ; return new android.telephony.SmsMessage ( wrappedMessage ) ; }

Target:
public static android.telephony.SmsMessage newCdmaSmsFromRil ( android.hardware.radio.V1_0.CdmaSmsMessage msg ) { com.android.internal.telephony.SmsMessageBase wrappedMessage = com.android.internal.telephony.cdma.SmsMessage.newFromRil ( msg ) ; return new android.telephony.SmsMessage ( wrappedMessage ) ; }
Source:
public boolean onCreate ( ) { databaseHelper = new com.android.dialer.phonelookup.database.PhoneLookupHistoryDatabaseHelper ( getContext ( ) ) ; return true ; }

Target:
public boolean onCreate ( ) { databaseHelper = com.android.dialer.phonelookup.database.PhoneLookupDatabaseComponent.get ( getContext ( ) ) . phoneLookupHistoryDatabaseHelper ( ) ; return true ; }
Source:
private void unsljLogRet ( int response , java.lang.Object ret ) { riljLog ( ( ( ( "[UNSL]< " + ( com.android.internal.telephony.RIL.responseToString ( response ) ) ) + " " ) + ( retToString ( response , ret ) ) ) ) ; }

Target:
private void unsljLogvRet ( int response , java.lang.Object ret ) { riljLogv ( ( ( ( "[UNSL]< " + ( com.android.internal.telephony.RIL.responseToString ( response ) ) ) + " " ) + ( com.android.internal.telephony.RIL.retToString ( response , ret ) ) ) ) ; }
Source:
boolean cancel ( ) { return complete ( null , null , com.google.common.util.concurrent.AbstractFuture.Sync.CANCELLED ) ; }

Target:
boolean cancel ( boolean interrupt ) { return complete ( null , null , ( interrupt ? com.google.common.util.concurrent.AbstractFuture.Sync.INTERRUPTED : com.google.common.util.concurrent.AbstractFuture.Sync.CANCELLED ) ) ; }
Source:
public void run ( com.android.jack.ir.ast.JDefinedClassOrInterface type ) throws java.lang.Exception { if ( ( type instanceof com.android.jack.ir.ast.JDefinedAnnotation ) && ( ( ( ( com.android.jack.ir.ast.JDefinedAnnotation ) ( type ) ) . getRetentionPolicy ( ) ) == ( com.android.jack.ir.ast.JRetentionPolicy.RUNTIME ) ) ) { type.addMarker ( MultiDexInstallerMarker.INSTANCE ) ; } }

Target:
public void run ( com.android.jack.ir.ast.JDefinedClassOrInterface type ) throws java.lang.Exception { if ( ( type instanceof com.android.jack.ir.ast.JDefinedAnnotationType ) && ( ( ( ( com.android.jack.ir.ast.JDefinedAnnotationType ) ( type ) ) . getRetentionPolicy ( ) ) == ( com.android.jack.ir.ast.JRetentionPolicy.RUNTIME ) ) ) { type.addMarker ( MultiDexInstallerMarker.INSTANCE ) ; } }
Source:
private static int getDefaultSubscription ( ) { return android.telephony.SubscriptionManager.getDefaultSubscriptionId ( ) ; }

Target:
private int getSubId ( ) { if ( android.telephony.SubscriptionManager.isUsableSubIdValue ( mSubId ) ) { return mSubId ; } return android.telephony.SubscriptionManager.getDefaultSubscriptionId ( ) ; }
Source:
public void setUp ( ) throws java.lang.Exception { mMockRunUtil = org.easymock.EasyMock.createNiceMock ( com.android.tradefed.util.IRunUtil.class ) ; mPreparer = new com.android.tradefed.targetprep.VtsPythonVirtualenvPreparer ( ) ; mPreparer.mRunUtil = mMockRunUtil ; }

Target:
com.android.tradefed.util.IRunUtil getRunUtil ( ) { return mMockRunUtil ; }
Source:
public static void computeNextafter ( android.renderscript.cts.TestNextafter.ArgumentsFloatFloatFloat args , android.renderscript.cts.Target t ) { t.setPrecision ( 0 , 0 , false ) ; args.out = t.new32 ( java.lang.Math.nextAfter ( args.inX , args.inY ) ) ; }

Target:
public static void computeNextafter ( android.renderscript.cts.TestNextafter.ArgumentsFloatFloatFloat args , android.renderscript.cts.Target t ) { t.setPrecision ( 0 , 0 , false ) ; args.out = t.new32 ( java.lang.Math.nextAfter ( args.inV , args.inTarget ) ) ; }
Source:
public void test_parse_h_z_4DigitOffsetFromGMT ( ) throws java.lang.Exception { assertParse ( "h z" , "14 GMT-0001 " , new java.util.Date ( 54000000 ) , 0 , 11 ) ; assertParse ( "h z" , "14 GMT+0001 " , new java.util.Date ( 46800000 ) , 0 , 11 ) ; }

Target:
public void test_parse_h_z_4DigitOffsetFromGMT ( ) throws java.lang.Exception { assertParse ( "h z" , "14 GMT-0100 " , new java.util.Date ( 54000000 ) , 0 , 11 ) ; assertParse ( "h z" , "14 GMT+0100 " , new java.util.Date ( 46800000 ) , 0 , 11 ) ; }
Source:
long getLastModified ( @ javax.annotation.Nonnull com.android.sched.vfs.ReadZipFS.ZipVFile file ) { return inputZipFile.getLastModified ( ) ; }

Target:
java.nio.file.attribute.FileTime getLastModified ( @ javax.annotation.Nonnull com.android.sched.vfs.ReadZipFS.ZipVFile file ) throws com.android.sched.util.file.CannotGetModificationTimeException { return inputZipFile.getLastModified ( ) ; }
Source:
public void testCheckReadPhoneNumber_noPermissions ( ) { try { com.android.internal.telephony.TelephonyPermissions.checkReadPhoneNumber ( mMockContext , com.android.internal.telephony.TelephonyPermissionsTest.PID , com.android.internal.telephony.TelephonyPermissionsTest.UID , com.android.internal.telephony.TelephonyPermissionsTest.PACKAGE , com.android.internal.telephony.TelephonyPermissionsTest.MSG ) ; org.junit.Assert.fail ( "Should have thrown SecurityException" ) ; } catch ( java.lang.SecurityException e ) { } }

Target:
public void testCheckReadPhoneNumber_noPermissions ( ) { try { com.android.internal.telephony.TelephonyPermissions.checkReadPhoneNumber ( mMockContext , ( ) -> mMockTelephony , com.android.internal.telephony.TelephonyPermissionsTest.SUB_ID , com.android.internal.telephony.TelephonyPermissionsTest.PID , com.android.internal.telephony.TelephonyPermissionsTest.UID , com.android.internal.telephony.TelephonyPermissionsTest.PACKAGE , com.android.internal.telephony.TelephonyPermissionsTest.MSG ) ; org.junit.Assert.fail ( "Should have thrown SecurityException" ) ; } catch ( java.lang.SecurityException e ) { } }
Source:
protected boolean nativeConnectDisabled ( ) { return false ; }

Target:
protected boolean nativeConnectDisabled ( ) { return java.net.AbstractPlainDatagramSocketImpl.connectDisabled ; }
Source:
public com.android.ims.internal.IImsCallSession createCallSession ( int serviceId , com.android.ims.ImsCallProfile profile , com.android.ims.internal.IImsCallSessionListener listener ) { return onCreateCallSession ( serviceId , profile , listener ) ; }

Target:
public com.android.ims.internal.IImsCallSession createCallSession ( int serviceId , android.telephony.ims.ImsCallProfile profile , com.android.ims.internal.IImsCallSessionListener listener ) { return onCreateCallSession ( serviceId , profile , listener ) ; }
Source:
public static void computeAtan2pi ( android.renderscript.cts.TestAtan2pi.ArgumentsFloatFloatFloat args ) { args.ulf = 6 ; args.ulfRelaxed = 128 ; args.out = ( ( float ) ( ( java.lang.StrictMath.atan2 ( args.inY , args.inX ) ) / ( java.lang.StrictMath.PI ) ) ) ; }

Target:
public static void computeAtan2pi ( android.renderscript.cts.TestAtan2pi.ArgumentsFloatFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( ( ( android.renderscript.cts.CoreMathVerifier.atan2 ( args.inY , args.inX ) ) / ( ( float ) ( java.lang.Math.PI ) ) ) , 6 , 128 ) ; }
Source:
public void cleanup ( ) { if ( com.android.bluetooth.avrcp.BrowsedMediaPlayer.DEBUG ) android.util.Log.d ( com.android.bluetooth.avrcp.BrowsedMediaPlayer.TAG , "cleanup" ) ; if ( ( mConnState ) != ( com.android.bluetooth.avrcp.BrowsedMediaPlayer.DISCONNECTED ) ) { disconnectFromPlayer ( ) ; } mHmap = null ; mMediaController = null ; mMediaBrowser = null ; }

Target:
public void cleanup ( ) { if ( com.android.bluetooth.avrcp.BrowsedMediaPlayer.DEBUG ) android.util.Log.d ( com.android.bluetooth.avrcp.BrowsedMediaPlayer.TAG , "cleanup" ) ; if ( ( mConnState ) != ( com.android.bluetooth.avrcp.BrowsedMediaPlayer.DISCONNECTED ) ) { mMediaBrowser.disconnect ( ) ; } mHmap = null ; mMediaController = null ; mMediaBrowser = null ; }
Source:
private static void waitUntilAllThreadsStopped ( ) { java.io.File tasks = new java.io.File ( "/proc/self/task" ) ; while ( ( tasks.list ( ) . length ) > 1 ) { try { java.lang.Thread.sleep ( 10 ) ; } catch ( java.lang.InterruptedException ignored ) { } } }

Target:
private static void waitUntilAllThreadsStopped ( ) { java.io.File tasks = new java.io.File ( "/proc/self/task" ) ; while ( ( tasks.list ( ) . length ) > 1 ) { java.lang.Thread.yield ( ) ; } }
Source:
public void addPages ( ) { super . addPages ( ) ; addPage ( mMainPage ) ; addPage ( mActivityPage ) ; }

Target:
public void addPages ( ) { super . addPages ( ) ; addPage ( mMainPage ) ; addPage ( mContentsPage ) ; addPage ( mActivityPage ) ; }
Source:
public static void doTest ( ) { art.Test983.Transform abc = new art.Test983.Transform ( ) ; art.Redefinition.enableCommonRetransformation ( true ) ; art.Redefinition.doCommonClassRetransformation ( art.Test983.Transform.class ) ; art.Redefinition.doCommonClassRetransformation ( java.lang.Object.class ) ; art.Redefinition.enableCommonRetransformation ( false ) ; }

Target:
public static void doTest ( ) { art.Redefinition.enableCommonRetransformation ( true ) ; art.Redefinition.doCommonClassRetransformation ( art.Test983.Transform.class ) ; art.Redefinition.doCommonClassRetransformation ( java.lang.Object.class ) ; art.Redefinition.doCommonClassRetransformation ( java.lang.ClassLoader.class ) ; art.Redefinition.enableCommonRetransformation ( false ) ; }
Source:
public void testExceptionContainsMatcherDescription ( ) { java.lang.StringBuilder matcherDescription = new java.lang.StringBuilder ( ) ; alwaysTrueMatcher.describeTo ( new org.hamcrest.StringDescription ( matcherDescription ) ) ; org.hamcrest.MatcherAssert.assertThat ( createException ( ) . getMessage ( ) , org.hamcrest.Matchers.containsString ( matcherDescription.toString ( ) ) ) ; }

Target:
public void exceptionContainsMatcherDescription ( ) { java.lang.StringBuilder matcherDescription = new java.lang.StringBuilder ( ) ; alwaysTrueMatcher.describeTo ( new org.hamcrest.StringDescription ( matcherDescription ) ) ; org.hamcrest.MatcherAssert.assertThat ( createException ( ) . getMessage ( ) , org.hamcrest.Matchers.containsString ( matcherDescription.toString ( ) ) ) ; }
Source:
public java.util.ArrayList < android.telephony.SmsMessage > smsGetAllMessagesFromIcc ( ) { return android.telephony.SmsManager.getDefault ( ) . getAllMessagesFromIcc ( ) ; }

Target:
public java.util.ArrayList < android.telephony.SmsMessage > smsGetAllMessagesFromIcc ( ) { return mSms.getAllMessagesFromIcc ( ) ; }
Source:
public boolean needWorkspaceLocation ( ) { return ! ( getPathVariables ( ) . isEmpty ( ) ) ; }

Target:
public org.w3c.dom.Document getManifestDoc ( ) throws java.io.IOException { assert isAndroidProject ( ) ; if ( ( mManifestDoc ) == null ) { java.io.File file = getManifestFile ( ) ; mManifestDoc = mImporter.getXmlDocument ( file , true ) ; } return mManifestDoc ; }
Source:
public boolean onClick ( ) { context.startActivity ( intent ) ; return true ; }

Target:
public boolean onClick ( ) { com.android.dialer.util.DialerUtils.startActivityWithErrorToast ( context , intent ) ; return true ; }
Source:
public void test1_bitCount ( ) { for ( int i = 0 ; i < 10 ; i ++ ) { assertEquals ( com.android.dx.util._tests.BitsTest.label ( i ) , 0 , com.android.dx.util.Bits.bitCount ( new int [ i ] ) ) ; } }

Target:
public void test1_bitCount ( ) { for ( int i = 0 ; i < 10 ; i ++ ) { assertEquals ( com.android.dx.util.BitsTest.label ( i ) , 0 , com.android.dx.util.Bits.bitCount ( new int [ i ] ) ) ; } }
Source:
public com.android.server.wifi.hotspot2.PasspointProvider makePasspointProvider ( android.net.wifi.hotspot2.PasspointConfiguration config , com.android.server.wifi.WifiKeyStore keyStore , long providerId ) { return new com.android.server.wifi.hotspot2.PasspointProvider ( config , keyStore , providerId ) ; }

Target:
public com.android.server.wifi.hotspot2.PasspointProvider makePasspointProvider ( android.net.wifi.hotspot2.PasspointConfiguration config , com.android.server.wifi.WifiKeyStore keyStore , com.android.server.wifi.SIMAccessor simAccessor , long providerId ) { return new com.android.server.wifi.hotspot2.PasspointProvider ( config , keyStore , simAccessor , providerId ) ; }
Source:
public static com.intellij.execution.testframework.ui.BaseTestsOutputConsoleView createConsole ( @ org.jetbrains.annotations.NotNull final java.lang.String testFrameworkName , @ org.jetbrains.annotations.NotNull final com.intellij.execution.testframework.TestConsoleProperties consoleProperties , com.intellij.execution.runners.ExecutionEnvironment environment ) { return com.google.gct.testing.results.GoogleCloudTestResultsConnectionUtil.createConsoleWithCustomLocator ( testFrameworkName , consoleProperties , environment , null ) ; }

Target:
public static com.intellij.execution.testframework.ui.BaseTestsOutputConsoleView createConsole ( @ org.jetbrains.annotations.NotNull final java.lang.String testFrameworkName , @ org.jetbrains.annotations.NotNull final com.intellij.execution.testframework.TestConsoleProperties consoleProperties , com.intellij.execution.runners.ExecutionEnvironment environment , @ org.jetbrains.annotations.NotNull final com.google.gct.testing.CloudMatrixExecutionCancellator matrixExecutionCancellator ) { return com.google.gct.testing.results.GoogleCloudTestResultsConnectionUtil.createConsoleWithCustomLocator ( testFrameworkName , consoleProperties , environment , null , matrixExecutionCancellator ) ; }
Source:
public com.android.sdklib.ISystemImage getSystemImage ( ) { return com.android.sdklib.repository.local.LocalSysImgPkgInfo.getSystemImage ( mDesc , getLocalDir ( ) ) ; }

Target:
public com.android.sdklib.ISystemImage getSystemImage ( ) { return com.android.sdklib.repository.local.LocalSysImgPkgInfo.getSystemImage ( mDesc , getLocalDir ( ) , getLocalSdk ( ) . getFileOp ( ) ) ; }
Source:
private boolean checkBundleFormatVersion ( libcore.tzdata.update2.BundleVersion bundleVersion ) { return bundleVersion.getBundleFormatMajorVersion ( ) . equals ( BundleVersion.BUNDLE_FORMAT_MAJOR_VERSION ) ; }

Target:
public boolean install ( byte [ ] content ) throws java.io.IOException { int result = installWithErrorCode ( content ) ; return result == ( libcore.tzdata.update2.TimeZoneBundleInstaller.INSTALL_SUCCESS ) ; }
Source:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface node ) { if ( ( node.getAnnotation ( installerAnnotation ) ) != null ) { markIfNecessary ( node ) ; } return super . visit ( node ) ; }

Target:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface node ) { if ( ! ( node.getAnnotations ( installerAnnotation ) . isEmpty ( ) ) ) { markIfNecessary ( node ) ; } return super . visit ( node ) ; }
Source:
public static native long EC_POINT_new ( long groupRef ) ;

Target:
public static native int get_EC_GROUP_type ( org.conscrypt.NativeRef.EC_GROUP groupRef ) ;
Source:
public java.util.List < java.security.cert.X509Certificate > checkServerTrusted ( java.security.cert.X509Certificate [ ] chain , java.lang.String authType , javax.net.ssl.SSLSession session ) throws java.security.cert.CertificateException { return checkTrusted ( chain , authType , session , null , false ) ; }

Target:
public java.util.List < java.security.cert.X509Certificate > checkServerTrusted ( java.security.cert.X509Certificate [ ] chain , java.lang.String authType , javax.net.ssl.SSLSession session ) throws java.security.cert.CertificateException { return checkTrusted ( chain , authType , session.getPeerHost ( ) , false ) ; }
Source:
public java.lang.Object apply ( com.google.common.collect.Table.Cell < java.lang.Object , java.lang.Object , java.lang.Object > from ) { return from.getValue ( ) ; }

Target:
abstract com.google.common.collect.Table.Cell < R , C , V > getCell ( int iterationIndex ) ;
Source:
protected boolean invokeCodeCompletion ( ) { return ( ( mId.equals ( SecurityDetector.EXPORTED_SERVICE.getId ( ) ) ) || ( mId.equals ( TextFieldDetector.ISSUE.getId ( ) ) ) ) || ( mId.equals ( ManifestOrderDetector.ALLOW_BACKUP.getId ( ) ) ) ; }

Target:
protected boolean invokeCodeCompletion ( ) { return ( ( mId.equals ( SecurityDetector.EXPORTED_SERVICE.getId ( ) ) ) || ( mId.equals ( TextFieldDetector.ISSUE.getId ( ) ) ) ) || ( mId.equals ( ManifestDetector.ALLOW_BACKUP.getId ( ) ) ) ; }
Source:
public void testE3 ( ) { dot.junit.opcodes.aget_object.d.T_aget_object_1 t = new dot.junit.opcodes.aget_object.d.T_aget_object_1 ( ) ; java.lang.String [ ] arr = null ; try { t.run ( arr , 0 ) ; fail ( "expected NullPointerException" ) ; } catch ( java.lang.NullPointerException npe ) { } }

Target:
public void testE3 ( ) { loadAndRun ( "dot.junit.opcodes.aget_object.d.T_aget_object_1" , java.lang.NullPointerException.class , null , 0 ) ; }
Source:
public static void setCotext ( android.content.Context c ) { android.util.Log.i ( "NDKHelper" , ( "set context:" + c ) ) ; com.sample.helper.NDKHelper.context = c ; }

Target:
public static void setContext ( android.content.Context c ) { android.util.Log.i ( "NDKHelper" , ( "setContext:" + c ) ) ; com.sample.helper.NDKHelper.context = c ; }
Source:
public void actionPerformed ( java.awt.event.ActionEvent event ) { org.jdesktop.swingworker.SwingWorker < ? , ? > worker = openOverlay ( ) ; if ( worker != null ) { worker.execute ( ) ; } }

Target:
public void actionPerformed ( java.awt.event.ActionEvent event ) { javax.swing.SwingWorker < ? , ? > worker = openOverlay ( ) ; if ( worker != null ) { worker.execute ( ) ; } }
Source:
private void runH264DecodeAccuracyTest ( android.media.cts.VideoViewFactory videoViewFactory , android.media.cts.VideoFormat videoFormat ) { runDecodeAccuracyTest ( videoViewFactory , videoFormat , R.raw.h264decodertestgolden ) ; }

Target:
private void runH264DecodeAccuracyTest ( android.media.cts.VideoViewFactory videoViewFactory , android.media.cts.VideoFormat videoFormat ) { if ( android.cts.util.MediaUtils.checkDecoder ( MediaFormat.MIMETYPE_VIDEO_AVC ) ) { runDecodeAccuracyTest ( videoViewFactory , videoFormat , R.raw.h264decodertestgolden ) ; } }
Source:
public org.chromium.mojo.system.Core.WaitResult wait ( org.chromium.mojo.system.Core.HandleSignals signals , long deadline ) { return mCore.wait ( this , signals , deadline ) ; }

Target:
public org.chromium.mojo.system.Core.HandleSignalsState querySignalsState ( ) { return mCore.queryHandleSignalsState ( mMojoHandle ) ; }
Source:
public void checkDelete ( java.lang.String file ) { if ( isRelevant ( ) ) { if ( file.startsWith ( mTempDir ) ) { return ; } throw com.android.ide.common.rendering.RenderSecurityException.create ( "Delete" , file ) ; } }

Target:
private boolean isWritingAllowed ( java.lang.String path ) { if ( path.startsWith ( mTempDir ) ) { return true ; } return false ; }
Source:
public void setUp ( ) throws java.lang.Exception { org.mockito.MockitoAnnotations.initMocks ( this ) ; mDut = new android.net.wifi.nan.WifiNanManager ( mockContext , mockNanService ) ; mMockLooper = new android.os.test.TestLooper ( ) ; }

Target:
public void setUp ( ) throws java.lang.Exception { org.mockito.MockitoAnnotations.initMocks ( this ) ; mDut = new android.net.wifi.nan.WifiNanManager ( mockContext , mockNanService ) ; mMockLooper = new android.os.test.TestLooper ( ) ; mMockLooperHandler = new android.os.Handler ( mMockLooper.getLooper ( ) ) ; }
Source:
public static void computeFmax ( android.renderscript.cts.TestFmax.ArgumentsFloatFloatFloat args ) { args.ulf = 0 ; args.ulfRelaxed = 0 ; args.out = java.lang.StrictMath.max ( args.inX , args.inY ) ; }

Target:
public static void computeCeil ( android.renderscript.cts.TestCeil.ArgumentsFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( android.renderscript.cts.CoreMathVerifier.ceil ( args.in ) , 0 , 1 ) ; }
Source:
android.support.v4.util.SimpleArrayMap < java.lang.Character , java.lang.Character > getCharToKeyMap ( ) { return com.android.dialer.smartdial.map.LatinSmartDialMap.CHAR_TO_KEY_MAP ; }

Target:
android.support.v4.util.SimpleArrayMap < java.lang.Character , java.lang.Character > getCharToKeyMap ( ) { return com.android.dialer.dialpadview.DialpadCharMappings.getDefaultCharToKeyMap ( ) ; }
Source:
public void onCreate ( com.android.ide.common.api.INode node , com.android.ide.common.api.INode parent , com.android.ide.common.api.InsertType insertType ) { super . onCreate ( node , parent , insertType ) ; node.setAttribute ( com.android.ide.common.layout.LayoutConstants.ANDROID_URI , com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_WIDTH , getFillParentValueName ( ) ) ; }

Target:
public void onCreate ( com.android.ide.common.api.INode node , com.android.ide.common.api.INode parent , com.android.ide.common.api.InsertType insertType ) { super . onCreate ( node , parent , insertType ) ; node.setAttribute ( com.android.util.XmlUtils.ANDROID_URI , com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_WIDTH , getFillParentValueName ( ) ) ; }
Source:
boolean isPermanentFail ( com.android.internal.telephony.dataconnection.DcFailCause dcFailCause ) { return ( dcFailCause.isPermanentFail ( ) ) && ( ( ( mAttached.get ( ) ) == false ) || ( dcFailCause != ( DcFailCause.SIGNAL_LOST ) ) ) ; }

Target:
boolean isPermanentFailure ( com.android.internal.telephony.dataconnection.DcFailCause dcFailCause ) { return ( dcFailCause.isPermanentFailure ( mPhone.getContext ( ) , mPhone.getSubId ( ) ) ) && ( ( ( mAttached.get ( ) ) == false ) || ( dcFailCause != ( DcFailCause.SIGNAL_LOST ) ) ) ; }
Source:
public void onNotify ( java.lang.String address , int srvcType , int srvcInstId , android.os.ParcelUuid srvcUuid , int charInstId , android.os.ParcelUuid charUuid , byte [ ] value ) throws android.os.RemoteException { }

Target:
public void onDescriptorRead ( java.lang.String address , int status , int handle , byte [ ] value ) throws android.os.RemoteException { }
Source:
public void loggedRun ( ) { synchronized ( mLock ) { if ( mPendingCallsToDisconnect.remove ( call ) ) { com.android.server.telecom.Log.i ( this , "Delayed disconnection of call: %s" , call ) ; call.disconnect ( ) ; } } }

Target:
public void loggedRun ( ) { synchronized ( mLock ) { if ( mPendingCallsToDisconnect.remove ( call ) ) { android.telecom.Log.i ( this , "Delayed disconnection of call: %s" , call ) ; call.disconnect ( ) ; } } }
Source:
public boolean checkAndSet ( java.lang.String value , com.android.ide.eclipse.adt.internal.resources.configurations.FolderConfiguration config ) { com.android.ide.eclipse.adt.internal.resources.configurations.RegionQualifier qualifier = com.android.ide.eclipse.adt.internal.resources.configurations.RegionQualifier.getQualifier ( value ) ; if ( qualifier != null ) { config.setRegionQualifier ( qualifier ) ; return true ; } return false ; }

Target:
public boolean checkAndSet ( java.lang.String value , com.android.ide.common.resources.configuration.FolderConfiguration config ) { com.android.ide.common.resources.configuration.RegionQualifier qualifier = com.android.ide.common.resources.configuration.RegionQualifier.getQualifier ( value ) ; if ( qualifier != null ) { config.setRegionQualifier ( qualifier ) ; return true ; } return false ; }
Source:
protected void readResponseHeaders ( javax.obex.HeaderSet headerset ) { android.util.Log.v ( com.android.bluetooth.pbapclient.BluetoothPbapRequestPullPhoneBook.TAG , "readResponseHeaders" ) ; com.android.bluetooth.pbapclient.utils.ObexAppParameters oap = com.android.bluetooth.pbapclient.utils.ObexAppParameters.fromHeaderSet ( headerset ) ; if ( oap.exists ( com.android.bluetooth.pbapclient.OAP_TAGID_NEW_MISSED_CALLS ) ) { mNewMissedCalls = oap.getByte ( com.android.bluetooth.pbapclient.OAP_TAGID_NEW_MISSED_CALLS ) ; } }

Target:
protected void readResponseHeaders ( javax.obex.HeaderSet headerset ) { android.util.Log.v ( com.android.bluetooth.pbapclient.BluetoothPbapRequestPullPhoneBook.TAG , "readResponseHeaders" ) ; com.android.bluetooth.pbapclient.ObexAppParameters oap = com.android.bluetooth.pbapclient.ObexAppParameters.fromHeaderSet ( headerset ) ; if ( oap.exists ( com.android.bluetooth.pbapclient.OAP_TAGID_NEW_MISSED_CALLS ) ) { mNewMissedCalls = oap.getByte ( com.android.bluetooth.pbapclient.OAP_TAGID_NEW_MISSED_CALLS ) ; } }
Source:
public boolean askYesOrNo ( java.lang.String title , java.lang.String message ) { return ( com.intellij.openapi.ui.Messages.showYesNoDialog ( message , title , com.intellij.openapi.ui.Messages.getQuestionIcon ( ) ) ) == ( com.intellij.openapi.ui.Messages.YES ) ; }

Target:
public boolean askYesOrNo ( java.lang.String title , java.lang.String message ) { javax.swing.Icon icon = com.intellij.openapi.util.IconLoader.getIcon ( com.google.gct.login.GoogleLogin.AndroidUiFacade.GOOGLE_IMG ) ; return ( com.intellij.openapi.ui.Messages.showYesNoDialog ( message , title , icon ) ) == ( com.intellij.openapi.ui.Messages.YES ) ; }
Source:
public void enter ( ) { turnOnMasterTetherSettings ( ) ; simChange.startListening ( ) ; mUpstreamNetworkMonitor.start ( ) ; chooseUpstreamType ( true ) ; mTryCell = false ; }

Target:
public void enter ( ) { turnOnMasterTetherSettings ( ) ; simChange.startListening ( ) ; mUpstreamNetworkMonitor.start ( ) ; mOffloadController.start ( ) ; chooseUpstreamType ( true ) ; mTryCell = false ; }
Source:
public void test_getByName_loopbackIpv4 ( ) throws java.lang.Exception { java.net.InetAddress inetAddress = java.net.InetAddress.getByName ( "127.0.0.1" ) ; libcore.java.net.InetAddressTest.assertEquals ( libcore.java.net.InetAddressTest.LOOPBACK4_BYTES , "localhost" , inetAddress ) ; assertTrue ( inetAddress.isLoopbackAddress ( ) ) ; }

Target:
public void test_getByName_loopbackIpv4 ( ) throws java.lang.Exception { java.net.InetAddress inetAddress = java.net.InetAddress.getByName ( "127.0.0.1" ) ; libcore.java.net.InetAddressTest.checkInetAddress ( libcore.java.net.InetAddressTest.LOOPBACK4_BYTES , "localhost" , inetAddress ) ; org.junit.Assert.assertTrue ( inetAddress.isLoopbackAddress ( ) ) ; }
Source:
public void run ( ) { if ( ( mProgressDialog ) != null ) { mProgressDialog.setProgress ( progress ) ; } }

Target:
public void run ( ) { if ( ( mProgressDialog ) != null ) { mProgressDialog.setProgress ( progress ) ; if ( message != null ) { mProgressDialog.setMessage ( message ) ; } } }
Source:
public static void div ( ) { Main.divInt ( ) ; Main.divFloat ( ) ; Main.divDouble ( ) ; }

Target:
public static void div ( ) { Main.divInt ( ) ; Main.divLong ( ) ; Main.divFloat ( ) ; Main.divDouble ( ) ; }
Source:
protected void update ( com.android.ide.common.resources.ScanningContext context ) { }

Target:
protected void update ( com.android.ide.common.resources.ScanningContext context ) { validateAttributes ( context ) ; }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent arg0 ) { onBrowseSdCard ( ) ; validatePage ( ) ; }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent arg0 ) { boolean sizeMode = mSdCardSizeRadio.getSelection ( ) ; enableSdCardWidgets ( sizeMode ) ; validatePage ( ) ; }
Source:
public boolean matches ( java.lang.Object argument ) { return true ; }

Target:
public boolean matchesObject ( java.lang.Object argument ) { return true ; }
Source:
public java.lang.Boolean call ( ) { return onGenericMotionEvent ( event ) ; }

Target:
public java.lang.Boolean call ( ) { return requestFocus ( direction , previouslyFocusedRect ) ; }
Source:
public android.view.ViewPropertyAnimator setStartDelay ( long startDelay ) { if ( startDelay < 0 ) { throw new java.lang.IllegalArgumentException ( ( "Animators cannot have negative duration: " + startDelay ) ) ; } mStartDelaySet = true ; mStartDelay = startDelay ; return this ; }

Target:
public android.view.ViewPropertyAnimator setStartDelay ( long startDelay ) { if ( startDelay < 0 ) { throw new java.lang.IllegalArgumentException ( ( ( "Animators cannot have negative start " + "delay: " ) + startDelay ) ) ; } mStartDelaySet = true ; mStartDelay = startDelay ; return this ; }
Source:
public static com.android.sdklib.xml.ManifestData parse ( com.android.sdklib.io.IAbstractFile manifestFile ) throws com.android.sdklib.io.StreamException , java.io.IOException , javax.xml.parsers.ParserConfigurationException , org.xml.sax.SAXException { return com.android.sdklib.xml.AndroidManifestParser.parse ( manifestFile , true , null ) ; }

Target:
public static com.android.sdklib.xml.ManifestData parse ( com.android.io.IAbstractFile manifestFile ) throws com.android.io.StreamException , java.io.IOException , javax.xml.parsers.ParserConfigurationException , org.xml.sax.SAXException { return com.android.sdklib.xml.AndroidManifestParser.parse ( manifestFile , true , null ) ; }
Source:
public java.lang.String [ ] getHeader ( ) ;

Target:
com.android.sched.util.print.Printer addResourceBundles ( @ javax.annotation.Nonnull java.util.Collection < java.util.ResourceBundle > bundles ) ;
Source:
public boolean visitNode ( lombok.ast.Node node ) { return ( mContainsCleanup ) || ( super . visitNode ( node ) ) ; }

Target:
public void visitElement ( com.intellij.psi.PsiElement element ) { if ( ! ( mContainsCleanup ) ) { super . visitElement ( element ) ; } }
Source:
static com.android.ddmlib.MonitorThread createInstance ( ) { return com.android.ddmlib.MonitorThread.mInstance = new com.android.ddmlib.MonitorThread ( ) ; }

Target:
static com.android.ddmlib.MonitorThread createInstance ( ) { return com.android.ddmlib.MonitorThread.sInstance = new com.android.ddmlib.MonitorThread ( ) ; }
Source:
public static double signum ( double d ) { return ( d == 0.0 ) || ( sun.misc.FpUtils.isNaN ( d ) ) ? d : sun.misc.FpUtils.copySign ( 1.0 , d ) ; }

Target:
public static double nextUp ( double d ) { return java.lang.Math.nextUp ( d ) ; }
Source:
public static boolean isInternalClassType ( java.lang.String internalType ) { int length = internalType.length ( ) ; return ( length > 1 ) && ( ( internalType.charAt ( ( length - 1 ) ) ) == ( proguard.classfile.ClassConstants.INTERNAL_TYPE_CLASS_END ) ) ; }

Target:
public static boolean isInternalClassType ( java.lang.String internalType ) { int length = internalType.length ( ) ; return ( length > 1 ) && ( ( internalType.charAt ( ( length - 1 ) ) ) == ( ClassConstants.TYPE_CLASS_END ) ) ; }
Source:
protected java.io.File buildProject ( @ com.android.annotations.NonNull java.lang.String name , @ com.android.annotations.NonNull java.lang.String gradleVersion ) { return runTasksOnProject ( name , gradleVersion , java.util.Collections.< java.lang.String > emptyList ( ) , "clean" , "assembleDebug" , "lint" ) ; }

Target:
protected java.io.File buildProject ( @ com.android.annotations.NonNull java.lang.String name , @ com.android.annotations.NonNull java.lang.String gradleVersion ) { return runTasksOn ( name , gradleVersion , "clean" , "assembleDebug" , "lint" ) ; }
Source:
public void enableVisualVoicemailSmsFilter ( java.lang.String callingPackage , int subId , android.telephony.VisualVoicemailSmsFilterSettings settings ) { mAppOps.checkPackage ( android.os.Binder.getCallingUid ( ) , callingPackage ) ; com.android.phone.VisualVoicemailSmsFilterConfig.enableVisualVoicemailSmsFilter ( mPhone.getContext ( ) , callingPackage , subId , settings ) ; }

Target:
public void enableVisualVoicemailSmsFilter ( java.lang.String callingPackage , int subId , android.telephony.VisualVoicemailSmsFilterSettings settings ) { mAppOps.checkPackage ( android.os.Binder.getCallingUid ( ) , callingPackage ) ; com.android.phone.vvm.VisualVoicemailSmsFilterConfig.enableVisualVoicemailSmsFilter ( mPhone.getContext ( ) , callingPackage , subId , settings ) ; }
Source:
public void run ( com.android.jack.ir.ast.cfg.JControlFlowGraph cfg ) { com.android.jack.transformations.ssa.SsaBasicBlockSplitterMarker marker = cfg.removeMarker ( com.android.jack.transformations.ssa.SsaBasicBlockSplitterMarker.class ) ; assert marker != null ; placePhiFunctions ( cfg ) ; }

Target:
public void run ( com.android.jack.ir.ast.JMethodBodyCfg body ) { com.android.jack.transformations.ssa.SsaBasicBlockSplitterMarker marker = body.removeMarker ( com.android.jack.transformations.ssa.SsaBasicBlockSplitterMarker.class ) ; assert marker != null ; placePhiFunctions ( body.getCfg ( ) ) ; }
Source:
public static int getState ( int level , int numLevels , boolean cutOut ) { return ( ( ( cutOut ? com.android.systemui.statusbar.phone.SignalDrawable.STATE_CUT : 0 ) << ( com.android.systemui.statusbar.phone.SignalDrawable.STATE_SHIFT ) ) | ( numLevels << ( com.android.systemui.statusbar.phone.SignalDrawable.NUM_LEVEL_SHIFT ) ) ) | level ; }

Target:
public static int getState ( int level , int numLevels , boolean cutOut ) { return ( ( ( cutOut ? com.android.settingslib.graph.SignalDrawable.STATE_CUT : 0 ) << ( com.android.settingslib.graph.SignalDrawable.STATE_SHIFT ) ) | ( numLevels << ( com.android.settingslib.graph.SignalDrawable.NUM_LEVEL_SHIFT ) ) ) | level ; }
Source:
public void construct ( ) throws java.lang.Exception { verifyNoMoreInteractions ( mWifiScannerImpl , mWifiScannerImpl , mWifiScannerImplFactory , mBatteryStats ) ; dumpService ( ) ; }

Target:
public void construct ( ) throws java.lang.Exception { org.mockito.Mockito.verifyNoMoreInteractions ( mWifiScannerImpl , mWifiScannerImpl , mWifiScannerImplFactory , mBatteryStats ) ; dumpService ( ) ; }
Source:
public org.objectweb.asm.tree.AbstractInsnNode clone ( final java.util.Map < org.objectweb.asm.tree.LabelNode , org.objectweb.asm.tree.LabelNode > labels ) { return new org.objectweb.asm.tree.FieldInsnNode ( opcode , owner , name , desc ) ; }

Target:
public org.objectweb.asm.tree.AbstractInsnNode clone ( final java.util.Map < org.objectweb.asm.tree.LabelNode , org.objectweb.asm.tree.LabelNode > labels ) { return new org.objectweb.asm.tree.FieldInsnNode ( opcode , owner , name , desc ) . cloneAnnotations ( this ) ; }
Source:
private void setupSources ( ) { mUpdaterData.setupDefaultSources ( ) ; mRemotePackagesPage.onSdkChange ( false ) ; }

Target:
private void setupSources ( ) { mUpdaterData.setupDefaultSources ( ) ; mRemotePackagesPage.onSdkReload ( ) ; }
Source:
public void uncaughtException ( java.lang.Thread t , java.lang.Throwable e ) { if ( e instanceof java.lang.ThreadDeath ) { passed [ TEST_KILLING ] = true ; } super . uncaughtException ( t , e ) ; }

Target:
public void uncaughtException ( java.lang.Thread t , java.lang.Throwable e ) { failed [ 0 ] = true ; super . uncaughtException ( t , e ) ; }
Source:
public void testVFE3 ( ) { try { java.lang.Class.forName ( "dot.junit.opcodes.goto_32.d.T_goto_32_4" ) ; } catch ( java.lang.Throwable t ) { fail ( ( "not expected" + t ) ) ; } }

Target:
public void testVFE3 ( ) { load ( "dot.junit.opcodes.goto_32.d.T_goto_32_4" , null ) ; }
Source:
public com.android.jack.ir.ast.JType get ( @ javax.annotation.Nonnull org.eclipse.jdt.internal.compiler.lookup.TypeBinding binding ) throws com.android.jack.ir.ast.JTypeLookupException { binding = binding.erasure ( ) ; return get ( new java.lang.String ( binding.signature ( ) ) ) ; }

Target:
public com.android.jack.ir.ast.JType get ( @ javax.annotation.Nonnull org.eclipse.jdt.internal.compiler.lookup.TypeBinding binding ) throws com.android.jack.ir.ast.JTypeLookupException { binding = binding.erasure ( ) ; assert ! ( binding instanceof org.eclipse.jdt.internal.compiler.lookup.IntersectionTypeBinding18 ) ; return get ( new java.lang.String ( binding.signature ( ) ) ) ; }
Source:
public void connect ( @ android.annotation.Nullable android.os.Handler handler , @ android.annotation.NonNull android.net.wifi.nan.WifiNanEventCallback callback ) { connect ( handler , null , callback ) ; }

Target:
public void attach ( @ android.annotation.Nullable android.os.Handler handler , @ android.annotation.NonNull android.net.wifi.nan.WifiNanEventCallback callback ) { attach ( handler , null , callback ) ; }
Source:
private int skipValue ( ) throws java.io.IOException { int type = mInput.readUnsignedByte ( ) ; int size = com.android.tools.perflib.heap.Types.getTypeSize ( type ) ; skipFully ( size ) ; return size + 1 ; }

Target:
private int skipValue ( ) throws java.io.IOException { com.android.tools.perflib.heap.Type type = com.android.tools.perflib.heap.Type.getType ( mInput.readUnsignedByte ( ) ) ; int size = type.getSize ( ) ; skipFully ( size ) ; return size + 1 ; }
Source:
public boolean onUnbind ( android.content.Intent intent ) { android.util.Log.i ( android.telecom.cts.MockInCallService.LOG_TAG , "Service unbounded" ) ; org.junit.Assert.assertFalse ( android.telecom.cts.MockInCallService.mIsServiceUnbound ) ; android.telecom.cts.MockInCallService.mIsServiceUnbound = true ; return super . onUnbind ( intent ) ; }

Target:
public boolean onUnbind ( android.content.Intent intent ) { android.util.Log.i ( android.telecom.cts.MockInCallService.LOG_TAG , "Service has been unbound" ) ; org.junit.Assert.assertTrue ( android.telecom.cts.MockInCallService.mIsServiceBound ) ; android.telecom.cts.MockInCallService.mIsServiceBound = false ; return super . onUnbind ( intent ) ; }
Source:
public void testMergeByCount ( ) throws java.lang.Exception { com.android.ide.common.res2.ResourceMerger merger = com.android.ide.common.res2.ResourceMergerTest.getResourceMerger ( ) ; assertEquals ( 31 , merger.size ( ) ) ; }

Target:
public void testMergeWithNormalizationByCount ( ) throws java.lang.Exception { com.android.ide.common.res2.ResourceMerger merger = com.android.ide.common.res2.ResourceMergerTest.getResourceMerger ( true ) ; assertEquals ( 31 , merger.size ( ) ) ; }
Source:
public boolean isVarArgs ( ) { return ( ( getModifiers ( ) ) & ( java.lang.reflect.Modifier.VARARGS ) ) != 0 ; }

Target:
public boolean isVarArgs ( ) { return ( ( accessFlags ) & ( java.lang.reflect.Modifier.VARARGS ) ) != 0 ; }
Source:
synchronized void nScriptInvokeV ( int id , int slot , byte [ ] params ) { validate ( ) ; rsnScriptInvokeV ( mContext , id , slot , params ) ; }

Target:
synchronized void nScriptInvoke ( long id , int slot ) { validate ( ) ; rsnScriptInvoke ( mContext , id , slot ) ; }
Source:
static boolean isSimLockEnabled ( ) { return com.android.internal.telephony.PhoneFactory.getDefaultPhone ( ) . getSimCard ( ) . getSimLockEnabled ( ) ; }

Target:
static boolean isIccLockEnabled ( ) { return com.android.internal.telephony.PhoneFactory.getDefaultPhone ( ) . getIccCard ( ) . getIccLockEnabled ( ) ; }
Source:
boolean cancelDiscovery ( ) { enforceCallingOrSelfPermission ( com.android.bluetooth.btservice.AdapterService.BLUETOOTH_ADMIN_PERM , "Need BLUETOOTH ADMIN permission" ) ; return cancelDiscoveryNative ( ) ; }

Target:
boolean cancelDiscovery ( ) { debugLog ( "cancelDiscovery" ) ; enforceCallingOrSelfPermission ( com.android.bluetooth.btservice.AdapterService.BLUETOOTH_ADMIN_PERM , "Need BLUETOOTH ADMIN permission" ) ; return cancelDiscoveryNative ( ) ; }
Source:
public int hashCode ( ) { return map.hashCode ( ) ; }

Target:
public boolean hasNext ( ) { return ( mapIterator.hasNext ( ) ) || ( valueIterator.hasNext ( ) ) ; }
Source:
public void onComplete ( int resultCode , android.telephony.euicc.EuiccNotification [ ] notifications ) { callback.onComplete ( resultCode , notifications ) ; }

Target:
public void onComplete ( int resultCode , android.telephony.euicc.EuiccNotification [ ] notifications ) { executor.execute ( ( ) -> callback.onComplete ( resultCode , notifications ) ) ; }
Source:
public static final java.util.ResourceBundle getBundle ( java.lang.String baseName ) { return java.util.ResourceBundle.getBundleImpl ( baseName , java.util.Locale.getDefault ( ) , java.util.ResourceBundle.getLoader ( dalvik.system.VMStack.getCallingClassLoader ( ) ) , java.util.ResourceBundle.Control.INSTANCE ) ; }

Target:
public static final java.util.ResourceBundle getBundle ( java.lang.String baseName ) { return java.util.ResourceBundle.getBundleImpl ( baseName , java.util.Locale.getDefault ( ) , java.util.ResourceBundle.getLoader ( dalvik.system.VMStack.getCallingClassLoader ( ) ) , java.util.ResourceBundle.getDefaultControl ( baseName ) ) ; }
Source:
public void testGetView_missing ( ) { android.support.test.espresso.ViewFinder finder = new android.support.test.espresso.base.ViewFinderImpl ( org.hamcrest.Matchers.nullValue ( android.view.View.class ) , testViewProvider ) ; try { finder.getView ( ) ; fail ( "No children should pass that matcher!" ) ; } catch ( android.support.test.espresso.NoMatchingViewException expected ) { } }

Target:
public void getView_multiple ( ) { android.support.test.espresso.ViewFinder finder = new android.support.test.espresso.base.ViewFinderImpl ( org.hamcrest.Matchers.notNullValue ( android.view.View.class ) , testViewProvider ) ; expectedException.expect ( android.support.test.espresso.AmbiguousViewMatcherException.class ) ; finder.getView ( ) ; }
Source:
public void removeTransportModeTransform ( java.net.Socket socket , android.net.IpSecTransform transform ) { removeTransportModeTransform ( android.os.ParcelFileDescriptor.fromSocket ( socket ) , transform ) ; }

Target:
public void applyTransportModeTransform ( java.io.FileDescriptor socket , android.net.IpSecTransform transform ) throws java.io.IOException { try ( android.os.ParcelFileDescriptor pfd = android.os.ParcelFileDescriptor.dup ( socket ) ) { applyTransportModeTransform ( pfd , transform ) ; } }