/frameworks/base/services/core/java/com/android/server/ |
D | MmsServiceBroker.java | 131 public void sendMessage(int subId, String callingPkg, Uri contentUri, String locationUrl, 138 public void downloadMessage(int subId, String callingPkg, String locationUrl, 146 public Uri importTextMessage(String callingPkg, String address, int type, String text, 152 public Uri importMultimediaMessage(String callingPkg, Uri contentUri, String messageId, 158 public boolean deleteStoredMessage(String callingPkg, Uri messageUri) 164 public boolean deleteStoredConversation(String callingPkg, long conversationId) 170 public boolean updateStoredMessageStatus(String callingPkg, Uri messageUri, 176 public boolean archiveStoredConversation(String callingPkg, long conversationId, 182 public Uri addTextMessageDraft(String callingPkg, String address, String text) 188 public Uri addMultimediaMessageDraft(String callingPkg, Uri contentUri) [all …]
|
/frameworks/base/core/java/android/content/ |
D | IContentProvider.java | 41 public Cursor query(String callingPkg, @Nullable String attributionTag, Uri url, in query() argument 58 public default Uri insert(String callingPkg, Uri url, ContentValues initialValues) in insert() argument 60 return insert(callingPkg, null, url, initialValues, null); in insert() 62 public Uri insert(String callingPkg, String attributionTag, Uri url, in insert() argument 68 public default int bulkInsert(String callingPkg, Uri url, ContentValues[] initialValues) in bulkInsert() argument 70 return bulkInsert(callingPkg, null, url, initialValues); in bulkInsert() 72 public int bulkInsert(String callingPkg, String attributionTag, Uri url, in bulkInsert() argument 78 public default int delete(String callingPkg, Uri url, String selection, String[] selectionArgs) in delete() argument 80 return delete(callingPkg, null, url, in delete() 83 public int delete(String callingPkg, String attributionTag, Uri url, Bundle extras) in delete() argument [all …]
|
D | ContentProviderNative.java | 86 String callingPkg = data.readString(); in onTransact() local 106 Cursor cursor = query(callingPkg, callingFeatureId, url, projection, queryArgs, in onTransact() 161 String callingPkg = data.readString(); in onTransact() local 167 Uri out = insert(callingPkg, featureId, url, values, extras); in onTransact() 176 String callingPkg = data.readString(); in onTransact() local 181 int count = bulkInsert(callingPkg, featureId, url, values); in onTransact() 190 String callingPkg = data.readString(); in onTransact() local 199 final ContentProviderResult[] results = applyBatch(callingPkg, featureId, in onTransact() 209 String callingPkg = data.readString(); in onTransact() local 214 int count = delete(callingPkg, featureId, url, extras); in onTransact() [all …]
|
D | ContentProvider.java | 234 public Cursor query(String callingPkg, @Nullable String attributionTag, Uri uri, in query() argument 239 if (enforceReadPermission(callingPkg, attributionTag, uri, null) in query() 257 new Pair<>(callingPkg, attributionTag)); in query() 276 new Pair<>(callingPkg, attributionTag)); in query() 317 public Uri insert(String callingPkg, @Nullable String attributionTag, Uri uri, in insert() argument 322 if (enforceWritePermission(callingPkg, attributionTag, uri, null) in insert() 325 new Pair<>(callingPkg, attributionTag)); in insert() 334 new Pair<>(callingPkg, attributionTag)); in insert() 346 public int bulkInsert(String callingPkg, @Nullable String attributionTag, Uri uri, in bulkInsert() argument 350 if (enforceWritePermission(callingPkg, attributionTag, uri, null) in bulkInsert() [all …]
|
/frameworks/base/mms/java/com/android/internal/telephony/ |
D | IMms.aidl | 42 void sendMessage(int subId, String callingPkg, in Uri contentUri, in sendMessage() argument 61 void downloadMessage(int subId, String callingPkg, String locationUrl, in downloadMessage() argument 77 Uri importTextMessage(String callingPkg, String address, int type, String text, in importTextMessage() argument 91 Uri importMultimediaMessage(String callingPkg, in Uri contentUri, String messageId, in importMultimediaMessage() argument 101 boolean deleteStoredMessage(String callingPkg, in Uri messageUri); in deleteStoredMessage() argument 110 boolean deleteStoredConversation(String callingPkg, long conversationId); in deleteStoredConversation() argument 121 boolean updateStoredMessageStatus(String callingPkg, in Uri messageUri, in updateStoredMessageStatus() argument 132 boolean archiveStoredConversation(String callingPkg, long conversationId, boolean archived); in archiveStoredConversation() argument 142 Uri addTextMessageDraft(String callingPkg, String address, String text); in addTextMessageDraft() argument 151 Uri addMultimediaMessageDraft(String callingPkg, in Uri contentUri); in addMultimediaMessageDraft() argument [all …]
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | ISmsImplBase.java | 31 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 …]
|
D | ISms.aidl | 35 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 …]
|
D | ITelephony.aidl | 278 CellIdentity getCellLocation(String callingPkg, String callingFeatureId); in getCellLocation() argument 290 List<NeighboringCellInfo> getNeighboringCellInfo(String callingPkg, String callingFeatureId); in getNeighboringCellInfo() argument 556 List<CellInfo> getAllCellInfo(String callingPkg, String callingFeatureId); in getAllCellInfo() argument 562 void requestCellInfoUpdate(int subId, in ICellInfoCallback cb, String callingPkg, in requestCellInfoUpdate() argument 572 in String callingPkg, String callingFeatureId, in WorkSource ws); in requestCellInfoUpdateWithWorkSource() argument
|
/frameworks/base/core/java/android/app/slice/ |
D | ISliceManager.aidl | 34 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, String pkg, int pid, int uid, in checkSlicePermission() argument 38 void grantPermissionFromUser(in Uri uri, String pkg, String callingPkg, boolean allSlices); in grantPermissionFromUser() argument
|
D | SliceProvider.java | 453 String callingPkg, int callingUid, int callingPid) { in handleBindSlice() argument 456 String pkg = callingPkg != null ? callingPkg in handleBindSlice()
|
/frameworks/base/core/java/android/app/ |
D | INotificationManager.aidl | 82 boolean shouldHideSilentStatusIcons(String callingPkg); in shouldHideSilentStatusIcons() argument 99 …NotificationChannel getNotificationChannel(String callingPkg, int userId, String pkg, String chann… in getNotificationChannel() argument 100 …NotificationChannel getConversationNotificationChannel(String callingPkg, int userId, String pkg, … in getConversationNotificationChannel() argument 105 ParceledListSlice getNotificationChannels(String callingPkg, String targetPkg, int userId); in getNotificationChannels() argument 126 StatusBarNotification[] getActiveNotifications(String callingPkg); in getActiveNotifications() argument 127 StatusBarNotification[] getActiveNotificationsWithAttribution(String callingPkg, in getActiveNotificationsWithAttribution() argument 130 …StatusBarNotification[] getHistoricalNotifications(String callingPkg, int count, boolean includeSn… in getHistoricalNotifications() argument 131 StatusBarNotification[] getHistoricalNotificationsWithAttribution(String callingPkg, in getHistoricalNotificationsWithAttribution() argument 134 NotificationHistory getNotificationHistory(String callingPkg, String callingAttributionTag); in getNotificationHistory() argument 214 ParceledListSlice getAppActiveNotifications(String callingPkg, int userId); in getAppActiveNotifications() argument [all …]
|
D | IWallpaperManager.aidl | 67 ParcelFileDescriptor getWallpaper(String callingPkg, IWallpaperManagerCallback cb, int which, in getWallpaper() argument 73 ParcelFileDescriptor getWallpaperWithFeature(String callingPkg, String callingFeatureId, in getWallpaperWithFeature() argument
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeContentProvider.java | 160 public Uri canonicalize(String callingPkg, String callingFeatureId, Uri uri) in canonicalize() argument 167 public void canonicalizeAsync(String callingPkg, String callingFeatureId, Uri uri, in canonicalizeAsync() argument 173 canonicalize(callingPkg, callingFeatureId, uri)); in canonicalizeAsync() 182 public Uri uncanonicalize(String callingPkg, String callingFeatureId, Uri uri) in uncanonicalize() argument 188 public boolean refresh(String callingPkg, String callingFeatureId, Uri url, Bundle args, in refresh() argument 194 public int checkUriPermission(String callingPkg, String callingFeatureId, Uri uri, int uid, in checkUriPermission() argument
|
/frameworks/base/test-mock/src/android/test/mock/ |
D | MockIContentProvider.java | 148 public Uri canonicalize(String callingPkg, @Nullable String featureId, Uri uri) { in canonicalize() argument 154 public void canonicalizeAsync(String callingPkg, String featureId, Uri uri, in canonicalizeAsync() argument 159 canonicalize(callingPkg, featureId, uri)); in canonicalizeAsync() 165 public Uri uncanonicalize(String callingPkg, @Nullable String featureId, Uri uri) in uncanonicalize() argument 171 public boolean refresh(String callingPkg, @Nullable String featureId, Uri url, Bundle args, in refresh() argument 178 public int checkUriPermission(String callingPkg, @Nullable String featureId, Uri uri, int uid, in checkUriPermission() argument
|
D | MockContentProvider.java | 153 public Uri canonicalize(String callingPkg, @Nullable String featureId, Uri uri) in canonicalize() argument 159 public void canonicalizeAsync(String callingPkg, String featureId, Uri uri, in canonicalizeAsync() argument 165 public Uri uncanonicalize(String callingPkg, @Nullable String featureId, Uri uri) in uncanonicalize() argument 171 public boolean refresh(String callingPkg, @Nullable String featureId, Uri url, in refresh() argument 177 public int checkUriPermission(String callingPkg, @Nullable String featureId, Uri uri, in checkUriPermission() argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | AppSmsManager.java | 84 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()
|
D | SmsController.java | 513 public void sendStoredText(int subId, String callingPkg, String callingAttributionTag, in sendStoredText() argument 518 iccSmsIntMgr.sendStoredText(callingPkg, callingAttributionTag, messageUri, scAddress, in sendStoredText() 527 public void sendStoredMultipartText(int subId, String callingPkg, String callingAttributionTag, in sendStoredMultipartText() argument 532 iccSmsIntMgr.sendStoredMultipartText(callingPkg, callingAttributionTag, messageUri, in sendStoredMultipartText() 667 int subId, String callingPkg, String prefixes, PendingIntent intent) { in createAppSpecificSmsTokenWithPackageInfo() argument 668 if (callingPkg == null) { in createAppSpecificSmsTokenWithPackageInfo() 669 callingPkg = getCallingPackage(); in createAppSpecificSmsTokenWithPackageInfo() 672 subId, callingPkg, prefixes, intent); in createAppSpecificSmsTokenWithPackageInfo() 676 public String createAppSpecificSmsToken(int subId, String callingPkg, PendingIntent intent) { in createAppSpecificSmsToken() argument 677 if (callingPkg == null) { in createAppSpecificSmsToken() [all …]
|
D | SmsDispatchersController.java | 645 PendingIntent deliveryIntent, Uri messageUri, String callingPkg, boolean persistMessage, in sendText() argument 650 messageUri, callingPkg, persistMessage, SMS_MESSAGE_PRIORITY_NOT_SPECIFIED, in sendText() 656 messageUri, callingPkg, persistMessage, priority, expectMore, in sendText() 660 messageUri, callingPkg, persistMessage, priority, expectMore, in sendText() 716 ArrayList<PendingIntent> deliveryIntents, Uri messageUri, String callingPkg, in sendMultipartText() argument 721 deliveryIntents, messageUri, callingPkg, persistMessage, in sendMultipartText() 728 deliveryIntents, messageUri, callingPkg, persistMessage, priority, in sendMultipartText() 732 deliveryIntents, messageUri, callingPkg, persistMessage, priority, in sendMultipartText()
|
D | IccSmsInterfaceManager.java | 1289 public void sendStoredText(String callingPkg, Uri messageUri, String scAddress, in sendStoredText() argument 1291 sendStoredText(callingPkg, null, messageUri, scAddress, sentIntent, deliveryIntent); in sendStoredText() 1294 public void sendStoredText(String callingPkg, String callingAttributionTag, in sendStoredText() argument 1297 if (!mSmsPermissions.checkCallingCanSendSms(callingPkg, callingAttributionTag, in sendStoredText() 1321 sentIntent, deliveryIntent, messageUri, callingPkg, in sendStoredText() 1333 public void sendStoredMultipartText(String callingPkg, Uri messageUri, String scAddress, in sendStoredMultipartText() argument 1335 sendStoredMultipartText(callingPkg, null, messageUri, scAddress, sentIntents, in sendStoredMultipartText() 1339 public void sendStoredMultipartText(String callingPkg, in sendStoredMultipartText() argument 1342 if (!mSmsPermissions.checkCallingCanSendSms(callingPkg, callingAttributionTag, in sendStoredMultipartText() 1391 singleSentIntent, singleDeliveryIntent, messageUri, callingPkg, in sendStoredMultipartText() [all …]
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | TestDocumentsProvider.java | 96 protected int enforceReadPermissionInner(Uri uri, String callingPkg, in enforceReadPermissionInner() argument 102 protected int enforceWritePermissionInner(Uri uri, String callingPkg, in enforceWritePermissionInner() argument
|
/frameworks/base/services/core/java/com/android/server/slice/ |
D | SliceManagerService.java | 224 public int checkSlicePermission(Uri uri, String callingPkg, String pkg, int pid, int uid, in checkSlicePermission() argument 229 if (checkSlicePermission(uri, callingPkg, p, pid, uid, autoGrantPermissions) in checkSlicePermission() 242 if (autoGrantPermissions != null && callingPkg != null) { in checkSlicePermission() 244 enforceOwner(callingPkg, uri, userId); in checkSlicePermission() 263 public void grantPermissionFromUser(Uri uri, String pkg, String callingPkg, boolean allSlices) { in grantPermissionFromUser() argument 264 verifyCaller(callingPkg); in grantPermissionFromUser()
|
/frameworks/base/apex/media/framework/java/android/media/ |
D | MediaSession2Service.java | 379 String callingPkg = connectionRequest.getString(KEY_PACKAGE_NAME); in connect() local 383 callingPkg, in connect()
|
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
D | ExternalStorageProvider.java | 144 protected int enforceReadPermissionInner(Uri uri, String callingPkg, in enforceReadPermissionInner() argument 147 return super.enforceReadPermissionInner(uri, callingPkg, featureId, callerToken); in enforceReadPermissionInner() 151 protected int enforceWritePermissionInner(Uri uri, String callingPkg, in enforceWritePermissionInner() argument 154 return super.enforceWritePermissionInner(uri, callingPkg, featureId, callerToken); in enforceWritePermissionInner()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 3141 public boolean shouldHideSilentStatusIcons(String callingPkg) { 3142 checkCallerIsSameApp(callingPkg); 3145 || mListeners.isListenerPackage(callingPkg)) { 3213 public void setNotificationDelegate(String callingPkg, String delegate) { 3214 checkCallerIsSameApp(callingPkg); 3218 mPreferencesHelper.revokeNotificationDelegate(callingPkg, Binder.getCallingUid()); 3228 callingPkg, callingUid, delegate, info.uid); 3238 public String getNotificationDelegate(String callingPkg) { 3240 checkCallerIsSystemOrSameApp(callingPkg); 3241 return mPreferencesHelper.getNotificationDelegate(callingPkg, Binder.getCallingUid()); [all …]
|
/frameworks/base/core/java/android/os/storage/ |
D | IStorageManager.aidl | 116 void mkdirs(in String callingPkg, in String path) = 34; in mkdirs() argument
|