auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void run ( ) { org.eclipse.ui.IWorkbenchWindow window = workbench.getActiveWorkbenchWindow ( ) ; if ( window != null ) { com.android.ide.eclipse.adt.internal.editors.layout.gle2.LayoutWindowCoordinator.start ( window ) ; } }

Target:
public void run ( ) { for ( org.eclipse.ui.IWorkbenchWindow window : workbench.getWorkbenchWindows ( ) ) { com.android.ide.eclipse.adt.internal.editors.layout.gle2.LayoutWindowCoordinator.get ( window , true ) ; } }
Source:
public void testJustInfoAndWarning ( ) { com.android.manifmerger.MergingReport mergingReport = new com.android.manifmerger.MergingReport.Builder ( mLoggerMock ) . addInfo ( "merging info" ) . addWarning ( "Something weird happened" ) . build ( ) ; assertEquals ( MergingReport.Result.WARNING , mergingReport.getResult ( ) ) ; }

Target:
public void testJustInfo ( ) { com.android.manifmerger.MergingReport mergingReport = new com.android.manifmerger.MergingReport.Builder ( mLoggerMock ) . addMessage ( mSourceLocation , 0 , 0 , Severity.INFO , "merging info" ) . build ( ) ; assertEquals ( MergingReport.Result.SUCCESS , mergingReport.getResult ( ) ) ; }
Source:
protected void onCreate ( android.os.Bundle savedInstanceState ) { super . onCreate ( savedInstanceState ) ; com.android.dialer.common.LogUtil.enterBlock ( "MainActivity.onCreate" ) ; activePeer = getNewPeer ( ) ; activePeer.onActivityCreate ( savedInstanceState ) ; }

Target:
protected void onCreate ( android.os.Bundle savedInstanceState ) { super . onCreate ( savedInstanceState ) ; com.android.dialer.common.LogUtil.enterBlock ( "MainActivity.onCreate" ) ; activePeer = getNewPeer ( ) ; activePeer.onActivityCreate ( savedInstanceState ) ; showBlockReportSpamDialogReceiver = new com.android.dialer.blockreportspam.ShowBlockReportSpamDialogReceiver ( getFragmentManager ( ) ) ; }
Source:
public void run ( final com.android.cts.TestDevice device , final com.android.cts.Test test ) throws com.android.cts.ADBServerNeedRestartException , com.android.cts.DeviceDisconnectedException { mTestStop = false ; mCurrentTest = test ; mCurrentTest.run ( device ) ; }

Target:
public void run ( final com.android.cts.TestDevice device , final com.android.cts.Test test , android.annotation.cts.Profile profile ) throws com.android.cts.ADBServerNeedRestartException , com.android.cts.DeviceDisconnectedException { mTestStop = false ; mCurrentTest = test ; mCurrentTest.run ( device , profile ) ; }
Source:
public void deliverError ( com.android.volley.VolleyError error ) { if ( ( mErrorListener ) != null ) { mErrorListener.onErrorResponse ( error ) ; } }

Target:
public void deliverError ( com.android.volley.VolleyError error ) { com.android.volley.Response.ErrorListener listener ; synchronized ( mLock ) { listener = mErrorListener ; } if ( listener != null ) { listener.onErrorResponse ( error ) ; } }
Source:
public void onLocalVideoCapabilityChanged ( boolean capable ) { setLocalVideoCapable ( capable ) ; }

Target:
public void onConnectionCapabilitiesChanged ( int capabilities ) { mHandler.obtainMessage ( com.android.services.telephony.TelephonyConnection.MSG_SET_ORIGNAL_CONNECTION_CAPABILITIES , capabilities , 0 ) . sendToTarget ( ) ; }
Source:
public boolean setIdleTime ( android.bluetooth.BluetoothDevice device , byte idleTime ) { com.android.bluetooth.hid.HidService service = getService ( ) ; if ( service == null ) { return false ; } return service.setIdleTime ( device , idleTime ) ; }

Target:
public boolean setIdleTime ( android.bluetooth.BluetoothDevice device , byte idleTime ) { com.android.bluetooth.hid.HidHostService service = getService ( ) ; if ( service == null ) { return false ; } return service.setIdleTime ( device , idleTime ) ; }
Source:
public void testWithInputType_ReturnsTrueIf_CorrectInput ( ) { android.widget.EditText editText = new android.widget.EditText ( context ) ; editText.setInputType ( InputType.TYPE_CLASS_NUMBER ) ; assertTrue ( android.support.test.espresso.matcher.ViewMatchers.withInputType ( InputType.TYPE_CLASS_NUMBER ) . matches ( editText ) ) ; }

Target:
public void withInputType_ReturnsTrueIf_CorrectInput ( ) { android.widget.EditText editText = new android.widget.EditText ( context ) ; editText.setInputType ( InputType.TYPE_CLASS_NUMBER ) ; org.junit.Assert.assertTrue ( android.support.test.espresso.matcher.ViewMatchers.withInputType ( InputType.TYPE_CLASS_NUMBER ) . matches ( editText ) ) ; }
Source:
public void dump ( java.lang.StringBuilder sb ) { mMediaPlayerList.dump ( sb ) ; }

Target:
public void dump ( java.lang.StringBuilder sb ) { if ( ( mMediaPlayerList ) != null ) { mMediaPlayerList.dump ( sb ) ; } else { sb.append ( "\nMedia Player List is empty\n" ) ; } }
Source:
public static void computeExp2 ( android.renderscript.cts.TestExp2.ArgumentsFloatFloat args ) { args.ulf = 4 ; args.ulfRelaxed = 16 ; args.out = ( ( float ) ( java.lang.StrictMath.pow ( 2.0 , 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:
public long getLong ( java.lang.String name , long defaultValue ) { java.lang.String value = get ( name , null ) ; return value == null ? defaultValue : java.lang.Long.parseLong ( value ) ; }

Target:
public long getLong ( java.lang.String name , long defaultValue ) { java.lang.String value = get ( name , null ) ; return value == null ? defaultValue : java.lang.Long.decode ( value ) ; }
Source:
public abstract boolean isMarked ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JNode node ) ;

Target:
public void run ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface type ) throws java.lang.Exception { if ( brush.startTraceSeed ( type ) ) { trace ( type ) ; brush.endTraceSeed ( type ) ; } }
Source:
public com.android.tools.lint.client.api.Configuration getConfiguration ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Project project ) { return mDelegate.getConfiguration ( project ) ; }

Target:
public com.android.tools.lint.client.api.Configuration getConfiguration ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Project project , @ com.android.annotations.Nullable com.android.tools.lint.client.api.LintDriver driver ) { return mDelegate.getConfiguration ( project , driver ) ; }
Source:
public void breakpointBoolean ( boolean param ) { logWriter.println ( ( ( "breakpointBoolean(param=" + param ) + ")" ) ) ; }

Target:
public void breakpointBoolean ( boolean param ) { logWriter.println ( ( ( "breakpointBoolean(param=" + param ) + ")" ) ) ; synchronizeWithTest ( ) ; }
Source:
public static native void EC_POINT_set_affine_coordinates ( long groupCtx , long pointCtx , byte [ ] x , byte [ ] y ) ;

Target:
public static native void EC_POINT_set_affine_coordinates ( org.conscrypt.NativeRef.EC_GROUP groupRef , org.conscrypt.NativeRef.EC_POINT pointRef , byte [ ] x , byte [ ] y ) ;
Source:
public static void startMethodTracing ( ) { dalvik.system.VMDebug.startMethodTracing ( dalvik.system.VMDebug.DEFAULT_METHOD_TRACE_FILE_NAME , 0 , 0 ) ; }

Target:
public static void startMethodTracing ( ) { throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
public void testIllegalReference ( ) throws java.lang.Exception { mEnabled = java.util.Collections.singleton ( ManifestOrderDetector.ILLEGAL_REFERENCE ) ; assertEquals ( ( "" + ( ( ( ( ( ( ( ( ( ( ( ( "AndroidManifest.xml:2: Warning: The android:versionCode cannot be a resource url, it must be a literal integer [IllegalResourceRef]\n" + "<manifest xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" ) + "^\n" ) + "AndroidManifest.xml:2: Warning: The android:versionName cannot be a resource url, it must be a literal string [IllegalResourceRef]\n" ) + "<manifest xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" ) + "^\n" ) + "AndroidManifest.xml:7: Warning: The android:minSdkVersion cannot be a resource url, it must be a literal integer (or string if a preview codename) [IllegalResourceRef]\n" ) + " <uses-sdk android:minSdkVersion=\"@dimen/minSdkVersion\" android:targetSdkVersion=\"@dimen/targetSdkVersion\" />\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "AndroidManifest.xml:7: Warning: The android:targetSdkVersion cannot be a resource url, it must be a literal integer (or string if a preview codename) [IllegalResourceRef]\n" ) + " <uses-sdk android:minSdkVersion=\"@dimen/minSdkVersion\" android:targetSdkVersion=\"@dimen/targetSdkVersion\" />\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "0 errors, 4 warnings\n" ) ) , lintProject ( "illegal_version.xml=>AndroidManifest.xml" ) ) ; }

Target:
public void testIllegalReference ( ) throws java.lang.Exception { mEnabled = java.util.Collections.singleton ( ManifestDetector.ILLEGAL_REFERENCE ) ; assertEquals ( ( "" + ( ( ( ( ( ( ( ( ( ( ( ( "AndroidManifest.xml:2: Warning: The android:versionCode cannot be a resource url, it must be a literal integer [IllegalResourceRef]\n" + "<manifest xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" ) + "^\n" ) + "AndroidManifest.xml:2: Warning: The android:versionName cannot be a resource url, it must be a literal string [IllegalResourceRef]\n" ) + "<manifest xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" ) + "^\n" ) + "AndroidManifest.xml:7: Warning: The android:minSdkVersion cannot be a resource url, it must be a literal integer (or string if a preview codename) [IllegalResourceRef]\n" ) + " <uses-sdk android:minSdkVersion=\"@dimen/minSdkVersion\" android:targetSdkVersion=\"@dimen/targetSdkVersion\" />\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "AndroidManifest.xml:7: Warning: The android:targetSdkVersion cannot be a resource url, it must be a literal integer (or string if a preview codename) [IllegalResourceRef]\n" ) + " <uses-sdk android:minSdkVersion=\"@dimen/minSdkVersion\" android:targetSdkVersion=\"@dimen/targetSdkVersion\" />\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "0 errors, 4 warnings\n" ) ) , lintProject ( "illegal_version.xml=>AndroidManifest.xml" ) ) ; }
Source:
static short $opt$CharToShort ( char a ) { return ( ( short ) ( a ) ) ; }

Target:
static short $opt$CharToShort ( char a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( short ) ( a ) ) ; }
Source:
public static void computeRound ( android.renderscript.cts.TestRound.ArgumentsFloatFloat args ) { args.ulf = 0 ; args.ulfRelaxed = 0 ; args.out = java.lang.StrictMath.round ( args.in ) ; }

Target:
public static void computeRound ( android.renderscript.cts.TestRound.ArgumentsFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( android.renderscript.cts.CoreMathVerifier.round ( args.in ) , 0 , 0 ) ; }
Source:
public void onIntrData ( byte reportId , byte [ ] data ) { mCallback.onIntrData ( reportId , data ) ; }

Target:
public void onSetProtocol ( android.bluetooth.BluetoothDevice device , byte protocol ) { mCallback.onSetProtocol ( device , protocol ) ; }
Source:
public javax.net.ssl.SSLSocket createSocket ( java.net.Socket s , java.lang.String host , int port , boolean autoClose ) throws java.io.IOException { hostNameUsed.set ( host ) ; return ( ( javax.net.ssl.SSLSocket ) ( this . delegate.createSocket ( s , host , port , autoClose ) ) ) ; }

Target:
public void setOOBInline ( boolean on ) throws java.net.SocketException { delegate.setOOBInline ( on ) ; }
Source:
private static native void native_setMatrix ( int nCanvas , int nMatrix ) ;

Target:
private static native void native_setMatrix ( long nativeCanvas , long nativeMatrix ) ;
Source:
public static com.ibm.icu.impl.TimeZoneNamesImpl.ZNames getInstance ( com.ibm.icu.impl.TimeZoneNamesImpl.ZNamesLoader loader , com.ibm.icu.impl.ICUResourceBundle zoneStrings , java.lang.String key , java.lang.String tzID ) { return com.ibm.icu.impl.TimeZoneNamesImpl.ZNames.getInstance ( loader.load ( zoneStrings , key ) , tzID ) ; }

Target:
public void addAsTimeZoneIntoTrie ( java.lang.String tzID , com.ibm.icu.impl.TextTrieMap < com.ibm.icu.impl.TimeZoneNamesImpl.NameInfo > trie ) { addNamesIntoTrie ( null , tzID , trie ) ; }
Source:
void reset ( int i ) { mN.reset ( i ) ; }

Target:
void reset ( int i ) { mN.reset ( i ) ; mPos = i ; }
Source:
public void setName ( @ javax.annotation.Nonnull java.lang.String newName ) { assert ! ( ( name.contains ( "(" ) ) || ( name.contains ( ")" ) ) ) ; this . name = newName ; }

Target:
public void setName ( @ javax.annotation.Nonnull java.lang.String newName ) { assert ! ( ( name.contains ( "(" ) ) || ( name.contains ( ")" ) ) ) ; this . name = com.android.jack.ir.StringInterner.get ( ) . intern ( newName ) ; }
Source:
public void reset ( ) { com.android.dialer.common.LogUtil.i ( "NewVoicemailMediaPlayer.reset" , ( "the uri for this is " + ( voicemailUri ) ) ) ; voicemailUri = null ; voicemailLoadingStatusView.setVisibility ( com.android.dialer.voicemail.listui.GONE ) ; }

Target:
public void reset ( ) { com.android.dialer.common.LogUtil.i ( "NewVoicemailMediaPlayer.reset" , ( ( ( "the uri for this is " + ( voicemailUri ) ) + " and number is " ) + ( numberVoicemailFrom ) ) ) ; voicemailUri = null ; voicemailLoadingStatusView.setVisibility ( com.android.dialer.voicemail.listui.GONE ) ; numberVoicemailFrom = null ; }
Source:
public static org.hamcrest.Matcher < java.lang.String > equalToIgnoringWhiteSpace ( java.lang.String string ) { return new org.hamcrest.text.IsEqualIgnoringWhiteSpace ( string ) ; }

Target:
public static org.hamcrest.Matcher < java.lang.String > equalToIgnoringWhiteSpace ( java.lang.String expectedString ) { return new org.hamcrest.text.IsEqualIgnoringWhiteSpace ( expectedString ) ; }
Source:
public static final short secondaryOrder ( int order ) { return ( ( short ) ( java.text.com.ibm.icu.text.CollationElementIterator.secondaryOrder ( order ) ) ) ; }

Target:
public static final short secondaryOrder ( int order ) { return ( ( short ) ( libcore.icu.CollationElementIteratorICU.secondaryOrder ( order ) ) ) ; }
Source:
public void getDataCallListResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , java.util.ArrayList < android.hardware.radio.V1_0.SetupDataCallResult > var2 ) { }

Target:
public void getDataCallListResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , java.util.ArrayList < android.hardware.radio.V1_0.SetupDataCallResult > dcResponse ) { responseDataCallList ( responseInfo , dcResponse ) ; }
Source:
public void testGetRules ( ) throws java.text.ParseException { java.lang.String rule = "< a = b < c" ; java.text.RuleBasedCollator coll = new java.text.RuleBasedCollator ( rule ) ; assertEquals ( rule , coll.getRules ( ) ) ; }

Target:
public void testGetRules ( ) throws java.text.ParseException { java.lang.String rule = "&9 < a = b < c" ; java.text.RuleBasedCollator coll = new java.text.RuleBasedCollator ( rule ) ; assertEquals ( rule , coll.getRules ( ) ) ; }
Source:
public boolean isVideoTelephonyAvailable ( ) { return mPhone.isVideoEnabled ( ) ; }

Target:
public void enableVideoCalling ( boolean enable ) { enforceModifyPermission ( ) ; com.android.ims.ImsManager.getInstance ( mPhone.getContext ( ) , mPhone.getPhoneId ( ) ) . setVtSetting ( enable ) ; }
Source:
public final com.android.dialer.spam.status.SpamMetadata getSpamMetadata ( ) { return com.android.dialer.spam.status.SpamMetadata.empty ( ) ; }

Target:
public static com.android.dialer.spam.status.SimpleSpamStatus.Builder builder ( ) { return new com.android.dialer.spam.status.AutoValue_SimpleSpamStatus.Builder ( ) ; }
Source:
public void run ( ) { deviceMonitorLoop ( ) ; }

Target:
void start ( ) { mDeviceListMonitorTask = new com.android.ddmlib.DeviceMonitor.DeviceListMonitorTask ( mServer , new com.android.ddmlib.DeviceMonitor.DeviceListUpdateListener ( ) ) ; new java.lang.Thread ( mDeviceListMonitorTask , "Device List Monitor" ) . start ( ) ; }
Source:
public void start ( ) { android.util.Log.i ( com.android.server.wifi.nan.WifiNanServiceImpl.TAG , "Starting Wi-Fi NAN service" ) ; android.os.HandlerThread wifiNanThread = new android.os.HandlerThread ( "wifiNanService" ) ; wifiNanThread.start ( ) ; mStateManager.start ( mContext , wifiNanThread.getLooper ( ) ) ; }

Target:
public void start ( ) { android.util.Log.i ( com.android.server.wifi.aware.WifiAwareServiceImpl.TAG , "Starting Wi-Fi Aware service" ) ; android.os.HandlerThread wifiAwareThread = new android.os.HandlerThread ( "wifiAwareService" ) ; wifiAwareThread.start ( ) ; mStateManager.start ( mContext , wifiAwareThread.getLooper ( ) ) ; }
Source:
public void test_EmptyMap_compute ( ) { try { java.util.Collections.emptyMap ( ) . compute ( 1 , ( k , v ) -> 5.0 ) ; fail ( ) ; } catch ( java.lang.UnsupportedOperationException expected ) { } }

Target:
public void test_EmptyMap_computeIfPresent ( ) { try { java.util.Collections.emptyMap ( ) . computeIfPresent ( 1 , ( k , v ) -> 5.0 ) ; fail ( ) ; } catch ( java.lang.UnsupportedOperationException expected ) { } }
Source:
public java.lang.String getPath ( ) { return getTargetHash ( ) ; }

Target:
public java.lang.String getTargetHash ( ) { return getDesc ( ) . getPath ( ) ; }
Source:
public void clear ( ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
public com.google.common.collect.ImmutableCollection < V > replaceValues ( K key , java.lang.Iterable < ? extends V > values ) { throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
public static void dump ( android.content.Context context , java.io.FileDescriptor fd , java.io.PrintWriter writer , java.lang.String [ ] args ) { com.android.phone.vvm.omtp.utils.VvmDumpHandler.dump ( context , fd , writer , args ) ; }

Target:
public static void dump ( android.content.Context context , java.io.FileDescriptor fd , java.io.PrintWriter writer , java.lang.String [ ] args ) { com.android.phone.PhoneGlobals.getInstance ( ) . dump ( fd , writer , args ) ; com.android.phone.vvm.omtp.utils.VvmDumpHandler.dump ( context , fd , writer , args ) ; }
Source:
public boolean isEmpty ( ) { execute ( 'z' ) ; return ( mError ) == ( android.security.KeyStore.KEY_NOT_FOUND ) ; }

Target:
public boolean isEmpty ( ) { try { return ( mBinder.zero ( ) ) == ( android.security.KeyStore.KEY_NOT_FOUND ) ; } catch ( android.os.RemoteException e ) { android.util.Log.w ( android.security.KeyStore.TAG , "Cannot connect to keystore" , e ) ; return false ; } }
Source:
static < T extends java.lang.Throwable > T uncheckedThrowable ( final java.lang.Throwable t , final java.lang.Class < T > c ) { return ( ( T ) ( t ) ) ; }

Target:
void internalPropagateException ( java.lang.Throwable ex ) { java.util.concurrent.ForkJoinTask.rethrow ( ex ) ; }
Source:
private void constructGsmSendSmsRilRequest ( com.android.internal.telephony.RILRequest rr , java.lang.String smscPDU , java.lang.String pdu ) { rr.mParcel.writeInt ( 2 ) ; rr.mParcel.writeString ( smscPDU ) ; rr.mParcel.writeString ( pdu ) ; }

Target:
private void handleRadioProxyExceptionForRR ( com.android.internal.telephony.RILRequest rr , java.lang.String caller , java.lang.Exception e ) { riljLoge ( caller , e ) ; rr.onError ( com.android.internal.telephony.RADIO_NOT_AVAILABLE , null ) ; decrementWakeLock ( rr ) ; rr.release ( ) ; resetProxyAndRequestList ( ) ; }
Source:
static byte $opt$CharToByte ( char a ) { return ( ( byte ) ( a ) ) ; }

Target:
static short $opt$CharToShort ( char a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( short ) ( a ) ) ; }
Source:
public com.ibm.icu.impl.LocaleDisplayNamesImpl.DataTable get ( com.ibm.icu.util.ULocale locale ) { return NO_OP ; }

Target:
public com.ibm.icu.impl.LocaleDisplayNamesImpl.DataTable get ( com.ibm.icu.util.ULocale locale , boolean nullIfNotFound ) { return new com.ibm.icu.impl.LocaleDisplayNamesImpl.DataTable ( nullIfNotFound ) ; }
Source:
private boolean isSupportedVersion ( int version ) { return ( version == ( com.android.server.pm.dex.PackageDexUsage.PACKAGE_DEX_USAGE_VERSION ) ) || ( version == ( com.android.server.pm.dex.PackageDexUsage.PACKAGE_DEX_USAGE_SUPPORTED_VERSION_1 ) ) ; }

Target:
private boolean isSupportedVersion ( int version ) { return ( version == ( com.android.server.pm.dex.PackageDexUsage.PACKAGE_DEX_USAGE_SUPPORTED_VERSION_1 ) ) || ( version == ( com.android.server.pm.dex.PackageDexUsage.PACKAGE_DEX_USAGE_SUPPORTED_VERSION_2 ) ) ; }
Source:
public static void computeStep ( android.renderscript.cts.TestStep.ArgumentsFloatFloatFloat args ) { args.ulf = 0 ; args.ulfRelaxed = 0 ; args.out = ( ( args.inV ) < ( args.inEdge ) ) ? 0.0F : 1.0F ; }

Target:
public static void computeStep ( android.renderscript.cts.TestStep.ArgumentsFloatFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( ( ( args.inV ) < ( args.inEdge ) ? 0.0F : 1.0F ) , 0 , 0 ) ; }
Source:
com.android.build.gradle.api.BaseVariant createVariantApi ( @ com.android.annotations.NonNull com.android.build.gradle.internal.variant.BaseVariantData < ? extends com.android.build.gradle.internal.variant.BaseVariantOutputData > variantData ) ;

Target:
com.android.build.gradle.api.BaseVariant createVariantApi ( @ com.android.annotations.NonNull com.android.build.gradle.internal.variant.BaseVariantData < ? extends com.android.build.gradle.internal.variant.BaseVariantOutputData > variantData , @ com.android.annotations.NonNull com.android.build.gradle.internal.api.ReadOnlyObjectProvider readOnlyObjectProvider ) ;
Source:
public libcore.util.ZoneInfoTestHelper.TzDataBuilder setZoneTab ( java.lang.String zoneTab ) { this . zoneTab = zoneTab ; return this ; }

Target:
public libcore.tzdata.testing.ZoneInfoTestHelper.TzDataBuilder setZoneTab ( java.lang.String zoneTab ) { this . zoneTab = zoneTab ; return this ; }
Source:
public void screenTurnedOn ( ) { android.util.EventLog.writeEvent ( 70000 , 1 ) ; mKeyguardMediator.onScreenTurnedOn ( ) ; synchronized ( mLock ) { mScreenOn = true ; updateOrientationListenerLp ( ) ; } }

Target:
public void screenTurnedOn ( ) { android.util.EventLog.writeEvent ( 70000 , 1 ) ; mKeyguardMediator.onScreenTurnedOn ( ) ; synchronized ( mLock ) { mScreenOn = true ; updateOrientationListenerLp ( ) ; updateLockScreenTimeout ( ) ; } }
Source:
public static native double cosh ( double x ) ;

Target:
public static native double log1p ( double x ) ;
Source:
public void run ( ) { com.android.bluetooth.opp.BluetoothOppManager.getInstance ( this ) . saveSendingFileInfo ( type , fileUri.toString ( ) , false ) ; launchDevicePicker ( ) ; finish ( ) ; }

Target:
private void showToast ( final java.lang.String msg ) { this . runOnUiThread ( new java.lang.Runnable ( ) { @ java.lang.Override public void run ( ) { android.widget.Toast.makeText ( getApplicationContext ( ) , msg , Toast.LENGTH_SHORT ) . show ( ) ; } } ) ; }
Source:
public android.net.IpSecManager.SecurityParameterIndex reserveSecurityParameterIndex ( int direction , java.net.InetAddress remoteAddress , int requestedSpi ) throws android.net.IpSecManager.ResourceUnavailableException , android.net.IpSecManager.SpiUnavailableException { return new android.net.IpSecManager.SecurityParameterIndex ( mService , direction , remoteAddress , requestedSpi ) ; }

Target:
public android.net.IpSecManager.SecurityParameterIndex reserveSecurityParameterIndex ( int direction , java.net.InetAddress remoteAddress , int requestedSpi ) throws android.net.IpSecManager.ResourceUnavailableException , android.net.IpSecManager.SpiUnavailableException { if ( requestedSpi == ( android.net.IpSecManager.INVALID_SECURITY_PARAMETER_INDEX ) ) { throw new java.lang.IllegalArgumentException ( "Requested SPI must be a valid (non-zero) SPI" ) ; } return new android.net.IpSecManager.SecurityParameterIndex ( mService , direction , remoteAddress , requestedSpi ) ; }
Source:
public static float FloatAddition ( ) { float a ; float b ; float c ; a = 1.0F ; b = 2.0F ; c = a + b ; return c ; }

Target:
public static float FloatAddition ( ) { float a ; float b ; float c ; a = Main.$inline$float ( 1.0F ) ; b = Main.$inline$float ( 2.0F ) ; c = a + b ; return c ; }
Source:
private java.io.File getTimeZoneDataApkFile ( java.lang.String testId ) throws java.lang.Exception { com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper buildHelper = new com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper ( mBuildInfo ) ; java.lang.String fileName = getTimeZoneDataApkName ( testId ) ; return new java.io.File ( buildHelper.getTestsDir ( ) , fileName ) ; }

Target:
private java.io.File getTimeZoneDataApkFile ( java.lang.String testId ) throws java.lang.Exception { com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper buildHelper = new com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper ( mBuildInfo ) ; java.lang.String fileName = getTimeZoneDataApkName ( testId ) ; return buildHelper.getTestFile ( fileName ) ; }
Source:
public sun.security.x509.KeyIdentifier getAuthKeyId ( ) throws java.io.IOException { sun.security.x509.AuthorityKeyIdentifierExtension aki = getAuthKeyIdExtension ( ) ; if ( aki != null ) { sun.security.x509.KeyIdentifier keyId = ( ( sun.security.x509.KeyIdentifier ) ( aki.get ( aki.KEY_ID ) ) ) ; return keyId ; } else { return null ; } }

Target:
public sun.security.x509.KeyIdentifier getAuthKeyId ( ) throws java.io.IOException { sun.security.x509.AuthorityKeyIdentifierExtension aki = getAuthKeyIdExtension ( ) ; if ( aki != null ) { sun.security.x509.KeyIdentifier keyId = ( ( sun.security.x509.KeyIdentifier ) ( aki.get ( sun.security.x509.AuthorityKeyIdentifierExtension.KEY_ID ) ) ) ; return keyId ; } else { return null ; } }
Source:
private void ensureCapacity ( ) { if ( ( templates ) == null ) { templates = new com.ibm.icu.impl.SimplePatternFormatter [ com.ibm.icu.text.QuantityFormatter.MAX_INDEX ] ; } }

Target:
private void ensureCapacity ( ) { if ( ( templates ) == null ) { templates = new com.ibm.icu.impl.SimplePatternFormatter [ com.ibm.icu.text.QuantityFormatter.INDEX_COUNT ] ; } }
Source:
public static int caseIgnoreCompare ( java.lang.String s1 , java.lang.String s2 ) { if ( s1 == s2 ) { return 0 ; } return android.icu.impl.locale.AsciiUtil.toLowerString ( s1 ) . compareTo ( android.icu.impl.locale.AsciiUtil.toLowerString ( s2 ) ) ; }

Target:
public static int caseIgnoreCompare ( java.lang.String s1 , java.lang.String s2 ) { if ( android.icu.impl.Utility.sameObjects ( s1 , s2 ) ) { return 0 ; } return android.icu.impl.locale.AsciiUtil.toLowerString ( s1 ) . compareTo ( android.icu.impl.locale.AsciiUtil.toLowerString ( s2 ) ) ; }
Source:
public void test_withHour_noChange_equal ( ) { java.time.LocalTime t = TEST_12_30_40_987654321.withHour ( 12 ) ; org.testng.Assert.assertEquals ( t , TEST_12_30_40_987654321 ) ; }

Target:
public void test_withHour_noChange_equal ( ) { java.time.LocalTime t = tck.java.time.TCKLocalTime.TEST_12_30_40_987654321.withHour ( 12 ) ; org.testng.Assert.assertEquals ( t , tck.java.time.TCKLocalTime.TEST_12_30_40_987654321 ) ; }
Source:
public java.util.Collection < java.lang.Class < ? extends com.android.sched.util.config.category.Category > > getCategories ( ) { return java.util.Collections.unmodifiableCollection ( categories ) ; }

Target:
public java.util.Collection < java.lang.Class < ? extends com.android.sched.util.config.category.Category > > getCategories ( ) { return java.util.Collections.unmodifiableCollection ( categories.keySet ( ) ) ; }
Source:
private com.android.sched.vfs.OutputVFile getOutputDex ( @ javax.annotation.Nonnull com.android.sched.vfs.OutputVFS outputVDir ) throws com.android.jack.backend.dex.DexWritingException { return getOutputDex ( outputVDir , 1 ) ; }

Target:
public void merge ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface type ) throws com.android.jack.backend.dex.DexWritingException { com.android.sched.vfs.InputVFile vFile = getDexInputVFileOfType ( jackOutputLibrary , type ) ; try { mergeDex ( merger , vFile ) ; } catch ( com.android.jack.tools.merger.MergingOverflowException e ) { throw new com.android.jack.backend.dex.DexWritingException ( new com.android.jack.backend.dex.SingleDexOverflowException ( e ) ) ; } }
Source:
static void loadParameters ( java.security.AlgorithmParameters params , org.bouncycastle.asn1.ASN1Encodable sParams ) throws org.bouncycastle.cms.CMSException { try { org.bouncycastle.jcajce.JcaJceUtils.loadParameters ( params , sParams ) ; } catch ( java.io.IOException e ) { throw new org.bouncycastle.cms.CMSException ( "error encoding algorithm parameters." , e ) ; } }

Target:
static void loadParameters ( java.security.AlgorithmParameters params , org.bouncycastle.asn1.ASN1Encodable sParams ) throws org.bouncycastle.cms.CMSException { try { org.bouncycastle.jcajce.util.JcaJceUtils.loadParameters ( params , sParams ) ; } catch ( java.io.IOException e ) { throw new org.bouncycastle.cms.CMSException ( "error encoding algorithm parameters." , e ) ; } }
Source:
public void testVFE12 ( ) { try { new dot.junit.opcodes.iput.d.T_iput_15 ( ) . run ( ) ; fail ( "expected IllegalAccessError" ) ; } catch ( java.lang.IllegalAccessError t ) { dot.junit.DxUtil.checkVerifyException ( t ) ; } }

Target:
public void testE5 ( ) { loadAndRun ( "dot.junit.opcodes.iput.d.T_iput_11" , java.lang.IllegalAccessError.class ) ; }
Source:
public static void loop2 ( boolean incoming ) { while ( true ) { java.lang.System.out.println ( "foo" ) ; while ( incoming ) { } } }

Target:
public static void loop2 ( boolean incoming ) { java.lang.System.out.println ( "Enter" ) ; while ( true ) { java.lang.System.out.println ( "foo" ) ; while ( incoming ) { } } }
Source:
public abstract java.util.Iterator < com.android.jack.ir.ast.JDefinedClassOrInterface > sortAndPrepare ( @ javax.annotation.Nonnull java.util.Collection < com.android.jack.ir.ast.JDefinedClassOrInterface > collection ) ;

Target:
public abstract java.util.Iterator < com.android.jack.ir.ast.JDefinedClassOrInterface > sortAndNumber ( java.util.Collection < com.android.jack.ir.ast.JDefinedClassOrInterface > collection ) ;
Source:
public org.json.JSONArray names ( ) { return nameValuePairs.isEmpty ( ) ? null : new org.json.JSONArray ( new java.util.ArrayList < java.lang.String > ( nameValuePairs.keySet ( ) ) ) ; }

Target:
public java.util.Iterator keys ( ) { return nameValuePairs.keySet ( ) . iterator ( ) ; }
Source:
public void setSoTimeout ( int readTimeoutMilliseconds ) throws java.net.SocketException { super . setSoTimeout ( readTimeoutMilliseconds ) ; this . readTimeoutMilliseconds = readTimeoutMilliseconds ; }

Target:
public void setSoTimeout ( int readTimeoutMilliseconds ) throws java.net.SocketException { if ( ( socket ) != ( this ) ) { socket.setSoTimeout ( readTimeoutMilliseconds ) ; } else { super . setSoTimeout ( readTimeoutMilliseconds ) ; } this . readTimeoutMilliseconds = readTimeoutMilliseconds ; }
Source:
public android.bluetooth.BluetoothCodecConfig getCodecConfig ( ) { com.android.bluetooth.a2dp.A2dpService service = getService ( ) ; if ( service == null ) return null ; return service.getCodecConfig ( ) ; }

Target:
public android.bluetooth.BluetoothCodecStatus getCodecStatus ( ) { com.android.bluetooth.a2dp.A2dpService service = getService ( ) ; if ( service == null ) return null ; return service.getCodecStatus ( ) ; }
Source:
public java.lang.String formatValue ( @ javax.annotation.Nonnull java.lang.String name ) { return name ; }

Target:
public java.lang.String formatValue ( @ javax.annotation.Nonnull com.android.jack.util.MethodNameCodec.MethodNameValue name ) { return name.getFullName ( ) ; }
Source:
public final native android.os.HwBlob readEmbeddedBuffer ( long parentHandle , long offset ) ;

Target:
public final native android.os.HwBlob readEmbeddedBuffer ( long parentHandle , long offset , boolean nullable ) ;
Source:
public void setFacilityLockForAppResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , int var2 ) { }

Target:
public void iccTransmitApduBasicChannelResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , com.android.internal.telephony.V1_0.IccIoResult result ) { responseIccIo ( responseInfo , result ) ; }
Source:
public java.lang.Void call ( ) throws java.lang.Exception { com.android.build.gradle.model.DefaultAndroidBinary binary = com.android.build.gradle.model.androidBinary ; com.android.build.gradle.model.DefaultAndroidBinary variantManager ; }

Target:
public void execute ( com.android.build.gradle.model.AndroidBinary androidBinary ) { com.android.build.gradle.model.DefaultAndroidBinary binary = ( ( com.android.build.gradle.model.DefaultAndroidBinary ) ( androidBinary ) ) ; variantManager.createTasksForVariantData ( new com.android.build.gradle.model.TaskCollectionBuilderAdaptor ( tasks ) , binary.getVariantData ( ) ) ; }
Source:
protected void testCreatedSystemImagePackage ( com.android.sdklib.internal.repository.packages.SystemImagePackage p ) { super . testCreatedPackage ( p ) ; assertEquals ( "API 5" , p.getVersion ( ) . toString ( ) ) ; assertEquals ( "armeabi-v7a" , p.getAbi ( ) ) ; }

Target:
protected void testCreatedSystemImagePackage ( com.android.sdklib.internal.repository.packages.SystemImagePackage p ) { super . testCreatedPackage ( p ) ; assertEquals ( "API 5" , p.getAndroidVersion ( ) . toString ( ) ) ; assertEquals ( "armeabi-v7a" , p.getAbi ( ) ) ; }
Source:
public void mouseWheelMoved ( java.awt.event.MouseWheelEvent e ) { if ( ( mySingleRowLayout.myLastSingRowLayout ) != null ) { mySingleRowLayout.scroll ( ( ( e.getUnitsToScroll ( ) ) * ( mySingleRowLayout.getScrollUnitIncrement ( ) ) ) ) ; revalidateAndRepaint ( false ) ; } }

Target:
public void mousePressed ( final java.awt.event.MouseEvent e ) { if ( ( ( ( mySingleRowLayout.myLastSingRowLayout ) != null ) && ( ( mySingleRowLayout.myLastSingRowLayout.moreRect ) != null ) ) && ( mySingleRowLayout.myLastSingRowLayout.moreRect.contains ( e.getPoint ( ) ) ) ) { showMorePopup ( e ) ; } }
Source:
public void testValidOrder ( ) throws java.io.IOException , javax.xml.parsers.ParserConfigurationException , org.xml.sax.SAXException { java.lang.String input = "" + ( ( ( ( ( ( ( ( ( ( ( "<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" ) + " <activity android:name=\"activityOne\"/>" ) + "\n" ) + " <uses-sdk minSdkVersion=\"14\"/>" ) + "\n" ) + " <application android:label=\"@string/lib_name\" />\n" ) + "\n" ) + "</manifest>" ) ; com.android.manifmerger.XmlDocument xmlDocument = com.android.manifmerger.TestUtils.xmlDocumentFromString ( new com.android.manifmerger.TestUtils.TestSourceLocation ( getClass ( ) , "testInvalidOrder" ) , input ) ; com.android.manifmerger.MergingReport.Builder mergingReportBuilder = new com.android.manifmerger.MergingReport.Builder ( mILogger ) ; com.android.manifmerger.PostValidator.validate ( xmlDocument , mergingReportBuilder ) ; org.w3c.dom.Node lastChild = xmlDocument.getRootNode ( ) . getXml ( ) . getLastChild ( ) ; while ( ( lastChild.getNodeType ( ) ) != ( org.w3c.dom.Node.ELEMENT_NODE ) ) { lastChild = lastChild.getPreviousSibling ( ) ; } com.android.manifmerger.OrphanXmlElement xmlElement = new com.android.manifmerger.OrphanXmlElement ( ( ( org.w3c.dom.Element ) ( lastChild ) ) ) ; assertEquals ( ManifestModel.NodeTypes.APPLICATION , xmlElement.getType ( ) ) ; }

Target:
public void testApplicationValidOrder ( ) throws java.io.IOException , javax.xml.parsers.ParserConfigurationException , org.xml.sax.SAXException { java.lang.String input = "" + ( ( ( ( ( ( ( ( ( ( ( "<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" ) + " <activity android:name=\"activityOne\"/>" ) + "\n" ) + " <uses-sdk minSdkVersion=\"14\"/>" ) + "\n" ) + " <application android:label=\"@string/lib_name\" />\n" ) + "\n" ) + "</manifest>" ) ; com.android.manifmerger.XmlDocument xmlDocument = com.android.manifmerger.TestUtils.xmlDocumentFromString ( new com.android.manifmerger.TestUtils.TestSourceLocation ( getClass ( ) , "testApplicationValidOrder" ) , input ) ; com.android.manifmerger.MergingReport.Builder mergingReportBuilder = new com.android.manifmerger.MergingReport.Builder ( mILogger ) ; com.android.manifmerger.PostValidator.validate ( xmlDocument , mergingReportBuilder ) ; org.w3c.dom.Node lastChild = xmlDocument.getRootNode ( ) . getXml ( ) . getLastChild ( ) ; while ( ( lastChild.getNodeType ( ) ) != ( org.w3c.dom.Node.ELEMENT_NODE ) ) { lastChild = lastChild.getPreviousSibling ( ) ; } com.android.manifmerger.OrphanXmlElement xmlElement = new com.android.manifmerger.OrphanXmlElement ( ( ( org.w3c.dom.Element ) ( lastChild ) ) ) ; assertEquals ( ManifestModel.NodeTypes.APPLICATION , xmlElement.getType ( ) ) ; }
Source:
private void storeRequestMap ( int clientId , int globalId , com.android.server.NsdService.ClientInfo clientInfo ) { clientInfo.mClientIds.put ( clientId , globalId ) ; mIdToClientInfoMap.put ( globalId , clientInfo ) ; }

Target:
private void storeRequestMap ( int clientId , int globalId , com.android.server.NsdService.ClientInfo clientInfo , int what ) { clientInfo.mClientIds.put ( clientId , globalId ) ; clientInfo.mClientRequests.put ( clientId , what ) ; mIdToClientInfoMap.put ( globalId , clientInfo ) ; }
Source:
public boolean installFilter ( ) { return android.os.cts.SeccompTest.installTestFilter ( ) ; }

Target:
public boolean installFilter ( ) { return android.os.cts.SeccompTest.installTestFilter ( getAssets ( ) ) ; }
Source:
public static java.security.cert.CertPath fromEncoding ( java.io.InputStream inStream ) throws java.security.cert.CertificateException { return org.conscrypt.OpenSSLX509CertPath.fromEncoding ( inStream , org.conscrypt.OpenSSLX509CertPath.DEFAULT_ENCODING ) ; }

Target:
public static java.security.cert.CertPath fromEncoding ( java.io.InputStream inStream ) throws java.security.cert.CertificateException { if ( inStream == null ) { throw new java.security.cert.CertificateException ( "inStream == null" ) ; } return org.conscrypt.OpenSSLX509CertPath.fromEncoding ( inStream , org.conscrypt.OpenSSLX509CertPath.DEFAULT_ENCODING ) ; }
Source:
public void setOffset ( int newOffset ) { this . icuIterator.setOffset ( newOffset ) ; }

Target:
public void setText ( java.text.CharacterIterator source ) { this . icuIterator.setText ( source ) ; }
Source:
public void tickerHalting ( ) { mStatusBarContents.setVisibility ( View.VISIBLE ) ; mTickerView.setVisibility ( View.GONE ) ; mStatusBarContents.startAnimation ( loadAnim ( com.android.internal.R.anim.fade_in , null ) ) ; }

Target:
public void tickerHalting ( ) { if ( ( mStatusBarContents.getVisibility ( ) ) != ( android.view.View.VISIBLE ) ) { mStatusBarContents.setVisibility ( View.VISIBLE ) ; mStatusBarContents.startAnimation ( loadAnim ( com.android.internal.R.anim.fade_in , null ) ) ; } mTickerView.setVisibility ( View.GONE ) ; }
Source:
public void removeTransportModeTransform ( java.net.Socket socket , android.net.IpSecTransform transform ) throws java.io.IOException { removeTransportModeTransform ( android.os.ParcelFileDescriptor.fromSocket ( socket ) , transform ) ; }

Target:
public void removeTransportModeTransform ( java.net.Socket socket , android.net.IpSecTransform transform ) throws java.io.IOException { try ( android.os.ParcelFileDescriptor pfd = android.os.ParcelFileDescriptor.fromSocket ( socket ) ) { removeTransportModeTransform ( pfd , transform ) ; } }
Source:
public void testGetPackage ( ) { assertEquals ( com.android.ide.eclipse.adt.internal.project.AndroidManifestParserTest.PACKAGE_NAME , mManifestTestApp.getPackage ( ) ) ; }

Target:
public void testGetVersionCode ( ) { assertEquals ( com.android.ide.eclipse.adt.internal.project.AndroidManifestParserTest.VERSION_CODE , mManifestTestApp.getVersionCode ( ) ) ; assertEquals ( null , mManifestInstrumentation.getVersionCode ( ) ) ; }
Source:
public int poll ( libcore.io.StructPollfd [ ] fds , int timeoutMs ) throws libcore.io.ErrnoException { if ( timeoutMs != 0 ) { dalvik.system.BlockGuard.getThreadPolicy ( ) . onNetwork ( ) ; } return os.poll ( fds , timeoutMs ) ; }

Target:
public int poll ( android.system.StructPollfd [ ] fds , int timeoutMs ) throws android.system.ErrnoException { if ( timeoutMs != 0 ) { dalvik.system.BlockGuard.getThreadPolicy ( ) . onNetwork ( ) ; } return os.poll ( fds , timeoutMs ) ; }
Source:
public java.lang.String toPattern ( android.icu.dev.test.format.NumberFormatTestData tuple ) { return null ; }

Target:
public java.lang.String format ( android.icu.dev.test.format.DataDrivenNumberFormatTestData tuple ) { if ( ( ( tuple.output ) != null ) && ( tuple.output.equals ( "fail" ) ) ) return "fail" ; return null ; }
Source:
public void testCreateCallSessionCompat ( ) throws java.lang.Exception { mCompatMmTelBinder.createCallSession ( 0 , org.mockito.Mockito.mock ( com.android.ims.ImsCallProfile.class ) ) ; org.junit.Assert.assertTrue ( mCompatMmTel.isCreateCallSessionCalled ) ; }

Target:
public void testCreateCallSessionCompat ( ) throws java.lang.Exception { mCompatMmTelBinder.createCallSession ( 0 , org.mockito.Mockito.mock ( android.telephony.ims.ImsCallProfile.class ) ) ; org.junit.Assert.assertTrue ( mCompatMmTel.isCreateCallSessionCalled ) ; }
Source:
public java.util.List < android.telephony.NeighboringCellInfo > getNeighboringCellInfo ( ) { try { return getITelephony ( ) . getNeighboringCellInfo ( ) ; } catch ( android.os.RemoteException ex ) { return null ; } catch ( java.lang.NullPointerException ex ) { return null ; } }

Target:
public java.util.List < android.telephony.NeighboringCellInfo > getNeighboringCellInfo ( ) { try { return getITelephony ( ) . getNeighboringCellInfo ( mContext.getOpPackageName ( ) ) ; } catch ( android.os.RemoteException ex ) { return null ; } catch ( java.lang.NullPointerException ex ) { return null ; } }
Source:
public boolean isVoicemailTranscriptionEnabled ( ) { return com.android.dialer.configprovider.ConfigProviderBindings.get ( context ) . getBoolean ( "voicemail_transcription_enabled" , false ) ; }

Target:
public boolean isVoicemailTranscriptionEnabled ( ) { return ( ( Build.VERSION.SDK_INT ) >= ( Build.VERSION_CODES.O ) ) && ( com.android.dialer.configprovider.ConfigProviderBindings.get ( context ) . getBoolean ( "voicemail_transcription_enabled" , false ) ) ; }
Source:
public void registerUidObserver ( android.app.IUidObserver observer ) { enforceCallingPermission ( android.Manifest.permission.SET_ACTIVITY_WATCHER , "registerUidObserver()" ) ; synchronized ( this ) { mUidObservers.register ( observer ) ; } }

Target:
public void registerUidObserver ( android.app.IUidObserver observer , int which ) { enforceCallingPermission ( android.Manifest.permission.SET_ACTIVITY_WATCHER , "registerUidObserver()" ) ; synchronized ( this ) { mUidObservers.register ( observer , which ) ; } }
Source:
public void testEncodeDecodeVideoFromBufferToBufferQCIF ( ) throws java.lang.Exception { setParameters ( 176 , 144 , 1000000 ) ; encodeDecodeVideoFromBuffer ( false ) ; }

Target:
public void testVP8EncodeDecodeVideoFromBufferToBufferQCIF ( ) throws java.lang.Exception { setParameters ( 176 , 144 , 1000000 , android.media.cts.EncodeDecodeTest.MIME_TYPE_VP8 ) ; encodeDecodeVideoFromBuffer ( false ) ; }
Source:
protected static void printExceptionMessage ( @ javax.annotation.Nonnull java.lang.Throwable t , @ javax.annotation.Nonnull java.lang.String defaultMessage ) { java.lang.String exceptionMessage = t.getMessage ( ) ; if ( exceptionMessage == null ) { exceptionMessage = defaultMessage ; } java.lang.System.err.println ( exceptionMessage ) ; }

Target:
protected static void printExceptionMessage ( @ javax.annotation.Nonnull java.io.PrintStream err , @ javax.annotation.Nonnull java.lang.Throwable t , @ javax.annotation.Nonnull java.lang.String defaultMessage ) { java.lang.String exceptionMessage = t.getMessage ( ) ; if ( exceptionMessage == null ) { exceptionMessage = defaultMessage ; } err.println ( exceptionMessage ) ; }
Source:
protected void onAllRecordsLoaded ( ) { if ( com.android.internal.telephony.uicc.IsimUiccRecords.DBG ) log ( "record load complete" ) ; mRecordsLoadedRegistrants.notifyRegistrants ( new android.os.AsyncResult ( null , null , null ) ) ; }

Target:
protected void onAllRecordsLoaded ( ) { if ( com.android.internal.telephony.uicc.IsimUiccRecords.DBG ) log ( "record load complete" ) ; mLoaded.set ( true ) ; mRecordsLoadedRegistrants.notifyRegistrants ( new android.os.AsyncResult ( null , null , null ) ) ; }
Source:
protected void onConfigurationChanged ( android.content.res.Configuration newConfig ) { super . onConfigurationChanged ( newConfig ) ; if ( ( mZenButtons ) != null ) { mZenButtons.updateLocale ( ) ; } }

Target:
protected void onConfigurationChanged ( android.content.res.Configuration newConfig ) { super . onConfigurationChanged ( newConfig ) ; if ( ( mZenButtons ) != null ) { mZenButtons.updateLocale ( ) ; } if ( ( mZenIntroductionCustomize ) != null ) { mZenIntroductionCustomize.setText ( R.string.zen_priority_customize_button ) ; } }
Source:
public Value next ( ) { Value next = iterator.next ( ) ; if ( next == ( com.intellij.util.indexing.ValueContainerImpl.myNullValue ) ) next = null ; return next ; }

Target:
public Value next ( ) { Value next = ( current = iterator.next ( ) ) . getKey ( ) ; if ( next == ( com.intellij.util.indexing.ValueContainerImpl.myNullValue ) ) next = null ; return next ; }
Source:
void setInitialAttachApn ( com.android.internal.telephony.dataconnection.DataProfile dataProfile , boolean isRoaming , android.os.Message result ) ;

Target:
void setDataProfile ( android.telephony.data.DataProfile [ ] dps , boolean isRoaming , android.os.Message result ) ;
Source:
public void test_SingletonList_replaceAll ( ) { try { java.util.Collections.singletonList ( 1 ) . replaceAll ( ( k ) -> 2 ) ; fail ( ) ; } catch ( java.lang.UnsupportedOperationException expected ) { } }

Target:
public void test_EmptyMap_computeIfAbsent ( ) { try { java.util.Collections.emptyMap ( ) . computeIfAbsent ( 1 , ( k ) -> 5.0 ) ; fail ( ) ; } catch ( java.lang.UnsupportedOperationException expected ) { } }
Source:
public static double $noinline$longToIntToDouble ( long value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( double ) ( ( int ) ( value ) ) ) ; }

Target:
public static short $noinline$charToDoubleToShort ( char value ) { return ( ( short ) ( ( double ) ( value ) ) ) ; }
Source:
public native void set ( java.lang.Object object , java.lang.Object value ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;

Target:
public void set ( java.lang.Object object , java.lang.Object value ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException { set ( object , value , isAccessible ( ) ) ; }
Source:
public native boolean getBoolean ( java.lang.Object object ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;

Target:
private native boolean getBoolean ( java.lang.Object object , boolean accessible ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;
Source:
public boolean iccCloseLogicalChannel ( int channel ) { try { com.android.internal.telephony.ITelephony telephony = getITelephony ( ) ; if ( telephony != null ) return telephony.iccCloseLogicalChannel ( channel ) ; } catch ( android.os.RemoteException ex ) { } catch ( java.lang.NullPointerException ex ) { } return false ; }

Target:
public java.lang.String iccTransmitApduLogicalChannel ( int channel , int cla , int instruction , int p1 , int p2 , int p3 , java.lang.String data ) { return iccTransmitApduLogicalChannel ( getSubId ( ) , channel , cla , instruction , p1 , p2 , p3 , data ) ; }
Source:
public android.accounts.Account [ ] getAccountsByTypeAsUser ( java.lang.String type , android.os.UserHandle userHandle ) { try { return mService.getAccountsAsUser ( type , userHandle.getIdentifier ( ) ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e ) ; } }

Target:
public android.accounts.Account [ ] getAccountsByTypeForPackage ( java.lang.String type , java.lang.String packageName ) { try { return mService.getAccountsByTypeForPackage ( type , packageName , mContext.getOpPackageName ( ) ) ; } catch ( android.os.RemoteException re ) { throw new java.lang.RuntimeException ( re ) ; } }