Lines Matching refs:callingPackage
1404 public void call(String callingPackage, String number) { in call() argument
1405 callForSubscriber(getPreferredVoiceSubscription(), callingPackage, number); in call() local
1408 public void callForSubscriber(int subId, String callingPackage, String number) { in callForSubscriber() argument
1416 if (mAppOps.noteOp(AppOpsManager.OP_CALL_PHONE, Binder.getCallingUid(), callingPackage) in callForSubscriber()
1625 public boolean isRadioOn(String callingPackage) { in isRadioOn() argument
1626 return isRadioOnForSubscriber(getDefaultSubscription(), callingPackage); in isRadioOn()
1630 public boolean isRadioOnForSubscriber(int subId, String callingPackage) { in isRadioOnForSubscriber() argument
1632 mApp, subId, callingPackage, "isRadioOnForSubscriber")) { in isRadioOnForSubscriber()
1908 public Bundle getCellLocation(String callingPackage) { in getCellLocation() argument
1910 .checkPackage(Binder.getCallingUid(), callingPackage); in getCellLocation() local
1915 .setCallingPackage(callingPackage) in getCellLocation()
2035 public List<NeighboringCellInfo> getNeighboringCellInfo(String callingPackage) { in getNeighboringCellInfo() argument
2036 final int targetSdk = getTargetSdk(callingPackage); in getNeighboringCellInfo()
2043 callingPackage) != AppOpsManager.MODE_ALLOWED) { in getNeighboringCellInfo()
2049 List<CellInfo> info = getAllCellInfo(callingPackage); in getNeighboringCellInfo()
2073 public List<CellInfo> getAllCellInfo(String callingPackage) { in getAllCellInfo() argument
2075 .checkPackage(Binder.getCallingUid(), callingPackage); in getAllCellInfo() local
2080 .setCallingPackage(callingPackage) in getAllCellInfo()
2094 final int targetSdk = getTargetSdk(callingPackage); in getAllCellInfo()
2116 public void requestCellInfoUpdate(int subId, ICellInfoCallback cb, String callingPackage) { in requestCellInfoUpdate() argument
2118 subId, cb, callingPackage, getWorkSource(Binder.getCallingUid())); in requestCellInfoUpdate()
2123 int subId, ICellInfoCallback cb, String callingPackage, WorkSource workSource) { in requestCellInfoUpdateWithWorkSource() argument
2125 requestCellInfoUpdateInternal(subId, cb, callingPackage, workSource); in requestCellInfoUpdateWithWorkSource()
2129 int subId, ICellInfoCallback cb, String callingPackage, WorkSource workSource) { in requestCellInfoUpdateInternal() argument
2131 .checkPackage(Binder.getCallingUid(), callingPackage); in requestCellInfoUpdateInternal() local
2136 .setCallingPackage(callingPackage) in requestCellInfoUpdateInternal()
2145 if (getTargetSdk(callingPackage) < Build.VERSION_CODES.Q) { in requestCellInfoUpdateInternal()
2151 if (getTargetSdk(callingPackage) < Build.VERSION_CODES.Q) { in requestCellInfoUpdateInternal()
2184 public String getImeiForSlot(int slotIndex, String callingPackage) { in getImeiForSlot() argument
2191 callingPackage, "getImeiForSlot")) { in getImeiForSlot()
2215 public String getMeidForSlot(int slotIndex, String callingPackage) { in getMeidForSlot() argument
2223 callingPackage, "getMeidForSlot")) { in getMeidForSlot()
2247 public String getDeviceSoftwareVersionForSlot(int slotIndex, String callingPackage) { in getDeviceSoftwareVersionForSlot() argument
2254 mApp, subId, callingPackage, "getDeviceSoftwareVersionForSlot")) { in getDeviceSoftwareVersionForSlot()
2399 public int getCdmaEriIconIndex(String callingPackage) { in getCdmaEriIconIndex() argument
2400 return getCdmaEriIconIndexForSubscriber(getDefaultSubscription(), callingPackage); in getCdmaEriIconIndex()
2404 public int getCdmaEriIconIndexForSubscriber(int subId, String callingPackage) { in getCdmaEriIconIndexForSubscriber() argument
2406 mApp, subId, callingPackage, "getCdmaEriIconIndexForSubscriber")) { in getCdmaEriIconIndexForSubscriber()
2429 public int getCdmaEriIconMode(String callingPackage) { in getCdmaEriIconMode() argument
2430 return getCdmaEriIconModeForSubscriber(getDefaultSubscription(), callingPackage); in getCdmaEriIconMode()
2434 public int getCdmaEriIconModeForSubscriber(int subId, String callingPackage) { in getCdmaEriIconModeForSubscriber() argument
2436 mApp, subId, callingPackage, "getCdmaEriIconModeForSubscriber")) { in getCdmaEriIconModeForSubscriber()
2457 public String getCdmaEriText(String callingPackage) { in getCdmaEriText() argument
2458 return getCdmaEriTextForSubscriber(getDefaultSubscription(), callingPackage); in getCdmaEriText()
2462 public String getCdmaEriTextForSubscriber(int subId, String callingPackage) { in getCdmaEriTextForSubscriber() argument
2464 mApp, subId, callingPackage, "getCdmaEriIconTextForSubscriber")) { in getCdmaEriTextForSubscriber()
2526 INumberVerificationCallback callback, String callingPackage) { in requestNumberVerification() argument
2531 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in requestNumberVerification() local
2534 if (!TextUtils.equals(callingPackage, authorizedPackage)) { in requestNumberVerification()
2578 public Bundle getVisualVoicemailSettings(String callingPackage, int subId) { in getVisualVoicemailSettings() argument
2579 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in getVisualVoicemailSettings() local
2581 if (!TextUtils.equals(callingPackage, systemDialer)) { in getVisualVoicemailSettings()
2598 public String getVisualVoicemailPackageName(String callingPackage, int subId) { in getVisualVoicemailPackageName() argument
2599 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in getVisualVoicemailPackageName() local
2601 mApp, subId, callingPackage, "getVisualVoicemailPackageName")) { in getVisualVoicemailPackageName()
2614 public void enableVisualVoicemailSmsFilter(String callingPackage, int subId, in enableVisualVoicemailSmsFilter() argument
2616 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in enableVisualVoicemailSmsFilter() local
2621 mApp, callingPackage, subId, settings); in enableVisualVoicemailSmsFilter()
2628 public void disableVisualVoicemailSmsFilter(String callingPackage, int subId) { in disableVisualVoicemailSmsFilter() argument
2629 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in disableVisualVoicemailSmsFilter() local
2634 mApp, callingPackage, subId); in disableVisualVoicemailSmsFilter()
2642 String callingPackage, int subId) { in getVisualVoicemailSmsFilterSettings() argument
2643 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in getVisualVoicemailSmsFilterSettings() local
2648 mApp, callingPackage, subId); in getVisualVoicemailSmsFilterSettings()
2668 public void sendVisualVoicemailSmsForSubscriber(String callingPackage, int subId, in sendVisualVoicemailSmsForSubscriber() argument
2670 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in sendVisualVoicemailSmsForSubscriber() local
2671 enforceVisualVoicemailPackage(callingPackage, subId); in sendVisualVoicemailSmsForSubscriber()
2674 smsController.sendVisualVoicemailSmsForSubscriber(callingPackage, subId, number, port, text, in sendVisualVoicemailSmsForSubscriber()
2724 public int getVoiceActivationState(int subId, String callingPackage) { in getVoiceActivationState() argument
2744 public int getDataActivationState(int subId, String callingPackage) { in getDataActivationState() argument
2764 public int getVoiceMessageCountForSubscriber(int subId, String callingPackage) { in getVoiceMessageCountForSubscriber() argument
2766 mApp, subId, callingPackage, "getVoiceMessageCountForSubscriber")) { in getVoiceMessageCountForSubscriber()
2803 public void sendDialerSpecialCode(String callingPackage, String inputCode) { in sendDialerSpecialCode() argument
2805 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in sendDialerSpecialCode() local
2808 if (!TextUtils.equals(callingPackage, defaultDialer)) { in sendDialerSpecialCode()
3528 public int getNetworkTypeForSubscriber(int subId, String callingPackage) { in getNetworkTypeForSubscriber() argument
3529 if (getTargetSdk(callingPackage) >= android.os.Build.VERSION_CODES.Q in getNetworkTypeForSubscriber()
3531 mApp, subId, callingPackage, "getNetworkTypeForSubscriber")) { in getNetworkTypeForSubscriber()
3552 public int getDataNetworkType(String callingPackage) { in getDataNetworkType() argument
3553 return getDataNetworkTypeForSubscriber(getDefaultSubscription(), callingPackage); in getDataNetworkType()
3560 public int getDataNetworkTypeForSubscriber(int subId, String callingPackage) { in getDataNetworkTypeForSubscriber() argument
3562 mApp, subId, callingPackage, "getDataNetworkTypeForSubscriber")) { in getDataNetworkTypeForSubscriber()
3583 public int getVoiceNetworkTypeForSubscriber(int subId, String callingPackage) { in getVoiceNetworkTypeForSubscriber() argument
3585 mApp, subId, callingPackage, "getDataNetworkTypeForSubscriber")) { in getVoiceNetworkTypeForSubscriber()
3639 public int getLteOnCdmaMode(String callingPackage) { in getLteOnCdmaMode() argument
3640 return getLteOnCdmaModeForSubscriber(getDefaultSubscription(), callingPackage); in getLteOnCdmaMode()
3644 public int getLteOnCdmaModeForSubscriber(int subId, String callingPackage) { in getLteOnCdmaModeForSubscriber() argument
3646 mApp, subId, callingPackage, "getLteOnCdmaModeForSubscriber")) { in getLteOnCdmaModeForSubscriber()
3727 int subId, String callingPackage, String aid, int p2) { in iccOpenLogicalChannel() argument
3730 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in iccOpenLogicalChannel() local
3734 return iccOpenLogicalChannelWithPermission(getPhoneFromSubId(subId), callingPackage, aid, in iccOpenLogicalChannel()
3741 int slotIndex, String callingPackage, String aid, int p2) { in iccOpenLogicalChannelBySlot() argument
3743 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in iccOpenLogicalChannelBySlot() local
3748 callingPackage, aid, p2); in iccOpenLogicalChannelBySlot()
3752 String callingPackage, String aid, int p2) { in iccOpenLogicalChannelWithPermission() argument
3760 || !TextUtils.equals(callingPackage, bestComponent.packageName)) { in iccOpenLogicalChannelWithPermission()
3862 public String iccTransmitApduBasicChannel(int subId, String callingPackage, int cla, in iccTransmitApduBasicChannel() argument
3866 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in iccTransmitApduBasicChannel() local
3871 return iccTransmitApduBasicChannelWithPermission(getPhoneFromSubId(subId), callingPackage, in iccTransmitApduBasicChannel()
3876 public String iccTransmitApduBasicChannelBySlot(int slotIndex, String callingPackage, int cla, in iccTransmitApduBasicChannelBySlot() argument
3879 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in iccTransmitApduBasicChannelBySlot() local
3887 getPhoneFromSlotIdOrThrowException(slotIndex), callingPackage, cla, command, p1, in iccTransmitApduBasicChannelBySlot()
3892 private String iccTransmitApduBasicChannelWithPermission(Phone phone, String callingPackage, in iccTransmitApduBasicChannelWithPermission() argument
3902 || !TextUtils.equals(callingPackage, bestComponent.packageName)) { in iccTransmitApduBasicChannelWithPermission()
3970 public String[] getForbiddenPlmns(int subId, int appType, String callingPackage) { in getForbiddenPlmns() argument
3972 mApp, subId, callingPackage, "getForbiddenPlmns")) { in getForbiddenPlmns()
4144 public String[] getPcscfAddress(String apnType, String callingPackage) { in getPcscfAddress() argument
4147 mApp, defaultPhone.getSubId(), callingPackage, "getPcscfAddress")) { in getPcscfAddress()
4413 public CellNetworkScanResult getCellNetworkScanResults(int subId, String callingPackage) { in getCellNetworkScanResults() argument
4419 .setCallingPackage(callingPackage) in getCellNetworkScanResults()
4453 IBinder binder, String callingPackage) { in requestNetworkScan() argument
4459 .setCallingPackage(callingPackage) in requestNetworkScan()
4482 callingUid, callingPid, callingPackage); in requestNetworkScan()
4540 public int getCalculatedPreferredNetworkType(String callingPackage) { in getCalculatedPreferredNetworkType() argument
4543 callingPackage, "getCalculatedPreferredNetworkType")) { in getCalculatedPreferredNetworkType()
4938 public String getLine1NumberForDisplay(int subId, String callingPackage) { in getLine1NumberForDisplay() argument
4941 mApp, subId, callingPackage, "getLine1NumberForDisplay")) { in getLine1NumberForDisplay()
4965 public String getLine1AlphaTagForDisplay(int subId, String callingPackage) { in getLine1AlphaTagForDisplay() argument
4967 mApp, subId, callingPackage, "getLine1AlphaTagForDisplay")) { in getLine1AlphaTagForDisplay()
4985 public String[] getMergedSubscriberIds(int subId, String callingPackage) { in getMergedSubscriberIds() argument
4989 mApp, SubscriptionManager.INVALID_SUBSCRIPTION_ID, callingPackage, in getMergedSubscriberIds()
5143 public int getRadioAccessFamily(int phoneId, String callingPackage) { in getRadioAccessFamily() argument
5176 public boolean isVideoCallingEnabled(String callingPackage) { in isVideoCallingEnabled() argument
5179 mApp, defaultPhone.getSubId(), callingPackage, "isVideoCallingEnabled")) { in isVideoCallingEnabled()
5200 public boolean canChangeDtmfToneLength(int subId, String callingPackage) { in canChangeDtmfToneLength() argument
5202 mApp, subId, callingPackage, "isVideoCallingEnabled")) { in canChangeDtmfToneLength()
5218 public boolean isWorldPhone(int subId, String callingPackage) { in isWorldPhone() argument
5220 mApp, subId, callingPackage, "isVideoCallingEnabled")) { in isWorldPhone()
5298 public String getDeviceId(String callingPackage) { in getDeviceId() argument
5305 callingPackage, "getDeviceId")) { in getDeviceId()
5580 public ServiceState getServiceStateForSubscriber(int subId, String callingPackage) { in getServiceStateForSubscriber() argument
5582 mApp, subId, callingPackage, "getServiceStateForSubscriber")) { in getServiceStateForSubscriber()
5589 .setCallingPackage(callingPackage) in getServiceStateForSubscriber()
5600 .setCallingPackage(callingPackage) in getServiceStateForSubscriber()
5667 public void setVoicemailRingtoneUri(String callingPackage, in setVoicemailRingtoneUri() argument
5670 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in setVoicemailRingtoneUri() local
5671 if (!TextUtils.equals(callingPackage, in setVoicemailRingtoneUri()
5724 public void setVoicemailVibrationEnabled(String callingPackage, in setVoicemailVibrationEnabled() argument
5727 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in setVoicemailVibrationEnabled() local
5728 if (!TextUtils.equals(callingPackage, in setVoicemailVibrationEnabled()
5772 private void enforceVisualVoicemailPackage(String callingPackage, int subId) { in enforceVisualVoicemailPackage() argument
5782 if (!callingPackage.equals(vvmPackage)) { in enforceVisualVoicemailPackage()
6129 public List<ClientRequestStats> getClientRequestStats(String callingPackage, int subId) { in getClientRequestStats() argument
6131 mApp, subId, callingPackage, "getClientRequestStats")) { in getClientRequestStats()
6245 public int getRadioPowerState(int slotIndex, String callingPackage) { in getRadioPowerState() argument
6249 mApp, phone.getSubId(), callingPackage, "getRadioPowerState")) { in getRadioPowerState()
6340 public List<UiccCardInfo> getUiccCardsInfo(String callingPackage) { in getUiccCardsInfo() argument
6343 .checkPackage(Binder.getCallingUid(), callingPackage); in getUiccCardsInfo() local
6352 if (checkCarrierPrivilegesForPackageAnyPhone(callingPackage) in getUiccCardsInfo()
6378 if (profile.getCarrierPrivilegeStatus(mApp.getPackageManager(), callingPackage) in getUiccCardsInfo()
6465 public int getCardIdForDefaultEuicc(int subId, String callingPackage) { in getCardIdForDefaultEuicc() argument
6594 public int getNumberOfModemsWithSimultaneousDataConnections(int subId, String callingPackage) { in getNumberOfModemsWithSimultaneousDataConnections() argument
6596 mApp, subId, callingPackage, "getNumberOfModemsWithSimultaneousDataConnections")) { in getNumberOfModemsWithSimultaneousDataConnections()
6718 String callingPackage) { in getEmergencyNumberList() argument
6720 mApp, getDefaultSubscription(), callingPackage, "getEmergencyNumberList")) { in getEmergencyNumberList()
6855 public boolean isModemEnabledForSlot(int slotIndex, String callingPackage) { in isModemEnabledForSlot() argument
6860 mApp, phone.getSubId(), callingPackage, "isModemEnabledForSlot")) { in isModemEnabledForSlot()
6892 public int isMultiSimSupported(String callingPackage) { in isMultiSimSupported() argument
6894 getDefaultPhone().getSubId(), callingPackage, "isMultiSimSupported")) { in isMultiSimSupported()
6968 public boolean doesSwitchMultiSimConfigTriggerReboot(int subId, String callingPackage) { in doesSwitchMultiSimConfigTriggerReboot() argument
6970 mApp, subId, callingPackage, "doesSwitchMultiSimConfigTriggerReboot")) { in doesSwitchMultiSimConfigTriggerReboot()
7035 public boolean isDataEnabledForApn(int apnType, int subId, String callingPackage) { in isDataEnabledForApn() argument
7037 mApp, subId, callingPackage, "isDataEnabledForApn")) { in isDataEnabledForApn()
7071 public void enqueueSmsPickResult(String callingPackage, IIntegerConsumer pendingSubIdResult) { in enqueueSmsPickResult() argument
7074 if (!permissions.checkCallingCanSendSms(callingPackage, "Sending message")) { in enqueueSmsPickResult()