/frameworks/base/services/core/java/com/android/server/ |
D | MmsServiceBroker.java | 130 public void sendMessage(int subId, String callingPkg, Uri contentUri, String locationUrl, 136 public void downloadMessage(int subId, String callingPkg, String locationUrl, 143 public Uri importTextMessage(String callingPkg, String address, int type, String text, 149 public Uri importMultimediaMessage(String callingPkg, Uri contentUri, String messageId, 155 public boolean deleteStoredMessage(String callingPkg, Uri messageUri) 161 public boolean deleteStoredConversation(String callingPkg, long conversationId) 167 public boolean updateStoredMessageStatus(String callingPkg, Uri messageUri, 173 public boolean archiveStoredConversation(String callingPkg, long conversationId, 179 public Uri addTextMessageDraft(String callingPkg, String address, String text) 185 public Uri addMultimediaMessageDraft(String callingPkg, Uri contentUri) [all …]
|
/frameworks/base/mms/java/com/android/internal/telephony/ |
D | IMms.aidl | 41 void sendMessage(int subId, String callingPkg, in Uri contentUri, in sendMessage() argument 58 void downloadMessage(int subId, String callingPkg, String locationUrl, in downloadMessage() argument 74 Uri importTextMessage(String callingPkg, String address, int type, String text, in importTextMessage() argument 88 Uri importMultimediaMessage(String callingPkg, in Uri contentUri, String messageId, in importMultimediaMessage() argument 98 boolean deleteStoredMessage(String callingPkg, in Uri messageUri); in deleteStoredMessage() argument 107 boolean deleteStoredConversation(String callingPkg, long conversationId); in deleteStoredConversation() argument 118 boolean updateStoredMessageStatus(String callingPkg, in Uri messageUri, in updateStoredMessageStatus() argument 129 boolean archiveStoredConversation(String callingPkg, long conversationId, boolean archived); in archiveStoredConversation() argument 139 Uri addTextMessageDraft(String callingPkg, String address, String text); in addTextMessageDraft() argument 148 Uri addMultimediaMessageDraft(String callingPkg, in Uri contentUri); in addMultimediaMessageDraft() argument [all …]
|
/frameworks/base/core/java/android/content/ |
D | IContentProvider.java | 40 public Cursor query(String callingPkg, Uri url, @Nullable String[] projection, in query() argument 45 public Uri insert(String callingPkg, Uri url, ContentValues initialValues) in insert() argument 48 public int bulkInsert(String callingPkg, Uri url, ContentValues[] initialValues) in bulkInsert() argument 51 public int delete(String callingPkg, Uri url, String selection, String[] selectionArgs) in delete() argument 54 public int update(String callingPkg, Uri url, ContentValues values, String selection, in update() argument 57 String callingPkg, Uri url, String mode, ICancellationSignal signal, in openFile() argument 61 String callingPkg, Uri url, String mode, ICancellationSignal signal) in openAssetFile() argument 65 public default ContentProviderResult[] applyBatch(String callingPkg, in applyBatch() argument 68 return applyBatch(callingPkg, "unknown", operations); in applyBatch() 71 public ContentProviderResult[] applyBatch(String callingPkg, String authority, in applyBatch() argument [all …]
|
D | ContentProviderNative.java | 85 String callingPkg = data.readString(); in onTransact() local 104 … Cursor cursor = query(callingPkg, url, projection, queryArgs, cancellationSignal); in onTransact() 150 String callingPkg = data.readString(); in onTransact() local 154 Uri out = insert(callingPkg, url, values); in onTransact() 163 String callingPkg = data.readString(); in onTransact() local 167 int count = bulkInsert(callingPkg, url, values); in onTransact() 176 String callingPkg = data.readString(); in onTransact() local 184 final ContentProviderResult[] results = applyBatch(callingPkg, authority, in onTransact() 194 String callingPkg = data.readString(); in onTransact() local 199 int count = delete(callingPkg, url, selection, selectionArgs); in onTransact() [all …]
|
D | ContentProvider.java | 227 public Cursor query(String callingPkg, Uri uri, @Nullable String[] projection, in query() argument 231 if (enforceReadPermission(callingPkg, uri, null) != AppOpsManager.MODE_ALLOWED) { in query() 247 final String original = setCallingPackage(callingPkg); in query() 265 final String original = setCallingPackage(callingPkg); in query() 294 public Uri insert(String callingPkg, Uri uri, ContentValues initialValues) { in insert() argument 298 if (enforceWritePermission(callingPkg, uri, null) != AppOpsManager.MODE_ALLOWED) { in insert() 299 final String original = setCallingPackage(callingPkg); in insert() 307 final String original = setCallingPackage(callingPkg); in insert() 319 public int bulkInsert(String callingPkg, Uri uri, ContentValues[] initialValues) { in bulkInsert() argument 322 if (enforceWritePermission(callingPkg, uri, null) != AppOpsManager.MODE_ALLOWED) { in bulkInsert() [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 62 public void sendTextForSubscriberWithOptions(int subId, String callingPkg, in sendTextForSubscriberWithOptions() argument 77 public void sendMultipartTextForSubscriber(int subId, String callingPkg, in sendMultipartTextForSubscriber() argument 85 public void sendMultipartTextForSubscriberWithOptions(int subId, String callingPkg, in sendMultipartTextForSubscriberWithOptions() argument 163 public void sendStoredText(int subId, String callingPkg, String callingAttributionTag, in sendStoredText() argument 170 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 121 void sendTextForSubscriber(in int subId, String callingPkg, String callingAttributionTag, in sendTextForSubscriber() argument 171 void sendTextForSubscriberWithOptions(in int subId, String callingPkg, in sendTextForSubscriberWithOptions() argument 219 void sendMultipartTextForSubscriber(in int subId, String callingPkg, in sendMultipartTextForSubscriber() argument 268 void sendMultipartTextForSubscriberWithOptions(in int subId, String callingPkg, in sendMultipartTextForSubscriberWithOptions() argument 450 void sendStoredText(int subId, String callingPkg, String callingAttributionTag, in sendStoredText() argument 488 void sendStoredMultipartText(int subId, String callingPkg, String callingAttributeTag, in sendStoredMultipartText() argument [all …]
|
D | ITelephony.aidl | 233 void updateServiceLocationWithPackageName(String callingPkg); in updateServiceLocationWithPackageName() argument 265 CellIdentity getCellLocation(String callingPkg, String callingFeatureId); in getCellLocation() argument 277 List<NeighboringCellInfo> getNeighboringCellInfo(String callingPkg, String callingFeatureId); in getNeighboringCellInfo() argument 543 List<CellInfo> getAllCellInfo(String callingPkg, String callingFeatureId); in getAllCellInfo() argument 549 void requestCellInfoUpdate(int subId, in ICellInfoCallback cb, String callingPkg, in requestCellInfoUpdate() argument 559 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 | 77 boolean shouldHideSilentStatusIcons(String callingPkg); in shouldHideSilentStatusIcons() argument 93 …NotificationChannel getNotificationChannel(String callingPkg, int userId, String pkg, String chann… in getNotificationChannel() argument 96 ParceledListSlice getNotificationChannels(String callingPkg, String targetPkg, int userId); in getNotificationChannels() argument 116 StatusBarNotification[] getActiveNotifications(String callingPkg); in getActiveNotifications() argument 118 StatusBarNotification[] getHistoricalNotifications(String callingPkg, int count); in getHistoricalNotifications() argument 197 ParceledListSlice getAppActiveNotifications(String callingPkg, int userId); in getAppActiveNotifications() argument 199 void setNotificationDelegate(String callingPkg, String delegate); in setNotificationDelegate() argument 200 String getNotificationDelegate(String callingPkg); in getNotificationDelegate() argument 201 boolean canNotifyAsPackage(String callingPkg, String targetPkg, int userId); in canNotifyAsPackage() argument
|
D | IWallpaperManager.aidl | 65 ParcelFileDescriptor getWallpaper(String callingPkg, IWallpaperManagerCallback cb, int which, in getWallpaper() 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 | 507 public void sendStoredText(int subId, String callingPkg, String callingAttributionTag, in sendStoredText() argument 512 iccSmsIntMgr.sendStoredText(callingPkg, callingAttributionTag, messageUri, scAddress, in sendStoredText() 521 public void sendStoredMultipartText(int subId, String callingPkg, String callingAttributionTag, in sendStoredMultipartText() argument 526 iccSmsIntMgr.sendStoredMultipartText(callingPkg, callingAttributionTag, messageUri, in sendStoredMultipartText() 661 int subId, String callingPkg, String prefixes, PendingIntent intent) { in createAppSpecificSmsTokenWithPackageInfo() argument 662 if (callingPkg == null) { in createAppSpecificSmsTokenWithPackageInfo() 663 callingPkg = getCallingPackage(); in createAppSpecificSmsTokenWithPackageInfo() 666 subId, callingPkg, prefixes, intent); in createAppSpecificSmsTokenWithPackageInfo() 670 public String createAppSpecificSmsToken(int subId, String callingPkg, PendingIntent intent) { in createAppSpecificSmsToken() argument 671 if (callingPkg == null) { in createAppSpecificSmsToken() [all …]
|
D | SmsDispatchersController.java | 663 PendingIntent deliveryIntent, Uri messageUri, String callingPkg, boolean persistMessage, in sendText() argument 667 messageUri, callingPkg, persistMessage, SMS_MESSAGE_PRIORITY_NOT_SPECIFIED, in sendText() 672 messageUri, callingPkg, persistMessage, priority, expectMore, in sendText() 676 messageUri, callingPkg, persistMessage, priority, expectMore, in sendText() 730 ArrayList<PendingIntent> deliveryIntents, Uri messageUri, String callingPkg, in sendMultipartText() argument 734 deliveryIntents, messageUri, callingPkg, persistMessage, in sendMultipartText() 740 deliveryIntents, messageUri, callingPkg, persistMessage, priority, in sendMultipartText() 744 deliveryIntents, messageUri, callingPkg, persistMessage, priority, in sendMultipartText()
|
D | IccSmsInterfaceManager.java | 1274 public void sendStoredText(String callingPkg, Uri messageUri, String scAddress, in sendStoredText() argument 1276 sendStoredText(callingPkg, null, messageUri, scAddress, sentIntent, deliveryIntent); in sendStoredText() 1279 public void sendStoredText(String callingPkg, String callingAttributionTag, in sendStoredText() argument 1282 if (!mSmsPermissions.checkCallingCanSendSms(callingPkg, callingAttributionTag, in sendStoredText() 1306 sentIntent, deliveryIntent, messageUri, callingPkg, in sendStoredText() 1317 public void sendStoredMultipartText(String callingPkg, Uri messageUri, String scAddress, in sendStoredMultipartText() argument 1319 sendStoredMultipartText(callingPkg, null, messageUri, scAddress, sentIntents, in sendStoredMultipartText() 1323 public void sendStoredMultipartText(String callingPkg, in sendStoredMultipartText() argument 1326 if (!mSmsPermissions.checkCallingCanSendSms(callingPkg, callingAttributionTag, in sendStoredMultipartText() 1375 singleSentIntent, singleDeliveryIntent, messageUri, callingPkg, in sendStoredMultipartText() [all …]
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeContentProvider.java | 140 public Uri canonicalize(String callingPkg, Uri uri) throws RemoteException { in canonicalize() argument 145 public Uri uncanonicalize(String callingPkg, Uri uri) throws RemoteException { in uncanonicalize() argument 150 public boolean refresh(String callingPkg, Uri url, Bundle args, in refresh() argument
|
/frameworks/base/test-mock/src/android/test/mock/ |
D | MockIContentProvider.java | 133 public Uri canonicalize(String callingPkg, Uri uri) throws RemoteException { in canonicalize() argument 138 public Uri uncanonicalize(String callingPkg, Uri uri) throws RemoteException { in uncanonicalize() argument 143 public boolean refresh(String callingPkg, Uri url, Bundle args, in refresh() argument
|
D | MockContentProvider.java | 144 public Uri canonicalize(String callingPkg, Uri uri) throws RemoteException { in canonicalize() argument 149 public Uri uncanonicalize(String callingPkg, Uri uri) throws RemoteException { in uncanonicalize() argument 154 public boolean refresh(String callingPkg, Uri url, Bundle args, in refresh() argument
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | TestDocumentsProvider.java | 96 protected int enforceReadPermissionInner(Uri uri, String callingPkg, IBinder callerToken) { in enforceReadPermissionInner() argument 101 protected int enforceWritePermissionInner(Uri uri, String callingPkg, IBinder callerToken) { in enforceWritePermissionInner() argument
|
/frameworks/base/services/core/java/com/android/server/slice/ |
D | SliceManagerService.java | 219 public int checkSlicePermission(Uri uri, String callingPkg, String pkg, int pid, int uid, in checkSlicePermission() argument 224 if (checkSlicePermission(uri, callingPkg, p, pid, uid, autoGrantPermissions) in checkSlicePermission() 237 if (autoGrantPermissions != null && callingPkg != null) { in checkSlicePermission() 239 enforceOwner(callingPkg, uri, userId); in checkSlicePermission() 258 public void grantPermissionFromUser(Uri uri, String pkg, String callingPkg, boolean allSlices) { in grantPermissionFromUser() argument 259 verifyCaller(callingPkg); in grantPermissionFromUser()
|
/frameworks/base/media/apex/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 | 131 protected int enforceReadPermissionInner(Uri uri, String callingPkg, IBinder callerToken) in enforceReadPermissionInner() argument 134 return super.enforceReadPermissionInner(uri, callingPkg, callerToken); in enforceReadPermissionInner() 138 protected int enforceWritePermissionInner(Uri uri, String callingPkg, IBinder callerToken) in enforceWritePermissionInner() argument 141 return super.enforceWritePermissionInner(uri, callingPkg, callerToken); in enforceWritePermissionInner()
|
/frameworks/base/core/java/android/os/storage/ |
D | IStorageManager.aidl | 116 void mkdirs(in String callingPkg, in String path) = 34; in mkdirs() argument
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 2603 public boolean shouldHideSilentStatusIcons(String callingPkg) { 2604 checkCallerIsSameApp(callingPkg); 2607 || mListeners.isListenerPackage(callingPkg)) { 2644 public void setNotificationDelegate(String callingPkg, String delegate) { 2645 checkCallerIsSameApp(callingPkg); 2649 mPreferencesHelper.revokeNotificationDelegate(callingPkg, Binder.getCallingUid()); 2659 callingPkg, callingUid, delegate, info.uid); 2669 public String getNotificationDelegate(String callingPkg) { 2671 checkCallerIsSystemOrSameApp(callingPkg); 2672 return mPreferencesHelper.getNotificationDelegate(callingPkg, Binder.getCallingUid()); [all …]
|