auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
private void onSubscriberInfo ( java.lang.String number , int type ) { com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent event = new com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.EVENT_TYPE_SUBSCRIBER_INFO ) ; event.valueInt = type ; event.valueString = number ; android.util.Log.d ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.TAG , ( "incoming" + event ) ) ; sendMessage ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.STACK_EVENT , event ) ; }

Target:
private void onVrStateChanged ( int state ) { com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent event = new com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.EVENT_TYPE_VR_STATE_CHANGED ) ; event.valueInt = state ; if ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.DBG ) { android.util.Log.d ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.TAG , ( "incoming" + event ) ) ; } sendMessage ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.STACK_EVENT , event ) ; }
Source:
public void parse ( ) throws java.io.IOException { long headerLength = parseHeader ( mTraceFile ) ; java.nio.MappedByteBuffer buffer = mapFile ( mTraceFile , headerLength ) ; parseData ( buffer ) ; computeTimingStatistics ( ) ; }

Target:
public void parse ( ) throws java.io.IOException { long headerLength = parseHeader ( mTraceFile ) ; java.nio.ByteBuffer buffer = com.android.tools.perflib.vmtrace.VmTraceParser.mapFile ( mTraceFile , headerLength ) ; parseData ( buffer ) ; computeTimingStatistics ( ) ; }
Source:
public void swap ( ) { super . swap ( ) ; producerPop ( ) ; producerPop ( ) ; producerPush ( ) ; producerPush ( ) ; }

Target:
public void swap ( ) { super . swap ( ) ; producerStack.pop ( ) ; producerStack.pop ( ) ; producerStack.push ( producerValue ) ; producerStack.push ( producerValue ) ; actualProducerStack.swap ( ) ; }
Source:
private android.net.IpSecTransform getTransform ( java.net.InetAddress localAddr ) throws java.lang.Exception { try ( android.net.IpSecManager.SecurityParameterIndex spi = mISM.allocateSecurityParameterIndex ( localAddr ) ) { return android.net.cts.IpSecBaseTest.buildIpSecTransform ( mContext , spi , null , localAddr ) ; } }

Target:
private android.net.IpSecTransform buildDefaultTransform ( java.net.InetAddress localAddr ) throws java.lang.Exception { try ( android.net.IpSecManager.SecurityParameterIndex spi = mISM.allocateSecurityParameterIndex ( localAddr ) ) { return android.net.cts.IpSecBaseTest.buildIpSecTransform ( mContext , spi , null , localAddr ) ; } }
Source:
private native boolean sdpRemoveSdpRecordNative ( int record_id ) ;

Target:
private native boolean sdpRemoveSdpRecordNative ( int recordId ) ;
Source:
public boolean removeChild ( com.android.ide.eclipse.adt.internal.editors.layout.gle2.CanvasViewInfo child ) { return mChildren.remove ( child ) ; }

Target:
private void addChildAt ( int index , com.android.ide.eclipse.adt.internal.editors.layout.gle2.CanvasViewInfo child ) { mChildren.add ( index , child ) ; }
Source:
public static java.util.List < vogar.target.junit.VogarTest > classToVogarTests ( java.lang.Class < ? > testClass , java.lang.String ... args ) { java.util.List < vogar.target.junit.VogarTest > result = new java.util.ArrayList < vogar.target.junit.VogarTest > ( ) ; vogar.target.junit.Junit4.getSuiteMethods ( result , testClass , args ) ; return result ; }

Target:
static java.util.List < vogar.target.junit.VogarTest > classToVogarTests ( java.lang.Class < ? > testClass , java.util.Collection < java.lang.String > methodNames ) { java.util.List < vogar.target.junit.VogarTest > result = new java.util.ArrayList < vogar.target.junit.VogarTest > ( ) ; vogar.target.junit.Junit4.getSuiteMethods ( result , testClass , methodNames ) ; return result ; }
Source:
public static long ReturnLong34 ( ) { float imm = Main.$inline$float ( 34.0F ) ; return ( ( long ) ( imm ) ) ; }

Target:
public static float ReturnFloat99P25 ( ) { double imm = 99.25 ; return ( ( float ) ( imm ) ) ; }
Source:
protected com.google.mockwebserver.MockResponse self ( ) { return this ; }

Target:
public com.google.mockwebserver.MockResponse addHeader ( java.lang.String header ) { headers.add ( header ) ; return this ; }
Source:
public void setVerticalScrollBarEnabled ( boolean verticalScrollBarEnabled ) { if ( ( isVerticalScrollBarEnabled ( ) ) != verticalScrollBarEnabled ) { mViewFlags ^= android.view.View.SCROLLBARS_VERTICAL ; computeOpaqueFlags ( ) ; recomputePadding ( ) ; } }

Target:
public void setVerticalScrollBarEnabled ( boolean verticalScrollBarEnabled ) { if ( ( isVerticalScrollBarEnabled ( ) ) != verticalScrollBarEnabled ) { mViewFlags ^= android.view.View.SCROLLBARS_VERTICAL ; computeOpaqueFlags ( ) ; resolvePadding ( ) ; } }
Source:
public void run ( ) { onInitializeAccessibilityEvent ( event ) ; }

Target:
public java.lang.Boolean call ( ) { return performAccessibilityAction ( action , arguments ) ; }
Source:
private ApkVerifier.Result verify ( java.lang.String apkFilenameInResources ) throws com.android.apksig.apk.ApkFormatException , java.io.IOException , java.security.NoSuchAlgorithmException { return verify ( apkFilenameInResources , null ) ; }

Target:
private ApkVerifier.Result verifyForMaxSdkVersion ( java.lang.String apkFilenameInResources , int maxSdkVersion ) throws com.android.apksig.apk.ApkFormatException , java.io.IOException , java.security.NoSuchAlgorithmException { return verify ( apkFilenameInResources , null , maxSdkVersion ) ; }
Source:
public boolean wasSuccessful ( ) { return mGotExitValue ; }

Target:
public boolean wasSuccessful ( ) { return ( mGotExitValue ) && ( mParseSuccessful ) ; }
Source:
private static native int nativeCopyNativeBinaries ( java.lang.String filePath , java.lang.String sharedLibraryPath , java.lang.String cpuAbi , java.lang.String cpuAbi2 ) ;

Target:
private static native int nativeCopyNativeBinaries ( long handle , java.lang.String sharedLibraryPath , java.lang.String abiToCopy ) ;
Source:
public void showDialpadFromNewIntent ( boolean animate ) { showDialpad ( animate , true ) ; }

Target:
public void showDialpadFromNewIntent ( ) { com.android.dialer.common.LogUtil.enterBlock ( "MainSearchController.showDialpadFromNewIntent" ) ; showDialpad ( false , true ) ; }
Source:
public static long NotNot1 ( long arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ~ ( ~ arg ) ; }

Target:
public static long $noinline$NotNot1 ( long arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ~ ( ~ arg ) ; }
Source:
public static java.lang.String getFreeWidgetId ( com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode uiNode ) { java.lang.String name = uiNode.getDescriptor ( ) . getXmlLocalName ( ) ; return com.android.ide.eclipse.adt.internal.editors.descriptors.DescriptorsUtils.getFreeWidgetId ( uiNode.getUiRoot ( ) , name ) ; }

Target:
public static java.lang.String getFreeWidgetId ( com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode uiNode ) { java.lang.String name = com.android.ide.eclipse.adt.internal.editors.descriptors.DescriptorsUtils.getBasename ( uiNode.getDescriptor ( ) . getXmlLocalName ( ) ) ; return com.android.ide.eclipse.adt.internal.editors.descriptors.DescriptorsUtils.getFreeWidgetId ( uiNode.getUiRoot ( ) , name ) ; }
Source:
private com.android.sched.vfs.BaseVFile changeVFS ( @ javax.annotation.Nonnull com.android.sched.vfs.BaseVFile file ) { file.changeVFS ( this ) ; return file ; }

Target:
com.android.sched.vfs.DeflateFS.DeflateVDir getVDir ( @ javax.annotation.Nonnull com.android.sched.vfs.DeflateFS.DeflateVDir parent , @ javax.annotation.Nonnull java.lang.String name ) throws com.android.sched.util.file.NoSuchFileException , com.android.sched.util.file.NotDirectoryException { return new com.android.sched.vfs.DeflateFS.DeflateVDir ( this , vfs.getVDir ( parent.getWrappedDir ( ) , name ) ) ; }
Source:
public void mergeInputLibraries ( @ javax.annotation.Nonnull java.util.List < ? extends com.android.jack.library.InputLibrary > importedLibrariesFromCommandLine ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
public void mergeInputLibraries ( @ javax.annotation.Nonnull java.util.List < ? extends com.android.jack.library.InputLibrary > inputLibraries ) { throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
native void rsnAllocationRead1D ( long con , long id , int off , int mip , int count , java.lang.Object d , int sizeBytes , int dt ) ;

Target:
native void rsnAllocationRead ( long con , long id , java.lang.Object d , int dt , int mSize , boolean usePadding ) ;
Source:
public boolean hasBinary ( @ javax.annotation.Nonnull com.android.jack.library.BinaryKind binaryKind ) ;

Target:
public boolean containsFileType ( @ javax.annotation.Nonnull com.android.jack.library.FileType fileType ) ;
Source:
void srcToLib ( @ javax.annotation.CheckForNull java.lang.String classpath , @ javax.annotation.Nonnull java.io.File out , boolean zipFiles , @ javax.annotation.Nonnull java.io.File ... sources ) throws java.lang.Exception ;

Target:
void libToExe ( @ javax.annotation.Nonnull java.io.File in , @ javax.annotation.Nonnull java.io.File out , boolean zipFile ) throws java.lang.Exception ;
Source:
final int getInt ( int offset ) { return sun.nio.ch.NativeObject.unsafe.getInt ( ( offset + ( address ) ) ) ; }

Target:
final int getInt ( int offset ) { return sun.nio.ch.NativeObject.unsafe.getInt$ ( ( offset + ( address ) ) ) ; }
Source:
private static java.time.ZoneOffset millisToOffset ( int offset ) { return java.time.ZoneOffset.ofTotalSeconds ( ( offset / 1000 ) ) ; }

Target:
private static java.time.ZoneOffset millisToOffset ( int offset ) { return java.time.ZoneOffset.ofTotalSeconds ( ( ( int ) ( java.util.concurrent.TimeUnit.MILLISECONDS.toSeconds ( offset ) ) ) ) ; }
Source:
public static float scalb ( float f , int scaleFactor ) { return sun.misc.FpUtils.scalb ( f , scaleFactor ) ; }

Target:
public static float scalb ( float f , int scaleFactor ) { return java.lang.Math.scalb ( f , scaleFactor ) ; }
Source:
protected abstract void nullifyRecord ( ) ;

Target:
public boolean isReferenced ( ) { return ( mReferenceCount.get ( ) ) > 0 ; }
Source:
public void err ( @ com.android.annotations.Nullable java.lang.String line ) { filterStdErr ( line ) ; }

Target:
public void out ( @ com.android.annotations.Nullable java.lang.String line ) { filterStdOut ( line ) ; }
Source:
public java.lang.String getText ( java.lang.Object element ) { if ( element instanceof com.android.sdklib.internal.repository.SdkSource ) { return ( ( com.android.sdklib.internal.repository.SdkSource ) ( element ) ) . getUrl ( ) ; } return super . getText ( element ) ; }

Target:
public java.lang.String getText ( java.lang.Object element ) { if ( element instanceof com.android.sdklib.internal.repository.sources.SdkSource ) { return ( ( com.android.sdklib.internal.repository.sources.SdkSource ) ( element ) ) . getUrl ( ) ; } return super . getText ( element ) ; }
Source:
public void init ( org.eclipse.ui.IWorkbench workbench , org.eclipse.jface.viewers.IStructuredSelection selection ) { setHelpAvailable ( false ) ; mInitialProject = guessProject ( selection ) ; if ( ( mChooseAssetPage ) != null ) { mChooseAssetPage.setProject ( mInitialProject ) ; } }

Target:
public void init ( org.eclipse.ui.IWorkbench workbench , org.eclipse.jface.viewers.IStructuredSelection selection ) { setHelpAvailable ( false ) ; mInitialProject = guessProject ( selection ) ; mValues.project = mInitialProject ; }
Source:
private boolean isForwardLocked ( com.android.server.pm.PackageSetting ps ) { return ( ( ps.pkgFlags ) & ( android.content.pm.ApplicationInfo.FLAG_FORWARD_LOCK ) ) != 0 ; }

Target:
private boolean isForwardLocked ( com.android.server.pm.PackageSetting ps ) { return ( ( ps.pkgPrivateFlags ) & ( android.content.pm.ApplicationInfo.PRIVATE_FLAG_FORWARD_LOCK ) ) != 0 ; }
Source:
synchronized void nAllocationRead ( int id , int [ ] d ) { validate ( ) ; rsnAllocationRead ( mContext , id , d ) ; }

Target:
native void rsnAllocationRead2D ( int con , int id , int xoff , int yoff , int mip , int face , int w , int h , java.lang.Object d , int sizeBytes , int dt ) ;
Source:
synchronized void nScriptInvoke ( long id , int slot ) { validate ( ) ; rsnScriptInvoke ( mContext , id , slot ) ; }

Target:
synchronized void nScriptSetVarObj ( long id , int slot , long val , boolean mUseInc ) { validate ( ) ; long curCon = mContext ; if ( mUseInc ) { curCon = mIncCon ; } rsnScriptSetVarObj ( curCon , id , slot , val , mUseInc ) ; }
Source:
static java.net.InetAddress [ ] getAllByName0 ( java.lang.String host , boolean check ) throws java.net.UnknownHostException { return java.net.InetAddress.getAllByName0 ( host , null , check ) ; }

Target:
static java.net.InetAddress [ ] getAllByName0 ( java.lang.String authHost , boolean check ) throws java.net.UnknownHostException { throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
public static void doTest ( Transform t ) { t.sayHi ( ) ; Main.addCommonTransformationResult ( "testing/Transform" , Main.CLASS_BYTES , Main.DEX_BYTES ) ; Main.enableCommonRetransformation ( true ) ; Main.doCommonClassRetransformation ( Transform.class ) ; t.sayHi ( ) ; }

Target:
public static void doTest ( Transform t ) { t.sayHi ( ) ; art.Redefinition.addCommonTransformationResult ( "testing/Transform" , Main.CLASS_BYTES , Main.DEX_BYTES ) ; art.Redefinition.enableCommonRetransformation ( true ) ; art.Redefinition.doCommonClassRetransformation ( Transform.class ) ; t.sayHi ( ) ; }
Source:
protected int adjustDexoptNeeded ( int dexoptNeeded ) { return dalvik.system.DexFile.DEX2OAT_FROM_SCRATCH ; }

Target:
protected int adjustDexoptNeeded ( int dexoptNeeded ) { if ( dexoptNeeded == ( dalvik.system.DexFile.NO_DEXOPT_NEEDED ) ) { return - ( dalvik.system.DexFile.DEX2OAT_FOR_FILTER ) ; } return dexoptNeeded ; }
Source:
synchronized boolean connect ( android.bluetooth.BluetoothDevice device ) { if ( com.android.bluetooth.hid.HidDeviceService.DBG ) { android.util.Log.d ( com.android.bluetooth.hid.HidDeviceService.TAG , ( "connect(): device=" + device ) ) ; } return connectNative ( com.android.bluetooth.Utils.getByteAddress ( device ) ) ; }

Target:
synchronized boolean unplug ( android.bluetooth.BluetoothDevice device ) { if ( com.android.bluetooth.hid.HidDeviceService.DBG ) { android.util.Log.d ( com.android.bluetooth.hid.HidDeviceService.TAG , ( "unplug(): device=" + device ) ) ; } if ( ! ( checkDevice ( device ) ) ) { return false ; } return mHidDeviceNativeInterface.unplug ( ) ; }
Source:
public android.net.wifi.nan.WifiNanCharacteristics createFromParcel ( android.os.Parcel in ) { android.net.wifi.nan.WifiNanCharacteristics c = new android.net.wifi.nan.WifiNanCharacteristics ( in.readBundle ( ) ) ; return c ; }

Target:
public android.net.wifi.aware.WifiAwareCharacteristics createFromParcel ( android.os.Parcel in ) { android.net.wifi.aware.WifiAwareCharacteristics c = new android.net.wifi.aware.WifiAwareCharacteristics ( in.readBundle ( ) ) ; return c ; }
Source:
public com.android.layoutlib.api.LayoutBridge getBridge ( ) { return mBridge ; }

Target:
public java.lang.String getLoadMessage ( ) { return mLoadMessage ; }
Source:
public void removeRemotePackage ( java.lang.String remoteFilePath ) throws com.android.ddmlib.InstallException ;

Target:
java.lang.String installRemotePackage ( java.lang.String remoteFilePath , boolean reinstall , java.lang.String ... extraArgs ) throws com.android.ddmlib.InstallException ;
Source:
public boolean isRecycled ( ) { return mIsRecycled ; }

Target:
public boolean isCleanedUp ( ) { return mIsCleanedUp ; }
Source:
public void testCrossUserAttempt ( ) { notifyDexLoad ( mBarUser1 , mBarUser0.getSecondaryDexPaths ( ) , mUser1 ) ; org.junit.Assert.assertNull ( getPackageUseInfo ( mBarUser1 ) ) ; }

Target:
public void testPackageNotInstalledForUser ( ) { notifyDexLoad ( mBarUser0 , mFooUser0.getBaseAndSplitDexPaths ( ) , mUser1 ) ; assertNoUseInfo ( mBarUser1 ) ; }
Source:
public static java.lang.String clearProperty ( java.lang.String name ) { java.lang.System.checkPropertyName ( name ) ; return ( ( java.lang.String ) ( java.lang.System.getProperties ( ) . remove ( name ) ) ) ; }

Target:
public static java.lang.String clearProperty ( java.lang.String name ) { java.lang.System.checkPropertyName ( name ) ; return ( ( java.lang.String ) ( java.lang.System.systemProperties.remove ( name ) ) ) ; }
Source:
public void doBuildPatchFile ( java.io.File olderFile , java.io.File newerFile , java.util.zip.ZipOutputStream patchOutput ) throws java.io.IOException { }

Target:
public void doBuildPatchFile ( java.io.File olderDir , java.io.File newerFile , java.util.zip.ZipOutputStream patchOutput ) throws java.io.IOException { }
Source:
protected void log ( java.lang.String s ) { if ( com.android.internal.telephony.cdma.CDMAPhone.DBG ) android.util.Log.d ( com.android.internal.telephony.cdma.CDMAPhone.LOG_TAG , ( "[CDMAPhone] " + s ) ) ; }

Target:
protected void log ( java.lang.String s ) { if ( com.android.internal.telephony.cdma.CDMAPhone.DBG ) android.telephony.Rlog.d ( com.android.internal.telephony.cdma.CDMAPhone.LOG_TAG , ( "[CDMAPhone] " + s ) ) ; }
Source:
public void stopNattKeepalive ( int sessionHandle , android.os.Message result ) { }

Target:
public void stopNattKeepalive ( int sessionHandle , android.os.Message result ) { com.android.internal.telephony.test.SimulatedCommandsVerifier.getInstance ( ) . stopNattKeepalive ( sessionHandle , result ) ; }
Source:
public void setProguardFiles ( java.lang.Iterable < ? > proguardFileIterable ) { proguardFiles.clear ( ) ; for ( java.lang.Object proguardFile : proguardFileIterable ) { proguardFiles.add ( project.file ( proguardFile ) ) ; } }

Target:
public void setProguardFiles ( @ com.android.annotations.NonNull java.lang.Iterable < ? > proguardFileIterable ) { getProguardFiles ( ) . clear ( ) ; for ( java.lang.Object proguardFile : proguardFileIterable ) { getProguardFiles ( ) . add ( project.file ( proguardFile ) ) ; } }
Source:
protected java.util.Set < K > delegate ( ) { return set ; }

Target:
public int size ( ) { return backingSet ( ) . size ( ) ; }
Source:
public void testFormatUtc ( ) { assertEquals ( "UTC" , formatDate ( java.util.Locale.ENGLISH , "z" , java.util.TimeZone.getTimeZone ( "Etc/UTC" ) ) ) ; }

Target:
public void testFormatUtc ( ) { java.text.DateFormat dateFormat = new java.text.SimpleDateFormat ( "z" , java.util.Locale.ENGLISH ) ; dateFormat.setTimeZone ( libcore.java.text.SimpleDateFormatTest.UTC ) ; assertEquals ( "UTC" , dateFormat.format ( new java.util.Date ( 0 ) ) ) ; }
Source:
public java.lang.String getPath ( ) { return root.getPath ( ) . getPathAsString ( java.io.File.separatorChar ) ; }

Target:
private java.io.File getNativeFile ( @ javax.annotation.Nonnull com.android.sched.vfs.VPath path ) { return new java.io.File ( dir.getFile ( ) , path.getPathAsString ( java.io.File.separatorChar ) ) ; }
Source:
public int hashCode ( ) { return ( ( int ) ( value ) ) ; }

Target:
public int hashCode ( ) { return java.lang.Short.hashCode ( value ) ; }
Source:
static short $opt$ByteToShort ( byte a ) { return ( ( short ) ( a ) ) ; }

Target:
static float $opt$LongToFloat ( long a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( float ) ( a ) ) ; }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { super . widgetSelected ( e ) ; onDeselectAll ( ) ; }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { if ( mCheckSortApi.getSelection ( ) ) { refreshViewerInput ( ) ; copySelection ( true ) ; syncViewerSelection ( ) ; } }
Source:
public void testResponseWithMultipleCookieHeaderLines ( ) throws java.lang.Exception { libcore.java.net.CookiesTest.TestCookieStore cookieStore = new libcore.java.net.CookiesTest.TestCookieStore ( ) ; java.net.CookieManager cookieManager = new java.net.CookieManager ( cookieStore , java.net.CookiePolicy.ACCEPT_ORIGINAL_SERVER ) ; cookieManager.put ( new java.net.URI ( "http://android.com" ) , cookieHeaders ( "a=android" , "b=banana" ) ) ; java.util.List < java.net.HttpCookie > cookies = sortedCopy ( cookieStore.cookies ) ; assertEquals ( 2 , cookies.size ( ) ) ; java.net.HttpCookie cookieA = cookies.get ( 0 ) ; assertEquals ( "a" , cookieA.getName ( ) ) ; assertEquals ( "android" , cookieA.getValue ( ) ) ; java.net.HttpCookie cookieB = cookies.get ( 1 ) ; assertEquals ( "b" , cookieB.getName ( ) ) ; assertEquals ( "banana" , cookieB.getValue ( ) ) ; }

Target:
public void tearDown ( ) throws java.lang.Exception { java.net.CookieHandler.setDefault ( defaultHandler ) ; super . tearDown ( ) ; }
Source:
public static void main ( java.lang.String [ ] arg ) { com.ibm.icu.dev.test.util.SimplePatternFormatterTest test = new com.ibm.icu.dev.test.util.SimplePatternFormatterTest ( ) ; try { test.run ( arg ) ; } catch ( java.lang.Exception e ) { test.errln ( "Error testing SimplePatternFormatterTest" ) ; } }

Target:
public static void main ( java.lang.String [ ] arg ) { com.ibm.icu.dev.test.util.SimpleFormatterTest test = new com.ibm.icu.dev.test.util.SimpleFormatterTest ( ) ; try { test.run ( arg ) ; } catch ( java.lang.Exception e ) { test.errln ( "Error testing SimpleFormatterTest" ) ; } }
Source:
protected com.android.build.gradle.internal.variant.ApkVariantOutputData doCreateOutput ( @ com.android.annotations.Nullable java.lang.String densityFilter , @ com.android.annotations.Nullable java.lang.String abiFilter ) { return new com.android.build.gradle.internal.variant.ApkVariantOutputData ( densityFilter , abiFilter , this ) ; }

Target:
protected com.android.build.gradle.internal.variant.ApkVariantOutputData doCreateOutput ( com.android.build.OutputFile.OutputType outputType , java.util.Collection < com.android.build.FilterData > filters ) { return new com.android.build.gradle.internal.variant.ApkVariantOutputData ( outputType , filters , this ) ; }
Source:
private boolean ranOrCancelled ( int state ) { return ( state & ( ( java.util.concurrent.FutureTask.Sync.RAN ) | ( java.util.concurrent.FutureTask.Sync.CANCELLED ) ) ) != 0 ; }

Target:
public V get ( ) throws java.lang.InterruptedException , java.util.concurrent.ExecutionException { int s = state ; if ( s <= ( java.util.concurrent.FutureTask.COMPLETING ) ) s = awaitDone ( false , 0L ) ; return report ( s ) ; }
Source:
void startAdvertising ( com.android.bluetooth.gatt.AdvertiseClient client ) { if ( client == null ) { return ; } android.os.Message message = new android.os.Message ( ) ; message.what = com.android.bluetooth.gatt.AdvertiseManager.MSG_START_ADVERTISING ; message.obj = client ; mHandler.sendMessage ( message ) ; }

Target:
android.os.IBinder toBinder ( android.bluetooth.le.IAdvertisingSetCallback e ) { return ( ( android.os.IInterface ) ( e ) ) . asBinder ( ) ; }
Source:
public static void tearDownOnlyOnce ( ) { com.android.bluetooth.hfp.HeadsetStateMachineTest.sAdapterService = null ; }

Target:
public static void tearDownOnlyOnce ( ) throws java.lang.Exception { java.lang.reflect.Method method = com.android.bluetooth.btservice.AdapterService.class . getDeclaredMethod ( "clearAdapterService" ) ; method.setAccessible ( true ) ; method.invoke ( null ) ; com.android.bluetooth.hfp.HeadsetStateMachineTest.sAdapterService = null ; }
Source:
protected void log ( java.lang.String s ) { android.telephony.Rlog.d ( com.android.internal.telephony.ServiceStateTracker.LOG_TAG , s ) ; }

Target:
protected final void log ( java.lang.String s ) { android.telephony.Rlog.d ( com.android.internal.telephony.ServiceStateTracker.LOG_TAG , ( ( ( "[" + ( mPhone.getPhoneId ( ) ) ) + "] " ) + s ) ) ; }
Source:
public static void main ( java.lang.String [ ] args ) { Main.intToLong ( ) ; }

Target:
public static void main ( java.lang.String [ ] args ) { Main.byteToLong ( ) ; Main.shortToLong ( ) ; Main.intToLong ( ) ; }
Source:
public void test4 ( ) { com.android.utils.HtmlBuilder builder = new com.android.utils.HtmlBuilder ( ) ; builder.add ( "Plain. " ) ; builder.beginBold ( ) ; builder.add ( "Bold. " ) ; builder.addLink ( "mylink" , "foo://bar:123" ) ; builder.endBold ( ) ; assertEquals ( "Plain. <B>Bold. <A HREF=\"foo://bar:123\">mylink</A></B>" , builder.getHtml ( ) ) ; }

Target:
public void testNestLinkInBold ( ) { com.android.utils.HtmlBuilder builder = new com.android.utils.HtmlBuilder ( ) ; builder.add ( "Plain. " ) ; builder.beginBold ( ) ; builder.add ( "Bold. " ) ; builder.addLink ( "mylink" , "foo://bar:123" ) ; builder.endBold ( ) ; assertEquals ( "Plain. <B>Bold. <A HREF=\"foo://bar:123\">mylink</A></B>" , builder.getHtml ( ) ) ; }
Source:
private static void testFindInstancesOf ( com.android.tools.perflib.heap.State state ) { com.android.tools.perflib.heap.Instance [ ] instances = com.android.tools.perflib.heap.Queries.instancesOf ( state , "java.lang.String" ) ; java.lang.System.out.println ( ( ( "There are " + ( instances.length ) ) + " Strings." ) ) ; }

Target:
private static void testFindInstancesOf ( com.android.tools.perflib.heap.Snapshot snapshot ) { com.android.tools.perflib.heap.Instance [ ] instances = com.android.tools.perflib.heap.Queries.instancesOf ( snapshot , "java.lang.String" ) ; java.lang.System.out.println ( ( ( "There are " + ( instances.length ) ) + " Strings." ) ) ; }
Source:
public abstract com.android.dialer.calllog.model.CoalescedRow.Builder setNumberCalls ( int numberCalls ) ;

Target:
public abstract com.android.dialer.calllog.model.CoalescedRow.Builder setCoalescedIds ( com.android.dialer.CoalescedIds coalescedIds ) ;
Source:
public void onUiShowing ( boolean showing ) { if ( showing ) { hide ( ) ; } else { if ( com.android.dialer.telecom.TelecomUtil.isInManagedCall ( context ) ) { show ( ) ; } } }

Target:
public void onUiShowing ( boolean showing ) { if ( showing ) { hide ( ) ; } else { if ( ( getCall ( ) ) != null ) { show ( ) ; } } }
Source:
private static boolean isFileResource ( com.android.ide.eclipse.adt.internal.resources.ResourceType type ) { com.android.ide.eclipse.adt.internal.resources.manager.ResourceFolderType [ ] folderTypes = com.android.ide.eclipse.adt.internal.resources.manager.FolderTypeRelationship.getRelatedFolders ( type ) ; for ( com.android.ide.eclipse.adt.internal.resources.manager.ResourceFolderType folderType : folderTypes ) { if ( folderType != ( com.android.ide.eclipse.adt.internal.resources.manager.ResourceFolderType.VALUES ) ) { return true ; } } return false ; }

Target:
private static boolean isFileResource ( com.android.resources.ResourceType type ) { com.android.ide.eclipse.adt.internal.resources.manager.ResourceFolderType [ ] folderTypes = com.android.ide.eclipse.adt.internal.resources.manager.FolderTypeRelationship.getRelatedFolders ( type ) ; for ( com.android.ide.eclipse.adt.internal.resources.manager.ResourceFolderType folderType : folderTypes ) { if ( folderType != ( com.android.ide.eclipse.adt.internal.resources.manager.ResourceFolderType.VALUES ) ) { return true ; } } return false ; }
Source:
public void handleUserUnlock ( int userId ) { if ( mVerboseLoggingEnabled ) { android.util.Log.v ( com.android.server.wifi.WifiConfigManager.TAG , ( "Handling user unlock for " + userId ) ) ; } if ( ( userId == ( mCurrentUserId ) ) && ( mPendingUnlockStoreRead ) ) { loadFromStoreAndMigrateAfterUserSwitch ( mCurrentUserId ) ; } }

Target:
public void handleUserUnlock ( int userId ) { if ( mVerboseLoggingEnabled ) { android.util.Log.v ( com.android.server.wifi.WifiConfigManager.TAG , ( "Handling user unlock for " + userId ) ) ; } if ( ( userId == ( mCurrentUserId ) ) && ( mPendingUnlockStoreRead ) ) { handleUserUnlockOrSwitch ( mCurrentUserId ) ; } }
Source:
public long get ( int index ) { if ( index >= ( mSize ) ) { throw new java.lang.ArrayIndexOutOfBoundsException ( mSize , index ) ; } return mValues [ index ] ; }

Target:
private void checkBounds ( int index ) { if ( ( index < 0 ) || ( ( mSize ) <= index ) ) { throw new java.lang.ArrayIndexOutOfBoundsException ( mSize , index ) ; } }
Source:
public static java.util.Map < java.lang.String , org.python.core.PyObject > runStringAndGet ( java.lang.String script , java.lang.String ... names ) { return com.android.monkeyrunner.ScriptRunner.runStringAndGet ( script , java.util.Arrays.asList ( names ) ) ; }

Target:
public static java.util.Map < java.lang.String , org.python.core.PyObject > runStringAndGet ( java.lang.String executablePath , java.lang.String script , java.lang.String ... names ) { return com.android.monkeyrunner.ScriptRunner.runStringAndGet ( executablePath , script , java.util.Arrays.asList ( names ) ) ; }
Source:
public static short shortToCharToShort ( short value ) { return ( ( short ) ( ( char ) ( value ) ) ) ; }

Target:
public static int $noinline$floatToDoubleToInt ( float value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( int ) ( ( double ) ( value ) ) ) ; }
Source:
private static boolean isOnWindows ( ) { return java.lang.System.getProperty ( com.android.tradefed.testtype.VtsMultiDeviceTest.OS_NAME ) . contains ( com.android.tradefed.testtype.VtsMultiDeviceTest.WINDOWS ) ; }

Target:
public com.android.tradefed.invoker.IInvocationContext getInvocationContext ( ) { return mInvocationContext ; }
Source:
public void markBootComplete ( java.lang.String instructionSet ) throws com.android.internal.os.InstallerConnection.InstallerException { com.android.server.pm.Installer.assertValidInstructionSet ( instructionSet ) ; mInstaller.execute ( "markbootcomplete" , instructionSet ) ; }

Target:
public void clearAppProfiles ( java.lang.String packageName ) throws com.android.internal.os.InstallerConnection.InstallerException { checkLock ( ) ; try { mInstalld.clearAppProfiles ( packageName ) ; } catch ( android.os.RemoteException | android.os.ServiceSpecificException e ) { throw new com.android.internal.os.InstallerConnection.InstallerException ( e.getMessage ( ) ) ; } }
Source:
private static native java.lang.String getBestDateTimePatternNative ( java.lang.String skeleton , java.lang.String localeName ) ;

Target:
private static native java.lang.String getCurrencySymbol ( java.lang.String languageTag , java.lang.String currencyCode ) ;
Source:
private void cleanup ( ) { mWifiMonitor.stopAllMonitoring ( ) ; mDeathRecipient.unlinkToDeath ( ) ; mWifiNative.tearDownInterfaces ( ) ; mWifiNative.stopHal ( ) ; }

Target:
private void cleanup ( ) { mWifiMonitor.stopAllMonitoring ( ) ; mDeathRecipient.unlinkToDeath ( ) ; mWifiNative.tearDown ( ) ; }
Source:
protected boolean markIfNecessary ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JNode node ) { synchronized ( node ) { if ( ! ( node.containsMarker ( markerClass ) ) ) { node.addMarker ( createMarkerFor ( node ) ) ; return true ; } } return false ; }

Target:
protected boolean markIfNecessary ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JNode node ) { return ( node.addMarkerIfAbsent ( createMarkerFor ( node ) ) ) == null ; }
Source:
public java.util.Collection < com.android.jack.ir.ast.JAnnotation > getAnnotations ( ) { loader.ensureAnnotations ( this ) ; return annotations.getAnnotations ( ) ; }

Target:
public java.util.Collection < com.android.jack.ir.ast.JAnnotationType > getAnnotationTypes ( ) { return com.android.jack.Jack.getUnmodifiableCollections ( ) . getUnmodifiableCollection ( com.android.jack.util.AnnotationUtils.getAnnotationTypes ( annotations ) ) ; }
Source:
private static native int nativeCompare ( android.text.format.Time a , android.text.format.Time b ) ;

Target:
public java.lang.String toString ( ) { android.text.format.Time.TimeCalculator calculator = new android.text.format.Time.TimeCalculator ( this . timezone ) ; calculator.copyFieldsFromTime ( this ) ; return calculator.toStringInternal ( ) ; }
Source:
public java.util.Map.Entry < K , V > lowerEntry ( K key ) { return getNearEntry ( key , m.LT ) ; }

Target:
public java.util.Map.Entry < K , V > lowerEntry ( K key ) { return getNearEntry ( key , java.util.concurrent.ConcurrentSkipListMap.LT ) ; }
Source:
private static native void nativePostForkChild ( long token , int runtimeFlags , boolean isSystemServer , java.lang.String instructionSet ) ;

Target:
private static native void nativePostForkChild ( long token , int runtimeFlags , boolean isSystemServer , boolean isZygote , java.lang.String instructionSet ) ;
Source:
private com.android.rs.test.Byte3 pack_b3 ( byte [ ] val ) { assert ( val.length ) == 3 ; return new com.android.rs.test.Byte3 ( val [ 0 ] , val [ 1 ] , val [ 2 ] ) ; }

Target:
private android.renderscript.Byte3 pack_b3 ( byte [ ] val ) { assert ( val.length ) == 3 ; return new android.renderscript.Byte3 ( val [ 0 ] , val [ 1 ] , val [ 2 ] ) ; }
Source:
java.lang.String getTestedPackageName ( ) ;

Target:
java.lang.String getTestedApplicationId ( ) ;
Source:
private static native java.lang.String formatDateInterval ( java.lang.String skeleton , java.lang.String localeName , long fromDate , long toDate ) ;

Target:
private static native java.lang.String formatDateInterval ( java.lang.String skeleton , java.lang.String localeName , java.lang.String timeZoneName , long fromDate , long toDate ) ;
Source:
public void onClick ( android.view.View v ) { if ( isViewHolderExpanded ) { collapseViewHolder ( ) ; } else { expandViewHolder ( ) ; voicemailViewHolderListener.onViewHolderExpanded ( this ) ; } }

Target:
public void onClick ( android.view.View v ) { com.android.dialer.common.LogUtil.i ( "NewVoicemailViewHolder.onClick" , "voicemail id: %d" , viewHolderId ) ; if ( isViewHolderExpanded ) { collapseViewHolder ( ) ; } else { expandViewHolder ( ) ; voicemailViewHolderListener.onViewHolderExpanded ( this ) ; } }
Source:
public java.util.Iterator < com.android.jack.ir.ast.JMethodId > iterator ( ) { return virtualMethods.iterator ( ) ; }

Target:
public void remove ( ) { throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
private com.android.ide.eclipse.adt.internal.sdk.IAndroidClassLoader.IClassDescriptor findLayoutParams ( com.android.ide.eclipse.adt.internal.sdk.IAndroidClassLoader.IClassDescriptor groupClass ) { com.android.ide.eclipse.adt.internal.sdk.IAndroidClassLoader.IClassDescriptor [ ] innerClasses = groupClass.getDeclaredClasses ( ) ; for ( com.android.ide.eclipse.adt.internal.sdk.IAndroidClassLoader.IClassDescriptor innerClass : innerClasses ) { if ( innerClass.getSimpleName ( ) . equals ( AndroidConstants.CLASS_NAME_LAYOUTPARAMS ) ) { return innerClass ; } } return null ; }

Target:
private com.android.ide.eclipse.adt.internal.sdk.IAndroidClassLoader.IClassDescriptor findLayoutParams ( com.android.ide.eclipse.adt.internal.sdk.IAndroidClassLoader.IClassDescriptor groupClass ) { com.android.ide.eclipse.adt.internal.sdk.IAndroidClassLoader.IClassDescriptor [ ] innerClasses = groupClass.getDeclaredClasses ( ) ; for ( com.android.ide.eclipse.adt.internal.sdk.IAndroidClassLoader.IClassDescriptor innerClass : innerClasses ) { if ( innerClass.getSimpleName ( ) . equals ( SdkConstants.CLASS_NAME_LAYOUTPARAMS ) ) { return innerClass ; } } return null ; }
Source:
public void onDestroy ( ) { unregisterReceiver ( mCancelReceiver ) ; stopForeground ( true ) ; }

Target:
public void onDestroy ( ) { if ( mRegistered ) { unregisterReceiver ( mCancelReceiver ) ; mRegistered = false ; } stopForeground ( true ) ; }
Source:
public final byte [ ] getIV ( ) { return spiImpl.engineGetIV ( ) ; }

Target:
public final byte [ ] getIV ( ) { return getSpi ( ) . engineGetIV ( ) ; }
Source:
public void testZip64Support ( ) throws java.io.IOException { try { createHugeZipFile ( ( 64 * 1024 ) ) ; fail ( ) ; } catch ( java.util.zip.ZipException expected ) { } }

Target:
public void testZip64Support ( ) throws java.io.IOException { try { createZipFile ( ( 64 * 1024 ) , 0 ) ; fail ( ) ; } catch ( java.util.zip.ZipException expected ) { } }
Source:
public void onDisconnect ( ) { com.android.dialer.common.LogUtil.enterBlock ( "SimulatorConnection.onDisconnect" ) ; setDisconnected ( new android.telecom.DisconnectCause ( android.telecom.DisconnectCause.LOCAL ) ) ; destroy ( ) ; }

Target:
public java.util.List < com.android.dialer.simulator.Simulator.Event > getEvents ( ) { return events ; }
Source:
public void onLeServiceUp ( ) { android.os.Message m = mAdapterStateMachine.obtainMessage ( AdapterState.USER_TURN_ON ) ; mAdapterStateMachine.sendMessage ( m ) ; }

Target:
public void onBrEdrDown ( ) { mAdapterStateMachine.sendMessage ( AdapterState.USER_TURN_OFF ) ; }
Source:
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 ) ; }

Target:
public boolean isImmersive ( android.os.IBinder token ) { synchronized ( this ) { com.android.server.am.ActivityRecord r = mMainStack.isInStackLocked ( token ) ; if ( r == null ) { throw new java.lang.IllegalArgumentException ( ) ; } return r.immersive ; } }
Source:
public boolean onUnbind ( android.content.Intent intent ) { mWifiWakeupController.stop ( ) ; return super . onUnbind ( intent ) ; }

Target:
public boolean onUnbind ( android.content.Intent intent ) { mWifiWakeupController.stop ( ) ; mWifiNotificationController.stop ( ) ; return super . onUnbind ( intent ) ; }
Source:
void load ( java.util.List < com.android.sdklib.devices.Device > deviceList ) throws java.io.IOException { java.io.File file = getManualFile ( ) ; if ( file.exists ( ) ) { load ( file , deviceList ) ; } }

Target:
void load ( java.util.Collection < com.android.sdklib.devices.Device > deviceList ) throws java.io.IOException { java.io.File file = getManualFile ( ) ; if ( file.exists ( ) ) { load ( file , deviceList ) ; } }
Source:
private static com.google.devtools.build.android.desugar.proto.DesugarDeps.Type wrapType ( java.lang.String internalName ) { return com.google.devtools.build.android.desugar.proto.DesugarDeps.Type.newBuilder ( ) . setBinaryName ( internalName ) . build ( ) ; }

Target:
private static DesugarDeps.Type wrapType ( java.lang.String internalName ) { return DesugarDeps.Type.newBuilder ( ) . setBinaryName ( internalName ) . build ( ) ; }
Source:
public void testConstructor1 ( ) { assertEquals ( jsr166.PriorityBlockingQueueTest.NOCAP , new java.util.concurrent.PriorityBlockingQueue ( SIZE ) . remainingCapacity ( ) ) ; }

Target:
public void testConstructor1 ( ) { assertEquals ( java.lang.Integer.MAX_VALUE , new java.util.concurrent.PriorityBlockingQueue ( SIZE ) . remainingCapacity ( ) ) ; }
Source:
private void loglocal ( java.lang.String msg ) { if ( com.android.internal.telephony.uicc.UiccSlot.DBG ) com.android.internal.telephony.uicc.UiccSlot.sLocalLog.log ( msg ) ; }

Target:
public boolean isExtendedApduSupported ( ) { return ( ( mAtr ) != null ) && ( mAtr.isExtendedApduSupported ( ) ) ; }
Source:
public static com.android.sdklib.internal.project.ProjectProperties create ( java.lang.String projectFolderOsPath , com.android.sdklib.internal.project.ProjectProperties.PropertyType type ) { return new com.android.sdklib.internal.project.ProjectProperties ( projectFolderOsPath , new java.util.HashMap < java.lang.String , java.lang.String > ( ) , type ) ; }

Target:
public static com.android.sdklib.internal.project.ProjectProperties create ( com.android.sdklib.io.IAbstractFolder projectFolder , com.android.sdklib.internal.project.ProjectProperties.PropertyType type ) { return new com.android.sdklib.internal.project.ProjectProperties ( projectFolder , new java.util.HashMap < java.lang.String , java.lang.String > ( ) , type ) ; }
Source:
public boolean hasChanged ( @ com.android.annotations.Nullable com.android.utils.ILogger log ) { return mLocalSdk.hasChanged ( ( ( ( com.android.sdklib.repository.local.LocalSdk.PKG_PLATFORMS ) | ( com.android.sdklib.repository.local.LocalSdk.PKG_ADDONS ) ) | ( com.android.sdklib.repository.local.LocalSdk.PKG_BUILD_TOOLS ) ) ) ; }

Target:
public boolean hasChanged ( @ com.android.annotations.Nullable com.android.utils.ILogger log ) { return mLocalSdk.hasChanged ( java.util.EnumSet.of ( PkgType.PKG_PLATFORMS , PkgType.PKG_ADDONS , PkgType.PKG_BUILD_TOOLS ) ) ; }
Source:
public void stopTrackingWifiChange ( android.net.wifi.WifiScanner.WifiChangeListener listener ) { int key = removeListener ( listener ) ; if ( key == ( android.net.wifi.WifiScanner.INVALID_KEY ) ) return ; validateChannel ( ) ; mAsyncChannel.sendMessage ( android.net.wifi.WifiScanner.CMD_STOP_TRACKING_CHANGE , 0 , key ) ; }

Target:
public void stopTrackingWifiChange ( android.net.wifi.WifiScanner.WifiChangeListener listener ) { throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
public void addCapability ( int capability ) { mNetworkCapabilities.addCapability ( capability ) ; mNetworkAgent.sendNetworkCapabilities ( mNetworkCapabilities ) ; }

Target:
public void setNetworkSpecifier ( android.net.NetworkSpecifier networkSpecifier ) { mNetworkCapabilities.setNetworkSpecifier ( networkSpecifier ) ; mNetworkAgent.sendNetworkCapabilities ( mNetworkCapabilities ) ; }
Source:
public android.renderscript.cts.Floaty multiply ( android.renderscript.cts.Floaty a ) { mError = ( ( java.lang.Math.abs ( mValue ) ) * ( a.mError ) ) + ( ( java.lang.Math.abs ( a.mValue ) ) * ( mError ) ) ; mValue *= a.mValue ; return this ; }

Target:
public static android.renderscript.cts.Floaty abs ( android.renderscript.cts.Floaty a ) { android.renderscript.cts.Floaty c = new android.renderscript.cts.Floaty ( java.lang.Math.abs ( a.mValue ) ) ; c.mError = a.mError ; return c ; }
Source:
int lock ( java.io.FileDescriptor fd , boolean blocking , long pos , long size , boolean shared ) throws java.io.IOException { return sun.nio.ch.FileDispatcherImpl.lock0 ( fd , blocking , pos , size , shared ) ; }

Target:
int lock ( java.io.FileDescriptor fd , boolean blocking , long pos , long size , boolean shared ) throws java.io.IOException { dalvik.system.BlockGuard.getThreadPolicy ( ) . onWriteToDisk ( ) ; return sun.nio.ch.FileDispatcherImpl.lock0 ( fd , blocking , pos , size , shared ) ; }
Source:
public java.util.List < com.android.graphics.benchmark.ApkInfo > parse ( java.io.File file ) throws java.io.IOException , javax.xml.parsers.ParserConfigurationException , org.xml.sax.SAXException { try ( java.io.InputStream is = new java.io.FileInputStream ( file ) ) { return parse ( is ) ; } }

Target:
public java.util.List < com.android.game.qualification.ApkInfo > parse ( java.io.File file ) throws java.io.IOException , javax.xml.parsers.ParserConfigurationException , org.xml.sax.SAXException { try ( java.io.InputStream is = new java.io.FileInputStream ( file ) ) { return parse ( is ) ; } }
Source:
public void uploadToTarget ( java.lang.String programName ) { pushToDevice ( ( ( programName + " " ) + ( testLocation ) ) ) ; }

Target:
public void prepareProgramForExecution ( java.lang.String programName ) { if ( ! ( dexfuzz.Options.executeOnHost ) ) { device.pushProgramToDevice ( programName , testLocation ) ; } if ( needsCleanCodeCache ) { device.cleanCodeCache ( architecture , testLocation , programName ) ; } }
Source:
private native int genLibs ( java.lang.String working_dir , java.lang.String sysroot ) ;

Target:
private native int genLibs ( java.lang.String working_dir , java.lang.String sysroot , boolean for_test ) ;
Source:
protected void onButtonReload ( org.eclipse.swt.events.SelectionEvent e ) { loadPackages ( ) ; }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { onButtonDelete ( ) ; }
Source:
private com.android.internal.util.Predicate < android.test.suitebuilder.TestMethod > getAnnotationPredicate ( java.lang.String annotationClassName ) { java.lang.Class < ? extends java.lang.annotation.Annotation > annotationClass = getAnnotationClass ( annotationClassName ) ; if ( annotationClass != null ) { return new android.test.suitebuilder.annotation.HasAnnotation ( annotationClass ) ; } return null ; }

Target:
private com.android.internal.util.Predicate < android.test.suitebuilder.TestMethod > getNotAnnotationPredicate ( java.lang.String annotationClassName ) { java.lang.Class < ? extends java.lang.annotation.Annotation > annotationClass = getAnnotationClass ( annotationClassName ) ; if ( annotationClass != null ) { return android.test.suitebuilder.TestPredicates.not ( android.test.suitebuilder.TestPredicates.hasAnnotation ( annotationClass ) ) ; } return null ; }
Source:
public void testWithRowShort_columnIndexAndValueMatcher ( ) { assertTrue ( android.support.test.espresso.matcher.CursorMatchers.withRowShort ( 1 , android.support.test.espresso.matcher.CursorMatchersTest.SHORT_VALUE_MATCHER ) . matches ( cursor ) ) ; }

Target:
public void withRowShort_columnIndexAndValueMatcher ( ) { org.junit.Assert.assertTrue ( android.support.test.espresso.matcher.CursorMatchers.withRowShort ( 1 , android.support.test.espresso.matcher.CursorMatchersTest.SHORT_VALUE_MATCHER ) . matches ( cursor ) ) ; }
Source:
private void rebootRecoveryWithCommand ( java.lang.String command ) { try { mService.rebootRecoveryWithCommand ( command ) ; } catch ( android.os.RemoteException ignored ) { } }

Target:
private void rebootRecoveryWithCommand ( java.lang.String command , boolean update ) { try { mService.rebootRecoveryWithCommand ( command , update ) ; } catch ( android.os.RemoteException ignored ) { } }
Source:
public void verifyParcelWithoutTrustRootCertList ( ) throws java.lang.Exception { android.net.wifi.hotspot2.PasspointConfiguration config = android.net.wifi.hotspot2.PasspointConfigurationTest.createConfig ( ) ; config.trustRootCertList = null ; android.net.wifi.hotspot2.PasspointConfigurationTest.verifyParcel ( config ) ; }

Target:
public void validateConfigWithoutHomeSp ( ) throws java.lang.Exception { android.net.wifi.hotspot2.PasspointConfiguration config = android.net.wifi.hotspot2.PasspointConfigurationTest.createConfig ( ) ; config.setHomeSp ( null ) ; org.junit.Assert.assertFalse ( config.validate ( ) ) ; }
Source:
public java.nio.ByteBuffer recvMessage ( ) throws android.system.ErrnoException , java.io.InterruptedIOException { return recvMessage ( android.net.netlink.NetlinkSocket.DEFAULT_RECV_BUFSIZE , 0 ) ; }

Target:
public static java.io.FileDescriptor forProto ( int nlProto ) throws android.system.ErrnoException { final java.io.FileDescriptor fd = android.system.Os.socket ( android.system.OsConstants.AF_NETLINK , android.system.OsConstants.SOCK_DGRAM , nlProto ) ; android.system.Os.setsockoptInt ( fd , android.system.OsConstants.SOL_SOCKET , android.system.OsConstants.SO_RCVBUF , android.net.netlink.NetlinkSocket.SOCKET_RECV_BUFSIZE ) ; return fd ; }
Source:
public void endVisit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JNewInstance newInstance ) { com.android.jack.ir.ast.JClass returnType = newInstance.getType ( ) ; trace ( returnType ) ; com.android.jack.ir.ast.JMethodIdWide methodId = newInstance.getMethodId ( ) ; trace ( methodId , returnType , JPrimitiveTypeEnum.VOID.getType ( ) , false ) ; }

Target:
public void endVisit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JNewInstance newInstance ) { com.android.jack.ir.ast.JClass returnType = newInstance.getType ( ) ; trace ( returnType ) ; com.android.jack.ir.ast.JMethodIdWide methodId = newInstance.getMethodIdWide ( ) ; trace ( methodId , returnType , JPrimitiveTypeEnum.VOID.getType ( ) , false ) ; }
Source:
public static long LongMatCond_LongVarVar ( long a , long b , long x , long y ) { long result = ( a > b ) ? x : y ; return result + ( a > b ? 0L : 1L ) ; }

Target:
public static long IntNonmatCond_LongVarVar ( int a , int b , long x , long y ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return a > b ? x : y ; }