auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public static boolean isStrictModeAllowed ( ) { return ( com.android.dialer.buildtype.BuildType.get ( ) ) == ( com.android.dialer.buildtype.BuildType.BUGFOOD ) ; }

Target:
public static boolean isStrictModeAllowed ( ) { return ( com.android.dialer.buildtype.BuildType.get ( ) ) == ( com.android.dialer.buildtype.BuildType.Type.BUGFOOD ) ; }
Source:
void onDocumentsReady ( java.util.List < com.android.documentsui.model.DocumentInfo > docs ) { com.android.documentsui.BaseActivity.get ( this ) . onDocumentsPicked ( docs ) ; }

Target:
private void openDocuments ( final com.android.documentsui.dirlist.MultiSelectManager.Selection selected ) { com.android.documentsui.Metrics.logUserAction ( getContext ( ) , Metrics.USER_ACTION_OPEN ) ; java.util.List < com.android.documentsui.model.DocumentInfo > docs = mModel.getDocuments ( selected ) ; com.android.documentsui.BaseActivity.get ( this ) . onDocumentsPicked ( docs ) ; }
Source:
private boolean isInterface ( ) { return com.google.devtools.build.android.desugar.BitFlags.isInterface ( accessFlags ) ; }

Target:
private boolean isInterface ( ) { return com.google.devtools.build.android.desugar.io.BitFlags.isInterface ( accessFlags ) ; }
Source:
public void visitStringConstant ( proguard.evaluation.Clazz clazz , proguard.evaluation.StringConstant stringConstant ) { value = valueFactory.createReferenceValue ( ClassConstants.INTERNAL_NAME_JAVA_LANG_STRING , stringConstant.javaLangStringClass , false ) ; }

Target:
public void visitStringConstant ( proguard.evaluation.Clazz clazz , proguard.evaluation.StringConstant stringConstant ) { value = valueFactory.createReferenceValue ( ClassConstants.NAME_JAVA_LANG_STRING , stringConstant.javaLangStringClass , false ) ; }
Source:
private native void gattClientWriteDescriptorNative ( int conn_id , int service_type , int service_id_inst_id , long service_id_uuid_lsb , long service_id_uuid_msb , int char_id_inst_id , long char_id_uuid_lsb , long char_id_uuid_msb , int descr_id_inst_id , long descr_id_uuid_lsb , long descr_id_uuid_msb , int write_type , int auth_req , byte [ ] value ) ;

Target:
private native void gattClientWriteDescriptorNative ( int conn_id , int handle , int write_type , int auth_req , byte [ ] value ) ;
Source:
public com.android.tools.r8.utils.AndroidApp.Builder addProgramFiles ( java.util.Collection < java.nio.file.Path > files ) throws java.io.IOException { for ( java.nio.file.Path file : files ) { addFile ( file , ClassKind.PROGRAM ) ; } return this ; }

Target:
public com.android.tools.r8.utils.AndroidApp.Builder addProgramFiles ( java.util.Collection < java.nio.file.Path > files , boolean skipDex ) throws java.io.IOException { for ( java.nio.file.Path file : files ) { addFile ( file , ClassKind.PROGRAM , skipDex ) ; } return this ; }
Source:
public static void sneakyThrow ( java.lang.Throwable t ) { libcore.util.SneakyThrow.< java.lang.Error > sneakyThrow2 ( t ) ; }

Target:
public static void sneakyThrow ( java.lang.Throwable t ) { libcore.util.SneakyThrow.< java.lang.RuntimeException > sneakyThrow_ ( t ) ; }
Source:
public final void activityIdle ( android.os.IBinder token , android.content.res.Configuration config ) { final long origId = android.os.Binder.clearCallingIdentity ( ) ; activityIdleInternal ( token , false , config ) ; android.os.Binder.restoreCallingIdentity ( origId ) ; }

Target:
public void reportThumbnail ( android.os.IBinder token , android.graphics.Bitmap thumbnail , java.lang.CharSequence description ) { final long origId = android.os.Binder.clearCallingIdentity ( ) ; sendPendingThumbnail ( null , token , thumbnail , description , true ) ; android.os.Binder.restoreCallingIdentity ( origId ) ; }
Source:
public abstract int read ( char [ ] buf , int offset , int count ) throws java.io.IOException ;

Target:
public abstract int read ( char [ ] buffer , int offset , int count ) throws java.io.IOException ;
Source:
public void onTargetChange ( ) { com.android.ide.eclipse.adt.internal.sdk.AndroidTargetData targetData = mConfigComposite.onXmlModelLoaded ( ) ; if ( targetData != null ) { com.android.ide.common.layoutlib.LayoutLibrary layoutLib = targetData.getLayoutLibrary ( ) ; setClippingSupport ( layoutLib.supports ( Capability.UNBOUND_RENDERING ) ) ; } mConfigListener.onConfigurationChange ( ) ; }

Target:
public void onTargetChange ( ) { com.android.ide.eclipse.adt.internal.sdk.AndroidTargetData targetData = mConfigComposite.onXmlModelLoaded ( ) ; updateCapabilities ( targetData ) ; mConfigListener.onConfigurationChange ( ) ; }
Source:
public android.content.Intent getIntent ( android.content.Context context ) { return new com.android.dialer.callintent.CallIntentBuilder ( com.android.dialer.util.CallUtil.getVoicemailUri ( ) , CallInitiationType.Type.CALL_LOG ) . build ( ) ; }

Target:
public android.content.Intent getIntent ( android.content.Context context ) { return com.android.dialer.callintent.CallIntentBuilder.forVoicemail ( phoneAccountHandle , CallInitiationType.Type.CALL_LOG ) . build ( ) ; }
Source:
public final void testParseError ( ) { java.lang.String errorMsg = null ; try { com.android.sdklib.repository.MajorRevision.parseRevision ( "5.0.0" ) ; fail ( "MajorRevision.parseRevision should thrown NumberFormatException" ) ; } catch ( java.lang.NumberFormatException e ) { errorMsg = e.getMessage ( ) ; } assertEquals ( "For input string: \"5.0.0\"" , errorMsg ) ; }

Target:
public final void testParseError ( ) { java.lang.String errorMsg = null ; try { com.android.sdklib.repository.MajorRevision.parseRevision ( "5.0.0" ) ; fail ( "MajorRevision.parseRevision should thrown NumberFormatException" ) ; } catch ( java.lang.NumberFormatException e ) { errorMsg = e.getMessage ( ) ; } assertEquals ( "Invalid revision: 5.0.0 -- Micro number not supported" , errorMsg ) ; }
Source:
private void notifyListeners ( ) { synchronized ( com.android.sdklib.devices.DeviceManager.sListeners ) { for ( com.android.sdklib.devices.DeviceManager.DevicesChangeListener listener : com.android.sdklib.devices.DeviceManager.sListeners ) { listener.onDevicesChange ( ) ; } } }

Target:
private void notifyListeners ( ) { synchronized ( sListeners ) { for ( com.android.sdklib.devices.DeviceManager.DevicesChangedListener listener : sListeners ) { listener.onDevicesChanged ( ) ; } } }
Source:
public java.lang.String getProxyPort ( ) { return ( ( java.lang.String ) ( getValue ( null , null , com.android.sdkmanager.SdkCommandLine.KEY_PROXY_PORT ) ) ) ; }

Target:
public java.lang.String getParamProxyPort ( ) { return ( ( java.lang.String ) ( getValue ( null , null , com.android.sdkmanager.SdkCommandLine.KEY_PROXY_PORT ) ) ) ; }
Source:
public java.util.Iterator keys ( ) { return nameValuePairs.keySet ( ) . iterator ( ) ; }

Target:
public org.json.JSONArray names ( ) { return nameValuePairs.isEmpty ( ) ? null : new org.json.JSONArray ( new java.util.ArrayList < java.lang.String > ( nameValuePairs.keySet ( ) ) ) ; }
Source:
protected int computeHorizontalScrollRange ( ) { if ( mDrawHistory ) { return mHistoryWidth ; } else { return contentToView ( mContentWidth ) ; } }

Target:
private void abortAnimation ( ) { mScroller.abortAnimation ( ) ; mLastVelocity = 0 ; }
Source:
public boolean isTracing ( ) { return false ; }

Target:
public boolean isTracing ( ) { assert ( config ) == ( com.android.sched.util.config.ThreadConfig.getConfig ( ) ) ; return false ; }
Source:
private void setProjectInfo ( java.io.File projectFolder , java.io.File sdkFolder , java.io.File ndkFolder ) { this . mProjectFolder = projectFolder ; this . mSdkFolder = sdkFolder ; this . mNdkFolder = ndkFolder ; }

Target:
private void setProjectInfo ( @ com.android.annotations.NonNull java.io.File projectFolder , @ com.android.annotations.NonNull java.io.File sdkFolder , @ com.android.annotations.NonNull java.io.File ndkFolder , @ com.android.annotations.NonNull java.lang.String taskName ) { mProjectFolder = projectFolder ; mSdkFolder = sdkFolder ; mNdkFolder = ndkFolder ; mTaskName = taskName ; }
Source:
public int getMinSdk ( ) { int minSdk = mProject.getDefaultConfig ( ) . getProductFlavor ( ) . getMinSdkVersion ( ) ; if ( minSdk != ( - 1 ) ) { return minSdk ; } return mMinSdk ; }

Target:
public int getMinSdk ( ) { com.android.builder.model.ApiVersion minSdk = mProject.getDefaultConfig ( ) . getProductFlavor ( ) . getMinSdkVersion ( ) ; if ( minSdk != null ) { return minSdk.getApiLevel ( ) ; } return mMinSdk ; }
Source:
public void modemReset ( int indicationType , java.lang.String reason ) { mRil.processIndication ( indicationType ) ; }

Target:
public void modemReset ( int indicationType , java.lang.String reason ) { mRil.processIndication ( indicationType ) ; if ( RIL.RILJ_LOGD ) mRil.unsljLogRet ( com.android.internal.telephony.RILConstants.RIL_UNSOL_MODEM_RESTART , reason ) ; mRil.writeMetricsModemRestartEvent ( reason ) ; }
Source:
public void run ( ) { synchronized ( this ) { android.net.util.NetdService.get ( com.android.server.IpSecService.NETD_FETCH_TIMEOUT ) ; } }

Target:
public void run ( ) { synchronized ( this ) { android.net.util.NetdService.get ( com.android.server.IpSecService.NETD_FETCH_TIMEOUT_MS ) ; } }
Source:
synchronized void nScriptSetVarJ ( int id , int slot , long val ) { validate ( ) ; rsnScriptSetVarJ ( mContext , id , slot , val ) ; }

Target:
synchronized void nScriptSetVarF ( long id , int slot , float val ) { validate ( ) ; rsnScriptSetVarF ( mContext , id , slot , val ) ; }
Source:
com.android.sched.vfs.MessageDigestFS.MessageDigestVFile createVFile ( @ javax.annotation.Nonnull com.android.sched.vfs.BaseVDir parent , @ javax.annotation.Nonnull java.lang.String name ) throws com.android.sched.util.file.CannotCreateFileException { return new com.android.sched.vfs.MessageDigestFS.MessageDigestVFile ( this , vfs.createVFile ( parent , name ) ) ; }

Target:
com.android.sched.util.location.Location getVDirLocation ( @ javax.annotation.Nonnull com.android.sched.vfs.MessageDigestFS.MessageDigestVDir parent , @ javax.annotation.Nonnull java.lang.String name ) { return vfs.getVDirLocation ( parent.getWrappedDir ( ) , name ) ; }
Source:
public static int Shr24And127 ( int arg ) { return ( arg > > 24 ) & 127 ; }

Target:
public static int $noinline$Shr24And127 ( int arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( arg > > 24 ) & 127 ; }
Source:
private void setKeyguardShowing ( boolean isShowing ) { setSystemState ( com.android.server.vr.VrManagerService.FLAG_KEYGUARD_UNLOCKED , ( ! isShowing ) ) ; }

Target:
public void onKeyguardStateChanged ( boolean isShowing ) { setSystemState ( com.android.server.vr.VrManagerService.FLAG_KEYGUARD_UNLOCKED , ( ! isShowing ) ) ; }
Source:
public void testWarningWhenOnTouchEventDoesNotCallPerformClick ( ) throws java.lang.Exception { assertEquals ( ( "src/test/pkg/ClickableViewAccessibilityTest.java:28: Warning: test/pkg/ClickableViewAccessibilityTest$ViewDoesNotCallPerformClick#onTouchEvent should call test/pkg/ClickableViewAccessibilityTest$ViewDoesNotCallPerformClick#performClick [ClickableViewAccessibility]\n" + ( ( " public boolean onTouchEvent(MotionEvent event) {\n" + " ~~~~~~~~~~~~\n" ) + "0 errors, 1 warnings\n" ) ) , lintProject ( "bytecode/.classpath=>.classpath" , "bytecode/AndroidManifest.xml=>AndroidManifest.xml" , "bytecode/ClickableViewAccessibilityTest.java.txt=>src/test/pkg/ClickableViewAccessibilityTest.java" , "bytecode/ClickableViewAccessibilityTest.class.data=>bin/classes/test/pkg/ClickableViewAccessibilityTest.class" , ( "bytecode/ClickableViewAccessibilityTest$ViewDoesNotCallPerformClick.class.data=>" + "bin/classes/test/pkg/ClickableViewAccessibilityTest$ViewDoesNotCallPerformClick.class" ) ) ) ; }

Target:
public void testWarningWhenOnTouchEventDoesNotCallPerformClick ( ) throws java.lang.Exception { assertEquals ( ( "src/test/pkg/ClickableViewAccessibilityTest.java:28: Warning: test/pkg/ClickableViewAccessibilityTest$ViewDoesNotCallPerformClick#onTouchEvent should call test/pkg/ClickableViewAccessibilityTest$ViewDoesNotCallPerformClick#performClick when a click is detected [ClickableViewAccessibility]\n" + ( ( " public boolean onTouchEvent(MotionEvent event) {\n" + " ~~~~~~~~~~~~\n" ) + "0 errors, 1 warnings\n" ) ) , lintProject ( "bytecode/.classpath=>.classpath" , "bytecode/AndroidManifest.xml=>AndroidManifest.xml" , "bytecode/ClickableViewAccessibilityTest.java.txt=>src/test/pkg/ClickableViewAccessibilityTest.java" , "bytecode/ClickableViewAccessibilityTest.class.data=>bin/classes/test/pkg/ClickableViewAccessibilityTest.class" , ( "bytecode/ClickableViewAccessibilityTest$ViewDoesNotCallPerformClick.class.data=>" + "bin/classes/test/pkg/ClickableViewAccessibilityTest$ViewDoesNotCallPerformClick.class" ) ) ) ; }
Source:
void sleep ( long delayNs ) { try { java.lang.Thread.sleep ( ( delayNs / ( android.hardware.cts.helpers.sensoroperations.DelaySensorOperation.NANOS_PER_MILLI ) ) , ( ( int ) ( delayNs % ( android.hardware.cts.helpers.sensoroperations.DelaySensorOperation.NANOS_PER_MILLI ) ) ) ) ; } catch ( java.lang.InterruptedException e ) { } }

Target:
void sleep ( long delay , java.util.concurrent.TimeUnit timeUnit ) { android.hardware.cts.helpers.SensorCtsHelper.sleep ( delay , timeUnit ) ; }
Source:
public void applyTransportModeTransform ( java.net.Socket socket , int direction , android.net.IpSecTransform transform ) throws java.io.IOException { try ( android.os.ParcelFileDescriptor pfd = android.os.ParcelFileDescriptor.fromSocket ( socket ) ) { applyTransportModeTransform ( pfd , direction , transform ) ; } }

Target:
public void applyTransportModeTransform ( java.net.Socket socket , int direction , android.net.IpSecTransform transform ) throws java.io.IOException { applyTransportModeTransform ( socket.getFileDescriptor$ ( ) , direction , transform ) ; }
Source:
public void setModulesToImport ( java.util.Map < java.lang.String , java.io.File > modules ) { mSelectedModules = com.google.common.collect.Maps.newHashMap ( ) ; for ( java.io.File module : modules.values ( ) ) { mSelectedModules.put ( module , null ) ; } }

Target:
public void setModulesToImport ( java.util.Map < java.lang.String , java.io.File > modules ) { mSelectedModules = com.google.common.collect.ImmutableSet.copyOf ( modules.keySet ( ) ) ; }
Source:
public void testEncodeDoesNotWrap ( ) { int [ ] data = new int [ 61 ] ; java.util.Arrays.fill ( data , 255 ) ; java.lang.String expected = "///////////////////////////////////////////////////////////////////////" + "//////////w==" ; assertEncoded ( expected , data ) ; }

Target:
public void testDecode_empty ( ) throws java.lang.Exception { byte [ ] decoded = libcore.io.Base64.decode ( new byte [ 0 ] ) ; assertEquals ( 0 , decoded.length ) ; }
Source:
public void sendBurstDtmfResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo ) { }

Target:
public void sendBurstDtmfResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo ) { responseVoid ( responseInfo ) ; }
Source:
public void run ( ) { mToast.setGravity ( Gravity.BOTTOM , xOffset , yOffset ) ; mToast.show ( ) ; }

Target:
public void run ( ) { mToast.setGravity ( Gravity.BOTTOM , xOffset , yOffset ) ; mToast.show ( ) ; registerLayoutListener ( mToast.getView ( ) ) ; }
Source:
public static java.lang.Integer test ( ) { java.lang.Integer [ ] integers = new java.lang.Integer [ 1024 * 1024 ] ; Main.initIntegerArray ( integers ) ; java.lang.Integer last_integer = integers [ ( ( integers.length ) - 1 ) ] ; return last_integer ; }

Target:
public static java.lang.Integer test ( ) { java.lang.Integer [ ] integers = new java.lang.Integer [ 1 << 19 ] ; Main.initIntegerArray ( integers ) ; java.lang.Integer last_integer = integers [ ( ( integers.length ) - 1 ) ] ; return last_integer ; }
Source:
public < T > T callWithTimeout ( java.util.concurrent.Callable < T > callable , long timeoutDuration , java.util.concurrent.TimeUnit timeoutUnit , boolean amInterruptible ) throws java.lang.Exception { return callable.call ( ) ; }

Target:
public < T > T callWithTimeout ( java.util.concurrent.Callable < T > callable , long timeoutDuration , java.util.concurrent.TimeUnit timeoutUnit , boolean amInterruptible ) throws java.lang.Exception { com.google.common.base.Preconditions.checkNotNull ( timeoutUnit ) ; return callable.call ( ) ; }
Source:
public boolean isInEcm ( ) { return false ; }

Target:
protected static boolean getInEcmMode ( ) { return android.os.SystemProperties.getBoolean ( TelephonyProperties.PROPERTY_INECM_MODE , false ) ; }
Source:
public void onDestroy ( ) { super . onDestroy ( ) ; if ( ( mReceiver ) != null ) { unregisterReceiver ( mReceiver ) ; } }

Target:
public void onDestroy ( ) { super . onDestroy ( ) ; if ( ( mReceiver ) != null ) { unregisterReceiver ( mReceiver ) ; } mBackground = null ; }
Source:
public void setError ( java.lang.String msg , android.content.pm.PackageParser.PackageParserException e ) { returnCode = e.error ; returnMsg = android.util.ExceptionUtils.getCompleteMessage ( msg , e ) ; android.util.Slog.w ( com.android.server.pm.PackageManagerService.TAG , msg , e ) ; }

Target:
public void setError ( java.lang.String msg , android.content.pm.PackageParser.PackageParserException e ) { setReturnCode ( e.error ) ; setReturnMessage ( android.util.ExceptionUtils.getCompleteMessage ( msg , e ) ) ; android.util.Slog.w ( com.android.server.pm.PackageManagerService.TAG , msg , e ) ; }
Source:
public com.android.tools.perflib.heap.Instance getReferredInstance ( ) { if ( ( mType ) == ( RootType.SYSTEM_CLASS ) ) { return mHeap.mState.findClass ( mId ) ; } else { return mHeap.mState.findReference ( mId ) ; } }

Target:
public com.android.tools.perflib.heap.Instance getReferredInstance ( ) { if ( ( mType ) == ( RootType.SYSTEM_CLASS ) ) { return mHeap.mSnapshot.findClass ( mId ) ; } else { return mHeap.mSnapshot.findReference ( mId ) ; } }
Source:
private native boolean isDeclaredAnnotationPresent ( java.lang.Class < ? extends java.lang.annotation.Annotation > annotationClass ) ;

Target:
private native java.lang.String [ ] getSignatureAnnotation ( ) ;
Source:
public boolean getCompileResources ( ) { return mCompileResources ; }

Target:
public boolean getCompileResources ( ) { return ( mCompileResources ) || ( mChangedManifest ) ; }
Source:
protected void engineInit ( java.security.spec.AlgorithmParameterSpec paramSpec ) throws java.security.spec.InvalidParameterSpecException { }

Target:
protected void engineInit ( byte [ ] params , java.lang.String format ) throws java.io.IOException { if ( ! ( isASN1FormatString ( format ) ) ) { throw new java.io.IOException ( "unknown format specified" ) ; } gcmParams = org.bouncycastle.asn1.cms.GCMParameters.getInstance ( params ) ; }
Source:
public java.lang.Iterable < com.android.jack.ir.ast.cfg.JBasicBlock > successors ( ) { return java.util.Collections.singletonList ( next ) ; }

Target:
public java.util.List < com.android.jack.ir.ast.cfg.JBasicBlock > getSuccessors ( ) { return java.util.Collections.singletonList ( next ) ; }
Source:
public boolean setDeviceType ( java.lang.String type ) { return doBooleanCommand ( ( "SET device_type " + type ) ) ; }

Target:
public boolean setDeviceType ( java.lang.String type ) { if ( com.android.server.wifi.WifiNative.HIDL_SUP_ENABLE ) { return mSupplicantStaIfaceHal.setWpsDeviceType ( type ) ; } else { return doBooleanCommand ( ( "SET device_type " + type ) ) ; } }
Source:
public static native void EVP_CIPHER_CTX_cleanup ( int ctx ) ;

Target:
public static native int get_EVP_CIPHER_CTX_buf_len ( long ctx ) ;
Source:
com.android.ide.common.api.Point canvasToControlPoint ( int canvasX , int canvasY ) { int x = mHScale.translate ( canvasX ) ; int y = mVScale.translate ( canvasY ) ; return new com.android.ide.common.api.Point ( x , y ) ; }

Target:
com.android.ide.eclipse.adt.internal.editors.layout.gle2.ScaleInfo getHorizontalTransform ( ) { return mHScale ; }
Source:
public static void computeLog2 ( android.renderscript.cts.TestLog2.ArgumentsFloatFloat args ) { args.ulf = 3 ; args.ulfRelaxed = 128 ; args.out = ( ( float ) ( ( java.lang.StrictMath.log10 ( args.in ) ) / ( java.lang.StrictMath.log10 ( 2.0 ) ) ) ) ; }

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 cdmaCallWaiting ( int indicationType , android.hardware.radio.V1_0.CdmaCallWaiting var2 ) { }

Target:
public void cdmaRuimSmsStorageFull ( int indicationType ) { mRil.processIndication ( indicationType ) ; if ( RIL.RILJ_LOGD ) mRil.unsljLog ( com.android.internal.telephony.RILConstants.RIL_UNSOL_CDMA_RUIM_SMS_STORAGE_FULL ) ; if ( ( mRil.mIccSmsFullRegistrant ) != null ) { mRil.mIccSmsFullRegistrant.notifyRegistrant ( ) ; } }
Source:
public void onExternalCallChanged ( com.android.server.telecom.Call call , boolean isExternalCall ) { com.android.server.telecom.Log.i ( this , "onExternalCallChanged: %s -> %b" , call , isExternalCall ) ; }

Target:
public void onExternalCallChanged ( com.android.server.telecom.Call call , boolean isExternalCall ) { android.telecom.Log.i ( this , "onExternalCallChanged: %s -> %b" , call , isExternalCall ) ; }
Source:
protected java.lang.String getDescription ( ) { return this . getDescription ( ) ; }

Target:
private static android.icu.dev.test.TestFmwk.TestParams getParams ( ) { return android.icu.dev.test.TestFmwk.testParams ; }
Source:
public static long AddNeg2 ( long arg1 , long arg2 ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } long temp = - arg2 ; return ( arg1 + temp ) | ( arg1 + temp ) ; }

Target:
public static long $noinline$AddNeg2 ( long arg1 , long arg2 ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } long temp = - arg2 ; return ( arg1 + temp ) | ( arg1 + temp ) ; }
Source:
public void testCanEncode ( ) { tests.api.java.nio.charset.CharsetTest.MockCharset c = new tests.api.java.nio.charset.CharsetTest.MockCharset ( "mock" , null ) ; assertTrue ( c.canEncode ( ) ) ; }

Target:
public void testCanEncode ( ) { org.apache.harmony.tests.java.nio.charset.CharsetTest.MockCharset c = new org.apache.harmony.tests.java.nio.charset.CharsetTest.MockCharset ( "mock" , null ) ; assertTrue ( c.canEncode ( ) ) ; }
Source:
android.view.ActionProvider getActionProvider ( android.content.Context context ) ;

Target:
android.view.ActionProvider getActionProvider ( android.support.v7.app.AppCompatActivity activity ) ;
Source:
private void startServiceAndLoadDriver ( ) { mWifiScanningServiceImpl.startService ( ) ; setupAndLoadDriver ( ) ; }

Target:
private void startServiceAndLoadDriver ( ) { mWifiScanningServiceImpl.startService ( ) ; setupAndLoadDriver ( com.android.server.wifi.scanner.WifiScanningServiceTest.TEST_MAX_SCAN_BUCKETS_IN_CAPABILITIES ) ; }
Source:
private void registerSimChangeObserver ( ) { mContentResolver.registerContentObserver ( com.android.mms.ui.ManageSimMessages.SIM_URI , true , simChangeObserver ) ; }

Target:
private void registerSimChangeObserver ( ) { mContentResolver.registerContentObserver ( com.android.mms.ui.ManageSimMessages.ICC_URI , true , simChangeObserver ) ; }
Source:
protected void onInfoClicked ( com.android.tv.dvr.ui.list.ScheduleRow scheduleRow ) { com.android.tv.dvr.ScheduledRecording schedule = scheduleRow.getSchedule ( ) ; if ( schedule != null ) { com.android.tv.dvr.DvrUiHelper.startDetailsActivity ( ( ( android.app.Activity ) ( mContext ) ) , schedule , null , true ) ; } }

Target:
protected void onInfoClicked ( com.android.tv.dvr.ui.list.ScheduleRow row ) { com.android.tv.dvr.ui.DvrUiHelper.startDetailsActivity ( ( ( android.app.Activity ) ( mContext ) ) , row.getSchedule ( ) , null , true ) ; }
Source:
private boolean isIncomingMessage ( android.database.Cursor cursor ) { int messageStatus = cursor.getInt ( cursor.getColumnIndexOrThrow ( "status" ) ) ; return ( messageStatus == ( android.telephony.gsm.SmsManager.STATUS_ON_SIM_READ ) ) || ( messageStatus == ( android.telephony.gsm.SmsManager.STATUS_ON_SIM_UNREAD ) ) ; }

Target:
private boolean isIncomingMessage ( android.database.Cursor cursor ) { int messageStatus = cursor.getInt ( cursor.getColumnIndexOrThrow ( "status" ) ) ; return ( messageStatus == ( android.telephony.SmsManager.STATUS_ON_ICC_READ ) ) || ( messageStatus == ( android.telephony.SmsManager.STATUS_ON_ICC_UNREAD ) ) ; }
Source:
public void visitElementAfter ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.XmlContext context , @ com.android.annotations.NonNull org.w3c.dom.Element element ) { }

Target:
public void visitElement ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.XmlContext context , @ com.android.annotations.NonNull org.w3c.dom.Element element ) { assert false ; }
Source:
public static com.ibm.icu.text.RuleBasedBreakIterator getInstanceFromCompiledRules ( java.io.InputStream is ) throws java.io.IOException { com.ibm.icu.text.RuleBasedBreakIterator This = new com.ibm.icu.text.RuleBasedBreakIterator ( ) ; This.fRData = com.ibm.icu.text.RBBIDataWrapper.get ( com.ibm.icu.impl.ICUBinary.getByteBufferFromInputStream ( is ) ) ; return This ; }

Target:
public static com.ibm.icu.text.RuleBasedBreakIterator getInstanceFromCompiledRules ( java.io.InputStream is ) throws java.io.IOException { com.ibm.icu.text.RuleBasedBreakIterator This = new com.ibm.icu.text.RuleBasedBreakIterator ( ) ; This.fRData = com.ibm.icu.text.RBBIDataWrapper.get ( com.ibm.icu.impl.ICUBinary.getByteBufferFromInputStreamAndCloseStream ( is ) ) ; return This ; }
Source:
public void checkValidity ( ) { super . checkValidity ( ) ; }

Target:
public void checkValidity ( ) { super . checkValidity ( ) ; if ( ! ( hasElements ( ) ) ) { throw new com.android.jack.ir.JNodeInternalError ( this , "Block must not be empty" ) ; } }
Source:
public < T extends com.android.jack.api.JackConfig > boolean isConfigSupported ( @ javax.annotation.Nonnull java.lang.Class < T > cls ) { return ( cls == ( com.android.jack.api.v01.Api01Config.class ) ) || ( cls == ( com.android.jack.api.v01.Cli01Config.class ) ) ; }

Target:
public < T extends com.android.jack.api.JackConfig > boolean isConfigSupported ( @ javax.annotation.Nonnull java.lang.Class < T > cls ) { return com.android.jack.api.impl.JackProviderImpl.map.containsKey ( cls ) ; }
Source:
public static void run ( ) throws java.lang.Exception { art.Test981.doTest ( ) ; }

Target:
public static void run ( ) throws java.lang.Exception { art.Redefinition.setTestConfiguration ( Redefinition.Config.COMMON_RETRANSFORM ) ; art.Test981.doTest ( ) ; }
Source:
public static int ShlIntLong ( ) { int lhs = 1 ; long rhs = 2 ; return lhs << rhs ; }

Target:
public static int ShlIntLong ( ) { int lhs = Main.$inline$int ( 1 ) ; long rhs = Main.$inline$long ( 2L ) ; return lhs << rhs ; }
Source:
public static void testSendCmasExtremeAlert ( android.app.Activity activity , int serialNumber ) { android.telephony.SmsCbMessage cbMessage = com.android.cellbroadcastreceiver.tests.SendGsmCmasMessages.createCmasSmsMessage ( SmsCbConstants.MESSAGE_ID_CMAS_ALERT_EXTREME_EXPECTED_OBSERVED , serialNumber , "en" , com.android.cellbroadcastreceiver.tests.SendGsmCmasMessages.EXTREME_ALERT , SmsCbCmasInfo.CMAS_SEVERITY_EXTREME , SmsCbCmasInfo.CMAS_URGENCY_EXPECTED , SmsCbCmasInfo.CMAS_CERTAINTY_OBSERVED , SmsCbMessage.MESSAGE_PRIORITY_EMERGENCY ) ; com.android.cellbroadcastreceiver.tests.SendGsmCmasMessages.sendBroadcast ( activity , cbMessage ) ; }

Target:
public static void testSendCmasExtremeAlert ( android.app.Activity activity , int serialNumber ) { android.telephony.SmsCbMessage cbMessage = com.android.cellbroadcastreceiver.tests.SendGsmCmasMessages.createCmasSmsMessage ( SmsCbConstants.MESSAGE_ID_CMAS_ALERT_EXTREME_IMMEDIATE_OBSERVED , serialNumber , "en" , com.android.cellbroadcastreceiver.tests.SendGsmCmasMessages.EXTREME_ALERT , SmsCbCmasInfo.CMAS_SEVERITY_EXTREME , SmsCbCmasInfo.CMAS_URGENCY_EXPECTED , SmsCbCmasInfo.CMAS_CERTAINTY_OBSERVED , SmsCbMessage.MESSAGE_PRIORITY_EMERGENCY ) ; com.android.cellbroadcastreceiver.tests.SendGsmCmasMessages.sendBroadcast ( activity , cbMessage ) ; }
Source:
public boolean sendData ( android.bluetooth.BluetoothDevice device , java.lang.String report ) { com.android.bluetooth.hid.HidService service = getService ( ) ; if ( service == null ) { return false ; } return service.sendData ( device , report ) ; }

Target:
public boolean sendData ( android.bluetooth.BluetoothDevice device , java.lang.String report ) { com.android.bluetooth.hid.HidHostService service = getService ( ) ; if ( service == null ) { return false ; } return service.sendData ( device , report ) ; }
Source:
public void uninstallPackage ( @ com.android.annotations.NonNull java.lang.String packageName ) throws com.android.builder.testing.api.DeviceException { try { iDevice.uninstallPackage ( packageName ) ; } catch ( java.lang.Exception e ) { throw new com.android.builder.testing.api.DeviceException ( e ) ; } }

Target:
public void uninstallPackage ( @ com.android.annotations.NonNull java.lang.String packageName , int timeout ) throws com.android.builder.testing.api.DeviceException { try { iDevice.uninstallPackage ( packageName ) ; } catch ( java.lang.Exception e ) { throw new com.android.builder.testing.api.DeviceException ( e ) ; } }
Source:
public java.util.Set < ? extends java.lang.Class < ? extends java.lang.annotation.Annotation > > annotations ( ) { return com.google.common.collect.ImmutableSet.of ( dagger.Subcomponent.class , com.android.dialer.rootcomponentgenerator.annotation.InstallIn.class ) ; }

Target:
public java.util.Set < ? extends java.lang.Class < ? extends java.lang.annotation.Annotation > > annotations ( ) { return com.google.common.collect.ImmutableSet.of ( com.android.dialer.rootcomponentgenerator.annotation.IncludeInDialerRoot.class , com.android.dialer.rootcomponentgenerator.annotation.InstallIn.class ) ; }
Source:
public int setProvisionedStringValue ( int item , java.lang.String value ) throws android.os.RemoteException { return ImsConfig.OperationStatusConstants.FAILED ; }

Target:
public int setProvisionedValue ( int item , int value ) throws android.os.RemoteException { return ImsConfig.OperationStatusConstants.FAILED ; }
Source:
private native void initializeNative ( int maxHfClients , boolean inbandRingEnable ) ;

Target:
private native void initializeNative ( int maxHfClients , boolean inbandRingingEnabled ) ;
Source:
protected void setUp ( ) { coll = ( ( java.text.RuleBasedCollator ) ( java.text.Collator.getInstance ( java.util.Locale.US ) ) ) ; }

Target:
protected void setUp ( ) { coll = ( ( java.text.RuleBasedCollator ) ( java.text.Collator.getInstance ( java.util.Locale.US ) ) ) ; traditionalSpanishColl = ( ( java.text.RuleBasedCollator ) ( java.text.Collator.getInstance ( java.util.Locale.forLanguageTag ( "es-u-co-trad" ) ) ) ) ; }
Source:
public void testVFE7 ( ) { try { new dot.junit.opcodes.iget_char.d.T_iget_char_12 ( ) . run ( ) ; fail ( "expected an IllegalAccessError exception" ) ; } catch ( java.lang.IllegalAccessError t ) { } }

Target:
public void testVFE7 ( ) { loadAndRun ( "dot.junit.opcodes.iget_char.d.T_iget_char_12" , java.lang.IllegalAccessError.class ) ; }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder clearEndTime ( ) { bitField0_ = ( bitField0_ ) & ( ~ 256 ) ; endTime_ = 0L ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setModulesDone ( int value ) { bitField0_ |= 65536 ; modulesDone_ = value ; onChanged ( ) ; return this ; }
Source:
public void testVP8EncodeDecodeVideoFromBufferToBuffer720p ( ) throws java.lang.Exception { setParameters ( 1280 , 720 , 6000000 , android.media.cts.EncodeDecodeTest.MIME_TYPE_VP8 ) ; encodeDecodeVideoFromBuffer ( false ) ; }

Target:
public void testEncodeDecodeVideoFromBufferToBufferQVGA ( ) throws java.lang.Exception { setParameters ( 320 , 240 , 2000000 , android.media.cts.EncodeDecodeTest.MIME_TYPE_AVC , true , false ) ; encodeDecodeVideoFromBuffer ( false ) ; }
Source:
public void test_th ( ) throws java.lang.Exception { libcore.icu.ImmutableIndex th = libcore.icu.AlphabeticIndexTest.createIndex ( new java.util.Locale ( "th" ) ) ; libcore.icu.AlphabeticIndexTest.assertHasLabel ( th , "องค์เล็ก" , "อ" ) ; libcore.icu.AlphabeticIndexTest.assertHasLabel ( th , "สิงหเสนี" , "ส" ) ; }

Target:
public void test_th ( ) throws java.lang.Exception { libcore.icu.AlphabeticIndex.ImmutableIndex th = libcore.icu.AlphabeticIndexTest.createIndex ( new java.util.Locale ( "th" ) ) ; libcore.icu.AlphabeticIndexTest.assertHasLabel ( th , "องค์เล็ก" , "อ" ) ; libcore.icu.AlphabeticIndexTest.assertHasLabel ( th , "สิงหเสนี" , "ส" ) ; }
Source:
public final void schedulePauseActivity ( android.os.IBinder token , boolean finished , boolean userLeaving , int configChanges ) { queueOrSendMessage ( ( finished ? android.app.ActivityThread.H.PAUSE_ACTIVITY_FINISHING : android.app.ActivityThread.H.PAUSE_ACTIVITY ) , token , ( userLeaving ? 1 : 0 ) , configChanges ) ; }

Target:
public final void schedulePauseActivity ( android.os.IBinder token , boolean finished , boolean userLeaving , int configChanges ) { sendMessage ( ( finished ? android.app.ActivityThread.H.PAUSE_ACTIVITY_FINISHING : android.app.ActivityThread.H.PAUSE_ACTIVITY ) , token , ( userLeaving ? 1 : 0 ) , configChanges ) ; }
Source:
public void apply ( java.util.zip.ZipFile patchFile , java.io.File toDir ) throws java.io.IOException { doApply ( patchFile , getFile ( toDir ) ) ; }

Target:
protected abstract void doApply ( java.util.zip.ZipFile patchFile , java.io.File backupDir , java.io.File toFile ) throws java.io.IOException ;
Source:
public void testMissingUsesSdk ( ) throws java.lang.Exception { assertEquals ( ( "AndroidManifest.xml: Warning: Manifest should specify a minimum API level " + ( "with <uses-sdk android:minSdkVersion=\"?\" />; if it really supports all " + "versions of Android set it to 1." ) ) , lintProject ( "missingusessdk.xml=>AndroidManifest.xml" , "res/values/strings.xml" ) ) ; }

Target:
public void testMissingUsesSdk ( ) throws java.lang.Exception { assertEquals ( ( "AndroidManifest.xml: Warning: Manifest should specify a minimum API level with <uses-sdk android:minSdkVersion=\"?\" />; if it really supports all versions of Android set it to 1. [UsesMinSdkAttributes]\n" + "0 errors, 1 warnings\n" ) , lintProject ( "missingusessdk.xml=>AndroidManifest.xml" , "res/values/strings.xml" ) ) ; }
Source:
protected void _actionPerformed ( final com.intellij.ui.tabs.impl.AnActionEvent e , final com.intellij.ui.tabs.impl.JBTabsImpl tabs , final int selectedIndex ) { tabs.select ( tabs.findEnabledForward ( selectedIndex , true ) , true ) ; }

Target:
protected void _actionPerformed ( final com.intellij.ui.tabs.impl.AnActionEvent e , final com.intellij.ui.tabs.impl.JBTabsImpl tabs , final int selectedIndex ) { com.intellij.ui.tabs.impl.TabInfo tabInfo = tabs.findEnabledForward ( selectedIndex , true ) ; if ( tabInfo != null ) { tabs.select ( tabInfo , true ) ; } }
Source:
private java.lang.String getName ( org.w3c.dom.Node node ) { org.w3c.dom.Attr attribute = ( ( org.w3c.dom.Attr ) ( node.getAttributes ( ) . getNamedItemNS ( null , com.android.SdkConstants.ATTR_NAME ) ) ) ; if ( attribute != null ) { return attribute.getValue ( ) ; } return null ; }

Target:
static java.lang.String getName ( org.w3c.dom.Node node ) { org.w3c.dom.Attr attribute = ( ( org.w3c.dom.Attr ) ( node.getAttributes ( ) . getNamedItemNS ( null , com.android.builder.resources.ATTR_NAME ) ) ) ; if ( attribute != null ) { return attribute.getValue ( ) ; } return null ; }
Source:
public android.os.HandlerThread getmWifiAwareHandlerThread ( ) { if ( ( mWifiAwareHandlerThread ) == null ) { mWifiAwareHandlerThread = new android.os.HandlerThread ( "wifiAwareService" ) ; mWifiAwareHandlerThread.start ( ) ; } return mWifiAwareHandlerThread ; }

Target:
public android.os.HandlerThread getWifiAwareHandlerThread ( ) { if ( ( mWifiAwareHandlerThread ) == null ) { mWifiAwareHandlerThread = new android.os.HandlerThread ( "wifiAwareService" ) ; mWifiAwareHandlerThread.start ( ) ; } return mWifiAwareHandlerThread ; }
Source:
boolean equalNameAndParameters ( java.lang.reflect.Method m ) { return ( getName ( ) . equals ( m.getName ( ) ) ) && ( equalMethodParameters ( m.getParameterTypes ( ) ) ) ; }

Target:
public java.lang.annotation.Annotation [ ] [ ] getParameterAnnotations ( ) { return super . getParameterAnnotations ( ) ; }
Source:
public void reset ( ) { if ( com.google.gct.intellij.endpoints.synchronization.SampleSyncConfiguration.usingBuiltInSamples ( ) ) { builtInSampleRadioButton.setSelected ( true ) ; } else { repoRadioButton.setSelected ( true ) ; } }

Target:
public void reset ( ) { if ( com.google.gct.idea.appengine.synchronization.SampleSyncConfiguration.usingBuiltInSamples ( ) ) { builtInSampleRadioButton.setSelected ( true ) ; } else { repoRadioButton.setSelected ( true ) ; } }
Source:
private static int getKernelRadius ( int depth , com.android.rs.test.BlurStack blurStack ) { int kernelRadius = com.android.rs.test.KernelDataForRenderScript.computeKernelRadiusFromDiskRadius ( blurStack.getDiskRadius ( depth ) ) ; return kernelRadius ; }

Target:
private static int getKernelRadius ( int depth , com.android.rs.refocus.BlurStack blurStack ) { int kernelRadius = com.android.rs.refocus.KernelDataForRenderScript.computeKernelRadiusFromDiskRadius ( blurStack.getDiskRadius ( depth ) ) ; return kernelRadius ; }
Source:
public java.security.cert.X509Certificate [ ] getAcceptedIssuers ( ) { return new java.security.cert.X509Certificate [ 0 ] ; }

Target:
public java.security.cert.X509Certificate [ ] getAcceptedIssuers ( ) { return mDelegate.getAcceptedIssuers ( ) ; }
Source:
private native void startAdvertiserNative ( int advertiserId , int advertising_event_properties , int min_interval , int max_interval , int chnl_map , int tx_power , int primary_advertising_phy , int secondary_advertising_phy , int scan_request_notification_enable , byte [ ] adv_data , byte [ ] scan_resp_data , int timeout_s ) ;

Target:
private native void startAdvertisingSetNative ( android.bluetooth.le.AdvertisingSetParameters parameters , byte [ ] advertiseData , byte [ ] scanResponse , android.bluetooth.le.PeriodicAdvertisingParameters periodicParameters , byte [ ] periodicData , int reg_id ) ;
Source:
public com.android.ims.internal.IImsMultiEndpoint getMultiEndpointInterface ( ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; return getServiceInterface ( mBinder ) . getMultiEndpointInterface ( mSlotId , mSupportedFeature ) ; } }

Target:
public void turnOffIms ( ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; getServiceInterface ( mBinder ) . turnOffIms ( mSlotId , mSupportedFeature ) ; } }
Source:
public boolean isEmpty ( ) { return ! ( containsColumn ( columnKey ) ) ; }

Target:
public boolean retainAll ( final java.util.Collection < ? > c ) { return removeFromColumnIf ( com.google.common.collect.Maps.< R > keyPredicateOnEntries ( com.google.common.base.Predicates.not ( com.google.common.base.Predicates.in ( c ) ) ) ) ; }
Source:
public boolean accept ( com.android.sdklib.internal.avd.AvdManager.AvdInfo avd ) { if ( avd != null ) { return mTarget.canRunOn ( avd.getTarget ( ) ) ; } return false ; }

Target:
public boolean accept ( com.android.sdklib.internal.avd.AvdInfo avd ) { if ( avd != null ) { return mTarget.canRunOn ( avd.getTarget ( ) ) ; } return false ; }
Source:
public void now_Clock_maxYear ( ) { java.time.Clock clock = java.time.Clock.fixed ( MAX_INSTANT , java.time.ZoneOffset.UTC ) ; java.time.LocalDate test = java.time.LocalDate.now ( clock ) ; org.testng.Assert.assertEquals ( test , MAX_DATE ) ; }

Target:
public void now_Clock_maxYear ( ) { java.time.Clock clock = java.time.Clock.fixed ( tck.java.time.TCKLocalDate.MAX_INSTANT , java.time.ZoneOffset.UTC ) ; java.time.LocalDate test = java.time.LocalDate.now ( clock ) ; org.testng.Assert.assertEquals ( test , tck.java.time.TCKLocalDate.MAX_DATE ) ; }
Source:
private void removeConfigurationFromTree ( com.google.gct.testing.GoogleCloudTestingConfiguration configuration ) { configuration.removeConfigurationChangeListener ( this ) ; javax.swing.tree.MutableTreeNode toRemove = ( ( javax.swing.tree.MutableTreeNode ) ( com.intellij.util.ui.tree.TreeUtil.findNodeWithObject ( configuration , myConfigurationTree.getModel ( ) , customRoot ) ) ) ; customRoot.remove ( toRemove ) ; }

Target:
private void removeConfigurationFromTree ( com.google.gct.testing.GoogleCloudTestingConfigurationImpl configuration ) { configuration.removeConfigurationChangeListener ( this ) ; javax.swing.tree.MutableTreeNode toRemove = ( ( javax.swing.tree.MutableTreeNode ) ( com.intellij.util.ui.tree.TreeUtil.findNodeWithObject ( configuration , myConfigurationTree.getModel ( ) , customRoot ) ) ) ; customRoot.remove ( toRemove ) ; }
Source:
public static sun.security.util.Cache newHardMemoryCache ( int size ) { return new sun.security.util.MemoryCache ( false , size ) ; }

Target:
public static < K , V > sun.security.util.Cache < K , V > newHardMemoryCache ( int size ) { return new sun.security.util.MemoryCache < > ( false , size ) ; }
Source:
public android.net.wifi.nan.ConfigRequest.Builder setClusterLow ( int clusterLow ) { if ( clusterLow < ( android.net.wifi.nan.ConfigRequest.CLUSTER_ID_MIN ) ) { throw new java.lang.IllegalArgumentException ( "Cluster specification must be non-negative" ) ; } if ( clusterLow > ( android.net.wifi.nan.ConfigRequest.CLUSTER_ID_MAX ) ) { throw new java.lang.IllegalArgumentException ( "Cluster specification must not exceed 0xFFFF" ) ; } mClusterLow = clusterLow ; return this ; }

Target:
public android.net.wifi.aware.ConfigRequest.Builder setClusterLow ( int clusterLow ) { if ( clusterLow < ( android.net.wifi.aware.ConfigRequest.CLUSTER_ID_MIN ) ) { throw new java.lang.IllegalArgumentException ( "Cluster specification must be non-negative" ) ; } if ( clusterLow > ( android.net.wifi.aware.ConfigRequest.CLUSTER_ID_MAX ) ) { throw new java.lang.IllegalArgumentException ( "Cluster specification must not exceed 0xFFFF" ) ; } mClusterLow = clusterLow ; return this ; }
Source:
public boolean addToBlacklist ( java.lang.String bssid ) { if ( android.text.TextUtils.isEmpty ( bssid ) ) return false ; return doBooleanCommand ( ( "BLACKLIST " + bssid ) ) ; }

Target:
public boolean reassociate ( ) { if ( com.android.server.wifi.WifiNative.DBG ) logDbg ( "REASSOCIATE " ) ; if ( com.android.server.wifi.WifiNative.HIDL_SUP_ENABLE ) { return mSupplicantStaIfaceHal.reassociate ( ) ; } else { return doBooleanCommand ( "REASSOCIATE" ) ; } }
Source:
public java.lang.String getName ( ) { return com.android.server.wifi.RecommendedNetworkEvaluator.TAG ; }

Target:
public java.lang.String getName ( ) { if ( mNetworkRecommendationsEnabled ) { return com.android.server.wifi.RecommendedNetworkEvaluator.TAG ; } return ( ( com.android.server.wifi.RecommendedNetworkEvaluator.TAG ) + "-" ) + ( mExternalScoreEvaluator.getName ( ) ) ; }
Source:
public java.util.Properties loadProperties ( @ com.android.annotations.NonNull java.io.File file ) ;

Target:
java.io.File [ ] listFiles ( @ com.android.annotations.NonNull java.io.File file ) ;
Source:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface x ) { return visit ( ( ( com.android.jack.ir.ast.JReferenceType ) ( x ) ) ) ; }

Target:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface definedClassOrInterface ) { return visit ( ( ( com.android.jack.ir.ast.JReferenceType ) ( definedClassOrInterface ) ) ) ; }
Source:
public com.android.builder.core.DefaultBuildType getBuildType ( ) { return getVariantData ( ) . getVariantConfiguration ( ) . getBuildType ( ) ; }

Target:
public com.android.builder.model.BuildType getBuildType ( ) { return readOnlyObjectProvider.getBuildType ( getVariantData ( ) . getVariantConfiguration ( ) . getBuildType ( ) ) ; }
Source:
public void visitInsn ( int opcode ) { printer.visitInsn ( opcode ) ; printTypeOfOperandStackTop ( ) ; super . visitInsn ( opcode ) ; }

Target:
public void visitInsn ( int opcode ) { printer.visitInsn ( opcode ) ; printTypeOfOperandStack ( ) ; super . visitInsn ( opcode ) ; }
Source:
public static native byte [ ] i2d_DSAPrivateKey ( int dsa ) ;

Target:
public static native byte [ ] i2d_RSAPublicKey ( long rsa ) ;
Source:
public void trackResponse ( java.net.ResponseSource source ) { delegate.trackResponse ( source ) ; }

Target:
public void trackResponse ( com.android.okhttp.ResponseSource source ) { delegate.trackResponse ( source ) ; }
Source:
public void testAdd2 ( ) { java.util.concurrent.CopyOnWriteArraySet full = jsr166.CopyOnWriteArraySetTest.populatedSet ( 3 ) ; full.add ( one ) ; assertEquals ( 3 , full.size ( ) ) ; }

Target:
public void testIsEmpty ( ) { assertTrue ( jsr166.CopyOnWriteArraySetTest.populatedSet ( 0 ) . isEmpty ( ) ) ; assertFalse ( jsr166.CopyOnWriteArraySetTest.populatedSet ( 3 ) . isEmpty ( ) ) ; }
Source:
public void testHypotF32 ( ) { script_f32 = new android.renderscript.cts.ScriptC_hypot_f32 ( mRS , mRes , R.raw.hypot_f32 ) ; android.renderscript.cts.ScriptField_hypot_f32_in in = new android.renderscript.cts.ScriptField_hypot_f32_in ( mRS , INPUTSIZE ) ; mIn = in.getAllocation ( ) ; doF32 ( 1193592 , 4 ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; script_f32 = new android.renderscript.cts.ScriptC_hypot_f32 ( mRS ) ; }
Source:
private java.lang.String getDefaultPath ( com.google.gct.intellij.endpoints.validation.PsiMethod psiMethod ) { java.lang.String apiDefaultResource = getResourceProperty ( psiMethod ) ; if ( apiDefaultResource != null ) { return apiDefaultResource.toLowerCase ( ) ; } return psiMethod.getName ( ) ; }

Target:
private java.lang.String getDefaultPath ( com.google.gct.idea.appengine.validation.PsiMethod psiMethod ) { java.lang.String apiDefaultResource = getResourceProperty ( psiMethod ) ; if ( apiDefaultResource != null ) { return apiDefaultResource.toLowerCase ( ) ; } return psiMethod.getName ( ) ; }
Source:
public static com.android.sdklib.resources.ScreenOrientation getEnum ( java.lang.String value ) { for ( com.android.sdklib.resources.ScreenOrientation orient : com.android.sdklib.resources.ScreenOrientation.values ( ) ) { if ( orient.mValue.equals ( value ) ) { return orient ; } } return null ; }

Target:
public static com.android.resources.ScreenOrientation getEnum ( java.lang.String value ) { for ( com.android.resources.ScreenOrientation orient : com.android.resources.ScreenOrientation.values ( ) ) { if ( orient.mValue.equals ( value ) ) { return orient ; } } return null ; }
Source:
public int getViewBaseline ( java.lang.Object viewObject ) { return - 1 ; }

Target:
public com.android.ide.common.rendering.api.Result getViewBaseline ( java.lang.Object viewObject ) { return Status.NOT_IMPLEMENTED.createResult ( ) ; }
Source:
public void setEncoding ( java.lang.String encoding ) throws java.io.UnsupportedEncodingException { java.util.logging.LogManager.getLogManager ( ) . checkAccess ( ) ; internalSetEncoding ( encoding ) ; }

Target:
public void setEncoding ( java.lang.String charsetName ) throws java.io.UnsupportedEncodingException { java.util.logging.LogManager.getLogManager ( ) . checkAccess ( ) ; internalSetEncoding ( charsetName ) ; }
Source:
public static void startMethodTracing ( java.lang.String traceFileName , int bufferSize , int flags ) { if ( traceFileName == null ) { throw new java.lang.NullPointerException ( "traceFileName == null" ) ; } dalvik.system.VMDebug.startMethodTracingNative ( traceFileName , null , bufferSize , flags ) ; }

Target:
public static void startMethodTracing ( java.lang.String traceFileName , int bufferSize , int flags ) { dalvik.system.VMDebug.startMethodTracingFilename ( traceFileName , dalvik.system.VMDebug.checkBufferSize ( bufferSize ) , flags ) ; }
Source:
public static java.lang.String selectName ( com.android.dialer.phonelookup.PhoneLookupInfo phoneLookupInfo ) { if ( ( phoneLookupInfo.getCp2Info ( ) . getCp2ContactInfoCount ( ) ) > 0 ) { return phoneLookupInfo.getCp2Info ( ) . getCp2ContactInfo ( 0 ) . getName ( ) ; } return "" ; }

Target:
private static com.android.dialer.phonelookup.PhoneLookupInfo.Cp2Info.Cp2ContactInfo firstLocalContact ( com.android.dialer.phonelookup.PhoneLookupInfo phoneLookupInfo ) { if ( ( phoneLookupInfo.getCp2Info ( ) . getCp2ContactInfoCount ( ) ) > 0 ) { return phoneLookupInfo.getCp2Info ( ) . getCp2ContactInfo ( 0 ) ; } return null ; }