/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | PhoneSubInfoProxy.java | 38 public String getDeviceId(String callingPackage) { in getDeviceId() argument 39 return mPhoneSubInfo.getDeviceId(callingPackage); in getDeviceId() 42 public String getImei(String callingPackage) { in getImei() argument 43 return mPhoneSubInfo.getImei(callingPackage); in getImei() 46 public String getNai(String callingPackage) { in getNai() argument 47 return mPhoneSubInfo.getNai(callingPackage); in getNai() 51 public String getDeviceSvn(String callingPackage) { in getDeviceSvn() argument 52 return mPhoneSubInfo.getDeviceSvn(callingPackage); in getDeviceSvn() 59 public String getSubscriberId(String callingPackage) { in getSubscriberId() argument 60 return mPhoneSubInfo.getSubscriberId(callingPackage); in getSubscriberId() [all …]
|
D | PhoneSubInfoController.java | 40 public String getDeviceId(String callingPackage) { in getDeviceId() argument 54 public String getNaiForSubscriber(int subId, String callingPackage) { in getNaiForSubscriber() argument 57 return phoneSubInfoProxy.getNai(callingPackage); in getNaiForSubscriber() 65 public String getImeiForSubscriber(int subId, String callingPackage) { in getImeiForSubscriber() argument 68 return phoneSubInfoProxy.getImei(callingPackage); in getImeiForSubscriber() 76 public String getDeviceSvn(String callingPackage) { in getDeviceSvn() argument 77 return getDeviceSvnUsingSubId(getDefaultSubscription(), callingPackage); in getDeviceSvn() 80 public String getDeviceSvnUsingSubId(int subId, String callingPackage) { in getDeviceSvnUsingSubId() argument 83 return phoneSubInfoProxy.getDeviceSvn(callingPackage); in getDeviceSvnUsingSubId() 90 public String getSubscriberId(String callingPackage) { in getSubscriberId() argument [all …]
|
D | PhoneSubInfo.java | 70 public String getDeviceId(String callingPackage) { in getDeviceId() argument 71 if (!checkReadPhoneState(callingPackage, "getDeviceId")) { in getDeviceId() 80 public String getImei(String callingPackage) { in getImei() argument 81 if (!checkReadPhoneState(callingPackage, "getImei")) { in getImei() 90 public String getNai(String callingPackage) { in getNai() argument 91 if (!checkReadPhoneState(callingPackage, "getNai")) { in getNai() 101 public String getDeviceSvn(String callingPackage) { in getDeviceSvn() argument 102 if (!checkReadPhoneState(callingPackage, "getDeviceSvn")) { in getDeviceSvn() 112 public String getSubscriberId(String callingPackage) { in getSubscriberId() argument 113 if (!checkReadPhoneState(callingPackage, "getSubscriberId")) { in getSubscriberId() [all …]
|
D | UiccSmsController.java | 57 updateMessageOnIccEfForSubscriber(int subId, String callingPackage, int index, int status, in updateMessageOnIccEfForSubscriber() argument 61 return iccSmsIntMgr.updateMessageOnIccEf(callingPackage, index, status, pdu); in updateMessageOnIccEfForSubscriber() 70 public boolean copyMessageToIccEfForSubscriber(int subId, String callingPackage, int status, in copyMessageToIccEfForSubscriber() argument 74 return iccSmsIntMgr.copyMessageToIccEf(callingPackage, status, pdu, smsc); in copyMessageToIccEfForSubscriber() 83 public List<SmsRawData> getAllMessagesFromIccEfForSubscriber(int subId, String callingPackage) in getAllMessagesFromIccEfForSubscriber() argument 87 return iccSmsIntMgr.getAllMessagesFromIccEf(callingPackage); in getAllMessagesFromIccEfForSubscriber() 96 public void sendDataForSubscriber(int subId, String callingPackage, String destAddr, in sendDataForSubscriber() argument 101 iccSmsIntMgr.sendData(callingPackage, destAddr, scAddr, destPort, data, in sendDataForSubscriber() 111 public void sendDataForSubscriberWithSelfPermissions(int subId, String callingPackage, in sendDataForSubscriberWithSelfPermissions() argument 116 … iccSmsIntMgr.sendDataWithSelfPermissions(callingPackage, destAddr, scAddr, destPort, data, in sendDataForSubscriberWithSelfPermissions() [all …]
|
D | IccSmsInterfaceManager.java | 195 updateMessageOnIccEf(String callingPackage, int index, int status, byte[] pdu) { in updateMessageOnIccEf() argument 201 callingPackage) != AppOpsManager.MODE_ALLOWED) { in updateMessageOnIccEf() 248 public boolean copyMessageToIccEf(String callingPackage, int status, byte[] pdu, byte[] smsc) { in copyMessageToIccEf() argument 255 callingPackage) != AppOpsManager.MODE_ALLOWED) { in copyMessageToIccEf() 286 public List<SmsRawData> getAllMessagesFromIccEf(String callingPackage) { in getAllMessagesFromIccEf() argument 293 callingPackage) != AppOpsManager.MODE_ALLOWED) { in getAllMessagesFromIccEf() 323 public void sendDataWithSelfPermissions(String callingPackage, String destAddr, String scAddr, in sendDataWithSelfPermissions() argument 328 sendDataInternal(callingPackage, destAddr, scAddr, destPort, data, sentIntent, in sendDataWithSelfPermissions() 336 public void sendData(String callingPackage, String destAddr, String scAddr, int destPort, in sendData() argument 341 sendDataInternal(callingPackage, destAddr, scAddr, destPort, data, sentIntent, in sendData() [all …]
|
D | CarrierAppUtils.java | 61 public synchronized static void disableCarrierAppsUntilPrivileged(String callingPackage, in disableCarrierAppsUntilPrivileged() argument 68 disableCarrierAppsUntilPrivileged(callingPackage, packageManager, telephonyManager, userId, in disableCarrierAppsUntilPrivileged() 74 public static void disableCarrierAppsUntilPrivileged(String callingPackage, in disableCarrierAppsUntilPrivileged() argument 103 PackageManager.DONT_KILL_APP, userId, callingPackage); in disableCarrierAppsUntilPrivileged() 111 userId, callingPackage); in disableCarrierAppsUntilPrivileged()
|
D | SubscriptionController.java | 209 private boolean canReadPhoneState(String callingPackage, String message) { in canReadPhoneState() argument 222 callingPackage) == AppOpsManager.MODE_ALLOWED; in canReadPhoneState() 364 private int getUnusedColor(String callingPackage) { in getUnusedColor() argument 365 List<SubscriptionInfo> availableSubInfos = getActiveSubscriptionInfoList(callingPackage); in getUnusedColor() 393 public SubscriptionInfo getActiveSubscriptionInfo(int subId, String callingPackage) { in getActiveSubscriptionInfo() argument 394 if (!canReadPhoneState(callingPackage, "getActiveSubscriptionInfo")) { in getActiveSubscriptionInfo() 431 public SubscriptionInfo getActiveSubscriptionInfoForIccId(String iccId, String callingPackage) { in getActiveSubscriptionInfoForIccId() argument 432 if (!canReadPhoneState(callingPackage, "getActiveSubscriptionInfoForIccId")) { in getActiveSubscriptionInfoForIccId() 469 String callingPackage) { in getActiveSubscriptionInfoForSimSlotIndex() argument 470 if (!canReadPhoneState(callingPackage, "getActiveSubscriptionInfoForSimSlotIndex")) { in getActiveSubscriptionInfoForSimSlotIndex() [all …]
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | IPhoneSubInfo.aidl | 28 String getDeviceId(String callingPackage); in getDeviceId() argument 33 String getNaiForSubscriber(int subId, String callingPackage); in getNaiForSubscriber() argument 44 String getImeiForSubscriber(int subId, String callingPackage); in getImeiForSubscriber() argument 50 String getDeviceSvn(String callingPackage); in getDeviceSvn() argument 56 String getDeviceSvnUsingSubId(int subId, String callingPackage); in getDeviceSvnUsingSubId() argument 61 String getSubscriberId(String callingPackage); in getSubscriberId() argument 66 String getSubscriberIdForSubscriber(int subId, String callingPackage); in getSubscriberIdForSubscriber() argument 71 String getGroupIdLevel1(String callingPackage); in getGroupIdLevel1() argument 76 String getGroupIdLevel1ForSubscriber(int subId, String callingPackage); in getGroupIdLevel1ForSubscriber() argument 81 String getIccSerialNumber(String callingPackage); in getIccSerialNumber() argument [all …]
|
D | ITelephony.aidl | 54 void call(String callingPackage, String number); in call() argument 122 boolean isOffhook(String callingPackage); in isOffhook() argument 131 boolean isOffhookForSubscriber(int subId, String callingPackage); in isOffhookForSubscriber() argument 141 boolean isRingingForSubscriber(int subId, String callingPackage); in isRingingForSubscriber() argument 148 boolean isRinging(String callingPackage); in isRinging() argument 155 boolean isIdle(String callingPackage); in isIdle() argument 164 boolean isIdleForSubscriber(int subId, String callingPackage); in isIdleForSubscriber() argument 171 boolean isRadioOn(String callingPackage); in isRadioOn() argument 179 boolean isRadioOnForSubscriber(int subId, String callingPackage); in isRadioOnForSubscriber() argument 186 boolean isSimPinEnabled(String callingPackage); in isSimPinEnabled() argument [all …]
|
D | ISub.aidl | 29 List<SubscriptionInfo> getAllSubInfoList(String callingPackage); in getAllSubInfoList() argument 36 int getAllSubInfoCount(String callingPackage); in getAllSubInfoCount() argument 44 SubscriptionInfo getActiveSubscriptionInfo(int subId, String callingPackage); in getActiveSubscriptionInfo() argument 52 SubscriptionInfo getActiveSubscriptionInfoForIccId(String iccId, String callingPackage); in getActiveSubscriptionInfoForIccId() argument 60 SubscriptionInfo getActiveSubscriptionInfoForSimSlotIndex(int slotIdx, String callingPackage); in getActiveSubscriptionInfoForSimSlotIndex() argument 83 List<SubscriptionInfo> getActiveSubscriptionInfoList(String callingPackage); in getActiveSubscriptionInfoList() argument 89 int getActiveSubInfoCount(String callingPackage); in getActiveSubInfoCount() argument 177 String getSubscriptionProperty(int subId, String propKey, String callingPackage); in getSubscriptionProperty() argument
|
/frameworks/base/telecomm/java/com/android/internal/telecom/ |
D | ITelecomService.aidl | 36 void showInCallScreen(boolean showDialpad, String callingPackage); in showInCallScreen() argument 41 PhoneAccountHandle getDefaultOutgoingPhoneAccount(in String uriScheme, String callingPackage); in getDefaultOutgoingPhoneAccount() argument 57 boolean includeDisabledAccounts, String callingPackage); in getCallCapablePhoneAccounts() argument 63 String callingPackage); in getPhoneAccountsSupportingScheme() argument 119 String callingPackage); in isVoiceMailNumber() argument 124 String getVoiceMailNumber(in PhoneAccountHandle accountHandle, String callingPackage); in getVoiceMailNumber() argument 129 String getLine1Number(in PhoneAccountHandle accountHandle, String callingPackage); in getLine1Number() argument 153 void silenceRinger(String callingPackage); in silenceRinger() argument 158 boolean isInCall(String callingPackage); in isInCall() argument 163 boolean isRinging(String callingPackage); in isRinging() argument [all …]
|
/frameworks/base/core/java/com/android/internal/appwidget/ |
D | IAppWidgetService.aidl | 36 int[] startListening(IAppWidgetHost host, String callingPackage, int hostId, in startListening() argument 38 void stopListening(String callingPackage, int hostId); in stopListening() argument 39 int allocateAppWidgetId(String callingPackage, int hostId); in allocateAppWidgetId() argument 40 void deleteAppWidgetId(String callingPackage, int appWidgetId); in deleteAppWidgetId() argument 43 RemoteViews getAppWidgetViews(String callingPackage, int appWidgetId); in getAppWidgetViews() argument 44 int[] getAppWidgetIdsForHost(String callingPackage, int hostId); in getAppWidgetIdsForHost() argument 45 IntentSender createAppWidgetConfigIntentSender(String callingPackage, int appWidgetId, in createAppWidgetConfigIntentSender() argument 51 void updateAppWidgetIds(String callingPackage, in int[] appWidgetIds, in RemoteViews views); in updateAppWidgetIds() argument 52 void updateAppWidgetOptions(String callingPackage, int appWidgetId, in Bundle extras); in updateAppWidgetOptions() argument 53 Bundle getAppWidgetOptions(String callingPackage, int appWidgetId); in getAppWidgetOptions() argument [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeContentProvider.java | 43 public ContentProviderResult[] applyBatch(String callingPackage, in applyBatch() argument 51 public int bulkInsert(String callingPackage, Uri arg0, ContentValues[] arg1) in bulkInsert() argument 58 public Bundle call(String callingPackage, String arg0, String arg1, Bundle arg2) in call() argument 65 public int delete(String callingPackage, Uri arg0, String arg1, String[] arg2) in delete() argument 78 public Uri insert(String callingPackage, Uri arg0, ContentValues arg1) throws RemoteException { in insert() argument 85 String callingPackage, Uri arg0, String arg1, ICancellationSignal signal) in openAssetFile() argument 93 String callingPackage, Uri arg0, String arg1, ICancellationSignal signal, IBinder token) in openFile() argument 100 public Cursor query(String callingPackage, Uri arg0, String[] arg1, String arg2, String[] arg3, in query() argument 107 public int update(String callingPackage, Uri arg0, ContentValues arg1, String arg2, in update() argument 126 public AssetFileDescriptor openTypedAssetFile(String callingPackage, Uri arg0, String arg1, in openTypedAssetFile() argument
|
/frameworks/base/test-runner/src/android/test/mock/ |
D | MockIContentProvider.java | 44 public int bulkInsert(String callingPackage, Uri url, ContentValues[] initialValues) { in bulkInsert() argument 49 public int delete(String callingPackage, Uri url, String selection, String[] selectionArgs) in delete() argument 59 public Uri insert(String callingPackage, Uri url, ContentValues initialValues) in insert() argument 65 String callingPackage, Uri url, String mode, ICancellationSignal signal, in openFile() argument 71 String callingPackage, Uri uri, String mode, ICancellationSignal signal) { in openAssetFile() argument 75 public ContentProviderResult[] applyBatch(String callingPackage, in applyBatch() argument 80 public Cursor query(String callingPackage, Uri url, String[] projection, String selection, in query() argument 91 public int update(String callingPackage, Uri url, ContentValues values, String selection, in update() argument 96 public Bundle call(String callingPackage, String method, String request, Bundle args) in call() argument 109 public AssetFileDescriptor openTypedAssetFile(String callingPackage, Uri url, String mimeType, in openTypedAssetFile() argument
|
D | MockContentProvider.java | 56 public ContentProviderResult[] applyBatch(String callingPackage, in applyBatch() argument 63 public int bulkInsert(String callingPackage, Uri url, ContentValues[] initialValues) in bulkInsert() argument 69 public int delete(String callingPackage, Uri url, String selection, String[] selectionArgs) in delete() argument 80 public Uri insert(String callingPackage, Uri url, ContentValues initialValues) in insert() argument 87 String callingPackage, Uri url, String mode, ICancellationSignal signal) in openAssetFile() argument 94 String callingPackage, Uri url, String mode, ICancellationSignal signal, in openFile() argument 100 public Cursor query(String callingPackage, Uri url, String[] projection, String selection, in query() argument 108 public int update(String callingPackage, Uri url, ContentValues values, String selection, in update() argument 114 public Bundle call(String callingPackage, String method, String request, Bundle args) in call() argument 130 public AssetFileDescriptor openTypedAssetFile(String callingPackage, Uri url, in openTypedAssetFile() argument
|
/frameworks/base/core/java/android/app/ |
D | IWallpaperManager.aidl | 32 ParcelFileDescriptor setWallpaper(String name, in String callingPackage); in setWallpaper() argument 37 void setWallpaperComponentChecked(in ComponentName name, in String callingPackage); in setWallpaperComponentChecked() argument 58 void clearWallpaper(in String callingPackage); in clearWallpaper() argument 69 void setDimensionHints(in int width, in int height, in String callingPackage); in setDimensionHints() argument 84 void setDisplayPadding(in Rect padding, in String callingPackage); in setDisplayPadding() argument 99 boolean isWallpaperSupported(in String callingPackage); in isWallpaperSupported() argument
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IVoiceInteractor.aidl | 29 IVoiceInteractorRequest startConfirmation(String callingPackage, in startConfirmation() argument 31 IVoiceInteractorRequest startPickOption(String callingPackage, in startPickOption() argument 34 IVoiceInteractorRequest startCompleteVoice(String callingPackage, in startCompleteVoice() argument 36 IVoiceInteractorRequest startAbortVoice(String callingPackage, in startAbortVoice() argument 38 IVoiceInteractorRequest startCommand(String callingPackage, in startCommand() argument 40 boolean[] supportsCommands(String callingPackage, in String[] commands); in supportsCommands() argument
|
/frameworks/base/core/java/android/content/ |
D | IClipboard.aidl | 29 void setPrimaryClip(in ClipData clip, String callingPackage); in setPrimaryClip() argument 31 ClipDescription getPrimaryClipDescription(String callingPackage); in getPrimaryClipDescription() argument 32 boolean hasPrimaryClip(String callingPackage); in hasPrimaryClip() argument 34 String callingPackage); in addPrimaryClipChangedListener() argument 40 boolean hasClipboardText(String callingPackage); in hasClipboardText() argument
|
/frameworks/native/libs/binder/ |
D | AppOpsManager.cpp | 68 int32_t AppOpsManager::checkOp(int32_t op, int32_t uid, const String16& callingPackage) in checkOp() argument 71 return service != NULL ? service->checkOperation(op, uid, callingPackage) : MODE_IGNORED; in checkOp() 74 int32_t AppOpsManager::noteOp(int32_t op, int32_t uid, const String16& callingPackage) { in noteOp() argument 76 return service != NULL ? service->noteOperation(op, uid, callingPackage) : MODE_IGNORED; in noteOp() 79 int32_t AppOpsManager::startOp(int32_t op, int32_t uid, const String16& callingPackage) { in startOp() argument 81 return service != NULL ? service->startOperation(getToken(service), op, uid, callingPackage) in startOp() 85 void AppOpsManager::finishOp(int32_t op, int32_t uid, const String16& callingPackage) { in finishOp() argument 88 service->finishOperation(getToken(service), op, uid, callingPackage); in finishOp()
|
/frameworks/base/media/java/android/media/ |
D | IAudioService.aidl | 44 String callingPackage, String caller); in adjustSuggestedStreamVolume() argument 46 void adjustStreamVolume(int streamType, int direction, int flags, String callingPackage); in adjustStreamVolume() argument 48 void setStreamVolume(int streamType, int index, int flags, String callingPackage); in setStreamVolume() argument 58 void setMasterMute(boolean mute, int flags, String callingPackage, int userId); in setMasterMute() argument 68 void setMicrophoneMute(boolean on, String callingPackage, int userId); in setMicrophoneMute() argument 86 void setMode(int mode, IBinder cb, String callingPackage); in setMode() argument 204 void disableSafeMediaVolume(String callingPackage); in disableSafeMediaVolume() argument
|
D | AudioManagerInternal.java | 30 int flags, String callingPackage, int uid); in adjustSuggestedStreamVolumeForUid() argument 33 String callingPackage, int uid); in adjustStreamVolumeForUid() argument 36 String callingPackage, int uid); in setStreamVolumeForUid() argument
|
/frameworks/base/core/java/android/app/usage/ |
D | IUsageStatsManager.aidl | 29 String callingPackage); in queryUsageStats() argument 31 String callingPackage); in queryConfigurationStats() argument 32 UsageEvents queryEvents(long beginTime, long endTime, String callingPackage); in queryEvents() argument
|
/frameworks/native/include/binder/ |
D | AppOpsManager.h | 99 int32_t checkOp(int32_t op, int32_t uid, const String16& callingPackage); 100 int32_t noteOp(int32_t op, int32_t uid, const String16& callingPackage); 101 int32_t startOp(int32_t op, int32_t uid, const String16& callingPackage); 102 void finishOp(int32_t op, int32_t uid, const String16& callingPackage);
|
/frameworks/base/services/core/java/com/android/server/clipboard/ |
D | ClipboardService.java | 160 public void setPrimaryClip(ClipData clip, String callingPackage) { in setPrimaryClip() argument 167 callingPackage) != AppOpsManager.MODE_ALLOWED) { in setPrimaryClip() 258 public ClipDescription getPrimaryClipDescription(String callingPackage) { in getPrimaryClipDescription() argument 261 callingPackage) != AppOpsManager.MODE_ALLOWED) { in getPrimaryClipDescription() 269 public boolean hasPrimaryClip(String callingPackage) { in hasPrimaryClip() argument 272 callingPackage) != AppOpsManager.MODE_ALLOWED) { in hasPrimaryClip() 280 String callingPackage) { in addPrimaryClipChangedListener() argument 283 new ListenerInfo(Binder.getCallingUid(), callingPackage)); in addPrimaryClipChangedListener() 293 public boolean hasClipboardText(String callingPackage) { in hasClipboardText() argument 296 callingPackage) != AppOpsManager.MODE_ALLOWED) { in hasClipboardText()
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
D | AppWidgetServiceImpl.java | 488 public int[] startListening(IAppWidgetHost callbacks, String callingPackage, in startListening() argument 497 mSecurityPolicy.enforceCallFromPackage(callingPackage); in startListening() 504 HostId id = new HostId(Binder.getCallingUid(), hostId, callingPackage); in startListening() 525 public void stopListening(String callingPackage, int hostId) { in stopListening() argument 533 mSecurityPolicy.enforceCallFromPackage(callingPackage); in stopListening() 540 HostId id = new HostId(Binder.getCallingUid(), hostId, callingPackage); in stopListening() 551 public int allocateAppWidgetId(String callingPackage, int hostId) { in allocateAppWidgetId() argument 559 mSecurityPolicy.enforceCallFromPackage(callingPackage); in allocateAppWidgetId() 572 HostId id = new HostId(Binder.getCallingUid(), hostId, callingPackage); in allocateAppWidgetId() 594 public void deleteAppWidgetId(String callingPackage, int appWidgetId) { in deleteAppWidgetId() argument [all …]
|