auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
private void _push ( com.android.builder.tasks.WorkQueue.QueueTask < T > task ) throws java.lang.InterruptedException { mPendingJobs.put ( task ) ; checkWorkforce ( ) ; }

Target:
public void push ( com.android.builder.tasks.Job < T > job ) throws java.lang.InterruptedException { _push ( new com.android.builder.tasks.WorkQueue.QueueTask < T > ( com.android.builder.tasks.WorkQueue.QueueTask.ActionType.Normal , job ) ) ; checkWorkforce ( ) ; }
Source:
private void blockScreen ( com.android.tv.ui.TunableTvView tvView ) { tvView.blockScreen ( ) ; if ( tvView == ( mTvView ) ) { updateChannelBannerAndShowIfNeeded ( com.android.tv.MainActivity.UPDATE_CHANNEL_BANNER_REASON_LOCK_OR_UNLOCK ) ; updateMediaSession ( ) ; } }

Target:
private void blockOrUnblockScreen ( com.android.tv.ui.TunableTvView tvView , boolean blockOrUnblock ) { tvView.blockOrUnblockScreen ( blockOrUnblock ) ; if ( tvView == ( mTvView ) ) { updateChannelBannerAndShowIfNeeded ( com.android.tv.MainActivity.UPDATE_CHANNEL_BANNER_REASON_LOCK_OR_UNLOCK ) ; updateMediaSession ( ) ; } }
Source:
private void sendCmdParams ( com.android.internal.telephony.gsm.stk.ResultCode resCode ) { mCaller.sendMsgParamsDecoded ( resCode , mCmdParams ) ; }

Target:
private void sendCmdParams ( com.android.internal.telephony.cat.ResultCode resCode ) { mCaller.sendMsgParamsDecoded ( resCode , mCmdParams ) ; }
Source:
private boolean put ( byte [ ] key , byte [ ] value ) { execute ( 'i' , key , value ) ; return ( mError ) == ( android.security.KeyStore.NO_ERROR ) ; }

Target:
public byte [ ] get ( java.lang.String key ) { try { return mBinder.get ( key ) ; } catch ( android.os.RemoteException e ) { android.util.Log.w ( android.security.KeyStore.TAG , "Cannot connect to keystore" , e ) ; return null ; } }
Source:
public boolean isStateUnknown ( ) { return mStateIsUnknown ; }

Target:
public boolean isStateUnknown ( ) { return ( ( ( mCardState ) == null ) || ( ( mCardState ) == ( com.android.internal.telephony.uicc.IccCardStatus.CardState.CARDSTATE_ABSENT ) ) ) && ( mStateIsUnknown ) ; }
Source:
public com.google.i18n.phonenumbers.Phonenumber.PhoneNumber parse ( java.lang.String numberToParse , java.lang.String defaultRegion ) throws com.google.i18n.phonenumbers.NumberParseException { com.google.i18n.phonenumbers.Phonenumber.PhoneNumber phoneNumber = new com.google.i18n.phonenumbers.Phonenumber.PhoneNumber ( ) ; parse ( numberToParse , defaultRegion , phoneNumber ) ; return phoneNumber ; }

Target:
public com.google.i18n.phonenumbers.Phonenumber.PhoneNumber parseAndKeepRawInput ( java.lang.CharSequence numberToParse , java.lang.String defaultRegion ) throws com.google.i18n.phonenumbers.NumberParseException { com.google.i18n.phonenumbers.Phonenumber.PhoneNumber phoneNumber = new com.google.i18n.phonenumbers.Phonenumber.PhoneNumber ( ) ; parseAndKeepRawInput ( numberToParse , defaultRegion , phoneNumber ) ; return phoneNumber ; }
Source:
private void readNextToken ( ) throws java.io.IOException { byte token = in.readByte ( ) ; try { currentTokenId = tokenMap [ token ] ; } catch ( java.lang.ArrayIndexOutOfBoundsException e ) { throw new com.android.jack.jayce.v0002.io.ParseException ( ( "Unknown token: " + token ) ) ; } }

Target:
private void readNextToken ( ) throws java.io.IOException { byte token = in.readByte ( ) ; try { currentTokenId = com.android.jack.jayce.v0002.io.Tokenizer.tokenMap [ token ] ; } catch ( java.lang.ArrayIndexOutOfBoundsException e ) { throw new com.android.jack.jayce.v0002.io.ParseException ( ( "Unknown token: " + token ) ) ; } }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setTarget ( java.lang.String value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 8 ; target_ = value ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setBranch ( java.lang.String value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 8 ; branch_ = value ; onChanged ( ) ; return this ; }
Source:
com.android.jack.optimizations.lambdas.LambdaTests.Class fields ( @ javax.annotation.Nonnull java.lang.String ... fields ) { return impl ( fields , " - fields:\n" ) ; }

Target:
com.android.jack.optimizations.lambdas.LambdaTests.Class fields ( @ javax.annotation.Nonnull java.lang.String ... fields ) { return printImpl ( fields , " - fields:\n" , true ) ; }
Source:
public static short floatToIntToShort ( float value ) { return ( ( short ) ( value ) ) ; }

Target:
public static short $noinline$floatToIntToShort ( float value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( short ) ( value ) ) ; }
Source:
public void test_F32_4_SCALE05_05_inRectangle ( ) { testReszie ( inX , inY , Element.DataType.FLOAT_32 , 4 , 0.5F , 0.5F ) ; }

Target:
public void test_F32_4_SCALE05_05_inRectangle ( ) { testResize ( inX , inY , Element.DataType.FLOAT_32 , 4 , 0.5F , 0.5F ) ; }
Source:
private void initContext ( ) { org.mockito.Mockito.doReturn ( mCarrierConfigManager ) . when ( mContext ) . getSystemService ( org.mockito.Mockito.eq ( Context.CARRIER_CONFIG_SERVICE ) ) ; }

Target:
private void initContext ( ) { org.mockito.Mockito.doReturn ( mCarrierConfigManager ) . when ( mContext ) . getSystemService ( org.mockito.Mockito.eq ( Context.CARRIER_CONFIG_SERVICE ) ) ; org.mockito.Mockito.doReturn ( mResources ) . when ( mContext ) . getResources ( ) ; }
Source:
private static native java.lang.String getDeviceManifest ( ) ;

Target:
public static native java.lang.String [ ] report ( ) ;
Source:
public static < T > org.hamcrest.Matcher < java.lang.Iterable < T > > everyItem ( final org.hamcrest.Matcher < T > elementMatcher ) { return org.junit.internal.matchers.Each.each ( elementMatcher ) ; }

Target:
public static < T > org.hamcrest.Matcher < java.lang.Iterable < T > > everyItem ( final org.hamcrest.Matcher < T > elementMatcher ) { return org.hamcrest.CoreMatchers.everyItem ( elementMatcher ) ; }
Source:
private static void log ( java.lang.String msg ) { android.util.Log.w ( "telecomtestcs" , ( "[TestConnectionService] " + msg ) ) ; }

Target:
private static void log ( java.lang.String msg ) { android.telecom.Log.w ( "telecomtestcs" , ( "[TestConnectionService] " + msg ) ) ; }
Source:
public com.android.sched.util.log.tracer.AbstractTracer.TracerEvent start ( @ javax.annotation.Nonnull java.lang.String name ) { com.android.sched.util.log.tracer.DynamicEventType event = dynalicEventByName.get ( name ) ; if ( event == null ) { event = new com.android.sched.util.log.tracer.DynamicEventType ( name ) ; dynalicEventByName.put ( name , event ) ; } return start ( event ) ; }

Target:
public com.android.sched.util.log.tracer.AbstractTracer.TracerEvent start ( @ javax.annotation.Nonnull java.lang.String name ) { return start ( getOrCreateDynamicEventType ( name ) ) ; }
Source:
public void setMonetaryDecimalSeparator ( char sep ) { monetarySeparator = sep ; }

Target:
public void setMonetaryDecimalSeparator ( char sep ) { this . monetarySeparator = sep ; this . monetarySeparatorString = java.lang.String.valueOf ( sep ) ; }
Source:
public void passFailButtonsClickHandler ( android.view.View target ) { com.android.cts.verifier.PassFailButtons.setTestResultAndFinish ( this , target ) ; }

Target:
public void setPassFailButtonClickListeners ( ) { com.android.cts.verifier.PassFailButtons.setPassFailClickListeners ( this ) ; }
Source:
public static java.lang.String getProperty ( java.lang.String name , java.lang.String defaultValue ) { java.lang.System.checkPropertyName ( name ) ; return java.lang.System.getProperties ( ) . getProperty ( name , defaultValue ) ; }

Target:
public static java.lang.String clearProperty ( java.lang.String name ) { java.lang.System.checkPropertyName ( name ) ; return ( ( java.lang.String ) ( java.lang.System.systemProperties.remove ( name ) ) ) ; }
Source:
public android.telephony.ims.ImsCallProfile createCallProfile ( int callSessionType , int callType ) { try { return mCompatFeature.createCallProfile ( mSessionId , callSessionType , callType ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e.getMessage ( ) ) ; } }

Target:
public void setUiTtyMode ( int mode , android.os.Message onCompleteMessage ) { try { mCompatFeature.setUiTTYMode ( mode , onCompleteMessage ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e.getMessage ( ) ) ; } }
Source:
public int getExitThreadTime ( ) { return mExitThreadTime ; }

Target:
public long getInclusiveThreadTime ( ) { return com.google.common.primitives.UnsignedInts.toLong ( ( ( mExitThreadTime ) - ( mEntryThreadTime ) ) ) ; }
Source:
public boolean setWfdDeviceInfo ( java.lang.String hex ) { if ( ( com.android.server.wifi.WifiNative.HIDL_ENABLE ) && ( ( mSupplicantP2pIfaceHal ) != null ) ) { return mSupplicantP2pIfaceHal.setWfdDeviceInfo ( hex ) ; } else { return doBooleanCommand ( ( "WFD_SUBELEM_SET 0 " + hex ) ) ; } }

Target:
public boolean setWfdDeviceInfo ( java.lang.String hex ) { if ( ( com.android.server.wifi.WifiNative.HIDL_P2P_ENABLE ) && ( ( mSupplicantP2pIfaceHal ) != null ) ) { return mSupplicantP2pIfaceHal.setWfdDeviceInfo ( hex ) ; } else { return doBooleanCommand ( ( "WFD_SUBELEM_SET 0 " + hex ) ) ; } }
Source:
public static void wtf ( java.lang.Object objectPrefix , java.lang.Throwable tr , java.lang.String format , java.lang.Object ... args ) { android.util.Log.wtf ( com.android.services.telephony.Log.TAG , com.android.services.telephony.Log.buildMessage ( com.android.services.telephony.Log.getPrefixFromObject ( objectPrefix ) , format , args ) , tr ) ; }

Target:
public static void e ( java.lang.String prefix , java.lang.Throwable tr , java.lang.String format , java.lang.Object ... args ) { android.telecom.Log.e ( prefix , tr , format , args ) ; }
Source:
public void reloadFromXmlNode ( org.w3c.dom.Node xml_node ) { com.android.ide.eclipse.adt.internal.editors.AndroidXmlEditor editor = getEditor ( ) ; clearContent ( ) ; setEditor ( editor ) ; if ( xml_node != null ) { setXmlDocument ( xml_node.getOwnerDocument ( ) ) ; } loadFromXmlNode ( xml_node ) ; }

Target:
public void reloadFromXmlNode ( org.w3c.dom.Node xmlNode ) { com.android.ide.eclipse.adt.internal.editors.AndroidXmlEditor editor = getEditor ( ) ; clearContent ( ) ; setEditor ( editor ) ; if ( xmlNode != null ) { setXmlDocument ( xmlNode.getOwnerDocument ( ) ) ; } loadFromXmlNode ( xmlNode ) ; }
Source:
public void installPackages ( java.util.List < java.lang.String > apkFilePaths , int timeOut , boolean reinstall , 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:
public boolean apply ( com.google.gct.testing.ConfigurationResult result ) { return ( result.isComplete ( ) ) || ( result.isInfrastructureFailure ( ) ) ; }

Target:
public boolean apply ( com.google.gct.testing.ConfigurationResult result ) { return ( ( result.isComplete ( ) ) || ( result.isInfrastructureFailure ( ) ) ) || ( result.isTriggeringError ( ) ) ; }
Source:
public static boolean isVideoFileType ( int fileType ) { return ( fileType >= ( android.media.MediaFile.FIRST_VIDEO_FILE_TYPE ) ) && ( fileType <= ( android.media.MediaFile.LAST_VIDEO_FILE_TYPE ) ) ; }

Target:
public static boolean isVideoFileType ( int fileType ) { return ( ( fileType >= ( android.media.MediaFile.FIRST_VIDEO_FILE_TYPE ) ) && ( fileType <= ( android.media.MediaFile.LAST_VIDEO_FILE_TYPE ) ) ) || ( ( fileType >= ( android.media.MediaFile.FIRST_VIDEO_FILE_TYPE2 ) ) && ( fileType <= ( android.media.MediaFile.LAST_VIDEO_FILE_TYPE2 ) ) ) ; }
Source:
public boolean contains ( @ javax.annotation.Nullable java.lang.Object obj ) { if ( obj instanceof java.util.Set ) { java.util.Set < ? > set = ( ( java.util.Set < ? > ) ( obj ) ) ; return inputSet.containsAll ( set ) ; } return false ; }

Target:
public boolean contains ( @ javax.annotation.Nullable java.lang.Object obj ) { if ( obj instanceof java.util.Set ) { java.util.Set < ? > set = ( ( java.util.Set < ? > ) ( obj ) ) ; return inputSet.keySet ( ) . containsAll ( set ) ; } return false ; }
Source:
public boolean init ( java.io.File fontLocation , java.util.Map < java.lang.String , java.util.Map < java.lang.String , java.lang.Integer > > enumValueMap ) { return false ; }

Target:
public boolean init ( java.io.File fontLocation , java.util.Map < java.lang.String , java.util.Map < java.lang.String , java.lang.Integer > > enumValueMap , com.android.ide.common.rendering.api.LayoutLog log ) { return false ; }
Source:
public void supplyNetworkDepersonalizationResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , int var2 ) { }

Target:
public void getCurrentCallsResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , java.util.ArrayList < com.android.internal.telephony.V1_0.Call > calls ) { responseCurrentCalls ( responseInfo , calls ) ; }
Source:
public static void main ( java.lang.String [ ] args ) { Main.array [ Main.index ] += java.lang.Math.abs ( ( - 42 ) ) ; }

Target:
public static void main ( java.lang.String [ ] args ) { Main.array [ Main.index ] += Main.$noinline$abs ( ( - 42 ) ) ; }
Source:
static java.util.List < java.lang.String > extractIds ( java.util.List < com.android.libcore.timezone.tzlookup.proto.CountryZonesFile.TimeZone > timeZones ) { return timeZones.stream ( ) . map ( com.android.libcore.timezone.tzlookup.proto.CountryZonesFile.TimeZone :: getId ) . collect ( java.util.stream.Collectors.toList ( ) ) ; }

Target:
static java.util.List < java.lang.String > extractIds ( java.util.List < com.android.libcore.timezone.tzlookup.proto.CountryZonesFile.TimeZoneMapping > timeZones ) { return timeZones.stream ( ) . map ( com.android.libcore.timezone.tzlookup.proto.CountryZonesFile.TimeZoneMapping :: getId ) . collect ( java.util.stream.Collectors.toList ( ) ) ; }
Source:
public void realRun ( ) throws java.lang.InterruptedException { q.transfer ( four ) ; assertTrue ( ( ! ( q.contains ( four ) ) ) ) ; assertEquals ( 1 , q.size ( ) ) ; }

Target:
public void realRun ( ) throws java.lang.InterruptedException { threadStarted.countDown ( ) ; q.transfer ( five ) ; checkEmpty ( q ) ; }
Source:
public void copy2DRangeFrom ( int xoff , int yoff , int w , int h , int [ ] data ) { validateIsInt32 ( ) ; copy2DRangeFromUnchecked ( xoff , yoff , w , h , data ) ; }

Target:
public void copy1DRangeFrom ( int off , int count , java.lang.Object array ) { copy1DRangeFromUnchecked ( off , count , array , validateObjectIsPrimitiveArray ( array , true ) , java.lang.reflect.Array.getLength ( array ) ) ; }
Source:
private static final void checkCert ( java.security.cert.X509Certificate cert ) throws java.security.cert.CertificateException { org.conscrypt.ChainStrengthAnalyzer.checkModulusLength ( cert ) ; org.conscrypt.ChainStrengthAnalyzer.checkNotMD5 ( cert ) ; }

Target:
private static final void checkCert ( java.security.cert.X509Certificate cert ) throws java.security.cert.CertificateException { org.conscrypt.ChainStrengthAnalyzer.checkKeyLength ( cert ) ; org.conscrypt.ChainStrengthAnalyzer.checkNotMD5 ( cert ) ; }
Source:
public java.lang.reflect.Type getGenericReturnType ( ) { return libcore.reflect.Types.getType ( getMethodOrConstructorGenericInfo ( ) . genericReturnType ) ; }

Target:
public java.lang.reflect.Type getGenericReturnType ( ) { return libcore.reflect.Types.getType ( getMethodOrConstructorGenericInfoInternal ( ) . genericReturnType ) ; }
Source:
public void clearAppProfiles ( java.lang.String pkgName ) throws com.android.internal.os.InstallerConnection.InstallerException { mInstaller.execute ( "clear_app_profiles" , pkgName ) ; }

Target:
public void clearAppProfiles ( java.lang.String packageName ) throws com.android.internal.os.InstallerConnection.InstallerException { checkLock ( ) ; try { mInstalld.clearAppProfiles ( packageName ) ; } catch ( android.os.RemoteException | android.os.ServiceSpecificException e ) { throw new com.android.internal.os.InstallerConnection.InstallerException ( e.getMessage ( ) ) ; } }
Source:
void notifyListenerResponseReceived ( com.android.volley.Response < ? > response ) { synchronized ( mLock ) { if ( ( mRequestCompleteListener ) != null ) { mRequestCompleteListener.onResponseReceived ( this , response ) ; } } }

Target:
public void deliverError ( com.android.volley.VolleyError error ) { com.android.volley.Response.ErrorListener listener ; synchronized ( mLock ) { listener = mErrorListener ; } if ( listener != null ) { listener.onErrorResponse ( error ) ; } }
Source:
public void onSelectAll ( ) { mSelections.clear ( ) ; mAltSelection = null ; if ( ( mIsResultValid ) && ( ( mLastValidResult ) != null ) ) { selectAllViewInfos ( mLastValidViewInfoRoot ) ; redraw ( ) ; } updateOulineSelection ( ) ; }

Target:
public void onSelectAll ( ) { mSelections.clear ( ) ; mAltSelection = null ; if ( ( mIsResultValid ) && ( ( mLastValidResult ) != null ) ) { selectAllViewInfos ( mLastValidViewInfoRoot ) ; redraw ( ) ; } fireSelectionChanged ( ) ; }
Source:
private int getSubId ( ) { if ( ( mSubId ) == ( SubscriptionManager.DEFAULT_SUBSCRIPTION_ID ) ) { return android.telephony.TelephonyManager.getDefaultSubscription ( ) ; } return mSubId ; }

Target:
public android.telephony.IccOpenLogicalChannelResponse iccOpenLogicalChannel ( java.lang.String AID , int p2 ) { return iccOpenLogicalChannel ( getSubId ( ) , AID , p2 ) ; }
Source:
public void onConnectFail ( int reason ) { if ( android.net.wifi.nan.WifiNanManager.VDBG ) android.util.Log.v ( android.net.wifi.nan.WifiNanManager.TAG , ( "onConfigFailed: reason=" + reason ) ) ; android.os.Message msg = mHandler.obtainMessage ( android.net.wifi.nan.WifiNanManager.WifiNanEventCallbackProxy.CALLBACK_CONNECT_FAIL ) ; msg.arg1 = reason ; mHandler.sendMessage ( msg ) ; }

Target:
public void onConnectFail ( int reason ) { if ( android.net.wifi.nan.WifiNanManager.VDBG ) android.util.Log.v ( android.net.wifi.nan.WifiNanManager.TAG , ( "onConnectFail: reason=" + reason ) ) ; android.os.Message msg = mHandler.obtainMessage ( android.net.wifi.nan.WifiNanManager.WifiNanEventCallbackProxy.CALLBACK_CONNECT_FAIL ) ; msg.arg1 = reason ; mHandler.sendMessage ( msg ) ; }
Source:
public boolean onFling ( android.view.MotionEvent e1 , android.view.MotionEvent e2 , float velocityX , float velocityY ) { if ( mTransformsEnabled ) { mTranslateRunnable.start ( velocityX , velocityY ) ; } return true ; }

Target:
public boolean onFling ( android.view.MotionEvent e1 , android.view.MotionEvent e2 , float velocityX , float velocityY ) { if ( ( mTransformsEnabled ) && ( ! ( mScaleRunnable.mRunning ) ) ) { mTranslateRunnable.start ( velocityX , velocityY ) ; } return true ; }
Source:
private static native long nativeGetUidStat ( int uid , int type ) ;

Target:
private static native long nativeGetIfaceStat ( java.lang.String iface , int type , boolean useBpfStats ) ;
Source:
private void selectConfig ( java.lang.String name ) { com.android.ide.eclipse.adt.internal.sdk.LayoutDevice device = getSelectedDevice ( ) ; com.android.ide.eclipse.adt.internal.sdk.LayoutDevice.DeviceConfig config = null ; if ( device != null ) { config = device.getDeviceConfigByName ( name ) ; } selectDeviceConfig ( config ) ; }

Target:
private void selectState ( java.lang.String name ) { com.android.sdklib.devices.Device device = getSelectedDevice ( ) ; com.android.sdklib.devices.State state = null ; if ( device != null ) { state = device.getState ( name ) ; } selectDeviceState ( state ) ; }
Source:
public void removeRegistrationListener ( com.android.ims.internal.IImsRegistrationListener listener ) throws android.os.RemoteException { synchronized ( mLock ) { checkBinderConnection ( ) ; getServiceInterface ( mBinder ) . removeRegistrationListener ( mSlotId , mSupportedFeature , listener ) ; } }

Target:
public void removeRegistrationListener ( com.android.ims.internal.IImsRegistrationListener listener ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; getServiceInterface ( mBinder ) . removeRegistrationListener ( mSlotId , mSupportedFeature , listener ) ; } }
Source:
public int translate ( int canvasX ) { return ( ( com.android.ide.eclipse.adt.internal.editors.layout.gle2.LayoutCanvas.ScaleInfo.IMAGE_MARGIN ) - ( mTranslate ) ) + ( ( int ) ( ( mScale ) * canvasX ) ) ; }

Target:
public int translate ( int canvasX ) { return ( ( IMAGE_MARGIN ) - ( mTranslate ) ) + ( ( int ) ( ( mScale ) * canvasX ) ) ; }
Source:
native void rsnAllocationRead ( long con , long id , java.lang.Object d , int dt ) ;

Target:
native void rsnAllocationRead ( long con , long id , java.lang.Object d , int dt , int mSize , boolean usePadding ) ;
Source:
protected com.android.dialer.calldetails.CallDetailsAdapterCommon createAdapter ( com.android.dialer.calldetails.CallDetailsHeaderViewHolder.CallDetailsHeaderListener callDetailsHeaderListener , com.android.dialer.calldetails.CallDetailsFooterViewHolder.ReportCallIdListener reportCallIdListener , com.android.dialer.calldetails.CallDetailsFooterViewHolder.DeleteCallDetailsListener deleteCallDetailsListener ) { return new com.android.dialer.calldetails.OldCallDetailsAdapter ( this , contact , getCallDetailsEntries ( ) , callDetailsHeaderListener , reportCallIdListener , deleteCallDetailsListener ) ; }

Target:
protected com.android.dialer.calldetails.CallDetailsAdapterCommon createAdapter ( com.android.dialer.calldetails.CallDetailsEntryViewHolder.CallDetailsEntryListener callDetailsEntryListener , com.android.dialer.calldetails.CallDetailsHeaderViewHolder.CallDetailsHeaderListener callDetailsHeaderListener , com.android.dialer.calldetails.CallDetailsFooterViewHolder.ReportCallIdListener reportCallIdListener , com.android.dialer.calldetails.CallDetailsFooterViewHolder.DeleteCallDetailsListener deleteCallDetailsListener ) { return new com.android.dialer.calldetails.OldCallDetailsAdapter ( this , contact , getCallDetailsEntries ( ) , callDetailsEntryListener , callDetailsHeaderListener , reportCallIdListener , deleteCallDetailsListener ) ; }
Source:
protected void engineUpdate ( byte [ ] input , int offset , int len ) { org.conscrypt.NativeCrypto.EVP_DigestUpdate ( getCtx ( ) , input , offset , len ) ; }

Target:
protected void engineReset ( ) { resetContext ( ) ; }
Source:
public void schedule ( java.util.TimerTask task , long delay ) { if ( delay < 0 ) { throw new java.lang.IllegalArgumentException ( ) ; } scheduleImpl ( task , delay , ( - 1 ) , false ) ; }

Target:
public void schedule ( java.util.TimerTask task , long delay ) { if ( delay < 0 ) { throw new java.lang.IllegalArgumentException ( ( "delay < 0: " + delay ) ) ; } scheduleImpl ( task , delay , ( - 1 ) , false ) ; }
Source:
public void recycle ( ) { synchronized ( android.os.Message.mPoolSync ) { if ( ( android.os.Message.mPoolSize ) < ( android.os.Message.MAX_POOL_SIZE ) ) { clearForRecycle ( ) ; next = android.os.Message.mPool ; android.os.Message.mPool = this ; } } }

Target:
public void recycle ( ) { synchronized ( android.os.Message.sPoolSync ) { if ( ( android.os.Message.sPoolSize ) < ( android.os.Message.MAX_POOL_SIZE ) ) { clearForRecycle ( ) ; next = android.os.Message.sPool ; android.os.Message.sPool = this ; ( android.os.Message.sPoolSize ) ++ ; } } }
Source:
public void test_dropSourceSpecific_twice_IPv6 ( ) throws java.lang.Exception { test_dropSourceSpecific_twice ( libcore.java.nio.channels.DatagramChannelMulticastTest.GOOD_MULTICAST_IPv6 , libcore.java.nio.channels.DatagramChannelMulticastTest.UNICAST_IPv6_1 ) ; }

Target:
public void test_dropSourceSpecific_twice_IPv6 ( ) throws java.lang.Exception { for ( java.net.NetworkInterface networkInterface : ipv6networkInterfaces ) { test_dropSourceSpecific_twice ( networkInterface , libcore.java.nio.channels.DatagramChannelMulticastTest.GOOD_MULTICAST_IPv6 , libcore.java.nio.channels.DatagramChannelMulticastTest.UNICAST_IPv6_1 ) ; } }
Source:
public boolean hasIccCard ( ) { return hasIccCard ( getDefaultSim ( ) ) ; }

Target:
public int getDataNetworkType ( ) { return getDataNetworkType ( getSubId ( android.telephony.SubscriptionManager.getDefaultDataSubscriptionId ( ) ) ) ; }
Source:
public boolean onPreferenceClick ( android.support.v7.preference.Preference preference ) { refreshTags ( true ) ; android.widget.Toast.makeText ( getContext ( ) , getContext ( ) . getString ( R.string.default_categories_restored ) , Toast.LENGTH_SHORT ) . show ( ) ; return true ; }

Target:
public boolean onPreferenceClick ( android.support.v7.preference.Preference preference ) { com.android.traceur.Receiver.updateQuickswitch ( getContext ( ) ) ; return true ; }
Source:
protected void init ( @ com.android.annotations.NonNull java.lang.Iterable < I > items ) { for ( I item : items ) { item.setSource ( this ) ; mItems.put ( item.getKey ( ) , item ) ; } }

Target:
protected final void init ( @ com.android.annotations.NonNull I item ) { addItem ( item ) ; }
Source:
private void setUpResources ( android.content.Context ctx ) { com.android.webview.chromium.ResourceRewriter.rewriteRValues ( ctx ) ; org.chromium.android_webview.AwResource.setResources ( ctx.getResources ( ) ) ; org.chromium.android_webview.AwResource.setErrorPageResources ( com.android.internal.R.raw.loaderror , com.android.internal.R.raw.nodomain ) ; org.chromium.android_webview.AwResource.setDefaultTextEncoding ( com.android.internal.R.string.default_text_encoding ) ; org.chromium.android_webview.AwResource.setConfigKeySystemUuidMapping ( com.android.internal.R.array.config_keySystemUuidMapping ) ; }

Target:
private void setUpResources ( android.content.Context ctx ) { org.chromium.android_webview.AwResource.setResources ( com.android.webview.chromium.WebViewChromiumFactoryProvider.getWebViewPackageResources ( ctx ) ) ; org.chromium.android_webview.AwResource.setErrorPageResources ( com.android.internal.R.raw.loaderror , com.android.internal.R.raw.nodomain ) ; org.chromium.android_webview.AwResource.setDefaultTextEncoding ( com.android.internal.R.string.default_text_encoding ) ; org.chromium.android_webview.AwResource.setConfigKeySystemUuidMapping ( R.array.config_keySystemUuidMapping ) ; }
Source:
public void setAlpha ( float alpha ) { junit.framework.Assert.assertTrue ( ( ( alpha >= 0 ) && ( alpha <= 1 ) ) ) ; mAlpha = alpha ; }

Target:
public void setAlpha ( float alpha ) { com.android.gallery3d.common.Utils.assertTrue ( ( ( alpha >= 0 ) && ( alpha <= 1 ) ) ) ; mAlpha = alpha ; }
Source:
public void reset ( ) { mImageDir = null ; mBackground = null ; }

Target:
public void reset ( ) { mImageDir = null ; mBackground = null ; mForeground = null ; }
Source:
private static int getInstalledSupportLibVersion ( ) { if ( com.android.ide.eclipse.adt.internal.wizards.templates.InstallDependencyPage.SUPPORT_LIBRARY_NAME.equals ( com.android.ide.eclipse.adt.internal.wizards.templates.InstallDependencyPage.sCachedName ) ) { return com.android.ide.eclipse.adt.internal.wizards.templates.InstallDependencyPage.sCachedVersion ; } else { int version = com.android.ide.eclipse.adt.internal.actions.AddCompatibilityJarAction.getInstalledRevision ( ) ; com.android.ide.eclipse.adt.internal.wizards.templates.InstallDependencyPage.sCachedName = com.android.ide.eclipse.adt.internal.wizards.templates.InstallDependencyPage.SUPPORT_LIBRARY_NAME ; com.android.ide.eclipse.adt.internal.wizards.templates.InstallDependencyPage.sCachedVersion = version ; return version ; } }

Target:
private static int getInstalledSupportLibVersion ( ) { if ( com.android.ide.eclipse.adt.internal.wizards.templates.InstallDependencyPage.SUPPORT_LIBRARY_NAME.equals ( com.android.ide.eclipse.adt.internal.wizards.templates.InstallDependencyPage.sCachedName ) ) { return com.android.ide.eclipse.adt.internal.wizards.templates.InstallDependencyPage.sCachedVersion ; } else { int version = com.android.ide.eclipse.adt.internal.actions.AddSupportJarAction.getInstalledRevision ( ) ; com.android.ide.eclipse.adt.internal.wizards.templates.InstallDependencyPage.sCachedName = com.android.ide.eclipse.adt.internal.wizards.templates.InstallDependencyPage.SUPPORT_LIBRARY_NAME ; com.android.ide.eclipse.adt.internal.wizards.templates.InstallDependencyPage.sCachedVersion = version ; return version ; } }
Source:
public void run ( ) { mAppCallback.onStreamStateUpdated ( state , reason ) ; }

Target:
public void run ( ) { long token = android.os.Binder.clearCallingIdentity ( ) ; try { mAppCallback.onStreamStateUpdated ( state , reason ) ; } finally { android.os.Binder.restoreCallingIdentity ( token ) ; } }
Source:
private static com.intellij.openapi.vfs.VirtualFile [ ] getCompilationClasspath ( com.intellij.openapi.module.Module m ) { return com.intellij.roots.ModuleRootManager.getInstance ( m ) . orderEntries ( ) . recursively ( ) . exportedOnly ( ) . getClassesRoots ( ) ; }

Target:
private static com.intellij.openapi.vfs.VirtualFile [ ] getRuntimeClasspath ( com.intellij.openapi.module.Module m ) { return com.intellij.openapi.roots.ModuleRootManager.getInstance ( m ) . orderEntries ( ) . productionOnly ( ) . runtimeOnly ( ) . recursively ( ) . getClassesRoots ( ) ; }
Source:
public com.android.layoutlib.api.SceneResult removeChild ( java.lang.Object parentView , int index ) { return SceneStatus.NOT_IMPLEMENTED.getResult ( ) ; }

Target:
public com.android.layoutlib.api.SceneResult removeChild ( java.lang.Object childView , com.android.layoutlib.api.LayoutScene.IAnimationListener listener ) { return SceneStatus.NOT_IMPLEMENTED.getResult ( ) ; }
Source:
public static void assumeNotNull ( java.lang.Object ... objects ) { org.junit.Assume.assumeThat ( java.util.Arrays.asList ( objects ) , org.hamcrest.CoreMatchers.everyItem ( org.hamcrest.CoreMatchers.notNullValue ( ) ) ) ; }

Target:
public static void assumeNotNull ( java.lang.Object ... objects ) { org.junit.Assume.assumeThat ( java.util.Arrays.asList ( objects ) , org.junit.internal.matchers.Each.each ( org.hamcrest.CoreMatchers.notNullValue ( ) ) ) ; }
Source:
public void setupDataCall ( int radioTechnology , int profile , java.lang.String apn , java.lang.String user , java.lang.String password , int authType , java.lang.String protocol , android.os.Message result ) ;

Target:
void setupDataCall ( int radioTechnology , com.android.internal.telephony.dataconnection.DataProfile dataProfile , boolean isRoaming , boolean allowRoaming , android.os.Message result ) ;
Source:
public void sendMessage ( @ android.annotation.NonNull android.net.wifi.aware.WifiAwareManager.PeerHandle peerHandle , int messageId , @ android.annotation.Nullable byte [ ] message ) { sendMessage ( peerHandle , messageId , message , 0 ) ; }

Target:
public void sendMessage ( @ android.annotation.NonNull android.net.wifi.aware.PeerHandle peerHandle , int messageId , @ android.annotation.Nullable byte [ ] message ) { sendMessage ( peerHandle , messageId , message , 0 ) ; }
Source:
void count ( double value ) { ( count ) ++ ; sum += value ; max = java.lang.Math.max ( max , value ) ; }

Target:
void count ( double value , int subcount ) { count += subcount ; sum += value ; max = java.lang.Math.max ( max , value ) ; }
Source:
public void setCamera ( java.lang.String cameraId , int uid ) { com.android.internal.os.SomeArgs args = com.android.internal.os.SomeArgs.obtain ( ) ; args.arg1 = cameraId ; args.argi1 = uid ; mProviderHandler.obtainMessage ( com.android.ims.internal.ImsVideoCallProvider.MSG_SET_CAMERA , args ) . sendToTarget ( ) ; }

Target:
public void setCamera ( java.lang.String cameraId , int uid ) { com.android.internal.os.SomeArgs args = com.android.internal.os.SomeArgs.obtain ( ) ; args.arg1 = cameraId ; args.argi1 = uid ; mProviderHandler.obtainMessage ( android.telephony.ims.ImsVideoCallProvider.MSG_SET_CAMERA , args ) . sendToTarget ( ) ; }
Source:
public java.io.File getRenderscriptSource ( ) { return new java.io.File ( mRoot , "rs" ) ; }

Target:
public java.io.File getRenderscriptDir ( ) { return new java.io.File ( mRoot , "rs" ) ; }
Source:
protected void releaseNetworkFor ( android.net.NetworkRequest networkRequest ) { if ( DBG ) log ( ( "Cellular releasing Network for " + networkRequest ) ) ; com.android.internal.telephony.dataconnection.ApnContext apnContext = apnContextForNetworkRequest ( networkRequest ) ; if ( apnContext != null ) apnContext.decRefCount ( ) ; }

Target:
public void decApnRefCount ( java.lang.String name ) { com.android.internal.telephony.dataconnection.ApnContext apnContext = mApnContexts.get ( name ) ; if ( apnContext != null ) { apnContext.decRefCount ( ) ; } }
Source:
public static void markAllNewVoicemailsAsRead ( @ android.support.annotation.NonNull final android.content.Context context ) { com.android.dialer.common.concurrent.ThreadUtil.postOnUiThread ( ( ) -> { new com.android.dialer.app.calllog.VoicemailQueryHandler ( context.getContentResolver ( ) ) . markNewVoicemailsAsOld ( context , null ) ; } ) ; }

Target:
public static void markAllNewVoicemailsAsOld ( @ android.support.annotation.NonNull final android.content.Context context ) { com.android.dialer.common.concurrent.ThreadUtil.postOnUiThread ( ( ) -> { new com.android.dialer.app.calllog.VoicemailQueryHandler ( context.getContentResolver ( ) ) . markNewVoicemailsAsOld ( context , null ) ; } ) ; }
Source:
public void testVroot ( ) throws java.lang.Exception { assertTrue ( android.security.cts.NativeCodeTest.doVrootTest ( ) ) ; }

Target:
public void testVroot ( ) throws java.lang.Exception { assertTrue ( ( "Device is vulnerable to CVE-2013-6282. Please apply security patch at " + ( ( "https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/" + "commit/arch/arm/include/asm/uaccess.h?id=" ) + "8404663f81d212918ff85f493649a7991209fa04" ) ) , android.security.cts.NativeCodeTest.doVrootTest ( ) ) ; }
Source:
public void testVFE5 ( ) { try { java.lang.Class.forName ( "dot.junit.opcodes.invoke_interface.d.T_invoke_interface_5" ) ; fail ( "expected a verification exception" ) ; } catch ( java.lang.Throwable t ) { dot.junit.DxUtil.checkVerifyException ( t ) ; } }

Target:
public void testVFE5 ( ) { try { new dot.junit.opcodes.invoke_interface.d.T_invoke_interface_5 ( new dot.junit.opcodes.invoke_interface.ITestImpl ( ) ) ; fail ( "expected VerifyError" ) ; } catch ( java.lang.VerifyError t ) { } }
Source:
public java.lang.String getTestedPackageName ( ) { if ( ( mType ) == ( com.android.builder.VariantConfiguration.Type.TEST ) ) { return mTestedConfig.getPackageName ( ) ; } return null ; }

Target:
public java.lang.String getTestedPackageName ( ) { if ( ( mType ) == ( com.android.builder.VariantConfiguration.Type.TEST ) ) { if ( ( mTestedConfig.mType ) == ( com.android.builder.VariantConfiguration.Type.LIBRARY ) ) { return getPackageName ( ) ; } else { return mTestedConfig.getPackageName ( ) ; } } return null ; }
Source:
public void visitMultiANewArrayInsn ( java.lang.String desc , int dims ) { printer.visitMultiANewArrayInsn ( desc , dims ) ; printTypeOfOperandStackTop ( ) ; super . visitMultiANewArrayInsn ( desc , dims ) ; }

Target:
public void visitMultiANewArrayInsn ( java.lang.String desc , int dims ) { printer.visitMultiANewArrayInsn ( desc , dims ) ; printTypeOfOperandStack ( ) ; super . visitMultiANewArrayInsn ( desc , dims ) ; }
Source:
public void testfloorF32 ( ) { script_f32 = new android.renderscript.cts.ScriptC_floor_f32 ( mRS , mRes , R.raw.floor_f32 ) ; doF32 ( 10 , 0 ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; script_f32 = new android.renderscript.cts.ScriptC_floor_f32 ( mRS ) ; }
Source:
native void rsnScriptInvoke ( long con , long id , int slot ) ;

Target:
native void rsnScriptSetVarVE ( long con , long id , int slot , byte [ ] val , long e , int [ ] dims , boolean mUseInc ) ;
Source:
public native void setChar ( java.lang.Object object , char value ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;

Target:
public void setChar ( java.lang.Object object , char value ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException { setChar ( object , value , isAccessible ( ) ) ; }
Source:
public void close ( ) { mProjectState = null ; mPath = null ; updateLibraries ( ) ; }

Target:
public void close ( ) { mProjectState.removeParentProject ( getMainProjectState ( ) ) ; mProjectState = null ; mPath = null ; getMainProjectState ( ) . updateFullLibraryList ( ) ; }
Source:
public void setText ( java.lang.String newText ) { wrapped.setText ( newText ) ; }

Target:
public void setText ( java.lang.String newText ) { if ( newText == null ) { throw new java.lang.NullPointerException ( "newText == null" ) ; } wrapped.setText ( newText ) ; }
Source:
public void visitLdcInsn ( java.lang.Object cst ) { printer.visitLdcInsn ( cst ) ; printTypeOfOperandStack ( ) ; super . visitLdcInsn ( cst ) ; }

Target:
public void visitJumpInsn ( int opcode , org.objectweb.asm.Label label ) { printer.visitJumpInsn ( opcode , label ) ; printTypeOfOperandStackTop ( ) ; super . visitJumpInsn ( opcode , label ) ; }
Source:
public android.net.wifi.nan.LvBufferUtils.LvConstructor allocate ( int capacity ) { mTlvImpl.allocate ( capacity ) ; return this ; }

Target:
public android.net.wifi.aware.LvBufferUtils.LvConstructor allocate ( int capacity ) { mTlvImpl.allocate ( capacity ) ; return this ; }
Source:
public static native java.lang.String getCurrencyDisplayName ( java.lang.String locale , java.lang.String currencyCode ) ;

Target:
public static java.lang.String getDisplayLanguage ( java.util.Locale targetLocale , java.util.Locale locale ) { return libcore.icu.ICU.getDisplayLanguageNative ( targetLocale.toLanguageTag ( ) , locale.toLanguageTag ( ) ) ; }
Source:
public android.telephony.IccOpenLogicalChannelResponse iccOpenLogicalChannel ( java.lang.String AID ) { try { com.android.internal.telephony.ITelephony telephony = getITelephony ( ) ; if ( telephony != null ) return telephony.iccOpenLogicalChannel ( AID ) ; } catch ( android.os.RemoteException ex ) { } catch ( java.lang.NullPointerException ex ) { } return null ; }

Target:
public android.telephony.IccOpenLogicalChannelResponse iccOpenLogicalChannel ( java.lang.String AID , int p2 ) { return iccOpenLogicalChannel ( getSubId ( ) , AID , p2 ) ; }
Source:
public static java.lang.Object getMinSdkVersion ( com.android.io.IAbstractFile manifestFile ) throws com.android.io.StreamException , javax.xml.xpath.XPathExpressionException { javax.xml.xpath.XPath xPath = com.android.xml.AndroidXPathFactory.newXPath ( ) ; java.lang.String result = xPath.evaluate ( ( ( ( ( ( ( ( "/" + ( com.android.xml.AndroidManifest.NODE_MANIFEST ) ) + "/" ) + ( com.android.xml.AndroidManifest.NODE_USES_SDK ) ) + "/@" ) + ( AndroidXPathFactory.DEFAULT_NS_PREFIX ) ) + ":" ) + ( com.android.xml.AndroidManifest.ATTRIBUTE_MIN_SDK_VERSION ) ) , new org.xml.sax.InputSource ( manifestFile.getContents ( ) ) ) ; try { return java.lang.Integer.valueOf ( result ) ; } catch ( java.lang.NumberFormatException e ) { return ( result.length ( ) ) > 0 ? result : null ; } }

Target:
public static java.lang.Object getMinSdkVersion ( com.android.io.IAbstractFile manifestFile ) throws com.android.io.StreamException , javax.xml.xpath.XPathExpressionException { java.lang.String result = com.android.xml.AndroidManifest.getStringValue ( manifestFile , ( ( ( ( ( ( ( "/" + ( com.android.xml.AndroidManifest.NODE_MANIFEST ) ) + "/" ) + ( com.android.xml.AndroidManifest.NODE_USES_SDK ) ) + "/@" ) + ( AndroidXPathFactory.DEFAULT_NS_PREFIX ) ) + ":" ) + ( com.android.xml.AndroidManifest.ATTRIBUTE_MIN_SDK_VERSION ) ) ) ; try { return java.lang.Integer.valueOf ( result ) ; } catch ( java.lang.NumberFormatException e ) { return ! ( result.isEmpty ( ) ) ? result : null ; } }
Source:
public static void main ( java.lang.String [ ] args ) { try { Main.doTopCall ( ) ; } catch ( java.lang.Error e ) { e.printStackTrace ( ) ; } }

Target:
public static void main ( java.lang.String [ ] args ) { try { Main.doTopCall ( ) ; } catch ( java.lang.Error e ) { e.printStackTrace ( java.lang.System.out ) ; } }
Source:
private boolean hasExplodedItems ( ) { for ( com.android.ide.eclipse.adt.internal.editors.layout.gle2.CanvasSelection item : mSelections ) { if ( item.getViewInfo ( ) . isExploded ( ) ) { return true ; } } return false ; }

Target:
private boolean hasExplodedItems ( ) { for ( com.android.ide.eclipse.adt.internal.editors.layout.gle2.SelectionItem item : mSelections ) { if ( item.getViewInfo ( ) . isExploded ( ) ) { return true ; } } return false ; }
Source:
public void setFieldValue ( java.lang.String key , java.lang.String value ) { if ( android.text.TextUtils.isEmpty ( value ) ) { mFields.put ( key , android.net.wifi.WifiEnterpriseConfig.EMPTY_VALUE ) ; } else { mFields.put ( key , convertToQuotedString ( value ) ) ; } }

Target:
public java.lang.String getFieldValue ( java.lang.String key ) { return getFieldValue ( key , "" ) ; }
Source:
public void handleUserUnlock ( int userId ) { if ( userId == ( mCurrentUserId ) ) { loadFromStoreAndMigrateAfterUserSwitch ( mCurrentUserId ) ; } }

Target:
public void handleUserUnlock ( int userId ) { if ( mVerboseLoggingEnabled ) { android.util.Log.v ( com.android.server.wifi.WifiConfigManager.TAG , ( "Handling user unlock for " + userId ) ) ; } if ( ( userId == ( mCurrentUserId ) ) && ( mPendingUnlockStoreRead ) ) { handleUserUnlockOrSwitch ( mCurrentUserId ) ; } }
Source:
public void onIncomingCall ( com.android.incallui.InCallPresenter.InCallState oldState , com.android.incallui.InCallPresenter.InCallState newState , com.android.incallui.call.DialerCall call ) { onStateChange ( oldState , newState , com.android.incallui.call.CallList.getInstance ( ) ) ; }

Target:
public void onIncomingCall ( com.android.incallui.InCallPresenter.InCallState oldState , com.android.incallui.InCallPresenter.InCallState newState , com.android.incallui.call.DialerCall call ) { if ( ! ( isVideoCallScreenUiReady ) ) { com.android.dialer.common.LogUtil.i ( "VideoCallPresenter.onIncomingCall" , "UI is not ready" ) ; return ; } onStateChange ( oldState , newState , com.android.incallui.call.CallList.getInstance ( ) ) ; }
Source:
public UResource.ArraySink getOrCreateArraySink ( com.ibm.icu.impl.UResource.Key key , int initialSize ) { if ( key.contentEquals ( "allowed" ) ) { formatList = new java.lang.String [ initialSize ] ; return allowedFormatListSink ; } return null ; }

Target:
public void enter ( int size ) { formatList = new java.lang.String [ size ] ; }
Source:
protected void setupPath ( ) { mPath = "/sdcard/android/layout_tests" ; mBaseLength = mPath.length ( ) ; }

Target:
protected void setupPath ( ) { mPath = ( android.os.Environment.getExternalStorageDirectory ( ) ) + "/android/layout_tests" ; mBaseLength = mPath.length ( ) ; }
Source:
public java.util.List < android.telephony.CellInfo > getAllCellInfo ( ) { java.util.List < android.telephony.CellInfo > cellInfoList = getServiceStateTracker ( ) . getAllCellInfo ( ) ; return privatizeCellInfoList ( cellInfoList ) ; }

Target:
public java.util.List < android.telephony.CellInfo > getAllCellInfo ( android.os.WorkSource workSource ) { java.util.List < android.telephony.CellInfo > cellInfoList = getServiceStateTracker ( ) . getAllCellInfo ( workSource ) ; return privatizeCellInfoList ( cellInfoList ) ; }
Source:
public boolean isPossibleNumber ( java.lang.String number , java.lang.String regionDialingFrom ) { try { return isPossibleNumber ( parse ( number , regionDialingFrom ) ) ; } catch ( com.google.i18n.phonenumbers.NumberParseException e ) { return false ; } }

Target:
private com.google.i18n.phonenumbers.PhoneNumberUtil.ValidationResult testNumberLength ( java.lang.CharSequence number , com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata metadata ) { return testNumberLength ( number , metadata , com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType.UNKNOWN ) ; }
Source:
private static void waitFor ( android.os.ConditionVariable conditionVariable ) { if ( conditionVariable.block ( com.android.server.ConnectivityServiceTest.TIMEOUT_MS ) ) { return ; } fail ( ( ( "ConditionVariable was blocked for more than " + ( com.android.server.ConnectivityServiceTest.TIMEOUT_MS ) ) + "ms" ) ) ; }

Target:
private static void waitFor ( android.os.ConditionVariable conditionVariable ) { if ( conditionVariable.block ( com.android.server.ConnectivityServiceTest.TIMEOUT_MS ) ) { return ; } org.junit.Assert.fail ( ( ( "ConditionVariable was blocked for more than " + ( com.android.server.ConnectivityServiceTest.TIMEOUT_MS ) ) + "ms" ) ) ; }
Source:
public void dumpProto ( com.android.bluetooth.btservice.BluetoothProto.BluetoothLog proto ) { synchronized ( mScanEvents ) { for ( com.android.bluetooth.btservice.BluetoothProto.ScanEvent event : mScanEvents ) { proto.addScanEvent ( event ) ; } } }

Target:
void addScanEvent ( com.android.bluetooth.BluetoothMetricsProto.ScanEvent event ) { synchronized ( mScanEvents ) { if ( ( mScanEvents.size ( ) ) == ( com.android.bluetooth.gatt.GattService.NUM_SCAN_EVENTS_KEPT ) ) { mScanEvents.remove ( 0 ) ; } mScanEvents.add ( event ) ; } }
Source:
public final native short [ ] readInt16Vector ( ) ;

Target:
private final native short [ ] readInt16VectorAsArray ( ) ;
Source:
void ensureCallingFromSystemUid ( java.lang.String message ) { if ( ! ( isCallingFromSystemUid ( ) ) ) { throw new java.lang.SecurityException ( message ) ; } }

Target:
void ensureCallingFromSystemOrPhoneUid ( java.lang.String message ) { if ( ! ( isCallingFromSystemOrPhoneUid ( ) ) ) { throw new java.lang.SecurityException ( message ) ; } }
Source:
public boolean isAvailable ( android.content.Context context ) { return false ; }

Target:
public boolean isAvailable ( android.content.Context context , android.telecom.PhoneAccountHandle phoneAccountHandle ) { return false ; }
Source:
public void run ( java.lang.String [ ] args ) { java.lang.System.exit ( run ( args , new java.io.PrintWriter ( java.lang.System.out ) ) ) ; }

Target:
protected static int getExhaustiveness ( ) { return android.icu.dev.test.TestFmwk.getParams ( ) . inclusion ; }
Source:
int getHashCount ( ) { return numHashFunctions ; }

Target:
public int hashCode ( ) { return com.google.common.base.Objects.hashCode ( numHashFunctions , funnel , strategy , bits ) ; }
Source:
public void disconnect ( ) { if ( mIsConnected ) { mContext.unbindService ( mServiceConnection ) ; mIsConnected = false ; } else { com.android.server.telecom.Log.event ( null , Log.Events.INFO , "Already disconnected, ignoring request." ) ; } }

Target:
public void disconnect ( ) { if ( mIsConnected ) { mContext.unbindService ( mServiceConnection ) ; mIsConnected = false ; } else { android.telecom.Log.addEvent ( null , LogUtils.Events.INFO , "Already disconnected, ignoring request." ) ; } }
Source:
public com.android.hierarchyviewerlib.device.DeviceBridge.ViewServerInfo getSelectedDeviceInfo ( ) { synchronized ( mDeviceMap ) { com.android.hierarchyviewerlib.device.DeviceBridge.ViewServerInfo viewServerInfo = null ; if ( ( mSelectedDevice ) != null ) { return mDeviceMap.get ( mSelectedDevice ) . viewServerInfo ; } return null ; } }

Target:
public com.android.hierarchyviewerlib.models.Window [ ] getWindows ( com.android.hierarchyviewerlib.device.IHvDevice device ) { synchronized ( mDeviceMap ) { com.android.hierarchyviewerlib.models.DeviceSelectionModel.DeviceInfo info = mDeviceMap.get ( device ) ; if ( info != null ) { return info.windows ; } } return null ; }
Source:
public void switchToProfile ( java.lang.String callingPackage , java.lang.String iccid , boolean refresh , com.android.internal.telephony.euicc.ISwitchToProfileCallback callback ) { checkCallingPackage ( callingPackage ) ; }

Target:
public void switchToProfile ( java.lang.String callingPackage , java.lang.String cardId , java.lang.String iccid , boolean refresh , com.android.internal.telephony.euicc.ISwitchToProfileCallback callback ) { checkCallingPackage ( callingPackage ) ; }
Source:
public boolean isValid ( ) { return ( mCode ) != ( com.android.ide.eclipse.adt.internal.resources.configurations.CountryCodeQualifier.DEFAULT_CODE ) ; }

Target:
public boolean isValid ( ) { return ( mCode ) != ( com.android.ide.common.resources.configuration.CountryCodeQualifier.DEFAULT_CODE ) ; }
Source:
public void start ( ) { mRetryCounter = 0 ; mCurrentDelayMs = mStartDelayMs ; mHandler.removeCallbacks ( mRunnable ) ; mHandler.postDelayed ( mRunnable , mCurrentDelayMs ) ; }

Target:
public boolean postDelayed ( java.lang.Runnable runnable , long delayMillis ) { return mHandler.postDelayed ( runnable , delayMillis ) ; }