auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public com.android.jack.dx.io.TypeList readTypeList ( int offset ) { if ( offset == 0 ) { return TypeList.EMPTY ; } return open ( offset ) . readTypeList ( ) ; }

Target:
public com.android.jack.dx.io.Code readCode ( com.android.jack.dx.io.ClassData.Method method ) { int offset = method.getCodeOffset ( ) ; if ( offset == 0 ) { throw new java.lang.IllegalArgumentException ( "offset == 0" ) ; } return openInternal ( offset ) . readCode ( ) ; }
Source:
public void test_minusDays_negative ( ) { java.time.LocalDate t = TEST_2007_07_15.minusDays ( ( - 1 ) ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2007 , 7 , 16 ) ) ; }

Target:
public void test_minusYears_long_negative ( ) { java.time.LocalDate t = tck.java.time.TCKLocalDate.TEST_2007_07_15.minusYears ( ( - 1 ) ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2008 , 7 , 15 ) ) ; }
Source:
boolean isVoicemailDonationAvailable ( android.content.Context context ) ;

Target:
boolean isVoicemailTranscriptionEnabled ( android.content.Context context , android.telecom.PhoneAccountHandle account ) ;
Source:
private void sendDisableMsg ( java.lang.String packageName ) { mHandler.sendMessage ( mHandler.obtainMessage ( com.android.server.BluetoothManagerService.MESSAGE_DISABLE ) ) ; addActiveLog ( packageName , false ) ; }

Target:
private void sendDisableMsg ( int reason , java.lang.String packageName ) { mHandler.sendMessage ( mHandler.obtainMessage ( com.android.server.BluetoothManagerService.MESSAGE_DISABLE ) ) ; addActiveLog ( reason , packageName , false ) ; }
Source:
native void rsnScriptSetVarV ( long con , long id , int slot , byte [ ] val ) ;

Target:
native void rsnScriptInvoke ( long con , long id , int slot , boolean mUseInc ) ;
Source:
public void testWithContentDescriptionNull ( ) { try { android.support.test.espresso.matcher.ViewMatchers.withContentDescription ( ( ( org.hamcrest.Matcher < java.lang.CharSequence > ) ( null ) ) ) ; fail ( "Should of thrown NPE" ) ; } catch ( java.lang.NullPointerException e ) { } }

Target:
public void withContentDescriptionNull ( ) { expectedException.expect ( java.lang.NullPointerException.class ) ; android.support.test.espresso.matcher.ViewMatchers.withContentDescription ( ( ( org.hamcrest.Matcher < java.lang.CharSequence > ) ( null ) ) ) ; }
Source:
public int getOrientation ( ) { return mDevice.getDisplayRotation ( ) ; }

Target:
public int getScreenOrientation ( ) { return mDevice.getDisplayRotation ( ) ; }
Source:
public void grantDefaultPermissionsToDefaultDialerApp ( java.lang.String packageName , int userId ) { synchronized ( mPackages ) { mDefaultPermissionPolicy.grantDefaultPermissionsToDefaultDialerAppLPr ( packageName , userId ) ; } }

Target:
public void grantDefaultPermissionsToDefaultDialerApp ( java.lang.String packageName , int userId ) { synchronized ( mPackages ) { mSettings.setDefaultDialerPackageNameLPw ( packageName , userId ) ; mDefaultPermissionPolicy.grantDefaultPermissionsToDefaultDialerAppLPr ( packageName , userId ) ; } }
Source:
private void tearDownAccounts ( ) { for ( com.android.services.telephony.TelecomAccountRegistry.AccountEntry entry : mAccounts ) { entry.teardown ( ) ; } mAccounts.clear ( ) ; }

Target:
private void tearDownAccounts ( ) { synchronized ( mAccountsLock ) { for ( com.android.services.telephony.TelecomAccountRegistry.AccountEntry entry : mAccounts ) { entry.teardown ( ) ; } mAccounts.clear ( ) ; } }
Source:
public void testFlagE ( ) { sampleInstallFromRawResource ( PackageManager.INSTALL_EXTERNAL , true ) ; }

Target:
public void testFlagE ( ) { if ( android.os.Environment.isExternalStorageEmulated ( ) ) { return ; } sampleInstallFromRawResource ( PackageManager.INSTALL_EXTERNAL , true ) ; }
Source:
private void updateCapabilities ( ) { setCapabilities ( mCapabilities ) ; }

Target:
public void onMerge ( ) { com.android.services.telephony.Log.i ( this , "Merging CDMA conference call." ) ; mCapabilities &= ~ ( android.telecom.PhoneCapabilities.MERGE_CONFERENCE ) ; if ( isSwapSupportedAfterMerge ( ) ) { mCapabilities |= android.telecom.PhoneCapabilities.SWAP_CONFERENCE ; } updateCapabilities ( mCapabilities ) ; sendFlash ( ) ; }
Source:
public void updateGeoDescription ( android.content.Context context , java.lang.String fallbackNumber ) { java.lang.String number = ( android.text.TextUtils.isEmpty ( phoneNumber ) ) ? fallbackNumber : phoneNumber ; geoDescription = com.android.dialer.phonenumberutil.PhoneNumberHelper.getGeoDescription ( context , number ) ; }

Target:
public void updateGeoDescription ( android.content.Context context , java.lang.String fallbackNumber ) { java.lang.String number = ( android.text.TextUtils.isEmpty ( phoneNumber ) ) ? fallbackNumber : phoneNumber ; geoDescription = com.android.dialer.phonenumberutil.PhoneNumberHelper.getGeoDescription ( context , number , countryIso ) ; }
Source:
public static short $opt$getShortField ( Main m ) { return m.shortField ; }

Target:
public static short $opt$noinline$getShortField ( Main m ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return m.shortField ; }
Source:
public void actionPerformed ( com.google.gct.login.ui.AnActionEvent e ) { showPopup ( e ) ; }

Target:
public void actionPerformed ( com.google.gct.login.ui.AnActionEvent e ) { com.google.gct.login.ui.GoogleLoginAction.showPopup ( e ) ; }
Source:
public void testFinalizeIsCalled ( ) throws java.lang.Exception { java.util.concurrent.atomic.AtomicBoolean finalized = new java.util.concurrent.atomic.AtomicBoolean ( ) ; createFinalizableObject ( finalized ) ; libcore.java.lang.ref.FinalizationTester.induceFinalization ( ) ; if ( ! ( finalized.get ( ) ) ) { fail ( ) ; } }

Target:
public void testFinalizeIsCalled ( ) throws java.lang.Exception { java.util.concurrent.atomic.AtomicBoolean finalized = new java.util.concurrent.atomic.AtomicBoolean ( ) ; createFinalizableObject ( finalized ) ; libcore.java.lang.ref.FinalizationTester.induceFinalization ( ) ; if ( ! ( finalized.get ( ) ) ) { fail ( "object not yet finalized" ) ; } }
Source:
public void clearAll ( ) { mNetworkCapabilities = mTransportTypes = 0 ; mLinkUpBandwidthKbps = mLinkDownBandwidthKbps = 0 ; mNetworkSpecifier = null ; mSignalStrength = android.net.NetworkCapabilities.SIGNAL_STRENGTH_UNSPECIFIED ; }

Target:
public void clearAll ( ) { mNetworkCapabilities = mTransportTypes = 0 ; mLinkUpBandwidthKbps = mLinkDownBandwidthKbps = android.net.NetworkCapabilities.LINK_BANDWIDTH_UNSPECIFIED ; mNetworkSpecifier = null ; mSignalStrength = android.net.NetworkCapabilities.SIGNAL_STRENGTH_UNSPECIFIED ; }
Source:
public void onResolveFailed ( android.net.nsd.NsdServiceInfo serviceInfo , int errorCode ) { android.util.Log.w ( com.android.printservice.recommendation.plugin.mdnsFilter.MDNSFilterPlugin.LOG_TAG , ( ( ( "Service lost: Could not resolve " + serviceInfo ) + ": " ) + errorCode ) ) ; }

Target:
public void start ( @ android.annotation.NonNull com.android.printservice.recommendation.plugin.mdnsFilter.PrinterDiscoveryCallback callback ) throws java.lang.Exception { mMDNSFilteredDiscovery.start ( callback ) ; }
Source:
public abstract com.google.common.collect.ImmutableList < com.android.build.gradle.api.ApkOutput > getOutputFiles ( ) ;

Target:
public abstract com.google.common.collect.ImmutableList < com.android.build.gradle.api.ApkOutputFile > getOutputs ( ) ;
Source:
public void setSurfaceSize ( int width , int height ) { synchronized ( mSurfaceHolder ) { mCanvasWidth = width ; mCanvasHeight = height ; mBackgroundImage = mBackgroundImage.createScaledBitmap ( mBackgroundImage , width , height , true ) ; } }

Target:
public void setSurfaceSize ( int width , int height ) { synchronized ( mSurfaceHolder ) { mCanvasWidth = width ; mCanvasHeight = height ; mBackgroundImage = android.graphics.Bitmap.createScaledBitmap ( mBackgroundImage , width , height , true ) ; } }
Source:
public static void computeClamp ( android.renderscript.cts.TestClamp.ArgumentsFloatFloatFloatFloat args ) { args.ulf = 0 ; args.ulfRelaxed = 0 ; args.out = java.lang.StrictMath.min ( args.inMaxValue , java.lang.StrictMath.max ( args.inValue , args.inMinValue ) ) ; }

Target:
public static void computeAbs ( android.renderscript.cts.TestAbs.ArgumentsCharUchar args ) { args.out = ( ( byte ) ( java.lang.Math.abs ( args.inValue ) ) ) ; }
Source:
protected org.bouncycastle.crypto.tls.TlsStreamCipher createSalsa20Cipher ( org.bouncycastle.crypto.tls.TlsContext context , int rounds , int cipherKeySize , int macAlgorithm ) throws java.io.IOException { return new org.bouncycastle.crypto.tls.TlsStreamCipher ( context , createSalsa20StreamCipher ( rounds ) , createSalsa20StreamCipher ( rounds ) , createHMACDigest ( macAlgorithm ) , createHMACDigest ( macAlgorithm ) , cipherKeySize ) ; }

Target:
protected org.bouncycastle.crypto.tls.TlsStreamCipher createRC4Cipher ( org.bouncycastle.crypto.tls.TlsContext context , int cipherKeySize , int macAlgorithm ) throws java.io.IOException { return new org.bouncycastle.crypto.tls.TlsStreamCipher ( context , createRC4StreamCipher ( ) , createRC4StreamCipher ( ) , createHMACDigest ( macAlgorithm ) , createHMACDigest ( macAlgorithm ) , cipherKeySize , false ) ; }
Source:
public android.net.Network getCurrentNetwork ( ) { enforceAccessPermission ( ) ; return mWifiStateMachine.getCurrentNetwork ( ) ; }

Target:
public android.net.Network getCurrentNetwork ( ) { enforceAccessPermission ( ) ; mLog.trace ( "getCurrentNetwork uid=%" ) . c ( android.os.Binder.getCallingUid ( ) ) . flush ( ) ; return mWifiStateMachine.getCurrentNetwork ( ) ; }
Source:
public static boolean NotEqualBoolVsIntConst ( boolean arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( arg ? 0 : 1 ) == 2 ; }

Target:
public static boolean $noinline$NotEqualBoolVsIntConst ( boolean arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( arg ? 0 : 1 ) == 2 ; }
Source:
public static java.util.concurrent.ScheduledExecutorService getExitingScheduledExecutorService ( java.util.concurrent.ScheduledThreadPoolExecutor executor ) { return com.google.common.util.concurrent.MoreExecutors.getExitingScheduledExecutorService ( executor , 120 , java.util.concurrent.TimeUnit.SECONDS ) ; }

Target:
final java.util.concurrent.ExecutorService getExitingExecutorService ( java.util.concurrent.ThreadPoolExecutor executor ) { return getExitingExecutorService ( executor , 120 , java.util.concurrent.TimeUnit.SECONDS ) ; }
Source:
public int lastIndexOf ( java.lang.Object o ) { java.lang.Object [ ] elements = getArray ( ) ; return java.util.concurrent.CopyOnWriteArrayList.lastIndexOf ( o , elements , ( ( elements.length ) - 1 ) ) ; }

Target:
public java.util.ListIterator < E > listIterator ( ) { java.lang.Object [ ] snapshot = elements ; return new java.util.concurrent.CopyOnWriteArrayList.CowIterator < E > ( snapshot , 0 , snapshot.length ) ; }
Source:
public java.lang.String getVariableName ( ) { return "dir" ; }

Target:
public java.lang.String getVariableName ( ) { return directFSCodec.getVariableName ( ) ; }
Source:
public void setResource ( @ android.annotation.RawRes int resid ) throws java.io.IOException { setResource ( resid , android.app.WallpaperManager.FLAG_SYSTEM ) ; }

Target:
public void setResource ( @ android.annotation.RawRes int resid ) throws java.io.IOException { setResource ( resid , ( ( android.app.WallpaperManager.FLAG_SYSTEM ) | ( android.app.WallpaperManager.FLAG_LOCK ) ) ) ; }
Source:
public proguard.evaluation.value.ReferenceValue createArrayReferenceValue ( java.lang.String type , proguard.evaluation.value.Clazz referencedClass , proguard.evaluation.value.IntegerValue arrayLength ) { return createArrayReferenceValue ( type , referencedClass , arrayLength , createValue ( type , referencedClass , false ) ) ; }

Target:
public proguard.evaluation.value.ReferenceValue createArrayReferenceValue ( java.lang.String type , proguard.evaluation.value.Clazz referencedClass , proguard.evaluation.value.IntegerValue arrayLength ) { return createReferenceValue ( ( ( ClassConstants.TYPE_ARRAY ) + type ) , referencedClass , false ) ; }
Source:
public native java.lang.annotation.Annotation [ ] getDeclaredAnnotations ( ) ;

Target:
public native long getArtField ( ) ;
Source:
private void createAllChannels ( ) { mNotificationManager.createNotificationChannel ( new android.app.NotificationChannel ( com.android.stk.StkAppService.STK_NOTIFICATION_CHANNEL_ID , getResources ( ) . getString ( R.string.stk_channel_name ) , android.app.NotificationManager.IMPORTANCE_MIN ) ) ; }

Target:
private void createAllChannels ( ) { android.app.NotificationChannel notificationChannel = new android.app.NotificationChannel ( com.android.stk.StkAppService.STK_NOTIFICATION_CHANNEL_ID , getResources ( ) . getString ( R.string.stk_channel_name ) , android.app.NotificationManager.IMPORTANCE_DEFAULT ) ; notificationChannel.enableVibration ( true ) ; notificationChannel.setVibrationPattern ( com.android.stk.StkAppService.VIBRATION_PATTERN ) ; mNotificationManager.createNotificationChannel ( notificationChannel ) ; }
Source:
protected native void setTimeToLive ( int ttl ) throws java.io.IOException ;

Target:
protected void setTimeToLive ( int ttl ) throws java.io.IOException { libcore.io.IoBridge.setSocketOption ( fd , libcore.io.IoBridge.JAVA_IP_MULTICAST_TTL , ttl ) ; }
Source:
protected void visitType ( int index ) { assert ( cstIndexMap ) != null ; constantValue = cstIndexMap.getCstType ( index ) ; }

Target:
protected void visitType ( int index ) { assert ( cstIndexMap ) != null ; constantValue = cstIndexMap.getType ( index ) ; }
Source:
static long $opt$ByteToLong ( byte a ) { return ( ( long ) ( a ) ) ; }

Target:
static long $opt$ByteToLong ( byte a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( long ) ( a ) ) ; }
Source:
public static native int EVP_DigestInit ( int evp_md ) ;

Target:
public static native long EC_KEY_get0_group ( long pkeyRef ) ;
Source:
public static javax.net.ssl.SSLSession unwrapSSLSession ( javax.net.ssl.SSLSession sslSession ) { if ( sslSession instanceof org.conscrypt.OpenSSLExtendedSessionImpl ) { return ( ( org.conscrypt.OpenSSLExtendedSessionImpl ) ( sslSession ) ) . getDelegate ( ) ; } return sslSession ; }

Target:
static javax.net.ssl.SSLSession unwrapSSLSession ( javax.net.ssl.SSLSession sslSession ) { if ( sslSession instanceof org.conscrypt.DelegatingExtendedSSLSession ) { return ( ( org.conscrypt.DelegatingExtendedSSLSession ) ( sslSession ) ) . getDelegate ( ) ; } return sslSession ; }
Source:
public android.telephony.ims.feature.MmTelFeature createMmTelFeature ( int slotId ) { android.util.Log.i ( com.android.phone.testapps.imstestapp.TestImsService.LOG_TAG , "TestImsService: onCreateEmergencyMMTelImsFeature" ) ; return mTestMmTelFeature ; }

Target:
public android.telephony.ims.feature.MmTelFeature createMmTelFeature ( int slotId ) { android.util.Log.i ( com.android.phone.testapps.imstestapp.TestImsService.LOG_TAG , "TestImsService: onCreateMmTelImsFeature" ) ; return mTestMmTelFeature ; }
Source:
public void testConformance ( ) throws java.io.FileNotFoundException { org.chromium.mojo.bindings.ValidationTest.runTest ( "conformance_" , ConformanceTestInterface.MANAGER.buildStub ( null , ConformanceTestInterface.MANAGER.buildProxy ( null , new org.chromium.mojo.bindings.ValidationTest.SinkMessageReceiver ( ) ) ) ) ; }

Target:
public void testConformance ( ) throws java.io.FileNotFoundException { org.chromium.mojo.bindings.ValidationTest.runTest ( "conformance_" , ConformanceTestInterface.MANAGER.buildStub ( org.chromium.mojo.system.impl.CoreImpl.getInstance ( ) , ConformanceTestInterface.MANAGER.buildProxy ( org.chromium.mojo.system.impl.CoreImpl.getInstance ( ) , new org.chromium.mojo.bindings.ValidationTest.SinkMessageReceiver ( ) ) ) ) ; }
Source:
public org.objectweb.asm.AnnotationVisitor visitParameterAnnotation ( int parameter , java.lang.String desc , boolean visible ) { return new com.android.build.gradle.tasks.ResourceUsageAnalyzer.AnnotationUsageVisitor ( ) ; }

Target:
public org.objectweb.asm.AnnotationVisitor visitParameterAnnotation ( int parameter , java.lang.String desc , boolean visible ) { return new com.android.build.gradle.tasks.ResourceUsageAnalyzer.UsageVisitor.AnnotationUsageVisitor ( ) ; }
Source:
public void run ( ) { com.android.hierarchyviewerlib.ui.util.DrawableViewNode tree = com.android.hierarchyviewerlib.models.TreeViewModel.getModel ( ) . getTree ( ) ; if ( tree != null ) { loadViewRecursive ( tree.viewNode ) ; com.android.hierarchyviewerlib.models.TreeViewModel.getModel ( ) . notifySelectionChanged ( ) ; } }

Target:
public void run ( ) { com.android.hierarchyviewerlib.device.IHvDevice hvDevice = getHvDevice ( selectedNode.viewNode.window.getDevice ( ) ) ; hvDevice.invokeViewMethod ( selectedNode.viewNode.window , selectedNode.viewNode , method , args ) ; }
Source:
public void validateConfigWithoutPolicy ( ) throws java.lang.Exception { android.net.wifi.hotspot2.PasspointConfiguration config = android.net.wifi.hotspot2.PasspointConfigurationTest.createConfig ( ) ; config.policy = null ; org.junit.Assert.assertTrue ( config.validate ( ) ) ; }

Target:
public void validateConfigWithoutSubscriptionUpdate ( ) throws java.lang.Exception { android.net.wifi.hotspot2.PasspointConfiguration config = android.net.wifi.hotspot2.PasspointConfigurationTest.createConfig ( ) ; config.setSubscriptionUpdate ( null ) ; org.junit.Assert.assertTrue ( config.validate ( ) ) ; }
Source:
public void tearDown ( ) throws java.lang.Exception { mPhoneUT.removeCallbacksAndMessages ( null ) ; mPhoneUT = null ; mGsmCdmaPhoneTestHandler.quitSafely ( ) ; super . tearDown ( ) ; }

Target:
public void tearDown ( ) throws java.lang.Exception { mPhoneUT.removeCallbacksAndMessages ( null ) ; mPhoneUT = null ; mGsmCdmaPhoneTestHandler.quit ( ) ; super . tearDown ( ) ; }
Source:
public android.telephony.ims.feature.MMTelFeature onCreateEmergencyMMTelImsFeature ( int slotId ) { android.util.Log.i ( com.android.phone.testapps.imstestapp.TestImsService.LOG_TAG , "TestImsService: onCreateEmergencyMMTelImsFeature" ) ; return mTestMmTelFeature ; }

Target:
public android.telephony.ims.feature.MmTelFeature createMmTelFeature ( int slotId ) { android.util.Log.i ( com.android.phone.testapps.imstestapp.TestImsService.LOG_TAG , "TestImsService: onCreateEmergencyMMTelImsFeature" ) ; return mTestMmTelFeature ; }
Source:
void save ( ) throws java.io.IOException { delete ( ) ; if ( ! ( mList.isEmpty ( ) ) ) { java.io.File file = getManualFile ( ) ; save ( file ) ; } }

Target:
void save ( ) throws java.io.IOException { deleteFile ( ) ; if ( ! ( mList.isEmpty ( ) ) ) { java.io.File file = getManualFile ( ) ; save ( file ) ; } }
Source:
public static synchronized com.android.incallui.InCallPresenter getInstance ( ) { if ( ( com.android.incallui.InCallPresenter.sInCallPresenter ) == null ) { android.os.Trace.beginSection ( "InCallPresenter.Constructor" ) ; com.android.incallui.InCallPresenter.sInCallPresenter = new com.android.incallui.InCallPresenter ( ) ; android.os.Trace.endSection ( ) ; } return com.android.incallui.InCallPresenter.sInCallPresenter ; }

Target:
public static synchronized com.android.incallui.InCallPresenter getInstance ( ) { if ( ( com.android.incallui.InCallPresenter.inCallPresenter ) == null ) { android.os.Trace.beginSection ( "InCallPresenter.Constructor" ) ; com.android.incallui.InCallPresenter.inCallPresenter = new com.android.incallui.InCallPresenter ( ) ; android.os.Trace.endSection ( ) ; } return com.android.incallui.InCallPresenter.inCallPresenter ; }
Source:
public void callSessionConferenceExtendFailed ( com.android.ims.ImsReasonInfo reasonInfo ) throws android.os.RemoteException { mListener.callSessionConferenceExtendFailed ( reasonInfo ) ; }

Target:
public void callSessionMergeComplete ( android.telephony.ims.stub.ImsCallSessionImplBase newSession ) { try { mListener.callSessionMergeComplete ( ( newSession != null ? newSession.getServiceImpl ( ) : null ) ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e ) ; } }
Source:
public com.android.jack.ir.ast.JAnnotation getAnnotation ( @ javax.annotation.Nonnull java.lang.String annotationName ) { return session.getLookup ( ) . getAnnotation ( com.android.jack.util.NamingTools.getTypeSignatureName ( annotationName ) ) ; }

Target:
public com.android.jack.ir.ast.JAnnotationType getAnnotationType ( @ javax.annotation.Nonnull java.lang.String annotationName ) { return session.getLookup ( ) . getAnnotationType ( com.android.jack.util.NamingTools.getTypeSignatureName ( annotationName ) ) ; }
Source:
public void setNickname ( java.lang.String callingPackage , java.lang.String iccid , java.lang.String nickname , com.android.internal.telephony.euicc.ISetNicknameCallback callback ) { checkCallingPackage ( callingPackage ) ; }

Target:
public void onException ( java.lang.Throwable e ) { try { callback.onComplete ( getResultCode ( e ) ) ; } catch ( android.os.RemoteException exception ) { throw exception.rethrowFromSystemServer ( ) ; } }
Source:
public boolean unlock ( java.lang.String password ) { return unlock ( android.security.KeyStore.getPasswordBytes ( password ) ) ; }

Target:
public boolean password ( java.lang.String password ) { try { return ( mBinder.password ( password ) ) == ( android.security.KeyStore.NO_ERROR ) ; } catch ( android.os.RemoteException e ) { android.util.Log.w ( android.security.KeyStore.TAG , "Cannot connect to keystore" , e ) ; return false ; } }
Source:
public void test ( ) throws java.lang.Exception { assertEquals ( ( "GetterTest.java:47: Warning: Calling getter method getFoo1() on self is slower than field access (mFoo1)\n" + ( ( ( "GetterTest.java:48: Warning: Calling getter method getFoo2() on self is slower than field access (mFoo2)\n" + "GetterTest.java:52: Warning: Calling getter method isBar1() on self is slower than field access (mBar1)\n" ) + "GetterTest.java:54: Warning: Calling getter method getFoo1() on self is slower than field access (mFoo1)\n" ) + "GetterTest.java:55: Warning: Calling getter method getFoo2() on self is slower than field access (mFoo2)" ) ) , lintProject ( "bytecode/.classpath=>.classpath" , "bytecode/AndroidManifest.xml=>AndroidManifest.xml" , "bytecode/GetterTest.java.txt=>src/test/bytecode/GetterTest.java" , "bytecode/GetterTest.class.data=>bin/classes/test/bytecode/GetterTest.class" ) ) ; }

Target:
public void test ( ) throws java.lang.Exception { assertEquals ( ( "GetterTest.java:47: Warning: Calling getter method getFoo1() on self is slower than field access (mFoo1)\n" + ( ( ( "GetterTest.java:48: Warning: Calling getter method getFoo2() on self is slower than field access (mFoo2)\n" + "GetterTest.java:52: Warning: Calling getter method isBar1() on self is slower than field access (mBar1)\n" ) + "GetterTest.java:54: Warning: Calling getter method getFoo1() on self is slower than field access (mFoo1)\n" ) + "GetterTest.java:55: Warning: Calling getter method getFoo2() on self is slower than field access (mFoo2)" ) ) , lintProject ( "bytecode/.classpath=>.classpath" , "apicheck/minsdk1.xml=>AndroidManifest.xml" , "bytecode/GetterTest.java.txt=>src/test/bytecode/GetterTest.java" , "bytecode/GetterTest.class.data=>bin/classes/test/bytecode/GetterTest.class" ) ) ; }
Source:
public void showDialpadFromNewIntent ( ) { com.android.dialer.common.LogUtil.enterBlock ( "MainSearchController.showDialpadFromNewIntent" ) ; if ( isDialpadVisible ( ) ) { com.android.dialer.common.LogUtil.i ( "MainSearchController.showDialpadFromNewIntent" , "Dialpad is already visible." ) ; getDialpadFragment ( ) . setStartedFromNewIntent ( true ) ; return ; } showDialpad ( false , true ) ; }

Target:
public void showDialpadFromNewIntent ( ) { com.android.dialer.common.LogUtil.enterBlock ( "MainSearchController.showDialpadFromNewIntent" ) ; if ( isDialpadVisible ( ) ) { com.android.dialer.common.LogUtil.i ( "MainSearchController.showDialpadFromNewIntent" , "Dialpad is already visible." ) ; dialpadFragment.setStartedFromNewIntent ( true ) ; return ; } showDialpad ( false , true ) ; }
Source:
public void cleanup ( ) { cleanupNative ( ) ; }

Target:
public void cleanup ( ) { mA2dpNativeInterface.cleanup ( ) ; }
Source:
public int ioctlInt ( java.io.FileDescriptor fd , int cmd , android.util.MutableInt arg ) throws android.system.ErrnoException { return os.ioctlInt ( fd , cmd , arg ) ; }

Target:
public int ioctlInt ( java.io.FileDescriptor fd , int cmd , libcore.util.MutableInt arg ) throws android.system.ErrnoException { return os.ioctlInt ( fd , cmd , arg ) ; }
Source:
public void testNoClassesWithLibraries ( ) throws java.lang.Exception { mScopes = null ; assertEquals ( "No warnings." , lintProject ( "bytecode/AndroidManifestWrongRegs.xml=>AndroidManifest.xml" , "bytecode/.classpath=>.classpath" , "bytecode/GetterTest.jar.data=>libs/foo.jar" ) ) ; }

Target:
public void testNoClassesWithLibraries ( ) throws java.lang.Exception { mScopes = null ; mEnabled = com.google.common.collect.Sets.newHashSet ( com.android.tools.lint.checks.MissingClassDetector.MISSING , com.android.tools.lint.checks.MissingClassDetector.INSTANTIATABLE , com.android.tools.lint.checks.MissingClassDetector.INNERCLASS ) ; assertEquals ( "No warnings." , lintProject ( "bytecode/AndroidManifestWrongRegs.xml=>AndroidManifest.xml" , "bytecode/.classpath=>.classpath" , "bytecode/GetterTest.jar.data=>libs/foo.jar" ) ) ; }
Source:
public void visitRuntimeInvisibleAnnotationsAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.RuntimeInvisibleAnnotationsAttribute runtimeInvisibleAnnotationsAttribute ) { if ( ( runtimeInvisibleAnnotationsAttribute.u2annotationsCount ) > 0 ) { runtimeInvisibleAnnotationsAttribute.accept ( clazz , method , attributeVisitor ) ; } }

Target:
public void visitRuntimeInvisibleAnnotationsAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Field field , proguard.classfile.attribute.visitor.RuntimeInvisibleAnnotationsAttribute runtimeInvisibleAnnotationsAttribute ) { if ( ( runtimeInvisibleAnnotationsAttribute.u2annotationsCount ) > 0 ) { attributeVisitor.visitRuntimeInvisibleAnnotationsAttribute ( clazz , field , runtimeInvisibleAnnotationsAttribute ) ; } }
Source:
public com.android.ide.common.rendering.api.ActionBarCallback getActionBarCallback ( ) { return new com.android.ide.common.rendering.api.ActionBarCallback ( ) ; }

Target:
public com.android.ide.common.rendering.api.ActionBarCallback getActionBarCallback ( ) { return new com.android.ide.eclipse.adt.internal.editors.layout.ActionBarHandler ( mEditor ) ; }
Source:
public boolean accept ( @ org.jetbrains.annotations.NotNull com.intellij.openapi.project.Project project , @ org.jetbrains.annotations.NotNull com.intellij.openapi.vfs.VirtualFile file ) { if ( ( file.isDirectory ( ) ) || ( ! ( file.isValid ( ) ) ) ) { return false ; } return com.intellij.psi.SingleRootFileViewProvider.isTooLargeForContentLoading ( file ) ; }

Target:
public boolean accept ( @ org.jetbrains.annotations.NotNull com.intellij.openapi.project.Project project , @ org.jetbrains.annotations.NotNull com.intellij.openapi.vfs.VirtualFile file ) { return ( com.intellij.openapi.fileEditor.impl.text.TextEditorProvider.isTextFile ( file ) ) && ( com.intellij.psi.SingleRootFileViewProvider.isTooLargeForContentLoading ( file ) ) ; }
Source:
public void run ( ) { com.android.tv.dvr.DvrUiHelper.showDvrInsufficientSpaceErrorDialog ( this ) ; }

Target:
public void run ( ) { com.android.tv.dvr.ui.DvrUiHelper.showDvrInsufficientSpaceErrorDialog ( this , failedScheduledRecordingInfoSet ) ; }
Source:
private com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor createMerge ( com.android.ide.eclipse.adt.internal.editors.descriptors.AttributeDescriptor [ ] viewLayoutAttribs ) { java.lang.String xml_name = com.android.ide.eclipse.adt.internal.editors.layout.descriptors.LayoutDescriptors.VIEW_MERGE ; com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor desc = new com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor ( xml_name , xml_name , com.android.ide.eclipse.adt.internal.editors.layout.descriptors.LayoutDescriptors.VIEW_MERGE , "A root tag useful for XML layouts inflated using a ViewStub." , null , null , viewLayoutAttribs , null , false ) ; return desc ; }

Target:
private com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor createMerge ( com.android.ide.eclipse.adt.internal.editors.descriptors.AttributeDescriptor [ ] viewLayoutAttribs ) { java.lang.String xmlName = com.android.ide.eclipse.adt.internal.editors.layout.descriptors.LayoutDescriptors.VIEW_MERGE ; com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor desc = new com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor ( xmlName , xmlName , com.android.ide.eclipse.adt.internal.editors.layout.descriptors.LayoutDescriptors.VIEW_MERGE , "A root tag useful for XML layouts inflated using a ViewStub." , null , null , viewLayoutAttribs , null , false ) ; return desc ; }
Source:
public boolean isVoicemailDonationEnabled ( android.content.Context context , android.telecom.PhoneAccountHandle account ) { return ( isVoicemailTranscriptionAvailable ( context ) ) && ( com.android.voicemail.impl.settings.VisualVoicemailSettingsUtil.isVoicemailDonationEnabled ( context , account ) ) ; }

Target:
public boolean isVoicemailDonationEnabled ( android.content.Context context , android.telecom.PhoneAccountHandle account ) { return ( ( isVoicemailTranscriptionEnabled ( context , account ) ) && ( isVoicemailDonationAvailable ( context , account ) ) ) && ( com.android.voicemail.impl.settings.VisualVoicemailSettingsUtil.isVoicemailDonationEnabled ( context , account ) ) ; }
Source:
public void uncaughtException ( java.lang.Thread t , java.lang.Throwable e ) { if ( e instanceof java.lang.ThreadDeath ) { passed [ TEST_FORCING_THROW_THREAD_DEATH ] = true ; } super . uncaughtException ( t , e ) ; }

Target:
public void uncaughtException ( java.lang.Thread t , java.lang.Throwable e ) { if ( e instanceof TestException ) { passed [ 0 ] = true ; } super . uncaughtException ( t , e ) ; }
Source:
public void setNetworkSpecifier ( android.net.NetworkSpecifier networkSpecifier ) { mNetworkCapabilities.setNetworkSpecifier ( networkSpecifier ) ; mNetworkAgent.sendNetworkCapabilities ( mNetworkCapabilities ) ; }

Target:
public void setSignalStrength ( int signalStrength ) { mNetworkCapabilities.setSignalStrength ( signalStrength ) ; mNetworkAgent.sendNetworkCapabilities ( mNetworkCapabilities ) ; }
Source:
private void edgeSplitPredecessors ( com.android.jack.ir.ast.cfg.JControlFlowGraph cfg ) { for ( com.android.jack.ir.ast.cfg.JBasicBlock block : cfg.getInternalBlocksUnordered ( ) ) { if ( com.android.jack.transformations.ssa.SsaBasicBlockSplitter.nodeNeedsUniquePredecessor ( block ) ) { block.split ( 0 ) ; } } }

Target:
private void edgeSplitPredecessors ( com.android.jack.ir.ast.cfg.JControlFlowGraph cfg ) { for ( com.android.jack.ir.ast.cfg.JBasicBlock block : cfg.getReachableBlocksDepthFirst ( ) ) { if ( com.android.jack.transformations.ssa.SsaBasicBlockSplitter.nodeNeedsUniquePredecessor ( block ) ) { block.split ( 0 ) ; } } }
Source:
void libToLib ( @ javax.annotation.Nonnull java.util.List < java.io.File > in , @ javax.annotation.Nonnull java.io.File out , boolean zipFiles ) throws java.lang.Exception ;

Target:
void libToExe ( @ javax.annotation.Nonnull java.util.List < java.io.File > in , @ javax.annotation.Nonnull java.io.File out , boolean zipFile ) throws java.lang.Exception ;
Source:
public void onSearchComplete ( java.lang.String address , int status ) throws android.os.RemoteException { }

Target:
public void onNotify ( java.lang.String address , int handle , byte [ ] value ) throws android.os.RemoteException { }
Source:
public java.lang.String getDisplayName ( java.util.Locale locale ) { return libcore.icu.ICU.getCurrencyDisplayName ( locale , currencyCode ) ; }

Target:
public java.lang.String getSymbol ( ) { return icuCurrency.getSymbol ( ) ; }
Source:
private void onVrStateChanged ( int state ) { com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent event = new com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.EVENT_TYPE_VR_STATE_CHANGED ) ; event.valueInt = state ; android.util.Log.d ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.TAG , ( "incoming" + event ) ) ; sendMessage ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.STACK_EVENT , event ) ; }

Target:
private void onLastVoiceTagNumber ( java.lang.String number ) { com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent event = new com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.EVENT_TYPE_LAST_VOICE_TAG_NUMBER ) ; event.valueString = number ; if ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.DBG ) { android.util.Log.d ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.TAG , ( "incoming" + event ) ) ; } sendMessage ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.STACK_EVENT , event ) ; }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { newOrEdit ( false ) ; }

Target:
public void checkStateChanged ( org.eclipse.jface.viewers.CheckStateChangedEvent event ) { on_SitesTableViewer_checkStateChanged ( event ) ; }
Source:
public static native void EVP_VerifyUpdateDirect ( org.conscrypt.NativeRef.EVP_MD_CTX ctx , long ptr , int length ) ;

Target:
public static native long EVP_DigestVerifyInit ( org.conscrypt.NativeRef.EVP_MD_CTX ctx , long evpMdRef , org.conscrypt.NativeRef.EVP_PKEY key ) ;
Source:
private void expectSimpleMessage ( com.android.email.mail.transport.MockTransport mockTransport ) { mockTransport.expect ( "MAIL FROM: <Jones@Registry.Org>" , "250 2.1.0 <Jones@Registry.Org> sender ok" ) ; mockTransport.expect ( "RCPT TO: <Smith@Registry.Org>" , "250 2.1.5 <Smith@Registry.Org> recipient ok" ) ; mockTransport.expect ( "DATA" , "354 enter mail, end with . on a line by itself" ) ; mockTransport.expect ( "Date: .*" ) ; mockTransport.expect ( "Message-ID: .*" ) ; mockTransport.expect ( "From: Jones@Registry.Org" ) ; mockTransport.expect ( "To: Smith@Registry.Org" ) ; mockTransport.expect ( "MIME-Version: 1.0" ) ; }

Target:
private void expectSimpleMessage ( com.android.email.mail.transport.MockTransport mockTransport ) { mockTransport.expect ( "MAIL FROM:<Jones@Registry.Org>" , "250 2.1.0 <Jones@Registry.Org> sender ok" ) ; mockTransport.expect ( "RCPT TO:<Smith@Registry.Org>" , "250 2.1.5 <Smith@Registry.Org> recipient ok" ) ; mockTransport.expect ( "DATA" , "354 enter mail, end with . on a line by itself" ) ; mockTransport.expect ( "Date: .*" ) ; mockTransport.expect ( "Message-ID: .*" ) ; mockTransport.expect ( "From: Jones@Registry.Org" ) ; mockTransport.expect ( "To: Smith@Registry.Org" ) ; mockTransport.expect ( "MIME-Version: 1.0" ) ; }
Source:
public java.lang.String getSourceFileExtension ( ) { return "rs" ; }

Target:
public java.util.Set < java.lang.String > getSourceFileExtensions ( ) { return com.android.ant.RenderScriptTask.EXTENSIONS ; }
Source:
public int adjustString ( int stringIndex ) { return stringIndex == ( com.android.dx.io.ClassDef.NO_INDEX ) ? com.android.dx.io.ClassDef.NO_INDEX : stringIds [ stringIndex ] ; }

Target:
public int adjustString ( int stringIndex ) { return stringIndex == ( com.android.dex.ClassDef.NO_INDEX ) ? com.android.dex.ClassDef.NO_INDEX : stringIds [ stringIndex ] ; }
Source:
public void testE1 ( ) { dot.junit.opcodes.check_cast.d.T_check_cast_1 t = new dot.junit.opcodes.check_cast.d.T_check_cast_1 ( ) ; try { t.run ( t ) ; fail ( "expected ClassCastException" ) ; } catch ( java.lang.ClassCastException iae ) { } }

Target:
public void testE1 ( ) { loadAndRun ( "dot.junit.opcodes.check_cast.d.T_check_cast_1" , java.lang.ClassCastException.class , new java.lang.Integer ( 1 ) ) ; }
Source:
public void removeImsFeature ( int slotId , int feature ) throws android.os.RemoteException { this . removeImsFeature ( slotId , feature ) ; }

Target:
public void removeImsFeature ( int slotId , int feature , com.android.ims.internal.IImsFeatureStatusCallback c ) throws android.os.RemoteException { this . removeImsFeature ( slotId , feature ) ; }
Source:
private boolean isOffloadDisabled ( ) { return ( Settings.Global.getInt ( mContentResolver , android.provider.Settings.Global.TETHER_OFFLOAD_DISABLED , 0 ) ) != 0 ; }

Target:
private boolean isOffloadDisabled ( ) { final int defaultDisposition = mHwInterface.getDefaultTetherOffloadDisabled ( ) ; return ( Settings.Global.getInt ( mContentResolver , android.provider.Settings.Global.TETHER_OFFLOAD_DISABLED , defaultDisposition ) ) != 0 ; }
Source:
public void onStop ( ) { super . onStop ( ) ; mAdapter.onStop ( ) ; mContactInfoCache.stop ( ) ; }

Target:
public void onStop ( ) { com.android.dialer.common.LogUtil.enterBlock ( "CallLogFragment.onStop" ) ; super . onStop ( ) ; mAdapter.onStop ( ) ; mContactInfoCache.stop ( ) ; }
Source:
public void registrationServiceCapabilityChanged ( int serviceClass , int event ) { com.android.ims.ImsManager.log ( ( ( ( "registrationServiceCapabilityChanged :: serviceClass=" + serviceClass ) + ", event=" ) + event ) ) ; if ( ( mListener ) != null ) { mListener.onImsConnected ( ) ; } }

Target:
public void registrationConnected ( ) { if ( com.android.ims.ImsManager.DBG ) { com.android.ims.ImsManager.log ( "registrationConnected ::" ) ; } if ( ( mListener ) != null ) { mListener.onImsConnected ( ServiceState.RIL_RADIO_TECHNOLOGY_UNKNOWN ) ; } }
Source:
public java.lang.Object [ ] toArray ( ) { return delegateList.toArray ( ) ; }

Target:
int copyIntoArray ( java.lang.Object [ ] dst , int offset ) { return delegateList.copyIntoArray ( dst , offset ) ; }
Source:
void setCallerDisplayName ( java.lang.String callId , java.lang.String callerDisplayName , int presentation ) { for ( com.android.internal.telecom.IConnectionServiceAdapter adapter : mAdapters ) { try { adapter.setCallerDisplayName ( callId , callerDisplayName , presentation ) ; } catch ( android.os.RemoteException e ) { } } }

Target:
void setCallerDisplayName ( java.lang.String callId , java.lang.String callerDisplayName , int presentation ) { for ( com.android.internal.telecom.IConnectionServiceAdapter adapter : mAdapters ) { try { adapter.setCallerDisplayName ( callId , callerDisplayName , presentation , android.telecom.Log.getExternalSession ( ) ) ; } catch ( android.os.RemoteException e ) { } } }
Source:
private java.security.spec.ECPoint getPublicKey ( ) { final org.conscrypt.OpenSSLECPointContext pubKey = new org.conscrypt.OpenSSLECPointContext ( group , org.conscrypt.NativeCrypto.EC_KEY_get_public_key ( key.getPkeyContext ( ) ) ) ; return pubKey.getECPoint ( ) ; }

Target:
private java.security.spec.ECPoint getPublicKey ( ) { final org.conscrypt.OpenSSLECPointContext pubKey = new org.conscrypt.OpenSSLECPointContext ( group , org.conscrypt.NativeCrypto.EC_KEY_get_public_key ( key.getNativeRef ( ) ) ) ; return pubKey.getECPoint ( ) ; }
Source:
public void testGetNewValue ( ) { assertEquals ( "merge" , com.android.tools.lint.checks.WrongCaseDetector.getNewValue ( "Invalid tag <Merge>; should be <merge>" ) ) ; }

Target:
public void testGetNewValue ( ) { assertEquals ( "merge" , com.android.tools.lint.checks.WrongCaseDetector.getNewValue ( "Invalid tag <Merge>; should be <merge>" , com.android.tools.lint.detector.api.TextFormat.TEXT ) ) ; assertEquals ( "merge" , com.android.tools.lint.checks.WrongCaseDetector.getNewValue ( "Invalid tag `<Merge>`; should be `<merge>`" , com.android.tools.lint.detector.api.TextFormat.RAW ) ) ; }
Source:
public void onPostDialChar ( java.lang.String callId , char nextChar ) { findConnectionForAction ( callId , "onPostDialChar" ) . onPostDialChar ( nextChar ) ; }

Target:
public void onPostDialChar ( java.lang.String callId , char nextChar , android.telecom.Logging.Session.Info sessionInfo ) { findConnectionForAction ( callId , "onPostDialChar" ) . onPostDialChar ( nextChar ) ; }
Source:
public void callSessionHandover ( com.android.ims.internal.IImsCallSession i , int srcAccessTech , int targetAccessTech , android.telephony.ims.ImsReasonInfo reasonInfo ) throws android.os.RemoteException { mNewListener.callSessionHandover ( srcAccessTech , targetAccessTech , reasonInfo ) ; }

Target:
public void callSessionMayHandover ( com.android.ims.internal.IImsCallSession i , int srcAccessTech , int targetAccessTech ) throws android.os.RemoteException { mNewListener.callSessionMayHandover ( srcAccessTech , targetAccessTech ) ; }
Source:
public void resolve ( ) { block.setTarget ( com.android.jack.cfg.ForwardBranchResolver.getTargetBlock ( statement ) ) ; }

Target:
public void resolve ( ) { if ( ( statement ) == null ) { block.setTarget ( exitBlock ) ; } else { block.setTarget ( com.android.jack.cfg.ForwardBranchResolver.getTargetBlock ( statement ) ) ; } }
Source:
public java.lang.String getFolderSegment ( com.android.sdklib.IAndroidTarget target ) { if ( ( mValue ) != null ) { return mValue.getValue ( ) ; } return "" ; }

Target:
public java.lang.String getStringValue ( ) { if ( ( mValue ) != null ) { return mValue.getDisplayValue ( ) ; } return "" ; }
Source:
java.io.InputStream openRead ( @ javax.annotation.Nonnull com.android.sched.vfs.CaseInsensitiveFS.CaseInsensitiveVFile file ) throws com.android.sched.util.file.WrongPermissionException { assert ! ( isClosed ( ) ) ; return file.getEncodedFile ( ) . openRead ( ) ; }

Target:
java.io.InputStream openRead ( @ javax.annotation.Nonnull com.android.sched.vfs.CaseInsensitiveFS.CaseInsensitiveVFile file ) throws com.android.sched.util.file.WrongPermissionException { assert ! ( isClosed ( ) ) ; return file.getEncodedFile ( ) . getInputStream ( ) ; }
Source:
public com.android.tools.perflib.heap.analysis.SnapshotBuilder addRoot ( int node ) { com.android.tools.perflib.heap.RootObj root = new com.android.tools.perflib.heap.RootObj ( com.android.tools.perflib.heap.RootType.JAVA_LOCAL , node ) ; mSnapshot.setToDefaultHeap ( ) ; mSnapshot.addRoot ( root ) ; return this ; }

Target:
public com.android.tools.perflib.heap.SnapshotBuilder addRoot ( int node ) { com.android.tools.perflib.heap.RootObj root = new com.android.tools.perflib.heap.RootObj ( RootType.JAVA_LOCAL , node ) ; mSnapshot.setToDefaultHeap ( ) ; mSnapshot.addRoot ( root ) ; return this ; }
Source:
private int getMinimumUnreservedLabel ( ) { return ( ( maxLabel ) * 2 ) + ( com.android.dx.cf.code.Ropper.SPECIAL_LABEL_COUNT ) ; }

Target:
private int getSpecialLabel ( int label ) { return ( ( maxLabel ) + ( method.getCatches ( ) . size ( ) ) ) + ( ~ label ) ; }
Source:
public void testIsPresent ( ) { android.location.Geocoder geocoder = new android.location.Geocoder ( getContext ( ) ) ; assertTrue ( geocoder.isPresent ( ) ) ; }

Target:
public void testIsPresent ( ) { android.location.Geocoder geocoder = new android.location.Geocoder ( getContext ( ) ) ; if ( isServiceMissing ( ) ) { assertFalse ( geocoder.isPresent ( ) ) ; } else { assertTrue ( geocoder.isPresent ( ) ) ; } }
Source:
protected void addRevocablePermissions ( @ com.android.annotations.NonNull java.util.Set < java.lang.String > result ) { }

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 ) { }
Source:
private void bondService ( ) throws java.util.concurrent.TimeoutException { android.os.IBinder binder = mServiceRule.bindService ( new android.content.Intent ( mTargetContext , com.android.bluetooth.a2dp.A2dpService.class ) ) ; mA2dpService = ( ( com.android.bluetooth.a2dp.A2dpService.BluetoothA2dpBinder ) ( binder ) ) . getServiceForTesting ( ) ; org.junit.Assert.assertNotNull ( mA2dpService ) ; }

Target:
public void tearDown ( ) throws java.lang.Exception { stopService ( ) ; mTargetContext.unregisterReceiver ( mConnectionStateChangedReceiver ) ; mConnectionStateChangedQueue.clear ( ) ; }
Source:
boolean testOnly ( ) default false ;

Target:
vogar.RunnerType runnerType ( ) default vogar.RunnerType.DEFAULT ;
Source:
public void visitAnyMethodrefConstant ( proguard.optimize.info.Clazz clazz , proguard.classfile.constant.RefConstant refConstant ) { invokesSuperMethods = ( ! ( clazz.equals ( refConstant.referencedClass ) ) ) && ( ! ( refConstant.getName ( clazz ) . equals ( ClassConstants.INTERNAL_METHOD_NAME_INIT ) ) ) ; }

Target:
public void visitAnyMethodrefConstant ( proguard.optimize.info.Clazz clazz , proguard.classfile.constant.RefConstant refConstant ) { invokesSuperMethods = ( ! ( clazz.equals ( refConstant.referencedClass ) ) ) && ( ! ( refConstant.getName ( clazz ) . equals ( ClassConstants.METHOD_NAME_INIT ) ) ) ; }
Source:
public void registrationProgressing ( ) { if ( com.android.ims.ImsManager.DBG ) { com.android.ims.ImsManager.log ( "registrationProgressing ::" ) ; } if ( ( mListener ) != null ) { mListener.onImsProgressing ( ) ; } }

Target:
public void registrationProgressingWithRadioTech ( int imsRadioTech ) { if ( com.android.ims.ImsManager.DBG ) { com.android.ims.ImsManager.log ( ( "registrationProgressingWithRadioTech :: imsRadioTech=" + imsRadioTech ) ) ; } if ( ( mListener ) != null ) { mListener.onImsProgressing ( imsRadioTech ) ; } }
Source:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; e = new com.android.ide.eclipse.adt.internal.editors.layout.gle2.SimpleElement ( "android.view.LinearLayout" , "android.view.FrameLayout" , new com.android.ide.eclipse.adt.editors.layout.gscripts.Rect ( 10 , 5 , 60 , 40 ) , new com.android.ide.eclipse.adt.editors.layout.gscripts.Rect ( 0 , 0 , 320 , 480 ) ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; e = new com.android.ide.eclipse.adt.internal.editors.layout.gle2.SimpleElement ( "android.view.LinearLayout" , "android.view.FrameLayout" , new com.android.ide.common.api.Rect ( 10 , 5 , 60 , 40 ) , new com.android.ide.common.api.Rect ( 0 , 0 , 320 , 480 ) ) ; }
Source:
boolean innerIsCancelled ( ) { return ( getState ( ) ) == ( java.util.concurrent.FutureTask.Sync.CANCELLED ) ; }

Target:
protected void setException ( java.lang.Throwable t ) { if ( java.util.concurrent.FutureTask.UNSAFE.compareAndSwapInt ( this , java.util.concurrent.FutureTask.stateOffset , java.util.concurrent.FutureTask.NEW , java.util.concurrent.FutureTask.COMPLETING ) ) { outcome = t ; java.util.concurrent.FutureTask.UNSAFE.putOrderedInt ( this , java.util.concurrent.FutureTask.stateOffset , java.util.concurrent.FutureTask.EXCEPTIONAL ) ; finishCompletion ( ) ; } }
Source:
public native java.lang.Object get ( java.lang.Object object ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;

Target:
private native java.lang.Object get ( java.lang.Object object , boolean accessible ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;
Source:
public static org.chromium.base.ResourceExtractor get ( ) { if ( ( org.chromium.base.ResourceExtractor.sInstance ) == null ) { org.chromium.base.ResourceExtractor.sInstance = new org.chromium.base.ResourceExtractor ( ) ; } return org.chromium.base.ResourceExtractor.sInstance ; }

Target:
public static org.chromium.base.ResourceExtractor get ( android.content.Context context ) { if ( ( org.chromium.base.ResourceExtractor.sInstance ) == null ) { org.chromium.base.ResourceExtractor.sInstance = new org.chromium.base.ResourceExtractor ( context ) ; } return org.chromium.base.ResourceExtractor.sInstance ; }
Source:
private void updateFiltersToolBar ( ) { boolean en = ( getSelectedSavedFilterIndex ( ) ) != 0 ; mEditFilterToolItem.setEnabled ( en ) ; mDeleteFilterToolItem.setEnabled ( en ) ; }

Target:
private void updateFiltersToolBar ( ) { boolean en = ( mCurrentSelectedFilterIndex ) != ( com.android.ddmuilib.logcat.LogCatPanel.DEFAULT_FILTER_INDEX ) ; mEditFilterToolItem.setEnabled ( en ) ; mDeleteFilterToolItem.setEnabled ( en ) ; }
Source:
public int readEnum ( ) { checkType ( com.android.dx.io.EncodedValueReader.ENCODED_ENUM ) ; type = com.android.dx.io.EncodedValueReader.MUST_READ ; return com.android.dx.util.EncodedValueUtils.readUnsignedInt ( in , arg , false ) ; }

Target:
public int readEnum ( ) { checkType ( com.android.dex.EncodedValueReader.ENCODED_ENUM ) ; type = com.android.dex.EncodedValueReader.MUST_READ ; return com.android.dex.EncodedValueCodec.readUnsignedInt ( in , arg , false ) ; }