auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent arg0 ) { if ( ( mReceiver ) != null ) { mReceiver.clearMessages ( ) ; refreshLogCatTable ( ) ; updateAppliedFilters ( ) ; } }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent arg0 ) { if ( ( mReceiver ) != null ) { mReceiver.clearMessages ( ) ; refreshLogCatTable ( ) ; mRemovedEntriesCount = 0 ; updateAppliedFilters ( ) ; } }
Source:
public com.android.build.gradle.internal.variant.TestVariantData getTestVariantData ( @ com.android.annotations.NonNull com.android.builder.core.VariantConfiguration.Type type ) { return testVariants.get ( type ) ; }

Target:
public com.android.build.gradle.internal.variant.TestVariantData getTestVariantData ( @ com.android.annotations.NonNull com.android.builder.core.VariantType type ) { return testVariants.get ( type ) ; }
Source:
public int getRandomFoo ( ) { java.util.Random r = new java.util.Random ( java.lang.System.currentTimeMillis ( ) ) ; return r.nextInt ( com.basicJavaProject.Foo.FOO ) ; }

Target:
public int getRandomFoo ( ) { java.util.Random r = new java.util.Random ( java.lang.System.currentTimeMillis ( ) ) ; return r.nextInt ( com.android.tests.basicJavaProject.Foo.FOO ) ; }
Source:
void onContactsListScrolled ( int scrollState ) ;

Target:
void onContactsListScrolled ( boolean isDragging ) ;
Source:
public final void init ( java.security.Key key , java.security.spec.AlgorithmParameterSpec params , java.security.SecureRandom random ) throws java.security.InvalidAlgorithmParameterException , java.security.InvalidKeyException { spiImpl.engineInit ( key , params , random ) ; }

Target:
public final void init ( java.security.Key key , java.security.spec.AlgorithmParameterSpec params ) throws java.security.InvalidAlgorithmParameterException , java.security.InvalidKeyException { getSpi ( key ) . engineInit ( key , params , javax.crypto.KeyAgreement.RANDOM ) ; }
Source:
com.android.sched.vfs.BaseVFile createVFile ( @ javax.annotation.Nonnull com.android.sched.vfs.BaseVDir parent , @ javax.annotation.Nonnull java.lang.String name ) throws com.android.sched.util.file.CannotCreateFileException { return changeVFS ( vfs.createVFile ( parent , name ) ) ; }

Target:
java.io.InputStream openRead ( @ javax.annotation.Nonnull com.android.sched.vfs.DeflateFS.DeflateVFile file ) throws com.android.sched.util.file.WrongPermissionException { return new java.util.zip.InflaterInputStream ( vfs.openRead ( file.getWrappedFile ( ) ) , new java.util.zip.Inflater ( ) ) ; }
Source:
public void postResponseCallsDeliverResponse ( ) { mDelivery.postResponse ( mRequest , mSuccessResponse ) ; assertTrue ( mRequest.deliverResponse_called ) ; assertFalse ( mRequest.deliverError_called ) ; }

Target:
public void postResponseCallsDeliverResponse ( ) { mDelivery.postResponse ( mRequest , mSuccessResponse ) ; org.junit.Assert.assertTrue ( mRequest.deliverResponse_called ) ; org.junit.Assert.assertFalse ( mRequest.deliverError_called ) ; }
Source:
public void testReadWithNoStoreFile ( ) throws java.lang.Exception { assertFalse ( mWifiConfigStore.areStoresPresent ( ) ) ; com.android.server.wifi.WifiConfigStoreData readData = mWifiConfigStore.read ( ) ; com.android.server.wifi.WifiConfigStoreDataTest.assertConfigStoreDataEqual ( getEmptyStoreData ( ) , readData ) ; }

Target:
public void testReadShareStoreContainedUnknownData ( ) throws java.lang.Exception { java.lang.String storeFileData = "<?xml version=\'1.0\' encoding=\'utf-8\' standalone=\'yes\' ?>\n" + ( ( ( ( "<WifiConfigStoreData>\n" + "<int name=\"Version\" value=\"1\" />\n" ) + "<UnknownTag>\n" ) + "</UnknownTag>\n" ) + "</WifiConfigStoreData>\n" ) ; mSharedStore.storeRawDataToWrite ( storeFileData.getBytes ( java.nio.charset.StandardCharsets.UTF_8 ) ) ; mWifiConfigStore.read ( ) ; }
Source:
public void run ( ) { mActivity.addErrorToDropBox ( "watchdog" , null , null , null , name , null , stack , null ) ; }

Target:
public void run ( ) { mActivity.addErrorToDropBox ( "watchdog" , null , "system_server" , null , null , name , null , stack , null ) ; }
Source:
void setOnUnsolOemHookRaw ( android.os.Handler h , int what , java.lang.Object obj ) ;

Target:
void registerForModemReset ( android.os.Handler h , int what , java.lang.Object obj ) ;
Source:
public static java.lang.String encode ( java.lang.String s ) { return java.net.URLEncoder.ENCODER.encode ( s , Charsets.UTF_8 ) ; }

Target:
public static java.lang.String encode ( java.lang.String s ) { return java.net.URLEncoder.ENCODER.encode ( s , java.nio.charset.StandardCharsets.UTF_8 ) ; }
Source:
public static void assertSSLEngineValidProtocols ( java.lang.String [ ] protocols ) { libcore.java.security.StandardNames.assertValidProtocols ( libcore.java.security.StandardNames.SSL_SOCKET_PROTOCOLS_SSLENGINE , protocols ) ; }

Target:
public static void assertSSLEngineDefaultProtocols ( java.lang.String [ ] protocols ) { libcore.java.security.StandardNames.assertValidProtocols ( protocols ) ; libcore.java.security.StandardNames.assertSupportedProtocols ( libcore.java.security.StandardNames.SSL_SOCKET_PROTOCOLS_CLIENT_DEFAULT , protocols ) ; }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { onButtonDelete ( ) ; }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { sortPackages ( true ) ; expandInitial ( mCategories ) ; }
Source:
public long getTagBits ( ) { long tagBits = com.android.jack.ecj.loader.jast.AnnotationUtils.getTagBits ( jMethod ) ; return tagBits ; }

Target:
public long getTagBits ( ) { long tagBits = com.android.jack.ecj.loader.jast.AnnotationUtils.getTagBits ( jMethod ) ; if ( jMethod.hasPolymorphicSignature ( ) ) { tagBits |= org.eclipse.jdt.internal.compiler.lookup.TagBits.AnnotationPolymorphicSignature ; } return tagBits ; }
Source:
public void testE2 ( ) { try { dot.junit.opcodes.instance_of.d.T_instance_of_3 tt = new dot.junit.opcodes.instance_of.d.T_instance_of_3 ( ) ; tt.run ( ) ; fail ( "expected IllegalAccessError" ) ; } catch ( java.lang.IllegalAccessError e ) { } }

Target:
public void testE3 ( ) { loadAndRun ( "dot.junit.opcodes.instance_of.d.T_instance_of_7" , java.lang.NoClassDefFoundError.class ) ; }
Source:
public long getTotalSpace ( ) { try { libcore.io.StructStatFs sb = Libcore.os.statfs ( path ) ; return ( sb.f_blocks ) * ( sb.f_bsize ) ; } catch ( libcore.io.ErrnoException errnoException ) { return 0 ; } }

Target:
public long getTotalSpace ( ) { try { libcore.io.StructStatVfs sb = Libcore.os.statvfs ( path ) ; return ( sb.f_blocks ) * ( sb.f_bsize ) ; } catch ( libcore.io.ErrnoException errnoException ) { return 0 ; } }
Source:
public java.lang.String getAidForAppType ( int appType ) { return getAidForAppType ( android.telephony.TelephonyManager.getDefaultSubscription ( ) , appType ) ; }

Target:
public void setNetworkOperatorNumeric ( java.lang.String numeric ) { int phoneId = getPhoneId ( ) ; setNetworkOperatorNumericForPhone ( phoneId , numeric ) ; }
Source:
protected void setUp ( ) { java.io.InputStream propertiesStream = new java.io.ByteArrayInputStream ( "p1=one\np2=two" . getBytes ( ) ) ; try { tests.api.java.util.PropertyResourceBundleTest.prb = new java.util.PropertyResourceBundle ( propertiesStream ) ; } catch ( java.io.IOException e ) { fail ( "Contruction of PropertyResourceBundle threw IOException" ) ; } }

Target:
protected void setUp ( ) throws java.io.UnsupportedEncodingException { java.io.InputStream propertiesStream = new java.io.ByteArrayInputStream ( "p1=one\np2=two" . getBytes ( "ISO-8859-1" ) ) ; try { tests.api.java.util.PropertyResourceBundleTest.prb = new java.util.PropertyResourceBundle ( propertiesStream ) ; } catch ( java.io.IOException e ) { fail ( "Construction of PropertyResourceBundle threw IOException" ) ; } }
Source:
public void requestingPermission ( ) { requestingPermission = true ; }

Target:
public void requestingPermission ( ) { com.android.dialer.common.LogUtil.enterBlock ( "MainSearchController.requestingPermission" ) ; requestingPermission = true ; }
Source:
public java.lang.String telephonyGetNetworkType ( ) { com.googlecode.android_scripting.Log.d ( ( "sl4a:getNetworkType() is deprecated!" + ( "Please use getVoiceNetworkType()" + " or getDataNetworkTpe()" ) ) ) ; return telephonyGetNetworkTypeForSubscription ( android.telephony.SubscriptionManager.getDefaultSubscriptionId ( ) ) ; }

Target:
public java.lang.String telephonyGetNetworkType ( ) { com.googlecode.android_scripting.Log.d ( ( "sl4a:getNetworkType() is deprecated!" + ( "Please use getVoiceNetworkType()" + " or getDataNetworkTpe()" ) ) ) ; return telephonyGetNetworkTypeForSubscription ( android.telephony.SubscriptionManager.getDefaultSubId ( ) ) ; }
Source:
public java.lang.Object getViewObject ( ) { return null ; }

Target:
public java.lang.Object getLayoutParamsObject ( ) { return mLayoutParamsObject ; }
Source:
private void bindToScoringServiceIfNeeded ( ) { if ( com.android.server.NetworkScoreService.DBG ) android.util.Log.d ( com.android.server.NetworkScoreService.TAG , "bindToScoringServiceIfNeeded" ) ; android.net.NetworkScorerAppManager.NetworkScorerAppData scorerData = android.net.NetworkScorerAppManager.getActiveScorer ( mContext ) ; bindToScoringServiceIfNeeded ( scorerData ) ; }

Target:
private void bindToScoringServiceIfNeeded ( ) { if ( com.android.server.NetworkScoreService.DBG ) android.util.Log.d ( com.android.server.NetworkScoreService.TAG , "bindToScoringServiceIfNeeded" ) ; android.net.NetworkScorerAppManager.NetworkScorerAppData scorerData = mNetworkScorerAppManager.getActiveScorer ( ) ; bindToScoringServiceIfNeeded ( scorerData ) ; }
Source:
public int getMaxConnectedAudioDevices ( ) { com.android.bluetooth.btservice.AdapterService service = getService ( ) ; if ( service == null ) { return AdapterProperties.MIN_CONNECTED_AUDIO_DEVICES ; } return service.getMaxConnectedAudioDevices ( ) ; }

Target:
public int getMaxConnectedAudioDevices ( ) { com.android.bluetooth.btservice.AdapterService service = getService ( ) ; if ( service == null ) { return AdapterProperties.MAX_CONNECTED_AUDIO_DEVICES_LOWER_BOND ; } return service.getMaxConnectedAudioDevices ( ) ; }
Source:
public void linkNativeLibraryDirectory ( java.lang.String uuid , java.lang.String dataPath , java.lang.String nativeLibPath32 , int userId ) throws com.android.internal.os.InstallerConnection.InstallerException { mInstaller.execute ( "linklib" , uuid , dataPath , nativeLibPath32 , userId ) ; }

Target:
public void destroyAppProfiles ( java.lang.String packageName ) throws com.android.internal.os.InstallerConnection.InstallerException { checkLock ( ) ; try { mInstalld.destroyAppProfiles ( packageName ) ; } catch ( android.os.RemoteException | android.os.ServiceSpecificException e ) { throw new com.android.internal.os.InstallerConnection.InstallerException ( e.getMessage ( ) ) ; } }
Source:
public static android.telephony.MbmsDownloadManager create ( android.content.Context context , android.telephony.mbms.IMbmsDownloadManagerCallback listener , int subscriptionId ) throws android.telephony.mbms.MbmsException { android.telephony.MbmsDownloadManager mdm = new android.telephony.MbmsDownloadManager ( context , listener , subscriptionId ) ; mdm.bindAndInitialize ( ) ; return mdm ; }

Target:
public static android.telephony.MbmsDownloadManager create ( android.content.Context context , android.telephony.mbms.MbmsDownloadManagerCallback listener , int subscriptionId ) throws android.telephony.mbms.MbmsException { android.telephony.MbmsDownloadManager mdm = new android.telephony.MbmsDownloadManager ( context , listener , subscriptionId ) ; mdm.bindAndInitialize ( ) ; return mdm ; }
Source:
public native byte getByte ( java.lang.Object obj ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;

Target:
public native double getDouble ( java.lang.Object obj ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;
Source:
private void sendLinkConfigurationChangedBroadcast ( ) { android.content.Intent intent = new android.content.Intent ( WifiManager.LINK_CONFIGURATION_CHANGED_ACTION ) ; intent.addFlags ( Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT ) ; intent.putExtra ( WifiManager.EXTRA_LINK_PROPERTIES , new android.net.LinkProperties ( mLinkProperties ) ) ; mContext.sendBroadcastAsUser ( intent , UserHandle.ALL ) ; }

Target:
android.app.PendingIntent getPrivateBroadcast ( java.lang.String action , int requestCode ) { android.content.Intent intent = new android.content.Intent ( action , null ) ; intent.addFlags ( Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT ) ; intent.setPackage ( "android" ) ; return mFacade.getBroadcast ( mContext , requestCode , intent , 0 ) ; }
Source:
public static native long SSL_set_options ( int ssl , long options ) ;

Target:
public static native long SSL_clear_options ( long ssl , long options ) ;
Source:
public java.lang.String getShortDescription ( ) { return java.lang.String.format ( "%1$s, Android API %2$s, revision %3$s%4$s" , getDisplayName ( ) , mVersion.getApiString ( ) , getRevision ( ) , ( isObsolete ( ) ? " (Obsolete)" : "" ) ) ; }

Target:
public java.lang.String getShortDescription ( ) { return java.lang.String.format ( "%1$s, Android API %2$s, revision %3$s%4$s" , getDisplayName ( ) , mVersion.getApiString ( ) , getRevision ( ) . toShortString ( ) , ( isObsolete ( ) ? " (Obsolete)" : "" ) ) ; }
Source:
public static PhoneConstants.State convertCallState ( int state ) { switch ( state ) { case android.telephony.TelephonyManager.CALL_STATE_RINGING : return PhoneConstants.State.RINGING ; case android.telephony.TelephonyManager.CALL_STATE_OFFHOOK : return PhoneConstants.State.OFFHOOK ; default : return PhoneConstants.State.IDLE ; } }

Target:
public void notifyDataActivationStateChanged ( com.android.internal.telephony.Phone sender , int activationState ) { try { mRegistry.notifySimActivationStateChangedForPhoneId ( sender.getPhoneId ( ) , sender.getSubId ( ) , PhoneConstants.SIM_ACTIVATION_TYPE_DATA , activationState ) ; } catch ( android.os.RemoteException ex ) { } }
Source:
public static int getLevel ( int fullState ) { return fullState & ( com.android.systemui.statusbar.phone.SignalDrawable.LEVEL_MASK ) ; }

Target:
public static int getLevel ( int fullState ) { return fullState & ( com.android.settingslib.graph.SignalDrawable.LEVEL_MASK ) ; }
Source:
public java.util.Iterator < T > iterator ( ) { return numberToSkip >= ( list.size ( ) ) ? com.google.common.collect.Iterators.< T > emptyIterator ( ) : list.subList ( numberToSkip , list.size ( ) ) . iterator ( ) ; }

Target:
public java.util.Iterator < T > iterator ( ) { int toSkip = java.lang.Math.min ( list.size ( ) , numberToSkip ) ; return list.subList ( toSkip , list.size ( ) ) . iterator ( ) ; }
Source:
public static void dumpDisplayList ( @ com.android.annotations.NonNull com.android.ddmlib.Client client , @ com.android.annotations.NonNull java.lang.String viewRoot , @ com.android.annotations.NonNull java.lang.String view ) throws java.io.IOException { com.android.ddmlib.HandleViewDebug.sendViewOpPacket ( client , com.android.ddmlib.HandleViewDebug.VUOP_DUMP_DISPLAYLIST , viewRoot , view , null ) ; }

Target:
public static void dumpDisplayList ( @ com.android.annotations.NonNull com.android.ddmlib.Client client , @ com.android.annotations.NonNull java.lang.String viewRoot , @ com.android.annotations.NonNull java.lang.String view ) throws java.io.IOException { com.android.ddmlib.HandleViewDebug.sendViewOpPacket ( client , com.android.ddmlib.HandleViewDebug.VUOP_DUMP_DISPLAYLIST , viewRoot , view , null , com.android.ddmlib.HandleViewDebug.sViewOpNullChunkHandler ) ; }
Source:
synchronized void nAllocationData1D ( long id , int off , int mip , int count , short [ ] d , int sizeBytes ) { validate ( ) ; rsnAllocationData1D ( mContext , id , off , mip , count , d , sizeBytes ) ; }

Target:
synchronized void nAllocationRead ( long id , java.lang.Object d , android.support.v8.renderscript.Element.DataType dt , int mSize , boolean usePadding ) { validate ( ) ; rsnAllocationRead ( mContext , id , d , dt.mID , mSize , usePadding ) ; }
Source:
public org.junit.runners.model.Statement apply ( org.junit.runners.model.Statement base , org.hamcrest.Description description ) { return new org.junit.rules.ExpectedException.ExpectedExceptionStatement ( base ) ; }

Target:
public org.junit.runners.model.Statement apply ( org.junit.runners.model.Statement base , org.junit.rules.Description description ) { return new org.junit.rules.ExpectedException.ExpectedExceptionStatement ( base ) ; }
Source:
public void setCallWaiting ( boolean enable , android.os.Message onComplete ) { android.util.Log.e ( com.android.internal.telephony.sip.SipPhoneBase.LOG_TAG , "call waiting not supported" ) ; }

Target:
public void setCallWaiting ( boolean enable , android.os.Message onComplete ) { android.telephony.Rlog.e ( com.android.internal.telephony.sip.SipPhoneBase.LOG_TAG , "call waiting not supported" ) ; }
Source:
private boolean result ( java.lang.String testName , final com.android.rs.test.UT_reduce.timing t , final int [ ] javaRslt , final int [ ] rsRslt ) { return result ( testName , t , intArrayToLong ( javaRslt ) , intArrayToLong ( rsRslt ) ) ; }

Target:
private boolean result ( java.lang.String testName , final com.android.rs.test.UT_reduce.timing t , final int [ ] javaResult , final int [ ] rsResult ) { return result ( testName , t , intArrayToLong ( javaResult ) , intArrayToLong ( rsResult ) ) ; }
Source:
public boolean setOperatorBrandOverride ( int subId , java.lang.String brand ) { enforceCarrierPrivilege ( subId ) ; final com.android.internal.telephony.Phone phone = getPhone ( subId ) ; return phone == null ? false : phone.setOperatorBrandOverride ( brand ) ; }

Target:
public boolean setOperatorBrandOverride ( int subId , java.lang.String brand ) { com.android.internal.telephony.TelephonyPermissions.enforceCallingOrSelfCarrierPrivilege ( subId , "setOperatorBrandOverride" ) ; final com.android.internal.telephony.Phone phone = getPhone ( subId ) ; return phone == null ? false : phone.setOperatorBrandOverride ( brand ) ; }
Source:
public void setWarnIfHeld ( java.lang.Object warnIfHeld ) { mInstaller.setWarnIfHeld ( warnIfHeld ) ; }

Target:
public void setWarnIfHeld ( java.lang.Object warnIfHeld ) { mInstaller.setWarnIfHeld ( warnIfHeld ) ; mWarnIfHeld = warnIfHeld ; }
Source:
public boolean restorePicture ( android.os.Bundle b , java.io.File src ) { checkThread ( ) ; if ( DebugFlags.TRACE_API ) android.util.Log.d ( android.webkit.WebView.LOGTAG , ( "restorePicture=" + ( src.getName ( ) ) ) ) ; return mProvider.restorePicture ( b , src ) ; }

Target:
public boolean restorePicture ( android.os.Bundle b , java.io.File src ) { checkThread ( ) ; if ( android.webkit.WebView.TRACE ) android.util.Log.d ( android.webkit.WebView.LOGTAG , ( "restorePicture=" + ( src.getName ( ) ) ) ) ; return mProvider.restorePicture ( b , src ) ; }
Source:
public void invokeOemRilRequestRaw ( byte [ ] data , android.os.Message response ) { }

Target:
public void getIccSlotsStatus ( android.os.Message result ) { }
Source:
protected void engineInit ( byte [ ] params ) throws java.io.IOException { }

Target:
protected void engineInit ( byte [ ] params , java.lang.String format ) throws java.io.IOException { if ( ! ( isASN1FormatString ( format ) ) ) { throw new java.io.IOException ( "unknown format specified" ) ; } gcmParams = org.bouncycastle.asn1.cms.GCMParameters.getInstance ( params ) ; }
Source:
public java.util.Collection < com.android.ddmlib.IDevice > getLaunchingCloudDevices ( ) { synchronized ( ghostCloudDevices ) { java.util.HashSet < com.android.ddmlib.IDevice > launchingCloudDevices = com.google.api.client.util.Sets.newHashSet ( ) ; launchingCloudDevices.addAll ( ghostCloudDevices ) ; return launchingCloudDevices ; } }

Target:
public java.util.Collection < com.android.ddmlib.IDevice > getLaunchingCloudDevices ( ) { synchronized ( com.google.gct.testing.CloudConfigurationProviderImpl.ghostCloudDevices ) { java.util.HashSet < com.android.ddmlib.IDevice > launchingCloudDevices = com.google.api.client.util.Sets.newHashSet ( ) ; launchingCloudDevices.addAll ( com.google.gct.testing.CloudConfigurationProviderImpl.ghostCloudDevices ) ; return launchingCloudDevices ; } }
Source:
public void testDecodeEmpty ( ) throws java.lang.Exception { assertEquals ( "[]" , java.util.Arrays.toString ( libcore.io.Base64.decode ( new byte [ 0 ] ) ) ) ; }

Target:
public void testDecode_empty ( ) throws java.lang.Exception { byte [ ] decoded = libcore.io.Base64.decode ( new byte [ 0 ] ) ; assertEquals ( 0 , decoded.length ) ; }
Source:
public static java.net.InetAddress [ ] getAllByNameOnNet ( java.lang.String host , int netId ) throws java.net.UnknownHostException { return java.net.InetAddress.getAllByNameImpl ( host , netId ) . clone ( ) ; }

Target:
public static java.net.InetAddress [ ] getAllByNameOnNet ( java.lang.String host , int netId ) throws java.net.UnknownHostException { return java.net.InetAddress.impl.lookupAllHostAddr ( host , netId ) . clone ( ) ; }
Source:
public void copy1DRangeFrom ( int off , int count , long [ ] d ) { validateIsInt64 ( ) ; copy1DRangeFromUnchecked ( off , count , d ) ; }

Target:
public void copy1DRangeFrom ( int off , int count , float [ ] d ) { validateIsFloat32 ( ) ; copy1DRangeFromUnchecked ( off , count , d , Element.DataType.FLOAT_32 , d.length ) ; }
Source:
long size ( java.io.FileDescriptor fd ) throws java.io.IOException { return sun.nio.ch.FileDispatcherImpl.size0 ( fd ) ; }

Target:
long size ( java.io.FileDescriptor fd ) throws java.io.IOException { dalvik.system.BlockGuard.getThreadPolicy ( ) . onReadFromDisk ( ) ; return sun.nio.ch.FileDispatcherImpl.size0 ( fd ) ; }
Source:
public static native void SSL_enable_tls_channel_id ( int ssl ) throws javax.net.ssl.SSLException ;

Target:
public static native byte [ ] SSL_get_tls_channel_id ( long ssl ) throws javax.net.ssl.SSLException ;
Source:
private void forEachNonSubBlockDepthFirst ( int firstLabel , com.android.dx.cf.code.BasicBlock.Visitor v ) { forEachNonSubBlockDepthFirst0 ( labelToBlock ( firstLabel ) , v , new java.util.BitSet ( maxLabel ) ) ; }

Target:
private void forEachNonSubBlockDepthFirst ( int firstLabel , com.android.dx.rop.code.BasicBlock.Visitor v ) { forEachNonSubBlockDepthFirst0 ( labelToBlock ( firstLabel ) , v , new java.util.BitSet ( maxLabel ) ) ; }
Source:
int settingsSecureGetIntForUser ( java.lang.String key , int def , int userId ) ;

Target:
public int settingsSecureGetIntForUser ( java.lang.String key , int def , int userId ) { return Settings.Secure.getIntForUser ( mContext.getContentResolver ( ) , key , def , userId ) ; }
Source:
protected java.lang.Object make ( java.lang.Object o ) { com.google.doclava.PackageDoc p = ( ( com.google.doclava.PackageDoc ) ( o ) ) ; return new com.google.doclava.PackageInfo ( p , p.name ( ) , com.google.doclava.Converter.convertSourcePosition ( p.position ( ) ) ) ; }

Target:
protected java.lang.Object make ( java.lang.Object o ) { com.sun.javadoc.PackageDoc p = ( ( com.sun.javadoc.PackageDoc ) ( o ) ) ; return new com.google.doclava.PackageInfo ( p , p.name ( ) , com.google.doclava.Converter.convertSourcePosition ( p.position ( ) ) ) ; }
Source:
protected boolean cleanup ( ) { if ( com.android.bluetooth.hid.HidDeviceService.DBG ) { android.util.Log.d ( com.android.bluetooth.hid.HidDeviceService.TAG , "cleanup()" ) ; } if ( mNativeAvailable ) { cleanupNative ( ) ; mNativeAvailable = false ; } return true ; }

Target:
protected boolean cleanup ( ) { if ( com.android.bluetooth.hid.HidDeviceService.DBG ) { android.util.Log.d ( com.android.bluetooth.hid.HidDeviceService.TAG , "cleanup()" ) ; } if ( mNativeAvailable ) { mHidDeviceNativeInterface.cleanup ( ) ; mNativeAvailable = false ; } return true ; }
Source:
public void streamingServicesUpdated ( java.util.List < android.telephony.mbms.StreamingServiceInfo > services ) throws android.os.RemoteException { }

Target:
public void onStreamingServicesUpdated ( java.util.List < android.telephony.mbms.StreamingServiceInfo > services ) { }
Source:
public java.util.Map < java.lang.String , com.android.builder.model.ClassField > getResValues ( ) { return com.google.common.collect.Maps.newHashMap ( ) ; }

Target:
public java.util.Map < java.lang.String , java.lang.String > getTestInstrumentationRunnerArguments ( ) { return com.google.common.collect.Maps.newHashMap ( ) ; }
Source:
private void createIndices ( android.database.sqlite.SQLiteDatabase db ) { createThreadIdIndex ( db ) ; }

Target:
private void createIndices ( android.database.sqlite.SQLiteDatabase db ) { createThreadIdIndex ( db ) ; createThreadIdDateIndex ( db ) ; }
Source:
public void throwPending ( ) throws java.lang.Error , java.lang.Exception { }

Target:
public void throwPending ( ) throws com.android.sched.scheduler.ProcessException , java.lang.AssertionError { }
Source:
java.util.Set < java.lang.String > getSupportedRegions ( ) { return java.util.Collections.unmodifiableSet ( com.google.i18n.phonenumbers.MetadataManager.getShortNumberMetadataSupportedRegions ( ) ) ; }

Target:
java.util.Set < java.lang.String > getSupportedRegions ( ) { return com.google.i18n.phonenumbers.MetadataManager.getSupportedShortNumberRegions ( ) ; }
Source:
private javax.swing.JButton createToolbarButton ( com.android.monkeyrunner.PhysicalButton hardButton ) { javax.swing.JButton button = new javax.swing.JButton ( new com.android.monkeyrunner.controller.MonkeyControllerFrame.PressAction ( hardButton ) ) ; button.setText ( hardButton.getKeyName ( ) ) ; return button ; }

Target:
private javax.swing.JButton createToolbarButton ( com.android.chimpchat.core.PhysicalButton hardButton ) { javax.swing.JButton button = new javax.swing.JButton ( new com.android.monkeyrunner.controller.MonkeyControllerFrame.PressAction ( hardButton ) ) ; button.setText ( hardButton.getKeyName ( ) ) ; return button ; }
Source:
public boolean isVideoCall ( ) { return android.telecom.VideoProfile.isVideo ( com.android.ims.ImsCallProfile.getVideoStateFromCallType ( mCallType ) ) ; }

Target:
public boolean isVideoCall ( ) { return android.telecom.VideoProfile.isVideo ( android.telephony.ims.ImsCallProfile.getVideoStateFromCallType ( mCallType ) ) ; }
Source:
private java.io.File getUserPackagesStateFile ( int userId ) { return new java.io.File ( android.os.Environment.getUserSystemDirectory ( userId ) , "package-restrictions.xml" ) ; }

Target:
java.lang.String getDefaultBrowserPackageNameLPw ( int userId ) { return userId == ( android.os.UserHandle.USER_ALL ) ? null : mDefaultBrowserApp.get ( userId ) ; }
Source:
void resetResolvedPaddingInternal ( ) { mPrivateFlags2 &= ~ ( android.view.View.PFLAG2_PADDING_RESOLVED ) ; }

Target:
public void resetResolvedPadding ( ) { mPrivateFlags2 &= ~ ( android.view.View.PFLAG2_PADDING_RESOLVED ) ; }
Source:
public void test_F32_3_SCALE10_10_inSqure ( ) { testReszie ( inX , inX , Element.DataType.FLOAT_32 , 3 , 1.0F , 1.0F ) ; }

Target:
public void test_F32_3_SCALE10_10_inSqure ( ) { testResize ( inX , inX , Element.DataType.FLOAT_32 , 3 , 1.0F , 1.0F ) ; }
Source:
private static java.lang.String getCaptivePortalServerHttpsUrl ( android.content.Context context ) { return com.android.server.connectivity.NetworkMonitor.getSetting ( context , Settings.Global.CAPTIVE_PORTAL_HTTPS_URL , com.android.server.connectivity.NetworkMonitor.DEFAULT_HTTPS_URL ) ; }

Target:
private java.lang.String getCaptivePortalServerHttpsUrl ( ) { return mSettings.getSetting ( mContext , Settings.Global.CAPTIVE_PORTAL_HTTPS_URL , com.android.server.connectivity.NetworkMonitor.DEFAULT_HTTPS_URL ) ; }
Source:
public java.util.List < java.io.File > getClasspath ( ) { return getFilesFromPathString ( classpath ) ; }

Target:
public java.util.List < java.io.File > getInputSources ( ) { return ( inputSources ) == null ? java.util.Collections.< java.io.File > emptyList ( ) : inputSources ; }
Source:
public void onClick ( android.view.View v ) { setAlarm ( ) ; }

Target:
public void onClick ( android.view.View v ) { android.widget.ImageView view1 = ( ( android.widget.ImageView ) ( findViewById ( R.id.img1 ) ) ) ; setAlarm ( ) ; view1.setImageResource ( R.drawable.fs_good ) ; }
Source:
public void fatalError ( org.xml.sax.SAXParseException e ) { log.error ( Severity.ERROR , new com.android.manifmerger.IMergerLog.FileAndLine ( xmlFile.getName ( ) , 0 ) , "Fatal error when parsing: %1$s" , xmlFile.getName ( ) , e.toString ( ) ) ; }

Target:
public void fatalError ( org.xml.sax.SAXParseException e ) { log.error ( Severity.ERROR , new com.android.manifmerger.IMergerLog.FileAndLine ( xmlFile.getAbsolutePath ( ) , 0 ) , "Fatal error when parsing: %1$s" , xmlFile.getName ( ) , e.toString ( ) ) ; }
Source:
public void testInstall_withMissingBundleVersionFile ( ) throws java.lang.Exception { libcore.tzdata.update2.TimeZoneBundle bundle = libcore.tzdata.update2.TimeZoneBundleInstallerTest.createValidTimeZoneBundleBuilder ( libcore.tzdata.update2.TimeZoneBundleInstallerTest.NEW_RULES_VERSION , "001" ) . clearVersionForTests ( ) . buildUnvalidated ( ) ; assertFalse ( installer.install ( bundle.getBytes ( ) ) ) ; assertNoContentInstalled ( ) ; }

Target:
public void testInstall_withMissingBundleVersionFile ( ) throws java.lang.Exception { libcore.tzdata.update2.TimeZoneBundle bundle = libcore.tzdata.update2.TimeZoneBundleInstallerTest.createValidTimeZoneBundleBuilder ( libcore.tzdata.update2.TimeZoneBundleInstallerTest.NEW_RULES_VERSION , 1 ) . clearVersionForTests ( ) . buildUnvalidated ( ) ; assertEquals ( TimeZoneBundleInstaller.INSTALL_FAIL_BAD_BUNDLE_STRUCTURE , installer.installWithErrorCode ( bundle.getBytes ( ) ) ) ; assertNoContentInstalled ( ) ; }
Source:
public static long LongMultiplication ( ) { long a ; long b ; long c ; a = 7L ; b = 3L ; c = a * b ; return c ; }

Target:
public static long LongSubtraction ( ) { long a ; long b ; long c ; a = Main.$inline$long ( 6L ) ; b = Main.$inline$long ( 2L ) ; c = a - b ; return c ; }
Source:
public abstract int run ( @ javax.annotation.Nonnull java.lang.String [ ] options , @ javax.annotation.Nonnull java.lang.String [ ] className , @ javax.annotation.Nonnull java.io.File ... classpathFiles ) throws com.android.jack.test.runner.RuntimeRunnerException ;

Target:
public abstract int runJUnit ( @ javax.annotation.Nonnull java.lang.String [ ] options , @ javax.annotation.Nonnull java.lang.String jUnitRunnerName , @ javax.annotation.Nonnull java.lang.String [ ] jUnitTestClasses , @ javax.annotation.Nonnull java.io.File ... classpathFiles ) throws com.android.jack.test.runner.RuntimeRunnerException ;
Source:
protected byte [ ] engineDoFinal ( ) { final byte [ ] output = org.conscrypt.NativeCrypto.EVP_DigestSignFinal ( ctx.getContext ( ) ) ; reset ( ) ; return output ; }

Target:
protected byte [ ] engineDoFinal ( ) { final org.conscrypt.OpenSSLDigestContext ctxLocal = ctx ; final byte [ ] output = org.conscrypt.NativeCrypto.EVP_DigestSignFinal ( ctxLocal ) ; resetContext ( ) ; return output ; }
Source:
public int compareTo ( com.android.jack.dx.rop.type.Type other ) { return descriptor.compareTo ( other.descriptor ) ; }

Target:
public java.lang.String toString ( ) { return descriptor.getString ( ) ; }
Source:
public void printf ( java.lang.String msgFormat , java.lang.Object ... args ) { java.lang.System.out.printf ( msgFormat , args ) ; }

Target:
private void createLogger ( ) { mSdkLog = new com.android.utils.StdLogger ( StdLogger.Level.VERBOSE ) ; }
Source:
getTextSymbolDependencies ( com.android.build.gradle.tasks.config allLibraries ) { }

Target:
public java.util.List < com.android.build.gradle.internal.dependency.SymbolFileProviderImpl > call ( ) throws java.lang.Exception { return com.android.build.gradle.tasks.ProcessAndroidResources.ConfigAction.getTextSymbolDependencies ( config.getAllLibraries ( ) ) ; }
Source:
public void run ( ) { startInputInner ( null , 0 , 0 , 0 ) ; }

Target:
public void run ( ) { startInputInner ( startInputReason , null , 0 , 0 , 0 ) ; }
Source:
private boolean querySoundEffectsEnabled ( int user ) { return ( Settings.System.getIntForUser ( mApplicationContext.getContentResolver ( ) , Settings.System.SOUND_EFFECTS_ENABLED , 0 , user ) ) != 0 ; }

Target:
private boolean querySoundEffectsEnabled ( int user ) { return ( Settings.System.getIntForUser ( getContext ( ) . getContentResolver ( ) , Settings.System.SOUND_EFFECTS_ENABLED , 0 , user ) ) != 0 ; }
Source:
private native void dumpNative ( java.io.FileDescriptor fd ) ;

Target:
private native void dumpNative ( java.io.FileDescriptor fd , java.lang.String [ ] arguments ) ;
Source:
static void freeNativeStorage ( int nativeDataPtr ) { java.lang.System.out.println ( ( "freeNativeStorage: " + nativeDataPtr ) ) ; }

Target:
static void freeNativeStorage ( int nativeDataPtr , java.util.concurrent.CountDownLatch freeSignal ) { java.lang.System.out.println ( ( "freeNativeStorage: " + nativeDataPtr ) ) ; freeSignal.countDown ( ) ; }
Source:
public static float $noinline$floatSubAddSimplifyRight ( float x , float y ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } float sub = x - y ; return y + sub ; }

Target:
public static int $noinline$intSubAddSimplifyRight ( int x , int y ) { int sub = x - y ; return y + sub ; }
Source:
private static java.lang.String getComponentName ( ) { return "com.android.dialer.main.impl.MainActivity" ; }

Target:
private static java.lang.String getComponentName ( ) { return "com.android.dialer.app.DialtactsActivity" ; }
Source:
public void testLamba040_whole ( ) throws java.lang.Exception { java.io.File lib = makeLibrary ( new java.io.File [ ] { } , TEST001.directory ) ; test ( TEST001.jUnit , lib ) ; }

Target:
public void testLamba044_whole ( ) throws java.lang.Exception { java.io.File lib = makeLibrary ( new java.io.File [ ] { } , TEST001.directory ) ; test ( TEST001.jUnit , lib ) ; }
Source:
protected java.util.Properties createProps ( ) { java.util.Properties props = super . createProps ( ) ; props.setProperty ( PkgProps.VERSION_API_LEVEL , "5" ) ; props.setProperty ( PkgProps.PLATFORM_VERSION , "android-5" ) ; props.setProperty ( PkgProps.PLATFORM_INCLUDED_ABI , "armeabi" ) ; return props ; }

Target:
protected java.util.Properties createExpectedProps ( ) { java.util.Properties props = super . createExpectedProps ( ) ; props.setProperty ( PkgProps.VERSION_API_LEVEL , "5" ) ; props.setProperty ( PkgProps.PLATFORM_VERSION , "android-5" ) ; props.setProperty ( PkgProps.PLATFORM_INCLUDED_ABI , "armeabi" ) ; return props ; }
Source:
public static int $noinline$floatToDoubleToInt ( float value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( int ) ( ( double ) ( value ) ) ) ; }

Target:
public static short $noinline$shortToCharToShort ( short value ) { return ( ( short ) ( ( char ) ( value ) ) ) ; }
Source:
public static com.android.server.pm.OtaDexoptService main ( android.content.Context context , com.android.server.pm.PackageManagerService packageManagerService ) { com.android.server.pm.OtaDexoptService ota = new com.android.server.pm.OtaDexoptService ( context , packageManagerService ) ; android.os.ServiceManager.addService ( "otadexopt" , ota ) ; return ota ; }

Target:
public static com.android.server.pm.OtaDexoptService main ( android.content.Context context , com.android.server.pm.PackageManagerService packageManagerService ) { com.android.server.pm.OtaDexoptService ota = new com.android.server.pm.OtaDexoptService ( context , packageManagerService ) ; android.os.ServiceManager.addService ( "otadexopt" , ota ) ; ota.moveAbArtifacts ( packageManagerService.mInstaller ) ; return ota ; }
Source:
public void onReceive ( android.content.Context context , android.content.Intent intent ) { ( com.android.server.wifi.WifiStateMachine.sScanAlarmIntentCount ) ++ ; startScan ( com.android.server.wifi.WifiStateMachine.SCAN_ALARM_SOURCE , ( - 2 ) , null , null ) ; if ( com.android.server.wifi.WifiStateMachine.VDBG ) loge ( "WiFiStateMachine SCAN ALARM" ) ; }

Target:
public void onReceive ( android.content.Context context , android.content.Intent intent ) { sendMessage ( com.android.server.wifi.WifiStateMachine.CMD_BOOT_COMPLETED ) ; }
Source:
public void removeImsFeature ( int slotId , int feature , com.android.ims.internal.IImsFeatureStatusCallback c ) throws android.os.RemoteException { this . removeImsFeature ( slotId , feature ) ; }

Target:
public void notifyImsFeatureReady ( int slotId , int featureType ) throws android.os.RemoteException { }
Source:
public com.android.ide.eclipse.adt.internal.resources.AttributeInfo [ ] getAttributes ( ) { return mAttributes ; }

Target:
public com.android.ide.common.resources.platform.AttributeInfo [ ] getAttributes ( ) { return mAttributes ; }
Source:
public boolean isCallerApplicationRestrictionsManagingPackage ( ) { throwIfParentInstance ( "isCallerApplicationRestrictionsManagingPackage" ) ; if ( ( mService ) != null ) { try { return mService.isCallerApplicationRestrictionsManagingPackage ( ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } } return false ; }

Target:
public boolean isDeviceManaged ( ) { try { return mService.hasDeviceOwner ( ) ; } catch ( android.os.RemoteException re ) { throw re.rethrowFromSystemServer ( ) ; } }
Source:
protected void removeRange ( int from , int to ) { super . removeRange ( from , to ) ; }

Target:
public void removeRange ( int start , int end ) { super . removeRange ( start , end ) ; }
Source:
public abstract android.support.v4.app.Fragment findFragmentById ( int id ) ;

Target:
public android.view.View findViewById ( int id ) ;
Source:
public org.w3c.dom.Node toXml ( org.w3c.dom.Document document ) { org.w3c.dom.Element location = document.createElement ( "source" ) ; location.setAttribute ( "scheme" , "file://" ) ; location.setAttribute ( "value" , mFile.getAbsolutePath ( ) ) ; return location ; }

Target:
public org.w3c.dom.Node toXml ( org.w3c.dom.Document document ) { org.w3c.dom.Element location = document.createElement ( "source" ) ; location.setAttribute ( "name" , mName ) ; location.setAttribute ( "scheme" , "file://" ) ; location.setAttribute ( "value" , mFile.getAbsolutePath ( ) ) ; return location ; }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { on_ButtonDelete_widgetSelected ( e ) ; }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { userNewOrEdit ( false ) ; }
Source:
public static < R extends java.lang.Readable & java.io.Closeable > java.lang.String toString ( com.google.common.io.InputSupplier < R > supplier ) throws java.io.IOException { return com.google.common.io.CharStreams.toStringBuilder ( supplier ) . toString ( ) ; }

Target:
public java.io.Writer append ( char c ) { return this ; }
Source:
public void run ( ) { canRestart [ 0 ] = org.eclipse.jface.dialogs.MessageDialog.openQuestion ( mWindowShell , "ADB Restart" , ( "A package that depends on ADB has been updated. It is recommended " + ( "to restart ADB. Is it OK to do it now? If not, you can restart it " + "manually later." ) ) ) ; }

Target:
public void run ( ) { canRestart [ 0 ] = org.eclipse.jface.dialogs.MessageDialog.openQuestion ( getWindowShell ( ) , "ADB Restart" , ( "A package that depends on ADB has been updated. It is recommended " + ( "to restart ADB. Is it OK to do it now? If not, you can restart it " + "manually later." ) ) ) ; }
Source:
public void handleMessage ( android.os.Message msg ) { switch ( msg.what ) { case com.android.internal.telephony.cat.CommandParamsFactory.MSG_ID_LOAD_ICON_DONE : sendCmdParams ( setIcons ( msg.obj ) ) ; break ; } }

Target:
public void handleMessage ( android.os.Message msg ) { switch ( msg.what ) { case com.android.internal.telephony.cat.CommandParamsFactory.MSG_ID_LOAD_ICON_DONE : if ( ( mIconLoader ) != null ) { sendCmdParams ( setIcons ( msg.obj ) ) ; } break ; } }
Source:
public void testMakeTimeZone_found ( ) throws java.lang.Exception { libcore.util.ZoneInfoDB.TzData data = ZoneInfoDB.TzData.loadTzData ( libcore.util.ZoneInfoDBTest.TZDATA_IN_ROOT ) ; assertNotNull ( data.makeTimeZone ( "Europe/London" ) ) ; assertTrue ( data.hasTimeZone ( "Europe/London" ) ) ; }

Target:
public void testMakeTimeZone_found ( ) throws java.lang.Exception { libcore.util.ZoneInfoDB.TzData data = ZoneInfoDB.TzData.loadTzData ( libcore.util.ZoneInfoDBTest.SYSTEM_TZDATA_FILE ) ; assertNotNull ( data.makeTimeZone ( "Europe/London" ) ) ; assertTrue ( data.hasTimeZone ( "Europe/London" ) ) ; }
Source:
public com.android.internal.telephony.uicc.UiccCard getUiccCardForPhone ( int phoneId ) { synchronized ( com.android.internal.telephony.uicc.UiccController.mLock ) { int slotId = getSlotIdFromPhoneId ( phoneId ) ; return getUiccCardForSlot ( slotId ) ; } }

Target:
private int getSlotIdFromPhoneId ( int phoneId ) { return mPhoneIdToSlotId [ phoneId ] ; }
Source:
public void testMountSdNormalInternal ( ) { assertTrue ( mountFromRawResource ( ) ) ; }

Target:
public void testMountSdNormalInternal ( ) { if ( android.os.Environment.isExternalStorageEmulated ( ) ) { return ; } assertTrue ( mountFromRawResource ( ) ) ; }
Source:
public static int IntSubtraction ( ) { int a ; int b ; int c ; a = 6 ; b = 2 ; c = a - b ; return c ; }

Target:
public static int IntSubtraction ( ) { int a ; int b ; int c ; a = Main.$inline$int ( 6 ) ; b = Main.$inline$int ( 2 ) ; c = a - b ; return c ; }
Source:
private static java.lang.String [ ] getFolderSegments ( java.lang.String config ) { return ( ( config.length ( ) ) > 0 ? "foo-" + config : "foo" ) . split ( "-" ) ; }

Target:
private static java.lang.String [ ] getFolderSegments ( java.lang.String config ) { return ( ! ( config.isEmpty ( ) ) ? "foo-" + config : "foo" ) . split ( "-" ) ; }
Source:
public boolean equals ( @ javax.annotation.Nullable java.lang.Object object ) { return ( ( this ) == object ) || ( this . s.equals ( object ) ) ; }

Target:
public java.util.Iterator < E > descendingIterator ( ) { return com.google.common.collect.Iterators.filter ( unfiltered ( ) . descendingIterator ( ) , predicate ) ; }
Source:
public void testAospPropertyContexts ( ) throws java.lang.Exception { devicePcFile = java.io.File.createTempFile ( "property_contexts" , ".tmp" ) ; devicePcFile.deleteOnExit ( ) ; mDevice.pullFile ( "/property_contexts" , devicePcFile ) ; aospPcFile = copyResourceToTempFile ( "/general_property_contexts" ) ; assertFileStartsWith ( aospPcFile , devicePcFile ) ; }

Target:
public void testAospPropertyContexts ( ) throws java.lang.Exception { devicePcFile = java.io.File.createTempFile ( "property_contexts" , ".tmp" ) ; devicePcFile.deleteOnExit ( ) ; mDevice.pullFile ( "/plat_property_contexts" , devicePcFile ) ; aospPcFile = copyResourceToTempFile ( "/plat_property_contexts" ) ; assertFileEquals ( aospPcFile , devicePcFile ) ; }
Source:
public void sendOemRilRequestStringsResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , java.util.ArrayList < java.lang.String > var2 ) { }

Target:
public void setClirResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo ) { responseVoid ( responseInfo ) ; }
Source:
public void java7Exception003 ( ) throws java.lang.Exception { compileJava7Test ( "test003" ) ; }

Target:
public void java7Exception003 ( ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( TEST003 ) . setSourceLevel ( SourceLevel.JAVA_7 ) . compileAndRunTest ( ) ; }
Source:
protected void doBuildPatchFile ( java.io.File toFile , com.intellij.updater.MultiZipFile.OutputStream patchOutput ) throws java.io.IOException { }

Target:
protected void doBuildPatchFile ( java.io.File olderFile , java.io.File newerFile , java.util.zip.ZipOutputStream patchOutput ) throws java.io.IOException { }
Source:
public void clear ( ) { set.clear ( ) ; }

Target:
public java.util.Set < K > createKeySet ( ) { return com.google.common.collect.Maps.removeOnlySet ( backingSet ( ) ) ; }
Source:
static void add ( java.lang.String locale , java.lang.String ... data ) { android.icu.text.ListFormatter.localeToData.put ( new android.icu.util.ULocale ( locale ) , new android.icu.text.ListFormatter ( data [ 0 ] , data [ 1 ] , data [ 2 ] , data [ 3 ] ) ) ; }

Target:
private static java.lang.String compilePattern ( java.lang.String pattern , java.lang.StringBuilder sb ) { return android.icu.impl.SimplePatternFormatter.compileToStringMinMaxPlaceholders ( pattern , sb , 2 , 2 ) ; }
Source:
public void setFeatureValue ( int feature , int network , int value , com.android.ims.ImsConfigListener listener ) throws android.os.RemoteException { }

Target:
public void getFeatureValue ( int feature , int network , com.android.ims.ImsConfigListener listener ) throws android.os.RemoteException { getImsConfigImpl ( ) . getFeatureValue ( feature , network , listener ) ; }
Source:
public java.util.logging.Handler [ ] getHandlers ( ) { initializeGlobalHandlers ( ) ; return super . getHandlers ( ) ; }

Target:
java.util.logging.Handler [ ] accessCheckedHandlers ( ) { initializeGlobalHandlers ( ) ; return super . accessCheckedHandlers ( ) ; }
Source:
public static javax.net.ssl.SSLSession unwrapSSLSession ( javax.net.ssl.SSLSession sslSession ) { if ( ( Build.VERSION.SDK_INT ) <= 23 ) { return sslSession ; } if ( sslSession instanceof org.conscrypt.OpenSSLExtendedSessionImpl ) { return ( ( org.conscrypt.OpenSSLExtendedSessionImpl ) ( sslSession ) ) . getDelegate ( ) ; } return sslSession ; }

Target:
public static javax.net.ssl.SSLSession unwrapSSLSession ( javax.net.ssl.SSLSession sslSession ) { if ( ( Build.VERSION.SDK_INT ) <= 23 ) { return sslSession ; } if ( sslSession instanceof org.conscrypt.DelegatingExtendedSSLSession ) { return ( ( org.conscrypt.DelegatingExtendedSSLSession ) ( sslSession ) ) . getDelegate ( ) ; } return sslSession ; }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setEndTime ( long value ) { bitField0_ |= 256 ; endTime_ = value ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setStartTime ( long value ) { bitField0_ |= 256 ; startTime_ = value ; onChanged ( ) ; return this ; }
Source:
private void displayAvdList ( ) { try { com.android.sdklib.internal.avd.AvdManager avdManager = com.android.sdklib.internal.avd.AvdManager.getInstance ( mSdkManager , mSdkLog ) ; displayAvdList ( avdManager ) ; } catch ( com.android.prefs.AndroidLocation.AndroidLocationException e ) { errorAndExit ( e.getMessage ( ) ) ; } }

Target:
private void displayAvdList ( ) { try { com.android.sdklib.internal.avd.AvdManager avdManager = getAvdManager ( ) ; displayAvdList ( avdManager ) ; } catch ( com.android.prefs.AndroidLocation.AndroidLocationException e ) { errorAndExit ( e.getMessage ( ) ) ; } }
Source:
public void onWiFiToLteHandover ( com.android.incallui.call.DialerCall call ) { if ( ( mInCallActivity ) != null ) { mInCallActivity.onWiFiToLteHandover ( call ) ; } }

Target:
public void onWiFiToLteHandover ( com.android.incallui.call.DialerCall call ) { if ( ( mInCallActivity ) != null ) { mInCallActivity.showToastForWiFiToLteHandover ( call ) ; } }
Source:
public static void computeRemainder ( android.renderscript.cts.TestRemainder.ArgumentsFloatFloatFloat args ) { args.ulf = 64 ; args.ulfRelaxed = 128 ; args.out = android.renderscript.cts.CoreMathVerifier.remainderAndQuotient ( args.inX , args.inY ) . remainder ; }

Target:
public static void computeRemainder ( android.renderscript.cts.TestRemainder.ArgumentsFloatFloatFloat args ) { android.renderscript.cts.CoreMathVerifier.RemquoResult result = android.renderscript.cts.CoreMathVerifier.remquo ( args.inX , args.inY ) ; args.out = new android.renderscript.cts.Floaty ( result.remainder , 0 , 0 ) ; }
Source:
public void getPreferredVoicePrivacy ( android.os.Message result ) { android.util.Log.w ( com.android.internal.telephony.test.SimulatedCommands.LOG_TAG , "CDMA not implemented in SimulatedCommands" ) ; unimplemented ( result ) ; }

Target:
public void getPreferredVoicePrivacy ( android.os.Message result ) { android.telephony.Rlog.w ( com.android.internal.telephony.test.SimulatedCommands.LOG_TAG , "CDMA not implemented in SimulatedCommands" ) ; unimplemented ( result ) ; }
Source:
public static native int EVP_CIPHER_iv_length ( int evpCipher ) ;

Target:
public static native java.lang.String [ ] get_X509_ext_oids ( long x509ctx , int critical ) ;