auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void visitJumpInsn ( int opcode , org.objectweb.asm.Label label ) { printer.visitJumpInsn ( opcode , label ) ; printTypeOfOperandStackTop ( ) ; super . visitJumpInsn ( opcode , label ) ; }

Target:
public void visitJumpInsn ( int opcode , org.objectweb.asm.Label label ) { printer.visitJumpInsn ( opcode , label ) ; printTypeOfOperandStack ( ) ; super . visitJumpInsn ( opcode , label ) ; }
Source:
public boolean onSpinner1Setup ( android.widget.Spinner s ) { s.setAdapter ( new android.widget.ArrayAdapter < java.lang.String > ( act , R.layout.spinner_layout , mIntrinsicNames ) ) ; s.setOnItemSelectedListener ( mIntrinsicSpinnerListener ) ; return true ; }

Target:
public boolean onSpinner1Setup ( android.widget.Spinner s ) { s.setAdapter ( new android.widget.ArrayAdapter < java.lang.String > ( act , R.layout.spinner_layout , mIntrinsicNames ) ) ; s.setSelection ( 0 , false ) ; s.setOnItemSelectedListener ( mIntrinsicSpinnerListener ) ; return true ; }
Source:
public java.lang.String getNetworkCountryIsoForSubscription ( int subId ) { int phoneId = android.telephony.SubscriptionManager.getPhoneId ( subId ) ; return getNetworkCountryIsoForPhone ( phoneId ) ; }

Target:
public java.lang.String getNetworkCountryIso ( int subId ) { int phoneId = android.telephony.SubscriptionManager.getPhoneId ( subId ) ; return getNetworkCountryIsoForPhone ( phoneId ) ; }
Source:
public WifiScanner.ScanData [ ] getScanResults ( boolean flush ) { return mWifiVendorHal.getScanResults ( ) ; }

Target:
public WifiScanner.ScanData [ ] getBgScanResults ( ) { return mWifiVendorHal.getBgScanResults ( ) ; }
Source:
public java.lang.String toString ( ) { return ( ( ( android.text.format.DateFormat.format ( "MM-dd HH:mm:ss " , mTimestamp ) ) + ( mEnable ? " Enabled " : " Disabled " ) ) + " by " ) + ( mPackageName ) ; }

Target:
public java.lang.String toString ( ) { return ( ( ( timeToLog ( mTimestamp ) ) + ( mEnable ? " Enabled " : " Disabled " ) ) + " by " ) + ( mPackageName ) ; }
Source:
public java.lang.String toHuman ( ) { return ( ( com.android.dx.rop.cst.CstMethodHandle.getTypeName ( type ) ) + "," ) + ( ref.toString ( ) ) ; }

Target:
public java.lang.String toHuman ( ) { return ( ( com.android.dx.rop.cst.CstMethodHandle.getMethodHandleTypeName ( type ) ) + "," ) + ( ref.toString ( ) ) ; }
Source:
public int bufferCapacity ( ) { return com.android.server.connectivity.IpConnectivityMetrics.DEFAULT_BUFFER_SIZE ; }

Target:
public int bufferCapacity ( ) { return mCapacityGetter.applyAsInt ( getContext ( ) ) ; }
Source:
public com.android.jack.dx.rop.cst.CstFieldRef getFieldRef ( ) { if ( ( fieldRef ) == null ) { fieldRef = new com.android.jack.dx.rop.cst.CstFieldRef ( getDefiningClass ( ) , getName ( ) , getNat ( ) ) ; } return fieldRef ; }

Target:
public com.android.jack.dx.rop.cst.CstFieldRef getFieldRef ( ) { if ( ( fieldRef ) == null ) { fieldRef = new com.android.jack.dx.rop.cst.CstFieldRef ( getDefiningClass ( ) , getName ( ) , getDescriptor ( ) ) ; } return fieldRef ; }
Source:
public android.net.wifi.nan.TlvBufferUtils.TlvConstructor wrap ( @ android.annotation.Nullable byte [ ] array ) { mArray = array ; mArrayLength = ( array == null ) ? 0 : array.length ; return this ; }

Target:
public android.net.wifi.aware.TlvBufferUtils.TlvConstructor wrap ( @ android.annotation.Nullable byte [ ] array ) { mArray = array ; mArrayLength = ( array == null ) ? 0 : array.length ; return this ; }
Source:
private static boolean isIdentical ( @ com.android.annotations.Nullable byte [ ] data , @ com.android.annotations.NonNull java.io.File dest ) throws java.io.IOException { assert dest.isFile ( ) ; byte [ ] existing = com.google.common.io.Files.toByteArray ( dest ) ; return java.util.Arrays.equals ( existing , data ) ; }

Target:
private static boolean isIdentical ( @ com.android.annotations.Nullable byte [ ] data , @ com.android.annotations.NonNull org.eclipse.core.resources.IFile dest ) { assert dest.exists ( ) ; byte [ ] existing = com.android.ide.eclipse.adt.AdtUtils.readData ( dest ) ; return java.util.Arrays.equals ( existing , data ) ; }
Source:
private boolean handleMultipartyIncallSupplementaryService ( java.lang.String dialString ) { if ( ( dialString.length ( ) ) > 1 ) { return false ; } if ( com.android.internal.telephony.imsphone.ImsPhone.DBG ) android.telephony.Rlog.d ( com.android.internal.telephony.imsphone.ImsPhone.LOG_TAG , "MmiCode 3: merge calls" ) ; conference ( ) ; return true ; }

Target:
private boolean handleMultipartyIncallSupplementaryService ( java.lang.String dialString ) { if ( ( dialString.length ( ) ) > 1 ) { return false ; } if ( com.android.internal.telephony.imsphone.ImsPhone.DBG ) logd ( "MmiCode 3: merge calls" ) ; conference ( ) ; return true ; }
Source:
public void startProvisioning ( com.android.voicemail.impl.ActivationTask task , android.telecom.PhoneAccountHandle handle , com.android.voicemail.impl.OmtpVvmCarrierConfigHelper config , com.android.voicemail.impl.VoicemailStatus.Editor editor , com.android.voicemail.impl.sms.StatusMessage message , android.os.Bundle data ) { }

Target:
public void startProvisioning ( com.android.voicemail.impl.ActivationTask task , android.telecom.PhoneAccountHandle handle , com.android.voicemail.impl.OmtpVvmCarrierConfigHelper config , com.android.voicemail.impl.VoicemailStatus.Editor editor , com.android.voicemail.impl.sms.StatusMessage message , android.os.Bundle data , boolean isCarrierInitiated ) { }
Source:
public native void putLong$ ( long address , long x ) ;

Target:
public native void putLong ( long address , long x ) ;
Source:
public void onLost ( android.net.Network network ) { if ( network.equals ( currentNetwork ) ) { currentNetwork = null ; android.net.ConnectivityManager.setProcessDefaultNetworkForHostResolution ( null ) ; } android.util.Log.d ( android.net.ConnectivityManager.TAG , ( "startUsingNetworkFeature lost Network:" + network ) ) ; }

Target:
public void onLost ( android.net.Network network ) { if ( network.equals ( currentNetwork ) ) clearDnsBinding ( ) ; android.util.Log.d ( android.net.ConnectivityManager.TAG , ( "startUsingNetworkFeature lost Network:" + network ) ) ; }
Source:
public void setCallForwardingOption ( int commandInterfaceCFAction , int commandInterfaceCFReason , java.lang.String dialingNumber , int timerSeconds , android.os.Message onComplete ) { android.util.Log.e ( com.android.internal.telephony.cdma.CDMAPhone.LOG_TAG , "setCallForwardingOption: not possible in CDMA" ) ; }

Target:
public void setCallForwardingOption ( int commandInterfaceCFAction , int commandInterfaceCFReason , java.lang.String dialingNumber , int timerSeconds , android.os.Message onComplete ) { android.telephony.Rlog.e ( com.android.internal.telephony.cdma.CDMAPhone.LOG_TAG , "setCallForwardingOption: not possible in CDMA" ) ; }
Source:
public java.lang.String variantDisplayName ( java.lang.String variant ) { return adjustForUsageAndContext ( android.icu.impl.LocaleDisplayNamesImpl.CapitalizationContextUsage.VARIANT , langData.get ( "Variants" , variant ) ) ; }

Target:
private java.lang.String variantDisplayName ( java.lang.String variant , boolean skipAdjust ) { java.lang.String variantName = langData.get ( "Variants" , variant ) ; return skipAdjust ? variantName : adjustForUsageAndContext ( android.icu.impl.LocaleDisplayNamesImpl.CapitalizationContextUsage.VARIANT , variantName ) ; }
Source:
protected void joinGroup ( java.net.SocketAddress arg0 , java.net.NetworkInterface arg1 ) throws java.io.IOException { }

Target:
protected void leaveGroup ( java.net.SocketAddress arg0 , java.net.NetworkInterface arg1 ) throws java.io.IOException { }
Source:
public static java.lang.String toString ( java.io.File file , java.nio.charset.Charset charset ) throws java.io.IOException { return new java.lang.String ( com.google.common.io.Files.toByteArray ( file ) , charset.name ( ) ) ; }

Target:
public static java.lang.String readFirstLine ( java.io.File file , java.nio.charset.Charset charset ) throws java.io.IOException { return com.google.common.io.Files.asCharSource ( file , charset ) . readFirstLine ( ) ; }
Source:
public static java.lang.String toUpperCase ( java.lang.String str ) { return com.ibm.icu.lang.UCharacter.toUpperCase ( com.ibm.icu.util.ULocale.getDefault ( ) , str ) ; }

Target:
public static java.lang.String toUpperCase ( java.lang.String str ) { return com.ibm.icu.lang.UCharacter.toUpperCase ( com.ibm.icu.lang.UCharacter.getDefaultCaseLocale ( ) , str ) ; }
Source:
public java.util.List < java.io.File > getJarJarRuleFiles ( ) { return com.google.common.collect.ImmutableList.of ( ) ; }

Target:
public java.util.List < java.io.File > getJarJarRuleFiles ( ) { return buildType.getJarJarRuleFiles ( ) ; }
Source:
public android.hardware.wifi.supplicant.V1_0.SupplicantStatus answer ( java.lang.String key ) throws android.os.RemoteException { mSupplicantVariables.eapPrivateKey = key ; return mStatusSuccess ; }

Target:
public android.hardware.wifi.supplicant.V1_0.SupplicantStatus answer ( java.lang.String key ) throws android.os.RemoteException { mSupplicantVariables.eapPrivateKeyId = key ; return mStatusSuccess ; }
Source:
public void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; android.accessibilityservice.cts.ShellCommandBuilder.create ( this ) . deleteSecureSetting ( android.accessibilityservice.cts.AccessibilityMagnificationTest.ACCESSIBILITY_DISPLAY_MAGNIFICATION_ENABLED ) . run ( ) ; mService = android.accessibilityservice.cts.StubMagnificationAccessibilityService.enableSelf ( this ) ; }

Target:
public void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; android.accessibilityservice.cts.ShellCommandBuilder.create ( this ) . deleteSecureSetting ( android.accessibilityservice.cts.AccessibilityMagnificationTest.ACCESSIBILITY_DISPLAY_MAGNIFICATION_ENABLED ) . run ( ) ; mService = android.accessibilityservice.cts.StubMagnificationAccessibilityService.enableSelf ( this ) ; mInstrumentation = getInstrumentation ( ) ; }
Source:
public boolean isEnabled ( ) { return ( getIEuiccController ( ) ) != null ; }

Target:
public boolean isEnabled ( ) { return ( android.telephony.euicc.EuiccManager.getIEuiccController ( ) ) != null ; }
Source:
private void notifyCharacteristicChanged ( java.lang.String value ) { showMessage ( ( "Characteristic changed: " + value ) ) ; android.content.Intent intent = new android.content.Intent ( com.android.cts.verifier.bluetooth.BleClientService.BLE_CHARACTERISTIC_CHANGED ) ; intent.putExtra ( com.android.cts.verifier.bluetooth.BleClientService.EXTRA_CHARACTERISTIC_VALUE , value ) ; sendBroadcast ( intent ) ; }

Target:
private void notifyCharacteristicWriteNoPermission ( java.lang.String value ) { showMessage ( "Characteristic write: No Permission" ) ; android.content.Intent intent = new android.content.Intent ( com.android.cts.verifier.bluetooth.BleClientService.BLE_CHARACTERISTIC_WRITE_NOPERMISSION ) ; sendBroadcast ( intent ) ; }
Source:
public void testMipMap ( ) throws java.lang.Exception { mEnabled = java.util.Collections.singleton ( ManifestDetector.MIPMAP ) ; assertEquals ( ( "" + ( ( ( ( ( ( "AndroidManifest.xml:9: Warning: Should use @mipmap instead of @drawable for launcher icons [MipmapIcons]\n" + " android:icon=\"@drawable/ic_launcher\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "AndroidManifest.xml:14: Warning: Should use @mipmap instead of @drawable for launcher icons [MipmapIcons]\n" ) + " android:icon=\"@drawable/activity1\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "0 errors, 2 warnings\n" ) ) , lintProject ( "mipmap.xml=>AndroidManifest.xml" ) ) ; }

Target:
public void testMipMapWithDensityFiltering ( ) throws java.lang.Exception { mEnabled = java.util.Collections.singleton ( ManifestDetector.MIPMAP ) ; assertEquals ( ( "" + ( ( ( ( ( ( "AndroidManifest.xml:9: Warning: Should use @mipmap instead of @drawable for launcher icons [MipmapIcons]\n" + " android:icon=\"@drawable/ic_launcher\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "AndroidManifest.xml:14: Warning: Should use @mipmap instead of @drawable for launcher icons [MipmapIcons]\n" ) + " android:icon=\"@drawable/activity1\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "0 errors, 2 warnings\n" ) ) , lintProject ( "mipmap.xml=>AndroidManifest.xml" ) ) ; }
Source:
public java.lang.Void run ( ) { if ( logger != ( java.util.logging.LogManager.manager.rootLogger ) ) { boolean useParent = java.util.logging.LogManager.manager.getBooleanProperty ( ( name + ".useParentHandlers" ) , true ) ; if ( ! useParent ) { logger.setUseParentHandlers ( false ) ; } } return null ; }

Target:
public java.lang.Void run ( ) { if ( logger != ( owner.rootLogger ) ) { boolean useParent = owner.getBooleanProperty ( ( name + ".useParentHandlers" ) , true ) ; if ( ! useParent ) { logger.setUseParentHandlers ( false ) ; } } return null ; }
Source:
com.android.build.gradle.internal.core.NdkConfig getNdkConfig ( ) ;

Target:
com.android.build.gradle.internal.dsl.CoreNdkOptions getNdkConfig ( ) ;
Source:
public java.lang.Boolean call ( ) { return onKeyUp ( keyCode , event ) ; }

Target:
public void run ( ) { onDetachedFromWindow ( ) ; }
Source:
public static void loop7 ( boolean incoming ) { while ( ( java.lang.Runtime.getRuntime ( ) ) != null ) { java.lang.System.out.println ( incoming ) ; while ( incoming ) { } } }

Target:
public static void loop7 ( boolean incoming ) { while ( ( java.lang.Runtime.getRuntime ( ) ) != null ) { java.lang.System.out.println ( incoming ) ; while ( incoming ) { } java.lang.System.nanoTime ( ) ; } }
Source:
private static native java.lang.String nativeLoad ( java.lang.String filename , java.lang.ClassLoader loader , java.lang.String ldLibraryPath , java.lang.String libraryPermittedPath ) ;

Target:
private static native java.lang.String nativeLoad ( java.lang.String filename , java.lang.ClassLoader loader , boolean isSharedNamespace , java.lang.String librarySearchPath , java.lang.String libraryPermittedPath ) ;
Source:
com.google.common.collect.ImmutableCollection < V > createValues ( ) { return new com.google.common.collect.ImmutableMapValues < K , V > ( ) { @ java.lang.Override com.google.common.collect.ImmutableMap < K , V > map ( ) { return com.google.common.collect.ImmutableMap.this ; } } ; }

Target:
public K getKey ( ) { return backingEntry.getKey ( ) ; }
Source:
public android.os.Messenger getWifiServiceMessenger ( ) { enforceAccessPermission ( ) ; enforceChangePermission ( ) ; return new android.os.Messenger ( mClientHandler ) ; }

Target:
public android.os.Messenger getWifiServiceMessenger ( ) { enforceAccessPermission ( ) ; enforceChangePermission ( ) ; mLog.trace ( "getWifiServiceMessenger uid=%" ) . c ( android.os.Binder.getCallingUid ( ) ) . flush ( ) ; return new android.os.Messenger ( mClientHandler ) ; }
Source:
public java.util.Iterator < com.example.android.multiproject.person.Person > iterator ( ) { return com.google.common.collect.Lists.newArrayList ( new com.example.android.multiproject.person.Person ( "fred" ) ) . iterator ( ) ; }

Target:
public java.util.Iterator < com.example.android.multiproject.person.Person > iterator ( ) { return com.google.common.collect.Lists.newArrayList ( new com.example.android.multiproject.person.Person ( "Fred" ) , new com.example.android.multiproject.person.Person ( "Barney" ) ) . iterator ( ) ; }
Source:
public static java.util.Locale [ ] getAvailableLocales ( ) { return libcore.icu.ICU.getAvailableBreakIteratorLocales ( ) ; }

Target:
public static java.util.Locale [ ] getAvailableLocales ( ) { return com.ibm.icu.text.BreakIterator.getAvailableLocales ( ) ; }
Source:
public java.lang.Integer wifiNanSubscribe ( @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "callbackId" ) java.lang.Integer callbackId , @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "subscribeConfig" ) org.json.JSONObject subscribeConfig ) throws android.os.RemoteException , org.json.JSONException { int sessionId = getNextSessionId ( ) ; mMgr.subscribe ( com.googlecode.android_scripting.facade.wifi.WifiNanManagerFacade.getSubscribeConfig ( subscribeConfig ) , new com.googlecode.android_scripting.facade.wifi.WifiNanManagerFacade.NanSessionCallbackPostsEvents ( callbackId , sessionId ) ) ; return sessionId ; }

Target:
public java.lang.Integer wifiNanSubscribe ( @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "callbackId" ) java.lang.Integer callbackId , @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "subscribeConfig" ) org.json.JSONObject subscribeConfig ) throws android.os.RemoteException , org.json.JSONException { int sessionId = getNextSessionId ( ) ; mMgr.subscribe ( com.googlecode.android_scripting.facade.wifi.WifiNanManagerFacade.getSubscribeConfig ( subscribeConfig ) , new com.googlecode.android_scripting.facade.wifi.WifiNanManagerFacade.NanDiscoverySessionCallbackPostsEvents ( callbackId , sessionId ) ) ; return sessionId ; }
Source:
public static long XorIntLong ( ) { int lhs = 10 ; long rhs = 3 ; return lhs ^ rhs ; }

Target:
public static long XorLongInt ( ) { long lhs = Main.$inline$long ( 10L ) ; int rhs = Main.$inline$int ( 3 ) ; return lhs ^ rhs ; }
Source:
public void testStageInstallWithErrorCode_successfulFirstUpdate_sameVersionAsSystem ( ) throws java.lang.Exception { com.android.timezone.distro.TimeZoneDistro distro = libcore.tzdata.update2.TimeZoneDistroInstallerTest.createValidTimeZoneDistro ( libcore.tzdata.update2.TimeZoneDistroInstallerTest.SYSTEM_RULES_VERSION , 1 ) ; assertEquals ( TimeZoneDistroInstaller.INSTALL_SUCCESS , installer.stageInstallWithErrorCode ( distro ) ) ; assertInstallDistroStaged ( distro ) ; assertNoInstalledDistro ( ) ; }

Target:
public void testStageInstallWithErrorCode_successfulFirstUpdate_sameVersionAsSystem ( ) throws java.lang.Exception { byte [ ] distroBytes = libcore.tzdata.update2.TimeZoneDistroInstallerTest.createValidTimeZoneDistroBytes ( libcore.tzdata.update2.TimeZoneDistroInstallerTest.SYSTEM_RULES_VERSION , 1 ) ; assertEquals ( TimeZoneDistroInstaller.INSTALL_SUCCESS , installer.stageInstallWithErrorCode ( new com.android.timezone.distro.TimeZoneDistro ( distroBytes ) ) ) ; assertInstallDistroStaged ( distroBytes ) ; assertNoInstalledDistro ( ) ; }
Source:
public void unstableProviderDied ( android.os.IBinder provider ) { queueOrSendMessage ( android.app.ActivityThread.H.UNSTABLE_PROVIDER_DIED , provider ) ; }

Target:
public void unstableProviderDied ( android.os.IBinder provider ) { sendMessage ( android.app.ActivityThread.H.UNSTABLE_PROVIDER_DIED , provider ) ; }
Source:
public V2 apply ( V1 value ) { return transformer.transformEntry ( key , value ) ; }

Target:
java.util.List < V2 > transform ( K key , java.util.Collection < V1 > values ) { return com.google.common.collect.Lists.transform ( ( ( java.util.List < V1 > ) ( values ) ) , com.google.common.collect.Maps.asValueToValueFunction ( transformer , key ) ) ; }
Source:
java.util.logging.Logger demandLogger ( java.lang.String name , java.lang.String resourceBundleName ) { return java.util.logging.LogManager.manager.demandLogger ( name , resourceBundleName , null ) ; }

Target:
java.util.logging.Logger demandLogger ( java.lang.String name , java.lang.String resourceBundleName ) { final java.util.logging.LogManager owner = getOwner ( ) ; return owner.demandLogger ( name , resourceBundleName , null ) ; }
Source:
public static java.lang.String getSharedLibraryFileName ( java.lang.String moduleName ) { return ( "/lib" + moduleName ) + ".so" ; }

Target:
public static java.lang.String getSharedLibraryFileName ( java.lang.String moduleName ) { return ( "lib" + moduleName ) + ".so" ; }
Source:
public java.awt.Color getFontColor ( com.android.tools.perflib.vmtrace.Call c , java.lang.String threadName ) { double percent = mTraceData.getDurationPercentage ( c , threadName , mRenderClock , mUseInclusiveTimeForColorAssignment ) ; return ( getColorIndex ( percent ) ) < ( com.android.tools.perflib.vmtrace.viz.RenderContext.BRIGHT_TO_DARK_CROSSOVER_INDEX ) ? java.awt.Color.BLACK : java.awt.Color.WHITE ; }

Target:
public java.awt.Color getFontColor ( com.android.tools.perflib.vmtrace.Call c , com.android.tools.perflib.vmtrace.ThreadInfo thread ) { double percent = mTraceData.getDurationPercentage ( c , thread , mRenderClock , mUseInclusiveTimeForColorAssignment ) ; return ( getColorIndex ( percent ) ) < ( com.android.tools.perflib.vmtrace.viz.RenderContext.BRIGHT_TO_DARK_CROSSOVER_INDEX ) ? java.awt.Color.BLACK : java.awt.Color.WHITE ; }
Source:
public void testE1 ( ) { dot.junit.opcodes.opc_return.d.T_opc_return_3 t = new dot.junit.opcodes.opc_return.d.T_opc_return_3 ( ) ; try { assertTrue ( t.run ( ) ) ; fail ( "expected IllegalMonitorStateException" ) ; } catch ( java.lang.IllegalMonitorStateException imse ) { } }

Target:
public void testVFE1 ( ) { load ( "dot.junit.opcodes.opc_return.d.T_opc_return_5" , java.lang.VerifyError.class ) ; }
Source:
public void onTrigger ( android.hardware.TriggerEvent event ) { synchronized ( this ) { significantMotionLocked ( ) ; } }

Target:
public void onLocationChanged ( android.location.Location location ) { synchronized ( this ) { receivedGenericLocationLocked ( location ) ; } }
Source:
private static native boolean lookingAtImpl ( long addr , java.lang.String s , int [ ] offsets ) ;

Target:
private static native boolean matchesImpl ( long addr , int [ ] offsets ) ;
Source:
public void setCamera ( java.lang.String cameraId ) { try { mVideoProviderBinder.setCamera ( cameraId ) ; } catch ( android.os.RemoteException e ) { } }

Target:
public void setCamera ( java.lang.String cameraId ) { try { mVideoProviderBinder.setCamera ( cameraId , mCallingPackage ) ; } catch ( android.os.RemoteException e ) { } }
Source:
public static void setSecurityManager ( final java.lang.SecurityManager s ) { }

Target:
public static void setSecurityManager ( java.lang.SecurityManager sm ) { if ( sm != null ) { throw new java.lang.SecurityException ( ) ; } }
Source:
public static void computeRadians ( android.renderscript.cts.TestRadians.ArgumentsFloatFloat args ) { args.ulf = 3 ; args.ulfRelaxed = 3 ; args.out = ( ( float ) ( ( ( double ) ( args.inValue ) ) * ( ( java.lang.StrictMath.PI ) / 180.0 ) ) ) ; }

Target:
public static void computeRadians ( android.renderscript.cts.TestRadians.ArgumentsFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( ( ( args.inValue ) * ( ( float ) ( ( java.lang.Math.PI ) / 180.0 ) ) ) ) ; }
Source:
public void notifySuggestionPicked ( android.text.style.SuggestionSpan span , java.lang.String originalString , int index ) { try { mService.notifySuggestionPicked ( span , originalString , index ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e ) ; } }

Target:
public void notifySuggestionPicked ( android.text.style.SuggestionSpan span , java.lang.String originalString , int index ) { try { mService.notifySuggestionPicked ( span , originalString , index ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }
Source:
public java.lang.String toString ( ) { return ( "IsEqualTo(" + ( target ) ) + ")" ; }

Target:
public java.lang.String toString ( ) { return ( "Predicates.equalTo(" + ( target ) ) + ")" ; }
Source:
public static double DoubleSubtraction ( ) { double a ; double b ; double c ; a = 6.0 ; b = 2.0 ; c = a - b ; return c ; }

Target:
public static double DoubleSubtraction ( ) { double a ; double b ; double c ; a = Main.$inline$double ( 6.0 ) ; b = Main.$inline$double ( 2.0 ) ; c = a - b ; return c ; }
Source:
public void run ( ) { setFitScale ( true ) ; }

Target:
public void run ( ) { ensureZoomed ( ) ; }
Source:
public void controlResized ( org.eclipse.swt.events.ControlEvent e ) { super . controlResized ( e ) ; mHScale.setClientSize ( getClientArea ( ) . width ) ; mVScale.setClientSize ( getClientArea ( ) . height ) ; }

Target:
public void controlResized ( org.eclipse.swt.events.ControlEvent e ) { super . controlResized ( e ) ; mHScale.setClientSize ( getClientArea ( ) . width ) ; mVScale.setClientSize ( getClientArea ( ) . height ) ; getDisplay ( ) . asyncExec ( mZoomCheck ) ; }
Source:
public java.lang.String call ( ) { return getUrl ( ) ; }

Target:
public java.lang.String call ( ) { return getOriginalUrl ( ) ; }
Source:
public void onSuccess ( ) { com.android.server.telecom.Log.d ( this , "Adding simService %s" , currentSimService.getComponentName ( ) ) ; simServiceComponentNames.add ( currentSimService.getComponentName ( ) ) ; simServiceBinders.add ( currentSimService.mServiceInterface.asBinder ( ) ) ; maybeComplete ( ) ; }

Target:
public void onSuccess ( ) { android.telecom.Log.d ( this , "Adding simService %s" , currentSimService.getComponentName ( ) ) ; simServiceComponentNames.add ( currentSimService.getComponentName ( ) ) ; simServiceBinders.add ( currentSimService.mServiceInterface.asBinder ( ) ) ; maybeComplete ( ) ; }
Source:
public void test_ar ( ) throws java.lang.Exception { libcore.icu.ImmutableIndex ar = libcore.icu.AlphabeticIndexTest.createIndex ( new java.util.Locale ( "ar" ) ) ; libcore.icu.AlphabeticIndexTest.assertHasLabel ( ar , "نور" , "ن" ) ; }

Target:
public void test_ar ( ) throws java.lang.Exception { libcore.icu.AlphabeticIndex.ImmutableIndex ar = libcore.icu.AlphabeticIndexTest.createIndex ( new java.util.Locale ( "ar" ) ) ; libcore.icu.AlphabeticIndexTest.assertHasLabel ( ar , "نور" , "ن" ) ; }
Source:
public static com.google.common.io.InputSupplier < java.io.InputStreamReader > newReaderSupplier ( java.net.URL url , java.nio.charset.Charset charset ) { return com.google.common.io.CharStreams.newReaderSupplier ( com.google.common.io.Resources.newInputStreamSupplier ( url ) , charset ) ; }

Target:
public static com.google.common.io.CharSource asCharSource ( java.net.URL url , java.nio.charset.Charset charset ) { return com.google.common.io.Resources.asByteSource ( url ) . asCharSource ( charset ) ; }
Source:
public void testConstructor_NullEndDate_Failure ( ) throws java.lang.Exception { try { new android.security.KeyPairGeneratorSpec ( getContext ( ) , android.security.KeyPairGeneratorSpecTest.TEST_ALIAS_1 , android.security.KeyPairGeneratorSpecTest.TEST_DN_1 , android.security.KeyPairGeneratorSpecTest.SERIAL_1 , android.security.KeyPairGeneratorSpecTest.NOW , null , 0 ) ; fail ( "Should throw IllegalArgumentException when keystoreAlias is null" ) ; } catch ( java.lang.IllegalArgumentException success ) { } }

Target:
public void testConstructor_NullEndDate_Failure ( ) throws java.lang.Exception { try { new android.security.KeyPairGeneratorSpec ( getContext ( ) , android.security.KeyPairGeneratorSpecTest.TEST_ALIAS_1 , "RSA" , 1024 , null , android.security.KeyPairGeneratorSpecTest.TEST_DN_1 , android.security.KeyPairGeneratorSpecTest.SERIAL_1 , android.security.KeyPairGeneratorSpecTest.NOW , null , 0 ) ; fail ( "Should throw IllegalArgumentException when keystoreAlias is null" ) ; } catch ( java.lang.IllegalArgumentException success ) { } }
Source:
public void testPrivateConstructorReference ( ) throws java.lang.Exception { run ( GWT_LAMBDA_TEST_19 ) ; }

Target:
public void testPrivateConstructorReference ( ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( GWT_LAMBDA_TEST_19 ) . setSourceLevel ( SourceLevel.JAVA_8 ) . addIgnoredCandidateToolchain ( com.android.jack.test.toolchain.JackApiV01.class ) . addIgnoredCandidateToolchain ( com.android.jack.test.toolchain.JillBasedToolchain.class ) . compileAndRunTest ( ) ; }
Source:
private void generateUnexpectedMessageFromNative ( android.bluetooth.BluetoothDevice device , int newConnectionState , int oldConnectionState ) { com.android.bluetooth.a2dp.A2dpStackEvent stackEvent = new com.android.bluetooth.a2dp.A2dpStackEvent ( A2dpStackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED ) ; stackEvent.device = device ; stackEvent.valueInt = newConnectionState ; mA2dpService.messageFromNative ( stackEvent ) ; verifyNoConnectionStateIntent ( com.android.bluetooth.a2dp.A2dpServiceTest.TIMEOUT_MS ) ; }

Target:
private void generateUnexpectedConnectionMessageFromNative ( android.bluetooth.BluetoothDevice device , int newConnectionState , int oldConnectionState ) { com.android.bluetooth.a2dp.A2dpStackEvent stackEvent = new com.android.bluetooth.a2dp.A2dpStackEvent ( A2dpStackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED ) ; stackEvent.device = device ; stackEvent.valueInt = newConnectionState ; mA2dpService.messageFromNative ( stackEvent ) ; verifyNoConnectionStateIntent ( com.android.bluetooth.a2dp.A2dpServiceTest.TIMEOUT_MS ) ; }
Source:
public static void toggleOrientation ( android.app.Activity activity ) { android.app.stubs.OrientationTestUtils.toggleOrientationSync ( activity , null ) ; }

Target:
public static void toggleOrientation ( android.app.Activity activity ) { final int [ ] orientations = android.app.stubs.OrientationTestUtils.getOrientations ( activity ) ; activity.setRequestedOrientation ( orientations [ 1 ] ) ; activity.setRequestedOrientation ( orientations [ 0 ] ) ; }
Source:
public static < E > java.util.Set < E > newSetFromMap ( java.util.Map < E , java.lang.Boolean > map ) { return new com.google.common.collect.Sets.SetFromMap < E > ( map ) ; }

Target:
public static < E > java.util.Set < E > newSetFromMap ( java.util.Map < E , java.lang.Boolean > map ) { return com.google.common.collect.Platform.newSetFromMap ( map ) ; }
Source:
public void run ( ) { if ( ( mCallback ) != null ) { mCallback.onDescriptorWrite ( this , descriptor , status ) ; } }

Target:
public void run ( ) { final android.bluetooth.BluetoothGattCallback callback = mCallback ; if ( callback != null ) { callback.onDescriptorWrite ( this , descriptor , status ) ; } }
Source:
native void rsnAllocationData3D ( long con , long id , int xoff , int yoff , int zoff , int mip , int w , int h , int depth , float [ ] d , int sizeBytes ) ;

Target:
native void rsnScriptSetVarVE ( long con , long id , int slot , byte [ ] val , long e , int [ ] dims , boolean mUseInc ) ;
Source:
public void applyTransportModeTransform ( java.io.FileDescriptor socket , android.net.IpSecTransform transform ) throws java.io.IOException { applyTransportModeTransform ( new android.os.ParcelFileDescriptor ( 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 ) ; } }
Source:
public void endVisit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JNullLiteral expr ) { performCommonChecks ( expr ) ; otherOrMe ( expr ) ; }

Target:
public void endVisit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.cfg.JConditionalBasicBlock block ) { super . endVisit ( block ) ; com.android.jack.ir.ast.cfg.JConditionalBasicBlock other = otherOrMe ( block ) ; ensure ( ( ( other.isInverted ( ) ) == ( block.isInverted ( ) ) ) ) ; }
Source:
public void testE5 ( ) { dot.junit.opcodes.invoke_interface_range.d.T_invoke_interface_range_12 t = new dot.junit.opcodes.invoke_interface_range.d.T_invoke_interface_range_12 ( ) ; dot.junit.opcodes.invoke_interface_range.ITestImpl impl = new dot.junit.opcodes.invoke_interface_range.ITestImpl ( ) ; try { t.run ( impl ) ; fail ( "expected UnsatisfiedLinkError" ) ; } catch ( java.lang.UnsatisfiedLinkError e ) { } }

Target:
public void testE5 ( ) { loadAndRun ( "dot.junit.opcodes.invoke_interface_range.d.T_invoke_interface_range_12" , java.lang.UnsatisfiedLinkError.class , new dot.junit.opcodes.invoke_interface_range.ITestImpl ( ) ) ; }
Source:
public void callSessionConferenceExtendFailed ( com.android.ims.ImsReasonInfo reasonInfo ) throws android.os.RemoteException { mListener.callSessionConferenceExtendFailed ( reasonInfo ) ; }

Target:
public void callSessionConferenceExtended ( com.android.ims.internal.IImsCallSession newSession , android.telephony.ims.ImsCallProfile profile ) { try { mListener.callSessionConferenceExtended ( newSession , profile ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e ) ; } }
Source:
public java.util.List < com.google.currysrc.api.transform.DocumentTransformRule > getDocumentTransformRules ( java.io.File file ) { return com.google.common.collect.Lists.newArrayList ( new com.google.currysrc.api.transform.DocumentTransformRule ( captureTransformer , com.google.currysrc.api.match.SourceMatchers.all ( ) , false ) ) ; }

Target:
public java.util.List < com.google.currysrc.api.transform.TransformRule > getTransformRules ( java.io.File file ) { return com.google.common.collect.Lists.< com.google.currysrc.api.transform.TransformRule > newArrayList ( new com.google.currysrc.api.transform.DocumentTransformRule ( captureTransformer , com.google.currysrc.api.match.SourceMatchers.all ( ) , false ) ) ; }
Source:
public static java.lang.String getUrlDoc ( ) { return com.android.ide.eclipse.adt.internal.project.ProjectHelper.getJavaDocPath ( ( ( com.android.ide.eclipse.adt.AdtPlugin.getOsSdkFolder ( ) ) + ( AndroidConstants.WS_JAVADOC_FOLDER_LEAF ) ) ) ; }

Target:
public static java.lang.String getUrlDoc ( ) { return com.android.ide.eclipse.adt.internal.project.ProjectHelper.getJavaDocPath ( ( ( com.android.ide.eclipse.adt.AdtPlugin.getOsSdkFolder ( ) ) + ( AdtConstants.WS_JAVADOC_FOLDER_LEAF ) ) ) ; }
Source:
public void onStateUpdated ( android.telephony.mbms.DownloadRequest request , android.telephony.mbms.FileInfo fileInfo , @ android.telephony.MbmsDownloadSession.DownloadStatus int state ) { com.android.internal.os.SomeArgs args = com.android.internal.os.SomeArgs.obtain ( ) ; args.arg1 = request ; args.arg2 = fileInfo ; args.arg3 = state ; mStateUpdatedCalls.add ( args ) ; }

Target:
public void onStatusUpdated ( android.telephony.mbms.DownloadRequest request , android.telephony.mbms.FileInfo fileInfo , @ android.telephony.MbmsDownloadSession.DownloadStatus int state ) { com.android.internal.os.SomeArgs args = com.android.internal.os.SomeArgs.obtain ( ) ; args.arg1 = request ; args.arg2 = fileInfo ; args.arg3 = state ; mCalls.add ( args ) ; }
Source:
public void removeProfile ( com.android.bluetooth.btservice.ProfileService profile ) { android.os.Message m = mHandler.obtainMessage ( com.android.bluetooth.btservice.AdapterService.MESSAGE_PROFILE_SERVICE_UNREGISTERED , profile ) ; mHandler.sendMessage ( m ) ; }

Target:
public void onProfileServiceStateChanged ( java.lang.String serviceName , int state ) { android.os.Message m = mHandler.obtainMessage ( com.android.bluetooth.btservice.AdapterService.MESSAGE_PROFILE_SERVICE_STATE_CHANGED ) ; m.obj = serviceName ; m.arg1 = state ; mHandler.sendMessage ( m ) ; }
Source:
public void setAudioRouteAllowed ( boolean allowed ) { mAudioRouteAllowed = allowed ; }

Target:
public void setAudioRouteAllowed ( boolean allowed ) { mAudioRouteAllowed = allowed ; setScoAllowedNative ( allowed ) ; }
Source:
private static com.google.gson.JsonElement postRequest ( @ org.jetbrains.annotations.NotNull org.jetbrains.plugins.github.api.GithubAuthData auth , @ org.jetbrains.annotations.NotNull java.lang.String path , @ org.jetbrains.annotations.Nullable java.lang.String requestBody , @ org.jetbrains.annotations.NotNull org.jetbrains.plugins.github.api.Header ... headers ) throws java.io.IOException { return org.jetbrains.plugins.github.api.GithubApiUtil.request ( auth , path , requestBody , java.util.Arrays.asList ( headers ) , org.jetbrains.plugins.github.api.GithubApiUtil.HttpVerb.POST ) . getJsonElement ( ) ; }

Target:
private static com.google.gson.JsonElement postRequest ( @ org.jetbrains.annotations.NotNull org.jetbrains.plugins.github.util.GithubAuthData auth , @ org.jetbrains.annotations.NotNull java.lang.String path , @ org.jetbrains.annotations.Nullable java.lang.String requestBody , @ org.jetbrains.annotations.NotNull org.jetbrains.plugins.github.api.Header ... headers ) throws java.io.IOException { return org.jetbrains.plugins.github.api.GithubApiUtil.request ( auth , path , requestBody , java.util.Arrays.asList ( headers ) , org.jetbrains.plugins.github.api.GithubApiUtil.HttpVerb.POST ) . getJsonElement ( ) ; }
Source:
public void assertCursor ( int expectedCursor ) { if ( ( cursor ) != expectedCursor ) { throw new com.android.dx.util.ExceptionWithContext ( ( ( ( "expected cursor " + expectedCursor ) + "; actual value: " ) + ( cursor ) ) ) ; } }

Target:
public void assertCursor ( int expectedCursor ) { if ( ( cursor ) != expectedCursor ) { throw new com.android.dex.util.ExceptionWithContext ( ( ( ( "expected cursor " + expectedCursor ) + "; actual value: " ) + ( cursor ) ) ) ; } }
Source:
public java.util.Collection < java.lang.String > getApplicableElements ( ) { return java.util.Arrays.asList ( com.android.SdkConstants.TAG_APPLICATION , com.android.SdkConstants.TAG_USES_PERMISSION , com.android.SdkConstants.TAG_PERMISSION , "permission-tree" , "permission-group" , com.android.SdkConstants.TAG_USES_SDK , "uses-configuration" , "uses-feature" , "supports-screens" , "compatible-screens" , "supports-gl-texture" , com.android.SdkConstants.TAG_USES_LIBRARY , com.android.SdkConstants.TAG_ACTIVITY , com.android.SdkConstants.TAG_SERVICE , com.android.SdkConstants.TAG_PROVIDER , com.android.SdkConstants.TAG_RECEIVER ) ; }

Target:
public java.util.Collection < java.lang.String > getApplicableElements ( ) { return java.util.Arrays.asList ( com.android.SdkConstants.TAG_APPLICATION , com.android.SdkConstants.TAG_USES_PERMISSION , com.android.SdkConstants.TAG_PERMISSION , "permission-tree" , "permission-group" , com.android.SdkConstants.TAG_USES_SDK , "uses-configuration" , com.android.SdkConstants.TAG_USES_FEATURE , "supports-screens" , "compatible-screens" , "supports-gl-texture" , com.android.SdkConstants.TAG_USES_LIBRARY , com.android.SdkConstants.TAG_ACTIVITY , com.android.SdkConstants.TAG_SERVICE , com.android.SdkConstants.TAG_PROVIDER , com.android.SdkConstants.TAG_RECEIVER ) ; }
Source:
native int rsnAllocationCreateBitmapRef ( int con , int type , android.graphics.Bitmap bmp ) ;

Target:
synchronized long nAllocationCubeCreateFromBitmap ( long type , int mip , android.graphics.Bitmap bmp , int usage ) { validate ( ) ; return rsnAllocationCubeCreateFromBitmap ( mContext , type , mip , bmp , usage ) ; }
Source:
public void restat ( java.lang.String path ) { native_restat ( path ) ; }

Target:
public int getBlockSize ( ) { return ( ( int ) ( mStat.f_bsize ) ) ; }
Source:
native long rsnContextCreate ( long dev , int ver , int sdkVer , int contextType ) ;

Target:
synchronized long nContextCreate ( long dev , int ver , int sdkVer , int contextType , java.lang.String nativeLibDir ) { return rsnContextCreate ( dev , ver , sdkVer , contextType , nativeLibDir ) ; }
Source:
public void run ( ) { mPrivateFlags &= ~ ( android.view.View.PREPRESSED ) ; mPrivateFlags |= android.view.View.PRESSED ; refreshDrawableState ( ) ; if ( ( ( mViewFlags ) & ( android.view.View.LONG_CLICKABLE ) ) == ( android.view.View.LONG_CLICKABLE ) ) { postCheckForLongClick ( android.view.ViewConfiguration.getTapTimeout ( ) ) ; } }

Target:
public void run ( ) { mPrivateFlags &= ~ ( android.view.View.PREPRESSED ) ; mPrivateFlags |= android.view.View.PRESSED ; refreshDrawableState ( ) ; checkForLongClick ( android.view.ViewConfiguration.getTapTimeout ( ) ) ; }
Source:
public void setSSLParameters ( javax.net.ssl.SSLParameters p ) { super . setSSLParameters ( p ) ; sslParameters.setEndpointIdentificationAlgorithm ( p.getEndpointIdentificationAlgorithm ( ) ) ; }

Target:
public void setSSLParameters ( javax.net.ssl.SSLParameters p ) { super . setSSLParameters ( p ) ; sslParameters.setEndpointIdentificationAlgorithm ( org.conscrypt.Platform.getEndpointIdentificationAlgorithm ( p ) ) ; }
Source:
public android.os.Bundle getAuthToken ( android.accounts.AccountAuthenticatorResponse r , android.accounts.Account account , java.lang.String s , android.os.Bundle bundle ) throws android.accounts.NetworkErrorException { android.util.Log.d ( com.android.bluetooth.pbapclient.Authenticator.TAG , "got call" , new java.lang.Exception ( ) ) ; throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
public android.os.Bundle confirmCredentials ( android.accounts.AccountAuthenticatorResponse r , android.accounts.Account account , android.os.Bundle bundle ) throws android.accounts.NetworkErrorException { if ( com.android.bluetooth.pbapclient.Authenticator.DBG ) android.util.Log.d ( com.android.bluetooth.pbapclient.Authenticator.TAG , "got call" , new java.lang.Exception ( ) ) ; return null ; }
Source:
synchronized int nScriptFieldIDCreate ( int sid , int slot ) { validate ( ) ; return rsnScriptFieldIDCreate ( mContext , sid , slot ) ; }

Target:
synchronized void nScriptSetVarV ( long id , int slot , byte [ ] val ) { validate ( ) ; rsnScriptSetVarV ( mContext , id , slot , val ) ; }
Source:
public void unregisterForSuppServiceNotification ( android.os.Handler h ) { android.util.Log.e ( com.android.internal.telephony.cdma.CDMAPhone.LOG_TAG , "method unregisterForSuppServiceNotification is NOT supported in CDMA!" ) ; }

Target:
public void unregisterForSuppServiceNotification ( android.os.Handler h ) { android.telephony.Rlog.e ( com.android.internal.telephony.cdma.CDMAPhone.LOG_TAG , "method unregisterForSuppServiceNotification is NOT supported in CDMA!" ) ; }
Source:
public int registerRemoteControlClient ( android.app.PendingIntent mediaIntent , android.media.IRemoteControlClient rcClient , java.lang.String callingPckg ) { return mMediaFocusControl.registerRemoteControlClient ( mediaIntent , rcClient , callingPckg ) ; }

Target:
private void makeA2dpSrcUnavailable ( java.lang.String address ) { android.media.AudioSystem.setDeviceConnectionState ( AudioSystem.DEVICE_IN_BLUETOOTH_A2DP , AudioSystem.DEVICE_STATE_UNAVAILABLE , address ) ; mConnectedDevices.remove ( AudioSystem.DEVICE_IN_BLUETOOTH_A2DP ) ; }
Source:
public void testUserPrefOffA ( ) { int userSetting = com.android.internal.content.PackageHelper.APP_INSTALL_AUTO ; int iloc = PackageInfo.INSTALL_LOCATION_UNSPECIFIED ; setUserX ( false , userSetting , iloc ) ; }

Target:
public void testExistingIUserA ( ) { int userSetting = com.android.internal.content.PackageHelper.APP_INSTALL_AUTO ; int iFlags = android.content.pm.PackageManager.INSTALL_INTERNAL ; setExistingXUserX ( userSetting , iFlags , PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY ) ; }
Source:
public void testMergeByCount ( ) throws java.lang.Exception { com.android.builder.resources.ResourceSet mergedSet = com.android.builder.resources.ResourceMergerTest.getMergedSet ( ) ; assertEquals ( 25 , mergedSet.getSize ( ) ) ; }

Target:
public void testMergeByCount ( ) throws java.lang.Exception { com.android.builder.resources.ResourceMerger merger = com.android.builder.resources.ResourceMergerTest.getResourceMerger ( ) ; assertEquals ( 25 , merger.size ( ) ) ; }
Source:
private com.android.server.pm.dex.PackageDexUsage.PackageUseInfo getPackageUseInfo ( com.android.server.pm.dex.DexManagerTests.TestData testData ) { return mDexManager.getPackageUseInfo ( testData.mPackageInfo.packageName ) ; }

Target:
private void assertNoUseInfo ( com.android.server.pm.dex.DexManagerTests.TestData testData ) { org.junit.Assert.assertFalse ( mDexManager.hasInfoOnPackage ( testData.mPackageInfo.packageName ) ) ; }
Source:
private boolean verifyCameraAppDisabled ( ) { android.support.test.uiautomator.UiDevice device = testFramework.getDevice ( ) ; return device.hasObject ( android.support.test.uiautomator.By.textContains ( "Camera has been disabled because of security policies" ) ) ; }

Target:
private boolean verifyCameraAppDisabled ( ) { android.support.test.uiautomator.UiDevice device = testFramework.getDevice ( ) ; return ( device.hasObject ( android.support.test.uiautomator.By.textContains ( "Camera has been disabled because of security policies" ) ) ) || ( device.hasObject ( android.support.test.uiautomator.By.text ( "Can't connect to the camera." ) ) ) ; }
Source:
public void mouseDragged ( java.awt.event.MouseEvent event ) { if ( ! ( checkLockedRegion ( event.getX ( ) , event.getY ( ) ) ) ) { paint ( event.getX ( ) , event.getY ( ) , currentButton ) ; } }

Target:
public void mousePressed ( java.awt.event.MouseEvent event ) { currentButton = ( event.isShiftDown ( ) ) ? java.awt.event.MouseEvent.BUTTON3 : event.getButton ( ) ; paint ( event.getX ( ) , event.getY ( ) , currentButton ) ; }
Source:
private void finishDisconnectedCall ( com.android.incallui.call.DialerCall call ) { if ( pendingDisconnectCalls.contains ( call ) ) { pendingDisconnectCalls.remove ( call ) ; } call.setState ( DialerCall.State.IDLE ) ; updateCallInMap ( call ) ; notifyGenericListeners ( ) ; }

Target:
private void finishDisconnectedCall ( com.android.incallui.call.DialerCall call ) { if ( pendingDisconnectCalls.contains ( call ) ) { pendingDisconnectCalls.remove ( call ) ; } call.setState ( DialerCallState.IDLE ) ; updateCallInMap ( call ) ; notifyGenericListeners ( ) ; }
Source:
public void releaseSecurityParameterIndex ( int resourceId ) throws android.os.RemoteException { releaseManagedResource ( mSpiRecords , resourceId , "SecurityParameterIndex" ) ; }

Target:
public void releaseSecurityParameterIndex ( int resourceId ) throws android.os.RemoteException { releaseKernelResource ( mSpiRecords , resourceId , "SecurityParameterIndex" ) ; }
Source:
public java.lang.String getMessage ( ) { return "Duplicate files at the same path inside the APK" ; }

Target:
public java.lang.String getMessage ( ) { return "Duplicate files at the same path inside the APK: " + ( mArchivePath ) ; }
Source:
public static < T > org.junit.internal.matchers.CombinableMatcher < T > both ( org.hamcrest.Matcher < T > matcher ) { return new org.junit.internal.matchers.CombinableMatcher < T > ( matcher ) ; }

Target:
public static < T > org.hamcrest.core.CombinableMatcher.CombinableBothMatcher < T > both ( org.hamcrest.Matcher < ? super T > matcher ) { return org.hamcrest.CoreMatchers.both ( matcher ) ; }
Source:
public void run ( ) { try { server.startHandshake ( ) ; } catch ( javax.net.ssl.SSLHandshakeException expected ) { } catch ( java.lang.RuntimeException e ) { throw e ; } catch ( java.lang.Exception e ) { throw new java.lang.RuntimeException ( e ) ; } }

Target:
public java.lang.Void call ( ) throws java.lang.Exception { try { server.startHandshake ( ) ; assertFalse ( StandardNames.IS_RI ) ; } catch ( javax.net.ssl.SSLHandshakeException expected ) { assertTrue ( StandardNames.IS_RI ) ; } return null ; }
Source:
public boolean setManufacturer ( java.lang.String value ) { return doBooleanCommand ( ( "SET manufacturer " + value ) ) ; }

Target:
public boolean setManufacturer ( java.lang.String value ) { if ( com.android.server.wifi.WifiNative.HIDL_SUP_ENABLE ) { return mSupplicantStaIfaceHal.setWpsManufacturer ( value ) ; } else { return doBooleanCommand ( ( "SET manufacturer " + value ) ) ; } }
Source:
private void httpClientTest ( ) { org.apache.http.client.HttpClient client = new org.apache.http.impl.client.DefaultHttpClient ( ) ; try { org.apache.http.client.methods.HttpGet request = new org.apache.http.client.methods.HttpGet ( "http://www.google.com" ) ; org.apache.http.HttpResponse response = client.execute ( request ) ; if ( ( response.getStatusLine ( ) . getStatusCode ( ) ) == 200 ) { mHttpClientTestResult = "Pass" ; } else { mHttpClientTestResult = "Fail: Code: " + ( java.lang.String.valueOf ( response ) ) ; } request.abort ( ) ; } catch ( java.io.IOException e ) { mHttpClientTestResult = "Fail: IOException" ; } }

Target:
private void httpClientTest ( ) { java.net.HttpURLConnection urlConnection = null ; try { java.net.URL url = new java.net.URL ( "http://www.google.com" ) ; urlConnection = ( ( java.net.HttpURLConnection ) ( url.openConnection ( ) ) ) ; if ( ( urlConnection.getResponseCode ( ) ) == 200 ) { mHttpClientTestResult = "Pass" ; } else { mHttpClientTestResult = "Fail: Code: " + ( urlConnection.getResponseMessage ( ) ) ; } } catch ( java.io.IOException e ) { mHttpClientTestResult = "Fail: IOException" ; } finally { if ( urlConnection != null ) { urlConnection.disconnect ( ) ; } } }
Source:
public void stopNetworkScan ( int subId , int scanId ) { enforceModifyPermissionOrCarrierPrivilege ( subId ) ; mNetworkScanRequestTracker.stopNetworkScan ( scanId ) ; }

Target:
public void stopNetworkScan ( int subId , int scanId ) { com.android.internal.telephony.TelephonyPermissions.enforceCallingOrSelfModifyPermissionOrCarrierPrivilege ( mApp , subId , "stopNetworkScan" ) ; mNetworkScanRequestTracker.stopNetworkScan ( scanId ) ; }