auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public static java.lang.String getOsRelativeAdb ( ) { return ( com.android.sdklib.SdkConstants.OS_SDK_TOOLS_FOLDER ) + ( com.android.sdklib.SdkConstants.FN_ADB ) ; }

Target:
public static java.lang.String getOsRelativeAdb ( ) { return ( com.android.sdklib.SdkConstants.OS_SDK_PLATFORM_TOOLS_FOLDER ) + ( com.android.sdklib.SdkConstants.FN_ADB ) ; }
Source:
public void setProcessorOptions ( @ javax.annotation.Nonnull java.util.Map < java.lang.String , java.lang.String > processorOptions ) { for ( java.util.Map.Entry < java.lang.String , java.lang.String > entry : processorOptions.entrySet ( ) ) { options.addAnnotationProcessorOption ( entry.getKey ( ) , entry.getValue ( ) ) ; } }

Target:
public void setProcessorOptions ( @ javax.annotation.Nonnull java.util.Map < java.lang.String , java.lang.String > processorOptions ) { options.addProperty ( Options.ANNOTATION_PROCESSOR_OPTIONS.getName ( ) , Options.ANNOTATION_PROCESSOR_OPTIONS.getCodec ( ) . formatValue ( processorOptions ) ) ; }
Source:
void tearDown ( ) { mNm.cancelAll ( ) ; com.android.cts.verifier.notifications.MockListener.MockListener.resetListenerData ( mContext ) ; delay ( ) ; }

Target:
void tearDown ( ) { mNm.cancelAll ( ) ; com.android.cts.verifier.notifications.MockListener.MockListener.getInstance ( ) . resetData ( ) ; deleteChannel ( ) ; }
Source:
public java.util.Set < java.lang.String > computeList ( @ com.android.annotations.NonNull java.util.Set < java.lang.String > fullList ) { java.util.Set < java.lang.String > list = super . computeList ( fullList ) ; if ( isEnable ( ) ) { list.add ( null ) ; } return list ; }

Target:
public java.util.Set < java.lang.String > getApplicableFilters ( @ com.android.annotations.NonNull java.util.Set < java.lang.String > allFilters ) { java.util.Set < java.lang.String > list = super . getApplicableFilters ( allFilters ) ; if ( isEnable ( ) ) { list.add ( null ) ; } return list ; }
Source:
public void testStringOverlay ( ) throws java.lang.Throwable { final int resId = com.android.internal.R.string.phoneTypeCar ; setLocale ( "sv_SE" ) ; assertResource ( resId , "Bil" , "Bil" ) ; }

Target:
public void testAppString ( ) throws java.lang.Throwable { final int resId = R.string.str ; assertResource ( resId , "none" , "single" , "multiple" ) ; }
Source:
static java.lang.String getSummary ( android.content.Context context ) { android.content.res.Resources res = context.getResources ( ) ; java.lang.String summary = ( com.android.settings.SimLockSettings.isSimLockEnabled ( ) ) ? res.getString ( R.string.sim_lock_on ) : res.getString ( R.string.sim_lock_off ) ; return summary ; }

Target:
static java.lang.String getSummary ( android.content.Context context ) { android.content.res.Resources res = context.getResources ( ) ; java.lang.String summary = ( com.android.settings.IccLockSettings.isIccLockEnabled ( ) ) ? res.getString ( R.string.sim_lock_on ) : res.getString ( R.string.sim_lock_off ) ; return summary ; }
Source:
public com.android.builder.DefaultProductFlavor getMergedFlavor ( ) { return variantData.getVariantConfiguration ( ) . getMergedFlavor ( ) ; }

Target:
protected com.android.build.gradle.internal.variant.ApkVariantData getApkVariantData ( ) { return variantData ; }
Source:
private static com.intellij.openapi.vfs.VirtualFile [ ] getRuntimeClasspath ( com.intellij.openapi.module.Module m ) { return com.intellij.roots.ModuleRootManager.getInstance ( m ) . orderEntries ( ) . productionOnly ( ) . runtimeOnly ( ) . recursively ( ) . getClassesRoots ( ) ; }

Target:
private static com.intellij.openapi.vfs.VirtualFile [ ] getCompilationClasspath ( com.intellij.openapi.module.Module m ) { return com.intellij.openapi.roots.ModuleRootManager.getInstance ( m ) . orderEntries ( ) . recursively ( ) . exportedOnly ( ) . getClassesRoots ( ) ; }
Source:
public V setValue ( V value ) { if ( value == null ) throw new java.lang.NullPointerException ( ) ; V v = super . setValue ( value ) ; this . put ( getKey ( ) , value ) ; return v ; }

Target:
public final V setValue ( V value ) { throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
protected void waitUntilReady ( ) { while ( true ) { synchronized ( mLock ) { if ( mReady ) { break ; } } } }

Target:
protected void waitUntilReady ( ) { synchronized ( mLock ) { try { mLock.wait ( com.android.internal.telephony.TelephonyTest.MAX_INIT_WAIT_MS ) ; } catch ( java.lang.InterruptedException ie ) { } if ( ! ( mReady ) ) { org.junit.Assert.fail ( "Telephony tests failed to initialize" ) ; } } }
Source:
public static void computeTan ( android.renderscript.cts.TestTan.ArgumentsFloatFloat args ) { args.ulf = 5 ; args.ulfRelaxed = 128 ; args.out = ( ( float ) ( java.lang.StrictMath.tan ( args.in ) ) ) ; }

Target:
public static void computeTan ( android.renderscript.cts.TestTan.ArgumentsFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( android.renderscript.cts.CoreMathVerifier.tan ( args.in ) , 5 , 128 ) ; }
Source:
static void writeInt ( java.io.ByteArrayOutputStream os , int value ) { byte [ ] bytes = java.nio.ByteBuffer.allocate ( 4 ) . putInt ( value ) . array ( ) ; libcore.util.ZoneInfoTestHelper.writeByteArray ( os , bytes ) ; }

Target:
static void writeInt ( java.io.ByteArrayOutputStream os , int value ) { byte [ ] bytes = java.nio.ByteBuffer.allocate ( 4 ) . putInt ( value ) . array ( ) ; libcore.tzdata.testing.ZoneInfoTestHelper.writeByteArray ( os , bytes ) ; }
Source:
private native void gattClientWriteDescriptorNative ( int conn_id , int handle , int auth_req , byte [ ] value ) ;

Target:
private native void gattClientWriteDescriptorNative ( int connId , int handle , int authReq , byte [ ] value ) ;
Source:
public void testGetUsesLibraries ( ) { assertEquals ( 1 , mManifestTestApp.getUsesLibraries ( ) . length ) ; assertEquals ( com.android.ide.eclipse.adt.internal.project.AndroidManifestParserTest.LIBRARY_NAME , mManifestTestApp.getUsesLibraries ( ) [ 0 ] ) ; }

Target:
public void testGetLauncherActivity ( ) { com.android.sdklib.xml.ManifestData.Activity activity = mManifestTestApp.getLauncherActivity ( ) ; assertEquals ( com.android.ide.eclipse.adt.internal.project.AndroidManifestParserTest.ACTIVITY_NAME , activity.getName ( ) ) ; assertTrue ( activity.hasAction ( ) ) ; assertTrue ( activity.isHomeActivity ( ) ) ; }
Source:
public java.lang.String getWpsNfcConfigurationToken ( int netId ) { enforceConnectivityInternalPermission ( ) ; return mWifiStateMachine.syncGetWpsNfcConfigurationToken ( netId ) ; }

Target:
public java.lang.String getWpsNfcConfigurationToken ( int netId ) { enforceConnectivityInternalPermission ( ) ; mLog.trace ( "getWpsNfcConfigurationToken uid=%" ) . c ( android.os.Binder.getCallingUid ( ) ) . flush ( ) ; return mWifiStateMachine.syncGetWpsNfcConfigurationToken ( netId ) ; }
Source:
public static native long EVP_MD_CTX_copy ( long ctx ) ;

Target:
public static native int EVP_MD_CTX_copy ( org.conscrypt.OpenSSLDigestContext dst_ctx , org.conscrypt.OpenSSLDigestContext src_ctx ) ;
Source:
public void startDtmf ( char c ) throws android.os.RemoteException { }

Target:
public void sendDtmf ( char c , android.os.Message result ) { this . sendDtmf ( c , result ) ; }
Source:
public com.google.common.base.CharMatcher and ( com.google.common.base.CharMatcher other ) { return new com.google.common.base.CharMatcher.And ( this , other ) ; }

Target:
public com.google.common.base.CharMatcher or ( com.google.common.base.CharMatcher other ) { return other.matches ( match ) ? com.google.common.base.CharMatcher.ANY : this ; }
Source:
public void test_SingletonMap_computeIfPresent ( ) { try { java.util.Collections.singletonMap ( 1 , 11.0 ) . computeIfPresent ( 1 , ( k , v ) -> 5.0 ) ; fail ( ) ; } catch ( java.lang.UnsupportedOperationException expected ) { } }

Target:
public void test_SingletonMap_merge ( ) { try { java.util.Collections.singletonMap ( 1 , 11.0 ) . merge ( 1 , 5.0 , ( k , v ) -> 5.0 ) ; fail ( ) ; } catch ( java.lang.UnsupportedOperationException expected ) { } }
Source:
public void snap ( ) { long currentMilliseconds = ( java.lang.System.nanoTime ( ) ) / 1000000 ; int frame = ( ( int ) ( currentMilliseconds / 100 ) ) % ( GoogleCloudToolsIcons.StepIcons.length ) ; myProgressIcon.setIcon ( icons.GoogleCloudToolsIcons.StepIcons [ frame ] ) ; }

Target:
public void snap ( ) { long currentMilliseconds = ( java.lang.System.nanoTime ( ) ) / 1000000 ; int frame = ( ( int ) ( currentMilliseconds / 100 ) ) % ( GoogleCloudToolsIcons.STEP_ICONS.length ) ; myProgressIcon.setIcon ( icons.GoogleCloudToolsIcons.STEP_ICONS [ frame ] ) ; }
Source:
com.android.sched.vfs.BaseVDir createVDir ( @ 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.createVDir ( parent , name ) ) ; }

Target:
com.android.sched.vfs.DeflateFS.DeflateVDir createVDir ( @ javax.annotation.Nonnull com.android.sched.vfs.DeflateFS.DeflateVDir parent , @ javax.annotation.Nonnull java.lang.String name ) throws com.android.sched.util.file.CannotCreateFileException { return new com.android.sched.vfs.DeflateFS.DeflateVDir ( this , vfs.createVDir ( parent.getWrappedDir ( ) , name ) ) ; }
Source:
public void testT127 ( ) { getCurrentCodeStyleSettings ( ) . ALIGN_MULTILINE_PARAMETERS = true ; getCurrentCodeStyleSettings ( ) . ALIGN_MULTILINE_PARAMETERS_IN_CALLS = true ; doTestMethodType ( "test234" , myFactory.createTypeFromText ( "int" , null ) , myFactory.createTypeFromText ( "long" , null ) ) ; }

Target:
public void testT127 ( ) { com.intellij.psi.codeStyle.CommonCodeStyleSettings javaSettings = getCurrentCodeStyleSettings ( ) . getCommonSettings ( JavaLanguage.INSTANCE ) ; javaSettings.ALIGN_MULTILINE_PARAMETERS = true ; javaSettings.ALIGN_MULTILINE_PARAMETERS_IN_CALLS = true ; doTestMethodType ( "test234" , myFactory.createTypeFromText ( "int" , null ) , myFactory.createTypeFromText ( "long" , null ) ) ; }
Source:
public static < T > org.hamcrest.org.hamcrest.Matcher < T > any ( java.lang.Class < T > type ) { return org.hamcrest.core.IsAnything.any ( type ) ; }

Target:
public static < T > org.hamcrest.org.hamcrest.Matcher < T > theInstance ( T target ) { return org.hamcrest.core.IsSame.theInstance ( target ) ; }
Source:
private native void gattTestNative ( int command , long uuid1_lsb , long uuid1_msb , java.lang.String bda1 , int p1 , int p2 , int p3 , int p4 , int p5 ) ;

Target:
private native void gattTestNative ( int command , long uuid1Lsb , long uuid1Msb , java.lang.String bda1 , int p1 , int p2 , int p3 , int p4 , int p5 ) ;
Source:
public void onSetCamera ( java.lang.String cameraId ) { try { mVideoCallProvider.setCamera ( cameraId ) ; } catch ( android.os.RemoteException e ) { } }

Target:
public void onSetCamera ( java.lang.String cameraId ) { try { mVideoCallProvider.setCamera ( cameraId , android.os.Binder.getCallingUid ( ) ) ; } catch ( android.os.RemoteException e ) { } }
Source:
void editXml ( java.lang.String undoName , final groovy.lang.Closure closure ) ;

Target:
void editXml ( java.lang.String undoName , final com.android.ide.eclipse.adt.editors.layout.gscripts.INodeHandler callback ) ;
Source:
public void visitMethodTypeConstant ( proguard.classfile.util.Clazz clazz , proguard.classfile.util.MethodTypeConstant methodTypeConstant ) { methodTypeConstant.javaLangInvokeMethodTypeClass = findClass ( clazz.getName ( ) , ClassConstants.INTERNAL_NAME_JAVA_LANG_INVOKE_METHOD_TYPE ) ; }

Target:
public void visitMethodTypeConstant ( proguard.classfile.util.Clazz clazz , proguard.classfile.util.MethodTypeConstant methodTypeConstant ) { methodTypeConstant.javaLangInvokeMethodTypeClass = findClass ( clazz.getName ( ) , ClassConstants.NAME_JAVA_LANG_INVOKE_METHOD_TYPE ) ; methodTypeConstant.referencedClasses = findReferencedClasses ( clazz.getName ( ) , methodTypeConstant.getType ( clazz ) ) ; }
Source:
private static void log ( java.lang.String msg ) { android.util.Log.d ( android.telephony.PhoneNumberUtils.LOG_TAG , msg ) ; }

Target:
private static void log ( java.lang.String msg ) { android.telephony.Rlog.d ( android.telephony.PhoneNumberUtils.LOG_TAG , msg ) ; }
Source:
private int readStringIndex ( com.android.dx.util.ByteInput bs ) throws java.io.IOException { int offsetIndex = com.android.dx.util.Leb128Utils.readUnsignedLeb128 ( bs ) ; return offsetIndex - 1 ; }

Target:
private int readStringIndex ( com.android.dex.util.ByteInput bs ) throws java.io.IOException { int offsetIndex = com.android.dex.Leb128.readUnsignedLeb128 ( bs ) ; return offsetIndex - 1 ; }
Source:
public int getConnectionState ( android.bluetooth.BluetoothDevice device ) { com.android.bluetooth.hid.HidService service = getService ( ) ; if ( service == null ) { return android.bluetooth.BluetoothInputDevice.STATE_DISCONNECTED ; } return service.getConnectionState ( device ) ; }

Target:
public int getConnectionState ( android.bluetooth.BluetoothDevice device ) { com.android.bluetooth.hid.HidService service = getService ( ) ; if ( service == null ) { return android.bluetooth.BluetoothHidHost.STATE_DISCONNECTED ; } return service.getConnectionState ( device ) ; }
Source:
public void recreateMe ( android.content.res.Configuration config ) { mConfiguration = config ; recreateScreens ( ) ; }

Target:
public void recreateMe ( android.content.res.Configuration config ) { mConfiguration = config ; removeCallbacks ( mRecreateRunnable ) ; post ( mRecreateRunnable ) ; }
Source:
public void onCompletion ( android.media.MediaPlayer mp ) { isPlayingBack = false ; captureButton.setEnabled ( true ) ; mStatusLabel.setText ( getResources ( ) . getString ( R.string.status_ready ) ) ; }

Target:
public void onCompletion ( android.media.MediaPlayer mp ) { isPlayingBack = false ; mPlaybackView.stopPlayback ( ) ; captureButton.setEnabled ( true ) ; mStatusLabel.setText ( getResources ( ) . getString ( R.string.status_ready ) ) ; }
Source:
public static native int EVP_SignFinal ( org.conscrypt.NativeRef.EVP_MD_CTX ctx , byte [ ] signature , int offset , org.conscrypt.NativeRef.EVP_PKEY key ) ;

Target:
public static native boolean EVP_DigestVerifyFinal ( org.conscrypt.NativeRef.EVP_MD_CTX ctx , byte [ ] signature , int offset , int length ) ;
Source:
public java.lang.String getAttributeName ( int index ) throws com.android.apksigner.AndroidBinXmlParser.XmlParserException { return getAttribute ( index ) . getName ( ) ; }

Target:
public int getAttributeNameResourceId ( int index ) throws com.android.apksigner.AndroidBinXmlParser.XmlParserException { return getAttribute ( index ) . getNameResourceId ( ) ; }
Source:
public java.util.Set < java.lang.String > getSourceFileExtensions ( ) { return com.android.ant.RenderScriptTask.EXTENSIONS ; }

Target:
public void setLibsFolder ( org.apache.tools.ant.types.Path value ) { mLibsFolder = com.android.ant.TaskHelper.checkSinglePath ( "libsFolder" , value ) ; }
Source:
private int getDefaultCdmaSubscriptionSource ( ) { int subscriptionSource = Settings.Global.getInt ( mContext.getContentResolver ( ) , Settings.Global.CDMA_SUBSCRIPTION_MODE , com.android.internal.telephony.cdma.CdmaSubscriptionSourceManager.PREFERRED_CDMA_SUBSCRIPTION ) ; return subscriptionSource ; }

Target:
public static int getDefault ( android.content.Context context ) { int subscriptionSource = Settings.Global.getInt ( context.getContentResolver ( ) , Settings.Global.CDMA_SUBSCRIPTION_MODE , com.android.internal.telephony.cdma.CdmaSubscriptionSourceManager.PREFERRED_CDMA_SUBSCRIPTION ) ; return subscriptionSource ; }
Source:
protected void renderTabs ( org.gradle.api.internal.html.SimpleHtmlWriter htmlWriter ) throws java.io.IOException { tabsRenderer.render ( com.android.build.gradle.internal.test.report.PageRenderer.getModel ( ) , htmlWriter ) ; }

Target:
protected void renderTabs ( com.android.build.gradle.internal.test.report.SimpleHtmlWriter htmlWriter ) throws java.io.IOException { tabsRenderer.render ( com.android.build.gradle.internal.test.report.PageRenderer.getModel ( ) , htmlWriter ) ; }
Source:
public static int intToDoubleToInt ( int value ) { return ( ( int ) ( ( double ) ( value ) ) ) ; }

Target:
public static byte $noinline$shortToCharToByte ( short value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( byte ) ( ( char ) ( value ) ) ) ; }
Source:
public void init ( boolean forEncryption , org.bouncycastle.crypto.CipherParameters params ) { cipher.init ( forEncryption , params ) ; }

Target:
public org.bouncycastle.crypto.BlockCipher getUnderlyingCipher ( ) { return cipher ; }
Source:
public static void unsetConfig ( ) { com.android.sched.util.config.ThreadConfig.threadLocalConfig.set ( com.android.sched.util.config.ThreadConfig.unitializedConfig ) ; }

Target:
public static void unsetConfig ( ) { com.android.sched.util.config.ThreadConfig.threadLocalConfig.remove ( ) ; }
Source:
public void copy1DRangeFrom ( int off , int count , byte [ ] d ) { validateIsInt8 ( ) ; copy1DRangeFromUnchecked ( off , count , d ) ; }

Target:
public void copy1DRangeFromUnchecked ( int off , int count , short [ ] d ) { copy1DRangeFromUnchecked ( off , count , ( ( java.lang.Object ) ( d ) ) , Element.DataType.SIGNED_16 , d.length ) ; }
Source:
private void onBatteryLevel ( int level ) { com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent event = new com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.EVENT_TYPE_BATTERY_LEVEL ) ; event.valueInt = level ; android.util.Log.d ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.TAG , ( "incoming" + event ) ) ; sendMessage ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.STACK_EVENT , event ) ; }

Target:
private void onBatteryLevel ( int level ) { com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent event = new com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.EVENT_TYPE_BATTERY_LEVEL ) ; event.valueInt = level ; if ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.DBG ) { android.util.Log.d ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.TAG , ( "incoming" + event ) ) ; } sendMessage ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.STACK_EVENT , event ) ; }
Source:
public java.lang.Object getEditableValue ( ) { com.android.ide.eclipse.adt.internal.editors.layout.uimodel.UiViewElementNode uiView = getUiViewKey ( ) ; if ( uiView != null ) { return ( ( org.eclipse.ui.views.properties.IPropertySource ) ( uiView ) ) . getEditableValue ( ) ; } return null ; }

Target:
public java.lang.Object getEditableValue ( ) { com.android.ide.eclipse.adt.internal.editors.layout.uimodel.UiViewElementNode uiView = getUiViewNode ( ) ; if ( uiView != null ) { return ( ( org.eclipse.ui.views.properties.IPropertySource ) ( uiView ) ) . getEditableValue ( ) ; } return null ; }
Source:
public void stop ( ) { com.android.server.telecom.Log.d ( this , "Posting stop." ) ; postMessage ( com.android.server.telecom.AsyncRingtonePlayer.EVENT_STOP , false , null ) ; }

Target:
public void stop ( ) { android.telecom.Log.d ( this , "Posting stop." ) ; postMessage ( com.android.server.telecom.AsyncRingtonePlayer.EVENT_STOP , false , null ) ; }
Source:
public void onPause ( ) { super . onPause ( ) ; if ( com.android.settings.inputmethod.InputMethodAndLanguageSettings.SHOW_INPUT_METHOD_SWITCHER_SETTINGS ) { mShowInputMethodSelectorPref.setOnPreferenceChangeListener ( null ) ; } com.android.settings.inputmethod.InputMethodAndSubtypeUtil.saveInputMethodSubtypeList ( this , getContentResolver ( ) , mImis , mHaveHardKeyboard ) ; }

Target:
public void onPause ( ) { super . onPause ( ) ; mSettingsObserver.pause ( ) ; if ( com.android.settings.inputmethod.InputMethodAndLanguageSettings.SHOW_INPUT_METHOD_SWITCHER_SETTINGS ) { mShowInputMethodSelectorPref.setOnPreferenceChangeListener ( null ) ; } com.android.settings.inputmethod.InputMethodAndSubtypeUtil.saveInputMethodSubtypeList ( this , getContentResolver ( ) , mImis , mHaveHardKeyboard ) ; }
Source:
android.util.Pair < java.lang.String , android.media.MediaFormat > readTrackInfoFile ( boolean isAudio ) throws java.io.IOException ;

Target:
java.util.List < com.android.tv.tuner.exoplayer.buffer.BufferManager.TrackFormat > readTrackInfoFiles ( boolean isAudio ) ;
Source:
private boolean isVoicemailTranscriptionEnabled ( ) { return com.android.dialer.configprovider.ConfigProviderBindings.get ( context ) . getBoolean ( "voicemail_transcription_enabled" , false ) ; }

Target:
private boolean isVoicemailTranscriptionEnabled ( ) { return ( ( Build.VERSION.SDK_INT ) >= ( Build.VERSION_CODES.O ) ) && ( com.android.dialer.configprovider.ConfigProviderBindings.get ( context ) . getBoolean ( "voicemail_transcription_enabled" , false ) ) ; }
Source:
private void notifyConnected ( ) { if ( com.android.cts.verifier.bluetooth.BleServerService.DEBUG ) android.util.Log.d ( com.android.cts.verifier.bluetooth.BleServerService.TAG , "notifyConnected" ) ; android.content.Intent intent = new android.content.Intent ( com.android.cts.verifier.bluetooth.BleServerService.BLE_SERVER_CONNECTED ) ; sendBroadcast ( intent ) ; }

Target:
private void notifyConnected ( ) { if ( com.android.cts.verifier.bluetooth.BleServerService.DEBUG ) { android.util.Log.d ( com.android.cts.verifier.bluetooth.BleServerService.TAG , "notifyConnected" ) ; } android.content.Intent intent = new android.content.Intent ( com.android.cts.verifier.bluetooth.BleServerService.BLE_SERVER_CONNECTED ) ; sendBroadcast ( intent ) ; resetValues ( ) ; }
Source:
public boolean contains ( java.lang.Object o ) { return this . containsValue ( o ) ; }

Target:
public void clear ( ) { map.clear ( ) ; }
Source:
public static com.google.common.io.ByteArrayDataInput newDataInput ( byte [ ] bytes , int start ) { com.google.common.base.Preconditions.checkPositionIndex ( start , bytes.length ) ; return new com.google.common.io.ByteStreams.ByteArrayDataInputStream ( bytes , start ) ; }

Target:
public static java.io.InputStream limit ( java.io.InputStream in , long limit ) { return new com.google.common.io.ByteStreams.LimitedInputStream ( in , limit ) ; }
Source:
public java.io.File defaultDeviceDir ( ) { return new java.io.File ( "/sdcard/vogar" ) ; }

Target:
public java.io.File defaultDeviceDir ( ) { return new java.io.File ( "/data/local/tmp/vogar" ) ; }
Source:
public boolean containsKey ( @ javax.annotation.Nullable java.lang.Object key ) { return set.contains ( key ) ; }

Target:
public void clear ( ) { backingSet ( ) . clear ( ) ; }
Source:
public boolean onClick ( ) { android.widget.Toast.makeText ( context , java.lang.String.format ( java.util.Locale.ENGLISH , ( ( "TODO: " + ( isBlocked ? "Unblock " : "Block " ) ) + " number %s." ) , normalizedNumber ) , Toast.LENGTH_SHORT ) . show ( ) ; return true ; }

Target:
public boolean onClick ( ) { android.widget.Toast.makeText ( context , java.lang.String.format ( java.util.Locale.ENGLISH , ( ( "TODO: " + ( isBlocked ? "Unblock " : "Block " ) ) + " number %s." ) , blockReportSpamDialogInfo.getNormalizedNumber ( ) ) , Toast.LENGTH_SHORT ) . show ( ) ; return true ; }
Source:
protected boolean supportsPrinting ( ) { return getActivity ( ) . getPackageManager ( ) . hasSystemFeature ( PackageManager.FEATURE_PRINTING ) ; }

Target:
protected boolean supportsPrinting ( ) { return getInstrumentation ( ) . getContext ( ) . getPackageManager ( ) . hasSystemFeature ( PackageManager.FEATURE_PRINTING ) ; }
Source:
public boolean isValid ( ) { return true ; }

Target:
public final java.util.List < com.android.jack.ir.ast.cfg.JBasicBlock > getPredecessorsSnapshot ( ) { return com.google.common.collect.Lists.newArrayList ( predecessors ) ; }
Source:
private static void setEffectiveUser ( int uid ) { int errno = com.android.internal.os.ZygoteInit.setreuid ( com.android.internal.os.ZygoteInit.ROOT_UID , uid ) ; if ( errno != 0 ) { android.util.Log.e ( com.android.internal.os.ZygoteInit.TAG , ( "setreuid() failed. errno: " + errno ) ) ; } }

Target:
private static void preloadSharedLibraries ( ) { android.util.Log.i ( com.android.internal.os.ZygoteInit.TAG , "Preloading shared libraries..." ) ; java.lang.System.loadLibrary ( "android" ) ; java.lang.System.loadLibrary ( "compiler_rt" ) ; java.lang.System.loadLibrary ( "jnigraphics" ) ; }
Source:
boolean isNumberNegative ( double number ) { if ( java.lang.Double.isNaN ( number ) ) { return false ; } return isNegative ( multiply ( number ) ) ; }

Target:
public java.lang.StringBuffer format ( double number , java.lang.StringBuffer result , java.text.FieldPosition fieldPosition ) { android.icu.impl.number.FormatQuantity4 fq = new android.icu.impl.number.FormatQuantity4 ( number ) ; formatter.format ( fq , result , fieldPosition ) ; fq.populateUFieldPosition ( fieldPosition ) ; return result ; }
Source:
public android.net.IpSecTransform.Builder setUnderlyingNetwork ( android.net.Network net ) { mConfig.setNetwork ( net ) ; return this ; }

Target:
public android.net.IpSecTransform.Builder setAuthentication ( @ android.annotation.NonNull android.net.IpSecAlgorithm algo ) { com.android.internal.util.Preconditions.checkNotNull ( algo ) ; mConfig.setAuthentication ( algo ) ; return this ; }
Source:
public android.security.KeyGeneratorSpec build ( ) { return new android.security.KeyGeneratorSpec ( mContext , mKeystoreAlias , mFlags , mKeySize , mKeyValidityStart , mKeyValidityForOriginationEnd , mKeyValidityForConsumptionEnd , mPurposes , mPaddings , mBlockModes , mUserAuthenticators , mUserAuthenticationValidityDurationSeconds ) ; }

Target:
public android.security.KeyGeneratorSpec build ( ) { return new android.security.KeyGeneratorSpec ( mContext , mKeystoreAlias , mFlags , mKeySize , mKeyValidityStart , mKeyValidityForOriginationEnd , mKeyValidityForConsumptionEnd , mPurposes , mPaddings , mBlockModes , mRandomizedEncryptionRequired , mUserAuthenticators , mUserAuthenticationValidityDurationSeconds ) ; }
Source:
private java.lang.String getChargingFunctions ( ) { java.lang.String func = android.os.SystemProperties.get ( com.android.server.usb.UsbDeviceManager.getPersistProp ( true ) , UsbManager.USB_FUNCTION_NONE ) ; if ( android.hardware.usb.UsbManager.containsFunction ( func , UsbManager.USB_FUNCTION_ADB ) ) { return android.hardware.usb.UsbManager.USB_FUNCTION_ADB ; } else { return android.hardware.usb.UsbManager.USB_FUNCTION_MTP ; } }

Target:
protected abstract void setEnabledFunctions ( java.lang.String functions , boolean forceRestart , boolean usbDataUnlocked ) ;
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 removeImsFeature ( int slotId , int featureType , com.android.ims.internal.IImsFeatureStatusCallback c ) throws android.os.RemoteException { this . removeImsFeature ( slotId , featureType ) ; }
Source:
public void accept ( P_OUT u ) { action.accept ( u ) ; downstream.accept ( u ) ; }

Target:
public void begin ( long size ) { downstream.begin ( ( - 1 ) ) ; }
Source:
public void setCallConnectionService ( java.lang.String connectionServiceName ) { com.android.server.telecom.Log.d ( com.android.server.telecom.Analytics.TAG , ( ( ( "setting connection service for call " + ( callId ) ) + ": " ) + connectionServiceName ) ) ; this . connectionService = connectionServiceName ; }

Target:
public void setCallConnectionService ( java.lang.String connectionServiceName ) { android.telecom.Log.d ( com.android.server.telecom.Analytics.TAG , ( ( ( "setting connection service for call " + ( callId ) ) + ": " ) + connectionServiceName ) ) ; this . connectionService = connectionServiceName ; }
Source:
public static int IntAddition1 ( ) { int a ; int b ; int c ; a = 1 ; b = 2 ; c = a + b ; return c ; }

Target:
public static double DoubleAddition ( ) { double a ; double b ; double c ; a = Main.$inline$double ( 1.0 ) ; b = Main.$inline$double ( 2.0 ) ; c = a + b ; return c ; }
Source:
public void onDetach ( ) { com.android.tv.dvr.ConflictChecker checker = ( ( com.android.tv.MainActivity ) ( getContext ( ) ) ) . getDvrConflictChecker ( ) ; if ( checker != null ) { checker.removeOnUpcomingConflictChangeListener ( this ) ; } super . onDetach ( ) ; }

Target:
public void onDetach ( ) { com.android.tv.dvr.recorder.ConflictChecker checker = ( ( com.android.tv.MainActivity ) ( getContext ( ) ) ) . getDvrConflictChecker ( ) ; if ( checker != null ) { checker.removeOnUpcomingConflictChangeListener ( this ) ; } super . onDetach ( ) ; }
Source:
int getBatteryUsageHint ( android.bluetooth.BluetoothDevice device ) { return 0 ; }

Target:
int getAudioState ( android.bluetooth.BluetoothDevice device ) { enforceCallingOrSelfPermission ( com.android.bluetooth.hfp.BLUETOOTH_PERM , "Need BLUETOOTH permission" ) ; synchronized ( mStateMachines ) { final com.android.bluetooth.hfp.HeadsetStateMachine stateMachine = mStateMachines.get ( device ) ; if ( stateMachine == null ) { return android.bluetooth.BluetoothHeadset.STATE_AUDIO_DISCONNECTED ; } return stateMachine.getAudioState ( ) ; } }
Source:
public static java.lang.String getSuggestedEscape ( @ com.android.annotations.NonNull java.lang.String message ) { return com.android.tools.lint.detector.api.LintUtils.findSubstring ( message , "; use " , null ) ; }

Target:
public static java.lang.String getSuggestedEscape ( @ com.android.annotations.NonNull java.lang.String message , @ com.android.annotations.NonNull com.android.tools.lint.detector.api.TextFormat format ) { return com.android.tools.lint.detector.api.LintUtils.findSubstring ( format.toText ( message ) , "; use " , null ) ; }
Source:
private void refresh ( ) { com.android.traceur.Receiver.updateTracing ( getContext ( ) , false ) ; }

Target:
public int compare ( android.content.pm.ApplicationInfo one , android.content.pm.ApplicationInfo two ) { return one.packageName.compareToIgnoreCase ( two.packageName ) ; }
Source:
public boolean isVideoTelephonyAvailable ( ) { return mPhone.isVideoEnabled ( ) ; }

Target:
public int getImsRegTechnologyForMmTel ( int subId ) { com.android.internal.telephony.Phone phone = getPhone ( subId ) ; if ( phone != null ) { return phone.getImsRegistrationTech ( ) ; } else { return android.telephony.ims.stub.ImsRegistrationImplBase.REGISTRATION_TECH_NONE ; } }
Source:
private static native java.lang.String formatDateInterval ( long address , long fromDate , long toDate ) ;

Target:
private static java.util.Calendar icuCalendar ( java.util.Calendar cal ) { java.util.TimeZone timeZone = libcore.icu.DateIntervalFormat.icuTimeZone ( cal.getTimeZone ( ) ) ; java.util.Calendar result = java.util.com.ibm.icu.util.Calendar.getInstance ( timeZone ) ; result.setTime ( cal.getTime ( ) ) ; return result ; }
Source:
public int waitForError ( ) throws java.lang.InterruptedException { lock.lock ( ) ; condition.await ( ) ; lock.unlock ( ) ; return what ; }

Target:
public int waitForError ( ) throws java.lang.InterruptedException { lock.lock ( ) ; if ( ( condition.awaitNanos ( TIMEOUT_NS ) ) <= 0 ) { android.util.Log.d ( android.security.cts.StagefrightTest.TAG , "timed out on waiting for error" ) ; } lock.unlock ( ) ; return what ; }
Source:
public void visitProgramClass ( proguard.optimize.info.ProgramClass programClass ) { programClass.constantPoolEntriesAccept ( this ) ; programClass.methodAccept ( ClassConstants.INTERNAL_METHOD_NAME_CLINIT , ClassConstants.INTERNAL_METHOD_TYPE_CLINIT , this ) ; programClass.methodAccept ( ClassConstants.INTERNAL_METHOD_NAME_INIT , ClassConstants.INTERNAL_METHOD_TYPE_INIT , this ) ; programClass.methodsAccept ( filteredMethodMarker ) ; }

Target:
public void visitProgramClass ( proguard.optimize.info.ProgramClass programClass ) { programClass.constantPoolEntriesAccept ( this ) ; programClass.methodAccept ( ClassConstants.METHOD_NAME_CLINIT , ClassConstants.METHOD_TYPE_CLINIT , this ) ; programClass.methodAccept ( ClassConstants.METHOD_NAME_INIT , ClassConstants.METHOD_TYPE_INIT , this ) ; programClass.methodsAccept ( filteredMethodMarker ) ; }
Source:
public boolean cancelWps ( ) { return doBooleanCommand ( "WPS_CANCEL" ) ; }

Target:
public boolean cancelWps ( ) { if ( com.android.server.wifi.WifiNative.HIDL_SUP_ENABLE ) { return mSupplicantStaIfaceHal.cancelWps ( ) ; } else { return doBooleanCommand ( "WPS_CANCEL" ) ; } }
Source:
public static native long SSL_do_handshake_bio ( long sslNativePointer , long sourceBioRef , long sinkBioRef , org.conscrypt.NativeCrypto.SSLHandshakeCallbacks shc , boolean client_mode , byte [ ] alpnProtocols ) throws java.net.SocketTimeoutException , java.security.cert.CertificateException , javax.net.ssl.SSLException ;

Target:
public static native void SSL_configure_alpn ( long sslNativePointer , boolean clientMode , byte [ ] alpnProtocols ) throws java.io.IOException ;
Source:
com.android.manifmerger.MergingReport.Builder addWarning ( java.lang.String warning ) { mHasWarnings = true ; mRecordBuilder.add ( new com.android.manifmerger.MergingReport.Record ( com.android.manifmerger.MergingReport.Record.Type.WARNING , warning ) ) ; return this ; }

Target:
com.android.manifmerger.MergingReport.Builder addWarning ( java.lang.String warning ) { mHasWarnings = true ; mRecordBuilder.add ( new com.android.manifmerger.MergingReport.Record ( com.android.manifmerger.MergingReport.Record.Severity.WARNING , warning ) ) ; return this ; }
Source:
public com.android.ims.internal.IImsCallSession createCallSession ( android.telephony.ims.ImsCallProfile profile ) throws android.os.RemoteException { synchronized ( mLock ) { android.telephony.ims.stub.ImsCallSessionImplBase s = this . createCallSession ( profile ) ; return s != null ? s.getServiceImpl ( ) : null ; } }

Target:
public com.android.ims.internal.IImsCallSession createCallSessionInterface ( android.telephony.ims.ImsCallProfile profile ) throws android.os.RemoteException { android.telephony.ims.stub.ImsCallSessionImplBase s = this . createCallSession ( profile ) ; return s != null ? s.getServiceImpl ( ) : null ; }
Source:
public boolean getIccRecordsLoaded ( ) { com.android.internal.telephony.IccRecords r = mIccRecords.get ( ) ; return r != null ? r.getRecordsLoaded ( ) : false ; }

Target:
public boolean getIccRecordsLoaded ( ) { com.android.internal.telephony.uicc.IccRecords r = mIccRecords.get ( ) ; return r != null ? r.getRecordsLoaded ( ) : false ; }
Source:
public com.android.ims.internal.IImsEcbm getEcbmInterface ( int sessionId ) throws android.os.RemoteException { synchronized ( mLock ) { checkBinderConnection ( ) ; return getServiceInterface ( mBinder ) . getEcbmInterface ( mSlotId , mSupportedFeature , sessionId ) ; } }

Target:
public void setUiTTYMode ( int uiTtyMode , android.os.Message onComplete ) throws android.os.RemoteException { synchronized ( mLock ) { checkBinderConnection ( ) ; getServiceInterface ( mBinder ) . setUiTTYMode ( mSlotId , mSupportedFeature , uiTtyMode , onComplete ) ; } }
Source:
public java.security.PermissionCollection newPermissionCollection ( ) { return null ; }

Target:
public java.security.PermissionCollection newPermissionCollection ( ) { return new java.security.Permissions ( ) ; }
Source:
public void disableVisualVoicemailSmsFilter ( java.lang.String callingPackage , int subId ) { mAppOps.checkPackage ( android.os.Binder.getCallingUid ( ) , callingPackage ) ; com.android.phone.VisualVoicemailSmsFilterConfig.disableVisualVoicemailSmsFilter ( mPhone.getContext ( ) , callingPackage , subId ) ; }

Target:
public android.telephony.VisualVoicemailSmsFilterSettings getVisualVoicemailSmsFilterSettings ( java.lang.String callingPackage , int subId ) { mAppOps.checkPackage ( android.os.Binder.getCallingUid ( ) , callingPackage ) ; return com.android.phone.vvm.VisualVoicemailSmsFilterConfig.getVisualVoicemailSmsFilterSettings ( mPhone.getContext ( ) , callingPackage , subId ) ; }
Source:
public static boolean isLowRamDeviceStatic ( ) { return "true" . equals ( android.os.SystemProperties.get ( "ro.config.low_ram" , "false" ) ) ; }

Target:
public static boolean isLowRamDeviceStatic ( ) { return com.android.internal.os.RoSystemProperties.CONFIG_LOW_RAM ; }
Source:
public android.net.IpSecTransform buildTunnelModeTransform ( java.net.InetAddress localAddress , java.net.InetAddress remoteAddress ) { mConfig.localAddress = localAddress ; mConfig.remoteAddress = remoteAddress ; mConfig.mode = android.net.IpSecTransform.MODE_TUNNEL ; return new android.net.IpSecTransform ( mContext , mConfig ) ; }

Target:
public android.net.IpSecTransform.Builder setSpi ( @ android.net.IpSecTransform.TransformDirection int direction , android.net.IpSecManager.SecurityParameterIndex spi ) { mConfig.setSpiResourceId ( direction , spi.getResourceId ( ) ) ; return this ; }
Source:
public void callSessionInviteParticipantsRequestFailed ( com.android.ims.ImsReasonInfo reasonInfo ) throws android.os.RemoteException { mListener.callSessionInviteParticipantsRequestFailed ( reasonInfo ) ; }

Target:
public void callSessionInviteParticipantsRequestFailed ( android.telephony.ims.ImsReasonInfo reasonInfo ) { try { mListener.callSessionInviteParticipantsRequestFailed ( reasonInfo ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e ) ; } }
Source:
void fill ( android.content.Context appContext , com.android.dialer.calllog.datasources.CallLogMutations mutations ) ;

Target:
com.google.common.util.concurrent.ListenableFuture < java.lang.Void > fill ( android.content.Context appContext , com.android.dialer.calllog.datasources.CallLogMutations mutations ) ;
Source:
public short get ( int index ) { return byteBuffer.getShort ( ( index * ( libcore.io.SizeOf.SHORT ) ) ) ; }

Target:
public short get ( int index ) { checkIndex ( index ) ; return byteBuffer.getShort ( ( index * ( libcore.io.SizeOf.SHORT ) ) ) ; }
Source:
com.android.compatibility.common.tradefed.build.VtsCompatibilityInvocationHelper createVtsHelper ( ) { return new com.android.compatibility.common.tradefed.build.VtsCompatibilityInvocationHelper ( ) ; }

Target:
com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper createBuildHelper ( com.android.tradefed.build.IBuildInfo buildInfo ) { return new com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper ( buildInfo ) ; }
Source:
public void onCreate ( com.android.ide.common.api.INode node , com.android.ide.common.api.INode parent , com.android.ide.common.api.InsertType insertType ) { super . onCreate ( node , parent , insertType ) ; if ( insertType == ( com.android.ide.common.api.InsertType.CREATE ) ) { node.appendChild ( com.android.ide.common.layout.FQCN_LINEAR_LAYOUT ) ; } }

Target:
public void onCreate ( com.android.ide.common.api.INode node , com.android.ide.common.api.INode parent , com.android.ide.common.api.InsertType insertType ) { super . onCreate ( node , parent , insertType ) ; if ( insertType == ( com.android.ide.common.api.InsertType.CREATE ) ) { node.appendChild ( com.android.ide.common.layout.LayoutConstants.FQCN_LINEAR_LAYOUT ) ; } }
Source:
public void testValidateToOnePackage ( ) { intento.internalIntended ( android.support.test.espresso.intent.matcher.IntentMatchers.toPackage ( "com.google.some.package" ) , android.support.test.espresso.intent.Intents.times ( 1 ) , com.google.common.collect.Lists.newArrayList ( android.support.test.espresso.intent.IntentsTest.buildVerifiableIntent ( Intent.ACTION_VIEW , "com.google.some.package" ) ) ) ; }

Target:
public void validateToOnePackage ( ) { intento.internalIntended ( android.support.test.espresso.intent.matcher.IntentMatchers.toPackage ( "com.google.some.package" ) , android.support.test.espresso.intent.Intents.times ( 1 ) , com.google.common.collect.Lists.newArrayList ( android.support.test.espresso.intent.IntentsTest.buildVerifiableIntent ( Intent.ACTION_VIEW , "com.google.some.package" ) ) ) ; }
Source:
public boolean contains ( java.lang.Object o ) { return this . containsKey ( o ) ; }

Target:
public boolean contains ( java.lang.Object o ) { return map.containsKey ( o ) ; }
Source:
public void testSelectorRemoval ( ) throws java.io.IOException , javax.xml.parsers.ParserConfigurationException , org.xml.sax.SAXException { com.android.sdklib.mock.MockLog mockLog = new com.android.sdklib.mock.MockLog ( ) ; java.lang.String main = "" + ( ( ( ( ( ( ( ( ( ( "<manifest\n" + " xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" ) + " xmlns:tools=\"http://schemas.android.com/tools\"\n" ) + " package=\"com.example.lib3\">\n" ) + "\n" ) + " <application android:label=\"@string/lib_name\">\n" ) + " <activity android:name=\"activityOne\" " ) + " tools:node=\"remove\" tools:selector=\"foo\"/>\n" ) + " </application>\n" ) + "\n" ) + "</manifest>" ) ; com.android.manifmerger.XmlDocument mainDocument = com.android.manifmerger.TestUtils.xmlDocumentFromString ( new com.android.manifmerger.TestUtils.TestSourceLocation ( getClass ( ) , "testSelectorRemoval" ) , main ) ; org.w3c.dom.Element rootElement = mainDocument.getRootNode ( ) . getXml ( ) ; com.android.manifmerger.ToolsInstructionsCleaner.cleanToolsReferences ( mainDocument , mockLog ) ; com.google.common.base.Optional < org.w3c.dom.Element > application = com.android.manifmerger.ToolsInstructionsCleanerTest.getChildElementByName ( rootElement , "application" ) ; assertTrue ( application.isPresent ( ) ) ; com.google.common.base.Optional < org.w3c.dom.Element > activity = com.android.manifmerger.ToolsInstructionsCleanerTest.getChildElementByName ( application.get ( ) , "activity" ) ; assertFalse ( activity.isPresent ( ) ) ; }

Target:
public void testSelectorRemoval ( ) throws java.io.IOException , javax.xml.parsers.ParserConfigurationException , org.xml.sax.SAXException { com.android.sdklib.mock.MockLog mockLog = new com.android.sdklib.mock.MockLog ( ) ; java.lang.String main = "" + ( ( ( ( ( ( ( ( ( ( "<manifest\n" + " xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" ) + " xmlns:tools=\"http://schemas.android.com/tools\"\n" ) + " package=\"com.example.lib3\">\n" ) + "\n" ) + " <application android:label=\"@string/lib_name\">\n" ) + " <activity android:name=\"activityOne\" " ) + " tools:node=\"remove\" tools:selector=\"foo\"/>\n" ) + " </application>\n" ) + "\n" ) + "</manifest>" ) ; com.android.manifmerger.XmlDocument mainDocument = com.android.manifmerger.TestUtils.xmlDocumentFromString ( new com.android.manifmerger.TestUtils.TestSourceLocation ( getClass ( ) , "testSelectorRemoval" ) , main ) ; org.w3c.dom.Element rootElement = mainDocument.getRootNode ( ) . getXml ( ) ; com.android.manifmerger.ToolsInstructionsCleaner.cleanToolsReferences ( mainDocument , mockLog ) ; com.google.common.base.Optional < org.w3c.dom.Element > application = com.android.manifmerger.ToolsInstructionsCleanerTest.getChildElementByName ( rootElement , "application" ) ; assertTrue ( application.isPresent ( ) ) ; com.google.common.base.Optional < org.w3c.dom.Element > activity = com.android.manifmerger.ToolsInstructionsCleanerTest.getChildElementByName ( application.get ( ) , "activity" ) ; assertTrue ( activity.isPresent ( ) ) ; assertTrue ( com.google.common.base.Strings.isNullOrEmpty ( activity.get ( ) . getAttribute ( "tools:selector" ) ) ) ; }
Source:
java.security.cert.X509Certificate parseCertificate ( java.lang.String encoded ) throws java.lang.Exception { java.io.InputStream in = new java.io.ByteArrayInputStream ( encoded.getBytes ( Charsets.US_ASCII ) ) ; return ( ( java.security.cert.X509Certificate ) ( java.security.cert.CertificateFactory.getInstance ( "X509" ) . generateCertificate ( in ) ) ) ; }

Target:
java.security.cert.X509Certificate parseCertificate ( java.lang.String encoded ) throws java.lang.Exception { java.io.InputStream in = new java.io.ByteArrayInputStream ( encoded.getBytes ( java.nio.charset.StandardCharsets.US_ASCII ) ) ; return ( ( java.security.cert.X509Certificate ) ( java.security.cert.CertificateFactory.getInstance ( "X509" ) . generateCertificate ( in ) ) ) ; }
Source:
public void testInstallWithNewerBundleVersion ( ) throws java.lang.Exception { libcore.tzdata.update2.TimeZoneBundle bundle = libcore.tzdata.update2.TimeZoneBundleInstallerTest.createValidTimeZoneBundleBuilder ( libcore.tzdata.update2.TimeZoneBundleInstallerTest.NEW_RULES_VERSION , "001" ) . setBundleVersionForTests ( "002.001" ) . buildUnvalidated ( ) ; assertFalse ( installer.install ( bundle.getBytes ( ) ) ) ; assertNoContentInstalled ( ) ; }

Target:
public void testInstall_withNewerBundleVersion ( ) throws java.lang.Exception { libcore.tzdata.update2.TimeZoneBundle bundle = libcore.tzdata.update2.TimeZoneBundleInstallerTest.createValidTimeZoneBundleBuilder ( libcore.tzdata.update2.TimeZoneBundleInstallerTest.NEW_RULES_VERSION , "001" ) . setBundleVersionForTests ( "002.001" ) . buildUnvalidated ( ) ; assertFalse ( installer.install ( bundle.getBytes ( ) ) ) ; assertNoContentInstalled ( ) ; }
Source:
public static float ReturnFloat34 ( ) { long imm = 34L ; return ( ( float ) ( imm ) ) ; }

Target:
public static float ReturnFloat34 ( ) { long imm = Main.$inline$long ( 34L ) ; return ( ( float ) ( imm ) ) ; }
Source:
public void authenticateServer ( java.lang.String callingPackage , java.lang.String matchingId , byte [ ] serverSigned1 , byte [ ] serverSignature1 , byte [ ] euiccCiPkIdToBeUsed , byte [ ] serverCertificate , com.android.internal.telephony.euicc.IAuthenticateServerCallback callback ) { checkCallingPackage ( callingPackage ) ; }

Target:
public void authenticateServer ( java.lang.String callingPackage , java.lang.String cardId , java.lang.String matchingId , byte [ ] serverSigned1 , byte [ ] serverSignature1 , byte [ ] euiccCiPkIdToBeUsed , byte [ ] serverCertificate , com.android.internal.telephony.euicc.IAuthenticateServerCallback callback ) { checkCallingPackage ( callingPackage ) ; }
Source:
public void fileChanged ( @ com.android.annotations.NonNull org.eclipse.core.resources.IFile file , @ com.android.annotations.NonNull org.eclipse.core.resources.IMarkerDelta [ ] markerDeltas , int kind , @ com.android.annotations.Nullable java.lang.String extension , int flags ) ;

Target:
public void fileChanged ( @ com.android.annotations.NonNull org.eclipse.core.resources.IFile file , @ com.android.annotations.NonNull org.eclipse.core.resources.IMarkerDelta [ ] markerDeltas , int kind , @ com.android.annotations.Nullable java.lang.String extension , int flags , boolean isAndroidProject ) ;
Source:
public void replaceAllSuccessors ( @ javax.annotation.Nonnull com.android.jack.ir.ast.cfg.JBasicBlock newBlock ) { for ( com.android.jack.ir.ast.cfg.JBasicBlock successor : new java.util.HashSet < > ( getSuccessors ( ) ) ) { replaceAllSuccessors ( successor , newBlock ) ; } }

Target:
public void dereferenceAllSuccessors ( ) { for ( com.android.jack.ir.ast.cfg.JBasicBlock successor : new java.util.HashSet < > ( getSuccessors ( ) ) ) { replaceAllSuccessors ( successor , this ) ; } }
Source:
public void handlesImmediateInterfaceDown ( ) throws java.lang.Exception { initStateMachine ( ConnectivityManager.TETHERING_BLUETOOTH ) ; dispatchCommand ( TetherInterfaceStateMachine.CMD_INTERFACE_DOWN ) ; org.mockito.Mockito.verify ( mTetherHelper ) . notifyInterfaceStateChange ( com.android.server.connectivity.tethering.TetherInterfaceStateMachineTest.IFACE_NAME , mTestedSm , com.android.server.connectivity.tethering.IControlsTethering.STATE_UNAVAILABLE , android.net.ConnectivityManager.TETHER_ERROR_NO_ERROR ) ; org.mockito.Mockito.verifyNoMoreInteractions ( mNMService , mStatsService , mTetherHelper ) ; }

Target:
public void handlesImmediateInterfaceDown ( ) throws java.lang.Exception { initStateMachine ( android.net.ConnectivityManager.TETHERING_BLUETOOTH ) ; dispatchCommand ( TetherInterfaceStateMachine.CMD_INTERFACE_DOWN ) ; org.mockito.Mockito.verify ( mTetherHelper ) . notifyInterfaceStateChange ( com.android.server.connectivity.tethering.TetherInterfaceStateMachineTest.IFACE_NAME , mTestedSm , com.android.server.connectivity.tethering.IControlsTethering.STATE_UNAVAILABLE , android.net.ConnectivityManager.TETHER_ERROR_NO_ERROR ) ; org.mockito.Mockito.verifyNoMoreInteractions ( mNMService , mStatsService , mTetherHelper ) ; }
Source:
public static void main ( java.lang.String [ ] args ) { Main.invokeStaticInlined ( ) ; Main.invokeStaticNotInlined ( ) ; Main.ClassWithClinit3.invokeStaticInlined ( ) ; Main.ClassWithClinit4.invokeStaticNotInlined ( ) ; }

Target:
public static void main ( java.lang.String [ ] args ) { Main.invokeStaticInlined ( ) ; Main.invokeStaticNotInlined ( ) ; Main.ClassWithClinit3.invokeStaticInlined ( ) ; Main.ClassWithClinit4.invokeStaticNotInlined ( ) ; Main.SubClassOfClassWithClinit5.invokeStaticInlined ( ) ; Main.SubClassOfClassWithClinit6.invokeStaticNotInlined ( ) ; }