auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
static com.android.bluetooth.hfp.HeadsetStateMachine make ( com.android.bluetooth.hfp.HeadsetService context ) { android.util.Log.d ( com.android.bluetooth.hfp.HeadsetStateMachine.TAG , "make" ) ; com.android.bluetooth.hfp.HeadsetStateMachine hssm = new com.android.bluetooth.hfp.HeadsetStateMachine ( context ) ; hssm.start ( ) ; return hssm ; }

Target:
static com.android.bluetooth.hfp.HeadsetStateMachine make ( com.android.bluetooth.hfp.HeadsetService service , android.os.Looper looper , com.android.bluetooth.hfp.HeadsetNativeInterface nativeInterface ) { android.util.Log.i ( com.android.bluetooth.hfp.HeadsetStateMachine.TAG , "make" ) ; com.android.bluetooth.hfp.HeadsetStateMachine stateMachine = new com.android.bluetooth.hfp.HeadsetStateMachine ( service , looper , nativeInterface ) ; stateMachine.start ( ) ; return stateMachine ; }
Source:
public int setProvisionedValue ( int item , int value ) throws android.os.RemoteException { return ImsConfig.OperationStatusConstants.FAILED ; }

Target:
public void setFeatureValue ( int feature , int network , int value , com.android.ims.ImsConfigListener listener ) throws android.os.RemoteException { }
Source:
protected void setMountPoint ( com.android.tradefed.device.ITestDevice device ) { java.lang.String mountPoint = device.getMountPoint ( IDevice.MNT_EXTERNAL_STORAGE ) ; mBaseDeviceShortDir = java.lang.String.format ( "%s/test/bbb_short/" , mountPoint ) ; mBaseDeviceFullDir = java.lang.String.format ( "%s/test/bbb_full/" , mountPoint ) ; }

Target:
protected void setMountPoint ( com.android.tradefed.device.ITestDevice device ) { java.lang.String mountPoint = device.getMountPoint ( IDevice.MNT_EXTERNAL_STORAGE ) ; mBaseDeviceShortDir = java.lang.String.format ( "%s/test/bbb_short/" , mountPoint ) ; mBaseDeviceFullDir = java.lang.String.format ( "%s/test/bbb_full/" , mountPoint ) ; mBaseDeviceImagesDir = java.lang.String.format ( "%s/test/images/" , mountPoint ) ; }
Source:
public android.net.NetworkStats getSummaryForNetwork ( android.net.NetworkTemplate template , long start , long end ) { @ com.android.server.net.NetworkStatsAccess.Level int accessLevel = checkAccessLevel ( mCallingPackage ) ; return internalGetSummaryForNetwork ( template , start , end , accessLevel ) ; }

Target:
public android.net.NetworkStatsHistory getHistoryForNetwork ( android.net.NetworkTemplate template , int fields ) { return internalGetHistoryForNetwork ( template , flags , fields , mAccessLevel , mCallingUid ) ; }
Source:
private boolean hasCodec ( ) { return android.cts.util.MediaUtils.hasCodecForResourceAndDomain ( mContext , R.raw.testvideo , "video/" ) ; }

Target:
private boolean hasCodec ( ) { return android.cts.util.MediaUtils.hasCodecForResourceAndDomain ( mContext , R.raw.testthumbvideo , "video/" ) ; }
Source:
public void enter ( ) { infoLog ( "Entering OnState" ) ; com.android.bluetooth.btservice.AdapterService adapterService = mAdapterService ; if ( adapterService == null ) { errorLog ( "Entered OnState after cleanup" ) ; return ; } adapterService.autoConnect ( ) ; }

Target:
public void enter ( ) { infoLog ( "Entering OnState" ) ; com.android.bluetooth.btservice.AdapterService adapterService = mAdapterService ; if ( adapterService == null ) { errorLog ( "Entered OnState after cleanup" ) ; return ; } adapterService.updateUuids ( ) ; adapterService.autoConnect ( ) ; }
Source:
public com.android.layoutlib.api.SceneResult setProperty ( java.lang.Object objectView , java.lang.String propertyName , java.lang.String propertyValue ) { return SceneStatus.NOT_IMPLEMENTED.getResult ( ) ; }

Target:
public com.android.layoutlib.api.SceneResult setProperty ( java.lang.Object objectView , java.lang.String propertyName , java.lang.String propertyValue ) { return SceneStatus.NOT_IMPLEMENTED.createResult ( ) ; }
Source:
java.net.InetAddress loopbackAddress ( ) ;

Target:
java.net.InetAddress [ ] loopbackAddresses ( ) ;
Source:
static short $opt$IntToShort ( int a ) { return ( ( short ) ( a ) ) ; }

Target:
static short $opt$IntToShort ( int a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( short ) ( a ) ) ; }
Source:
public final void testCreate ( ) { java.util.Properties props = createProps ( ) ; com.android.sdklib.internal.repository.packages.ExtraPackage p = createExtraPackage ( props ) ; testCreatedExtraPackage ( p ) ; }

Target:
public final void testCreate ( ) { java.util.Properties props = createExpectedProps ( ) ; com.android.sdklib.internal.repository.packages.ExtraPackage p = createExtraPackage ( props ) ; testCreatedExtraPackage ( p ) ; }
Source:
private void assertVerifiedForEach ( java.lang.String apkFilenamePatternInResources , java.lang.String [ ] args ) throws java.lang.Exception { assertVerifiedForEach ( apkFilenamePatternInResources , args , null ) ; }

Target:
private void assertVerifiedForEachForMinSdkVersion ( java.lang.String apkFilenameInResources , java.lang.String [ ] args , int minSdkVersion ) throws java.lang.Exception { assertVerifiedForEach ( apkFilenameInResources , args , minSdkVersion , null ) ; }
Source:
private static native void testFindClassOnAttachedNativeThread ( ) ;

Target:
private static native void testCallNonvirtual ( ) ;
Source:
public boolean isPrivileged ( ) { return ( ( pkgFlags ) & ( android.content.pm.ApplicationInfo.FLAG_PRIVILEGED ) ) != 0 ; }

Target:
public boolean isPrivileged ( ) { return ( ( pkgPrivateFlags ) & ( android.content.pm.ApplicationInfo.PRIVATE_FLAG_PRIVILEGED ) ) != 0 ; }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder clearEndTime ( ) { bitField0_ = ( bitField0_ ) & ( ~ 256 ) ; endTime_ = 0L ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setSuiteNameBytes ( com.android.vts.proto.ByteString value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 2048 ; suiteName_ = value ; onChanged ( ) ; return this ; }
Source:
void addConferenceCall ( java.lang.String callId , android.telecom.ParcelableConference parcelableConference ) { for ( com.android.internal.telecom.IConnectionServiceAdapter adapter : mAdapters ) { try { adapter.addConferenceCall ( callId , parcelableConference ) ; } catch ( android.os.RemoteException ignored ) { } } }

Target:
void onPostDialChar ( java.lang.String callId , char nextChar ) { for ( com.android.internal.telecom.IConnectionServiceAdapter adapter : mAdapters ) { try { adapter.onPostDialChar ( callId , nextChar , android.telecom.Log.getExternalSession ( ) ) ; } catch ( android.os.RemoteException ignored ) { } } }
Source:
public void onAvailabilityChanged ( boolean isAvailable ) { mListener.onConnectivityChange ( ) ; }

Target:
public void onAvailabilityChanged ( java.lang.String iface , boolean isAvailable ) { mListener.onConnectivityChange ( ) ; }
Source:
public java.util.List < android.content.pm.IntentFilterVerificationInfo > getIntentFilterVerifications ( java.lang.String packageName ) { synchronized ( mPackages ) { return mSettings.getIntentFilterVerificationsLPr ( packageName ) ; } }

Target:
public android.content.pm.ParceledListSlice < android.content.pm.IntentFilterVerificationInfo > getIntentFilterVerifications ( java.lang.String packageName ) { synchronized ( mPackages ) { return new android.content.pm.ParceledListSlice ( mSettings.getIntentFilterVerificationsLPr ( packageName ) ) ; } }
Source:
public boolean onScroll ( android.view.MotionEvent e1 , android.view.MotionEvent e2 , float distanceX , float distanceY ) { if ( mTransformsEnabled ) { translate ( ( - distanceX ) , ( - distanceY ) ) ; } return true ; }

Target:
public boolean onScroll ( android.view.MotionEvent e1 , android.view.MotionEvent e2 , float distanceX , float distanceY ) { if ( ( mTransformsEnabled ) && ( ! ( mScaleRunnable.mRunning ) ) ) { translate ( ( - distanceX ) , ( - distanceY ) ) ; } return true ; }
Source:
public void setUiTTYMode ( int sessionId , int uiTtyMode , android.os.Message onComplete ) throws android.os.RemoteException { synchronized ( mLock ) { checkBinderConnection ( ) ; getServiceInterface ( mBinder ) . setUiTTYMode ( mSlotId , mSupportedFeature , sessionId , uiTtyMode , onComplete ) ; } }

Target:
public com.android.ims.internal.IImsMultiEndpoint getMultiEndpointInterface ( ) throws android.os.RemoteException { synchronized ( mLock ) { checkBinderConnection ( ) ; return getServiceInterface ( mBinder ) . getMultiEndpointInterface ( mSlotId , mSupportedFeature ) ; } }
Source:
public void run ( ) { mListView.setAdapter ( mAdapter_countries ) ; }

Target:
, @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , method = "getMaxScrollAmount" , args = { } ) } ) public void testGetMaxScrollAmount ( ) { setAdapter ( mAdapter_empty ) ; int scrollAmount = mListView.getMaxScrollAmount ( ) ; assertEquals ( 0 , scrollAmount ) ; setAdapter ( mAdapter_names ) ; scrollAmount = mListView.getMaxScrollAmount ( ) ; assertTrue ( ( scrollAmount > 0 ) ) ; }
Source:
protected void processWord ( byte [ ] in , int inOff ) { W [ wOff ] = org.bouncycastle.crypto.util.Pack.bigEndianToLong ( in , inOff ) ; if ( ( ++ ( wOff ) ) == 16 ) { processBlock ( ) ; } }

Target:
protected void processWord ( byte [ ] in , int inOff ) { W [ wOff ] = org.bouncycastle.util.Pack.bigEndianToLong ( in , inOff ) ; if ( ( ++ ( wOff ) ) == 16 ) { processBlock ( ) ; } }
Source:
public java.lang.String [ ] getHeader ( ) { return com.android.sched.util.log.stats.Alloc.HEADER.clone ( ) ; }

Target:
public synchronized java.util.Iterator < java.lang.Object > iterator ( ) { return com.google.common.collect.Iterators.< java.lang.Object > forArray ( java.lang.Long.valueOf ( getNumber ( ) ) , java.lang.Long.valueOf ( getSize ( ) ) ) ; }
Source:
public java.util.List < com.android.jack.ir.ast.cfg.JBasicBlockElement > getElements ( final boolean forward ) { com.google.common.collect.ImmutableList < com.android.jack.ir.ast.cfg.JBasicBlockElement > list = com.google.common.collect.ImmutableList.copyOf ( elements ) ; return forward ? list : list.reverse ( ) ; }

Target:
public java.util.List < com.android.jack.ir.ast.cfg.JBasicBlockElement > getElements ( boolean forward ) { return forward ? com.android.jack.Jack.getUnmodifiableCollections ( ) . getUnmodifiableList ( elements ) : com.google.common.collect.ImmutableList.copyOf ( elements ) . reverse ( ) ; }
Source:
public void modifyText ( org.eclipse.swt.events.ModifyEvent e ) { updateAppliedFilters ( ) ; }

Target:
public void run ( ) { showFindDialog ( ) ; }
Source:
void traverse ( @ javax.annotation.Nonnull com.android.sched.scheduler.ScheduleInstance < ? super com.android.sched.item.Component > schedule ) throws java.lang.Exception { for ( com.android.jack.ir.ast.JAnnotationLiteral annotation : annotations.values ( ) ) { annotation.traverse ( schedule ) ; } }

Target:
void traverse ( @ javax.annotation.Nonnull com.android.sched.scheduler.ScheduleInstance < ? super com.android.sched.item.Component > schedule ) throws java.lang.Exception { for ( java.util.List < com.android.jack.ir.ast.JAnnotationLiteral > annotationLiterals : annotations.values ( ) ) { for ( com.android.jack.ir.ast.JAnnotationLiteral annotation : annotationLiterals ) { annotation.traverse ( schedule ) ; } } }
Source:
public static double DoubleSubtraction ( ) { double a ; double b ; double c ; a = Main.$inline$double ( 6.0 ) ; b = Main.$inline$double ( 2.0 ) ; c = a - b ; return c ; }

Target:
public static double DoubleMultiplication ( ) { double a ; double b ; double c ; a = 7.0 ; b = 3.0 ; c = a * b ; return c ; }
Source:
public void testFragments ( ) throws java.lang.Exception { assertEquals ( "No warnings." , lintProject ( "bytecode/FragmentTest$Fragment1.class.data=>bin/classes/test/pkg/FragmentTest$Fragment1.class" , "bytecode/FragmentTest$Fragment2.class.data=>bin/classes/test/pkg/FragmentTest$Fragment2.class" , "bytecode/FragmentTest$Fragment3.class.data=>bin/classes/test/pkg/FragmentTest$Fragment3.class" , "bytecode/FragmentTest$Fragment4.class.data=>bin/classes/test/pkg/FragmentTest$Fragment4.class" , "bytecode/FragmentTest$Fragment5.class.data=>bin/classes/test/pkg/FragmentTest$Fragment5.class" , "bytecode/FragmentTest$Fragment6.class.data=>bin/classes/test/pkg/FragmentTest$Fragment6.class" , "bytecode/FragmentTest$NotAFragment.class.data=>bin/classes/test/pkg/FragmentTest$NotAFragment.class" , "bytecode/FragmentTest.java.txt=>src/test/pkg/FragmentTest.java" ) ) ; }

Target:
public void testFragments ( ) throws java.lang.Exception { mScopes = com.android.tools.lint.detector.api.Scope.MANIFEST_SCOPE ; mEnabled = com.google.common.collect.Sets.newHashSet ( com.android.tools.lint.checks.MissingClassDetector.MISSING , com.android.tools.lint.checks.MissingClassDetector.INSTANTIATABLE , com.android.tools.lint.checks.MissingClassDetector.INNERCLASS ) ; assertEquals ( "No warnings." , lintProject ( "bytecode/FragmentTest$Fragment1.class.data=>bin/classes/test/pkg/FragmentTest$Fragment1.class" , "bytecode/FragmentTest$Fragment2.class.data=>bin/classes/test/pkg/FragmentTest$Fragment2.class" , "bytecode/FragmentTest$Fragment3.class.data=>bin/classes/test/pkg/FragmentTest$Fragment3.class" , "bytecode/FragmentTest$Fragment4.class.data=>bin/classes/test/pkg/FragmentTest$Fragment4.class" , "bytecode/FragmentTest$Fragment5.class.data=>bin/classes/test/pkg/FragmentTest$Fragment5.class" , "bytecode/FragmentTest$Fragment6.class.data=>bin/classes/test/pkg/FragmentTest$Fragment6.class" , "bytecode/FragmentTest$NotAFragment.class.data=>bin/classes/test/pkg/FragmentTest$NotAFragment.class" , "bytecode/FragmentTest.java.txt=>src/test/pkg/FragmentTest.java" ) ) ; }
Source:
public boolean execute ( com.intellij.updater.UpdaterUI ui ) throws com.intellij.updater.OperationCancelledException { com.intellij.updater.Runner.logger.info ( ( "installing patch to the " + destFolder ) ) ; return com.intellij.updater.Runner.doInstall ( ui , destFolder ) ; }

Target:
public boolean execute ( com.intellij.updater.UpdaterUI ui ) throws com.intellij.updater.OperationCancelledException { com.intellij.updater.Runner.logger.info ( ( "installing patch to the " + destFolder ) ) ; return com.intellij.updater.Runner.doInstall ( jarFile , ui , destFolder ) ; }
Source:
private com.android.server.wifi.ScanResults createDummyScanResults ( ) { return com.android.server.wifi.ScanResults.create ( 0 , 2400 , 2450 , 2450 , 2400 , 2450 , 2450 , 2400 , 2450 , 2450 ) ; }

Target:
private com.android.server.wifi.ScanResults createDummyScanResults ( boolean allChannelsScanned ) { return com.android.server.wifi.ScanResults.create ( 0 , allChannelsScanned , 2400 , 2450 , 2450 , 2400 , 2450 , 2450 , 2400 , 2450 , 2450 ) ; }
Source:
public void checkValidity ( ) { }

Target:
public void checkValidity ( ) { for ( com.android.jack.ir.ast.cfg.JBasicBlock block : this . getAllBlocksUnordered ( ) ) { block.checkValidity ( ) ; } }
Source:
public void test_RSA_size_null_key_Failure ( ) throws java.lang.Exception { try { org.conscrypt.NativeCrypto.RSA_size ( null ) ; org.junit.Assert.fail ( "Expecting null pointer exception for RSA_size with null key" ) ; } catch ( java.lang.NullPointerException expected ) { } }

Target:
public void RSA_size_NullArgumentFailure ( ) throws java.lang.Exception { org.conscrypt.NativeCrypto.RSA_size ( null ) ; }
Source:
public java.util.Collection < V > remove ( java.lang.Object key ) { return containsKey ( key ) ? multimap ( ) . removeAll ( key ) : null ; }

Target:
public boolean containsKey ( java.lang.Object key ) { return multimap.containsKey ( key ) ; }
Source:
public void proguardFile ( java.lang.Object proguardFile ) { proguardFiles.add ( project.file ( proguardFile ) ) ; }

Target:
public void proguardFile ( @ com.android.annotations.NonNull java.lang.Object proguardFile ) { getProguardFiles ( ) . add ( project.file ( proguardFile ) ) ; }
Source:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JAnnotationLiteral annotationLiteral ) { newNode = new com.android.jack.jayce.v0002.nodes.NAnnotationLiteral ( ) ; return false ; }

Target:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JAnnotation annotation ) { newNode = new com.android.jack.jayce.v0002.nodes.NAnnotation ( ) ; return false ; }
Source:
public void addInnerElement ( com.android.ide.eclipse.adt.internal.editors.layout.gle2.SimpleElement e ) { mElements.add ( e ) ; }

Target:
public void addInnerElement ( com.android.ide.eclipse.adt.internal.editors.layout.gle2.SimpleElement e ) { mCachedElements = null ; mElements.add ( e ) ; }
Source:
public java.lang.String get ( int index ) { com.android.jack.dx.io.DexBuffer.checkBounds ( index , tableOfContents.stringIds.size ) ; return open ( ( ( tableOfContents.stringIds.off ) + ( index * ( com.android.jack.dx.dex.SizeOf.STRING_ID_ITEM ) ) ) ) . readString ( ) ; }

Target:
public com.android.jack.dx.io.ProtoId get ( int index ) { com.android.jack.dx.io.DexBuffer.checkBounds ( index , tableOfContents.protoIds.size ) ; return open ( ( ( tableOfContents.protoIds.off ) + ( ( com.android.jack.dx.dex.SizeOf.PROTO_ID_ITEM ) * index ) ) ) . readProtoId ( ) ; }
Source:
private boolean runDeviceTests ( java.lang.String pkgName ) { com.android.cts.appsecurity.AppSecurityTests.CollectingTestRunListener listener = doRunTests ( pkgName ) ; return listener.didAllTestsPass ( ) ; }

Target:
private boolean runDeviceTests ( java.lang.String pkgName , java.lang.String testClassName , java.lang.String testMethodName ) { com.android.cts.appsecurity.AppSecurityTests.CollectingTestRunListener listener = doRunTests ( pkgName , testClassName , testMethodName ) ; return listener.didAllTestsPass ( ) ; }
Source:
void setupDataCall ( int radioTechnology , com.android.internal.telephony.dataconnection.DataProfile dataProfile , boolean isRoaming , boolean allowRoaming , android.os.Message result ) ;

Target:
void setupDataCall ( int accessNetworkType , android.telephony.data.DataProfile dataProfile , boolean isRoaming , boolean allowRoaming , int reason , android.net.LinkProperties linkProperties , android.os.Message result ) ;
Source:
public static < T > org.hamcrest.org.hamcrest.Matcher < T > anyOf ( org.hamcrest.org.hamcrest.Matcher ... matchers ) { return org.hamcrest.core.AnyOf.< org.hamcrest.T > anyOf ( matchers ) ; }

Target:
public static < T > org.hamcrest.core.AnyOf < T > anyOf ( org.hamcrest.org.hamcrest.Matcher ... matchers ) { return org.hamcrest.core.AnyOf.< org.hamcrest.T > anyOf ( matchers ) ; }
Source:
public com.android.sched.vfs.OutputVDir getRootOutputVDir ( ) { assert ! ( closed ) ; return root ; }

Target:
public com.android.sched.vfs.InputOutputVDir getRootInputOutputVDir ( ) { assert ! ( isClosed ( ) ) ; return root ; }
Source:
public static void setsockoptGroupSourceReq ( java.io.FileDescriptor fd , int level , int option , android.system.StructGroupSourceReq value ) throws android.system.ErrnoException { Libcore.os.setsockoptGroupSourceReq ( fd , level , option , value ) ; }

Target:
public static android.system.StructRlimit getrlimit ( int resource ) throws android.system.ErrnoException { return Libcore.os.getrlimit ( resource ) ; }
Source:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDynamicCastOperation x ) { expression = new com.android.jack.ir.ast.JDynamicCastOperation ( x.getSourceInfo ( ) , x.getCastType ( ) , cloneExpression ( x.getExpr ( ) ) ) ; return false ; }

Target:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDynamicCastOperation x ) { expression = new com.android.jack.ir.ast.JDynamicCastOperation ( x.getSourceInfo ( ) , cloneExpression ( x.getExpr ( ) ) , x.getTypes ( ) ) ; return false ; }
Source:
public void onUnhold ( ) { setActive ( ) ; }

Target:
public void onUnhold ( ) { if ( ( mMediaPlayer ) != null ) { mMediaPlayer.start ( ) ; } setActive ( ) ; }
Source:
public void addAttribute ( com.android.ide.eclipse.adt.internal.editors.layout.gle2.SimpleAttribute attr ) { mAttributes.add ( attr ) ; }

Target:
public void addAttribute ( com.android.ide.eclipse.adt.internal.editors.layout.gle2.SimpleAttribute attr ) { mCachedAttributes = null ; mAttributes.add ( attr ) ; }
Source:
public void copyTo ( byte [ ] d ) { validateIsInt8 ( ) ; mRS.validate ( ) ; mRS.nAllocationRead ( getID ( mRS ) , d ) ; }

Target:
private void copyTo ( java.lang.Object array , android.support.v8.renderscript.Element.DataType dt , int arrayLen ) { mRS.validate ( ) ; mRS.nAllocationRead ( getID ( mRS ) , array , dt ) ; }
Source:
public boolean hasResourcesOfType ( com.android.resources.ResourceType type ) { java.util.List < com.android.ide.eclipse.adt.internal.resources.manager.ResourceItem > items = mResourceMap.get ( type ) ; return ( items != null ) && ( ( items.size ( ) ) > 0 ) ; }

Target:
public boolean hasResourcesOfType ( com.android.resources.ResourceType type ) { java.util.List < com.android.ide.common.resources.ResourceItem > items = mResourceMap.get ( type ) ; return ( items != null ) && ( ( items.size ( ) ) > 0 ) ; }
Source:
private com.android.manifmerger.IMergerLog.FileAndLine xmlFileAndLine ( @ com.android.annotations.NonNull org.w3c.dom.Node node ) { return com.android.manifmerger.XmlUtils.xmlFileAndLine ( node ) ; }

Target:
private com.android.manifmerger.IMergerLog.FileAndLine xmlFileAndLine ( @ com.android.annotations.NonNull org.w3c.dom.Node node ) { return com.android.manifmerger.MergerXmlUtils.xmlFileAndLine ( node ) ; }
Source:
com.android.server.telecom.MissedCallNotifier makeMissedCallNotifierImpl ( android.content.Context context , com.android.server.telecom.PhoneAccountRegistrar phoneAccountRegistrar ) ;

Target:
com.android.server.telecom.MissedCallNotifier makeMissedCallNotifierImpl ( android.content.Context context , com.android.server.telecom.PhoneAccountRegistrar phoneAccountRegistrar , com.android.server.telecom.DefaultDialerCache defaultDialerCache ) ;
Source:
public void testE2 ( ) { dot.junit.opcodes.iget_byte.d.T_iget_byte_9 t = new dot.junit.opcodes.iget_byte.d.T_iget_byte_9 ( ) ; try { t.run ( ) ; fail ( "expected NullPointerException" ) ; } catch ( java.lang.NullPointerException e ) { } }

Target:
public void testE2 ( ) { loadAndRun ( "dot.junit.opcodes.iget_byte.d.T_iget_byte_9" , java.lang.NullPointerException.class ) ; }
Source:
public static int IntMatCond_IntVarVar ( int a , int b , int x , int y ) { int result = ( a > b ) ? x : y ; return result + ( a > b ? 0 : 1 ) ; }

Target:
public static int IntNonmatCond_IntVarVar ( int a , int b , int x , int y ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return a > b ? x : y ; }
Source:
public java.lang.String getLastSelectedNetworkConfigKey ( ) { android.net.wifi.WifiConfiguration config = getInternalConfiguredNetwork ( mLastSelectedNetworkId ) ; if ( config == null ) { return "" ; } return config.configKey ( ) ; }

Target:
public java.lang.String getLastSelectedNetworkConfigKey ( ) { if ( ( mLastSelectedNetworkId ) == ( android.net.wifi.WifiConfiguration.INVALID_NETWORK_ID ) ) { return "" ; } android.net.wifi.WifiConfiguration config = getInternalConfiguredNetwork ( mLastSelectedNetworkId ) ; if ( config == null ) { return "" ; } return config.configKey ( ) ; }
Source:
public void visitLocalVariableTypeTableAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.CodeAttribute codeAttribute , proguard.classfile.attribute.visitor.LocalVariableTypeTableAttribute localVariableTypeTableAttribute ) { if ( ( localVariableTypeTableAttribute.u2localVariableTypeTableLength ) > 0 ) { localVariableTypeTableAttribute.accept ( clazz , method , codeAttribute , 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 boolean isDataConnectivityPossible ( ) { int subId = mSubscriptionController.getDefaultDataSubId ( ) ; final com.android.internal.telephony.Phone phone = getPhone ( subId ) ; if ( phone != null ) { return phone.isDataConnectivityPossible ( ) ; } else { return false ; } }

Target:
public boolean isDataConnectivityPossible ( int subId ) { final com.android.internal.telephony.Phone phone = getPhone ( subId ) ; if ( phone != null ) { return phone.isDataAllowed ( ) ; } else { return false ; } }
Source:
public void onAudioQualityChanged ( int audioQuality ) { setAudioQuality ( audioQuality ) ; }

Target:
public void onCallPullFailed ( android.telecom.Connection externalConnection ) { if ( externalConnection == null ) { return ; } com.android.services.telephony.Log.i ( this , "onCallPullFailed - pull failed; swapping back to call: %s" , externalConnection ) ; sendConnectionEvent ( Connection.EVENT_CALL_PULL_FAILED , null ) ; setOriginalConnection ( externalConnection ) ; setActiveInternal ( ) ; }
Source:
public com.android.ims.internal.IImsMultiEndpoint getMultiEndpointInterface ( ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; return getServiceInterface ( mBinder ) . getMultiEndpointInterface ( mSlotId , mSupportedFeature ) ; } }

Target:
private java.lang.Integer retrieveFeatureStatus ( ) { if ( ( mBinder ) != null ) { try { return getServiceInterface ( mBinder ) . getFeatureStatus ( ) ; } catch ( android.os.RemoteException e ) { } } return null ; }
Source:
private static java.util.List < com.android.server.wifi.hotspot2.anqp.Constants.ANQPElementType > buildQueryList ( ) { java.util.List < com.android.server.wifi.hotspot2.anqp.Constants.ANQPElementType > list = java.util.Arrays.asList ( Constants.ANQPElementType.class . getEnumConstants ( ) ) ; return list ; }

Target:
public void addAndGetEntry ( ) throws java.lang.Exception { mCache.addEntry ( com.android.server.wifi.hotspot2.AnqpCacheTest.ENTRY_KEY , null ) ; com.android.server.wifi.hotspot2.ANQPData data = mCache.getEntry ( com.android.server.wifi.hotspot2.AnqpCacheTest.ENTRY_KEY ) ; org.junit.Assert.assertNotNull ( data ) ; org.junit.Assert.assertTrue ( data.getElements ( ) . isEmpty ( ) ) ; }
Source:
private static native void startMethodTracingNative ( java.lang.String traceFileName , java.io.FileDescriptor fd , int bufferSize , int flags ) ;

Target:
private static native void startMethodTracingFd ( java.lang.String traceFileName , java.io.FileDescriptor fd , int bufferSize , int flags ) ;
Source:
public void TestDataDrivenJDK ( ) { if ( ( android.icu.dev.test.TestUtil.getJavaVendor ( ) ) == ( TestUtil.JavaVendor.Android ) ) return ; android.icu.dev.test.format.DataDrivenNumberFormatTestSuite.runSuite ( this . params , "numberformattestspecification.txt" , JDK ) ; }

Target:
public void TestDataDrivenJDK ( ) { if ( ( android.icu.dev.test.TestUtil.getJavaVendor ( ) ) == ( TestUtil.JavaVendor.Android ) ) return ; android.icu.dev.test.format.DataDrivenNumberFormatTestUtility.runSuite ( "numberformattestspecification.txt" , JDK ) ; }
Source:
public java.lang.String getName ( ) { return com.android.sched.vfs.ZipUtils.getSimpleName ( entry ) ; }

Target:
public java.lang.String getName ( ) { return com.android.sched.vfs.ZipUtils.getFileSimpleName ( entry ) ; }
Source:
protected void standardClear ( ) { java.util.Iterator < com.google.common.collect.Multiset.Entry < E > > entryIterator = entrySet ( ) . iterator ( ) ; while ( entryIterator.hasNext ( ) ) { entryIterator.next ( ) ; entryIterator.remove ( ) ; } }

Target:
protected void standardClear ( ) { com.google.common.collect.Iterators.clear ( entrySet ( ) . iterator ( ) ) ; }
Source:
public void run ( ) { try { write ( true ) ; } finally { mBackgroundWriteRunning.set ( false ) ; } }

Target:
public void run ( ) { try { writeInternal ( ) ; } finally { mBackgroundWriteRunning.set ( false ) ; } }
Source:
public < T extends java.lang.annotation.Annotation > T [ ] getDeclaredAnnotationsByType ( java.lang.Class < T > annotationClass ) { return libcore.reflect.AnnotatedElements.getDeclaredAnnotationsByType ( this , annotationClass ) ; }

Target:
private native < A extends java.lang.annotation.Annotation > A getDeclaredAnnotation ( java.lang.Class < A > annotationClass ) ;
Source:
public static java.lang.String toUpperCase ( com.ibm.icu.util.ULocale locale , java.lang.String str ) { return com.ibm.icu.impl.CaseMap.toUpper ( locale , str ) ; }

Target:
private static int getCaseLocale ( com.ibm.icu.util.ULocale locale ) { if ( locale == null ) { locale = com.ibm.icu.util.ULocale.getDefault ( ) ; } return com.ibm.icu.impl.UCaseProps.getCaseLocale ( locale ) ; }
Source:
public static void computeAbs ( android.renderscript.cts.TestAbs.ArgumentsCharUchar args ) { args.ulf = 0 ; args.ulfRelaxed = 0 ; args.out = ( ( byte ) ( java.lang.StrictMath.abs ( args.inValue ) ) ) ; }

Target:
public static void computeClamp ( android.renderscript.cts.TestClamp.ArgumentsUshortUshortUshortUshort args ) { args.out = android.renderscript.cts.CoreMathVerifier.minU16 ( args.inMaxValue , android.renderscript.cts.CoreMathVerifier.maxU16 ( args.inValue , args.inMinValue ) ) ; }
Source:
void updateFullLibraryList ( ) { java.util.ArrayList < org.eclipse.core.resources.IProject > list = new java.util.ArrayList < org.eclipse.core.resources.IProject > ( ) ; synchronized ( mLibraries ) { buildFullLibraryDependencies ( mLibraries , list ) ; } mLibraryProjects = list.toArray ( new org.eclipse.core.resources.IProject [ list.size ( ) ] ) ; }

Target:
void updateFullLibraryList ( ) { java.util.ArrayList < org.eclipse.core.resources.IProject > list = new java.util.ArrayList < org.eclipse.core.resources.IProject > ( ) ; synchronized ( mLibraries ) { buildFullLibraryDependencies ( mLibraries , list ) ; } mLibraryProjects = java.util.Collections.unmodifiableList ( list ) ; }
Source:
public boolean mkdir ( ) { try { Libcore.os.mkdir ( path , java.io.S_IRWXU ) ; return true ; } catch ( libcore.io.ErrnoException errnoException ) { return false ; } }

Target:
private void mkdirErrno ( ) throws libcore.io.ErrnoException { Libcore.os.mkdir ( path , java.io.S_IRWXU ) ; }
Source:
public boolean setDeviceType ( int deviceType ) { if ( ( deviceType >= ( android.net.wifi.p2p.WifiP2pWfdInfo.WFD_SOURCE ) ) && ( deviceType <= ( android.net.wifi.p2p.WifiP2pWfdInfo.SOURCE_OR_PRIMARY_SINK ) ) ) { mDeviceInfo |= deviceType ; return true ; } return false ; }

Target:
public boolean setDeviceType ( int deviceType ) { if ( ( deviceType >= ( android.net.wifi.p2p.WifiP2pWfdInfo.WFD_SOURCE ) ) && ( deviceType <= ( android.net.wifi.p2p.WifiP2pWfdInfo.SOURCE_OR_PRIMARY_SINK ) ) ) { mDeviceInfo &= ~ ( android.net.wifi.p2p.WifiP2pWfdInfo.DEVICE_TYPE ) ; mDeviceInfo |= deviceType ; return true ; } return false ; }
Source:
public void replaceUserDevice ( com.android.sdklib.devices.Device d ) { synchronized ( com.android.sdklib.devices.DeviceManager.lock ) { if ( ( com.android.sdklib.devices.DeviceManager.mUserDevices ) == null ) { getUserDevices ( ) ; } removeUserDevice ( d ) ; addUserDevice ( d ) ; } }

Target:
public void replaceUserDevice ( com.android.sdklib.devices.Device d ) { synchronized ( com.android.sdklib.devices.DeviceManager.sLock ) { if ( ( com.android.sdklib.devices.DeviceManager.mUserDevices ) == null ) { getUserDevices ( ) ; } removeUserDevice ( d ) ; addUserDevice ( d ) ; } }
Source:
synchronized int nAllocationCubeCreateFromBitmap ( int type , int mip , android.graphics.Bitmap bmp , int usage ) { validate ( ) ; return rsnAllocationCubeCreateFromBitmap ( mContext , type , mip , bmp , usage ) ; }

Target:
native long rsnAllocationCreateBitmapRef ( long con , long type , android.graphics.Bitmap bmp ) ;
Source:
public void unplug ( long batteryUptime , long batteryRealtime ) { mUnpluggedCount = mPluggedCount ; mCount.set ( mPluggedCount ) ; }

Target:
public void unplug ( long elapsedRealtime , long batteryUptime , long batteryRealtime ) { mUnpluggedCount = mPluggedCount ; mCount.set ( mPluggedCount ) ; }
Source:
public void onCallPlacedFromSearch ( ) { closeSearchOnPause = true ; }

Target:
public void onCallPlacedFromSearch ( ) { closeSearchOnPause = true ; callPlacedFromSearch = true ; }
Source:
public void supplyPuk ( java.lang.String puk , java.lang.String newPin , android.os.Message onComplete ) { synchronized ( mLock ) { mCi.supplyIccPuk ( puk , newPin , onComplete ) ; } }

Target:
public void supplyPuk ( java.lang.String puk , java.lang.String newPin , android.os.Message onComplete ) { synchronized ( mLock ) { mCi.supplyIccPukForApp ( puk , newPin , mAid , mHandler.obtainMessage ( com.android.internal.telephony.uicc.UiccCardApplication.EVENT_PIN1_PUK1_DONE , onComplete ) ) ; } }
Source:
void notifyDisconnect ( com.android.internal.telephony.Connection cn ) { mDisconnectRegistrants.notifyResult ( cn ) ; }

Target:
void notifyDisconnect ( com.android.internal.telephony.Connection cn ) { mDisconnectRegistrants.notifyResult ( cn ) ; mNotifier.notifyDisconnectCause ( cn.getDisconnectCause ( ) , cn.getPreciseDisconnectCause ( ) ) ; }
Source:
private static void changeOrientation ( final android.app.Activity activity , android.app.Instrumentation instrumentation , final int orientation ) { activity.setRequestedOrientation ( orientation ) ; if ( instrumentation != null ) { instrumentation.waitForIdleSync ( ) ; } }

Target:
public void onObserved ( ) { final java.util.concurrent.CountDownLatch latch = mLatch.get ( ) ; if ( latch != null ) { latch.countDown ( ) ; } }
Source:
public long getSize ( com.android.tools.perflib.heap.Instance element , com.android.tools.perflib.heap.Heap heap ) { if ( element == null ) { return com.android.ahat.mSnapshot.getHeapSize ( heap ) ; } int index = com.android.ahat.mSnapshot.getHeapIndex ( heap ) ; return element.getRetainedSize ( index ) ; }

Target:
public long getSize ( com.android.tools.perflib.heap.Instance element , com.android.tools.perflib.heap.Heap heap ) { if ( element == null ) { return mSnapshot.getHeapSize ( heap ) ; } int index = mSnapshot.getHeapIndex ( heap ) ; return element.getRetainedSize ( index ) ; }
Source:
private void sendInterfaceState ( int newInterfaceState ) { mTetherController.notifyInterfaceStateChange ( mIfaceName , this , newInterfaceState , mLastError ) ; }

Target:
private void sendInterfaceState ( int newInterfaceState ) { mTetherController.updateInterfaceState ( this , newInterfaceState , mLastError ) ; mTetherController.updateLinkProperties ( this , new android.net.LinkProperties ( mLinkProperties ) ) ; }
Source:
public static void setUpClass ( ) { com.android.jack.compile.androidtree.core.CoreCompilationTest.class . getClassLoader ( ) . setDefaultAssertionStatus ( true ) ; }

Target:
public static void setUpClass ( ) { com.android.jack.compile.androidtree.core.CoreCompilationTest.class . getClassLoader ( ) . setDefaultAssertionStatus ( true ) ; com.android.jack.compile.androidtree.core.CoreCompilationTest.SOURCELIST = com.android.jack.TestTools.getTargetLibSourcelist ( "core" ) ; }
Source:
public synchronized void onPlaybackStateChanged ( android.media.session.PlaybackState state ) { if ( com.android.bluetooth.avrcp.Avrcp.DEBUG ) android.util.Log.v ( com.android.bluetooth.avrcp.Avrcp.TAG , ( "onPlaybackStateChanged: state " + ( state.toString ( ) ) ) ) ; updateCurrentMediaState ( false ) ; }

Target:
public void onMetadataChanged ( android.media.MediaMetadata metadata ) { if ( com.android.bluetooth.avrcp.Avrcp.DEBUG ) android.util.Log.v ( com.android.bluetooth.avrcp.Avrcp.TAG , "onMetadataChanged" ) ; scheduleMediaUpdate ( ) ; }
Source:
public boolean p2pCancelConnect ( ) { if ( ( com.android.server.wifi.WifiNative.HIDL_ENABLE ) && ( ( mSupplicantP2pIfaceHal ) != null ) ) { return mSupplicantP2pIfaceHal.cancelConnect ( ) ; } else { return doBooleanCommand ( "P2P_CANCEL" ) ; } }

Target:
public boolean p2pCancelConnect ( ) { if ( ( com.android.server.wifi.WifiNative.HIDL_P2P_ENABLE ) && ( ( mSupplicantP2pIfaceHal ) != null ) ) { return mSupplicantP2pIfaceHal.cancelConnect ( ) ; } else { return doBooleanCommand ( "P2P_CANCEL" ) ; } }
Source:
public void setSurface ( android.view.Surface s ) { synchronized ( this ) { mOutSurface = s ; notifyAll ( ) ; } }

Target:
public void update ( ) { synchronized ( this ) { if ( ( mUpdatesPending ) < 2 ) { ( mUpdatesPending ) ++ ; notifyAll ( ) ; } } }
Source:
public static synchronized com.android.incallui.InCallPresenter getInstance ( ) { if ( ( com.android.incallui.InCallPresenter.sInCallPresenter ) == null ) { com.android.incallui.InCallPresenter.sInCallPresenter = new com.android.incallui.InCallPresenter ( ) ; } return com.android.incallui.InCallPresenter.sInCallPresenter ; }

Target:
public static synchronized com.android.incallui.InCallPresenter getInstance ( ) { if ( ( com.android.incallui.InCallPresenter.sInCallPresenter ) == null ) { android.os.Trace.beginSection ( "InCallPresenter.Constructor" ) ; com.android.incallui.InCallPresenter.sInCallPresenter = new com.android.incallui.InCallPresenter ( ) ; android.os.Trace.endSection ( ) ; } return com.android.incallui.InCallPresenter.sInCallPresenter ; }
Source:
public sun.misc.URLClassPath.JarLoader run ( ) throws java.io.IOException { return new sun.misc.URLClassPath.JarLoader ( url , handler , lmap ) ; }

Target:
public sun.misc.URLClassPath.JarLoader run ( ) throws java.io.IOException { return new sun.misc.URLClassPath.JarLoader ( url , handler , lmap , acc ) ; }
Source:
public static com.android.server.wifi.WifiConfigStoreNew.StoreFile createSharedFile ( ) { return com.android.server.wifi.WifiConfigStoreNew.createFile ( android.os.Environment.getDataMiscDirectory ( ) ) ; }

Target:
public static com.android.server.wifi.WifiConfigStore.StoreFile createSharedFile ( ) { return com.android.server.wifi.WifiConfigStore.createFile ( android.os.Environment.getDataMiscDirectory ( ) ) ; }
Source:
private void resetState ( ) { if ( ( mHandler ) != null ) { mHandler.removeMessages ( com.android.bluetooth.btservice.ActiveDeviceManager.MESSAGE_SELECT_ACTICE_DEVICE_TIMEOUT ) ; } mA2dpConnectedDevices.clear ( ) ; mA2dpActiveDevice = null ; mHfpConnectedDevices.clear ( ) ; mHfpActiveDevice = null ; }

Target:
private void resetState ( ) { mA2dpConnectedDevices.clear ( ) ; mA2dpActiveDevice = null ; mHfpConnectedDevices.clear ( ) ; mHfpActiveDevice = null ; mHearingAidActiveDevice = null ; }
Source:
public boolean tearDown ( ) { if ( ! ( mWificondControl.tearDownInterfaces ( ) ) ) { android.util.Log.e ( com.android.server.wifi.WifiNative.TAG , "Failed to teardown interfaces from Wificond" ) ; return false ; } stopHal ( ) ; return true ; }

Target:
public boolean tearDown ( ) { if ( ! ( mWificondControl.tearDownInterfaces ( ) ) ) { android.util.Log.e ( mTAG , "Failed to teardown interfaces from Wificond" ) ; return false ; } stopHal ( ) ; return true ; }
Source:
public com.google.common.base.Objects.ToStringHelper add ( java.lang.String name , long value ) { checkNameAndAppend ( name ) . append ( value ) ; return this ; }

Target:
public com.google.common.base.Objects.ToStringHelper addValue ( double value ) { return addHolder ( java.lang.String.valueOf ( value ) ) ; }
Source:
public void onResume ( ) { super . onResume ( ) ; updatePreferences ( ) ; }

Target:
public void onResume ( ) { super . onResume ( ) ; updatePreferences ( ) ; if ( ( mRemovalSidecar ) != null ) { mRemovalSidecar.setListener ( mRemovalListener ) ; } }
Source:
public void enableEnhancedVoicePrivacy ( boolean enable , android.os.Message onComplete ) { this . mCM.setPreferredVoicePrivacy ( enable , onComplete ) ; }

Target:
public void enableEnhancedVoicePrivacy ( boolean enable , android.os.Message onComplete ) { mCi.setPreferredVoicePrivacy ( enable , onComplete ) ; }
Source:
public boolean matchesSafely ( android.support.v4.widget.DrawerLayout drawer ) { return ! ( drawer.isDrawerVisible ( GravityCompat.START ) ) ; }

Target:
public boolean matchesSafely ( android.support.v4.widget.DrawerLayout drawer ) { return ! ( drawer.isDrawerVisible ( gravity ) ) ; }
Source:
private static native void native_drawLine ( int nativeCanvas , float startX , float startY , float stopX , float stopY , int paint ) ;

Target:
private static native void native_drawLine ( long nativeCanvas , float startX , float startY , float stopX , float stopY , long nativePaint ) ;
Source:
public void run ( ) { applyDecoration ( ) ; revalidateAndRepaint ( false ) ; }

Target:
public void run ( ) { removeDeferred ( ) . notifyWhenDone ( result ) ; }
Source:
public com.google.common.collect.SortedMultiset < E > subMultiset ( E lowerBound , com.google.common.collect.BoundType lowerBoundType , E upperBound , com.google.common.collect.BoundType upperBoundType ) { return com.google.common.collect.Multisets.unmodifiableSortedMultiset ( delegate ( ) . subMultiset ( lowerBound , lowerBoundType , upperBound , upperBoundType ) ) ; }

Target:
public int add ( @ javax.annotation.Nullable E element , int occurrences ) { com.google.common.base.Preconditions.checkArgument ( predicate.apply ( element ) , "Element %s does not match predicate %s" , element , predicate ) ; return unfiltered.add ( element , occurrences ) ; }
Source:
public void setXmlDocument ( org.w3c.dom.Document xml_doc ) { if ( ( mUiParent ) == null ) { mXmlDocument = xml_doc ; } else { mUiParent.setXmlDocument ( xml_doc ) ; } }

Target:
public void setXmlDocument ( org.w3c.dom.Document xmlDoc ) { if ( ( mUiParent ) == null ) { mXmlDocument = xmlDoc ; } else { mUiParent.setXmlDocument ( xmlDoc ) ; } }
Source:
public boolean getRoamingCapabilities ( com.android.server.wifi.WifiNative.RoamingCapabilities capabilities ) { android.util.Log.d ( com.android.server.wifi.WifiNative.TAG , "getRoamingCapabilities " ) ; try { if ( ( mWifiVendorHal ) != null ) { return mWifiVendorHal.getRoamingCapabilities ( capabilities ) ; } } catch ( java.lang.UnsupportedOperationException e ) { } return false ; }

Target:
public boolean getRoamingCapabilities ( com.android.server.wifi.WifiNative.RoamingCapabilities capabilities ) { android.util.Log.d ( com.android.server.wifi.WifiNative.TAG , "getRoamingCapabilities " ) ; if ( com.android.server.wifi.WifiNative.HIDL_VENDOR_ENABLE ) { return mWifiVendorHal.getRoamingCapabilities ( capabilities ) ; } else { android.util.Log.e ( com.android.server.wifi.WifiNative.TAG , "getRoamingCapabilities not supported" ) ; return false ; } }
Source:
private void readIapFileAndWait ( int efid ) { mFh.loadEFLinearFixedAll ( efid , obtainMessage ( com.android.internal.telephony.gsm.UsimPhoneBookManager.EVENT_IAP_LOAD_DONE ) ) ; try { mLock.wait ( ) ; } catch ( java.lang.InterruptedException e ) { android.util.Log.e ( com.android.internal.telephony.gsm.UsimPhoneBookManager.LOG_TAG , "Interrupted Exception in readIapFileAndWait" ) ; } }

Target:
private void readIapFileAndWait ( int efid ) { mFh.loadEFLinearFixedAll ( efid , obtainMessage ( com.android.internal.telephony.gsm.UsimPhoneBookManager.EVENT_IAP_LOAD_DONE ) ) ; try { mLock.wait ( ) ; } catch ( java.lang.InterruptedException e ) { android.telephony.Rlog.e ( com.android.internal.telephony.gsm.UsimPhoneBookManager.LOG_TAG , "Interrupted Exception in readIapFileAndWait" ) ; } }
Source:
public java.lang.Object clone ( ) { org.conscrypt.NativeRef.EVP_MD_CTX ctxCopy = new org.conscrypt.NativeRef.EVP_MD_CTX ( org.conscrypt.NativeCrypto.EVP_MD_CTX_create ( ) ) ; if ( digestInitializedInContext ) { org.conscrypt.NativeCrypto.EVP_MD_CTX_copy ( ctxCopy , ctx ) ; } return new org.conscrypt.OpenSSLMessageDigestJDK ( evp_md , size , ctxCopy , digestInitializedInContext ) ; }

Target:
public java.lang.Object clone ( ) { org.conscrypt.NativeRef.EVP_MD_CTX ctxCopy = new org.conscrypt.NativeRef.EVP_MD_CTX ( org.conscrypt.NativeCrypto.EVP_MD_CTX_create ( ) ) ; if ( digestInitializedInContext ) { org.conscrypt.NativeCrypto.EVP_MD_CTX_copy_ex ( ctxCopy , ctx ) ; } return new org.conscrypt.OpenSSLMessageDigestJDK ( evp_md , size , ctxCopy , digestInitializedInContext ) ; }
Source:
synchronized int nScriptIntrinsicCreate ( int id , int eid ) { validate ( ) ; return rsnScriptIntrinsicCreate ( mContext , id , eid ) ; }

Target:
synchronized void nScriptSetVarJ ( long id , int slot , long val ) { validate ( ) ; rsnScriptSetVarJ ( mContext , id , slot , val ) ; }
Source:
public void onReceive ( android.content.Context c , android.content.Intent intent ) { int status = intent.getIntExtra ( WifiNanManager.EXTRA_WIFI_STATE , WifiNanManager.WIFI_NAN_STATE_DISABLED ) ; mEventFacade.postEvent ( ( status == ( android.net.wifi.nan.WifiNanManager.WIFI_NAN_STATE_ENABLED ) ? "WifiNanAvailable" : "WifiNanNotAvailable" ) , new android.os.Bundle ( ) ) ; }

Target:
public void onReceive ( android.content.Context c , android.content.Intent intent ) { mEventFacade.postEvent ( ( mMgr.isAvailable ( ) ? "WifiNanAvailable" : "WifiNanNotAvailable" ) , new android.os.Bundle ( ) ) ; }
Source:
public void onPageFinished ( android.webkit.WebView view , java.lang.String url ) { mAlert.setTitle ( getString ( R.string.settings_license_activity_title ) ) ; }

Target:
public void onPageFinished ( android.webkit.WebView view , java.lang.String url ) { mSpinnerDlg.dismiss ( ) ; mSpinnerDlg = null ; mTextDlg.show ( ) ; mTextDlg = null ; }
Source:
public java.lang.reflect.Type [ ] getGenericInterfaces ( ) { org.apache.harmony.luni.lang.reflect.GenericSignatureParser parser = new org.apache.harmony.luni.lang.reflect.GenericSignatureParser ( getClassLoader ( ) ) ; parser.parseForClass ( this , getSignatureAttribute ( ) ) ; return org.apache.harmony.luni.lang.reflect.Types.getClonedTypeArray ( parser.interfaceTypes ) ; }

Target:
public java.lang.reflect.Type [ ] getGenericInterfaces ( ) { libcore.reflect.GenericSignatureParser parser = new libcore.reflect.GenericSignatureParser ( getClassLoader ( ) ) ; parser.parseForClass ( this , getSignatureAttribute ( ) ) ; return libcore.reflect.Types.getClonedTypeArray ( parser.interfaceTypes ) ; }
Source:
private void enforceModifyPermissionOrCarrierPrivilege ( int subId ) { int permission = mApp.checkCallingOrSelfPermission ( android.Manifest.permission.MODIFY_PHONE_STATE ) ; if ( permission == ( android.content.pm.PackageManager.PERMISSION_GRANTED ) ) { return ; } com.android.phone.PhoneInterfaceManager.log ( "No modify permission, check carrier privilege next." ) ; enforceCarrierPrivilege ( subId ) ; }

Target:
public boolean isVolteAvailable ( int subId ) { com.android.internal.telephony.Phone phone = getPhone ( subId ) ; if ( phone != null ) { return phone.isVolteEnabled ( ) ; } else { return false ; } }
Source:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; mTelephonyProviderTestable = new com.android.providers.telephony.TelephonyProviderTestable ( ) ; mContext = new com.android.providers.telephony.TelephonyProviderTest.MockContextWithProvider ( mTelephonyProviderTestable ) ; mContentResolver = ( ( android.test.mock.MockContentResolver ) ( mContext.getContentResolver ( ) ) ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; mTelephonyProviderTestable = new com.android.providers.telephony.TelephonyProviderTestable ( ) ; mContext = new com.android.providers.telephony.TelephonyProviderTest.MockContextWithProvider ( mTelephonyProviderTestable ) ; mContentResolver = ( ( android.test.mock.MockContentResolver ) ( mContext.getContentResolver ( ) ) ) ; notifyChangeCount = 0 ; }
Source:
synchronized void nAllocationData1D ( long id , int off , int mip , int count , long [ ] d , int sizeBytes ) { validate ( ) ; rsnAllocationData1D ( mContext , id , off , mip , count , d , sizeBytes ) ; }

Target:
synchronized void nScriptInvoke ( long id , int slot , boolean mUseInc ) { validate ( ) ; long curCon = mContext ; if ( mUseInc ) { curCon = mIncCon ; } rsnScriptInvoke ( curCon , id , slot , mUseInc ) ; }
Source:
synchronized long nScriptIntrinsicCreate ( int id , long eid ) { validate ( ) ; return rsnScriptIntrinsicCreate ( mContext , id , eid ) ; }

Target:
native long rsnIncTypeCreate ( long con , long eid , int x , int y , int z , boolean mips , boolean faces , int yuv ) ;
Source:
static java.lang.Class [ ] getSupportedProfiles ( ) { return com.android.bluetooth.btservice.Config.SUPPORTED_PROFILES ; }

Target:
static java.lang.Class [ ] getSupportedProfiles ( ) { return com.android.bluetooth.btservice.Config.sSupportedProfiles ; }
Source:
public void setDataEnabled ( boolean enable ) { setDataEnabled ( android.telephony.SubscriptionManager.getDefaultDataSubId ( ) , enable ) ; }

Target:
public void setDataEnabled ( boolean enable ) { setDataEnabled ( getSubId ( android.telephony.SubscriptionManager.getDefaultDataSubscriptionId ( ) ) , enable ) ; }