auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
protected abstract java.lang.String getExtension ( ) ;

Target:
protected abstract java.util.Set < java.lang.String > getExtensions ( ) ;
Source:
public final void binderDied ( ) { release ( ) ; }

Target:
public void addReference ( ) { mReferenceCount.incrementAndGet ( ) ; }
Source:
public void copy1DRangeFrom ( int off , int count , short [ ] d ) { validateIsInt16 ( ) ; copy1DRangeFromUnchecked ( off , count , d ) ; }

Target:
public void copy1DRangeFromUnchecked ( int off , int count , short [ ] d ) { copy1DRangeFromUnchecked ( off , count , ( ( java.lang.Object ) ( d ) ) , Element.DataType.SIGNED_16 , d.length ) ; }
Source:
public int hashCode ( ) { return cellSet ( ) . hashCode ( ) ; }

Target:
public boolean contains ( @ javax.annotation.Nullable java.lang.Object rowKey , @ javax.annotation.Nullable java.lang.Object columnKey ) { return ( get ( rowKey , columnKey ) ) != null ; }
Source:
public void onStatusUpdated ( android.telephony.mbms.DownloadRequest request , android.telephony.mbms.FileInfo fileInfo , @ android.telephony.MbmsDownloadSession.DownloadStatus int state ) { com.android.internal.os.SomeArgs args = com.android.internal.os.SomeArgs.obtain ( ) ; args.arg1 = request ; args.arg2 = fileInfo ; args.arg3 = state ; mCalls.add ( args ) ; }

Target:
public void onStatusUpdated ( android.telephony.mbms.DownloadRequest request , android.telephony.mbms.FileInfo fileInfo , @ android.telephony.MbmsDownloadSession.DownloadStatus int state ) { android.telephony.embms.cts.SomeArgs args = android.telephony.embms.cts.SomeArgs.obtain ( ) ; args.arg1 = request ; args.arg2 = fileInfo ; args.arg3 = state ; mCalls.add ( args ) ; }
Source:
public E getLast ( ) { E x = elements [ ( ( ( tail ) - 1 ) & ( ( elements.length ) - 1 ) ) ] ; if ( x == null ) throw new java.util.NoSuchElementException ( ) ; return x ; }

Target:
public E getFirst ( ) { @ java.lang.SuppressWarnings ( value = "unchecked" ) E result = ( ( E ) ( elements [ head ] ) ) ; if ( result == null ) throw new java.util.NoSuchElementException ( ) ; return result ; }
Source:
native void rsnScriptForEachClipped ( long con , long id , int slot , long ain , long aout , int xstart , int xend , int ystart , int yend , int zstart , int zend ) ;

Target:
native void rsnScriptInvoke ( long con , long id , int slot , boolean mUseInc ) ;
Source:
private boolean canReadPhoneState ( java.lang.String callingPackage , java.lang.String message ) { try { return com.android.internal.telephony.TelephonyPermissions.checkCallingOrSelfReadPhoneState ( mContext , SubscriptionManager.INVALID_SUBSCRIPTION_ID , callingPackage , message ) ; } catch ( java.lang.SecurityException e ) { return false ; } }

Target:
boolean canReadPhoneState ( ) { try { return com.android.internal.telephony.TelephonyPermissions.checkReadPhoneState ( context , subId , callerPid , callerUid , callingPackage , "listen" ) ; } catch ( java.lang.SecurityException e ) { return false ; } }
Source:
private void checkLayoutCompletion ( java.lang.String name , java.lang.String caretLocation ) throws java.lang.Exception { org.eclipse.core.resources.IFile file = getLayoutFile ( getProject ( ) , name ) ; org.eclipse.ui.ide.IDE.setDefaultEditor ( file , LayoutEditorDelegate.LEGACY_EDITOR_ID ) ; checkCompletion ( name , file , caretLocation , new com.android.ide.eclipse.adt.internal.editors.layout.LayoutContentAssist ( ) ) ; }

Target:
private void checkLayoutCompletion ( java.lang.String name , java.lang.String caretLocation ) throws java.lang.Exception { org.eclipse.core.resources.IFile file = getLayoutFile ( getProject ( ) , name ) ; org.eclipse.ui.ide.IDE.setDefaultEditor ( file , CommonXmlEditor.ID ) ; checkCompletion ( name , file , caretLocation , new com.android.ide.eclipse.adt.internal.editors.layout.LayoutContentAssist ( ) ) ; }
Source:
public android.support.v4.app.Fragment getItem ( @ com.android.dialer.main.impl.MainPagerAdapter.TabIndex int position ) { switch ( position ) { case com.android.dialer.main.impl.MainPagerAdapter.TabIndex.VOICEMAIL : return new com.android.dialer.voicemail.listui.VoicemailFragment ( ) ; case com.android.dialer.main.impl.MainPagerAdapter.TabIndex.HISTORY : return new com.android.dialer.calllog.ui.NewCallLogFragment ( ) ; default : return new com.android.dialer.main.impl.StubFragment ( ) ; } }

Target:
public android.support.v4.app.Fragment getItem ( @ com.android.dialer.main.impl.MainPagerAdapter.TabIndex int position ) { switch ( position ) { case com.android.dialer.main.impl.MainPagerAdapter.TabIndex.VOICEMAIL : return new com.android.dialer.voicemail.listui.NewVoicemailFragment ( ) ; case com.android.dialer.main.impl.MainPagerAdapter.TabIndex.HISTORY : return new com.android.dialer.calllog.ui.NewCallLogFragment ( ) ; default : return new com.android.dialer.main.impl.StubFragment ( ) ; } }
Source:
void start ( ) throws com.android.ide.common.res2.MergeConsumer.ConsumerException ;

Target:
void start ( @ com.android.annotations.NonNull javax.xml.parsers.DocumentBuilderFactory factory ) throws com.android.ide.common.res2.MergeConsumer.ConsumerException ;
Source:
public long startingAdministrativeTask ( ) throws com.android.jack.server.JackHttpServer.ServerClosedException { return startingTask ( adminInfo ) ; }

Target:
public long startingAdministrativeTask ( ) throws com.android.jack.server.JackHttpServer.ServerClosedException { synchronized ( lock ) { if ( shuttingDown ) { throw new com.android.jack.server.JackHttpServer.ServerClosedException ( ) ; } return startingTask ( adminInfo ) ; } }
Source:
protected int handleGetLimit ( int field , int limitType ) { return 0 ; }

Target:
protected int handleGetLimit ( int field , int limitType ) { if ( limitType == ( android.icu.util.Calendar.LEAST_MAXIMUM ) ) { return 1 ; } else if ( limitType == ( android.icu.util.Calendar.GREATEST_MINIMUM ) ) { return 7 ; } return - 1 ; }
Source:
public void onStopListening ( ) { if ( ( com.google.android.traceur.QsService.sListeningInstance ) == ( this ) ) { com.google.android.traceur.QsService.sListeningInstance = null ; } }

Target:
public void onStopListening ( ) { if ( ( com.android.traceur.QsService.sListeningInstance ) == ( this ) ) { com.android.traceur.QsService.sListeningInstance = null ; } }
Source:
public static int getExponent ( double d ) { return ( ( int ) ( ( ( ( java.lang.Double.doubleToRawLongBits ( d ) ) & ( sun.misc.DoubleConsts.EXP_BIT_MASK ) ) > > ( ( sun.misc.DoubleConsts.SIGNIFICAND_WIDTH ) - 1 ) ) - ( sun.misc.DoubleConsts.EXP_BIAS ) ) ) ; }

Target:
public static int getExponent ( double d ) { return java.lang.Math.getExponent ( d ) ; }
Source:
public static void computeClamp ( android.renderscript.cts.TestClamp.ArgumentsCharCharCharChar args ) { args.ulf = 0 ; args.ulfRelaxed = 0 ; args.out = ( ( byte ) ( java.lang.StrictMath.min ( args.inMaxValue , java.lang.StrictMath.max ( args.inValue , args.inMinValue ) ) ) ) ; }

Target:
public static void computeConvert ( android.renderscript.cts.TestConvert.ArgumentsUintUint args ) { args.out = android.renderscript.cts.CoreMathVerifier.convertUintToUint ( args.inV ) ; }
Source:
public void run ( ) { try { readTimedTextTracks ( ) ; } catch ( java.lang.Exception e ) { throw new junit.framework.AssertionFailedError ( e.getMessage ( ) ) ; } }

Target:
public void run ( ) { try { loadSubtitleSource ( R.raw.test_subtitle1_srt ) ; loadSubtitleSource ( R.raw.test_subtitle2_srt ) ; } catch ( java.lang.Exception e ) { throw new junit.framework.AssertionFailedError ( e.getMessage ( ) ) ; } }
Source:
private void interceptPowerKeyDown ( boolean handled ) { mPowerKeyHandled = handled ; if ( ! handled ) { mHandler.postDelayed ( mPowerLongPress , android.view.ViewConfiguration.getGlobalActionKeyTimeout ( ) ) ; } }

Target:
private void interceptPowerKeyDown ( boolean handled ) { mPowerKeyHandled = handled ; if ( ! handled ) { mHandler.postDelayed ( mPowerLongPress , android.view.ViewConfiguration.get ( mContext ) . getDeviceGlobalActionKeyTimeout ( ) ) ; } }
Source:
private static long sumNativeBinaries ( com.android.internal.content.NativeLibraryHelper.Handle handle , java.lang.String abi ) { long sum = 0 ; for ( long apkHandle : handle.apkHandles ) { sum += com.android.internal.content.NativeLibraryHelper.nativeSumNativeBinaries ( apkHandle , abi ) ; } return sum ; }

Target:
private static long sumNativeBinaries ( com.android.internal.content.NativeLibraryHelper.Handle handle , java.lang.String abi ) { long sum = 0 ; for ( long apkHandle : handle.apkHandles ) { sum += com.android.internal.content.NativeLibraryHelper.nativeSumNativeBinaries ( apkHandle , abi , handle.debuggable ) ; } return sum ; }
Source:
public boolean rename ( java.io.File f1 , java.io.File f2 ) { cache.clear ( ) ; javaHomePrefixCache.clear ( ) ; return rename0 ( f1 , f2 ) ; }

Target:
public boolean rename ( java.io.File f1 , java.io.File f2 ) { cache.clear ( ) ; javaHomePrefixCache.clear ( ) ; dalvik.system.BlockGuard.getThreadPolicy ( ) . onWriteToDisk ( ) ; return rename0 ( f1 , f2 ) ; }
Source:
public void testMatrix ( ) { android.renderscript.cts.ScriptC_MatrixTest s = new android.renderscript.cts.ScriptC_MatrixTest ( mRS ) ; s.invoke_matrixTests ( ) ; mRS.finish ( ) ; waitForMessage ( ) ; checkForErrors ( ) ; }

Target:
public void testMatrix ( ) { android.renderscript.cts.ScriptC_MatrixTest s = new android.renderscript.cts.ScriptC_MatrixTest ( mRS ) ; s.invoke_matrixTests ( ) ; mRS.finish ( ) ; waitForMessage ( ) ; checkForErrors ( ) ; s.destroy ( ) ; }
Source:
public int testCount ( ) { if ( isTest ( ) ) return 1 ; int result = 0 ; for ( org.junit.runner.Description child : getChildren ( ) ) result += child.testCount ( ) ; return result ; }

Target:
public int testCount ( ) { if ( isTest ( ) ) { return 1 ; } int result = 0 ; for ( org.junit.runner.Description child : fChildren ) { result += child.testCount ( ) ; } return result ; }
Source:
public java.lang.String getIccSerialNumber ( ) { com.android.internal.telephony.uicc.IccRecords r = mIccRecords.get ( ) ; return r != null ? r.iccid : null ; }

Target:
public java.lang.String getIccSerialNumber ( ) { com.android.internal.telephony.uicc.IccRecords r = mIccRecords.get ( ) ; return r != null ? r.getIccId ( ) : null ; }
Source:
public final short getShort ( int index ) { checkIndex ( index , SizeOf.SHORT ) ; return this . block.peekShort ( ( ( offset ) + index ) , order ) ; }

Target:
public final char getChar ( int index ) { checkIndex ( index , SizeOf.CHAR ) ; return ( ( char ) ( this . block.peekShort ( ( ( offset ) + index ) , order ) ) ) ; }
Source:
public void parse ( ) throws java.io.IOException { long headerLength = parseHeader ( mTraceFile ) ; java.nio.MappedByteBuffer buffer = mapFile ( mTraceFile , headerLength ) ; parseData ( buffer ) ; }

Target:
public void parse ( ) throws java.io.IOException { long headerLength = parseHeader ( mTraceFile ) ; java.nio.MappedByteBuffer buffer = mapFile ( mTraceFile , headerLength ) ; parseData ( buffer ) ; computeTimingStatistics ( ) ; }
Source:
public static long LongAddition ( ) { long a ; long b ; long c ; a = 1L ; b = 2L ; c = a + b ; return c ; }

Target:
public static int IntAddition1 ( ) { int a ; int b ; int c ; a = Main.$inline$int ( 1 ) ; b = Main.$inline$int ( 2 ) ; c = a + b ; return c ; }
Source:
public static java.lang.String getPackageName ( java.lang.Class < ? > cls ) { return com.google.common.reflect.Reflection.getPackageName ( cls.getName ( ) ) ; }

Target:
public static java.lang.String getPackageName ( java.lang.Class < ? > clazz ) { return com.google.common.reflect.Reflection.getPackageName ( clazz.getName ( ) ) ; }
Source:
public void getMemoryInfo ( android.app.ActivityManager.MemoryInfo outInfo ) { outInfo.availMem = java.lang.Process.getFreeMemory ( ) ; outInfo.threshold = HOME_APP_MEM ; outInfo.lowMemory = ( outInfo.availMem ) < ( ( HOME_APP_MEM ) + ( ( ( HIDDEN_APP_MEM ) - ( HOME_APP_MEM ) ) / 2 ) ) ; }

Target:
public void getMemoryInfo ( android.app.ActivityManager.MemoryInfo outInfo ) { outInfo.availMem = java.lang.Process.getFreeMemory ( ) ; outInfo.threshold = com.android.server.am.ActivityManagerService.HOME_APP_MEM ; outInfo.lowMemory = ( outInfo.availMem ) < ( ( com.android.server.am.ActivityManagerService.HOME_APP_MEM ) + ( ( ( com.android.server.am.ActivityManagerService.HIDDEN_APP_MEM ) - ( com.android.server.am.ActivityManagerService.HOME_APP_MEM ) ) / 2 ) ) ; }
Source:
public boolean roamToNetwork ( android.net.wifi.WifiConfiguration configuration ) { return mWifiSupplicantControl.roamToNetwork ( configuration ) ; }

Target:
public boolean roamToNetwork ( android.net.wifi.WifiConfiguration configuration ) { if ( com.android.server.wifi.WifiNative.HIDL_SUP_ENABLE ) { return mSupplicantStaIfaceHal.roamToNetwork ( configuration ) ; } else { return mWifiSupplicantControl.roamToNetwork ( configuration ) ; } }
Source:
public android.net.IpSecManager.UdpEncapsulationSocket openUdpEncapsulationSocket ( int port ) throws android.net.IpSecManager.ResourceUnavailableException , java.io.IOException { return new android.net.IpSecManager.UdpEncapsulationSocket ( mService , port ) ; }

Target:
public android.net.IpSecManager.UdpEncapsulationSocket openUdpEncapsulationSocket ( int port ) throws android.net.IpSecManager.ResourceUnavailableException , java.io.IOException { if ( port == 0 ) { throw new java.lang.IllegalArgumentException ( "Specified port must be a valid port number!" ) ; } return new android.net.IpSecManager.UdpEncapsulationSocket ( mService , port ) ; }
Source:
private int getMask ( int length , int offset ) { int res = ( getMask ( length ) ) << offset ; if ( ( bpp ) == 32 ) { return java.lang.Integer.reverseBytes ( res ) ; } return res ; }

Target:
private int getMask ( int length , int offset ) { int res = ( com.android.ddmlib.RawImage.getMask ( length ) ) << offset ; if ( ( bpp ) == 32 ) { return java.lang.Integer.reverseBytes ( res ) ; } return res ; }
Source:
public static void computeExp2 ( android.renderscript.cts.TestExp2.ArgumentsFloatFloat args ) { args.ulf = 4 ; args.ulfRelaxed = 16 ; args.out = ( ( float ) ( java.lang.StrictMath.pow ( 2.0 , args.in ) ) ) ; }

Target:
public static void computeConvert ( android.renderscript.cts.TestConvert.ArgumentsShortShort args ) { args.out = android.renderscript.cts.CoreMathVerifier.convertShortToShort ( args.inV ) ; }
Source:
public void dispose ( ) { disposeTreeRestorer ( ) ; com.intellij.ide.dnd.DnDManager.getInstance ( ) . unregisterSource ( myDebuggerTreePanel , myDebuggerTreePanel.getTree ( ) ) ; }

Target:
public void dispose ( ) { disposeTreeRestorer ( ) ; removeSelectionListener ( ) ; com.intellij.ide.dnd.DnDManager.getInstance ( ) . unregisterSource ( myDebuggerTreePanel , myDebuggerTreePanel.getTree ( ) ) ; }
Source:
public void addValue ( com.android.layoutlib.api.ResourceValue value ) { mItems.put ( value.getName ( ) , value ) ; }

Target:
public void addValue ( com.android.ide.common.rendering.api.ResourceValue value ) { mItems.put ( value.getName ( ) , value ) ; }
Source:
private static void assertForbiddenRequestHeaderName ( java.lang.String name ) throws java.lang.Exception { java.net.URL url = new java.net.URL ( "http://www.google.com/" ) ; java.net.HttpURLConnection urlConnection = ( ( java.net.HttpURLConnection ) ( url.openConnection ( ) ) ) ; try { urlConnection.addRequestProperty ( name , "value" ) ; fail ( "Expected exception" ) ; } catch ( java.lang.IllegalArgumentException expected ) { } catch ( java.lang.NullPointerException expectedIfNull ) { assertTrue ( ( name == null ) ) ; } }

Target:
private static void assertForbiddenRequestHeaderName ( java.lang.String name ) throws java.lang.Exception { java.net.URL url = new java.net.URL ( "http://www.google.com/" ) ; java.net.HttpURLConnection urlConnection = ( ( java.net.HttpURLConnection ) ( url.openConnection ( ) ) ) ; try { urlConnection.addRequestProperty ( name , "value" ) ; org.junit.Assert.fail ( "Expected exception" ) ; } catch ( java.lang.IllegalArgumentException expected ) { } catch ( java.lang.NullPointerException expectedIfNull ) { assertTrue ( ( name == null ) ) ; } }
Source:
public native char charAt ( int index ) ;

Target:
public char charAt ( int index ) { if ( ( index < 0 ) || ( index >= ( count ) ) ) { throw indexAndLength ( index ) ; } return value [ ( ( offset ) + index ) ] ; }
Source:
public TestCaseBuilder addCanvasClient ( java.lang.String debugString , android.uirendering.cts.testinfrastructure.CanvasClient canvasClient , boolean useHardware ) { }

Target:
public android.uirendering.cts.testinfrastructure.ActivityTestBase.TestCaseBuilder addCanvasClientWithoutUsingPicture ( java.lang.String debugString , android.uirendering.cts.testinfrastructure.CanvasClient canvasClient ) { return addCanvasClientInternal ( debugString , canvasClient , false , false ) . addCanvasClientInternal ( debugString , canvasClient , true , false ) ; }
Source:
public void testSplitscreenPortraitAppOrientationRequests ( ) throws java.lang.Exception { requestOrientationInSplitScreen ( 1 , android.server.cts.ActivityManagerAppConfigurationTests.LANDSCAPE_ACTIVITY_NAME ) ; }

Target:
public void testSplitscreenPortraitAppOrientationRequests ( ) throws java.lang.Exception { if ( ! ( supportsSplitScreenMultiWindow ( ) ) ) { com.android.tradefed.log.LogUtil.CLog.logAndDisplay ( LogLevel.INFO , "Skipping test: no multi-window support" ) ; return ; } requestOrientationInSplitScreen ( 1 , android.server.cts.ActivityManagerAppConfigurationTests.LANDSCAPE_ACTIVITY_NAME ) ; }
Source:
public boolean addAll ( java.util.Collection < ? extends K > collection ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
public boolean addAll ( java.util.Collection < ? extends E > es ) { throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
private void showFindDialog ( ) { if ( ( mFindDialog ) != null ) { return ; } mFindDialog = new com.android.ddmuilib.FindDialog ( org.eclipse.swt.widgets.Display.getDefault ( ) . getActiveShell ( ) , mFindTarget ) ; mFindDialog.open ( ) ; mFindDialog = null ; }

Target:
private void showFindDialog ( ) { if ( ( mFindDialog ) != null ) { return ; } mFindDialog = new com.android.ddmuilib.FindDialog ( org.eclipse.swt.widgets.Display.getDefault ( ) . getActiveShell ( ) , mFindTarget , com.android.ddmuilib.FindDialog.FIND_NEXT_ID ) ; mFindDialog.open ( ) ; mFindDialog = null ; }
Source:
public java.util.List < com.android.jack.ir.ast.JLocal > getCatchLocals ( ) { return catchLocals ; }

Target:
public void removeCatchLocal ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JLocal catchLocal ) { assert catchLocals.contains ( catchLocal ) ; catchLocals.remove ( catchLocal ) ; }
Source:
public boolean initializeVendorHal ( ) { return mWifiVendorHal.initialize ( ) ; }

Target:
public boolean initializeVendorHal ( com.android.server.wifi.WifiNative.VendorHalDeathEventHandler handler ) { return mWifiVendorHal.initialize ( handler ) ; }
Source:
public static void main ( java.lang.String [ ] args ) { java.lang.System.out.println ( Main.foo ( 3 , 4 ) ) ; }

Target:
public static void main ( java.lang.String [ ] args ) { java.lang.System.out.println ( Main.foo ( 3 , 4 ) ) ; java.lang.System.out.println ( Main.mulAndIntrinsic ( ) ) ; java.lang.System.out.println ( Main.directIntrinsic ( ( - 5 ) ) ) ; }
Source:
public static android.telephony.MbmsStreamingManager create ( android.content.Context context , android.telephony.mbms.IMbmsStreamingManagerCallback listener , java.lang.String streamingAppName , int subscriptionId ) throws android.telephony.mbms.MbmsException { android.telephony.MbmsStreamingManager manager = new android.telephony.MbmsStreamingManager ( context , listener , streamingAppName , subscriptionId ) ; manager.bindAndInitialize ( ) ; return manager ; }

Target:
public static android.telephony.MbmsStreamingManager create ( android.content.Context context , android.telephony.mbms.MbmsStreamingManagerCallback listener , java.lang.String streamingAppName , int subscriptionId ) throws android.telephony.mbms.MbmsException { android.telephony.MbmsStreamingManager manager = new android.telephony.MbmsStreamingManager ( context , listener , streamingAppName , subscriptionId ) ; manager.bindAndInitialize ( ) ; return manager ; }
Source:
public void unregisterForSuppServiceNotification ( android.os.Handler h ) { mSsnRegistrants.remove ( h ) ; if ( ( mSsnRegistrants.size ( ) ) == 0 ) mCM.setSuppServiceNotifications ( false , null ) ; }

Target:
public void unregisterForSuppServiceNotification ( android.os.Handler h ) { mSsnRegistrants.remove ( h ) ; if ( ( mSsnRegistrants.size ( ) ) == 0 ) mCi.setSuppServiceNotifications ( false , null ) ; }
Source:
public java.util.Collection < V > getValue ( ) { return this . get ( key ) ; }

Target:
java.util.Iterator < java.util.Map.Entry < K , V > > entryIterator ( ) { throw new java.lang.AssertionError ( "should never be called" ) ; }
Source:
public java.util.List < java.io.File > getFrameworkSource ( ) { return frameworkSource ; }

Target:
public java.util.Collection < java.io.File > getFrameworkSources ( ) { return frameworkSource ; }
Source:
private void scrollToLatestLog ( ) { mViewer.getTable ( ) . setTopIndex ( ( ( mViewer.getTable ( ) . getItemCount ( ) ) - 1 ) ) ; }

Target:
private void scrollToLatestLog ( ) { mRemovedEntriesCount = 0 ; mViewer.getTable ( ) . setTopIndex ( ( ( mViewer.getTable ( ) . getItemCount ( ) ) - 1 ) ) ; }
Source:
public static int intConditionEqualZero ( int i ) { return ( i > 42 ) != false ? 13 : 54 ; }

Target:
public static int intConditionNotEqualOne ( int i ) { return ( i > 42 ) == ( Main.$inline$true ( ) ) ? 13 : 54 ; }
Source:
public java.lang.String getPackageName ( ) { return mRootElement.getAttribute ( "package" ) ; }

Target:
public java.lang.String getPackageName ( ) { return mMainManifestPackageName.or ( mRootElement.getAttribute ( "package" ) ) ; }
Source:
public static void setUpClass ( ) { com.android.jack.compile.androidtree.ext.ExtCompilationTest.class . getClassLoader ( ) . setDefaultAssertionStatus ( true ) ; }

Target:
public static void setUpClass ( ) { com.android.jack.compile.androidtree.ext.ExtCompilationTest.class . getClassLoader ( ) . setDefaultAssertionStatus ( true ) ; com.android.jack.compile.androidtree.ext.ExtCompilationTest.BOOTCLASSPATH = new java.io.File [ ] { com.android.jack.TestTools.getFromAndroidTree ( "out/target/common/obj/JAVA_LIBRARIES/core_intermediates/classes.jar" ) } ; com.android.jack.compile.androidtree.ext.ExtCompilationTest.SOURCELIST = com.android.jack.TestTools.getTargetLibSourcelist ( "ext" ) ; }
Source:
public void callSessionHandover ( com.android.ims.internal.ImsCallSession session , int srcAccessTech , int targetAccessTech , com.android.ims.ImsReasonInfo reasonInfo ) { }

Target:
public void callSessionHandover ( android.telephony.ims.ImsCallSession session , int srcAccessTech , int targetAccessTech , android.telephony.ims.ImsReasonInfo reasonInfo ) { }
Source:
public void testConstructor_EmptyAliases ( ) { try { new tests.api.java.nio.charset.CharsetTest.MockCharset ( "mockChar" , new java.lang.String [ ] { "" } ) ; } catch ( java.nio.charset.IllegalCharsetNameException e ) { } }

Target:
public void testConstructor_IllegalAliases_Initial ( ) { try { new tests.api.java.nio.charset.CharsetTest.MockCharset ( "mockChar" , new java.lang.String [ ] { "mock" , "-123" } ) ; fail ( ) ; } catch ( java.nio.charset.IllegalCharsetNameException e ) { } }
Source:
public void tearDown ( ) throws java.lang.Exception { logd ( "tearDown" ) ; mDc = null ; mDcc = null ; mDataConnectionTestHandler.quitSafely ( ) ; super . tearDown ( ) ; }

Target:
public void tearDown ( ) throws java.lang.Exception { logd ( "tearDown" ) ; mDc = null ; mDcc = null ; mDataConnectionTestHandler.quit ( ) ; super . tearDown ( ) ; }
Source:
public void sendStartListenerMessage ( int masId ) { if ( ( mSessionStatusHandler ) != null ) { android.os.Message msg = mSessionStatusHandler.obtainMessage ( com.android.bluetooth.map.BluetoothMapService.START_LISTENER , masId , 0 ) ; mSessionStatusHandler.sendMessageDelayed ( msg , 20 ) ; } }

Target:
private void sendConnectTimeoutMessage ( ) { if ( com.android.bluetooth.map.BluetoothMapService.DEBUG ) android.util.Log.d ( com.android.bluetooth.map.BluetoothMapService.TAG , "sendConnectTimeoutMessage()" ) ; if ( ( mSessionStatusHandler ) != null ) { android.os.Message msg = mSessionStatusHandler.obtainMessage ( com.android.bluetooth.map.BluetoothMapService.USER_TIMEOUT ) ; msg.sendToTarget ( ) ; } }
Source:
public final boolean isDefaultOrStaticInterfaceMethod ( ) { return ( ( classFile.getAccessFlags ( ) ) & ( com.android.dx.rop.code.AccessFlags.ACC_INTERFACE ) ) != 0 ; }

Target:
public final boolean isDefaultOrStaticInterfaceMethod ( ) { return ( ( ( classFile.getAccessFlags ( ) ) & ( com.android.dx.rop.code.AccessFlags.ACC_INTERFACE ) ) != 0 ) && ( ! ( getNat ( ) . isClassInit ( ) ) ) ; }
Source:
public static void copy ( java.io.File from , java.io.OutputStream to ) throws java.io.IOException { com.google.common.io.ByteStreams.copy ( com.google.common.io.Files.newInputStreamSupplier ( from ) , to ) ; }

Target:
public static void copy ( java.io.File from , java.io.OutputStream to ) throws java.io.IOException { com.google.common.io.Files.asByteSource ( from ) . copyTo ( to ) ; }
Source:
public void a_attachWithBadOptions ( ) throws java.lang.Exception { android.os.Debug.attachJvmtiAgent ( android.jvmti.attaching.cts.AttachingTest.sAgentFile , "b" ) ; }

Target:
public void a_attachWithBadOptions ( ) throws java.lang.Exception { android.os.Debug.attachJvmtiAgent ( agentString , "b" , classLoader ) ; }
Source:
private void copyBytes ( com.android.dx.util.ByteInput in , com.android.dx.util.ByteOutput out , int size ) { for ( int i = 0 ; i < size ; i ++ ) { out.writeByte ( in.readByte ( ) ) ; } }

Target:
private void transformArray ( com.android.dx.io.EncodedValueReader reader ) { int size = reader.readArray ( ) ; com.android.dx.util.Leb128Utils.writeUnsignedLeb128 ( out , size ) ; for ( int i = 0 ; i < size ; i ++ ) { transform ( reader ) ; } }
Source:
public void onCharacteristicWrite ( java.lang.String address , int status , int srvcType , int srvcInstId , android.os.ParcelUuid srvcUuid , int charInstId , android.os.ParcelUuid charUuid ) throws android.os.RemoteException { }

Target:
public void onCharacteristicWrite ( java.lang.String address , int status , int handle ) throws android.os.RemoteException { }
Source:
public void testDoubleSpliterator ( java.lang.String name , java.util.function.Supplier < java.util.Spliterator.OfDouble > supplier ) { org.openjdk.tests.java.util.stream.SpliteratorTestHelper.testDoubleSpliterator ( supplier ) ; }

Target:
public void testDoubleSpliterator ( java.lang.String name , java.util.function.Supplier < java.util.Spliterator.OfDouble > supplier ) { org.openjdk.testlib.java.util.stream.SpliteratorTestHelper.testDoubleSpliterator ( supplier ) ; }
Source:
public boolean reset ( ) { execute ( 'r' ) ; return ( mError ) == ( android.security.KeyStore.NO_ERROR ) ; }

Target:
public boolean reset ( ) { try { return ( mBinder.reset ( ) ) == ( android.security.KeyStore.NO_ERROR ) ; } catch ( android.os.RemoteException e ) { android.util.Log.w ( android.security.KeyStore.TAG , "Cannot connect to keystore" , e ) ; return false ; } }
Source:
public void testEscapeStringShouldPreserveWhitespace ( ) throws java.lang.Exception { assertEquals ( "\"at end \"" , com.android.ide.common.resources.ValueResourceParser.escapeResourceString ( "at end " ) ) ; assertEquals ( "\" at begin\"" , com.android.ide.common.resources.ValueResourceParser.escapeResourceString ( " at begin" ) ) ; }

Target:
public void testEscapeStringShouldPreserveWhitespace ( ) throws java.lang.Exception { assertEquals ( "\"at end \"" , com.android.ide.common.res2.ValueXmlHelper.escapeResourceString ( "at end " ) ) ; assertEquals ( "\" at begin\"" , com.android.ide.common.res2.ValueXmlHelper.escapeResourceString ( " at begin" ) ) ; }
Source:
public com.ibm.icu.impl.SimplePatternFormatter getByVariant ( java.lang.String variant ) { int idx = com.ibm.icu.text.QuantityFormatter.getPluralIndex ( variant ) ; com.ibm.icu.impl.SimplePatternFormatter template = templates [ ( idx < 0 ? 0 : idx ) ] ; return template == null ? templates [ 0 ] : template ; }

Target:
public com.ibm.icu.impl.SimplePatternFormatter getByVariant ( java.lang.CharSequence variant ) { int idx = com.ibm.icu.text.QuantityFormatter.getPluralIndex ( variant ) ; com.ibm.icu.impl.SimplePatternFormatter template = templates [ ( idx < 0 ? 0 : idx ) ] ; return template == null ? templates [ 0 ] : template ; }
Source:
public java.io.File getJarFile ( ) { return new java.io.File ( mBundleFolder , com.android.SdkConstants.FN_CLASSES_JAR ) ; }

Target:
public java.io.File getJarFile ( ) { return new java.io.File ( getJarsRootFolder ( ) , com.android.SdkConstants.FN_CLASSES_JAR ) ; }
Source:
public void tearDown ( ) throws java.lang.Exception { mDispatcher.quit ( ) ; mDispatcher.join ( ) ; }

Target:
public java.lang.Object answer ( org.mockito.invocation.InvocationOnMock invocationOnMock ) throws java.lang.Throwable { java.lang.Thread.sleep ( java.lang.Long.MAX_VALUE ) ; return null ; }
Source:
protected java.lang.String createMessage ( @ javax.annotation.Nonnull java.lang.String description ) { return description + " can not be created" ; }

Target:
protected java.lang.String createMessage ( @ javax.annotation.Nonnull java.lang.String description ) { java.lang.String message = description + " cannot be created" ; java.lang.Throwable cause = getCause ( ) ; if ( cause != null ) { message += ": " + ( cause.getMessage ( ) ) ; } return message ; }
Source:
protected com.android.dialer.main.MainActivityPeer getNewPeer ( ) { if ( com.android.dialer.configprovider.ConfigProviderBindings.get ( this ) . getBoolean ( "nui_peer_enabled" , false ) ) { return new com.android.dialer.main.impl.NewMainActivityPeer ( this ) ; } else { return new com.android.dialer.main.impl.OldMainActivityPeer ( this ) ; } }

Target:
protected com.android.dialer.main.MainActivityPeer getNewPeer ( ) { if ( com.android.dialer.calllog.config.CallLogConfigComponent.get ( this ) . callLogConfig ( ) . isNewPeerEnabled ( ) ) { return new com.android.dialer.main.impl.NewMainActivityPeer ( this ) ; } else { return new com.android.dialer.main.impl.OldMainActivityPeer ( this ) ; } }
Source:
public java.util.List < android.telephony.SubscriptionInfo > getSubInfoUsingSlotIdWithCheck ( int slotId , boolean needCheck , java.lang.String callingPackage ) { throw new java.lang.RuntimeException ( "not implemented" ) ; }

Target:
public java.util.List < android.telephony.SubscriptionInfo > getSubInfoUsingSlotIndexWithCheck ( int slotIndex , boolean needCheck , java.lang.String callingPackage ) { throw new java.lang.RuntimeException ( "not implemented" ) ; }
Source:
protected int computeHorizontalScrollRange ( ) { if ( mDrawHistory ) { return mHistoryWidth ; } else { return contentToView ( mContentWidth ) ; } }

Target:
protected int computeHorizontalScrollRange ( ) { if ( mDrawHistory ) { return mHistoryWidth ; } else { return ( ( int ) ( java.lang.Math.floor ( ( ( mContentWidth ) * ( mActualScale ) ) ) ) ) ; } }
Source:
private int [ ] getSupportedDeviceProperties ( ) { return new int [ ] { MtpConstants.DEVICE_PROPERTY_SYNCHRONIZATION_PARTNER , MtpConstants.DEVICE_PROPERTY_DEVICE_FRIENDLY_NAME , MtpConstants.DEVICE_PROPERTY_IMAGE_SIZE , MtpConstants.DEVICE_PROPERTY_BATTERY_LEVEL } ; }

Target:
private int [ ] getSupportedDeviceProperties ( ) { return new int [ ] { MtpConstants.DEVICE_PROPERTY_SYNCHRONIZATION_PARTNER , MtpConstants.DEVICE_PROPERTY_DEVICE_FRIENDLY_NAME , MtpConstants.DEVICE_PROPERTY_IMAGE_SIZE , MtpConstants.DEVICE_PROPERTY_BATTERY_LEVEL , MtpConstants.DEVICE_PROPERTY_PERCEIVED_DEVICE_TYPE } ; }
Source:
void setCurrentPreferredNetworkType ( ) ;

Target:
public void setDataProfile ( com.android.internal.telephony.dataconnection.DataProfile [ ] dps , android.os.Message result ) ;
Source:
public boolean isImsRegistered ( int subId ) { try { return getITelephony ( ) . isImsRegisteredForSubscriber ( subId ) ; } catch ( android.os.RemoteException ex ) { return false ; } catch ( java.lang.NullPointerException ex ) { return false ; } }

Target:
public boolean isVideoTelephonyAvailable ( ) { try { return getITelephony ( ) . isVideoTelephonyAvailable ( getSubId ( ) ) ; } catch ( android.os.RemoteException | java.lang.NullPointerException ex ) { return false ; } }
Source:
com.android.sched.util.location.Location getVDirLocation ( @ javax.annotation.Nonnull com.android.sched.vfs.BaseVDir parent , @ javax.annotation.Nonnull java.lang.String name ) { return vfs.getVDirLocation ( parent , name ) ; }

Target:
com.android.sched.vfs.DeflateFS.DeflateVDir createVDir ( @ javax.annotation.Nonnull com.android.sched.vfs.DeflateFS.DeflateVDir parent , @ javax.annotation.Nonnull java.lang.String name ) throws com.android.sched.util.file.CannotCreateFileException { return new com.android.sched.vfs.DeflateFS.DeflateVDir ( this , vfs.createVDir ( parent.getWrappedDir ( ) , name ) ) ; }
Source:
private void removeAllNodes ( @ javax.annotation.Nullable java.lang.Object key ) { for ( java.util.Iterator < V > i = new ValueForKeyIterator ( key ) ; i.hasNext ( ) ; ) { i.next ( ) ; i.remove ( ) ; } }

Target:
private void removeAllNodes ( @ javax.annotation.Nullable java.lang.Object key ) { com.google.common.collect.Iterators.clear ( new ValueForKeyIterator ( key ) ) ; }
Source:
public static com.android.bluetooth.sap.SapMessage newInstance ( com.android.bluetooth.sap.MsgHeader msg ) throws java.io.IOException { return new com.android.bluetooth.sap.SapMessage ( msg ) ; }

Target:
public static com.android.bluetooth.sap.SapMessage newInstance ( org.android.btsap.SapApi.MsgHeader msg ) throws java.io.IOException { return new com.android.bluetooth.sap.SapMessage ( msg ) ; }
Source:
public boolean containsValue ( @ javax.annotation.Nullable java.lang.Object value ) { return ( value != null ) && ( com.google.common.collect.Maps.containsValueImpl ( this , value ) ) ; }

Target:
public com.google.common.collect.ImmutableSet < V > get ( @ javax.annotation.Nullable java.lang.Object key ) { V outerValue = delegate.get ( key ) ; return outerValue == null ? null : com.google.common.collect.ImmutableSet.of ( outerValue ) ; }
Source:
public void testOnSetUpAdapterSingleInstance ( ) throws java.lang.Exception { java.lang.String output = "android.hardware.foo@1.1::IFoo/default" ; doReturn ( output ) . when ( mDevice ) . executeShellCommand ( java.lang.String.format ( LIST_HAL_CMD , TEST_HAL_PACKAGE ) ) ; mPreparer.setUp ( mDevice , mBuildInfo ) ; java.lang.String adapterCmd = java.lang.String.format ( "%s /data/nativetest64/%s %s %s %d" , SCRIPT_PATH , TEST_HAL_ADAPTER_BINARY , "IFoo" , "default" , THREAD_COUNT_DEFAULT ) ; verify ( mDevice , times ( 1 ) ) . executeShellCommand ( eq ( adapterCmd ) ) ; }

Target:
public void testOnSetUpAdapterFailed ( ) throws java.lang.Exception { java.io.File testAdapter = new java.io.File ( mTestDir , ( ( VTS_NATIVE_TEST_DIR ) + ( TEST_HAL_ADAPTER_BINARY ) ) ) ; testAdapter.createNewFile ( ) ; java.lang.String output = "android.hardware.foo@1.1::IFoo/default" ; doReturn ( output ) . when ( mDevice ) . executeShellCommand ( java.lang.String.format ( LIST_HAL_CMD , TEST_HAL_PACKAGE ) ) ; mCmdUtil.mCmdSuccess = false ; try { mPreparer.setUp ( mDevice , mBuildInfo ) ; } catch ( com.android.tradefed.targetprep.TargetSetupError e ) { org.junit.Assert.assertEquals ( "HAL adapter failed." , e.getMessage ( ) ) ; return ; } org.junit.Assert.fail ( ) ; }
Source:
public boolean isAnnotationPresent ( java.lang.Class < ? extends java.lang.annotation.Annotation > annotationType ) { if ( annotationType == null ) { throw new java.lang.NullPointerException ( "annotationType == null" ) ; } return isAnnotationPresentNative ( annotationType ) ; }

Target:
public < A extends java.lang.annotation.Annotation > A getAnnotation ( java.lang.Class < A > annotationType ) { if ( annotationType == null ) { throw new java.lang.NullPointerException ( "annotationType == null" ) ; } return libcore.reflect.AnnotationAccess.getDeclaredAnnotation ( this , annotationType ) ; }
Source:
private void gHASHBlock ( byte [ ] Y , byte [ ] b ) { org.bouncycastle.crypto.modes.GCMBlockCipher.xor ( Y , b ) ; multiplier.multiplyH ( Y ) ; }

Target:
private void gHASHPartial ( byte [ ] Y , byte [ ] b , int off , int len ) { org.bouncycastle.crypto.modes.gcm.GCMUtil.xor ( Y , b , off , len ) ; multiplier.multiplyH ( Y ) ; }
Source:
private static float weightIntegral ( long x ) { return x * ( ( x * 0.5F ) + ( com.android.server.display.AutomaticBrightnessController.WEIGHTING_INTERCEPT ) ) ; }

Target:
private float weightIntegral ( long x ) { return x * ( ( x * 0.5F ) + ( mWeightingIntercept ) ) ; }
Source:
public abstract com.android.jack.dx.io.instructions.DecodedInstruction withIndex ( int newIndex ) ;

Target:
public abstract com.android.jack.dx.io.instructions.DecodedInstruction withIndex ( int newFirstIndex , int newSecondIndex ) ;
Source:
private native void gattClientConfigureMTUNative ( int conn_id , int mtu ) ;

Target:
private native void gattClientConfigureMTUNative ( int connId , int mtu ) ;
Source:
protected byte [ ] engineDigest ( ) { byte [ ] result = new byte [ size ] ; org.conscrypt.NativeCrypto.EVP_DigestFinal ( getCtx ( ) , result , 0 ) ; ctx = 0 ; return result ; }

Target:
protected byte [ ] engineDigest ( ) { final byte [ ] result = new byte [ size ] ; org.conscrypt.NativeCrypto.EVP_DigestFinal ( ctx , result , 0 ) ; resetContext ( ) ; return result ; }
Source:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JLambda x ) { expression = new com.android.jack.ir.ast.JLambda ( x.getSourceInfo ( ) , x.getMethod ( ) , x.getType ( ) , x.needToCaptureInstance ( ) ) ; return false ; }

Target:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JLambda x ) { expression = new com.android.jack.ir.ast.JLambda ( x.getSourceInfo ( ) , x.getMethod ( ) , x.getType ( ) , x.needToCaptureInstance ( ) , x.getInterfaceBounds ( ) ) ; return false ; }
Source:
public void tearDown ( ) throws java.lang.Exception { mPackageStatusStorage.deleteDatabaseForTests ( ) ; }

Target:
public void tearDown ( ) throws java.lang.Exception { mPackageStatusStorage.deleteFileForTests ( ) ; }
Source:
private static java.security.KeyStore.PrivateKeyEntry getPrivateKey2 ( ) { if ( ( libcore.java.security.KeyStoreTest.PRIVATE_KEY_2 ) == null ) { libcore.java.security.KeyStoreTest.PRIVATE_KEY_2 = libcore.java.security.TestKeyStore.getClientCertificate ( ) . getPrivateKey ( "RSA" , "RSA" ) ; } return libcore.java.security.KeyStoreTest.PRIVATE_KEY_2 ; }

Target:
private static java.security.KeyStore.PrivateKeyEntry getPrivateKey2 ( ) { if ( ( libcore.java.security.KeyStoreTest.sPrivateKey2 ) == null ) { libcore.java.security.KeyStoreTest.sPrivateKey2 = libcore.java.security.TestKeyStore.getClientCertificate ( ) . getPrivateKey ( "RSA" , "RSA" ) ; } return libcore.java.security.KeyStoreTest.sPrivateKey2 ; }
Source:
public static < E > com.google.common.collect.SortedMultiset < E > unmodifiableSortedMultiset ( com.google.common.collect.SortedMultiset < E > sortedMultiset ) { return new com.google.common.collect.Multisets.UnmodifiableSortedMultiset < E > ( com.google.common.base.Preconditions.checkNotNull ( sortedMultiset ) ) ; }

Target:
public static < E > com.google.common.collect.SortedMultiset < E > unmodifiableSortedMultiset ( com.google.common.collect.SortedMultiset < E > sortedMultiset ) { return new com.google.common.collect.UnmodifiableSortedMultiset < E > ( com.google.common.base.Preconditions.checkNotNull ( sortedMultiset ) ) ; }
Source:
public void addAnnotate ( @ javax.annotation.Nonnull com.android.jack.transformations.request.TransformationStep toAdd ) { steps.add ( toAdd ) ; }

Target:
public void addAnnotate ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JAnnotationType toAdd , @ javax.annotation.Nonnull java.util.Collection < ? > collection ) { steps.add ( new com.android.jack.preprocessor.AddAnnotationStep ( rule , toAdd , collection ) ) ; }
Source:
private static native void closeImpl ( long addr ) ;

Target:
private static native long getNativeFinalizer ( ) ;
Source:
public void testWithRowFloat_columnIndexAndValueMatcher ( ) { assertTrue ( android.support.test.espresso.matcher.CursorMatchers.withRowFloat ( 4 , android.support.test.espresso.matcher.CursorMatchersTest.FLOAT_VALUE_MATCHER ) . matches ( cursor ) ) ; }

Target:
public void withRowFloat_columnIndexAndValueMatcher ( ) { org.junit.Assert.assertTrue ( android.support.test.espresso.matcher.CursorMatchers.withRowFloat ( 4 , android.support.test.espresso.matcher.CursorMatchersTest.FLOAT_VALUE_MATCHER ) . matches ( cursor ) ) ; }
Source:
public java.lang.annotation.Annotation [ ] getAnnotations ( ) { return super . getAnnotations ( ) ; }

Target:
public < T extends java.lang.annotation.Annotation > T getAnnotation ( java.lang.Class < T > annotationClass ) { if ( annotationClass == null ) { throw new java.lang.NullPointerException ( "annotationClass == null" ) ; } return getAnnotationNative ( annotationClass ) ; }
Source:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JAnnotationLiteral annotationLiteral ) { return visit ( ( ( com.android.jack.ir.ast.JExpression ) ( annotationLiteral ) ) ) ; }

Target:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JAnnotation annotation ) { return visit ( ( ( com.android.jack.ir.ast.JExpression ) ( annotation ) ) ) ; }
Source:
public void testPerformGlobalActionQuickSettings ( ) throws java.lang.Exception { assertTrue ( getInstrumentation ( ) . getUiAutomation ( ) . performGlobalAction ( AccessibilityService.GLOBAL_ACTION_QUICK_SETTINGS ) ) ; waitForIdle ( ) ; getInstrumentation ( ) . getUiAutomation ( ) . performGlobalAction ( AccessibilityService.GLOBAL_ACTION_BACK ) ; waitForIdle ( ) ; }

Target:
public void testPerformGlobalActionQuickSettings ( ) throws java.lang.Exception { assertTrue ( getInstrumentation ( ) . getUiAutomation ( ) . performGlobalAction ( AccessibilityService.GLOBAL_ACTION_QUICK_SETTINGS ) ) ; waitForIdle ( ) ; getInstrumentation ( ) . getUiAutomation ( ) . performGlobalAction ( AccessibilityService.GLOBAL_ACTION_HOME ) ; waitForIdle ( ) ; }
Source:
public android.net.wifi.hotspot2.pps.Credential.SimCredential createFromParcel ( android.os.Parcel in ) { android.net.wifi.hotspot2.pps.Credential.SimCredential simCredential = new android.net.wifi.hotspot2.pps.Credential.SimCredential ( ) ; simCredential.imsi = in.readString ( ) ; simCredential.eapType = in.readInt ( ) ; return simCredential ; }

Target:
public android.net.wifi.hotspot2.pps.Credential.CertificateCredential createFromParcel ( android.os.Parcel in ) { android.net.wifi.hotspot2.pps.Credential.CertificateCredential certCredential = new android.net.wifi.hotspot2.pps.Credential.CertificateCredential ( ) ; certCredential.setCertType ( in.readString ( ) ) ; certCredential.setCertSha256Fingerprint ( in.createByteArray ( ) ) ; return certCredential ; }
Source:
public static long AndIntLong ( ) { int lhs = 10 ; long rhs = 3 ; return lhs & rhs ; }

Target:
public static long AndLongInt ( ) { long lhs = Main.$inline$long ( 10L ) ; int rhs = Main.$inline$int ( 3 ) ; return lhs & rhs ; }
Source:
public boolean isAllowedToUseHiddenApi ( ) { boolean whitelisted = com.android.server.SystemConfig.getInstance ( ) . getHiddenApiWhitelistedApps ( ) . contains ( packageName ) ; return ( isSystemApp ( ) ) || ( whitelisted && ( ( isSystemApp ( ) ) || ( isUpdatedSystemApp ( ) ) ) ) ; }

Target:
private boolean isPackageWhitelistedForHiddenApis ( ) { return com.android.server.SystemConfig.getInstance ( ) . getHiddenApiWhitelistedApps ( ) . contains ( packageName ) ; }
Source:
public void addType ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface type ) { declaredTypes.add ( type ) ; }

Target:
public void addType ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface type ) { addItemWithName ( type ) ; declaredTypes.add ( type ) ; }
Source:
public static int UShr28And15 ( int arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( arg > > > 28 ) & 15 ; }

Target:
public static int $noinline$UShr28And15 ( int arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( arg > > > 28 ) & 15 ; }
Source:
public java.lang.String getDescription ( ) { return ( ( "type " + ( typeName ) ) + " in " ) + ( inputLibLoc.getDescription ( ) ) ; }

Target:
public java.lang.String getDescription ( ) { return ( ( ( inputLibLoc.getDescription ( ) ) + ", type '" ) + ( typeName ) ) + '\'' ; }
Source:
public long getInterApnDelay ( boolean failFastEnabled ) { return mRetryManager.getInterApnDelay ( ( failFastEnabled || ( isFastRetryReason ( ) ) ) ) ; }

Target:
long getRetryAfterDisconnectDelay ( ) { return mRetryManager.getRetryAfterDisconnectDelay ( ) ; }
Source:
public com.google.mockwebserver.MockResponse setBody ( java.lang.String body ) { try { return setBody ( body.getBytes ( com.google.mockwebserver.MockWebServer.ASCII ) ) ; } catch ( java.io.UnsupportedEncodingException e ) { throw new java.lang.AssertionError ( ) ; } }

Target:
public com.google.mockwebserver.MockResponse setBody ( java.lang.String body ) { try { return setBody ( body.getBytes ( "UTF-8" ) ) ; } catch ( java.io.UnsupportedEncodingException e ) { throw new java.lang.AssertionError ( ) ; } }
Source:
final void updateLruProcessLocked ( com.android.server.am.ProcessRecord app , boolean oomAdj , boolean updateActivityTime ) { ( mLruSeq ) ++ ; updateLruProcessInternalLocked ( app , oomAdj , updateActivityTime , 0 ) ; }

Target:
final void updateLruProcessLocked ( com.android.server.am.ProcessRecord app , boolean oomAdj ) { ( mLruSeq ) ++ ; updateLruProcessInternalLocked ( app , 0 ) ; if ( oomAdj ) { updateOomAdjLocked ( ) ; } }
Source:
public void handoverTo ( android.telecom.PhoneAccountHandle destAcct , int videoState , android.os.Bundle extras ) { }

Target:
public void handoverTo ( android.telecom.PhoneAccountHandle destAcct , int videoState , android.os.Bundle extras ) { requestHandover ( destAcct , videoState , extras , false ) ; }
Source:
private native boolean connectPanNative ( byte [ ] btAddress , int local_role , int remote_role ) ;

Target:
private native boolean connectPanNative ( byte [ ] btAddress , int localRole , int remoteRole ) ;
Source:
public long queryCapabilities ( ) throws android.os.RemoteException { return this . queryCapabilities ( ) . mCapabilities ; }

Target:
public void acknowledgeSmsReport ( int messageRef , int result ) { synchronized ( mLock ) { this . acknowledgeSmsReport ( messageRef , result ) ; } }
Source:
public void bootstrapMethodEntryAccept ( proguard.classfile.attribute.Clazz clazz , int bootstrapMethodIndex , proguard.classfile.attribute.BootstrapMethodInfoVisitor bootstrapMethodInfoVisitor ) { bootstrapMethodInfoVisitor.visitBootstrapMethodInfo ( clazz , bootstrapMethods [ bootstrapMethodIndex ] ) ; }

Target:
public void bootstrapMethodEntryAccept ( proguard.classfile.Clazz clazz , int bootstrapMethodIndex , proguard.classfile.attribute.BootstrapMethodInfoVisitor bootstrapMethodInfoVisitor ) { bootstrapMethodInfoVisitor.visitBootstrapMethodInfo ( clazz , bootstrapMethods [ bootstrapMethodIndex ] ) ; }
Source:
private void saveFilterPreferences ( ) { com.android.ddmuilib.logcat.LogCatFilterSettingsSerializer serializer = new com.android.ddmuilib.logcat.LogCatFilterSettingsSerializer ( ) ; java.lang.String e = serializer.encodeToPreferenceString ( mLogCatFilters.subList ( 1 , mLogCatFilters.size ( ) ) ) ; mPrefStore.setValue ( com.android.ddmuilib.logcat.LogCatPanel.LOGCAT_FILTERS_LIST , e ) ; }

Target:
private void saveFilterPreferences ( ) { com.android.ddmuilib.logcat.LogCatFilterSettingsSerializer serializer = new com.android.ddmuilib.logcat.LogCatFilterSettingsSerializer ( ) ; java.lang.String e = serializer.encodeToPreferenceString ( mLogCatFilters.subList ( 1 , mLogCatFilters.size ( ) ) , mLogCatFilterData ) ; mPrefStore.setValue ( com.android.ddmuilib.logcat.LogCatPanel.LOGCAT_FILTERS_LIST , e ) ; }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setTargetBytes ( com.android.vts.proto.ByteString value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 4 ; target_ = value ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setTarget ( java.lang.String value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 8 ; target_ = value ; onChanged ( ) ; return this ; }