Home
last modified time | relevance | path

Searched refs:callingPkg (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/
DMmsServiceBroker.java133 public void sendMessage(int subId, String callingPkg, Uri contentUri, String locationUrl,
140 public void downloadMessage(int subId, String callingPkg, String locationUrl,
148 public Uri importTextMessage(String callingPkg, String address, int type, String text,
154 public Uri importMultimediaMessage(String callingPkg, Uri contentUri, String messageId,
160 public boolean deleteStoredMessage(String callingPkg, Uri messageUri)
166 public boolean deleteStoredConversation(String callingPkg, long conversationId)
172 public boolean updateStoredMessageStatus(String callingPkg, Uri messageUri,
178 public boolean archiveStoredConversation(String callingPkg, long conversationId,
184 public Uri addTextMessageDraft(String callingPkg, String address, String text)
190 public Uri addMultimediaMessageDraft(String callingPkg, Uri contentUri)
[all …]
/frameworks/base/mms/java/com/android/internal/telephony/
DIMms.aidl43 void sendMessage(int subId, String callingPkg, in Uri contentUri, in sendMessage() argument
63 void downloadMessage(int subId, String callingPkg, String locationUrl, in downloadMessage() argument
79 Uri importTextMessage(String callingPkg, String address, int type, String text, in importTextMessage() argument
93 Uri importMultimediaMessage(String callingPkg, in Uri contentUri, String messageId, in importMultimediaMessage() argument
103 boolean deleteStoredMessage(String callingPkg, in Uri messageUri); in deleteStoredMessage() argument
112 boolean deleteStoredConversation(String callingPkg, long conversationId); in deleteStoredConversation() argument
123 boolean updateStoredMessageStatus(String callingPkg, in Uri messageUri, in updateStoredMessageStatus() argument
134 boolean archiveStoredConversation(String callingPkg, long conversationId, boolean archived); in archiveStoredConversation() argument
144 Uri addTextMessageDraft(String callingPkg, String address, String text); in addTextMessageDraft() argument
153 Uri addMultimediaMessageDraft(String callingPkg, in Uri contentUri); in addMultimediaMessageDraft() argument
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/
DISmsImplBase.java31 public List<SmsRawData> getAllMessagesFromIccEfForSubscriber(int subId, String callingPkg) { in getAllMessagesFromIccEfForSubscriber() argument
36 public boolean updateMessageOnIccEfForSubscriber(int subId, String callingPkg, int messageIndex, in updateMessageOnIccEfForSubscriber() argument
42 public boolean copyMessageToIccEfForSubscriber(int subId, String callingPkg, int status, in copyMessageToIccEfForSubscriber() argument
48 public void sendDataForSubscriber(int subId, String callingPkg, String callingAttributionTag, in sendDataForSubscriber() argument
55 public void sendTextForSubscriber(int subId, String callingPkg, String callingAttributionTag, in sendTextForSubscriber() argument
63 public void sendTextForSubscriberWithOptions(int subId, String callingPkg, in sendTextForSubscriberWithOptions() argument
78 public void sendMultipartTextForSubscriber(int subId, String callingPkg, in sendMultipartTextForSubscriber() argument
87 public void sendMultipartTextForSubscriberWithOptions(int subId, String callingPkg, in sendMultipartTextForSubscriberWithOptions() argument
165 public void sendStoredText(int subId, String callingPkg, String callingAttributionTag, in sendStoredText() argument
172 public void sendStoredMultipartText(int subId, String callingPkg, String callingAttributionTag, in sendStoredMultipartText() argument
[all …]
DISms.aidl35 List<SmsRawData> getAllMessagesFromIccEfForSubscriber(in int subId, String callingPkg); in getAllMessagesFromIccEfForSubscriber() argument
49 boolean updateMessageOnIccEfForSubscriber(in int subId, String callingPkg, in updateMessageOnIccEfForSubscriber() argument
62 boolean copyMessageToIccEfForSubscriber(in int subId, String callingPkg, int status, in copyMessageToIccEfForSubscriber() argument
89 void sendDataForSubscriber(int subId, String callingPkg, String callingattributionTag, in sendDataForSubscriber() argument
123 void sendTextForSubscriber(in int subId, String callingPkg, String callingAttributionTag, in sendTextForSubscriber() argument
174 void sendTextForSubscriberWithOptions(in int subId, String callingPkg, in sendTextForSubscriberWithOptions() argument
224 void sendMultipartTextForSubscriber(in int subId, String callingPkg, in sendMultipartTextForSubscriber() argument
274 void sendMultipartTextForSubscriberWithOptions(in int subId, String callingPkg, in sendMultipartTextForSubscriberWithOptions() argument
456 void sendStoredText(int subId, String callingPkg, String callingAttributionTag, in sendStoredText() argument
494 void sendStoredMultipartText(int subId, String callingPkg, String callingAttributeTag, in sendStoredMultipartText() argument
[all …]
DITelephony.aidl307 void updateServiceLocationWithPackageName(String callingPkg); in updateServiceLocationWithPackageName() argument
339 CellIdentity getCellLocation(String callingPkg, String callingFeatureId); in getCellLocation() argument
351 List<NeighboringCellInfo> getNeighboringCellInfo(String callingPkg, String callingFeatureId); in getNeighboringCellInfo() argument
617 List<CellInfo> getAllCellInfo(String callingPkg, String callingFeatureId); in getAllCellInfo() argument
623 void requestCellInfoUpdate(int subId, in ICellInfoCallback cb, String callingPkg, in requestCellInfoUpdate() argument
633 in String callingPkg, String callingFeatureId, in WorkSource ws); in requestCellInfoUpdateWithWorkSource() argument
/frameworks/base/core/java/android/app/slice/
DISliceManager.aidl34 void grantSlicePermission(String callingPkg, String toPkg, in Uri uri); in grantSlicePermission() argument
35 void revokeSlicePermission(String callingPkg, String toPkg, in Uri uri); in revokeSlicePermission() argument
36 int checkSlicePermission(in Uri uri, String callingPkg, int pid, int uid, in checkSlicePermission() argument
38 void grantPermissionFromUser(in Uri uri, String pkg, String callingPkg, boolean allSlices); in grantPermissionFromUser() argument
DSliceProvider.java445 String callingPkg, int callingUid, int callingPid) { in handleBindSlice() argument
448 String pkg = callingPkg != null ? callingPkg in handleBindSlice()
/frameworks/base/core/java/android/content/
DIContentProvider.java89 default Uri insert(String callingPkg, Uri url, ContentValues initialValues) in insert() argument
91 return insert(new AttributionSource(Binder.getCallingUid(), callingPkg, null), in insert()
100 default int bulkInsert(String callingPkg, Uri url, ContentValues[] initialValues) in bulkInsert() argument
102 return bulkInsert(new AttributionSource(Binder.getCallingUid(), callingPkg, null), in bulkInsert()
111 default int delete(String callingPkg, Uri url, String selection, String[] selectionArgs) in delete() argument
113 return delete(new AttributionSource(Binder.getCallingUid(), callingPkg, null), in delete()
122 default int update(String callingPkg, Uri url, ContentValues values, String selection, in update() argument
124 return update(new AttributionSource(Binder.getCallingUid(), callingPkg, null), in update()
146 public default Bundle call(String callingPkg, String method, in call() argument
148 return call(new AttributionSource(Binder.getCallingUid(), callingPkg, null), in call()
/frameworks/base/core/java/android/app/
DINotificationManager.aidl88 boolean shouldHideSilentStatusIcons(String callingPkg); in shouldHideSilentStatusIcons() argument
109 …NotificationChannel getNotificationChannel(String callingPkg, int userId, String pkg, String chann… in getNotificationChannel() argument
110 …NotificationChannel getConversationNotificationChannel(String callingPkg, int userId, String pkg, … in getConversationNotificationChannel() argument
114 ParceledListSlice getNotificationChannels(String callingPkg, String targetPkg, int userId); in getNotificationChannels() argument
135 StatusBarNotification[] getActiveNotifications(String callingPkg); in getActiveNotifications() argument
137 StatusBarNotification[] getActiveNotificationsWithAttribution(String callingPkg, in getActiveNotificationsWithAttribution() argument
140 …StatusBarNotification[] getHistoricalNotifications(String callingPkg, int count, boolean includeSn… in getHistoricalNotifications() argument
142 StatusBarNotification[] getHistoricalNotificationsWithAttribution(String callingPkg, in getHistoricalNotificationsWithAttribution() argument
146 NotificationHistory getNotificationHistory(String callingPkg, String callingAttributionTag); in getNotificationHistory() argument
237 ParceledListSlice getAppActiveNotifications(String callingPkg, int userId); in getAppActiveNotifications() argument
[all …]
DIWallpaperManager.aidl79 ParcelFileDescriptor getWallpaper(String callingPkg, IWallpaperManagerCallback cb, int which, in getWallpaper() argument
85 ParcelFileDescriptor getWallpaperWithFeature(String callingPkg, String callingFeatureId, in getWallpaperWithFeature() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsController.java716 public void sendStoredText(int subId, String callingPkg, String callingAttributionTag, in sendStoredText() argument
720 if (!getCallingPackage().equals(callingPkg)) { in sendStoredText()
721 throw new SecurityException("sendStoredText: Package " + callingPkg in sendStoredText()
724 Rlog.d(LOG_TAG, "sendStoredText caller=" + callingPkg); in sendStoredText()
727 iccSmsIntMgr.sendStoredText(callingPkg, callingAttributionTag, messageUri, scAddress, in sendStoredText()
736 public void sendStoredMultipartText(int subId, String callingPkg, String callingAttributionTag, in sendStoredMultipartText() argument
740 if (!getCallingPackage().equals(callingPkg)) { in sendStoredMultipartText()
741 throw new SecurityException("sendStoredMultipartText: Package " + callingPkg in sendStoredMultipartText()
744 Rlog.d(LOG_TAG, "sendStoredMultipartText caller=" + callingPkg); in sendStoredMultipartText()
747 iccSmsIntMgr.sendStoredMultipartText(callingPkg, callingAttributionTag, messageUri, in sendStoredMultipartText()
[all …]
DAppSmsManager.java84 public String createAppSpecificSmsToken(String callingPkg, PendingIntent intent) { in createAppSpecificSmsToken() argument
87 appOps.checkPackage(Binder.getCallingUid(), callingPkg); in createAppSpecificSmsToken() local
93 if (mPackageMap.containsKey(callingPkg)) { in createAppSpecificSmsToken()
94 removeRequestLocked(mPackageMap.get(callingPkg)); in createAppSpecificSmsToken()
97 AppRequestInfo info = new AppRequestInfo(callingPkg, intent, token); in createAppSpecificSmsToken()
DSmsDispatchersController.java537 private String getSmscAddressFromUSIMWithPhoneIdentity(String callingPkg) { in getSmscAddressFromUSIMWithPhoneIdentity() argument
542 return iccSmsIntMgr.getSmscAddressFromIccEf(callingPkg); in getSmscAddressFromUSIMWithPhoneIdentity()
1675 PendingIntent deliveryIntent, Uri messageUri, String callingPkg, boolean persistMessage, in sendText() argument
1678 sendText(destAddr, scAddr, text, sentIntent, deliveryIntent, messageUri, callingPkg, in sendText()
1781 PendingIntent deliveryIntent, Uri messageUri, String callingPkg, boolean persistMessage, in sendText() argument
1785 scAddr = getSmscAddressFromUSIMWithPhoneIdentity(callingPkg); in sendText()
1792 new PendingRequest(PendingRequest.TYPE_TEXT, null, callingPkg, in sendText()
1803 messageUri, callingPkg, persistMessage, priority, false /*expectMore*/, in sendText()
1808 messageUri, callingPkg, persistMessage, priority, expectMore, in sendText()
1812 messageUri, callingPkg, persistMessage, priority, expectMore, in sendText()
[all …]
DIccSmsInterfaceManager.java1295 public void sendStoredText(String callingPkg, Uri messageUri, String scAddress, in sendStoredText() argument
1297 sendStoredText(callingPkg, null, messageUri, scAddress, sentIntent, deliveryIntent); in sendStoredText()
1300 public void sendStoredText(String callingPkg, String callingAttributionTag, in sendStoredText() argument
1303 if (!mSmsPermissions.checkCallingCanSendSms(callingPkg, callingAttributionTag, in sendStoredText()
1327 sentIntent, deliveryIntent, messageUri, callingPkg, in sendStoredText()
1339 public void sendStoredMultipartText(String callingPkg, Uri messageUri, String scAddress, in sendStoredMultipartText() argument
1341 sendStoredMultipartText(callingPkg, null, messageUri, scAddress, sentIntents, in sendStoredMultipartText()
1345 public void sendStoredMultipartText(String callingPkg, in sendStoredMultipartText() argument
1348 if (!mSmsPermissions.checkCallingCanSendSms(callingPkg, callingAttributionTag, in sendStoredMultipartText()
1397 singleSentIntent, singleDeliveryIntent, messageUri, callingPkg, in sendStoredMultipartText()
[all …]
DSMSDispatcher.java1524 String callingPkg, boolean persistMessage, int priority, in sendText() argument
1527 sendText(destAddr, scAddr, text, sentIntent, deliveryIntent, messageUri, callingPkg, in sendText()
1634 String callingPkg, boolean persistMessage, int priority, in sendText() argument
1644 SmsTracker tracker = getSmsTracker(callingPkg, map, sentIntent, deliveryIntent, in sendText()
1827 ArrayList<PendingIntent> deliveryIntents, Uri messageUri, String callingPkg, in sendMultipartText() argument
1888 getNewSubmitPduTracker(callingPkg, destAddr, scAddr, parts.get(i), smsHeader, in sendMultipartText()
/frameworks/base/services/core/java/com/android/server/slice/
DSliceManagerService.java228 public int checkSlicePermission(Uri uri, String callingPkg, int pid, int uid, in checkSlicePermission() argument
230 return checkSlicePermissionInternal(uri, callingPkg, null /* pkg */, pid, uid, in checkSlicePermission()
234 private int checkSlicePermissionInternal(Uri uri, String callingPkg, String pkg, int pid, in checkSlicePermissionInternal() argument
239 if (checkSlicePermissionInternal(uri, callingPkg, p, pid, uid, autoGrantPermissions) in checkSlicePermissionInternal()
252 if (autoGrantPermissions != null && callingPkg != null) { in checkSlicePermissionInternal()
254 enforceOwner(callingPkg, uri, userId); in checkSlicePermissionInternal()
256 verifyCaller(callingPkg); in checkSlicePermissionInternal()
270 public void grantPermissionFromUser(Uri uri, String pkg, String callingPkg, boolean allSlices) { in grantPermissionFromUser() argument
271 verifyCaller(callingPkg); in grantPermissionFromUser()
/frameworks/base/services/core/java/com/android/server/policy/
DPermissionPolicyInternal.java82 @Nullable String currPkg, @Nullable String callingPkg, @Nullable Intent intent, in shouldShowNotificationDialogForTask() argument
DPermissionPolicyService.java1225 String callingPkg, Intent intent, String activityName) { in shouldShowNotificationDialogForTask() argument
1226 return shouldShowNotificationDialogOrClearFlags(taskInfo, currPkg, callingPkg, intent, in shouldShowNotificationDialogForTask()
1268 String callingPkg, Intent intent, ActivityOptions options, in shouldShowNotificationDialogOrClearFlags() argument
1278 || (isTaskPotentialTrampoline(topActivityName, currPkg, callingPkg, taskInfo, in shouldShowNotificationDialogOrClearFlags()
1284 String callingPkg, TaskInfo taskInfo, Intent intent) { in isTaskPotentialTrampoline() argument
1285 return currPkg.equals(callingPkg) && taskInfo.baseIntent.filterEquals(intent) in isTaskPotentialTrampoline()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSlicePermissionActivity.java122 final String callingPkg = getCallingPkg(); in verifyCallingPkg()
123 EventLog.writeEvent(0x534e4554, "159145361", getUid(callingPkg)); in verifyCallingPkg()
/frameworks/base/core/java/android/os/storage/
DIStorageManager.aidl92 void mkdirs(in String callingPkg, in String path) = 34; in mkdirs() argument
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java3928 public boolean shouldHideSilentStatusIcons(String callingPkg) {
3929 checkCallerIsSameApp(callingPkg);
3932 || mListeners.isListenerPackage(callingPkg)) {
4031 public void setNotificationDelegate(String callingPkg, String delegate) {
4032 checkCallerIsSameApp(callingPkg);
4036 mPreferencesHelper.revokeNotificationDelegate(callingPkg, Binder.getCallingUid());
4046 callingPkg, callingUid, delegate, info.uid);
4056 public String getNotificationDelegate(String callingPkg) {
4058 checkCallerIsSystemOrSameApp(callingPkg);
4059 return mPreferencesHelper.getNotificationDelegate(callingPkg, Binder.getCallingUid());
[all …]
DZenModeHelper.java605 void applyGlobalZenModeAsImplicitZenRule(String callingPkg, int callingUid, int zenMode) { in applyGlobalZenModeAsImplicitZenRule() argument
615 ZenRule rule = newConfig.automaticRules.get(implicitRuleId(callingPkg)); in applyGlobalZenModeAsImplicitZenRule()
629 rule = newImplicitZenRule(callingPkg); in applyGlobalZenModeAsImplicitZenRule()
666 void applyGlobalPolicyAsImplicitZenRule(String callingPkg, int callingUid, in applyGlobalPolicyAsImplicitZenRule() argument
678 ZenRule rule = newConfig.automaticRules.get(implicitRuleId(callingPkg)); in applyGlobalPolicyAsImplicitZenRule()
681 rule = newImplicitZenRule(callingPkg); in applyGlobalPolicyAsImplicitZenRule()
720 Policy getNotificationPolicyFromImplicitZenRule(String callingPkg) { in getNotificationPolicyFromImplicitZenRule() argument
729 ZenRule implicitRule = mConfig.automaticRules.get(implicitRuleId(callingPkg)); in getNotificationPolicyFromImplicitZenRule()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityClientController.java793 final AndroidPackage callingPkg = pm.getPackage(uid); in isInternalCallerGetLaunchedFrom() local
794 if (callingPkg == null) { in isInternalCallerGetLaunchedFrom()
797 if (callingPkg.isSignedWithPlatformKey()) { in isInternalCallerGetLaunchedFrom()
802 return installerNames.length > 0 && callingPkg.getPackageName().equals(installerNames[0]); in isInternalCallerGetLaunchedFrom()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java1652 PackageInfo callingPkg = getCallingPackageInfo(owningUserId); in getSecureSetting() local
1654 return getSsaidSettingLocked(callingPkg, owningUserId); in getSecureSetting()
1671 private Setting getSsaidSettingLocked(PackageInfo callingPkg, int owningUserId) { in getSsaidSettingLocked() argument
1687 instantSsaid = mPackageManager.getInstantAppAndroidId(callingPkg.packageName, in getSsaidSettingLocked()
1706 true, callingPkg.packageName); in getSsaidSettingLocked()
1717 Setting setting = mSettingsRegistry.generateSsaidLocked(callingPkg, owningUserId); in getSsaidSettingLocked()
2992 public Setting generateSsaidLocked(PackageInfo callingPkg, int userId) {
3030 for (int i = 0; i < callingPkg.signatures.length; i++) {
3031 byte[] sig = callingPkg.signatures[i].toByteArray();
3041 final String uid = Integer.toString(callingPkg.applicationInfo.uid);
[all …]
/frameworks/base/services/core/java/android/content/pm/
DPackageManagerInternal.java478 Intent origIntent, String resolvedType, String callingPkg, in requestInstantAppResolutionPhaseTwo() argument

12