auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
private static java.lang.String getServiceName ( ) { if ( ( android.webkit.WebViewZygote.sPackage ) == null ) return null ; if ( java.util.Arrays.asList ( Build.SUPPORTED_64_BIT_ABIS ) . contains ( android.webkit.WebViewZygote.sPackage.applicationInfo.primaryCpuAbi ) ) { return android.webkit.WebViewZygote.WEBVIEW_ZYGOTE_SERVICE_64 ; } return android.webkit.WebViewZygote.WEBVIEW_ZYGOTE_SERVICE_32 ; }

Target:
private static java.lang.String getServiceNameLocked ( ) { if ( ( android.webkit.WebViewZygote.sPackage ) == null ) return null ; if ( java.util.Arrays.asList ( Build.SUPPORTED_64_BIT_ABIS ) . contains ( android.webkit.WebViewZygote.sPackage.applicationInfo.primaryCpuAbi ) ) { return android.webkit.WebViewZygote.WEBVIEW_ZYGOTE_SERVICE_64 ; } return android.webkit.WebViewZygote.WEBVIEW_ZYGOTE_SERVICE_32 ; }
Source:
public native long getLong ( java.lang.Object object ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;

Target:
private native long getLong ( java.lang.Object object , boolean accessible ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;
Source:
public void validateUpdateParameterWithUnknowMethod ( ) throws java.lang.Exception { android.net.wifi.hotspot2.pps.UpdateParameter updateParam = android.net.wifi.hotspot2.pps.UpdateParameterTest.createUpdateParameter ( ) ; updateParam.updateMethod = "adsfasd" ; org.junit.Assert.assertFalse ( updateParam.validate ( ) ) ; }

Target:
public void validateUpdateParameterWithUnknowRestriction ( ) throws java.lang.Exception { android.net.wifi.hotspot2.pps.UpdateParameter updateParam = android.net.wifi.hotspot2.pps.UpdateParameterTest.createUpdateParameter ( ) ; updateParam.setRestriction ( "adsfasd" ) ; org.junit.Assert.assertFalse ( updateParam.validate ( ) ) ; }
Source:
private static void initTaskExecutor ( ) { com.android.dialer.app.calllog.CallLogAsyncTaskUtil.sAsyncTaskExecutor = com.android.dialer.common.concurrent.AsyncTaskExecutors.createThreadPoolExecutor ( ) ; }

Target:
private static void initTaskExecutor ( ) { com.android.dialer.app.calllog.CallLogAsyncTaskUtil.asyncTaskExecutor = com.android.dialer.common.concurrent.AsyncTaskExecutors.createThreadPoolExecutor ( ) ; }
Source:
static java.lang.String dump ( @ com.android.annotations.Nullable org.w3c.dom.Node node , boolean nextSiblings ) { return com.android.manifmerger.XmlUtils.dump ( node , 0 , nextSiblings , true , null ) ; }

Target:
static java.lang.String dump ( @ com.android.annotations.Nullable org.w3c.dom.Node node , boolean nextSiblings ) { return com.android.manifmerger.MergerXmlUtils.dump ( node , 0 , nextSiblings , true , null ) ; }
Source:
private static void test_init ( dalvik.system.DexClassLoaderTest.Configuration config ) { dalvik.system.DexClassLoaderTest.createInstance ( config ) ; int expectedFiles = config.expectedFiles ; int actualFiles = config.optimizedDir.listFiles ( ) . length ; assertEquals ( expectedFiles , actualFiles ) ; }

Target:
public void test_oneJar_init ( ) throws java.lang.Exception { java.lang.ClassLoader cl = createLoader ( jar1 ) ; java.io.File [ ] files = optimizedDir.listFiles ( dalvik.system.DexClassLoaderTest.DEX_FILE_NAME_FILTER ) ; assertNotNull ( files ) ; assertEquals ( 1 , files.length ) ; }
Source:
public void exit ( ) { turnOffUpstreamMobileConnection ( ) ; mUpstreamNetworkMonitor.stop ( ) ; stopListeningForSimChanges ( ) ; notifyTetheredOfNewUpstreamIface ( null ) ; handleNewUpstreamNetworkState ( null ) ; }

Target:
public void exit ( ) { turnOffUpstreamMobileConnection ( ) ; mUpstreamNetworkMonitor.stop ( ) ; simChange.stopListening ( ) ; notifyTetheredOfNewUpstreamIface ( null ) ; handleNewUpstreamNetworkState ( null ) ; }
Source:
public static java.lang.String toUpperCase ( java.util.Locale locale , java.lang.String str ) { return android.icu.lang.UCharacter.toUpperCase ( android.icu.util.ULocale.forLocale ( locale ) , str ) ; }

Target:
private static int getDefaultCaseLocale ( ) { return android.icu.impl.UCaseProps.getCaseLocale ( java.util.Locale.getDefault ( ) ) ; }
Source:
public com.android.sdkuilib.internal.repository.sdkman2.PkgCategory createCategory ( java.lang.Object catKey ) { assert catKey instanceof com.android.sdklib.internal.repository.SdkSource ; com.android.sdkuilib.internal.repository.sdkman2.PkgCategory cat = new com.android.sdkuilib.internal.repository.sdkman2.PkgCategorySource ( ( ( com.android.sdklib.internal.repository.SdkSource ) ( catKey ) ) , mUpdaterData ) ; return cat ; }

Target:
public com.android.sdkuilib.internal.repository.sdkman2.PkgCategory createCategory ( java.lang.Object catKey ) { assert catKey instanceof com.android.sdklib.internal.repository.sources.SdkSource ; com.android.sdkuilib.internal.repository.sdkman2.PkgCategory cat = new com.android.sdkuilib.internal.repository.sdkman2.PkgCategorySource ( ( ( com.android.sdklib.internal.repository.sources.SdkSource ) ( catKey ) ) , mUpdaterData ) ; return cat ; }
Source:
public void doExecute ( org.gradle.api.internal.html.SimpleHtmlWriter writer ) throws java.io.IOException { renderCompositeResults ( writer , results.getResultsPerVariants ( ) , "Variants" ) ; }

Target:
public void doExecute ( com.android.build.gradle.internal.test.report.SimpleHtmlWriter writer ) throws java.io.IOException { renderCompositeResults ( writer , results.getResultsPerVariants ( ) , "Variants" ) ; }
Source:
synchronized void nScriptSetVarF ( int id , int slot , float val ) { validate ( ) ; rsnScriptSetVarF ( mContext , id , slot , val ) ; }

Target:
synchronized void nScriptSetVarVE ( long id , int slot , byte [ ] val , long e , int [ ] dims ) { validate ( ) ; rsnScriptSetVarVE ( mContext , id , slot , val , e , dims ) ; }
Source:
public void addArgs ( @ javax.annotation.Nonnull java.util.List < com.android.jack.ir.ast.JExpression > toAdd ) { args.addAll ( toAdd ) ; }

Target:
public void addArg ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JExpression toAdd ) { args.add ( toAdd ) ; }
Source:
public int value ( ) { return mValue ; }

Target:
public void dispose ( ) { com.android.internal.telephony.cat.CatService.mIccRecords.unregisterForRecordsLoaded ( this ) ; mCmdIf.unSetOnCatSessionEnd ( this ) ; mCmdIf.unSetOnCatProactiveCmd ( this ) ; mCmdIf.unSetOnCatEvent ( this ) ; mCmdIf.unSetOnCatCallSetUp ( this ) ; this . removeCallbacksAndMessages ( null ) ; }
Source:
public void testExtractDecodeEditEncodeMuxAudioVideo ( ) throws java.lang.Throwable { setSize ( 1280 , 720 ) ; setSource ( R.raw.video_480x360_mp4_h264_500kbps_30fps_aac_stereo_128kbps_44100hz ) ; setCopyAudio ( ) ; setCopyVideo ( ) ; android.media.cts.ExtractDecodeEditEncodeMuxTest.TestWrapper.runTest ( this ) ; }

Target:
public void testExtractDecodeEditEncodeMuxAudio ( ) throws java.lang.Throwable { if ( ! ( setSize ( 1280 , 720 ) ) ) return ; setSource ( R.raw.video_480x360_mp4_h264_500kbps_30fps_aac_stereo_128kbps_44100hz ) ; setCopyAudio ( ) ; android.media.cts.ExtractDecodeEditEncodeMuxTest.TestWrapper.runTest ( this ) ; }
Source:
public void addLayoutActions ( java.util.List < com.android.ide.common.api.MenuAction > actions , final com.android.ide.common.api.INode parentNode , final java.util.List < ? extends com.android.ide.common.api.INode > children ) { super . addLayoutActions ( actions , parentNode , children ) ; com.android.ide.common.layout.TableLayoutRule.addTableLayoutActions ( actions , parentNode , children ) ; }

Target:
public void addLayoutActions ( java.util.List < com.android.ide.common.api.MenuAction > actions , final com.android.ide.common.api.INode parentNode , final java.util.List < ? extends com.android.ide.common.api.INode > children ) { super . addLayoutActions ( actions , parentNode , children ) ; com.android.ide.common.layout.TableLayoutRule.addTableLayoutActions ( mRulesEngine , actions , parentNode , children ) ; }
Source:
public void merge ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface type ) throws com.android.jack.backend.dex.DexWritingException { try { mergeDex ( merger , type ) ; } catch ( com.android.jack.tools.merger.MergingOverflowException e ) { throw new com.android.jack.backend.dex.DexWritingException ( new com.android.jack.backend.dex.SingleDexOverflowException ( e ) ) ; } }

Target:
public void merge ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface type ) throws com.android.jack.backend.dex.DexWritingException { try { manager.mergeDex ( merger , type ) ; } 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:
public void testIsOutgoingCallPermitted ( ) throws java.lang.Exception { assertTrue ( mTelecomSystem.getTelecomServiceImpl ( ) . getBinder ( ) . isOutgoingCallPermitted ( mPhoneAccountSelfManaged.getAccountHandle ( ) ) ) ; }

Target:
public void testIsOutgoingCallPermitted ( ) throws java.lang.Exception { org.junit.Assert.assertTrue ( mTelecomSystem.getTelecomServiceImpl ( ) . getBinder ( ) . isOutgoingCallPermitted ( mPhoneAccountSelfManaged.getAccountHandle ( ) ) ) ; }
Source:
public void testConstructor_NullStartDate_Failure ( ) throws java.lang.Exception { try { new android.security.KeyPairGeneratorSpec ( getContext ( ) , android.security.KeyPairGeneratorSpecTest.TEST_ALIAS_1 , "RSA" , 1024 , null , android.security.KeyPairGeneratorSpecTest.TEST_DN_1 , android.security.KeyPairGeneratorSpecTest.SERIAL_1 , null , android.security.KeyPairGeneratorSpecTest.NOW_PLUS_10_YEARS , 0 ) ; fail ( "Should throw IllegalArgumentException when startDate is null" ) ; } catch ( java.lang.IllegalArgumentException success ) { } }

Target:
public void testConstructor_NullStartDate_Success ( ) throws java.lang.Exception { android.security.KeyPairGeneratorSpec spec = new android.security.KeyPairGeneratorSpec ( getContext ( ) , android.security.KeyPairGeneratorSpecTest.TEST_ALIAS_1 , "RSA" , 1024 , null , android.security.KeyPairGeneratorSpecTest.TEST_DN_1 , android.security.KeyPairGeneratorSpecTest.SERIAL_1 , null , android.security.KeyPairGeneratorSpecTest.NOW_PLUS_10_YEARS , 0 ) ; assertEquals ( android.security.KeyPairGeneratorSpecTest.DEFAULT_CERT_NOT_BEFORE , spec.getStartDate ( ) ) ; }
Source:
public void setOnHold ( java.lang.String connectionId ) { mHandler.obtainMessage ( android.telecom.ConnectionServiceAdapterServant.MSG_SET_ON_HOLD , connectionId ) . sendToTarget ( ) ; }

Target:
public void setOnHold ( java.lang.String connectionId , android.telecom.Logging.Session.Info sessionInfo ) { mHandler.obtainMessage ( android.telecom.ConnectionServiceAdapterServant.MSG_SET_ON_HOLD , connectionId ) . sendToTarget ( ) ; }
Source:
public java.util.List < com.android.jack.ir.ast.JCatchBlock > getJCatchBlocks ( ) { return catchBlocks ; }

Target:
public void removeCatchBlocks ( @ javax.annotation.Nonnull java.util.List < com.android.jack.ir.ast.JCatchBlock > catchBlocksToRemove ) { catchBlocks.removeAll ( catchBlocksToRemove ) ; }
Source:
public void error ( java.lang.String tag , java.lang.String message ) { }

Target:
public void error ( java.lang.String tag , java.lang.String message , java.lang.Throwable throwable , java.lang.Object data ) { }
Source:
public void visitInnerClassesAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.InnerClassesAttribute innerClassesAttribute ) { if ( ( innerClassesAttribute.u2classesCount ) > 0 ) { innerClassesAttribute.accept ( clazz , attributeVisitor ) ; } }

Target:
public void visitRuntimeInvisibleTypeAnnotationsAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.CodeAttribute codeAttribute , proguard.classfile.attribute.visitor.RuntimeInvisibleTypeAnnotationsAttribute runtimeInvisibleTypeAnnotationsAttribute ) { if ( ( runtimeInvisibleTypeAnnotationsAttribute.u2annotationsCount ) > 0 ) { attributeVisitor.visitRuntimeInvisibleTypeAnnotationsAttribute ( clazz , method , codeAttribute , runtimeInvisibleTypeAnnotationsAttribute ) ; } }
Source:
public com.android.ide.eclipse.adt.internal.editors.descriptors.TextAttributeDescriptor create ( java.lang.String xmlLocalName , java.lang.String uiName , java.lang.String nsUri , java.lang.String tooltip , com.android.ide.eclipse.adt.editors.layout.gscripts.IAttributeInfo attrInfo ) { return new com.android.ide.eclipse.adt.internal.editors.descriptors.ReferenceAttributeDescriptor ( com.android.ide.eclipse.adt.internal.resources.ResourceType.DRAWABLE , xmlLocalName , uiName , nsUri , tooltip , new com.android.ide.eclipse.adt.internal.resources.AttributeInfo ( xmlLocalName , new com.android.ide.eclipse.adt.editors.layout.gscripts.IAttributeInfo.Format [ ] { com.android.ide.eclipse.adt.editors.layout.gscripts.IAttributeInfo.Format.REFERENCE } ) ) ; }

Target:
public com.android.ide.eclipse.adt.internal.editors.descriptors.TextAttributeDescriptor create ( java.lang.String xmlLocalName , java.lang.String uiName , java.lang.String nsUri , java.lang.String tooltip , com.android.ide.common.api.IAttributeInfo attrInfo ) { return new com.android.ide.eclipse.adt.internal.editors.descriptors.ReferenceAttributeDescriptor ( com.android.ide.eclipse.adt.internal.resources.ResourceType.DRAWABLE , xmlLocalName , uiName , nsUri , tooltip , new com.android.ide.eclipse.adt.internal.resources.AttributeInfo ( xmlLocalName , new com.android.ide.common.api.IAttributeInfo.Format [ ] { com.android.ide.common.api.IAttributeInfo.Format.REFERENCE } ) ) ; }
Source:
private void readCharacteristic ( java.util.UUID uuid ) { android.bluetooth.BluetoothGattCharacteristic characteristic = getCharacteristic ( uuid ) ; if ( characteristic != null ) { mBluetoothGatt.readCharacteristic ( characteristic ) ; } }

Target:
private void readCharacteristic ( ) { android.bluetooth.BluetoothGattCharacteristic characteristic = getCharacteristic ( com.android.cts.verifier.bluetooth.BleClientService.CHARACTERISTIC_UUID ) ; if ( characteristic != null ) mBluetoothGatt.readCharacteristic ( characteristic ) ; }
Source:
void addLocalMessage ( java.lang.String message ) { updateCurrentLocalMessage ( message ) ; if ( ( messageListener ) != null ) { messageListener.onUpdateLocalMessage ( lastIndexOfLocalMessage ) ; } }

Target:
void addLocalMessage ( java.lang.String message ) { updateCurrentLocalMessage ( message ) ; if ( ( messageListener ) != null ) { messageListener.onUpdateLocalMessage ( toItemPosition ( lastIndexOfLocalMessage ) ) ; } }
Source:
native void rsnAllocationElementData1D ( int con , int id , int xoff , int mip , int compIdx , byte [ ] d , int sizeBytes ) ;

Target:
native void rsnAllocationData3D ( long con , long id , int xoff , int yoff , int zoff , int mip , int w , int h , int depth , long [ ] d , int sizeBytes ) ;
Source:
protected java.util.concurrent.ScheduledExecutorService executor ( ) { return java.util.concurrent.Executors.newSingleThreadScheduledExecutor ( ) ; }

Target:
public void terminated ( com.google.common.util.concurrent.Service.State from ) { executor.shutdown ( ) ; }
Source:
public int writeUleb128 ( int value ) { if ( stretchy ) { ensureCapacity ( ( ( cursor ) + 5 ) ) ; } int cursorBefore = cursor ; com.android.dx.util.Leb128Utils.writeUnsignedLeb128 ( this , value ) ; return ( cursor ) - cursorBefore ; }

Target:
public int writeUleb128 ( int value ) { if ( stretchy ) { ensureCapacity ( ( ( cursor ) + 5 ) ) ; } int cursorBefore = cursor ; com.android.dex.Leb128.writeUnsignedLeb128 ( this , value ) ; return ( cursor ) - cursorBefore ; }
Source:
protected abstract void renderBreadcrumbs ( org.w3c.dom.Element parent ) ;

Target:
protected abstract void renderBreadcrumbs ( org.gradle.api.internal.html.SimpleHtmlWriter htmlWriter ) throws java.io.IOException ;
Source:
public static java.util.Calendar getJapanesImperialInstance ( java.util.TimeZone zone , java.util.Locale aLocale ) { return new java.util.JapaneseImperialCalendar ( zone , aLocale ) ; }

Target:
public static java.util.Calendar getJapaneseImperialInstance ( java.util.TimeZone zone , java.util.Locale aLocale ) { return new java.util.JapaneseImperialCalendar ( zone , aLocale ) ; }
Source:
private boolean isVerificationEnabled ( ) { return ( android.provider.Settings.Secure.getInt ( mContext.getContentResolver ( ) , android.provider.Settings.Secure.PACKAGE_VERIFIER_ENABLE , ( com.android.server.pm.PackageManagerService.DEFAULT_VERIFY_ENABLE ? 1 : 0 ) ) ) == 1 ? true : false ; }

Target:
private int getDefaultVerificationResponse ( ) { return android.provider.Settings.Global.getInt ( mContext.getContentResolver ( ) , android.provider.Settings.Global.PACKAGE_VERIFIER_DEFAULT_RESPONSE , com.android.server.pm.PackageManagerService.DEFAULT_VERIFICATION_RESPONSE ) ; }
Source:
public void reset ( ) { java.lang.System.arraycopy ( IV , 0 , ofbV , 0 , IV.length ) ; cipher.reset ( ) ; }

Target:
public void reset ( ) { java.lang.System.arraycopy ( IV , 0 , ofbV , 0 , IV.length ) ; byteCount = 0 ; cipher.reset ( ) ; }
Source:
public java.lang.String insnArgString ( com.android.jack.dx.dex.code.DalvInsn insn ) { return ( ( regRangeString ( insn.getRegisters ( ) ) ) + ", " ) + ( cstString ( insn ) ) ; }

Target:
public java.lang.String insnArgString ( com.android.jack.dx.dex.code.DalvInsn insn ) { return ( ( regRangeString ( insn.getRegisters ( ) ) ) + ", " ) + ( cstString ( ( ( com.android.jack.dx.dex.code.CstInsn ) ( insn ) ) ) ) ; }
Source:
public int getPhoneSignalStrengthCount ( int dataType , int which ) { return mPhoneDataConnectionsTimer [ dataType ] . getCountLocked ( which ) ; }

Target:
public int getPhoneSignalStrengthCount ( int strengthBin , int which ) { return mPhoneSignalStrengthsTimer [ strengthBin ] . getCountLocked ( which ) ; }
Source:
public void visitDeprecatedAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.DeprecatedAttribute deprecatedAttribute ) { deprecatedAttribute.accept ( clazz , method , attributeVisitor ) ; }

Target:
public void visitSyntheticAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.SyntheticAttribute syntheticAttribute ) { attributeVisitor.visitSyntheticAttribute ( clazz , syntheticAttribute ) ; }
Source:
public void testE1 ( ) { dot.junit.opcodes.invoke_super.d.T_invoke_super_2 t = new dot.junit.opcodes.invoke_super.d.T_invoke_super_2 ( ) ; try { t.run ( ) ; fail ( "expected NullPointerException" ) ; } catch ( java.lang.NullPointerException npe ) { } }

Target:
public void testE1 ( ) { loadAndRun ( "dot.junit.opcodes.invoke_super.d.T_invoke_super_2" , java.lang.NullPointerException.class ) ; dot.junit.opcodes.invoke_super.d.T_invoke_super_2 t = new dot.junit.opcodes.invoke_super.d.T_invoke_super_2 ( ) ; }
Source:
public void testTextViewContent ( ) { assertEquals ( "1234" , mTextView.getText ( ) . toString ( ) ) ; }

Target:
public void testNonObfuscatedMethod1 ( ) { mainActivity.setUpTextView1 ( ) ; java.lang.String className = "com.android.tests.basic.StringGetter" ; java.lang.String methodName = "getString" ; searchMethod ( className , methodName , true ) ; }
Source:
public void onHostCardEmulationDeactivated ( ) { if ( ( mCardEmulationManager ) != null ) { mCardEmulationManager.onHostCardEmulationDeactivated ( ) ; } }

Target:
public void onHostCardEmulationData ( int technology , byte [ ] data ) { if ( ( mCardEmulationManager ) != null ) { mCardEmulationManager.onHostCardEmulationData ( technology , data ) ; } }
Source:
public static void clearRestrictedCount ( ) { com.android.incallui.call.DialerCall.sHiddenCounter = 0 ; }

Target:
public static void clearRestrictedCount ( ) { com.android.incallui.call.DialerCall.hiddenCounter = 0 ; }
Source:
private void readMeminfoDataset ( java.io.BufferedReader br ) throws java.io.IOException { mLabel.setText ( "PSS in kB" ) ; updateDataSet ( com.android.ddmuilib.SysinfoPanel.BugReportParser.readMeminfoDataset ( br ) ) ; }

Target:
public void run ( ) { mLabel.setText ( label ) ; for ( com.android.ddmuilib.SysinfoPanel.BugReportParser.DataValue d : data ) { mDataset.setValue ( d.name , d.value ) ; } }
Source:
com.android.jack.ir.ast.JAnnotationLiteral getAnnotation ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JAnnotation annotationType ) ;

Target:
java.util.Collection < com.android.jack.ir.ast.JAnnotationLiteral > getAnnotations ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JAnnotation annotationType ) ;
Source:
public static int SubNeg2 ( int arg1 , int arg2 ) { int temp = - arg1 ; return ( temp - arg2 ) | ( temp - arg2 ) ; }

Target:
public static int $noinline$SubNeg2 ( int arg1 , int arg2 ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } int temp = - arg1 ; return ( temp - arg2 ) | ( temp - arg2 ) ; }
Source:
void expectAvailableCallbacks ( com.android.server.ConnectivityServiceTest.MockNetworkAgent agent ) { expectAvailableCallbacks ( agent , false , com.android.server.ConnectivityServiceTest.TestNetworkCallback.TIMEOUT_MS ) ; }

Target:
void expectAvailableCallbacksValidated ( com.android.server.ConnectivityServiceTest.MockNetworkAgent agent ) { expectAvailableCallbacks ( agent , false , true , com.android.server.ConnectivityServiceTest.TestNetworkCallback.TIMEOUT_MS ) ; }
Source:
public boolean hasDirectCategory ( @ javax.annotation.Nonnull java.lang.Class < ? extends com.android.sched.util.config.category.Category > target ) { if ( ( target == ( com.android.sched.util.config.category.Category.class ) ) || ( categories.contains ( target ) ) ) { return true ; } return false ; }

Target:
public boolean hasDirectCategory ( @ javax.annotation.Nonnull java.lang.Class < ? extends com.android.sched.util.config.category.Category > target ) { if ( ( target == ( com.android.sched.util.config.category.Category.class ) ) || ( categories.containsKey ( target ) ) ) { return true ; } return false ; }
Source:
public void testWindowsDelimiters ( ) throws java.lang.Exception { checkFormat ( com.android.ide.eclipse.adt.internal.editors.formatting.XmlFormatPreferences.create ( ) , "res/layout-xlarge/layout.xml" , "<LinearLayout><Button foo=\"bar\"></Button></LinearLayout>" , ( "<LinearLayout>\r\n" + ( ( ( ( "\r\n" + " <Button foo=\"bar\" >\r\n" ) + " </Button>\r\n" ) + "\r\n" ) + "</LinearLayout>" ) ) , "\r\n" ) ; }

Target:
public void testWindowsDelimiters ( ) throws java.lang.Exception { checkFormat ( com.android.ide.eclipse.adt.internal.editors.formatting.EclipseXmlFormatPreferences.create ( ) , "res/layout-xlarge/layout.xml" , "<LinearLayout><Button foo=\"bar\"></Button></LinearLayout>" , ( "<LinearLayout>\r\n" + ( ( ( ( "\r\n" + " <Button foo=\"bar\" >\r\n" ) + " </Button>\r\n" ) + "\r\n" ) + "</LinearLayout>" ) ) , "\r\n" ) ; }
Source:
public void getDataRegistrationState ( android.os.Message result ) { mGetDataRegistrationStateCallCount.incrementAndGet ( ) ; android.hardware.radio.V1_0.DataRegStateResult ret = new android.hardware.radio.V1_0.DataRegStateResult ( ) ; ret.regState = mDataRegState ; ret.rat = mDataRadioTech ; resultSuccess ( result , ret ) ; }

Target:
public void getDataRegistrationState ( android.os.Message result ) { mGetDataRegistrationStateCallCount.incrementAndGet ( ) ; android.hardware.radio.V1_0.DataRegStateResult ret = new android.hardware.radio.V1_0.DataRegStateResult ( ) ; ret.regState = mDataRegState ; ret.rat = mDataRadioTech ; ret.maxDataCalls = mMaxDataCalls ; ret.reasonDataDenied = mReasonForDenial ; resultSuccess ( result , ret ) ; }
Source:
public java.io.PrintWriter getErrorLogPrintWriter ( ) { return new java.io.PrintWriter ( new com.ibm.icu.dev.test.TestLogWriter ( this , TestLog.ERR ) ) ; }

Target:
protected static boolean checkDefaultPrivateConstructor ( java.lang.String fullyQualifiedClassName ) throws java.lang.Exception { return com.ibm.icu.dev.test.TestFmwk.checkDefaultPrivateConstructor ( java.lang.Class.forName ( fullyQualifiedClassName ) ) ; }
Source:
public void binderDied ( ) { android.util.Log.e ( com.android.internal.telephony.ims.ImsServiceController.LOG_TAG , ( ( "ImsService(" + ( mComponentName ) ) + ") died. Restarting..." ) ) ; notifyAllFeaturesRemoved ( ) ; cleanUpService ( ) ; startDelayedRebindToService ( ) ; }

Target:
public void binderDied ( ) { android.util.Log.e ( com.android.internal.telephony.ims.ImsServiceController.LOG_TAG , ( ( "ImsService(" + ( mComponentName ) ) + ") died. Restarting..." ) ) ; synchronized ( mLock ) { mIsBinding = false ; mIsBound = false ; } notifyAllFeaturesRemoved ( ) ; cleanUpService ( ) ; startDelayedRebindToService ( ) ; }
Source:
public static synchronized void createRenderscriptContext ( android.content.Context context ) { if ( ( com.android.gallery3d.filtershow.pipeline.CachingPipeline.sRS ) != null ) { android.util.Log.w ( com.android.gallery3d.filtershow.pipeline.CachingPipeline.LOGTAG , "A prior RS context exists when calling setRenderScriptContext" ) ; com.android.gallery3d.filtershow.pipeline.CachingPipeline.destroyRenderScriptContext ( ) ; } com.android.gallery3d.filtershow.pipeline.CachingPipeline.sRS = android.support.v8.renderscript.RenderScript.create ( context ) ; }

Target:
public static synchronized void createRenderscriptContext ( android.content.Context context ) { if ( ( com.android.gallery3d.filtershow.pipeline.CachingPipeline.sRS ) != null ) { android.util.Log.w ( com.android.gallery3d.filtershow.pipeline.CachingPipeline.LOGTAG , "A prior RS context exists when calling setRenderScriptContext" ) ; com.android.gallery3d.filtershow.pipeline.CachingPipeline.destroyRenderScriptContext ( ) ; } com.android.gallery3d.filtershow.pipeline.CachingPipeline.sRS = android.renderscript.RenderScript.create ( context ) ; }
Source:
public void testGetAssetInt ( ) { mAssetInputStream.getAssetInt ( ) ; }

Target:
public void testGetAssetInt ( ) { try { mAssetInputStream.getAssetInt ( ) ; fail ( ) ; } catch ( java.lang.UnsupportedOperationException expected ) { } }
Source:
public static float ReturnFloat33 ( ) { int imm = Main.$inline$int ( 33 ) ; return ( ( float ) ( imm ) ) ; }

Target:
public static float ReturnFloat34 ( ) { long imm = 34L ; return ( ( float ) ( imm ) ) ; }
Source:
public void endTrace ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface type ) { composedStatus.pop ( ) ; for ( com.android.jack.analysis.tracer.TracerBrush config : brushes ) { config.endTrace ( type ) ; } }

Target:
public void endTrace ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface type ) { composedStatus.pop ( ) ; for ( com.android.jack.analysis.tracer.TracerBrush brush : brushes ) { brush.endTrace ( type ) ; } }
Source:
public static java.lang.String externalBaseType ( java.lang.String externalArrayType ) { int index = externalArrayType.indexOf ( ClassConstants.EXTERNAL_TYPE_ARRAY ) ; return index >= 0 ? externalArrayType.substring ( 0 , index ) : externalArrayType ; }

Target:
public static java.lang.String externalBaseType ( java.lang.String externalArrayType ) { int index = externalArrayType.indexOf ( JavaConstants.TYPE_ARRAY ) ; return index >= 0 ? externalArrayType.substring ( 0 , index ) : externalArrayType ; }
Source:
public void testCorrectCertUsedFromPkcs7SignedDataCertsSet ( ) throws java.lang.Exception { assertInstallSucceeds ( "v1-only-pkcs7-cert-bag-first-cert-not-used.apk" ) ; assertInstallFailsWithError ( "v1-only-with-rsa-pkcs1-sha1-1024.apk" , "signatures do not match" ) ; assertInstallSucceeds ( "v1-only-with-rsa-pkcs1-sha1-2048.apk" ) ; }

Target:
public void testCorrectCertUsedFromPkcs7SignedDataCertsSet ( ) throws java.lang.Exception { assertInstallSucceeds ( "v1-only-pkcs7-cert-bag-first-cert-not-used.apk" ) ; assertInstallFailsWithError ( "v1-only-with-rsa-pkcs1-sha1-1.2.840.113549.1.1.1-1024.apk" , "signatures do not match" ) ; assertInstallSucceeds ( "v1-only-with-rsa-pkcs1-sha1-1.2.840.113549.1.1.1-2048.apk" ) ; }
Source:
public void addListener ( com.android.sdkuilib.repository.ISdkChangeListener listener ) { mSwtUpdaterData.addListeners ( listener ) ; }

Target:
public void addListener ( com.android.sdklib.repository.ISdkChangeListener listener ) { mSwtUpdaterData.addListeners ( listener ) ; }
Source:
public void test ( ) throws java.lang.Exception { doTest ( "com/siyeh/igtest/migration/foreach" , new com.intellij.codeInspection.ex.LocalInspectionToolWrapper ( new com.siyeh.ig.migration.ForCanBeForeachInspection ( ) ) , "java 1.5" ) ; }

Target:
public void test ( ) throws java.lang.Exception { com.siyeh.ig.migration.ForCanBeForeachInspection inspection = new com.siyeh.ig.migration.ForCanBeForeachInspection ( ) ; inspection.REPORT_INDEXED_LOOP = true ; doTest ( "com/siyeh/igtest/migration/foreach" , new com.intellij.codeInspection.ex.LocalInspectionToolWrapper ( inspection ) , "java 1.5" ) ; }
Source:
public java.io.File getMainDexListFile ( ) { return new java.io.File ( ( ( ( ( ( ( globalScope.getBuildDir ( ) ) + "/" ) + ( com.android.builder.model.AndroidProject.FD_INTERMEDIATES ) ) + "/multi-dex/" ) + ( getVariantConfiguration ( ) . getDirName ( ) ) ) + "/maindexlist.txt" ) ) ; }

Target:
public java.io.File getBuildConfigSourceOutputDir ( ) { return new java.io.File ( ( ( ( ( ( globalScope.getBuildDir ( ) ) + "/" ) + ( com.android.builder.model.AndroidProject.FD_GENERATED ) ) + "/source/buildConfig/" ) + ( variantData.getVariantConfiguration ( ) . getDirName ( ) ) ) ) ; }
Source:
public void onDisconnect ( ) { com.android.services.telephony.Log.v ( this , "onDisconnect" ) ; hangup ( android.telephony.DisconnectCause.LOCAL ) ; }

Target:
public void onDisconnect ( ) { com.android.services.telephony.Log.v ( this , "onDisconnect" ) ; mHandler.obtainMessage ( com.android.services.telephony.TelephonyConnection.MSG_HANGUP , android.telephony.DisconnectCause.LOCAL ) . sendToTarget ( ) ; }
Source:
public static void main ( java.lang.String [ ] args ) throws java.lang.Exception { new com.ibm.icu.dev.test.normalizer.BasicTest ( ) . run ( args ) ; }

Target:
public void TestComposePairBase ( ) { int a = 'a' ; int b = '̀' ; assertEquals ( "Unexpected value returned from Normalizer2.composePair()" , ( - 1 ) , tnorm2.composePair ( a , b ) ) ; }
Source:
synchronized void nAllocationRead ( long id , java.lang.Object d , android.support.v8.renderscript.Element.DataType dt ) { validate ( ) ; rsnAllocationRead ( mContext , id , d , dt.mID ) ; }

Target:
synchronized void nAllocationRead ( long id , java.lang.Object d , android.support.v8.renderscript.Element.DataType dt , int mSize , boolean usePadding ) { validate ( ) ; rsnAllocationRead ( mContext , id , d , dt.mID , mSize , usePadding ) ; }
Source:
public static void reportValue ( java.lang.Object val ) { java.lang.System.out.println ( ( ( ( ( "\tValue is \'" + val ) + "' (class: " ) + ( val != null ? val.getClass ( ) : "NULL" ) ) + ")" ) ) ; }

Target:
public static void reportValue ( java.lang.Object val ) { java.lang.System.out.println ( ( ( ( ( "\tValue is \'" + val ) + "' (class: " ) + ( val != null ? val instanceof java.lang.reflect.Proxy ? "PROXY CLASS" : val.getClass ( ) : "NULL" ) ) + ")" ) ) ; }
Source:
private static java.util.Properties createProps ( com.android.sdklib.internal.repository.packages.FullRevision revision , com.android.sdklib.internal.repository.packages.FullRevision minPlatformToolsRev ) { java.util.Properties props = com.android.sdklib.internal.repository.packages.FullRevisionPackageTest.createProps ( revision ) ; props.setProperty ( PkgProps.MIN_PLATFORM_TOOLS_REV , minPlatformToolsRev.toShortString ( ) ) ; return props ; }

Target:
private static java.util.Properties createProps ( com.android.sdklib.repository.FullRevision revision , com.android.sdklib.repository.FullRevision minPlatformToolsRev ) { java.util.Properties props = com.android.sdklib.internal.repository.packages.FullRevisionPackageTest.createProps ( revision ) ; props.setProperty ( PkgProps.MIN_PLATFORM_TOOLS_REV , minPlatformToolsRev.toShortString ( ) ) ; return props ; }
Source:
public java.util.List < java.io.File > getJavaLibraries ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Project project ) { return getEclipseClasspath ( project , "lib" ) ; }

Target:
public java.util.List < java.io.File > getJavaLibraries ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Project project ) { return getClassPath ( project ) . getLibraries ( ) ; }
Source:
public void removeContentProviderExternal ( java.lang.String name , android.os.IBinder token ) { enforceCallingPermission ( android.Manifest.permission.ACCESS_CONTENT_PROVIDERS_EXTERNALLY , "Do not have permission in call removeContentProviderExternal()" ) ; removeContentProviderExternalUnchecked ( name , token ) ; }

Target:
public void removeContentProviderExternal ( java.lang.String name , android.os.IBinder token ) { enforceCallingPermission ( android.Manifest.permission.ACCESS_CONTENT_PROVIDERS_EXTERNALLY , "Do not have permission in call removeContentProviderExternal()" ) ; removeContentProviderExternalUnchecked ( name , token , android.os.UserHandle.getCallingUserId ( ) ) ; }
Source:
private void applyTransportModeTransform ( android.os.ParcelFileDescriptor pfd , android.net.IpSecTransform transform ) { try { mService.applyTransportModeTransform ( pfd , transform.getResourceId ( ) ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }

Target:
private void applyTransportModeTransform ( android.os.ParcelFileDescriptor pfd , int direction , android.net.IpSecTransform transform ) throws java.io.IOException { try { mService.applyTransportModeTransform ( pfd , direction , transform.getResourceId ( ) ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }
Source:
public void remove ( ) { throw new java.lang.IllegalStateException ( ) ; }

Target:
public void remove ( ) { com.google.common.collect.CollectPreconditions.checkRemove ( false ) ; }
Source:
public java.lang.String merge ( @ com.android.annotations.NonNull java.lang.String higherPriority , @ com.android.annotations.NonNull java.lang.String lowerPriority ) { return ( java.lang.Integer.parseInt ( higherPriority ) ) >= ( java.lang.Integer.parseInt ( lowerPriority ) ) ? higherPriority : null ; }

Target:
public java.lang.String merge ( @ com.android.annotations.NonNull java.lang.String higherPriority , @ com.android.annotations.NonNull java.lang.String lowerPriority ) { return ( com.android.manifmerger.AttributeModel.decodeDecOrHexString ( higherPriority ) ) >= ( com.android.manifmerger.AttributeModel.decodeDecOrHexString ( lowerPriority ) ) ? higherPriority : null ; }
Source:
java.io.OutputStream openWrite ( @ javax.annotation.Nonnull com.android.sched.vfs.BaseVFile file , boolean append ) throws com.android.sched.util.file.WrongPermissionException { return new java.util.zip.DeflaterOutputStream ( vfs.openWrite ( file , append ) , new java.util.zip.Deflater ( ) ) ; }

Target:
com.android.sched.vfs.VPath getPathFromDir ( @ javax.annotation.Nonnull com.android.sched.vfs.DeflateFS.DeflateVDir parent , @ javax.annotation.Nonnull com.android.sched.vfs.DeflateFS.DeflateVFile file ) { return vfs.getPathFromDir ( parent.getWrappedDir ( ) , file ) ; }
Source:
private android.content.ComponentName getAssistInfo ( ) { return mAssistUtils.getAssistComponentForUser ( UserHandle.USER_CURRENT ) ; }

Target:
private android.content.ComponentName getAssistInfo ( ) { return mAssistUtils.getAssistComponentForUser ( com.android.keyguard.KeyguardUpdateMonitor.getCurrentUser ( ) ) ; }
Source:
public int available ( ) throws java.io.IOException { return available_native ( fd ) ; }

Target:
public int available ( ) throws java.io.IOException { java.io.FileDescriptor myFd = fd ; if ( myFd == null ) throw new java.io.IOException ( "socket closed" ) ; return available_native ( myFd ) ; }
Source:
void updateConfiguration ( ) { mConfig = new com.android.server.connectivity.Tethering.TetheringConfiguration ( mContext ) ; }

Target:
private void updateConfiguration ( ) { mConfig = new com.android.server.connectivity.tethering.TetheringConfiguration ( mContext ) ; }
Source:
public java.lang.String normalizeNumber ( com.android.dialer.DialerPhoneNumber number ) { com.android.dialer.common.Assert.isWorkerThread ( ) ; return formatToE164 ( number ) . or ( android.telephony.PhoneNumberUtils.normalizeNumber ( number.getRawInput ( ) . getNumber ( ) ) ) ; }

Target:
public java.lang.String normalizeNumber ( com.android.dialer.DialerPhoneNumber number ) { com.android.dialer.common.Assert.isWorkerThread ( ) ; return formatToValidE164 ( number ) . or ( android.telephony.PhoneNumberUtils.normalizeNumber ( number.getRawInput ( ) . getNumber ( ) ) ) ; }
Source:
public static int booleanFieldEqualZero ( ) { return ( Main.booleanField ) != false ? 13 : 54 ; }

Target:
public static int booleanFieldNotEqualOne ( ) { return ( Main.booleanField ) == ( Main.$inline$true ( ) ) ? 13 : 54 ; }
Source:
private java.lang.String parseMethod ( ) { java.util.regex.Matcher matcher = methodStringMatcher ( ) ; if ( matcher.matches ( ) ) return matcher.group ( 1 ) ; return null ; }

Target:
public boolean equals ( java.lang.Object obj ) { if ( ! ( obj instanceof org.junit.runner.Description ) ) { return false ; } org.junit.runner.Description d = ( ( org.junit.runner.Description ) ( obj ) ) ; return fUniqueId.equals ( d.fUniqueId ) ; }
Source:
public void test_plus_PlusAdjuster_noChange ( ) { java.time.OffsetTime t = TEST_11_30_59_500_PONE.plus ( test.java.time.MockSimplePeriod.of ( 0 , java.time.temporal.ChronoUnit.SECONDS ) ) ; org.testng.Assert.assertEquals ( t , TEST_11_30_59_500_PONE ) ; }

Target:
public void test_plus_PlusAdjuster_noChange ( ) { java.time.OffsetTime t = tck.java.time.TCKOffsetTime.TEST_11_30_59_500_PONE.plus ( test.java.time.MockSimplePeriod.of ( 0 , java.time.temporal.ChronoUnit.SECONDS ) ) ; org.testng.Assert.assertEquals ( t , tck.java.time.TCKOffsetTime.TEST_11_30_59_500_PONE ) ; }
Source:
public void setBuildConfigFields ( @ com.android.annotations.NonNull com.android.builder.model.ClassField ... fields ) { mBuildConfigFields.clear ( ) ; mBuildConfigFields.addAll ( java.util.Arrays.asList ( fields ) ) ; }

Target:
public void addBuildConfigField ( @ com.android.annotations.NonNull com.android.builder.model.ClassField field ) { mBuildConfigFields.put ( field.getName ( ) , field ) ; }
Source:
public static com.google.common.hash.HashCode hash ( com.google.common.io.InputSupplier < ? extends java.io.InputStream > supplier , com.google.common.hash.HashFunction hashFunction ) throws java.io.IOException { com.google.common.hash.Hasher hasher = hashFunction.newHasher ( ) ; com.google.common.io.ByteStreams.copy ( supplier , com.google.common.hash.Funnels.asOutputStream ( hasher ) ) ; return hasher.hash ( ) ; }

Target:
public long skip ( long n ) throws java.io.IOException { n = java.lang.Math.min ( n , left ) ; long skipped = in.skip ( n ) ; left -= skipped ; return skipped ; }
Source:
public void createGroupListInvalidDimension ( ) throws java.lang.Exception { try { com.android.build.gradle.internal.ProductFlavorCombo.createCombinations ( com.google.common.collect.ImmutableList.of ( com.android.build.gradle.internal.ProductFlavorComboTest.DIMENSION1 ) , com.google.common.collect.ImmutableList.of ( f1d2 ) ) ; fail ( "Expected to throw" ) ; } catch ( java.lang.RuntimeException ignore ) { } }

Target:
public void createGroupListInvalidDimension ( ) throws java.lang.Exception { try { com.android.build.gradle.internal.ProductFlavorCombo.createCombinations ( com.google.common.collect.ImmutableList.of ( com.android.build.gradle.internal.ProductFlavorComboTest.DIMENSION1 ) , com.google.common.collect.ImmutableList.of ( f1d2 ) ) ; org.junit.Assert.fail ( "Expected to throw" ) ; } catch ( java.lang.RuntimeException ignore ) { } }
Source:
public void imageChanged ( ) { synchronized ( this ) { loadImage ( ) ; } redraw ( ) ; }

Target:
public void imageChanged ( ) { synchronized ( this ) { loadImage ( ) ; } doRedraw ( ) ; }
Source:
private static com.android.server.timezone.RulesManagerService create ( android.content.Context context ) { com.android.server.timezone.RulesManagerServiceHelperImpl helper = new com.android.server.timezone.RulesManagerServiceHelperImpl ( context ) ; return new com.android.server.timezone.RulesManagerService ( helper , helper , com.android.server.timezone.PackageTracker.create ( context ) , new libcore.tzdata.update2.TimeZoneDistroInstaller ( com.android.server.timezone.RulesManagerService.TAG , com.android.server.timezone.RulesManagerService.SYSTEM_TZ_DATA_FILE , com.android.server.timezone.RulesManagerService.TZ_DATA_DIR ) ) ; }

Target:
private static com.android.server.timezone.RulesManagerService create ( android.content.Context context ) { com.android.server.timezone.RulesManagerServiceHelperImpl helper = new com.android.server.timezone.RulesManagerServiceHelperImpl ( context ) ; return new com.android.server.timezone.RulesManagerService ( helper , helper , com.android.server.timezone.PackageTracker.create ( context ) , new com.android.timezone.distro.installer.TimeZoneDistroInstaller ( com.android.server.timezone.RulesManagerService.TAG , com.android.server.timezone.RulesManagerService.SYSTEM_TZ_DATA_FILE , com.android.server.timezone.RulesManagerService.TZ_DATA_DIR ) ) ; }
Source:
public java.io.File getZipAlign ( ) { return getTool ( SdkConstants.FN_ZIPALIGN ) ; }

Target:
public java.io.File getAdb ( ) { if ( ( mAdb ) == null ) { mAdb = new java.io.File ( getPlatformToolsFolder ( ) , com.android.SdkConstants.FN_ADB ) ; } return mAdb ; }
Source:
public boolean wasCloseGuardCalled ( ) { close ( ) ; return closeGuardCalled.get ( ) ; }

Target:
public boolean wasCloseGuardCalled ( ) { libcore.java.lang.ref.FinalizationTester.induceFinalization ( ) ; close ( ) ; return closeGuardCalled.get ( ) ; }
Source:
public long getFilePointer ( ) throws java.io.IOException { try { return Libcore.os.lseek ( fd , 0L , java.io.SEEK_CUR ) ; } catch ( libcore.io.ErrnoException errnoException ) { throw errnoException.rethrowAsIOException ( ) ; } }

Target:
public long getFilePointer ( ) throws java.io.IOException { try { return Libcore.os.lseek ( fd , 0L , java.io.SEEK_CUR ) ; } catch ( android.system.ErrnoException errnoException ) { throw errnoException.rethrowAsIOException ( ) ; } }
Source:
void unregisterSync ( android.bluetooth.le.IPeriodicAdvertisingCallback callback ) { enforceAdminPermission ( ) ; }

Target:
void registerSync ( android.bluetooth.le.ScanResult scanResult , int skip , int timeout , android.bluetooth.le.IPeriodicAdvertisingCallback callback ) { enforceAdminPermission ( ) ; mPeriodicScanManager.startSync ( scanResult , skip , timeout , callback ) ; }
Source:
public final void readArray ( ) { int size = com.android.dx.util.Leb128Utils.readUnsignedLeb128 ( in ) ; visitArray ( size ) ; for ( int i = 0 ; i < size ; i ++ ) { readValue ( ) ; } }

Target:
public int readArray ( ) { checkType ( com.android.dx.io.EncodedValueReader.ENCODED_ARRAY ) ; type = com.android.dx.io.EncodedValueReader.MUST_READ ; return com.android.dx.util.Leb128Utils.readUnsignedLeb128 ( in ) ; }
Source:
public java.lang.String toString ( ) { return requestLine ; }

Target:
public java.lang.String toString ( ) { return ( "RecordedRequest {" + ( requestLine ) ) + "}" ; }
Source:
private static java.lang.String getRelativeAndroidOut ( @ com.android.annotations.NonNull org.eclipse.core.resources.IProject project ) { org.eclipse.core.resources.IFolder folder = com.android.ide.eclipse.adt.internal.project.BaseProjectHelper.getAndroidOutputFolder ( project ) ; return folder.getFullPath ( ) . makeRelativeTo ( project.getFullPath ( ) ) . toString ( ) ; }

Target:
private static java.lang.String getRelativeAndroidOut ( @ com.android.annotations.NonNull org.eclipse.core.resources.IProject project ) { org.eclipse.core.resources.IFolder folder = com.android.ide.eclipse.adt.internal.project.BaseProjectHelper.getAndroidOutputFolder ( project ) ; return com.android.ide.eclipse.adt.internal.build.builders.ChangedFileSetHelper.getRelativePath ( project , folder ) ; }
Source:
public static java.lang.String getStrippedReversed ( java.lang.String phoneNumber ) { java.lang.String np = android.telephony.PhoneNumberUtils.extractNetworkPortion ( phoneNumber ) ; if ( np == null ) return null ; return android.telephony.PhoneNumberUtils.internalGetStrippedReversed ( np , np.length ( ) ) ; }

Target:
public static java.lang.String getStrippedReversed ( java.lang.String phoneNumber ) { java.lang.String np = android.telephony.PhoneNumberUtils.extractNetworkPortionAlt ( phoneNumber ) ; if ( np == null ) return null ; return android.telephony.PhoneNumberUtils.internalGetStrippedReversed ( np , np.length ( ) ) ; }
Source:
public boolean isEmpty ( ) { return entrySet ( ) . isEmpty ( ) ; }

Target:
public java.lang.String toString ( ) { return ( "Maps.asConverter(" + ( bimap ) ) + ")" ; }
Source:
public void imageChanged ( ) { org.eclipse.swt.widgets.Display.getDefault ( ) . syncExec ( new java.lang.Runnable ( ) { public void run ( ) { synchronized ( this ) { loadImage ( ) ; } } } ) ; doRedraw ( ) ; }

Target:
private void doRedraw ( ) { org.eclipse.swt.widgets.Display.getDefault ( ) . asyncExec ( new java.lang.Runnable ( ) { public void run ( ) { redraw ( ) ; } } ) ; }
Source:
private com.android.server.wifi.WifiConfigStoreData getEmptyStoreData ( ) { return new com.android.server.wifi.WifiConfigStoreData ( new java.util.ArrayList < android.net.wifi.WifiConfiguration > ( ) , new java.util.ArrayList < android.net.wifi.WifiConfiguration > ( ) , new java.util.HashSet < java.lang.String > ( ) ) ; }

Target:
public java.lang.String getShareData ( ) { return mShareData ; }
Source:
public void test_en ( ) throws java.lang.Exception { libcore.icu.AlphabeticIndex en = new libcore.icu.AlphabeticIndex ( java.util.Locale.ENGLISH ) ; libcore.icu.AlphabeticIndexTest.assertHasLabel ( en , "Allen" , "A" ) ; libcore.icu.AlphabeticIndexTest.assertHasLabel ( en , "allen" , "A" ) ; }

Target:
public void test_en ( ) throws java.lang.Exception { libcore.icu.ImmutableIndex en = libcore.icu.AlphabeticIndexTest.createIndex ( java.util.Locale.ENGLISH ) ; libcore.icu.AlphabeticIndexTest.assertHasLabel ( en , "Allen" , "A" ) ; libcore.icu.AlphabeticIndexTest.assertHasLabel ( en , "allen" , "A" ) ; }
Source:
protected void onIccRefreshInit ( ) { mAdnCache.reset ( ) ; com.android.internal.telephony.uicc.UiccCardApplication parentApp = mParentApp ; if ( ( parentApp != null ) && ( ( parentApp.getState ( ) ) == ( com.android.internal.telephony.uicc.IccCardApplicationStatus.AppState.APPSTATE_READY ) ) ) { sendMessage ( obtainMessage ( com.android.internal.telephony.uicc.IccRecords.EVENT_APP_READY ) ) ; } }

Target:
public java.lang.String getIMSI ( ) { if ( ( mCarrierTestOverride.isInTestMode ( ) ) && ( ( mFakeImsi ) != null ) ) { return mFakeImsi ; } else { return mImsi ; } }
Source:
private static android.view.View findViewShouldExist ( android.view.View root , int childViewId ) { android.view.View result = root.findViewById ( childViewId ) ; if ( result == null ) { android.util.Log.w ( android.view.View.VIEW_LOG_TAG , ( ( "couldn't find next focus view specified " + "by user for id " ) + childViewId ) ) ; } return result ; }

Target:
public boolean apply ( android.view.View t ) { return ( t.mID ) == childViewId ; }
Source:
public native java.lang.Object get ( java.lang.Object object ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;

Target:
public java.lang.Object get ( java.lang.Object object ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException { return get ( object , isAccessible ( ) ) ; }
Source:
public void render ( com.android.build.gradle.internal.variant.BaseVariantData variantData ) throws java.io.IOException { java.util.List < com.android.builder.dependency.LibraryDependency > libraries = variantData.getVariantConfiguration ( ) . getDirectLibraries ( ) ; renderNow ( libraries ) ; }

Target:
public void render ( com.android.build.gradle.internal.variant.BaseVariantData variantData ) throws java.io.IOException { java.util.List < com.android.builder.dependency.LibraryDependency > libraries = variantData.getVariantConfiguration ( ) . getDirectLibraries ( ) ; renderNow ( libraries , variantData.getVariantDependency ( ) . getLocalDependencies ( ) ) ; }