Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/
DMmsServiceBroker.java126 public void sendMessage(int subId, String callingPkg, Uri contentUri, String locationUrl,
132 public void downloadMessage(int subId, String callingPkg, String locationUrl,
144 public Uri importTextMessage(String callingPkg, String address, int type, String text,
150 public Uri importMultimediaMessage(String callingPkg, Uri contentUri, String messageId,
156 public boolean deleteStoredMessage(String callingPkg, Uri messageUri)
162 public boolean deleteStoredConversation(String callingPkg, long conversationId)
168 public boolean updateStoredMessageStatus(String callingPkg, Uri messageUri,
174 public boolean archiveStoredConversation(String callingPkg, long conversationId,
180 public Uri addTextMessageDraft(String callingPkg, String address, String text)
186 public Uri addMultimediaMessageDraft(String callingPkg, Uri contentUri)
[all …]
DMountService.java2983 public int mkdirs(String callingPkg, String appPath) {
2990 appOps.checkPackage(Binder.getCallingUid(), callingPkg);
3002 if (FileUtils.contains(userEnv.buildExternalStorageAppDataDirs(callingPkg), appFile) ||
3003 FileUtils.contains(userEnv.buildExternalStorageAppObbDirs(callingPkg), appFile) ||
3004 FileUtils.contains(userEnv.buildExternalStorageAppMediaDirs(callingPkg), appFile)) {
/frameworks/base/telephony/java/com/android/internal/telephony/
DIMms.aidl41 void sendMessage(int subId, String callingPkg, in Uri contentUri, in sendMessage() argument
58 void downloadMessage(int subId, String callingPkg, String locationUrl, in downloadMessage() argument
81 Uri importTextMessage(String callingPkg, String address, int type, String text, in importTextMessage() argument
95 Uri importMultimediaMessage(String callingPkg, in Uri contentUri, String messageId, in importMultimediaMessage() argument
105 boolean deleteStoredMessage(String callingPkg, in Uri messageUri); in deleteStoredMessage() argument
114 boolean deleteStoredConversation(String callingPkg, long conversationId); in deleteStoredConversation() argument
125 boolean updateStoredMessageStatus(String callingPkg, in Uri messageUri, in updateStoredMessageStatus() argument
136 boolean archiveStoredConversation(String callingPkg, long conversationId, boolean archived); in archiveStoredConversation() argument
146 Uri addTextMessageDraft(String callingPkg, String address, String text); in addTextMessageDraft() argument
155 Uri addMultimediaMessageDraft(String callingPkg, in Uri contentUri); in addMultimediaMessageDraft() argument
[all …]
DISms.aidl43 List<SmsRawData> getAllMessagesFromIccEfForSubscriber(in int subId, String callingPkg); in getAllMessagesFromIccEfForSubscriber() argument
57 boolean updateMessageOnIccEfForSubscriber(in int subId, String callingPkg, in updateMessageOnIccEfForSubscriber() argument
70 boolean copyMessageToIccEfForSubscriber(in int subId, String callingPkg, int status, in copyMessageToIccEfForSubscriber() argument
97 void sendDataForSubscriber(int subId, String callingPkg, in String destAddr, in sendDataForSubscriber() argument
125 void sendDataForSubscriberWithSelfPermissions(int subId, String callingPkg, in String destAddr, in sendDataForSubscriberWithSelfPermissions() argument
157 void sendTextForSubscriber(in int subId, String callingPkg, in String destAddr, in sendTextForSubscriber() argument
185 void sendTextForSubscriberWithSelfPermissions(in int subId, String callingPkg, in sendTextForSubscriberWithSelfPermissions() argument
231 void sendMultipartTextForSubscriber(in int subId, String callingPkg, in sendMultipartTextForSubscriber() argument
411 void sendStoredText(int subId, String callingPkg, in Uri messageUri, String scAddress, in sendStoredText() argument
447 void sendStoredMultipartText(int subId, String callingPkg, in Uri messageUri, in sendStoredMultipartText() argument
DITelephony.aidl358 Bundle getCellLocation(String callingPkg); in getCellLocation() argument
363 List<NeighboringCellInfo> getNeighboringCellInfo(String callingPkg); in getNeighboringCellInfo() argument
548 List<CellInfo> getAllCellInfo(String callingPkg); in getAllCellInfo() argument
/frameworks/base/core/java/android/content/
DIContentProvider.java38 public Cursor query(String callingPkg, Uri url, String[] projection, String selection, in query() argument
42 public Uri insert(String callingPkg, Uri url, ContentValues initialValues) in insert() argument
44 public int bulkInsert(String callingPkg, Uri url, ContentValues[] initialValues) in bulkInsert() argument
46 public int delete(String callingPkg, Uri url, String selection, String[] selectionArgs) in delete() argument
48 public int update(String callingPkg, Uri url, ContentValues values, String selection, in update() argument
51 String callingPkg, Uri url, String mode, ICancellationSignal signal, in openFile() argument
55 String callingPkg, Uri url, String mode, ICancellationSignal signal) in openAssetFile() argument
57 public ContentProviderResult[] applyBatch(String callingPkg, in applyBatch() argument
61 String callingPkg, String method, @Nullable String arg, @Nullable Bundle extras) in call() argument
65 public Uri canonicalize(String callingPkg, Uri uri) throws RemoteException; in canonicalize() argument
[all …]
DContentProviderNative.java82 String callingPkg = data.readString(); in onTransact() local
112 Cursor cursor = query(callingPkg, url, projection, selection, selectionArgs, in onTransact()
159 String callingPkg = data.readString(); in onTransact() local
163 Uri out = insert(callingPkg, url, values); in onTransact()
172 String callingPkg = data.readString(); in onTransact() local
176 int count = bulkInsert(callingPkg, url, values); in onTransact()
185 String callingPkg = data.readString(); in onTransact() local
192 final ContentProviderResult[] results = applyBatch(callingPkg, operations); in onTransact()
201 String callingPkg = data.readString(); in onTransact() local
206 int count = delete(callingPkg, url, selection, selectionArgs); in onTransact()
[all …]
DContentProvider.java207 public Cursor query(String callingPkg, Uri uri, String[] projection, in query() argument
212 if (enforceReadPermission(callingPkg, uri, null) != AppOpsManager.MODE_ALLOWED) { in query()
237 final String original = setCallingPackage(callingPkg); in query()
255 public Uri insert(String callingPkg, Uri uri, ContentValues initialValues) { in insert() argument
259 if (enforceWritePermission(callingPkg, uri, null) != AppOpsManager.MODE_ALLOWED) { in insert()
262 final String original = setCallingPackage(callingPkg); in insert()
271 public int bulkInsert(String callingPkg, Uri uri, ContentValues[] initialValues) { in bulkInsert() argument
274 if (enforceWritePermission(callingPkg, uri, null) != AppOpsManager.MODE_ALLOWED) { in bulkInsert()
277 final String original = setCallingPackage(callingPkg); in bulkInsert()
286 public ContentProviderResult[] applyBatch(String callingPkg, in applyBatch() argument
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DImsSMSDispatcher.java175 ArrayList<PendingIntent> deliveryIntents, Uri messageUri, String callingPkg, in sendMultipartText() argument
179 parts, sentIntents, deliveryIntents, messageUri, callingPkg, persistMessage); in sendMultipartText()
182 parts, sentIntents, deliveryIntents, messageUri, callingPkg, persistMessage); in sendMultipartText()
201 PendingIntent deliveryIntent, Uri messageUri, String callingPkg, in sendText() argument
206 text, sentIntent, deliveryIntent, messageUri, callingPkg, persistMessage); in sendText()
209 text, sentIntent, deliveryIntent, messageUri, callingPkg, persistMessage); in sendText()
DUiccSmsController.java368 public void sendStoredText(int subId, String callingPkg, Uri messageUri, String scAddress, in sendStoredText() argument
372 iccSmsIntMgr.sendStoredText(callingPkg, messageUri, scAddress, sentIntent, in sendStoredText()
381 public void sendStoredMultipartText(int subId, String callingPkg, Uri messageUri, in sendStoredMultipartText() argument
386 iccSmsIntMgr.sendStoredMultipartText(callingPkg, messageUri, scAddress, sentIntents, in sendStoredMultipartText()
DIccSmsInterfaceManager.java928 public void sendStoredText(String callingPkg, Uri messageUri, String scAddress, in sendStoredText() argument
936 if (mAppOps.noteOp(AppOpsManager.OP_SEND_SMS, Binder.getCallingUid(), callingPkg) in sendStoredText()
954 sentIntent, deliveryIntent, messageUri, callingPkg, in sendStoredText()
958 public void sendStoredMultipartText(String callingPkg, Uri messageUri, String scAddress, in sendStoredMultipartText() argument
962 if (mAppOps.noteOp(AppOpsManager.OP_SEND_SMS, Binder.getCallingUid(), callingPkg) in sendStoredMultipartText()
1010 singleSentIntent, singleDeliveryIntent, messageUri, callingPkg, in sendStoredMultipartText()
1023 callingPkg, in sendStoredMultipartText()
DSMSDispatcher.java780 String callingPkg, boolean persistMessage); in sendText() argument
835 ArrayList<PendingIntent> deliveryIntents, Uri messageUri, String callingPkg, in sendMultipartText() argument
/frameworks/base/core/java/android/app/
DINotificationManager.aidl62 StatusBarNotification[] getActiveNotifications(String callingPkg); in getActiveNotifications() argument
63 StatusBarNotification[] getHistoricalNotifications(String callingPkg, int count); in getHistoricalNotifications() argument
112 ParceledListSlice getAppActiveNotifications(String callingPkg, int userId); in getAppActiveNotifications() argument
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContentProvider.java140 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
/frameworks/base/test-runner/src/android/test/mock/
DMockIContentProvider.java120 public Uri canonicalize(String callingPkg, Uri uri) throws RemoteException { in canonicalize() argument
125 public Uri uncanonicalize(String callingPkg, Uri uri) throws RemoteException { in uncanonicalize() argument
DMockContentProvider.java142 public Uri canonicalize(String callingPkg, Uri uri) throws RemoteException { in canonicalize() argument
147 public Uri uncanonicalize(String callingPkg, Uri uri) throws RemoteException { in uncanonicalize() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaSMSDispatcher.java143 PendingIntent deliveryIntent, Uri messageUri, String callingPkg, in sendText() argument
/frameworks/base/core/java/android/os/storage/
DIMountService.java844 public int mkdirs(String callingPkg, String path) throws RemoteException { in mkdirs() argument
850 _data.writeString(callingPkg); in mkdirs()
1862 String callingPkg = data.readString(); in onTransact() local
1864 int result = mkdirs(callingPkg, path); in onTransact()
2398 public int mkdirs(String callingPkg, String path) throws RemoteException; in mkdirs() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmSMSDispatcher.java181 PendingIntent deliveryIntent, Uri messageUri, String callingPkg, in sendText() argument
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java1493 public StatusBarNotification[] getActiveNotifications(String callingPkg) {
1503 if (mAppOps.noteOpNoThrow(AppOpsManager.OP_ACCESS_NOTIFICATIONS, uid, callingPkg)
1563 public StatusBarNotification[] getHistoricalNotifications(String callingPkg, int count) {
1573 if (mAppOps.noteOpNoThrow(AppOpsManager.OP_ACCESS_NOTIFICATIONS, uid, callingPkg)