auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
static int nativeHeight ( int nativeBitmap ) { android.graphics.Bitmap_Delegate delegate = android.graphics.Bitmap_Delegate.sManager.getDelegate ( nativeBitmap ) ; if ( delegate == null ) { return 0 ; } return delegate.mImage.getHeight ( ) ; }

Target:
static int nativeHeight ( long nativeBitmap ) { android.graphics.Bitmap_Delegate delegate = android.graphics.Bitmap_Delegate.sManager.getDelegate ( nativeBitmap ) ; if ( delegate == null ) { return 0 ; } return delegate.mImage.getHeight ( ) ; }
Source:
public static int $noinline$indexOf ( java.lang.String lhs , int ch , int fromIndex ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return lhs.indexOf ( ch , fromIndex ) ; }

Target:
public static int $noinline$indexOf ( java.lang.String lhs , int ch , int fromIndex ) { return lhs.indexOf ( ch , fromIndex ) ; }
Source:
public java.util.ArrayList < org.junit.runner.Description > getChildren ( ) { return fChildren ; }

Target:
public java.util.ArrayList < org.junit.runner.Description > getChildren ( ) { return new java.util.ArrayList < org.junit.runner.Description > ( fChildren ) ; }
Source:
public void copy1DRangeFrom ( int off , int count , float [ ] d ) { validateIsFloat32 ( ) ; copy1DRangeFromUnchecked ( off , count , d ) ; }

Target:
public void copy1DRangeFrom ( int off , int count , float [ ] d ) { validateIsFloat32 ( ) ; copy1DRangeFromUnchecked ( off , count , d , Element.DataType.FLOAT_32 , d.length ) ; }
Source:
public void createPartControl ( org.eclipse.swt.widgets.Composite parent ) { mPanel = new com.android.ddmuilib.EmulatorControlPanel ( com.android.ide.eclipse.ddms.DdmsPlugin.getImageLoader ( ) ) ; mPanel.createPanel ( parent ) ; setSelectionDependentPanel ( mPanel ) ; }

Target:
public void createPartControl ( org.eclipse.swt.widgets.Composite parent ) { mPanel = new com.android.ddmuilib.EmulatorControlPanel ( ) ; mPanel.createPanel ( parent ) ; setSelectionDependentPanel ( mPanel ) ; }
Source:
private java.lang.String toNetscapeHeaderString ( ) { java.lang.StringBuilder sb = new java.lang.StringBuilder ( ) ; sb.append ( ( ( ( getName ( ) ) + "=" ) + ( getValue ( ) ) ) ) ; return sb.toString ( ) ; }

Target:
private java.lang.String toNetscapeHeaderString ( ) { return ( ( getName ( ) ) + "=" ) + ( getValue ( ) ) ; }
Source:
public void enter ( ) { if ( ( mWifiConnectivityManager ) != null ) { mWifiConnectivityManager.setWifiEnabled ( true ) ; } mWifiMetrics.setWifiState ( WifiMetricsProto.WifiLog.WIFI_DISCONNECTED ) ; }

Target:
public void enter ( ) { mWifiConnectivityManager.setWifiEnabled ( true ) ; mWifiMetrics.setWifiState ( WifiMetricsProto.WifiLog.WIFI_DISCONNECTED ) ; }
Source:
public void swap ( ) { try { mConnectionService.swapConference ( mId ) ; } catch ( android.os.RemoteException e ) { } }

Target:
public void swap ( ) { try { mConnectionService.swapConference ( mId , null ) ; } catch ( android.os.RemoteException e ) { } }
Source:
public boolean isEmpty ( ) { return ( length ( ) ) == 0 ; }

Target:
public boolean isEmpty ( ) { return ( count ) == 0 ; }
Source:
static boolean containsButton ( android.view.View item , android.view.View button ) { return ( item.findViewById ( R.id.user_action_button ) ) == button ; }

Target:
static boolean containsButton ( android.view.View item , android.view.View button ) { return item == null ? false : ( item.findViewById ( R.id.user_action_button ) ) == button ; }
Source:
private void notifyVolumeChanged ( int volume ) { volume = convertToAudioStreamVolume ( volume ) ; mAudioManager.setStreamVolume ( AudioManager.STREAM_MUSIC , volume , ( ( android.media.AudioManager.FLAG_SHOW_UI ) | ( android.media.AudioManager.FLAG_BLUETOOTH_ABS_VOLUME ) ) ) ; }

Target:
private void notifyVolumeChanged ( int volume ) { mAudioManager.setStreamVolume ( AudioManager.STREAM_MUSIC , volume , ( ( android.media.AudioManager.FLAG_SHOW_UI ) | ( android.media.AudioManager.FLAG_BLUETOOTH_ABS_VOLUME ) ) ) ; }
Source:
public void testResOverlay ( ) { assertEquals ( "f2" , mResOverLay.getText ( ) ) ; assertEquals ( "f2" , mResOverLay1.getText ( ) ) ; }

Target:
public void testResOverlay ( ) { assertEquals ( "f2" , mResOverLay.getText ( ) . toString ( ) ) ; assertEquals ( "f2" , mResOverLay1.getText ( ) . toString ( ) ) ; }
Source:
public VT getValue ( ) { checkEntryStatus ( ) ; return ( ( VT ) ( enumMap.values [ ordinal ] ) ) ; }

Target:
public VT getValue ( ) { checkEntryStatus ( ) ; return enumMap.values [ ordinal ] ; }
Source:
public void waitForIdle ( ) { waitForIdle ( com.android.server.ConnectivityServiceTest.TIMEOUT_MS ) ; }

Target:
private void waitForIdle ( ) { waitForIdle ( com.android.server.ConnectivityServiceTest.TIMEOUT_MS ) ; }
Source:
public void checkExit ( int status ) { throw new com.android.tools.lint.MainTest.ExitException ( ) ; }

Target:
public void checkExit ( int status ) { throw new com.android.tools.lint.MainTest.ExitException ( status ) ; }
Source:
int getBondState ( android.bluetooth.BluetoothDevice device ) { enforceCallingOrSelfPermission ( com.android.bluetooth.btservice.AdapterService.BLUETOOTH_PERM , "Need BLUETOOTH permission" ) ; com.android.bluetooth.btservice.RemoteDevices.DeviceProperties deviceProp = mRemoteDevices.getDeviceProperties ( device ) ; if ( deviceProp == null ) { return android.bluetooth.BluetoothDevice.BOND_NONE ; } return deviceProp.getBondState ( ) ; }

Target:
public int getBondState ( android.bluetooth.BluetoothDevice device ) { enforceCallingOrSelfPermission ( com.android.bluetooth.btservice.AdapterService.BLUETOOTH_PERM , "Need BLUETOOTH permission" ) ; com.android.bluetooth.btservice.RemoteDevices.DeviceProperties deviceProp = mRemoteDevices.getDeviceProperties ( device ) ; if ( deviceProp == null ) { return android.bluetooth.BluetoothDevice.BOND_NONE ; } return deviceProp.getBondState ( ) ; }
Source:
public abstract void setup ( ) ;

Target:
public void setup ( ) { }
Source:
public static boolean hasRemoteService ( android.content.Context context ) { return ( com.android.phone.vvm.RemoteVvmTaskManager.getRemotePackage ( context ) ) != null ; }

Target:
public static boolean hasRemoteService ( android.content.Context context , int subId ) { return ( com.android.phone.vvm.RemoteVvmTaskManager.getRemotePackage ( context , subId ) ) != null ; }
Source:
private static native boolean isBoundaryImpl ( int address , int offset ) ;

Target:
private static native boolean isBoundaryImpl ( int address , java.lang.String text , int offset ) ;
Source:
public void TestCoverage ( ) { android.icu.util.Currency usd = android.icu.util.Currency.getInstance ( "USD" ) ; if ( ! ( noData ( ) ) ) { assertEquals ( "USD.getSymbol()" , "$" , usd.getSymbol ( ) ) ; } }

Target:
public void TestCoverage ( ) { android.icu.util.Currency usd = android.icu.util.Currency.getInstance ( "USD" ) ; assertEquals ( "USD.getSymbol()" , "$" , usd.getSymbol ( ) ) ; }
Source:
public void writeToParcel ( android.os.Parcel dest , int flags ) { dest.writeInt ( this . mRfcommChannelNumber ) ; dest.writeInt ( this . mProfileVersion ) ; dest.writeString ( this . mServiceName ) ; }

Target:
public void writeToParcel ( android.os.Parcel dest , int flags ) { dest.writeInt ( mRfcommChannelNumber ) ; dest.writeInt ( mProfileVersion ) ; dest.writeString ( mServiceName ) ; }
Source:
private void onSelectNewUpdates ( boolean selectNew , boolean selectUpdates , boolean selectTop ) { mImpl.onSelectNewUpdates ( selectNew , selectUpdates , selectTop ) ; syncViewerSelection ( ) ; updateButtonsState ( ) ; }

Target:
private void onSelectNewUpdates ( boolean selectNew , boolean selectUpdates , boolean selectTop ) { mImpl.onSelectNewUpdates ( selectNew , selectUpdates , selectTop ) ; }
Source:
public boolean isAbortOnError ( ) { return this . abortOnError ; }

Target:
public boolean isAbortOnError ( ) { return abortOnError ; }
Source:
native boolean blendTest ( int X , int Y , byte [ ] input , byte [ ] output , int optionFlag ) ;

Target:
native boolean blendTest ( java.lang.String path , int X , int Y , byte [ ] input , byte [ ] output , int optionFlag ) ;
Source:
public void testCheckStructure003 ( ) throws java.lang.Exception { com.android.jill.JillTestTools.checkStructureWithJill ( null , null , com.android.jill.JillTestTools.getJackTestsWithJackFolder ( "jarjar/test003" ) , false , new com.android.jack.JarJarRules ( com.android.jill.JillTestTools.getJackTestFolder ( "jarjar/test003" ) , "jarjar-rules.txt" ) , null ) ; }

Target:
public void testCheckStructure003 ( ) throws java.lang.Exception { com.android.jill.JillTestTools.checkStructureWithJill ( null , com.android.jill.JillTestTools.getJackTestsWithJackFolder ( "jarjar/test003" ) , false , new com.android.jack.JarJarRules ( com.android.jill.JillTestTools.getJackTestFolder ( "jarjar/test003" ) , "jarjar-rules.txt" ) , null ) ; }
Source:
public static final native android.os.IHwBinder getService ( java.lang.String iface , java.lang.String serviceName , boolean isTry ) throws android.os.RemoteException , java.util.NoSuchElementException ;

Target:
public static final native android.os.IHwBinder getService ( java.lang.String iface , java.lang.String serviceName ) throws android.os.RemoteException , java.util.NoSuchElementException ;
Source:
void putCharUnchecked ( int index , char value ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
abstract void putCharUnchecked ( int index , char value ) ;
Source:
static void initAtlas ( android.view.GraphicBuffer buffer , int [ ] map ) { android.view.GLES20Canvas.nInitAtlas ( buffer , map , map.length ) ; }

Target:
static void initAtlas ( android.view.GraphicBuffer buffer , long [ ] map ) { android.view.GLES20Canvas.nInitAtlas ( buffer , map , map.length ) ; }
Source:
private java.lang.Object get ( final int local ) { maxLocals = java.lang.Math.max ( maxLocals , local ) ; return local < ( locals.size ( ) ) ? locals.get ( local ) : org.objectweb.asm.Opcodes.TOP ; }

Target:
private java.lang.Object get ( final int local ) { maxLocals = java.lang.Math.max ( maxLocals , ( local + 1 ) ) ; return local < ( locals.size ( ) ) ? locals.get ( local ) : org.objectweb.asm.Opcodes.TOP ; }
Source:
public java.lang.String toString ( ) { java.lang.String deviceName = getDeviceName ( ) ; java.lang.String name = java.lang.String.format ( "%s#%s" , getClassName ( ) , getTestName ( ) ) ; if ( deviceName != null ) { name += java.lang.String.format ( " (%s)" , deviceName ) ; } return name ; }

Target:
public java.lang.String toString ( ) { return java.lang.String.format ( "%s#%s" , getClassName ( ) , getTestName ( ) ) ; }
Source:
public boolean setException ( java.lang.Throwable t ) { return com.google.common.cache.LocalCache.LoadingValueReference.setException ( futureValue , t ) ; }

Target:
public boolean setException ( java.lang.Throwable t ) { return futureValue.setException ( t ) ; }
Source:
public static java.util.Properties getProperties ( ) { if ( ( java.lang.System.systemProperties ) == null ) { java.lang.System.initSystemProperties ( ) ; } return java.lang.System.systemProperties ; }

Target:
public static java.util.Properties getProperties ( ) { return java.lang.System.systemProperties ; }
Source:
public java.lang.String toString ( ) { return java.lang.reflect.Constructor.sharedToString ( java.lang.reflect.Modifier.constructorModifiers ( ) , false , getParameterTypes ( ) , getExceptionTypes ( ) ) ; }

Target:
public java.lang.String toString ( ) { return sharedToString ( java.lang.reflect.Modifier.constructorModifiers ( ) , false , getParameterTypes ( ) , getExceptionTypes ( ) ) ; }
Source:
private java.lang.String checkMountedPath ( final java.io.File file ) { final java.lang.String mountPath = mStorageManager.getMountedObbPath ( file.getPath ( ) ) ; android.os.storage.cts.StorageManagerTest.assertStartsWith ( ( "Path should be in " + ( android.os.storage.cts.StorageManagerTest.OBB_MOUNT_PREFIX ) ) , android.os.storage.cts.StorageManagerTest.OBB_MOUNT_PREFIX , mountPath ) ; return mountPath ; }

Target:
private java.lang.String checkMountedPath ( final java.lang.String path ) { final java.lang.String mountPath = mStorageManager.getMountedObbPath ( path ) ; android.os.storage.cts.StorageManagerTest.assertStartsWith ( ( "Path should be in " + ( android.os.storage.cts.StorageManagerTest.OBB_MOUNT_PREFIX ) ) , android.os.storage.cts.StorageManagerTest.OBB_MOUNT_PREFIX , mountPath ) ; return mountPath ; }
Source:
public void removeRegistrationListener ( int slotId , int featureType , int sessionId , com.android.ims.internal.IImsRegistrationListener listener ) throws android.os.RemoteException { }

Target:
public void removeRegistrationListener ( int slotId , int featureType , com.android.ims.internal.IImsRegistrationListener listener ) throws android.os.RemoteException { }
Source:
void silenceRingers ( ) { for ( com.android.server.telecom.Call call : mRingingCalls ) { call.silence ( ) ; } mRingingCalls.clear ( ) ; mRinger.stopRinging ( ) ; mRinger.stopCallWaiting ( ) ; mCallAudioModeStateMachine.sendMessageWithArgs ( CallAudioModeStateMachine.NO_MORE_RINGING_CALLS , makeArgsForModeStateMachine ( ) ) ; }

Target:
void silenceRingers ( ) { for ( com.android.server.telecom.Call call : mRingingCalls ) { call.silence ( ) ; } mRinger.stopRinging ( ) ; mRinger.stopCallWaiting ( ) ; }
Source:
public final java.net.URL getLocation ( ) { return null ; }

Target:
public final java.net.URL getLocation ( ) { return this . location ; }
Source:
public void testLaunchToSideSingleTask ( ) throws java.lang.Exception { if ( ! ( supportsMultiWindowMode ( ) ) ) { com.android.tradefed.log.LogUtil.CLog.logAndDisplay ( LogLevel.INFO , "Skipping test: no multi-window support" ) ; return ; } launchTargetToSide ( android.server.cts.ActivityManagerDockedStackTests.SINGLE_TASK_ACTIVITY_NAME , false ) ; }

Target:
public void testLaunchToSideSingleTask ( ) throws java.lang.Exception { launchTargetToSide ( android.server.cts.ActivityManagerDockedStackTests.SINGLE_TASK_ACTIVITY_NAME , false ) ; }
Source:
public void endVisit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JSession x ) { endVisit ( ( ( com.android.jack.ir.ast.JNode ) ( x ) ) ) ; }

Target:
public void endVisit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JSession session ) { endVisit ( ( ( com.android.jack.ir.ast.JNode ) ( session ) ) ) ; }
Source:
vogar.target.Runner newRunner ( vogar.monitor.TargetMonitor monitor , java.lang.String actionName , java.lang.String qualification , java.lang.Class < ? > klass , java.util.concurrent.atomic.AtomicReference < java.lang.String > skipPastReference , vogar.target.TestEnvironment testEnvironment , int timeoutSeconds , boolean profile ) ;

Target:
vogar.target.Runner newRunner ( vogar.monitor.TargetMonitor monitor , java.lang.String qualification , java.lang.Class < ? > klass , java.util.concurrent.atomic.AtomicReference < java.lang.String > skipPastReference , vogar.target.TestEnvironment testEnvironment , int timeoutSeconds , boolean profile ) ;
Source:
public void onResume ( ) { super . onResume ( ) ; com.android.music.MusicUtils.setSpinnerState ( this ) ; com.android.music.MusicUtils.updateNowPlaying ( this ) ; }

Target:
public void onResume ( ) { super . onResume ( ) ; }
Source:
public void onSuccess ( ) { try { mServiceInterface.connectionServiceFocusGained ( android.telecom.Log.getExternalSession ( ) ) ; } catch ( android.os.RemoteException ignored ) { android.telecom.Log.d ( this , "failed to inform the focus gained event" ) ; } }

Target:
public void connectionServiceFocusGained ( ) { }
Source:
public void testEC_GROUP ( ) throws java.lang.Exception { check_EC_GROUP ( NativeCrypto.EC_CURVE_GFP , "prime256v1" , "FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFF" , "FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFC" , "5ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b" , "6B17D1F2E12C4247F8BCE6E563A440F277037D812DEB33A0F4A13945D898C296" , "4FE342E2FE1A7F9B8EE7EB4A7C0F9E162BCE33576B315ECECBB6406837BF51F5" , "FFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551" , 1L ) ; }

Target:
public void testEC_GROUP ( ) throws java.lang.Exception { check_EC_GROUP ( "prime256v1" , "FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFF" , "FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFC" , "5ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b" , "6B17D1F2E12C4247F8BCE6E563A440F277037D812DEB33A0F4A13945D898C296" , "4FE342E2FE1A7F9B8EE7EB4A7C0F9E162BCE33576B315ECECBB6406837BF51F5" , "FFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551" , 1L ) ; }
Source:
public void testExtractDecodeEditEncodeMuxAudio ( ) throws java.lang.Throwable { setSize ( 1280 , 720 ) ; setSource ( R.raw.video_480x360_mp4_h264_500kbps_30fps_aac_stereo_128kbps_44100hz ) ; setCopyAudio ( ) ; setVerifyAudioFormat ( ) ; android.media.cts.ExtractDecodeEditEncodeMuxTest.TestWrapper.runTest ( this ) ; }

Target:
public void testExtractDecodeEditEncodeMuxAudio ( ) throws java.lang.Throwable { if ( ! ( setSize ( 1280 , 720 ) ) ) return ; setSource ( R.raw.video_480x360_mp4_h264_500kbps_30fps_aac_stereo_128kbps_44100hz ) ; setCopyAudio ( ) ; setVerifyAudioFormat ( ) ; android.media.cts.ExtractDecodeEditEncodeMuxTest.TestWrapper.runTest ( this ) ; }
Source:
public boolean hasIccCard ( ) { boolean isIccPresent ; if ( mPhone.getPhoneName ( ) . equals ( "GSM" ) ) { return mIccCardStatus.getCardState ( ) . isCardPresent ( ) ; } else { return false ; } }

Target:
public boolean hasIccCard ( ) { if ( ( mIccCardStatus ) == null ) { return false ; } else { return mIccCardStatus.getCardState ( ) . isCardPresent ( ) ; } }
Source:
private void writeClassHeader ( java.lang.String inFile , java.lang.String groupName , com.sun.tools.corba.se.logutil.IndentingPrintWriter pw ) { if ( groupName.equals ( "OMG" ) ) pw.println ( "// Log wrapper class for standard exceptions" ) ; else pw.printMsg ( "// Log wrapper class for Sun private system exceptions in group @" , groupName ) ; pw.println ( "//" ) ; pw.printMsg ( "// Generated by MC.java version @, DO NOT EDIT BY HAND!" , com.sun.tools.corba.se.logutil.MC.VERSION ) ; pw.printMsg ( "// Generated from input file @ on @" , inFile , new java.util.Date ( ) ) ; pw.println ( ) ; }

Target:
private void writeClassHeader ( java.lang.String inFile , java.lang.String groupName , com.sun.tools.corba.se.logutil.IndentingPrintWriter pw ) { if ( groupName.equals ( "OMG" ) ) pw.println ( "// Log wrapper class for standard exceptions" ) ; else pw.printMsg ( "// Log wrapper class for Sun private system exceptions in group @" , groupName ) ; pw.println ( "//" ) ; pw.printMsg ( "// Generated by MC.java version @, DO NOT EDIT BY HAND!" , com.sun.tools.corba.se.logutil.MC.VERSION ) ; pw.println ( ) ; }
Source:
synchronized void nAllocationData1D ( int id , int off , int mip , int count , float [ ] d , int sizeBytes ) { validate ( ) ; rsnAllocationData1D ( mContext , id , off , mip , count , d , sizeBytes ) ; }

Target:
synchronized void nAllocationData1D ( long id , int off , int mip , int count , float [ ] d , int sizeBytes ) { validate ( ) ; rsnAllocationData1D ( mContext , id , off , mip , count , d , sizeBytes ) ; }
Source:
public static void test ( ) { java.lang.Object [ ] array = new java.lang.Object [ 1 ] ; java.lang.Object nonNull = array [ 0 ] ; nonNull.getClass ( ) ; array [ 0 ] = nonNull ; }

Target:
public static void test ( ) { java.lang.Object [ ] array = new java.lang.Object [ 2 ] ; java.lang.Object nonNull = array [ 0 ] ; nonNull.getClass ( ) ; array [ 1 ] = nonNull ; }
Source:
public void deinit ( ) { mInitialized = false ; unregisterObserver ( ) ; mSmsBroadcastReceiver.unregister ( ) ; unRegisterPhoneServiceStateListener ( ) ; failPendingMessages ( ) ; removeDeletedMessages ( ) ; }

Target:
public void deinit ( ) { mInitialized = false ; unregisterObserver ( ) ; if ( ( mSmsBroadcastReceiver ) != null ) { mSmsBroadcastReceiver.unregister ( ) ; } unRegisterPhoneServiceStateListener ( ) ; failPendingMessages ( ) ; removeDeletedMessages ( ) ; }
Source:
public int initialize ( android.telephony.mbms.MbmsStreamingManagerCallback listener , int subscriptionId ) throws android.os.RemoteException { return 0 ; }

Target:
public int initialize ( android.telephony.mbms.MbmsStreamingManagerCallback callback , int subscriptionId ) throws android.os.RemoteException { return 0 ; }
Source:
public void run ( ) { synchronized ( this ) { loadImage ( ) ; selectedNode = model.getSelected ( ) ; } }

Target:
public void run ( ) { synchronized ( this ) { loadImage ( ) ; } }
Source:
public abstract void ignore ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Context context , @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Issue issue , @ com.android.annotations.Nullable com.android.tools.lint.detector.api.Location location , @ com.android.annotations.NonNull java.lang.String message , @ com.android.annotations.Nullable java.lang.Object data ) ;

Target:
public abstract void ignore ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Context context , @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Issue issue , @ com.android.annotations.Nullable com.android.tools.lint.detector.api.Location location , @ com.android.annotations.NonNull java.lang.String message ) ;
Source:
public void onReceive ( android.content.Context context , android.content.Intent intent ) { boolean oldState = mIsDevicePlugged ; mIsDevicePlugged = ( intent.getIntExtra ( BatteryManager.EXTRA_PLUGGED , 0 ) ) != 0 ; if ( ( mIsDevicePlugged ) != oldState ) { updateScreenState ( ) ; } }

Target:
public void onReceive ( android.content.Context context , android.content.Intent intent ) { boolean oldState = mIsDevicePlugged ; mIsDevicePlugged = ( intent.getIntExtra ( BatteryManager.EXTRA_PLUGGED , 0 ) ) != 0 ; if ( ( mIsDevicePlugged ) != oldState ) { updateScreenState ( false ) ; } }
Source:
static void printUnsupportedFlag ( java.lang.String flag ) { assert flag != null ; com.android.jack.shrob.proguard.GrammarActions.logger.log ( java.util.logging.Level.WARNING , "Proguard flag is not supported: {0}" , flag ) ; }

Target:
static void printUnsupportedFlag ( @ java.lang.SuppressWarnings ( value = "unused" ) java.lang.String flag ) { }
Source:
public final java.lang.Iterable < V > getChildren ( ) { return children ; }

Target:
public final java.util.List < V > getChildren ( ) { return new java.util.ArrayList < > ( children ) ; }
Source:
private void logEvent ( int probeType , int errorCode ) { int eventType = probeType | ( errorCode & 255 ) ; mMetricsLog.log ( new android.net.metrics.IpReachabilityEvent ( mInterfaceName , eventType ) ) ; }

Target:
private void logEvent ( int probeType , int errorCode ) { int eventType = probeType | ( errorCode & 255 ) ; mMetricsLog.log ( mInterfaceName , new android.net.metrics.IpReachabilityEvent ( eventType ) ) ; }
Source:
private java.lang.String getHostname ( ) { return peerHostname ; }

Target:
public java.lang.String getHostname ( ) { return peerHostname ; }
Source:
private void transitionFromStartupToIdle ( ) { assertEquals ( "StartupState" , getCurrentState ( ) . getName ( ) ) ; mGsmInboundSmsHandler.sendMessage ( InboundSmsHandler.EVENT_START_ACCEPTING_SMS ) ; com.android.internal.telephony.TelephonyTestUtils.waitForMs ( 50 ) ; assertEquals ( "IdleState" , getCurrentState ( ) . getName ( ) ) ; }

Target:
private void transitionFromStartupToIdle ( ) { org.junit.Assert.assertEquals ( "StartupState" , getCurrentState ( ) . getName ( ) ) ; mGsmInboundSmsHandler.sendMessage ( InboundSmsHandler.EVENT_START_ACCEPTING_SMS ) ; com.android.internal.telephony.TelephonyTestUtils.waitForMs ( 50 ) ; org.junit.Assert.assertEquals ( "IdleState" , getCurrentState ( ) . getName ( ) ) ; }
Source:
public void onError ( int errorCode , java.lang.String message ) { }

Target:
public void error ( int errorCode , java.lang.String message ) throws android.os.RemoteException { }
Source:
static int native_getStrokeCap ( int native_object ) { android.graphics.Paint_Delegate delegate = android.graphics.Paint_Delegate.sManager.getDelegate ( native_object ) ; if ( delegate == null ) { return 0 ; } return delegate.mCap ; }

Target:
static long native_getStrokeCap ( long native_object ) { android.graphics.Paint_Delegate delegate = android.graphics.Paint_Delegate.sManager.getDelegate ( native_object ) ; if ( delegate == null ) { return 0 ; } return delegate.mCap ; }
Source:
private java.lang.String stringify ( java.lang.Throwable error ) { return java.util.Arrays.toString ( error.getStackTrace ( ) ) . replaceAll ( "\n" , " " ) ; }

Target:
public static java.lang.String stringify ( java.lang.Throwable error ) { return java.util.Arrays.toString ( error.getStackTrace ( ) ) . replaceAll ( "\n" , " " ) ; }
Source:
public void execute ( @ com.android.annotations.NonNull java.util.List < java.lang.String > arguments , java.lang.String ... tasks ) { execute ( arguments , false , tasks ) ; }

Target:
public void execute ( @ com.android.annotations.NonNull java.util.List < java.lang.String > arguments , java.lang.String ... tasks ) { execute ( arguments , false , false , tasks ) ; }
Source:
public T next ( ) { if ( ! ( hasNext ( ) ) ) { throw new java.util.NoSuchElementException ( ) ; } try { return iterator.next ( ) ; } finally { atStart = false ; } }

Target:
public T next ( ) { T result = iterator.next ( ) ; atStart = false ; return result ; }
Source:
public com.android.bluetooth.pbapclient.PbapClientConnectionHandler.Builder setContext ( android.content.Context context ) { this . context = context ; return this ; }

Target:
public com.android.bluetooth.pbapclient.PbapClientConnectionHandler.Builder setContext ( android.content.Context context ) { this . mContext = context ; return this ; }
Source:
public void startAdvertisingSet ( android.bluetooth.le.AdvertisingSetParameters parameters , android.bluetooth.le.AdvertiseData advertiseData , android.bluetooth.le.AdvertiseData scanResponse , android.bluetooth.le.PeriodicAdvertisingParameters periodicParameters , android.bluetooth.le.AdvertiseData periodicData , android.bluetooth.le.AdvertisingSetCallback callback , android.os.Handler handler ) { startAdvertisingSet ( parameters , advertiseData , scanResponse , periodicParameters , periodicData , 0 , callback , handler ) ; }

Target:
public void startAdvertisingSet ( android.bluetooth.le.AdvertisingSetParameters parameters , android.bluetooth.le.AdvertiseData advertiseData , android.bluetooth.le.AdvertiseData scanResponse , android.bluetooth.le.PeriodicAdvertisingParameters periodicParameters , android.bluetooth.le.AdvertiseData periodicData , android.bluetooth.le.AdvertisingSetCallback callback , android.os.Handler handler ) { startAdvertisingSet ( parameters , advertiseData , scanResponse , periodicParameters , periodicData , 0 , 0 , callback , handler ) ; }
Source:
public boolean hitEnd ( ) { return java.util.regex.Matcher.hitEndImpl ( address ) ; }

Target:
public boolean hitEnd ( ) { synchronized ( this ) { return java.util.regex.Matcher.hitEndImpl ( address ) ; } }
Source:
final char getChar ( int offset ) { return sun.nio.ch.NativeObject.unsafe.getChar$ ( ( offset + ( address ) ) ) ; }

Target:
final char getChar ( int offset ) { return sun.nio.ch.NativeObject.unsafe.getChar ( ( offset + ( address ) ) ) ; }
Source:
protected void engineInitVerify ( java.security.PublicKey publicKey ) throws java.security.InvalidKeyException { initInternal ( org.conscrypt.OpenSSLKey.fromPublicKey ( publicKey ) ) ; signing = false ; }

Target:
protected void engineInitVerify ( java.security.PublicKey publicKey ) throws java.security.InvalidKeyException { initInternal ( org.conscrypt.OpenSSLKey.fromPublicKey ( publicKey ) , false ) ; }
Source:
public void testInitialize_nullInterfaceFailure ( ) throws java.lang.Exception { executeAndValidateInitializationSequence ( false , false , true ) ; }

Target:
public void testInitialize_nullInterfaceFailure ( ) throws java.lang.Exception { executeAndValidateInitializationSequence ( false , false , true , false ) ; }
Source:
com.android.build.gradle.internal.dsl.SigningConfig getSigningConfig ( ) { return ( ( com.android.build.gradle.internal.dsl.SigningConfig ) ( super . signingConfig ) ) ; }

Target:
public com.android.build.gradle.internal.dsl.SigningConfig getSigningConfig ( ) { return ( ( com.android.build.gradle.internal.dsl.SigningConfig ) ( super . getSigningConfig ( ) ) ) ; }
Source:
public java.lang.String getPackageName ( ) { return variantConfiguration.getApplicationId ( ) ; }

Target:
public java.lang.String getApplicationId ( ) { return variantConfiguration.getApplicationId ( ) ; }
Source:
public void onReceive ( android.content.Context context , android.content.Intent intent ) { java.lang.String action = intent.getAction ( ) ; if ( action.equals ( ImsManager.ACTION_IMS_REGISTRATION_ERROR ) ) { setResultCode ( Activity.RESULT_CANCELED ) ; mSwitch.setChecked ( false ) ; showAlert ( intent ) ; } }

Target:
public void onReceive ( android.content.Context context , android.content.Intent intent ) { java.lang.String action = intent.getAction ( ) ; if ( action.equals ( ImsManager.ACTION_IMS_REGISTRATION_ERROR ) ) { setResultCode ( Activity.RESULT_CANCELED ) ; showAlert ( intent ) ; } }
Source:
public static < T > org.hamcrest.Matcher < T > anything ( ) { return new org.hamcrest.core.IsAnything < T > ( ) ; }

Target:
public static org.hamcrest.Matcher < java.lang.Object > anything ( ) { return new org.hamcrest.core.IsAnything < java.lang.Object > ( ) ; }
Source:
native int rsnScriptFieldIDCreate ( int con , int sid , int slot ) ;

Target:
native long rsnScriptFieldIDCreate ( long con , long sid , int slot ) ;
Source:
public void setMergeResourceOutputDir ( @ com.android.annotations.Nullable java.io.File mergeResourceOutputDir ) { this . mergeResourceOutputDir = mergeResourceOutputDir ; }

Target:
void setMergeResourceOutputDir ( @ com.android.annotations.Nullable java.io.File mergeResourceOutputDir ) ;
Source:
public int beforeHandshake ( int context ) throws javax.net.ssl.SSLException { org.apache.harmony.xnet.provider.jsse.NativeCrypto.SSL_CTX_enable_npn ( context ) ; return super . beforeHandshake ( context ) ; }

Target:
public long beforeHandshake ( long context ) throws javax.net.ssl.SSLException { org.apache.harmony.xnet.provider.jsse.NativeCrypto.SSL_CTX_enable_npn ( context ) ; return super . beforeHandshake ( context ) ; }
Source:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JField x ) { printAnnotationLiterals ( x.getAnnotations ( ) ) ; print ( com.android.jack.ir.ast.JModifier.getStringFieldModifier ( x.getModifier ( ) ) ) ; printType ( x ) ; space ( ) ; printName ( x ) ; return false ; }

Target:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JField x ) { print ( com.android.jack.ir.ast.JModifier.getStringFieldModifier ( x.getModifier ( ) ) ) ; printType ( x ) ; space ( ) ; printName ( x ) ; return false ; }
Source:
java.io.OutputStream openWrite ( @ javax.annotation.Nonnull com.android.sched.vfs.CaseInsensitiveFS.CaseInsensitiveVFile file , boolean append ) throws com.android.sched.util.file.WrongPermissionException { assert ! ( isClosed ( ) ) ; return file.getEncodedFile ( ) . getOutputStream ( append ) ; }

Target:
java.io.OutputStream openWrite ( @ javax.annotation.Nonnull com.android.sched.vfs.CaseInsensitiveFS.CaseInsensitiveVFile file , boolean append ) throws com.android.sched.util.file.WrongPermissionException { return file.getEncodedFile ( ) . getOutputStream ( append ) ; }
Source:
synchronized void nAllocationData1D ( int id , int off , int mip , int count , byte [ ] d , int sizeBytes ) { validate ( ) ; rsnAllocationData1D ( mContext , id , off , mip , count , d , sizeBytes ) ; }

Target:
synchronized void nAllocationData1D ( long id , int off , int mip , int count , int [ ] d , int sizeBytes ) { validate ( ) ; rsnAllocationData1D ( mContext , id , off , mip , count , d , sizeBytes ) ; }
Source:
static void native_addPath ( int nPath , int src , int matrix ) { android.graphics.Matrix_Delegate matrixDelegate = android.graphics.Matrix_Delegate.getDelegate ( matrix ) ; if ( matrixDelegate == null ) { return ; } android.graphics.Path_Delegate.addPath ( nPath , src , matrixDelegate.getAffineTransform ( ) ) ; }

Target:
static void native_addPath ( long nPath , int src , long matrix ) { android.graphics.Matrix_Delegate matrixDelegate = android.graphics.Matrix_Delegate.getDelegate ( matrix ) ; if ( matrixDelegate == null ) { return ; } android.graphics.Path_Delegate.addPath ( nPath , src , matrixDelegate.getAffineTransform ( ) ) ; }
Source:
public void setCacheMode ( int mode ) { throw new android.webkit.MustOverrideException ( ) ; }

Target:
public abstract void setCacheMode ( int mode ) ;
Source:
synchronized void nElementGetSubElements ( int id , int [ ] IDs , java.lang.String [ ] names , int [ ] arraySizes ) { validate ( ) ; rsnElementGetSubElements ( mContext , id , IDs , names , arraySizes ) ; }

Target:
synchronized void nElementGetSubElements ( long id , int [ ] IDs , java.lang.String [ ] names , int [ ] arraySizes ) { validate ( ) ; rsnElementGetSubElements ( mContext , id , IDs , names , arraySizes ) ; }
Source:
void libToLib ( @ javax.annotation.Nonnull java.io.File [ ] in , @ javax.annotation.Nonnull java.io.File out , boolean zipFiles ) throws java.lang.Exception ;

Target:
void libToLib ( @ javax.annotation.Nonnull java.util.List < java.io.File > in , @ javax.annotation.Nonnull java.io.File out , boolean zipFiles ) throws java.lang.Exception ;
Source:
public com.android.server.wifi.SupplicantStateTracker makeSupplicantStateTracker ( android.content.Context context , com.android.server.wifi.WifiConfigManager configManager , android.os.Handler handler ) { return new com.android.server.wifi.SupplicantStateTracker ( context , configManager , handler ) ; }

Target:
public com.android.server.wifi.SupplicantStateTracker makeSupplicantStateTracker ( android.content.Context context , com.android.server.wifi.WifiConfigManager configManager , android.os.Handler handler ) { return new com.android.server.wifi.SupplicantStateTracker ( context , configManager , this , handler ) ; }
Source:
boolean run ( vogar.target.Profiler profiler ) ;

Target:
boolean run ( ) ;
Source:
public void testParsedResourcesByCount ( ) throws java.lang.Exception { java.util.List < com.android.ide.common.res2.ResourceItem > resources = com.android.ide.common.res2.ValueResourceParser2Test.getParsedResources ( ) ; assertEquals ( 18 , resources.size ( ) ) ; }

Target:
public void testParsedResourcesByCount ( ) throws java.lang.Exception { java.util.List < com.android.ide.common.res2.ResourceItem > resources = com.android.ide.common.res2.ValueResourceParser2Test.getParsedResources ( ) ; assertEquals ( 20 , resources.size ( ) ) ; }
Source:
protected void visitPrimitive ( int argAndType , int type , int arg , int size ) { for ( int i = 0 ; i < size ; i ++ ) { in.readByte ( ) ; } }

Target:
protected void visitPrimitive ( int type , int arg , int size ) { for ( int i = 0 ; i < size ; i ++ ) { in.readByte ( ) ; } }
Source:
public void addObj ( android.renderscript.BaseObj obj ) { if ( obj != null ) { addI32 ( obj.getID ( null ) ) ; } else { addI32 ( 0 ) ; } }

Target:
public void addObj ( android.renderscript.BaseObj obj ) { if ( obj != null ) { addI32 ( ( ( int ) ( obj.getID ( null ) ) ) ) ; } else { addI32 ( 0 ) ; } }
Source:
protected void handleRPCConnection ( java.net.Socket sock , java.lang.Integer UID , java.io.BufferedReader reader , java.io.PrintWriter writer ) throws java.lang.Exception { }

Target:
protected void handleRPCConnection ( java.net.Socket sock , java.lang.Integer uid , java.io.BufferedReader reader , java.io.PrintWriter writer ) throws java.lang.Exception { }
Source:
public java.lang.String getNfcWpsConfigurationToken ( int netId ) { if ( com.android.server.wifi.WifiNative.HIDL_SUP_ENABLE ) { return mSupplicantStaIfaceHal.getCurrentNetworkWpsNfcConfigurationToken ( ) ; } else { return doStringCommand ( ( "WPS_NFC_CONFIG_TOKEN WPS " + netId ) ) ; } }

Target:
public java.lang.String getNfcWpsConfigurationToken ( int netId ) { return mSupplicantStaIfaceHal.getCurrentNetworkWpsNfcConfigurationToken ( ) ; }
Source:
public void tearDown ( ) throws java.lang.Exception { mComponentContextFixture = null ; mMockitoHelper.tearDown ( ) ; com.android.server.telecom.Log.setTag ( com.android.server.telecom.Log.TAG ) ; }

Target:
public void tearDown ( ) throws java.lang.Exception { mComponentContextFixture = null ; mMockitoHelper.tearDown ( ) ; }
Source:
public void sendSetStatusHints ( java.lang.String id ) throws java.lang.Exception { for ( com.android.internal.telecom.IConnectionServiceAdapter a : mConnectionServiceAdapters ) { a.setStatusHints ( id , mConnectionById.get ( id ) . statusHints ) ; } }

Target:
public void sendSetStatusHints ( java.lang.String id ) throws java.lang.Exception { for ( com.android.internal.telecom.IConnectionServiceAdapter a : mConnectionServiceAdapters ) { a.setStatusHints ( id , mConnectionById.get ( id ) . statusHints , null ) ; } }
Source:
public java.lang.String workerClassPath ( ) { return java.lang.System.getProperty ( "java.class.path" ) ; }

Target:
protected java.lang.String workerClassPath ( ) { return java.lang.System.getProperty ( "java.class.path" ) ; }
Source:
public static void promptToLogIn ( ) throws com.google.gct.login.InvalidThreadTypeException { com.google.gct.login.GoogleLogin.promptToLogIn ( null ) ; }

Target:
public static void promptToLogIn ( ) throws com.google.gct.login.InvalidThreadTypeException { com.google.gct.login.GoogleLogin.promptToLogIn ( null , null ) ; }
Source:
public static boolean isEmpty ( ) { return org.apache.harmony.security.fortress.Services.services.isEmpty ( ) ; }

Target:
public static boolean isEmpty ( ) { synchronized ( org.apache.harmony.security.fortress.Services.services ) { return org.apache.harmony.security.fortress.Services.services.isEmpty ( ) ; } }
Source:
private static java.math.BigInt newBigInt ( ) { java.math.BigInt bi = new java.math.BigInt ( ) ; bi.bignum = java.math.NativeBN.BN_new ( ) ; java.math.BigInt.Check ( ( ( bi.bignum ) != 0 ) ) ; return bi ; }

Target:
private static java.math.BigInt newBigInt ( ) { java.math.BigInt bi = new java.math.BigInt ( ) ; bi.bignum = java.math.NativeBN.BN_new ( ) ; return bi ; }
Source:
public boolean enableAdbRoot ( com.android.tradefed.device.ITestDevice mDevice ) throws com.android.tradefed.device.DeviceNotAvailableException { if ( mDevice.enableAdbRoot ( ) ) { return true ; } else { com.android.tradefed.log.LogUtil.CLog.w ( "\"enable-root\" set to false! Root is required to check if device is vulnerable." ) ; return false ; } }

Target:
public void enableAdbRoot ( com.android.tradefed.device.ITestDevice mDevice ) throws com.android.tradefed.device.DeviceNotAvailableException { mDevice.enableAdbRoot ( ) ; }
Source:
public static com.android.sdklib.repository.NoPreviewRevision parseRevision ( @ com.android.annotations.NonNull java.lang.String revision ) throws java.lang.NumberFormatException { com.android.sdklib.repository.FullRevision r = parseRevisionImpl ( revision , true , false ) ; return new com.android.sdklib.repository.NoPreviewRevision ( r.getMajor ( ) , r.getMinor ( ) , r.getMicro ( ) ) ; }

Target:
public static com.android.sdklib.repository.NoPreviewRevision parseRevision ( @ com.android.annotations.NonNull java.lang.String revision ) throws java.lang.NumberFormatException { com.android.sdklib.repository.FullRevision r = parseRevisionImpl ( revision , true , false , false ) ; return new com.android.sdklib.repository.NoPreviewRevision ( r.getMajor ( ) , r.getMinor ( ) , r.getMicro ( ) ) ; }
Source:
public com.android.jack.dx.rop.cst.CstString getName ( ) { return field.getNat ( ) . getName ( ) ; }

Target:
public com.android.jack.dx.rop.cst.CstString getName ( ) { return field.getName ( ) ; }
Source:
public void init ( org.bouncycastle.crypto.CipherParameters key ) throws java.lang.IllegalArgumentException { if ( ! ( key instanceof org.bouncycastle.crypto.params.RSAKeyParameters ) ) { throw new java.lang.IllegalArgumentException ( "RSA key required" ) ; } else { this . key = ( ( org.bouncycastle.crypto.params.RSAKeyParameters ) ( key ) ) ; } }

Target:
public void init ( org.bouncycastle.crypto.CipherParameters key ) throws java.lang.IllegalArgumentException { if ( ! ( key instanceof org.bouncycastle.crypto.params.RSAKeyParameters ) ) { throw new java.lang.IllegalArgumentException ( "RSA key required" ) ; } this . key = ( ( org.bouncycastle.crypto.params.RSAKeyParameters ) ( key ) ) ; }
Source:
public int cancelDownload ( java.lang.String appName , android.telephony.mbms.DownloadRequest downloadRequest ) throws android.os.RemoteException { return 0 ; }

Target:
public int cancelDownload ( android.telephony.mbms.DownloadRequest downloadRequest ) throws android.os.RemoteException { return 0 ; }
Source:
static void native_setTextLocale ( int native_object , java.lang.String locale ) { android.graphics.Paint_Delegate delegate = android.graphics.Paint_Delegate.sManager.getDelegate ( native_object ) ; if ( delegate == null ) { return ; } delegate.setTextLocale ( locale ) ; }

Target:
static void native_setTextLocale ( long native_object , java.lang.String locale ) { android.graphics.Paint_Delegate delegate = android.graphics.Paint_Delegate.sManager.getDelegate ( native_object ) ; if ( delegate == null ) { return ; } delegate.setTextLocale ( locale ) ; }
Source:
private void rescaleToReal ( boolean real ) { if ( real ) { computeAndSetRealScale ( true ) ; } else { mCanvasViewer.getCanvas ( ) . setScale ( 1 , true ) ; } }

Target:
private boolean rescaleToReal ( boolean real ) { if ( real ) { return computeAndSetRealScale ( true ) ; } else { mCanvasViewer.getCanvas ( ) . setScale ( 1 , true ) ; return true ; } }
Source:
public void setBackgroundDrawable ( android.graphics.drawable.Drawable background ) { mImpl.setBackgroundDrawable ( background , mBackgroundTint , mBackgroundTintMode , mRippleColor ) ; }

Target:
public void setBackgroundDrawable ( android.graphics.drawable.Drawable background ) { if ( ( mImpl ) != null ) { mImpl.setBackgroundDrawable ( background , mBackgroundTint , mBackgroundTintMode , mRippleColor ) ; } }
Source:
public com.android.sched.vfs.BaseVDir createVDir ( @ javax.annotation.Nonnull com.android.sched.vfs.VPath path ) throws com.android.sched.util.file.CannotCreateFileException { com.android.sched.vfs.BaseVDir dir = this ; for ( java.lang.String name : path.split ( ) ) { dir = vfs.createVDir ( dir , name ) ; } return dir ; }

Target:
public com.android.sched.vfs.BaseVDir createVDir ( @ javax.annotation.Nonnull com.android.sched.vfs.VPath path ) throws com.android.sched.util.file.CannotCreateFileException { com.android.sched.vfs.BaseVDir dir = this ; for ( java.lang.String name : path.split ( ) ) { dir = dir.createVDir ( name ) ; } return dir ; }
Source:
void putCopy ( java.math.BigInt from ) { this . makeValid ( ) ; java.math.BigInt.Check ( java.math.NativeBN.BN_copy ( this . bignum , from.bignum ) ) ; }

Target:
void putCopy ( java.math.BigInt from ) { this . makeValid ( ) ; java.math.NativeBN.BN_copy ( this . bignum , from.bignum ) ; }
Source:
public void setDummyAnimation ( ) { if ( ( animation ) == null ) { if ( com.android.server.WindowManagerService.localLOGV ) android.util.Log.v ( com.android.server.WindowManagerService.TAG , ( "Setting dummy animation in " + ( this ) ) ) ; animation = com.android.server.WindowManagerService.sDummyAnimation ; } }

Target:
public void setDummyAnimation ( ) { if ( ( animation ) == null ) { if ( com.android.server.WindowManagerService.localLOGV ) android.util.Slog.v ( com.android.server.WindowManagerService.TAG , ( "Setting dummy animation in " + ( this ) ) ) ; animation = com.android.server.WindowManagerService.sDummyAnimation ; } }
Source:
public static void setUpClass ( ) { com.android.jack.statistics.BlockStatisticsOnCore.class . getClassLoader ( ) . setDefaultAssertionStatus ( true ) ; com.android.jack.statistics.BlockStatisticsOnCore.BOOTCLASSPATH = new java.io.File [ ] { com.android.jack.TestTools.getFromAndroidTree ( "out/target/common/obj/JAVA_LIBRARIES/core_intermediates/classes.jar" ) } ; }

Target:
public static void setUpClass ( ) { com.android.jack.statistics.BlockStatisticsOnCore.class . getClassLoader ( ) . setDefaultAssertionStatus ( true ) ; }
Source:
public void visitBootstrapMethodsAttribute ( proguard.shrink.Clazz clazz , proguard.shrink.BootstrapMethodsAttribute bootstrapMethodsAttribute ) { if ( shouldBeMarkedAsUsed ( bootstrapMethodsAttribute ) ) { markAsUsed ( bootstrapMethodsAttribute ) ; markConstant ( clazz , bootstrapMethodsAttribute.u2attributeNameIndex ) ; bootstrapMethodsAttribute.bootstrapMethodEntryAccept ( clazz , bootstrapMethodIndex , this ) ; } }

Target:
public void visitBootstrapMethodsAttribute ( proguard.shrink.Clazz clazz , proguard.shrink.BootstrapMethodsAttribute bootstrapMethodsAttribute ) { if ( shouldBeMarkedAsUsed ( bootstrapMethodsAttribute ) ) { markAsUsed ( bootstrapMethodsAttribute ) ; markConstant ( clazz , bootstrapMethodsAttribute.u2attributeNameIndex ) ; } bootstrapMethodsAttribute.bootstrapMethodEntryAccept ( clazz , bootstrapMethodIndex , this ) ; }
Source:
public static int getMinSdkVersion ( com.android.sdklib.io.IAbstractFile manifestFile ) throws com.android.sdklib.io.StreamException , javax.xml.xpath.XPathExpressionException { javax.xml.xpath.XPath xPath = com.android.sdklib.xml.AndroidXPathFactory.newXPath ( ) ; java.lang.String result = xPath.evaluate ( ( ( ( ( ( ( ( "/" + ( com.android.sdklib.xml.AndroidManifest.NODE_MANIFEST ) ) + "/" ) + ( com.android.sdklib.xml.AndroidManifest.NODE_USES_SDK ) ) + "/@" ) + ( AndroidXPathFactory.DEFAULT_NS_PREFIX ) ) + ":" ) + ( com.android.sdklib.xml.AndroidManifest.ATTRIBUTE_MIN_SDK_VERSION ) ) , new org.xml.sax.InputSource ( manifestFile.getContents ( ) ) ) ; try { return java.lang.Integer.parseInt ( result ) ; } catch ( java.lang.NumberFormatException e ) { return ( result.length ( ) ) > 0 ? - 1 : 1 ; } }

Target:
public static java.lang.Object getMinSdkVersion ( com.android.sdklib.io.IAbstractFile manifestFile ) throws com.android.sdklib.io.StreamException , javax.xml.xpath.XPathExpressionException { javax.xml.xpath.XPath xPath = com.android.sdklib.xml.AndroidXPathFactory.newXPath ( ) ; java.lang.String result = xPath.evaluate ( ( ( ( ( ( ( ( "/" + ( com.android.sdklib.xml.AndroidManifest.NODE_MANIFEST ) ) + "/" ) + ( com.android.sdklib.xml.AndroidManifest.NODE_USES_SDK ) ) + "/@" ) + ( AndroidXPathFactory.DEFAULT_NS_PREFIX ) ) + ":" ) + ( com.android.sdklib.xml.AndroidManifest.ATTRIBUTE_MIN_SDK_VERSION ) ) , new org.xml.sax.InputSource ( manifestFile.getContents ( ) ) ) ; try { return java.lang.Integer.valueOf ( result ) ; } catch ( java.lang.NumberFormatException e ) { return ( result.length ( ) ) > 0 ? result : null ; } }
Source:
public static javax.net.ssl.SSLSession wrapSSLSession ( org.conscrypt.AbstractOpenSSLSession sslSession ) { if ( ( Build.VERSION.SDK_INT ) <= 23 ) { return sslSession ; } else { return new org.conscrypt.OpenSSLExtendedSessionImpl ( sslSession ) ; } }

Target:
public static javax.net.ssl.SSLSession wrapSSLSession ( org.conscrypt.AbstractOpenSSLSession sslSession ) { if ( ( Build.VERSION.SDK_INT ) <= 23 ) { return sslSession ; } return new org.conscrypt.OpenSSLExtendedSessionImpl ( sslSession ) ; }
Source:
public boolean setBluetoothCoexistenceMode ( int mode ) { return mSupplicantStaIfaceHal.setBtCoexistenceMode ( ( ( byte ) ( mode ) ) ) ; }

Target:
public boolean setBluetoothCoexistenceMode ( int mode ) { return mSupplicantStaIfaceHal.setBtCoexistenceMode ( mode ) ; }
Source:
public void visitRuntimeVisibleAnnotationsAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.RuntimeVisibleAnnotationsAttribute runtimeVisibleAnnotationsAttribute ) { if ( ( runtimeVisibleAnnotationsAttribute.u2annotationsCount ) > 0 ) { runtimeVisibleAnnotationsAttribute.accept ( clazz , method , attributeVisitor ) ; } }

Target:
public void visitRuntimeVisibleAnnotationsAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.RuntimeVisibleAnnotationsAttribute runtimeVisibleAnnotationsAttribute ) { if ( ( runtimeVisibleAnnotationsAttribute.u2annotationsCount ) > 0 ) { attributeVisitor.visitRuntimeVisibleAnnotationsAttribute ( clazz , method , runtimeVisibleAnnotationsAttribute ) ; } }
Source:
public static native int identityHashCode ( java.lang.Object x ) ;

Target:
public static int identityHashCode ( java.lang.Object x ) { if ( x == null ) { return 0 ; } return java.lang.Object.identityHashCode ( x ) ; }