auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void setCamera ( java.lang.String cameraId ) { try { mVideoProviderBinder.setCamera ( cameraId , mCallingPackage ) ; } catch ( android.os.RemoteException e ) { } }

Target:
public void setCamera ( java.lang.String cameraId ) { try { mVideoProviderBinder.setCamera ( cameraId , mCallingPackage , mTargetSdkVersion ) ; } catch ( android.os.RemoteException e ) { } }
Source:
public java.lang.String getMeid ( ) { if ( isPhoneTypeGsm ( ) ) { loge ( "[GsmCdmaPhone] getMeid() is a CDMA method" ) ; return "0" ; } else { return mMeid ; } }

Target:
public boolean handleUssdRequest ( java.lang.String ussdRequest , android.os.ResultReceiver wrappedCallback ) { try { dialInternal ( ussdRequest , null , VideoProfile.STATE_AUDIO_ONLY , null , wrappedCallback ) ; return true ; } catch ( java.lang.Exception e ) { logd ( ( "exception" + e ) ) ; return false ; } }
Source:
public boolean perform ( ) { synchronized ( lock ) { try { lock.wait ( 100 , 0 ) ; } catch ( java.lang.InterruptedException ignored ) { } } return true ; }

Target:
public boolean perform ( ) { try { java.lang.Thread.sleep ( Main.Sleep.SLEEP_TIME ) ; } catch ( java.lang.InterruptedException ignored ) { } return true ; }
Source:
protected java.lang.String getCapitalizedFlavorName ( ) { return com.android.build.gradle.internal.StringHelper.capitalize ( variantConfiguration.getFlavorName ( ) ) ; }

Target:
protected java.lang.String getCapitalizedBuildTypeName ( ) { return com.android.build.gradle.internal.StringHelper.capitalize ( variantConfiguration.getBuildType ( ) . getName ( ) ) ; }
Source:
public static void assertSSLEngineSSLParameters ( javax.net.ssl.SSLParameters sslParameters ) { libcore.java.security.StandardNames.assertSSLEngineDefaultCipherSuites ( sslParameters.getCipherSuites ( ) ) ; libcore.java.security.StandardNames.assertSSLEngineDefaultProtocols ( sslParameters.getProtocols ( ) ) ; assertFalse ( sslParameters.getWantClientAuth ( ) ) ; assertFalse ( sslParameters.getNeedClientAuth ( ) ) ; }

Target:
public static void assertSSLEngineSSLParameters ( javax.net.ssl.SSLParameters sslParameters ) { libcore.java.security.StandardNames.assertDefaultCipherSuites ( sslParameters.getCipherSuites ( ) ) ; libcore.java.security.StandardNames.assertSSLEngineDefaultProtocols ( sslParameters.getProtocols ( ) ) ; assertFalse ( sslParameters.getWantClientAuth ( ) ) ; assertFalse ( sslParameters.getNeedClientAuth ( ) ) ; }
Source:
static sun.security.util.ObjectIdentifier intern ( sun.security.util.ObjectIdentifier oid ) { sun.security.util.ObjectIdentifier interned = sun.security.x509.X500Name.internedOIDs.get ( oid ) ; if ( interned != null ) { return interned ; } sun.security.x509.X500Name.internedOIDs.put ( oid , oid ) ; return oid ; }

Target:
static sun.security.util.ObjectIdentifier intern ( sun.security.util.ObjectIdentifier oid ) { sun.security.util.ObjectIdentifier interned = sun.security.x509.X500Name.internedOIDs.putIfAbsent ( oid , oid ) ; return interned == null ? oid : interned ; }
Source:
public int getItemViewType ( int position ) { return super . getItemViewType ( position ) ; }

Target:
public int getItemViewType ( int position ) { if ( ( shouldShowAdvisory ) && ( position == ( com.android.incallui.rtt.impl.RttChatAdapter.POSITION_ADVISORY ) ) ) { return com.android.incallui.rtt.impl.RttChatAdapter.RowType.ADVISORY ; } else { return com.android.incallui.rtt.impl.RttChatAdapter.RowType.MESSAGE ; } }
Source:
public int next ( int n ) { return libcore.icu.NativeBreakIterator.nextImpl ( this . address , n ) ; }

Target:
public int next ( ) { return libcore.icu.NativeBreakIterator.nextImpl ( this . address , this . string , 1 ) ; }
Source:
public void removeJavascriptInterface ( java.lang.String name ) { checkThread ( ) ; if ( DebugFlags.TRACE_API ) android.util.Log.d ( android.webkit.WebView.LOGTAG , ( "removeJavascriptInterface=" + name ) ) ; mProvider.removeJavascriptInterface ( name ) ; }

Target:
public void removeJavascriptInterface ( java.lang.String name ) { checkThread ( ) ; if ( android.webkit.WebView.TRACE ) android.util.Log.d ( android.webkit.WebView.LOGTAG , ( "removeJavascriptInterface=" + name ) ) ; mProvider.removeJavascriptInterface ( name ) ; }
Source:
public static void updateSendFailedNotification ( android.content.Context context ) { if ( ( com.android.mms.transaction.MessagingNotification.getUndeliveredMessageCount ( context , null ) ) < 1 ) { com.android.mms.transaction.MessagingNotification.cancelNotification ( context , com.android.mms.transaction.MessagingNotification.MESSAGE_FAILED_NOTIFICATION_ID ) ; } else { com.android.mms.transaction.MessagingNotification.notifySendFailed ( context ) ; } }

Target:
protected java.lang.Integer doInBackground ( java.lang.Void ... none ) { return com.android.mms.transaction.MessagingNotification.getUndeliveredMessageCount ( context , null ) ; }
Source:
public static long LongAddition ( ) { long a ; long b ; long c ; a = Main.$inline$long ( 1L ) ; b = Main.$inline$long ( 2L ) ; c = a + b ; return c ; }

Target:
public static long LongSubtraction ( ) { long a ; long b ; long c ; a = 6L ; b = 2L ; c = a - b ; return c ; }
Source:
protected void stdout ( java.lang.String format , java.lang.Object ... args ) { mLog.printf ( ( format + "\n" ) , args ) ; }

Target:
protected void stdout ( java.lang.String format , java.lang.Object ... args ) { mLog.printf ( ( format + '\n' ) , args ) ; }
Source:
public boolean needEclipseWorkspace ( ) { if ( ( mWorkspaceLocation ) != null ) { return false ; } for ( com.android.tools.gradle.eclipse.EclipseProject project : mProjectMap.values ( ) ) { if ( project.needWorkspaceLocation ( ) ) { return true ; } } return false ; }

Target:
public java.lang.String getMessage ( ) { return mMessage ; }
Source:
public native java.lang.reflect.Method [ ] getDeclaredMethodsUnchecked ( boolean publicOnly ) ;

Target:
public native java.lang.reflect.Field [ ] getDeclaredFieldsUnchecked ( boolean publicOnly ) ;
Source:
private static native void native_drawPosText ( int nativeCanvas , java.lang.String text , float [ ] pos , int paint ) ;

Target:
private static native void native_drawPosText ( long nativeCanvas , java.lang.String text , float [ ] pos , long nativePaint ) ;
Source:
public final com.android.ims.internal.IImsCallSession createCallSession ( int sessionId , com.android.ims.ImsCallProfile profile ) { return createCallSession ( sessionId , profile , null ) ; }

Target:
public void endSession ( int sessionId ) throws android.os.RemoteException { synchronized ( mLock ) { this . endSession ( sessionId ) ; } }
Source:
public void testFindByText ( ) throws java.lang.Exception { java.util.List < android.view.accessibility.AccessibilityNodeInfo > buttons = getInstrumentation ( ) . getUiAutomation ( ) . getRootInActiveWindow ( ) . findAccessibilityNodeInfosByText ( "b" ) ; assertEquals ( 9 , buttons.size ( ) ) ; }

Target:
public void run ( ) { getActivity ( ) . findViewById ( R.id.added_content ) . setImportantForAccessibility ( View.IMPORTANT_FOR_ACCESSIBILITY_YES ) ; }
Source:
public java.lang.String [ ] call ( ) { return getHttpAuthUsernamePassword ( host , realm ) ; }

Target:
public void run ( ) { setHttpAuthUsernamePassword ( host , realm , username , password ) ; }
Source:
static com.google.common.collect.ImmutableList < com.android.dialer.phonelookup.PhoneLookup > providePhoneLookupList ( com.android.dialer.phonelookup.cp2.Cp2LocalPhoneLookup cp2LocalPhoneLookup , com.android.dialer.phonelookup.blockednumber.DialerBlockedNumberPhoneLookup dialerBlockedNumberPhoneLookup ) { return com.google.common.collect.ImmutableList.of ( cp2LocalPhoneLookup , dialerBlockedNumberPhoneLookup ) ; }

Target:
static com.google.common.collect.ImmutableList < com.android.dialer.phonelookup.PhoneLookup > providePhoneLookupList ( com.android.dialer.phonelookup.cp2.Cp2LocalPhoneLookup cp2LocalPhoneLookup , com.android.dialer.phonelookup.cp2.Cp2RemotePhoneLookup cp2RemotePhoneLookup , com.android.dialer.phonelookup.blockednumber.DialerBlockedNumberPhoneLookup dialerBlockedNumberPhoneLookup ) { return com.google.common.collect.ImmutableList.of ( cp2LocalPhoneLookup , cp2RemotePhoneLookup , dialerBlockedNumberPhoneLookup ) ; }
Source:
private boolean isAvdRepairable ( com.android.sdklib.internal.avd.AvdInfo.AvdStatus avdStatus ) { return avdStatus == ( com.android.sdklib.internal.avd.AvdInfo.AvdStatus.ERROR_IMAGE_DIR ) ; }

Target:
private boolean isAvdRepairable ( com.android.sdklib.internal.avd.AvdInfo.AvdStatus avdStatus ) { return ( ( avdStatus == ( com.android.sdklib.internal.avd.AvdInfo.AvdStatus.ERROR_IMAGE_DIR ) ) || ( avdStatus == ( com.android.sdklib.internal.avd.AvdInfo.AvdStatus.ERROR_DEVICE_CHANGED ) ) ) || ( avdStatus == ( com.android.sdklib.internal.avd.AvdInfo.AvdStatus.ERROR_DEVICE_MISSING ) ) ; }
Source:
public void connectionEventFailedDoesNotCrashIfEnableFileIsMissing ( ) throws java.lang.Exception { mTraceEnableFile.delete ( ) ; mLastMileLogger.reportConnectionEvent ( BaseWifiDiagnostics.CONNECTION_EVENT_FAILED ) ; }

Target:
public void connectionEventFailedDisablesTracing ( ) throws java.lang.Exception { mLastMileLogger.reportConnectionEvent ( com.android.server.wifi.LastMileLoggerTest.FAKE_CONNECTION_ID , BaseWifiDiagnostics.CONNECTION_EVENT_FAILED ) ; org.junit.Assert.assertEquals ( "0" , libcore.io.IoUtils.readFileAsString ( mTraceEnableFile.getPath ( ) ) ) ; }
Source:
static com.google.common.collect.ImmutableList < com.android.dialer.phonelookup.PhoneLookup > providePhoneLookupList ( com.android.dialer.phonelookup.cp2.Cp2PhoneLookup cp2PhoneLookup , com.android.dialer.phonelookup.blockednumber.DialerBlockedNumberPhoneLookup dialerBlockedNumberPhoneLookup ) { return com.google.common.collect.ImmutableList.of ( cp2PhoneLookup , dialerBlockedNumberPhoneLookup ) ; }

Target:
static com.google.common.collect.ImmutableList < com.android.dialer.phonelookup.PhoneLookup > providePhoneLookupList ( com.android.dialer.phonelookup.cp2.Cp2LocalPhoneLookup cp2LocalPhoneLookup , com.android.dialer.phonelookup.blockednumber.DialerBlockedNumberPhoneLookup dialerBlockedNumberPhoneLookup ) { return com.google.common.collect.ImmutableList.of ( cp2LocalPhoneLookup , dialerBlockedNumberPhoneLookup ) ; }
Source:
public static void main ( java.lang.String [ ] arg ) { try { com.ibm.icu.dev.test.lang.UCharacterCaseTest test = new com.ibm.icu.dev.test.lang.UCharacterCaseTest ( ) ; test.run ( arg ) ; } catch ( java.lang.Exception e ) { e.printStackTrace ( ) ; } }

Target:
private void assertGreekUpper ( java.lang.String s , java.lang.String expected ) { assertEquals ( ( ( "toUpper/Greek(" + s ) + ')' ) , expected , com.ibm.icu.lang.UCharacter.toUpperCase ( com.ibm.icu.dev.test.lang.UCharacterCaseTest.GREEK_LOCALE_ , s ) ) ; }
Source:
protected int adjustDexoptNeeded ( int dexoptNeeded ) { return dalvik.system.DexFile.DEX2OAT_NEEDED ; }

Target:
protected int adjustDexoptNeeded ( int dexoptNeeded ) { return dalvik.system.DexFile.DEX2OAT_FROM_SCRATCH ; }
Source:
public void setVerticalScrollbarOverlay ( boolean overlay ) { checkThread ( ) ; if ( DebugFlags.TRACE_API ) android.util.Log.d ( android.webkit.WebView.LOGTAG , ( "setVerticalScrollbarOverlay=" + overlay ) ) ; mProvider.setVerticalScrollbarOverlay ( overlay ) ; }

Target:
public void setVerticalScrollbarOverlay ( boolean overlay ) { checkThread ( ) ; if ( android.webkit.WebView.TRACE ) android.util.Log.d ( android.webkit.WebView.LOGTAG , ( "setVerticalScrollbarOverlay=" + overlay ) ) ; mProvider.setVerticalScrollbarOverlay ( overlay ) ; }
Source:
void onBluetoothDisable ( ) { debugLog ( "onBluetoothDisable()" ) ; mBluetoothDisabling = true ; if ( ( getState ( ) ) == ( android.bluetooth.BluetoothAdapter.STATE_TURNING_OFF ) ) { mService.cancelDiscovery ( ) ; setScanMode ( AbstractionLayer.BT_SCAN_MODE_NONE ) ; } }

Target:
void onBluetoothDisable ( ) { com.android.bluetooth.btservice.AdapterProperties.debugLog ( "onBluetoothDisable()" ) ; mBluetoothDisabling = true ; if ( ( getState ( ) ) == ( android.bluetooth.BluetoothAdapter.STATE_TURNING_OFF ) ) { mService.cancelDiscovery ( ) ; setScanMode ( AbstractionLayer.BT_SCAN_MODE_NONE ) ; } }
Source:
public static float ReturnFloat33 ( ) { int imm = 33 ; return ( ( float ) ( imm ) ) ; }

Target:
public static float ReturnFloat33 ( ) { int imm = Main.$inline$int ( 33 ) ; return ( ( float ) ( imm ) ) ; }
Source:
public < T > T [ ] toArray ( T [ ] array ) { return com.google.common.collect.Lists.newArrayList ( iterator ( ) ) . toArray ( array ) ; }

Target:
public V forcePut ( @ javax.annotation.Nullable K key , @ javax.annotation.Nullable V value ) { com.google.common.base.Preconditions.checkArgument ( apply ( key , value ) ) ; return unfiltered ( ) . forcePut ( key , value ) ; }
Source:
public void activateCellBroadcastSms ( int activate , android.os.Message response ) { android.util.Log.e ( com.android.internal.telephony.gsm.GSMPhone.LOG_TAG , "[GSMPhone] activateCellBroadcastSms() is obsolete; use SmsManager" ) ; response.sendToTarget ( ) ; }

Target:
public void getCellBroadcastSmsConfig ( android.os.Message response ) { android.telephony.Rlog.e ( com.android.internal.telephony.gsm.GSMPhone.LOG_TAG , "[GSMPhone] getCellBroadcastSmsConfig() is obsolete; use SmsManager" ) ; response.sendToTarget ( ) ; }
Source:
public java.util.Collection < java.lang.String > getRootTypes ( ) { return mRootTypes ; }

Target:
public java.lang.Object getTemporaryUserData ( ) { return mTemporaryUserData ; }
Source:
public void testE2 ( ) { dot.junit.opcodes.iget_boolean.d.T_iget_boolean_9 t = new dot.junit.opcodes.iget_boolean.d.T_iget_boolean_9 ( ) ; try { t.run ( ) ; fail ( "expected NullPointerException" ) ; } catch ( java.lang.NullPointerException e ) { } }

Target:
public void testVFE1 ( ) { load ( "dot.junit.opcodes.iget_boolean.d.T_iget_boolean_4" , java.lang.VerifyError.class ) ; }
Source:
protected android.content.IContentProvider acquireUnstableProvider ( android.content.Context c , java.lang.String name ) { com.android.server.telecom.Log.i ( this , "acquireUnstableProvider %s" , name ) ; return getOrCreateProvider ( name ) ; }

Target:
protected android.content.IContentProvider acquireUnstableProvider ( android.content.Context c , java.lang.String name ) { android.telecom.Log.i ( this , "acquireUnstableProvider %s" , name ) ; return getOrCreateProvider ( name ) ; }
Source:
public void testVFE8 ( ) { try { new dot.junit.opcodes.new_array.d.T_new_array_10 ( ) . run ( ) ; fail ( "expected IllegalAccessError" ) ; } catch ( java.lang.IllegalAccessError t ) { } }

Target:
public void testE1 ( ) { loadAndRun ( "dot.junit.opcodes.new_array.d.T_new_array_2" , java.lang.NegativeArraySizeException.class , ( - 1 ) ) ; }
Source:
public void traverse ( @ javax.annotation.Nonnull final com.android.jack.ir.ast.JVisitor visitor ) { if ( visitor.visit ( this ) ) { for ( com.android.jack.ir.ast.cfg.JBasicBlock block : getBlocksDepthFirst ( false ) ) { visitor.accept ( block ) ; } } visitor.endVisit ( this ) ; }

Target:
public void traverse ( @ javax.annotation.Nonnull final com.android.sched.scheduler.ScheduleInstance < ? super com.android.sched.item.Component > schedule ) throws java.lang.Exception { schedule.process ( this ) ; for ( com.android.jack.ir.ast.cfg.JBasicBlock block : getAllBlocksUnordered ( ) ) { block.traverse ( schedule ) ; } }
Source:
public android.os.Bundle openUdpEncapsulationSocket ( int port , android.os.IBinder binder ) throws android.os.RemoteException { return null ; }

Target:
public void releaseSecurityParameterIndex ( int resourceId ) throws android.os.RemoteException { releaseManagedResource ( mSpiRecords , resourceId , "SecurityParameterIndex" ) ; }
Source:
public void test_setDecimalFormatSymbolsLjava_text_DecimalFormatSymbols ( ) { java.text.DecimalFormat df = new java.text.DecimalFormat ( "###0.##" ) ; java.text.DecimalFormatSymbols dfs = new java.text.DecimalFormatSymbols ( ) ; dfs.setDecimalSeparator ( '@' ) ; df.setDecimalFormatSymbols ( dfs ) ; assertTrue ( "Not set" , df.getDecimalFormatSymbols ( ) . equals ( dfs ) ) ; assertEquals ( "Symbols not used" , "1@2" , df.format ( 1.2 ) ) ; java.text.DecimalFormat format = new java.text.DecimalFormat ( ) ; java.text.DecimalFormatSymbols symbols = new java.text.DecimalFormatSymbols ( ) ; format.setDecimalFormatSymbols ( symbols ) ; java.text.DecimalFormatSymbols symbolsOut = format.getDecimalFormatSymbols ( ) ; assertNotSame ( symbols , symbolsOut ) ; }

Target:
public void test_setDecimalFormatSymbols ( ) { java.text.DecimalFormat df = new java.text.DecimalFormat ( "###0.##" ) ; java.text.DecimalFormatSymbols dfs = new java.text.DecimalFormatSymbols ( ) ; dfs.setDecimalSeparator ( '@' ) ; df.setDecimalFormatSymbols ( dfs ) ; assertTrue ( "Not set" , df.getDecimalFormatSymbols ( ) . equals ( dfs ) ) ; assertEquals ( "Symbols not used" , "1@2" , df.format ( 1.2 ) ) ; java.text.DecimalFormat format = new java.text.DecimalFormat ( ) ; java.text.DecimalFormatSymbols symbols = new java.text.DecimalFormatSymbols ( ) ; format.setDecimalFormatSymbols ( symbols ) ; java.text.DecimalFormatSymbols symbolsOut = format.getDecimalFormatSymbols ( ) ; assertNotSame ( symbols , symbolsOut ) ; }
Source:
public static long XorIntLong ( ) { int lhs = 10 ; long rhs = 3 ; return lhs ^ rhs ; }

Target:
public static long XorIntLong ( ) { int lhs = Main.$inline$int ( 10 ) ; long rhs = Main.$inline$long ( 3L ) ; return lhs ^ rhs ; }
Source:
public java.util.List < com.android.builder.model.ClassField > getBuildConfigFields ( ) { return java.util.Collections.emptyList ( ) ; }

Target:
public java.util.Map < java.lang.String , com.android.builder.model.ClassField > getBuildConfigFields ( ) { return java.util.Collections.emptyMap ( ) ; }
Source:
public synchronized java.util.Iterator < java.lang.Object > iterator ( ) { return com.google.common.collect.Iterators.< java.lang.Object > forArray ( java.lang.Long.valueOf ( number ) , java.lang.Long.valueOf ( size ) , java.lang.Long.valueOf ( ( ( size ) * ( number ) ) ) ) ; }

Target:
public long getSize ( ) { return size ; }
Source:
public void runTest ( ) { mScript.forEach_root ( mOutPixelsAllocation ) ; }

Target:
public void runTest ( ) { if ( mUseIntrinsic ) { mIntrinsic.forEach ( mOutPixelsAllocation ) ; } else { mScript.forEach_root ( mOutPixelsAllocation ) ; } }
Source:
public void postEvent ( java.awt.AWTEvent theEvent ) { myFrequentEventDetector.eventHappened ( ) ; super . postEvent ( theEvent ) ; }

Target:
public void postEvent ( java.awt.AWTEvent theEvent ) { if ( myFrequentEventDetector.eventHappened ( ) ) { com.intellij.ide.IdeEventQueue.LOG.info ( ( "Frequent IDE event: " + theEvent ) ) ; } super . postEvent ( theEvent ) ; }
Source:
native void rsnScriptInvokeV ( long con , long id , int slot , byte [ ] params ) ;

Target:
native void nIncDeviceDestroy ( long dev ) ;
Source:
public native void setTargetSdkVersion ( int targetSdkVersion ) ;

Target:
public synchronized void setTargetSdkVersion ( int targetSdkVersion ) { this . targetSdkVersion = targetSdkVersion ; setTargetSdkVersionNative ( this . targetSdkVersion ) ; }
Source:
public com.android.ide.common.rendering.api.ILayoutPullParser getParser ( com.android.ide.common.rendering.api.ResourceValue layoutResource ) { return getParser ( layoutResource.getName ( ) ) ; }

Target:
public com.android.ide.common.rendering.api.ILayoutPullParser getParser ( com.android.ide.common.rendering.api.ResourceValue layoutResource ) { return getParser ( layoutResource.getName ( ) , new java.io.File ( layoutResource.getValue ( ) ) ) ; }
Source:
private void createSeriesRecordingsForRecordedProgramsIfNeeded ( java.util.List < com.android.tv.dvr.RecordedProgram > recordedPrograms ) { for ( com.android.tv.dvr.RecordedProgram recordedProgram : recordedPrograms ) { createSeriesRecordingForRecordedProgramIfNeeded ( recordedProgram ) ; } }

Target:
private void createSeriesRecordingsForRecordedProgramsIfNeeded ( java.util.List < com.android.tv.dvr.data.RecordedProgram > recordedPrograms ) { for ( com.android.tv.dvr.data.RecordedProgram recordedProgram : recordedPrograms ) { createSeriesRecordingForRecordedProgramIfNeeded ( recordedProgram ) ; } }
Source:
public void onHostCardEmulationData ( byte [ ] data ) ;

Target:
public void onHostCardEmulationData ( int technology , byte [ ] data ) ;
Source:
protected java.lang.String getExtension ( ) { return com.android.SdkConstants.EXT_RS ; }

Target:
protected java.util.Set < java.lang.String > getExtensions ( ) { return com.android.ide.eclipse.adt.internal.build.RenderScriptProcessor.EXTENSIONS ; }
Source:
public android.net.wifi.WifiScanner.HotlistSettings [ ] newArray ( int size ) { return new android.net.wifi.WifiScanner.HotlistSettings [ size ] ; }

Target:
public android.net.wifi.WifiScanner.WifiChangeSettings [ ] newArray ( int size ) { return new android.net.wifi.WifiScanner.WifiChangeSettings [ size ] ; }
Source:
private static native java.lang.String getBestDateTimePatternNative ( java.lang.String skeleton , java.lang.String localeName ) ;

Target:
private static native java.lang.String getBestDateTimePatternNative ( java.lang.String skeleton , java.lang.String languageTag ) ;
Source:
public void setEncodingContent ( org.apache.harmony.security.asn1.BerOutputStream out ) { byte [ ] bytes = ( ( java.lang.String ) ( out.content ) ) . getBytes ( Charsets.UTF_8 ) ; out.content = bytes ; out.length = bytes.length ; }

Target:
public void setEncodingContent ( org.apache.harmony.security.asn1.BerOutputStream out ) { byte [ ] bytes = ( ( java.lang.String ) ( out.content ) ) . getBytes ( java.nio.charset.StandardCharsets.UTF_8 ) ; out.content = bytes ; out.length = bytes.length ; }
Source:
void notifyListenerResponseNotUsable ( ) { synchronized ( mLock ) { if ( ( mRequestCompleteListener ) != null ) { mRequestCompleteListener.onNoUsableResponseReceived ( this ) ; } } }

Target:
void notifyListenerResponseNotUsable ( ) { com.android.volley.Request.NetworkRequestCompleteListener listener ; synchronized ( mLock ) { listener = mRequestCompleteListener ; } if ( listener != null ) { listener.onNoUsableResponseReceived ( this ) ; } }
Source:
public void visitInsn ( int opcode ) { printer.visitInsn ( opcode ) ; printTypeOfOperandStackTop ( ) ; super . visitInsn ( opcode ) ; }

Target:
public void visitIntInsn ( int opcode , int operand ) { printer.visitIntInsn ( opcode , operand ) ; printTypeOfOperandStack ( ) ; super . visitIntInsn ( opcode , operand ) ; }
Source:
public void testNotRedirectedFromHttpsToHttp ( ) throws java.io.IOException , java.lang.InterruptedException { libcore.javax.net.ssl.TestSSLContext testSSLContext = libcore.javax.net.ssl.TestSSLContext.create ( ) ; server.useHttps ( testSSLContext.serverContext.getSocketFactory ( ) , false ) ; server.enqueue ( new com.google.mockwebserver.MockResponse ( ) . setResponseCode ( java.net.HttpURLConnection.HTTP_MOVED_TEMP ) . addHeader ( "Location: http://anyhost/foo" ) . setBody ( "This page has moved!" ) ) ; server.play ( ) ; javax.net.ssl.HttpsURLConnection connection = ( ( javax.net.ssl.HttpsURLConnection ) ( server.getUrl ( "/" ) . openConnection ( ) ) ) ; connection.setSSLSocketFactory ( testSSLContext.clientContext.getSocketFactory ( ) ) ; assertEquals ( "This page has moved!" , readAscii ( connection.getInputStream ( ) , java.lang.Integer.MAX_VALUE ) ) ; }

Target:
public void testNotRedirectedFromHttpsToHttp ( ) throws java.io.IOException , java.lang.InterruptedException { libcore.javax.net.ssl.TestSSLContext testSSLContext = createDefaultTestSSLContext ( ) ; server.useHttps ( testSSLContext.serverContext.getSocketFactory ( ) , false ) ; server.enqueue ( new com.google.mockwebserver.MockResponse ( ) . setResponseCode ( java.net.HttpURLConnection.HTTP_MOVED_TEMP ) . addHeader ( "Location: http://anyhost/foo" ) . setBody ( "This page has moved!" ) ) ; server.play ( ) ; javax.net.ssl.HttpsURLConnection connection = ( ( javax.net.ssl.HttpsURLConnection ) ( server.getUrl ( "/" ) . openConnection ( ) ) ) ; connection.setSSLSocketFactory ( testSSLContext.clientContext.getSocketFactory ( ) ) ; assertEquals ( "This page has moved!" , readAscii ( connection.getInputStream ( ) , java.lang.Integer.MAX_VALUE ) ) ; }
Source:
private static void doFollowReferencesTestRoot ( ) { Main.A a = Main.createTree ( ) ; Main.doFollowReferencesTestImpl ( null , java.lang.Integer.MAX_VALUE , ( - 1 ) , a ) ; Main.doFollowReferencesTestImpl ( a , java.lang.Integer.MAX_VALUE , ( - 1 ) , a ) ; }

Target:
private static void doFollowReferencesTestNonRoot ( java.util.ArrayList < java.lang.Object > tmpStorage ) { Main.Verifier v = new Main.Verifier ( ) ; Main.tagClasses ( v ) ; Main.A a = Main.createTree ( v ) ; tmpStorage.add ( a ) ; v.add ( "0@0" , "1@1000" ) ; Main.doFollowReferencesTestImpl ( null , java.lang.Integer.MAX_VALUE , ( - 1 ) , null , v , null ) ; Main.doFollowReferencesTestImpl ( a.foo , java.lang.Integer.MAX_VALUE , ( - 1 ) , null , v , "2@1000" ) ; tmpStorage.clear ( ) ; }
Source:
public boolean selectNext ( ) throws android.os.RemoteException { this . setCallingPid ( android.os.Binder.getCallingPid ( ) ) ; return this . selectNext ( ) ; }

Target:
public boolean selectNext ( ) throws android.os.RemoteException { this . setCallingPid ( android.os.Binder.getCallingPid ( ) ) ; try { return this . selectNext ( ) ; } catch ( java.io.IOException e ) { throw new android.os.ServiceSpecificException ( android.se.omapi.SEService.IO_ERROR , e.getMessage ( ) ) ; } }
Source:
private static native void nativeClean ( int lbm ) ;

Target:
private static native void nativeClean ( long nativeLbm ) ;
Source:
public static java.lang.String toTitleCase ( java.util.Locale locale , java.lang.String str , com.ibm.icu.text.BreakIterator breakiter ) { return com.ibm.icu.lang.UCharacter.toTitleCase ( com.ibm.icu.util.ULocale.forLocale ( locale ) , str , breakiter ) ; }

Target:
public static java.lang.String toUpperCase ( java.util.Locale locale , java.lang.String str ) { return com.ibm.icu.lang.UCharacter.toUpperCase ( com.ibm.icu.lang.UCharacter.getCaseLocale ( locale ) , str ) ; }
Source:
public void reset ( ) { index = ( descriptor.indexOf ( ClassConstants.EXTERNAL_METHOD_ARGUMENTS_OPEN ) ) + 1 ; if ( ( index ) < 1 ) { throw new java.lang.IllegalArgumentException ( ( ( "Missing opening parenthesis in descriptor [" + ( descriptor ) ) + "]" ) ) ; } }

Target:
public void reset ( ) { index = ( descriptor.indexOf ( JavaConstants.METHOD_ARGUMENTS_OPEN ) ) + 1 ; if ( ( index ) < 1 ) { throw new java.lang.IllegalArgumentException ( ( ( "Missing opening parenthesis in descriptor [" + ( descriptor ) ) + "]" ) ) ; } }
Source:
public void setConsumerProguardFiles ( java.lang.Iterable < ? > proguardFileIterable ) { consumerProguardFiles.clear ( ) ; for ( java.lang.Object proguardFile : proguardFileIterable ) { consumerProguardFiles.add ( project.file ( proguardFile ) ) ; } }

Target:
public void setProguardFiles ( @ com.android.annotations.NonNull java.lang.Iterable < ? > proguardFileIterable ) { getProguardFiles ( ) . clear ( ) ; for ( java.lang.Object proguardFile : proguardFileIterable ) { getProguardFiles ( ) . add ( project.file ( proguardFile ) ) ; } }
Source:
private void removeTransportModeTransform ( android.os.ParcelFileDescriptor pfd , android.net.IpSecTransform transform ) { try { mService.removeTransportModeTransform ( pfd , transform.getResourceId ( ) ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }

Target:
private void removeTransportModeTransforms ( android.os.ParcelFileDescriptor pfd , android.net.IpSecTransform transform ) { try { mService.removeTransportModeTransforms ( pfd , transform.getResourceId ( ) ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }
Source:
public static synchronized java.security.Provider.Service getService ( java.lang.String key ) { return org.apache.harmony.security.fortress.Services.services.get ( key ) ; }

Target:
public static synchronized java.util.ArrayList < java.security.Provider.Service > getServices ( java.lang.String key ) { return org.apache.harmony.security.fortress.Services.services.get ( key ) ; }
Source:
public void run ( ) { broadcastIntent ( ) ; mHandler.postDelayed ( this , com.android.graphics.benchmark.example.SampleActivity.LOOP_PERIOD_MS ) ; }

Target:
public void run ( ) { broadcastIntent ( ) ; mHandler.postDelayed ( this , com.android.game.qualification.example.SampleActivity.LOOP_PERIOD_MS ) ; }
Source:
native void rsnAllocationData2D ( long con , long id , int xoff , int yoff , int mip , int face , int w , int h , long [ ] d , int sizeBytes ) ;

Target:
native void rsnScriptForEach ( long con , long incCon , long id , int slot , long ain , long aout , byte [ ] params , boolean mUseInc ) ;
Source:
public android.bluetooth.le.AdvertisingSetParameters.Builder setConnectable ( boolean connectable ) { this . connectable = connectable ; return this ; }

Target:
public android.bluetooth.le.AdvertisingSetParameters.Builder setScannable ( boolean scannable ) { mScannable = scannable ; return this ; }
Source:
private void requestHandover ( android.telecom.PhoneAccountHandle handoverToHandle , int videoState , android.os.Bundle extras ) { for ( com.android.server.telecom.Call.Listener l : mListeners ) { l.onHandoverRequested ( this , handoverToHandle , videoState , extras ) ; } }

Target:
private void requestHandover ( android.telecom.PhoneAccountHandle handoverToHandle , int videoState , android.os.Bundle extras , boolean isLegacy ) { for ( com.android.server.telecom.Call.Listener l : mListeners ) { l.onHandoverRequested ( this , handoverToHandle , videoState , extras , isLegacy ) ; } }
Source:
public void testReplaceFailSdcard ( ) { sampleReplaceFromRawResource ( PackageManager.INSTALL_EXTERNAL ) ; }

Target:
public void testReplaceFailSdcard ( ) { if ( android.os.Environment.isExternalStorageEmulated ( ) ) { return ; } sampleReplaceFromRawResource ( PackageManager.INSTALL_EXTERNAL ) ; }
Source:
public void enable ( java.lang.String id ) { enable.add ( id ) ; com.android.build.gradle.internal.dsl.def issue = new com.android.tools.lint.checks.BuiltinIssueRegistry ( ) . getIssue ( id ) ; severities.put ( id , ( issue != null ? issue.defaultSeverity : com.android.tools.lint.detector.api.Severity.WARNING ) ) ; }

Target:
public void enable ( java.lang.String id ) { enable.add ( id ) ; com.android.tools.lint.detector.api.Issue issue = new com.android.tools.lint.checks.BuiltinIssueRegistry ( ) . getIssue ( id ) ; severities.put ( id , ( issue != null ? issue.getDefaultSeverity ( ) : com.android.tools.lint.detector.api.Severity.WARNING ) ) ; }
Source:
public void takePersistableUriPermission ( android.net.Uri uri , int modeFlags ) { try { android.app.ActivityManagerNative.getDefault ( ) . takePersistableUriPermission ( uri , modeFlags ) ; } catch ( android.os.RemoteException e ) { } }

Target:
public static void cancelSync ( android.accounts.Account account , java.lang.String authority ) { try { android.content.ContentResolver.getContentService ( ) . cancelSync ( account , authority , null ) ; } catch ( android.os.RemoteException e ) { } }
Source:
public void onTabChanged ( java.lang.String tabId ) { if ( com.android.phone.MobileNetworkSettings.MobileNetworkFragment.DBG ) com.android.phone.MobileNetworkSettings.MobileNetworkFragment.log ( "onTabChanged:" ) ; updatePhone ( java.lang.Integer.parseInt ( tabId ) ) ; updateBody ( ) ; }

Target:
public void onSubscriptionsChanged ( ) { if ( com.android.phone.MobileNetworkSettings.MobileNetworkFragment.DBG ) com.android.phone.MobileNetworkSettings.MobileNetworkFragment.log ( "onSubscriptionsChanged:" ) ; initializeSubscriptions ( ) ; }
Source:
protected void runImpl ( ) { mHostSideTestRunner = new com.android.cts.HostSideOnlyTest.HostSideTestRunner ( this ) ; mHostSideTestRunner.start ( ) ; }

Target:
protected void runImpl ( android.annotation.cts.Profile profile ) { mHostSideTestRunner = new com.android.cts.HostSideOnlyTest.HostSideTestRunner ( this ) ; mHostSideTestRunner.start ( ) ; }
Source:
public void testKEKDESede ( ) throws java.lang.Exception { tryKekAlgorithm ( org.bouncycastle.cms.test.CMSTestUtil.makeDesede192Key ( ) , new org.bouncycastle.asn1.DERObjectIdentifier ( "1.2.840.113549.1.9.16.3.6" ) ) ; }

Target:
public void testKEKDESede ( ) throws java.lang.Exception { tryKekAlgorithm ( org.bouncycastle.cms.test.CMSTestUtil.makeDesede192Key ( ) , new org.bouncycastle.asn1.ASN1ObjectIdentifier ( "1.2.840.113549.1.9.16.3.6" ) ) ; }
Source:
public int getSpi ( ) { checkOwnerOrSystemAndThrow ( ) ; return mSpi ; }

Target:
public void setOwnedByTransform ( ) { if ( mOwnedByTransform ) { throw new java.lang.IllegalStateException ( "Cannot own an SPI twice!" ) ; } mOwnedByTransform = true ; }
Source:
public void testAnnotation003 ( ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( ANNOTATION003 ) . setSourceLevel ( SourceLevel.JAVA_8 ) . compileAndRunTest ( ) ; }

Target:
public void testAnnotation003 ( ) throws java.lang.Exception { compileAndRun ( ANNOTATION003 ) ; }
Source:
public static void computeCos ( android.renderscript.cts.TestCos.ArgumentsFloatFloat args ) { args.ulf = 4 ; args.ulfRelaxed = 4 ; args.out = ( ( float ) ( java.lang.StrictMath.cos ( args.in ) ) ) ; }

Target:
public static void computeLog2 ( android.renderscript.cts.TestLog2.ArgumentsFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( android.renderscript.cts.CoreMathVerifier.log2 ( args.in ) , 3 , 128 ) ; }
Source:
public void iccTransmitApduBasicChannel ( int cla , int instruction , int p1 , int p2 , int p3 , java.lang.String data , android.os.Message response ) { iccTransmitApduHelper ( com.android.internal.telephony.RIL_REQUEST_SIM_TRANSMIT_APDU_BASIC , 0 , cla , instruction , p1 , p2 , p3 , data , response ) ; }

Target:
void writeMetricsNewSms ( int tech , int format ) { mMetrics.writeRilNewSms ( mPhoneId , tech , format ) ; }
Source:
public int getTag ( ) { return mBuffer.getInt ( android.util.EventLog.Event.TAG_OFFSET ) ; }

Target:
public int getTag ( ) { int offset = mBuffer.getShort ( android.util.EventLog.Event.HEADER_SIZE_OFFSET ) ; if ( offset == 0 ) { offset = android.util.EventLog.Event.V1_PAYLOAD_START ; } return mBuffer.getInt ( offset ) ; }
Source:
public void fatal ( java.lang.String id ) { severities.put ( id , Severity.FATAL ) ; }

Target:
public void warning ( java.lang.String id ) { severities.put ( id , com.android.tools.lint.detector.api.Severity.WARNING ) ; }
Source:
synchronized void nContextSetPriority ( int p ) { validate ( ) ; rsnContextSetPriority ( mContext , p ) ; }

Target:
void nObjDestroy ( long id ) { if ( ( mContext ) != 0 ) { rsnObjDestroy ( mContext , id ) ; } }
Source:
public static int ReturnInt33 ( ) { long imm = Main.$inline$long ( 33L ) ; return ( ( int ) ( imm ) ) ; }

Target:
public static double ReturnDouble99P25 ( ) { float imm = 99.25F ; return ( ( double ) ( imm ) ) ; }
Source:
public void setCodecConfigPreference ( android.bluetooth.BluetoothCodecConfig codecConfig ) { com.android.bluetooth.a2dp.A2dpService service = getService ( ) ; if ( service == null ) { return ; } service.setCodecConfigPreference ( codecConfig ) ; }

Target:
public android.bluetooth.BluetoothCodecStatus getCodecStatus ( android.bluetooth.BluetoothDevice device ) { com.android.bluetooth.a2dp.A2dpService service = getService ( ) ; if ( service == null ) { return null ; } return service.getCodecStatus ( device ) ; }
Source:
public static boolean matchesAny ( java.util.List < com.google.currysrc.api.transform.ast.BodyDeclarationLocater > locaters , org.eclipse.jdt.core.dom.BodyDeclaration node ) { for ( com.google.currysrc.api.transform.ast.BodyDeclarationLocater locater : locaters ) { if ( locater.matches ( node ) ) { return true ; } } return false ; }

Target:
public static boolean matchesAny ( java.util.List < com.google.currysrc.api.process.ast.BodyDeclarationLocator > locators , org.eclipse.jdt.core.dom.BodyDeclaration node ) { for ( com.google.currysrc.api.process.ast.BodyDeclarationLocator locator : locators ) { if ( locator.matches ( node ) ) { return true ; } } return false ; }
Source:
private void sendStorageIntent ( java.lang.String action , android.os.storage.StorageVolume volume , android.os.UserHandle user ) { final android.content.Intent intent = new android.content.Intent ( action , android.net.Uri.parse ( ( "file://" + ( volume.getPath ( ) ) ) ) ) ; intent.putExtra ( StorageVolume.EXTRA_STORAGE_VOLUME , volume ) ; android.util.Slog.d ( com.android.server.MountService.TAG , ( ( ( "sendStorageIntent " + intent ) + " to " ) + user ) ) ; mContext.sendBroadcastAsUser ( intent , user ) ; }

Target:
private void sendStorageIntent ( java.lang.String action , android.os.storage.StorageVolume volume , android.os.UserHandle user ) { final android.content.Intent intent = new android.content.Intent ( action , android.net.Uri.parse ( ( "file://" + ( volume.getPath ( ) ) ) ) ) ; intent.putExtra ( StorageVolume.EXTRA_STORAGE_VOLUME , volume ) ; intent.addFlags ( Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT ) ; android.util.Slog.d ( com.android.server.MountService.TAG , ( ( ( "sendStorageIntent " + intent ) + " to " ) + user ) ) ; mContext.sendBroadcastAsUser ( intent , user ) ; }
Source:
private com.android.sched.vfs.InputVFile getIntermediateDexFile ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface type ) throws com.android.jack.library.FileTypeDoesNotExistException { return com.android.jack.Jack.getSession ( ) . getJackInternalOutputLibrary ( ) . getFile ( FileType.DEX , new com.android.sched.vfs.VPath ( com.android.jack.ir.formatter.BinaryQualifiedNameFormatter.getFormatter ( ) . getName ( type ) , '/' ) ) ; }

Target:
private com.android.sched.vfs.InputVFile getIntermediateDexFile ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface type ) throws com.android.jack.library.FileTypeDoesNotExistException { return com.android.jack.Jack.getSession ( ) . getJackOutputLibrary ( ) . getFile ( FileType.DEX , new com.android.sched.vfs.VPath ( com.android.jack.ir.formatter.BinaryQualifiedNameFormatter.getFormatter ( ) . getName ( type ) , '/' ) ) ; }
Source:
protected int handleGetExtendedYear ( ) { return 0 ; }

Target:
protected int handleGetExtendedYear ( ) { return 2017 ; }
Source:
public void testXmlMenus ( ) throws java.lang.Exception { assertEquals ( "menu-land/actions.xml:6: Warning: Prefer \"ifRoom\" instead of \"always\"" , lintProject ( "res/menu-land/actions.xml" ) ) ; }

Target:
public void testXmlMenus ( ) throws java.lang.Exception { assertEquals ( ( "res/menu-land/actions.xml:6: Warning: Prefer \"ifRoom\" instead of \"always\" [AlwaysShowAction]\n" + ( ( ( ( ( ( " android:showAsAction=\"always|collapseActionView\"\n" + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + " res/menu-land/actions.xml:13: <No location-specific message\n" ) + " res/menu-land/actions.xml:18: <No location-specific message\n" ) + " res/menu-land/actions.xml:54: <No location-specific message\n" ) + "0 errors, 1 warnings\n" ) + "" ) ) , lintProject ( "res/menu-land/actions.xml" ) ) ; }
Source:
public static < V > void addCallback ( com.google.common.util.concurrent.ListenableFuture < V > future , com.google.common.util.concurrent.FutureCallback < ? super V > callback ) { com.google.common.util.concurrent.Futures.addCallback ( future , callback , com.google.common.util.concurrent.MoreExecutors.sameThreadExecutor ( ) ) ; }

Target:
public static < V > void addCallback ( com.google.common.util.concurrent.ListenableFuture < V > future , com.google.common.util.concurrent.FutureCallback < ? super V > callback ) { com.google.common.util.concurrent.Futures.addCallback ( future , callback , com.google.common.util.concurrent.MoreExecutors.directExecutor ( ) ) ; }
Source:
public com.android.jack.jayce.ParameterNode getParameterNode ( @ javax.annotation.Nonnegative int parameterNodeIndex ) { assert ( parameters ) != null ; return parameters.get ( parameterNodeIndex ) ; }

Target:
public java.util.List < com.android.jack.jayce.v0002.nodes.NParameter > getParameters ( ) { return parameters ; }
Source:
public void unregisterForCdmaOtaStatusChange ( android.os.Handler h ) { mCM.unregisterForCdmaOtaProvision ( h ) ; }

Target:
public void registerForCdmaOtaStatusChange ( android.os.Handler h , int what , java.lang.Object obj ) { mCi.registerForCdmaOtaProvision ( h , what , obj ) ; }
Source:
protected java.lang.String getDebuggeeClassName ( ) { return "org.apache.harmony.jpda.tests.jdwp.VirtualMachine.ResumeDebuggee" ; }

Target:
protected java.lang.String getDebuggeeClassName ( ) { return org.apache.harmony.jpda.tests.jdwp.VirtualMachine.ResumeDebuggee.class . getName ( ) ; }
Source:
public void callSessionUssdMessageReceived ( com.android.ims.internal.IImsCallSession i , int mode , java.lang.String message ) throws android.os.RemoteException { mNewListener.callSessionUssdMessageReceived ( mode , message ) ; }

Target:
public void callSessionMergeStarted ( com.android.ims.internal.IImsCallSession i , com.android.ims.internal.IImsCallSession newSession , android.telephony.ims.ImsCallProfile profile ) throws android.os.RemoteException { mNewListener.callSessionMergeStarted ( newSession , profile ) ; }
Source:
public static int intToFloatToInt ( int value ) { return ( ( int ) ( ( float ) ( value ) ) ) ; }

Target:
public static short $noinline$floatToIntToShort ( float value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( short ) ( value ) ) ; }
Source:
public void onReceive ( android.content.Context context , android.content.Intent intent ) { getListView ( ) . invalidateViews ( ) ; com.android.music.MusicUtils.updateNowPlaying ( this ) ; }

Target:
public void onMetadataChanged ( android.media.MediaMetadata metadata ) { super . onMetadataChanged ( metadata ) ; com.android.music.MusicUtils.updateNowPlaying ( this ) ; if ( ( mBrowseListAdapter ) != null ) { mBrowseListAdapter.notifyDataSetChanged ( ) ; } }
Source:
public javax.swing.JComponent getPreferredFocusedComponent ( ) { return myStateCombo.getComboBox ( ) ; }

Target:
public javax.swing.JComponent getPreferredFocusedComponent ( ) { return myStateCombo.isVisible ( ) ? myStateCombo.getComboBox ( ) : null ; }
Source:
boolean isValid ( ) { return true ; }

Target:
private static java.lang.String getFieldType ( org.eclipse.jdt.internal.compiler.lookup.FieldBinding binding ) { if ( ( binding.type ) != null ) { return new java.lang.String ( binding.type.readableName ( ) ) ; } return null ; }
Source:
public void groupSelectionChanged ( com.google.gct.testing.TwoPanelTreeTypeGroupSelectionEvent e ) { myDimensionNameLabel.setText ( e.getGroup ( ) . getName ( ) ) ; myConfigurationInfoLabel.setText ( "" ) ; }

Target:
public void groupSelectionChanged ( com.google.gct.testing.TwoPanelTreeTypeGroupSelectionEvent e ) { myDimensionNameLabel.setText ( e.getGroup ( ) . getDescription ( ) ) ; myConfigurationInfoLabel.setText ( "" ) ; }
Source:
public void upgradeToLiteral ( ) { com.android.dx.ssa.RegisterSpecList oldSources = insn.getSources ( ) ; insn = insn.withSourceLiteral ( ) ; getBlock ( ) . getParent ( ) . onSourcesChanged ( this , oldSources ) ; }

Target:
public void upgradeToLiteral ( ) { com.android.dx.rop.code.RegisterSpecList oldSources = insn.getSources ( ) ; insn = insn.withSourceLiteral ( ) ; getBlock ( ) . getParent ( ) . onSourcesChanged ( this , oldSources ) ; }
Source:
protected static java.io.File getDexFile ( @ javax.annotation.Nonnull java.lang.String typeName ) { return new java.io.File ( com.android.jack.experimental.incremental.JackIncremental.dexFilesFolder , new com.android.sched.vfs.VPath ( ( typeName + ( FileType.DEX.getFileExtension ( ) ) ) , com.android.jack.experimental.incremental.JackIncremental.fileSeparator ) . getPathAsString ( java.io.File.separatorChar ) ) ; }

Target:
protected static java.io.File getDexFile ( @ javax.annotation.Nonnull java.lang.String typeName ) { assert ( com.android.jack.experimental.incremental.JackIncremental.incrementalInputLibrary ) != null ; return new java.io.File ( com.android.jack.experimental.incremental.JackIncremental.incrementalFolder , FileType.DEX.buildFileVPath ( new com.android.sched.vfs.VPath ( typeName , com.android.jack.experimental.incremental.JackIncremental.fileSeparator ) ) . getPathAsString ( java.io.File.separatorChar ) ) ; }
Source:
public static native long EVP_PKEY_new_mac_key ( int type , byte [ ] key ) ;

Target:
public static native void HMAC_Init_ex ( org.conscrypt.NativeRef.HMAC_CTX ctx , byte [ ] key , long evp_md ) ;
Source:
public void test_U8_4_SCALE20_20_inRectangle ( ) { testReszie ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inY , Element.DataType.UNSIGNED_8 , 4 , 2.0F , 2.0F ) ; checkError ( ) ; }

Target:
public void test_U8_4_SCALE20_20_inRectangle ( ) { testResize ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inY , Element.DataType.UNSIGNED_8 , 4 , 2.0F , 2.0F ) ; checkError ( ) ; }
Source:
private void onVolumeChange ( int type , int volume ) { com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent event = new com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.EVENT_TYPE_VOLUME_CHANGED ) ; event.valueInt = type ; event.valueInt2 = volume ; android.util.Log.d ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.TAG , ( "incoming" + event ) ) ; sendMessage ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.STACK_EVENT , event ) ; }

Target:
private void onNetworkRoaming ( int state ) { com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent event = new com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.EVENT_TYPE_ROAMING_STATE ) ; event.valueInt = state ; if ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.DBG ) { android.util.Log.d ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.TAG , ( "incoming" + event ) ) ; } sendMessage ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.STACK_EVENT , event ) ; }
Source:
public void removeTransportModeTransform ( java.io.FileDescriptor socket , android.net.IpSecTransform transform ) throws java.io.IOException { try ( android.os.ParcelFileDescriptor pfd = android.os.ParcelFileDescriptor.dup ( socket ) ) { removeTransportModeTransform ( pfd , transform ) ; } }

Target:
public void removeTransportModeTransforms ( java.io.FileDescriptor socket , android.net.IpSecTransform transform ) throws java.io.IOException { try ( android.os.ParcelFileDescriptor pfd = android.os.ParcelFileDescriptor.dup ( socket ) ) { removeTransportModeTransforms ( pfd , transform ) ; } }
Source:
public void test_SingletonMap_compute ( ) { try { java.util.Collections.singletonMap ( 1 , 11.0 ) . compute ( 1 , ( k , v ) -> 5.0 ) ; fail ( ) ; } catch ( java.lang.UnsupportedOperationException expected ) { } }

Target:
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 ) { } }
Source:
public java.util.Iterator < K > iterator ( ) { return com.google.common.collect.Maps.keyIterator ( multimap ( ) . entries ( ) . iterator ( ) ) ; }

Target:
public int count ( @ javax.annotation.Nullable java.lang.Object element ) { java.util.Collection < V > values = com.google.common.collect.Maps.safeGet ( multimap.asMap ( ) , element ) ; return values == null ? 0 : values.size ( ) ; }
Source:
public void init ( org.bouncycastle.crypto.params.AsymmetricKeyParameter privateKey , org.bouncycastle.crypto.CipherParameters params , org.bouncycastle.crypto.KeyParser publicKeyParser ) { this . forEncryption = false ; this . privParam = privateKey ; this . param = ( ( org.bouncycastle.crypto.params.IESParameters ) ( params ) ) ; this . keyParser = publicKeyParser ; }

Target:
public void init ( org.bouncycastle.crypto.params.AsymmetricKeyParameter privateKey , org.bouncycastle.crypto.CipherParameters params , org.bouncycastle.crypto.KeyParser publicKeyParser ) { this . forEncryption = false ; this . privParam = privateKey ; this . keyParser = publicKeyParser ; extractParams ( params ) ; }
Source:
private static int findUnusedPort ( ) throws java.lang.Exception { java.net.ServerSocket s = new java.net.ServerSocket ( 0 ) ; int port = s.getLocalPort ( ) ; s.close ( ) ; return port ; }

Target:
private static int findUnusedPort ( ) throws java.lang.Exception { java.net.DatagramSocket s = new java.net.DatagramSocket ( ) ; int port = s.getLocalPort ( ) ; s.close ( ) ; return port ; }