auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void error ( java.lang.String tag , java.lang.String message ) { java.lang.String description = describe ( message ) ; com.android.ide.eclipse.adt.AdtPlugin.log ( IStatus.ERROR , "%1$s: %2$s" , mName , description ) ; addError ( tag , description ) ; }

Target:
public void error ( java.lang.String tag , java.lang.String message , java.lang.Object data ) { java.lang.String description = describe ( message ) ; com.android.ide.eclipse.adt.AdtPlugin.log ( IStatus.ERROR , "%1$s: %2$s" , mName , description ) ; addError ( tag , description ) ; }
Source:
public E getFirst ( ) { E x = elements [ head ] ; 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:
public boolean setBluetoothCoexistenceScanMode ( boolean setCoexScanMode ) { if ( com.android.server.wifi.WifiNative.HIDL_SUP_ENABLE ) { return mSupplicantStaIfaceHal.setBtCoexistenceScanModeEnabled ( setCoexScanMode ) ; } else { if ( setCoexScanMode ) { return doBooleanCommand ( "DRIVER BTCOEXSCAN-START" ) ; } else { return doBooleanCommand ( "DRIVER BTCOEXSCAN-STOP" ) ; } } }

Target:
public boolean setBluetoothCoexistenceScanMode ( boolean setCoexScanMode ) { return mSupplicantStaIfaceHal.setBtCoexistenceScanModeEnabled ( setCoexScanMode ) ; }
Source:
public static com.android.jack.dx.rop.code.RopMethod convertToRopMethod ( com.android.jack.dx.ssa.SsaMethod ssaMeth , boolean minimizeRegisters ) { return new com.android.jack.dx.ssa.back.SsaToRop ( ssaMeth , minimizeRegisters ) . convert ( ) ; }

Target:
public static com.android.jack.dx.rop.code.RopMethod convertToRopMethod ( com.android.jack.dx.ssa.SsaMethod ssaMeth ) { return new com.android.jack.dx.ssa.back.SsaToRop ( ssaMeth ) . convert ( ) ; }
Source:
public static boolean isSupportedDexMagic ( byte [ ] magic ) { int api = com.android.dex.DexFormat.magicToApi ( magic ) ; return ( api == ( com.android.dex.DexFormat.API_NO_EXTENDED_OPCODES ) ) || ( api == ( com.android.dex.DexFormat.API_CURRENT ) ) ; }

Target:
public static boolean isSupportedDexMagic ( byte [ ] magic ) { int api = com.android.dex.DexFormat.magicToApi ( magic ) ; return api > 0 ; }
Source:
private java.util.List < android.bluetooth.BluetoothDevice > getConnectedDevices ( ) { enforceCallingOrSelfPermission ( com.android.bluetooth.pbapclient.BLUETOOTH_PERM , "Need BLUETOOTH permission" ) ; int [ ] desiredStates = new int [ ] { android.bluetooth.BluetoothProfile.STATE_CONNECTED } ; return getDevicesMatchingConnectionStates ( desiredStates ) ; }

Target:
public java.util.List < android.bluetooth.BluetoothDevice > getConnectedDevices ( ) { enforceCallingOrSelfPermission ( com.android.bluetooth.pbapclient.BLUETOOTH_PERM , "Need BLUETOOTH permission" ) ; int [ ] desiredStates = new int [ ] { android.bluetooth.BluetoothProfile.STATE_CONNECTED } ; return getDevicesMatchingConnectionStates ( desiredStates ) ; }
Source:
public static int $noinline$MulN1 ( int arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return arg * ( - 1 ) ; }

Target:
public static int $noinline$MulN1 ( int arg ) { return arg * ( - 1 ) ; }
Source:
public boolean responderReportNfcHandover ( java.lang.String requestMessage ) { if ( ( com.android.server.wifi.WifiNative.HIDL_P2P_ENABLE ) && ( ( mSupplicantP2pIfaceHal ) != null ) ) { return mSupplicantP2pIfaceHal.responderReportNfcHandover ( requestMessage ) ; } else { return doBooleanCommand ( ( ( "NFC_REPORT_HANDOVER RESP P2P " + requestMessage ) + " 00" ) ) ; } }

Target:
public boolean responderReportNfcHandover ( java.lang.String requestMessage ) { return mSupplicantP2pIfaceHal.responderReportNfcHandover ( requestMessage ) ; }
Source:
private void unsljLogMore ( int response , java.lang.String more ) { riljLog ( ( ( ( "[UNSL]< " + ( com.android.internal.telephony.RIL.responseToString ( response ) ) ) + " " ) + more ) ) ; }

Target:
void unsljLogMore ( int response , java.lang.String more ) { riljLog ( ( ( ( "[UNSL]< " + ( com.android.internal.telephony.RIL.responseToString ( response ) ) ) + " " ) + more ) ) ; }
Source:
synchronized void nScriptSetVarObj ( int id , int slot , int val ) { validate ( ) ; rsnScriptSetVarObj ( mContext , id , slot , val ) ; }

Target:
synchronized void nScriptSetVarObj ( long id , int slot , long val ) { validate ( ) ; rsnScriptSetVarObj ( mContext , id , slot , val ) ; }
Source:
public java.util.Set < java.lang.String > getAbiFilters ( ) { return ndkOptions.getAbiFilters ( ) . isEmpty ( ) ? null : ndkOptions.getAbiFilters ( ) ; }

Target:
public java.util.Set < java.lang.String > getAbiFilters ( ) { return ndkOptions.getAbiFilters ( ) ; }
Source:
public static java.lang.String getDataDirectory ( android.content.Context appContext ) { assert ( org.chromium.base.PathUtils.sDirPathFetchTask ) != null : "setDataDirectorySuffix must be called first." ; return org.chromium.base.PathUtils.getDirectoryPath ( org.chromium.base.PathUtils.DATA_DIRECTORY ) ; }

Target:
public static java.lang.String getDataDirectory ( ) { assert ( org.chromium.base.PathUtils.sDirPathFetchTask ) != null : "setDataDirectorySuffix must be called first." ; return org.chromium.base.PathUtils.getDirectoryPath ( org.chromium.base.PathUtils.DATA_DIRECTORY ) ; }
Source:
protected org.bouncycastle.crypto.tls.TlsKeyExchange createPSKKeyExchange ( int keyExchange ) { return new org.bouncycastle.crypto.tls.TlsPSKKeyExchange ( keyExchange , supportedSignatureAlgorithms , pskIdentity , null , namedCurves , clientECPointFormats , serverECPointFormats ) ; }

Target:
protected org.bouncycastle.crypto.tls.TlsKeyExchange createPSKKeyExchange ( int keyExchange ) { return new org.bouncycastle.crypto.tls.TlsPSKKeyExchange ( keyExchange , supportedSignatureAlgorithms , pskIdentity , null , null , namedCurves , clientECPointFormats , serverECPointFormats ) ; }
Source:
public void printf ( java.lang.String msgFormat , java.lang.Object ... arg ) { logMessages.add ( java.lang.String.format ( msgFormat , arg ) ) ; }

Target:
public void info ( java.lang.String msgFormat , java.lang.Object ... arg ) { logMessages.add ( java.lang.String.format ( msgFormat , arg ) ) ; }
Source:
public static native boolean EC_POINT_cmp ( int groupRef , int pointRef1 , int pointRef2 ) ;

Target:
public static native boolean EC_POINT_cmp ( long groupRef , long pointRef1 , long pointRef2 ) ;
Source:
public void testConstructor_NullContext_Failure ( ) throws java.lang.Exception { try { new android.security.AndroidKeyPairGeneratorSpec ( null , android.security.AndroidKeyPairGeneratorSpecTest.TEST_ALIAS_1 , android.security.AndroidKeyPairGeneratorSpecTest.TEST_DN_1 , android.security.AndroidKeyPairGeneratorSpecTest.SERIAL_1 , android.security.AndroidKeyPairGeneratorSpecTest.NOW , android.security.AndroidKeyPairGeneratorSpecTest.NOW_PLUS_10_YEARS ) ; fail ( "Should throw IllegalArgumentException when context is null" ) ; } catch ( java.lang.IllegalArgumentException success ) { } }

Target:
public void testConstructor_NullContext_Failure ( ) throws java.lang.Exception { try { new android.security.AndroidKeyPairGeneratorSpec ( null , android.security.AndroidKeyPairGeneratorSpecTest.TEST_ALIAS_1 , android.security.AndroidKeyPairGeneratorSpecTest.TEST_DN_1 , android.security.AndroidKeyPairGeneratorSpecTest.SERIAL_1 , android.security.AndroidKeyPairGeneratorSpecTest.NOW , android.security.AndroidKeyPairGeneratorSpecTest.NOW_PLUS_10_YEARS , 0 ) ; fail ( "Should throw IllegalArgumentException when context is null" ) ; } catch ( java.lang.IllegalArgumentException success ) { } }
Source:
public com.google.common.collect.Range < C > range ( com.google.common.collect.BoundType lowerBoundType , com.google.common.collect.BoundType upperBoundType ) { return com.google.common.collect.Ranges.create ( range.lowerBound.withLowerBoundType ( lowerBoundType , domain ) , range.upperBound.withUpperBoundType ( upperBoundType , domain ) ) ; }

Target:
public com.google.common.collect.Range < C > range ( com.google.common.collect.BoundType lowerBoundType , com.google.common.collect.BoundType upperBoundType ) { return com.google.common.collect.Range.create ( range.lowerBound.withLowerBoundType ( lowerBoundType , domain ) , range.upperBound.withUpperBoundType ( upperBoundType , domain ) ) ; }
Source:
android.os.ParcelUuid [ ] getRemoteUuids ( 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 null ; } return deviceProp.getUuids ( ) ; }

Target:
public android.os.ParcelUuid [ ] getRemoteUuids ( 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 null ; } return deviceProp.getUuids ( ) ; }
Source:
public boolean isPermissionEnforced ( java.lang.String permission ) { final boolean enforcedDefault = isPermissionEnforcedDefault ( permission ) ; synchronized ( mPackages ) { return isPermissionEnforcedLocked ( permission , enforcedDefault ) ; } }

Target:
public boolean isPermissionEnforced ( java.lang.String permission ) { return true ; }
Source:
public void onMiddlewareReady ( ) { try { callback.middlewareReady ( ) ; } catch ( android.os.RemoteException e ) { onAppCallbackDied ( uid , subscriptionId ) ; } }

Target:
public void onMiddlewareReady ( ) { try { callback.onMiddlewareReady ( ) ; } catch ( android.os.RemoteException e ) { onAppCallbackDied ( uid , subscriptionId ) ; } }
Source:
public void setCallAudioState ( android.telecom.CallAudioState state ) { try { if ( mConnected ) { mConnectionService.onCallAudioStateChanged ( mConnectionId , state ) ; } } catch ( android.os.RemoteException ignored ) { } }

Target:
public void setCallAudioState ( android.telecom.CallAudioState state ) { try { if ( mConnected ) { mConnectionService.onCallAudioStateChanged ( mConnectionId , state , null ) ; } } catch ( android.os.RemoteException ignored ) { } }
Source:
public boolean compareValueWith ( com.android.ide.common.res2.ResourceItem resource ) { if ( ( ( mValue ) != null ) && ( ( resource.mValue ) != null ) ) { return com.android.ide.common.res2.NodeUtils.compareElementNode ( mValue , resource.mValue ) ; } return ( mValue ) == ( resource.mValue ) ; }

Target:
public boolean compareValueWith ( com.android.ide.common.res2.ResourceItem resource ) { if ( ( ( mValue ) != null ) && ( ( resource.mValue ) != null ) ) { return com.android.ide.common.res2.NodeUtils.compareElementNode ( mValue , resource.mValue , true ) ; } return ( mValue ) == ( resource.mValue ) ; }
Source:
public void _test ( android.icu.text.NumberFormat fmt , long value ) { _test ( fmt , new java.lang.Long ( value ) ) ; }

Target:
private void _test ( android.icu.text.NumberFormat fmt , long value ) { _test ( fmt , new java.lang.Long ( value ) ) ; }
Source:
public int hashCode ( ) { int result = 0 ; for ( int i = 0 ; i < ( original.length ) ; ++ i ) { result ^= original [ i ] . hashCode ( ) ; } return result ; }

Target:
public int hashCode ( ) { return original.hashCode ( ) ; }
Source:
public void onEnrichedCallStateChanged ( ) { com.android.dialer.common.LogUtil.enterBlock ( "StatusBarNotifier.onEnrichedCallStateChanged" ) ; updateNotification ( com.android.incallui.call.CallList.getInstance ( ) ) ; }

Target:
public void onEnrichedCallStateChanged ( ) { com.android.dialer.common.LogUtil.enterBlock ( "StatusBarNotifier.onEnrichedCallStateChanged" ) ; updateNotification ( ) ; }
Source:
public static void main ( java.lang.String [ ] args ) { try { Indirect.main ( ) ; java.lang.System.err.println ( "Succeeded unexpectedly" ) ; } catch ( java.lang.IncompatibleClassChangeError icce ) { java.lang.System.out.println ( "Got expected ICCE" ) ; } }

Target:
public static void main ( java.lang.String [ ] args ) { try { Indirect.main ( ) ; java.lang.System.out.println ( "Succeeded unexpectedly" ) ; } catch ( java.lang.IncompatibleClassChangeError icce ) { java.lang.System.out.println ( "Got expected ICCE" ) ; } }
Source:
void putDoubleUnchecked ( int index , double value ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
abstract void putDoubleUnchecked ( int index , double value ) ;
Source:
public java.io.File getInstallFolder ( java.lang.String osSdkRoot , java.lang.String suggestedDir , com.android.sdklib.SdkManager sdkManager ) { return new java.io.File ( osSdkRoot , getPath ( ) ) ; }

Target:
public java.io.File getInstallFolder ( java.lang.String osSdkRoot , com.android.sdklib.SdkManager sdkManager ) { return new java.io.File ( osSdkRoot , getPath ( ) ) ; }
Source:
native int rsnSamplerCreate ( int con , int magFilter , int minFilter , int wrapS , int wrapT , int wrapR , float aniso ) ;

Target:
native long rsnSamplerCreate ( long con , int magFilter , int minFilter , int wrapS , int wrapT , int wrapR , float aniso ) ;
Source:
private javax.crypto.MacSpi getSpi ( ) { return getSpi ( null ) ; }

Target:
public javax.crypto.MacSpi getSpi ( ) { return getSpi ( null ) ; }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder clearBuildId ( ) { bitField0_ = ( bitField0_ ) & ( ~ 8 ) ; buildId_ = com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.getDefaultInstance ( ) . getBuildId ( ) ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder clearBuildId ( ) { bitField0_ = ( bitField0_ ) & ( ~ 16 ) ; buildId_ = com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.getDefaultInstance ( ) . getBuildId ( ) ; onChanged ( ) ; return this ; }
Source:
native void rsnAllocationData1D ( int con , int id , int off , int mip , int count , int [ ] d , int sizeBytes ) ;

Target:
native void rsnAllocationData1D ( long con , long id , int off , int mip , int count , byte [ ] d , int sizeBytes ) ;
Source:
public void startDtmf ( char c ) throws android.os.RemoteException { }

Target:
public void startDtmf ( char c ) { this . startDtmf ( c ) ; }
Source:
public native void setFloat ( java.lang.Object object , float value ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;

Target:
public native void setFloat ( java.lang.Object obj , float f ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;
Source:
public java.util.Collection < V > values ( ) { java.util.Collection < V > vs ; return ( vs = values ) == null ? values = new LinkedValues ( ) : vs ; }

Target:
public java.util.Collection < V > values ( ) { java.util.Collection < V > vs = values ; if ( vs == null ) { vs = new LinkedValues ( ) ; values = vs ; } return vs ; }
Source:
public void cleanup ( ) { if ( ( mAdapterProperties ) != null ) mAdapterProperties = null ; if ( ( mAdapterService ) != null ) mAdapterService = null ; }

Target:
private void cleanup ( ) { if ( ( mAdapterProperties ) != null ) mAdapterProperties = null ; if ( ( mAdapterService ) != null ) mAdapterService = null ; }
Source:
public void visitCodeAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.CodeAttribute codeAttribute ) { codeAttribute.accept ( clazz , method , attributeVisitor ) ; }

Target:
public void visitCodeAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.CodeAttribute codeAttribute ) { attributeVisitor.visitCodeAttribute ( clazz , method , codeAttribute ) ; }
Source:
public void notifyVFileClosed ( ) { boolean previousState = lastVFileOpen.getAndSet ( false ) ; assert previousState ; }

Target:
void notifyVFileClosed ( ) { boolean previousState = lastVFileOpen.getAndSet ( false ) ; assert previousState ; }
Source:
public void onStreamMethodUpdated ( int methodType ) { try { listener.streamMethodUpdated ( methodType ) ; } catch ( android.os.RemoteException e ) { onAppCallbackDied ( uid , subscriptionId ) ; } }

Target:
public void streamMethodUpdated ( int methodType ) throws android.os.RemoteException { listener.streamMethodUpdated ( methodType ) ; }
Source:
final org.apache.harmony.xnet.provider.jsse.OpenSSLKey getOpenSSLKey ( ) { return key ; }

Target:
public org.apache.harmony.xnet.provider.jsse.OpenSSLKey getOpenSSLKey ( ) { return key ; }
Source:
public static void fail ( java.lang.String message ) { throw new junit.framework.AssertionFailedError ( message ) ; }

Target:
public static void fail ( java.lang.String message ) { if ( message == null ) { throw new junit.framework.AssertionFailedError ( ) ; } throw new junit.framework.AssertionFailedError ( message ) ; }
Source:
void putLongUnchecked ( int index , long value ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
abstract void putLongUnchecked ( int index , long value ) ;
Source:
private void logError ( java.lang.String format , java.lang.Object ... params ) { java.lang.String s = java.lang.String.format ( format , params ) ; com.android.ide.eclipse.adt.AdtPlugin.printErrorToConsole ( mProject , s ) ; }

Target:
public void logError ( java.lang.String format , java.lang.Object ... params ) { java.lang.String s = java.lang.String.format ( format , params ) ; com.android.ide.eclipse.adt.AdtPlugin.printErrorToConsole ( mProject , s ) ; }
Source:
public void run ( ) { synchronized ( mLock ) { if ( ( mTransport ) == null ) { return ; } } this . onChange ( mSelfChange , mUri , mUserId ) ; }

Target:
public void run ( ) { this . onChange ( mSelfChange , mUri , mUserId ) ; }
Source:
public void testConstructorNPE2 ( ) { try { java.util.concurrent.ExecutorService e = java.util.concurrent.Executors.newCachedThreadPool ( ) ; java.util.concurrent.ExecutorCompletionService ecs = new java.util.concurrent.ExecutorCompletionService ( e , null ) ; shouldThrow ( ) ; } catch ( java.lang.NullPointerException success ) { } }

Target:
public void testConstructorNPE2 ( ) { try { java.util.concurrent.ExecutorService e = java.util.concurrent.Executors.newCachedThreadPool ( ) ; new java.util.concurrent.ExecutorCompletionService ( e , null ) ; shouldThrow ( ) ; } catch ( java.lang.NullPointerException success ) { } }
Source:
public java.util.List < java.lang.String > targetProcessPrefix ( java.io.File workingDirectory ) { return java.util.Arrays.asList ( "ssh" , "-p" , java.lang.Integer.toString ( port ) , host , "-C" , "cd" , workingDirectory.getAbsolutePath ( ) , "&&" , "LD_LIBRARY_PATH=/vendor/lib:/system/lib" ) ; }

Target:
public java.util.List < java.lang.String > targetProcessPrefix ( ) { return java.util.Arrays.asList ( "ssh" , "-p" , java.lang.Integer.toString ( port ) , host , "-C" ) ; }
Source:
protected boolean nativeConnectDisabled ( ) { return java.net.AbstractPlainDatagramSocketImpl.connectDisabled ; }

Target:
protected boolean nativeConnectDisabled ( ) { return false ; }
Source:
public boolean attachFunctor ( int functor ) { if ( ( ( mAttachInfo.mHardwareRenderer ) != null ) && ( mAttachInfo.mHardwareRenderer.isEnabled ( ) ) ) { return mAttachInfo.mHardwareRenderer.attachFunctor ( mAttachInfo , functor ) ; } return false ; }

Target:
public boolean attachFunctor ( long functor ) { if ( ( ( mAttachInfo.mHardwareRenderer ) != null ) && ( mAttachInfo.mHardwareRenderer.isEnabled ( ) ) ) { return mAttachInfo.mHardwareRenderer.attachFunctor ( mAttachInfo , functor ) ; } return false ; }
Source:
public static com.android.jack.dx.rop.cst.CstNat createSignature ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JFieldId field ) { java.lang.String fieldSignature = com.android.jack.backend.dex.rop.RopHelper.formatter.getName ( field.getType ( ) ) ; com.android.jack.dx.rop.cst.CstString descriptor = new com.android.jack.dx.rop.cst.CstString ( fieldSignature ) ; com.android.jack.dx.rop.cst.CstNat signature = new com.android.jack.dx.rop.cst.CstNat ( descriptor ) ; return signature ; }

Target:
public static com.android.jack.dx.rop.cst.CstString createSignature ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JFieldId field ) { java.lang.String fieldSignature = com.android.jack.backend.dex.rop.RopHelper.formatter.getName ( field.getType ( ) ) ; com.android.jack.dx.rop.cst.CstString descriptor = new com.android.jack.dx.rop.cst.CstString ( fieldSignature ) ; return descriptor ; }
Source:
public void setAudioTracks ( java.util.List < com.android.tv.tuner.data.Track.AtscAudioTrack > audioTracks ) { mProto.audioTracks = audioTracks.toArray ( new com.android.tv.tuner.data.Track.AtscAudioTrack [ audioTracks.size ( ) ] ) ; }

Target:
public synchronized void setAudioTracks ( java.util.List < com.android.tv.tuner.data.Track.AtscAudioTrack > audioTracks ) { mProto.audioTracks = audioTracks.toArray ( new com.android.tv.tuner.data.Track.AtscAudioTrack [ audioTracks.size ( ) ] ) ; }
Source:
public void setDrawFilter ( android.graphics.DrawFilter filter ) { int nativeFilter = 0 ; if ( filter != null ) { nativeFilter = filter.mNativeInt ; } mDrawFilter = filter ; android.graphics.Canvas.nativeSetDrawFilter ( mNativeCanvas , nativeFilter ) ; }

Target:
public void setDrawFilter ( android.graphics.DrawFilter filter ) { long nativeFilter = 0 ; if ( filter != null ) { nativeFilter = filter.mNativeInt ; } mDrawFilter = filter ; android.graphics.Canvas.nativeSetDrawFilter ( mNativeCanvas , nativeFilter ) ; }
Source:
final void putChar ( int offset , char value ) { sun.nio.ch.NativeObject.unsafe.putChar$ ( ( offset + ( address ) ) , value ) ; }

Target:
final void putChar ( int offset , char value ) { sun.nio.ch.NativeObject.unsafe.putChar ( ( offset + ( address ) ) , value ) ; }
Source:
public boolean find ( ) { matchFound = java.util.regex.Matcher.findNextImpl ( address , input , matchOffsets ) ; return matchFound ; }

Target:
public boolean find ( ) { synchronized ( this ) { matchFound = java.util.regex.Matcher.findNextImpl ( address , input , matchOffsets ) ; } return matchFound ; }
Source:
public static boolean hasHfpClientEcc ( android.bluetooth.BluetoothHeadsetClient client , android.bluetooth.BluetoothDevice device ) { android.os.Bundle features = client.getCurrentAgEvents ( device ) ; return features == null ? false : features.getBoolean ( BluetoothHeadsetClient.EXTRA_AG_FEATURE_ECC , false ) ; }

Target:
public static boolean hasHfpClientEcc ( android.bluetooth.BluetoothHeadsetClient client , android.bluetooth.BluetoothDevice device ) { android.os.Bundle features = client.getCurrentAgEvents ( device ) ; return ( features != null ) && ( features.getBoolean ( BluetoothHeadsetClient.EXTRA_AG_FEATURE_ECC , false ) ) ; }
Source:
public org.eclipse.core.resources.IFile getOutput ( ) { return mOutputFiles.get ( 0 ) ; }

Target:
public org.eclipse.core.resources.IFile getOutput ( ) { if ( ( mOutputFiles.size ( ) ) > 0 ) { return mOutputFiles.get ( 0 ) ; } return null ; }
Source:
public void installPackages ( java.util.List < java.lang.String > apkFilePaths , int timeOutInMs , boolean reinstall , @ com.android.annotations.NonNull java.util.Collection < java.lang.String > extraArgs ) throws com.android.ddmlib.InstallException ;

Target:
public void installPackages ( java.util.List < java.lang.String > apkFilePaths , int timeOutInMs , boolean reinstall , java.lang.String ... extraArgs ) throws com.android.ddmlib.InstallException ;
Source:
void pauseDispatchingLocked ( com.android.server.WindowManagerService.WindowToken token ) { synchronized ( this ) { if ( com.android.server.WindowManagerService.DEBUG_INPUT ) android.util.Log.v ( com.android.server.WindowManagerService.TAG , ( "Pausing WindowToken " + token ) ) ; token.paused = true ; } }

Target:
void pauseDispatchingLocked ( com.android.server.WindowManagerService.WindowToken token ) { synchronized ( this ) { if ( com.android.server.WindowManagerService.DEBUG_INPUT ) android.util.Slog.v ( com.android.server.WindowManagerService.TAG , ( "Pausing WindowToken " + token ) ) ; token.paused = true ; } }
Source:
static void native_setSinCos ( int native_object , float sinValue , float cosValue ) { android.graphics.Matrix_Delegate d = android.graphics.Matrix_Delegate.sManager.getDelegate ( native_object ) ; if ( d == null ) { return ; } android.graphics.Matrix_Delegate.setRotate ( d.mValues , sinValue , cosValue ) ; }

Target:
static void native_setSinCos ( long native_object , float sinValue , float cosValue ) { android.graphics.Matrix_Delegate d = android.graphics.Matrix_Delegate.sManager.getDelegate ( native_object ) ; if ( d == null ) { return ; } android.graphics.Matrix_Delegate.setRotate ( d.mValues , sinValue , cosValue ) ; }
Source:
static boolean native_isEmpty ( int nPath ) { android.graphics.Path_Delegate pathDelegate = android.graphics.Path_Delegate.sManager.getDelegate ( nPath ) ; if ( pathDelegate == null ) { return true ; } return pathDelegate.isEmpty ( ) ; }

Target:
static boolean native_isEmpty ( long nPath ) { android.graphics.Path_Delegate pathDelegate = android.graphics.Path_Delegate.sManager.getDelegate ( nPath ) ; if ( pathDelegate == null ) { return true ; } return pathDelegate.isEmpty ( ) ; }
Source:
native void rsnAllocationData3D ( int con , int id , int xoff , int yoff , int zoff , int mip , int w , int h , int depth , short [ ] d , int sizeBytes ) ;

Target:
native void rsnAllocationData3D ( long con , long id , int xoff , int yoff , int zoff , int mip , int w , int h , int depth , long [ ] d , int sizeBytes ) ;
Source:
public void compareBouncycastleStructure ( ) throws java.lang.Exception { com.android.jack.TestTools.checkStructure ( new com.android.jack.Options ( ) , com.android.jack.compile.androidtree.bouncycastle.BouncycastleCompilationTest.BOOTCLASSPATH , null , com.android.jack.compile.androidtree.bouncycastle.BouncycastleCompilationTest.REF_BOOTCLASSPATH , null , com.android.jack.compile.androidtree.bouncycastle.BouncycastleCompilationTest.SOURCELIST , false , true , 0.4F , com.android.jack.compile.androidtree.bouncycastle.BouncycastleCompilationTest.JARJAR_RULES , ( ( com.android.jack.ProguardFlags [ ] ) ( null ) ) ) ; }

Target:
public void compareBouncycastleStructure ( ) throws java.lang.Exception { com.android.jack.TestTools.checkStructure ( new com.android.jack.Options ( ) , null , null , com.android.jack.compile.androidtree.bouncycastle.BouncycastleCompilationTest.SOURCELIST , false , true , 0.4F , com.android.jack.compile.androidtree.bouncycastle.BouncycastleCompilationTest.JARJAR_RULES , ( ( com.android.jack.ProguardFlags [ ] ) ( null ) ) ) ; }
Source:
void dispatchCallStateChanged ( int newState ) { for ( com.android.incallui.videotech.VideoTech videoTech : videoTechs ) { videoTech.onCallStateChanged ( context , newState ) ; } }

Target:
public void dispatchCallStateChanged ( int newState ) { for ( com.android.incallui.videotech.VideoTech videoTech : videoTechs ) { videoTech.onCallStateChanged ( context , newState ) ; } }
Source:
private static void writeRootBuildGradle ( java.io.File buildFile ) { com.android.ide.eclipse.adt.AdtPlugin.writeFile ( buildFile , "// Top-level build file where you can add configuration options common to all sub-projects/modules.\n" ) ; }

Target:
private static void writeRootBuildGradle ( java.io.File buildFile ) throws java.io.IOException { java.lang.StringBuilder sb = new java.lang.StringBuilder ( "// Top-level build file where you can add configuration options common to all sub-projects/modules.\n" ) ; com.android.ide.eclipse.adt.internal.wizards.exportgradle.BuildFileCreator.appendBuildScript ( sb ) ; com.google.common.io.Files.write ( sb.toString ( ) , buildFile , com.google.common.base.Charsets.UTF_8 ) ; }
Source:
public void endTrace ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JField type ) { }

Target:
public void endTrace ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JField field ) { }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { super . widgetSelected ( e ) ; reloadSkinCombo ( ) ; reloadAbiTypeCombo ( ) ; reloadDeviceCombo ( ) ; validatePage ( ) ; }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { super . widgetSelected ( e ) ; reloadSkinCombo ( ) ; reloadAbiTypeCombo ( ) ; validatePage ( ) ; }
Source:
public void traverse ( @ javax.annotation.Nonnull final com.android.sched.scheduler.ScheduleInstance < ? super com.android.sched.item.Component > schedule ) throws java.lang.Exception { schedule.process ( this ) ; for ( com.android.jack.ir.ast.cfg.JBasicBlock block : getBlocksDepthFirst ( true ) ) { block.traverse ( schedule ) ; } }

Target:
public void traverse ( @ javax.annotation.Nonnull final com.android.sched.scheduler.ScheduleInstance < ? super com.android.sched.item.Component > schedule ) throws java.lang.Exception { schedule.process ( this ) ; for ( com.android.jack.ir.ast.cfg.JBasicBlock block : getBlocksDepthFirst ( false ) ) { block.traverse ( schedule ) ; } }
Source:
public void setDescription ( java.lang.String descriptionFormat , java.lang.Object ... args ) { mCapturedDescriptions += ( java.lang.String.format ( descriptionFormat , args ) ) + "\n" ; }

Target:
public void setDescription ( java.lang.String format , java.lang.Object ... args ) { mCapturedDescriptions += ( java.lang.String.format ( format , args ) ) + "\n" ; }
Source:
public void close ( ) throws java.io.IOException { serverSocket.close ( ) ; for ( java.net.Socket client : clients ) { client.close ( ) ; } }

Target:
public void close ( ) throws java.io.IOException { if ( ( serverSocket ) != null ) { serverSocket.close ( ) ; } for ( java.net.Socket client : clients ) { client.close ( ) ; } }
Source:
vogar.target.TargetRunner 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 , java.lang.String [ ] args ) ;

Target:
vogar.target.TargetRunner 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 , java.lang.String [ ] args ) ;
Source:
public void test030 ( ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( TEST030 ) . setProguardFlagsFileNames ( new java.lang.String [ ] { new java.io.File ( TEST030.directory , "proguard.flags001" ) . getAbsolutePath ( ) } ) . compileAndRunTest ( ) ; }

Target:
public void test030 ( ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( TEST030 ) . compileAndRunTest ( ) ; }
Source:
public android.bluetooth.BluetoothCodecStatus getCodecStatus ( ) { com.android.bluetooth.a2dp.A2dpService service = getService ( ) ; if ( service == null ) { return null ; } return service.getCodecStatus ( ) ; }

Target:
public android.bluetooth.BluetoothCodecStatus getCodecStatus ( android.bluetooth.BluetoothDevice device ) { com.android.bluetooth.a2dp.A2dpService service = getService ( ) ; if ( service == null ) { return null ; } return service.getCodecStatus ( device ) ; }
Source:
public void testDataPathInitiatorNoMacFail ( ) throws java.lang.Exception { testDataPathInitiatorUtility ( false , false , true , true ) ; }

Target:
public void testDataPathInitiatorNoMacFail ( ) throws java.lang.Exception { testDataPathInitiatorUtility ( false , false , true , true , false ) ; }
Source:
public void testParseBatchTimestamp ( ) { com.android.bluetooth.gatt.GattService service = new com.android.bluetooth.gatt.GattService ( ) ; long timestampNanos = service.parseTimestampNanos ( new byte [ ] { - 54 , 7 } ) ; assertEquals ( 99700000000L , timestampNanos ) ; }

Target:
public void testParseBatchTimestamp ( ) { com.android.bluetooth.gatt.GattService service = new com.android.bluetooth.gatt.GattService ( ) ; long timestampNanos = service.parseTimestampNanos ( new byte [ ] { - 54 , 7 } ) ; org.junit.Assert.assertEquals ( 99700000000L , timestampNanos ) ; }
Source:
public void free ( ) { array = null ; address = 0 ; }

Target:
public void free ( ) { array = null ; super . free ( ) ; }
Source:
public void callSessionTtyModeReceived ( int mode ) throws android.os.RemoteException { mListener.callSessionTtyModeReceived ( mode ) ; }

Target:
public void callSessionTtyModeReceived ( int mode ) { try { mListener.callSessionTtyModeReceived ( mode ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e ) ; } }
Source:
public static android.renderscript.RenderScript create ( android.content.Context ctx , android.renderscript.RenderScript.ContextType ct ) { int v = ctx.getApplicationInfo ( ) . targetSdkVersion ; return android.renderscript.RenderScript.create ( ctx , v , ct , android.renderscript.RenderScript.CREATE_FLAG_NONE ) ; }

Target:
public static android.renderscript.RenderScript create ( android.content.Context ctx , android.renderscript.RenderScript.ContextType ct ) { return android.renderscript.RenderScript.create ( ctx , ct , android.renderscript.RenderScript.CREATE_FLAG_NONE ) ; }
Source:
synchronized int nScriptGetVarI ( int id , int slot ) { validate ( ) ; return rsnScriptGetVarI ( mContext , id , slot ) ; }

Target:
synchronized int nScriptGetVarI ( long id , int slot ) { validate ( ) ; return rsnScriptGetVarI ( mContext , id , slot ) ; }
Source:
protected byte [ ] bigIntToBytes ( java.math.BigInteger r ) { return org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi.converter.integerToBytes ( r , org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi.converter.getByteLength ( parameters.getCurve ( ) ) ) ; BRANCH ( 119751 ) ; bouncycastle : Android = $missing$ ; org.bouncycastle.jcajce.provider.asymmetric.ec.tree with ; upstream = $missing$ ; }

Target:
protected byte [ ] bigIntToBytes ( java.math.BigInteger r ) { return org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi.converter.integerToBytes ( r , org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi.converter.getByteLength ( parameters.getCurve ( ) ) ) ; }
Source:
public void test011_2 ( ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( TEST011_2 ) . setProguardFlagsFileNames ( new java.lang.String [ ] { "proguard.flags002" } ) . compileAndRunTest ( ) ; }

Target:
public void test011_2 ( ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( TEST011_2 ) . compileAndRunTest ( ) ; }
Source:
public void flushNow ( boolean sync ) { try { flusher.flushNow ( sync ) ; } catch ( java.lang.Exception e ) { java.lang.System.err.println ( "exception in flushNow:" ) ; e.printStackTrace ( ) ; } }

Target:
public void flushNow ( ) { try { flusher.flushNow ( ) ; } catch ( java.lang.Exception e ) { java.lang.System.err.println ( "exception in flushNow:" ) ; e.printStackTrace ( ) ; } }
Source:
public com.android.jack.dx.io.instructions.DecodedInstruction withIndex ( int newFirstIndex , int newSecondIndex ) { assert ( getSecondIndexType ( ) ) == ( com.android.jack.dx.io.IndexType.NONE ) ; return new com.android.jack.dx.io.instructions.ZeroRegisterDecodedInstruction ( getFormat ( ) , getOpcode ( ) , newFirstIndex , getFirstIndexType ( ) , getTarget ( ) , getLiteral ( ) ) ; }

Target:
public com.android.jack.dx.io.instructions.DecodedInstruction withIndex ( int newFirstIndex , int newSecondIndex ) { return new com.android.jack.dx.io.instructions.ZeroRegisterDecodedInstruction ( getFormat ( ) , getOpcode ( ) , newFirstIndex , getFirstIndexType ( ) , getTarget ( ) , getLiteral ( ) , newSecondIndex , getSecondIndexType ( ) ) ; }
Source:
public void disconnect ( ) { if ( com.android.bluetooth.pbap.BluetoothPbapService.DEBUG ) { android.util.Log.d ( com.android.bluetooth.pbap.BluetoothPbapService.TAG , "disconnect" ) ; } com.android.bluetooth.pbap.BluetoothPbapService service = getService ( com.android.bluetooth.pbap.BluetoothPbapService.BLUETOOTH_ADMIN_PERM ) ; if ( service == null ) { return ; } service.disconnect ( ) ; }

Target:
public void disconnect ( android.bluetooth.BluetoothDevice device ) { if ( com.android.bluetooth.pbap.BluetoothPbapService.DEBUG ) { android.util.Log.d ( com.android.bluetooth.pbap.BluetoothPbapService.TAG , "disconnect" ) ; } com.android.bluetooth.pbap.BluetoothPbapService service = getService ( ) ; if ( service == null ) { return ; } service.disconnect ( device ) ; }
Source:
public void run ( ) { synchronized ( this ) { loadImage ( ) ; selectedNode = model.getSelected ( ) ; } }

Target:
public void run ( ) { synchronized ( this ) { selectedNode = model.getSelected ( ) ; } }
Source:
synchronized boolean setBondState ( java.lang.String address , int state , int reason ) { mBondState.setBondState ( address.toUpperCase ( ) , state ) ; return true ; }

Target:
synchronized boolean setBondState ( java.lang.String address , int state , int reason ) { mBondState.setBondState ( address.toUpperCase ( ) , state , reason ) ; return true ; }
Source:
public static < K , V > com.google.common.collect.HashBiMap < K , V > create ( ) { return new com.google.common.collect.HashBiMap < K , V > ( ) ; }

Target:
public static < K , V > com.google.common.collect.HashBiMap < K , V > create ( ) { return com.google.common.collect.HashBiMap.create ( 16 ) ; }
Source:
public com.android.ahat.heapdump.Size getTotalSize ( ) { com.android.ahat.heapdump.Size total = Size.ZERO ; for ( int i = 0 ; i < ( mSizesByHeap.length ) ; i ++ ) { total = total.plus ( mSizesByHeap [ i ] ) ; } return total ; }

Target:
public com.android.ahat.heapdump.Size getTotalSize ( ) { com.android.ahat.heapdump.Size total = Size.ZERO ; for ( com.android.ahat.heapdump.Size size : mSizesByHeap ) { total = total.plus ( size ) ; } return total ; }
Source:
public int import_key ( java.lang.String name , byte [ ] data ) throws android.os.RemoteException ;

Target:
public int import_key ( java.lang.String name , byte [ ] data , int uid ) throws android.os.RemoteException ;
Source:
protected void startOnHoldTone ( com.android.internal.telephony.Connection cn ) { android.util.Pair < com.android.internal.telephony.Connection , java.lang.Boolean > result = new android.util.Pair < com.android.internal.telephony.Connection , java.lang.Boolean > ( cn , java.lang.Boolean.TRUE ) ; mOnHoldRegistrants.notifyRegistrants ( new android.os.AsyncResult ( null , result , null ) ) ; }

Target:
public void startOnHoldTone ( com.android.internal.telephony.Connection cn ) { android.util.Pair < com.android.internal.telephony.Connection , java.lang.Boolean > result = new android.util.Pair < com.android.internal.telephony.Connection , java.lang.Boolean > ( cn , java.lang.Boolean.TRUE ) ; mOnHoldRegistrants.notifyRegistrants ( new android.os.AsyncResult ( null , result , null ) ) ; }
Source:
public boolean isAnonymousClass ( ) { return libcore.reflect.AnnotationAccess.isAnonymousClass ( this ) ; }

Target:
public native boolean isAnonymousClass ( ) ;
Source:
public static int $noinline$XorAllOnes ( int arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return arg ^ ( - 1 ) ; }

Target:
public static int $noinline$XorAllOnes ( int arg ) { return arg ^ ( - 1 ) ; }
Source:
public final int hashCode ( ) { return ( ( definingClass.hashCode ( ) ) * 31 ) ^ ( nat.hashCode ( ) ) ; }

Target:
public final int hashCode ( ) { return ( ( ( definingClass.hashCode ( ) ) * 31 ) + ( ( name.hashCode ( ) ) * 31 ) ) + ( nat.hashCode ( ) ) ; }
Source:
private java.lang.String readPlainFile ( java.io.File file ) { try { return com.android.tools.lint.detector.api.LintUtils.getEncodedString ( file ) ; } catch ( java.io.IOException e ) { return "" ; } }

Target:
private java.lang.String readPlainFile ( java.io.File file ) { try { return com.android.tools.lint.detector.api.LintUtils.getEncodedString ( this , file ) ; } catch ( java.io.IOException e ) { return "" ; } }
Source:
private void checkGraphic ( java.lang.String baseName ) throws java.io.IOException { com.android.assetstudiolib.MenuIconGenerator generator = new com.android.assetstudiolib.MenuIconGenerator ( ) ; checkGraphic ( 4 , "menus" , baseName , generator , new com.android.assetstudiolib.GraphicGenerator.Options ( ) ) ; }

Target:
private void checkGraphic ( java.lang.String baseName ) throws java.io.IOException { com.android.assetstudiolib.MenuIconGenerator generator = new com.android.assetstudiolib.MenuIconGenerator ( ) ; checkGraphic ( 3 , "menus" , baseName , generator , new com.android.assetstudiolib.GraphicGenerator.Options ( ) ) ; }
Source:
public synchronized int getCurrentIndex ( ) { throw new android.webkit.MustOverrideException ( ) ; }

Target:
public abstract int getCurrentIndex ( ) ;
Source:
public void incProgress ( int delta ) { assert ( mIncCoef ) > 0 ; assert delta > 0 ; internalIncProgress ( ( delta * ( mIncCoef ) ) ) ; }

Target:
public void incProgress ( int delta ) { if ( ( delta > 0 ) && ( ( mIncCoef ) > 0 ) ) { internalIncProgress ( ( delta * ( mIncCoef ) ) ) ; } }
Source:
public java.util.Map < java.lang.String , com.android.builder.model.AndroidProject > getAllModelsIgnoringSyncIssues ( ) { return getAllModels ( new com.android.build.gradle.integration.common.fixture.GetAndroidModelAction ( ) , false ) ; }

Target:
public java.util.Map < java.lang.String , com.android.builder.model.AndroidProject > getAllModelsIgnoringSyncIssues ( ) { return getAllModels ( new com.android.build.gradle.integration.common.fixture.GetAndroidModelAction ( ) , false , null , null ) ; }
Source:
public void onRemoveTab ( android.view.View v ) { final android.app.ActionBar bar = getActionBar ( ) ; bar.removeTabAt ( ( ( bar.getTabCount ( ) ) - 1 ) ) ; }

Target:
public void onRemoveTab ( android.view.View v ) { final android.app.ActionBar bar = getActionBar ( ) ; if ( ( bar.getTabCount ( ) ) > 0 ) { bar.removeTabAt ( ( ( bar.getTabCount ( ) ) - 1 ) ) ; } }
Source:
public boolean onSurfaceTextureDestroyed ( android.graphics.SurfaceTexture surface ) { mCamera.stopPreview ( ) ; mCamera.release ( ) ; return true ; }

Target:
public boolean onSurfaceTextureDestroyed ( android.graphics.SurfaceTexture surface ) { if ( ( mCamera ) != null ) { mCamera.stopPreview ( ) ; mCamera.release ( ) ; } return true ; }
Source:
public boolean isTurningOn ( ) { boolean isTurningOn = mPendingCommandState.isTurningOn ( ) ; verboseLog ( ( "isTurningOn()=" + isTurningOn ) ) ; return isTurningOn ; }

Target:
public boolean isTurningOn ( ) { return mPendingCommandState.isTurningOn ( ) ; }
Source:
public void testForName_IllegalName ( ) { try { java.nio.charset.Charset.forName ( " ///#$$" ) ; fail ( "Should throw IllegalCharsetNameException!" ) ; } catch ( java.nio.charset.IllegalCharsetNameException e ) { } }

Target:
public void testForName_IllegalName ( ) { try { java.nio.charset.Charset.forName ( " ///#$$" ) ; fail ( ) ; } catch ( java.nio.charset.IllegalCharsetNameException expected ) { } }
Source:
private void addChildAt ( int index , com.android.ide.eclipse.adt.internal.editors.layout.gle2.CanvasViewInfo child ) { mChildren.add ( index , child ) ; }

Target:
private void addChild ( com.android.ide.eclipse.adt.internal.editors.layout.gle2.CanvasViewInfo child ) { mChildren.add ( child ) ; }
Source:
private void log ( java.lang.String msg ) { android.telephony.Rlog.d ( com.android.internal.telephony.sip.SipConnectionBase.LOG_TAG , ( "[SipConn] " + msg ) ) ; }

Target:
private void log ( java.lang.String msg ) { android.telephony.Rlog.d ( com.android.internal.telephony.sip.SipConnectionBase.LOG_TAG , msg ) ; }
Source:
public void report ( @ 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 ) { if ( mDriver.isSuppressed ( issue , compilationUnit ) ) { return ; } super . report ( issue , location , message , data ) ; }

Target:
public void report ( @ 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 ) { if ( mDriver.isSuppressed ( this , issue , compilationUnit ) ) { return ; } super . report ( issue , location , message , data ) ; }
Source:
public static void deleteAllVoicemail ( @ android.support.annotation.NonNull android.content.Context context ) { com.android.dialer.common.Assert.isWorkerThread ( ) ; context.getContentResolver ( ) . delete ( android.provider.VoicemailContract.Voicemails.buildSourceUri ( context.getPackageName ( ) ) , "" , new java.lang.String [ ] { } ) ; }

Target:
public static void deleteAllVoicemail ( @ android.support.annotation.NonNull android.content.Context context ) { com.android.dialer.common.Assert.isWorkerThread ( ) ; context.getContentResolver ( ) . delete ( android.provider.VoicemailContract.Voicemails.buildSourceUri ( context.getPackageName ( ) ) , null , null ) ; }
Source:
private final native long seekAsset ( int asset , long offset , int whence ) ;

Target:
private final native long seekAsset ( long asset , long offset , int whence ) ;
Source:
public void testNullHandle ( ) { android.content.Intent intent = new android.content.Intent ( android.content.Intent.ACTION_CALL , null ) ; int result = processIntent ( intent , true ) ; assertEquals ( DisconnectCause.INVALID_NUMBER , result ) ; verifyNoBroadcastSent ( ) ; verifyNoCallPlaced ( ) ; }

Target:
public void testNullHandle ( ) { android.content.Intent intent = new android.content.Intent ( android.content.Intent.ACTION_CALL , null ) ; int result = processIntent ( intent , true ) ; org.junit.Assert.assertEquals ( DisconnectCause.INVALID_NUMBER , result ) ; verifyNoBroadcastSent ( ) ; verifyNoCallPlaced ( ) ; }
Source:
public static long $noinline$UShr60And7 ( long arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( arg > > > 60 ) & 7 ; }

Target:
public static long $noinline$UShr60And7 ( long arg ) { return ( arg > > > 60 ) & 7 ; }
Source:
protected void handleNewUpstreamNetworkState ( android.net.NetworkState ns ) { mIPv6TetheringCoordinator.updateUpstreamNetworkState ( ns ) ; mOffloadController.setUpstreamLinkProperties ( ns.linkProperties ) ; }

Target:
protected void handleNewUpstreamNetworkState ( android.net.NetworkState ns ) { mIPv6TetheringCoordinator.updateUpstreamNetworkState ( ns ) ; mOffloadController.setUpstreamLinkProperties ( ( ns != null ? ns.linkProperties : null ) ) ; }
Source:
private final native int readAsset ( int asset , byte [ ] b , int off , int len ) ;

Target:
private final native int readAsset ( long asset , byte [ ] b , int off , int len ) ;
Source:
public void onVideoCallProviderChanged ( com.android.server.telecom.Call call ) { updateCall ( call , true ) ; }

Target:
public void onVideoCallProviderChanged ( com.android.server.telecom.Call call ) { updateCall ( call , true , false ) ; }
Source:
public void testPass2 ( ) { addTestLog ( "test2_log" , LogDataType.TEXT , new com.android.tradefed.result.ByteArrayInputStreamSource ( "test_log" . getBytes ( ) ) ) ; addTestMetric ( "key2" , "metric2" ) ; BRANCH ( 6.0F ) ; com.android.tradefed.testtype.a5fd Merge ; }

Target:
public void testPass2 ( ) { addTestLog ( "test2_log" , LogDataType.TEXT , new com.android.tradefed.result.ByteArrayInputStreamSource ( "test_log" . getBytes ( ) ) ) ; addTestMetric ( "key2" , "metric2" ) ; }
Source:
private boolean isSet ( int position ) { return bitString [ position ] ; }

Target:
private boolean isSet ( int position ) { return ( position < ( bitString.length ) ) && ( bitString [ position ] ) ; }
Source:
private java.lang.String getPackage ( org.w3c.dom.Element element ) { if ( ( mPackage ) == null ) { return element.getOwnerDocument ( ) . getDocumentElement ( ) . getAttribute ( com.android.SdkConstants.ATTR_PACKAGE ) ; } return mPackage ; }

Target:
private java.lang.String getPackage ( org.w3c.dom.Element element ) { if ( ( mPackage ) == null ) { mPackage = element.getOwnerDocument ( ) . getDocumentElement ( ) . getAttribute ( com.android.SdkConstants.ATTR_PACKAGE ) ; } return mPackage ; }