/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 39 String getDeviceIdForPhone(int phoneId, String callingPackage); in getDeviceIdForPhone() 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 [all …]
|
D | ITelephony.aidl | 58 void call(String callingPackage, String number); in call() argument 126 boolean isOffhook(String callingPackage); in isOffhook() argument 135 boolean isOffhookForSubscriber(int subId, String callingPackage); in isOffhookForSubscriber() argument 145 boolean isRingingForSubscriber(int subId, String callingPackage); in isRingingForSubscriber() argument 152 boolean isRinging(String callingPackage); in isRinging() argument 159 boolean isIdle(String callingPackage); in isIdle() argument 168 boolean isIdleForSubscriber(int subId, String callingPackage); in isIdleForSubscriber() argument 175 boolean isRadioOn(String callingPackage); in isRadioOn() argument 183 boolean isRadioOnForSubscriber(int subId, String callingPackage); in isRadioOnForSubscriber() argument 390 int getCdmaEriIconIndex(String callingPackage); in getCdmaEriIconIndex() 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 188 String getSubscriptionProperty(int subId, String propKey, String callingPackage); in getSubscriptionProperty() argument
|
D | CarrierAppUtils.java | 62 public synchronized static void disableCarrierAppsUntilPrivileged(String callingPackage, in disableCarrierAppsUntilPrivileged() argument 69 disableCarrierAppsUntilPrivileged(callingPackage, packageManager, telephonyManager, userId, in disableCarrierAppsUntilPrivileged() 84 public synchronized static void disableCarrierAppsUntilPrivileged(String callingPackage, in disableCarrierAppsUntilPrivileged() argument 91 disableCarrierAppsUntilPrivileged(callingPackage, packageManager, in disableCarrierAppsUntilPrivileged() 97 public static void disableCarrierAppsUntilPrivileged(String callingPackage, in disableCarrierAppsUntilPrivileged() argument 126 PackageManager.DONT_KILL_APP, userId, callingPackage); in disableCarrierAppsUntilPrivileged() 134 userId, callingPackage); in disableCarrierAppsUntilPrivileged()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | PhoneSubInfoController.java | 59 public String getDeviceId(String callingPackage) { in getDeviceId() argument 61 callingPackage); in getDeviceId() 64 public String getDeviceIdForPhone(int phoneId, String callingPackage) { in getDeviceIdForPhone() argument 65 if (!checkReadPhoneState(callingPackage, "getDeviceId")) { in getDeviceIdForPhone() 83 public String getNaiForSubscriber(int subId, String callingPackage) { in getNaiForSubscriber() argument 86 if (!checkReadPhoneState(callingPackage, "getNai")) { in getNaiForSubscriber() 96 public String getImeiForSubscriber(int subId, String callingPackage) { in getImeiForSubscriber() argument 99 if (!checkReadPhoneState(callingPackage, "getImei")) { in getImeiForSubscriber() 109 public String getDeviceSvn(String callingPackage) { in getDeviceSvn() argument 110 return getDeviceSvnUsingSubId(getDefaultSubscription(), callingPackage); in getDeviceSvn() [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 | 194 updateMessageOnIccEf(String callingPackage, int index, int status, byte[] pdu) { in updateMessageOnIccEf() argument 200 callingPackage) != AppOpsManager.MODE_ALLOWED) { in updateMessageOnIccEf() 247 public boolean copyMessageToIccEf(String callingPackage, int status, byte[] pdu, byte[] smsc) { in copyMessageToIccEf() argument 254 callingPackage) != AppOpsManager.MODE_ALLOWED) { in copyMessageToIccEf() 285 public List<SmsRawData> getAllMessagesFromIccEf(String callingPackage) { in getAllMessagesFromIccEf() argument 292 callingPackage) != AppOpsManager.MODE_ALLOWED) { in getAllMessagesFromIccEf() 320 public void sendDataWithSelfPermissions(String callingPackage, String destAddr, String scAddr, in sendDataWithSelfPermissions() argument 325 sendDataInternal(callingPackage, destAddr, scAddr, destPort, data, sentIntent, in sendDataWithSelfPermissions() 333 public void sendData(String callingPackage, String destAddr, String scAddr, int destPort, in sendData() argument 338 sendDataInternal(callingPackage, destAddr, scAddr, destPort, data, sentIntent, in sendData() [all …]
|
/frameworks/base/telecomm/java/com/android/internal/telecom/ |
D | ITelecomService.aidl | 38 void showInCallScreen(boolean showDialpad, String callingPackage); in showInCallScreen() argument 43 PhoneAccountHandle getDefaultOutgoingPhoneAccount(in String uriScheme, String callingPackage); in getDefaultOutgoingPhoneAccount() argument 59 boolean includeDisabledAccounts, String callingPackage); in getCallCapablePhoneAccounts() argument 65 String callingPackage); in getPhoneAccountsSupportingScheme() argument 121 String callingPackage); in isVoiceMailNumber() argument 126 String getVoiceMailNumber(in PhoneAccountHandle accountHandle, String callingPackage); in getVoiceMailNumber() argument 131 String getLine1Number(in PhoneAccountHandle accountHandle, String callingPackage); in getLine1Number() argument 160 void silenceRinger(String callingPackage); in silenceRinger() argument 165 boolean isInCall(String callingPackage); in isInCall() argument 170 boolean isRinging(String callingPackage); in isRinging() argument [all …]
|
/frameworks/base/core/java/com/android/internal/appwidget/ |
D | IAppWidgetService.aidl | 36 ParceledListSlice 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/services/core/java/com/android/server/ |
D | HardwarePropertiesManagerService.java | 53 public float[] getDeviceTemperatures(String callingPackage, int type, int source) in getDeviceTemperatures() argument 55 enforceHardwarePropertiesRetrievalAllowed(callingPackage); in getDeviceTemperatures() 62 public CpuUsageInfo[] getCpuUsages(String callingPackage) throws SecurityException { in getCpuUsages() argument 63 enforceHardwarePropertiesRetrievalAllowed(callingPackage); in getCpuUsages() 70 public float[] getFanSpeeds(String callingPackage) throws SecurityException { in getFanSpeeds() argument 71 enforceHardwarePropertiesRetrievalAllowed(callingPackage); in getFanSpeeds() 86 private void enforceHardwarePropertiesRetrievalAllowed(String callingPackage) in enforceHardwarePropertiesRetrievalAllowed() argument 91 uid = pm.getPackageUid(callingPackage, 0); in enforceHardwarePropertiesRetrievalAllowed() 102 if (!dpm.isDeviceOwnerApp(callingPackage) && !dpm.isProfileOwnerApp(callingPackage) in enforceHardwarePropertiesRetrievalAllowed() 103 && !vrService.isCurrentVrListener(callingPackage, userId)) { in enforceHardwarePropertiesRetrievalAllowed()
|
/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 | 45 ParcelFileDescriptor setWallpaper(String name, in String callingPackage, in setWallpaper() argument 52 void setWallpaperComponentChecked(in ComponentName name, in String callingPackage); in setWallpaperComponentChecked() argument 80 void clearWallpaper(in String callingPackage, int which, int userId); in clearWallpaper() argument 91 void setDimensionHints(in int width, in int height, in String callingPackage); in setDimensionHints() argument 106 void setDisplayPadding(in Rect padding, in String callingPackage); in setDisplayPadding() argument 121 boolean isWallpaperSupported(in String callingPackage); in isWallpaperSupported() argument 126 boolean isSetWallpaperAllowed(in String callingPackage); in isSetWallpaperAllowed() argument
|
/frameworks/base/core/java/android/content/pm/ |
D | ShortcutServiceInternal.java | 43 @NonNull String callingPackage, long changedSince, in getShortcuts() argument 49 isPinnedByCaller(int launcherUserId, @NonNull String callingPackage, in isPinnedByCaller() argument 53 @NonNull String callingPackage, @NonNull String packageName, in pinShortcuts() argument 56 public abstract Intent createShortcutIntent(int launcherUserId, @NonNull String callingPackage, in createShortcutIntent() argument 61 public abstract int getShortcutIconResId(int launcherUserId, @NonNull String callingPackage, in getShortcutIconResId() argument 65 @NonNull String callingPackage, in getShortcutIconFd() argument 69 @NonNull String callingPackage); in hasShortcutHostPermission() argument
|
D | ILauncherApps.aidl | 38 void addOnAppsChangedListener(String callingPackage, in IOnAppsChangedListener listener); in addOnAppsChangedListener() argument 50 ParceledListSlice getShortcuts(String callingPackage, long changedSince, String packageName, in getShortcuts() argument 52 void pinShortcuts(String callingPackage, String packageName, in List<String> shortcutIds, in pinShortcuts() argument 54 boolean startShortcut(String callingPackage, String packageName, String id, in startShortcut() argument 57 int getShortcutIconResId(String callingPackage, String packageName, String id, in getShortcutIconResId() argument 59 ParcelFileDescriptor getShortcutIconFd(String callingPackage, String packageName, String id, in getShortcutIconFd() argument 62 boolean hasShortcutHostPermission(String callingPackage); in hasShortcutHostPermission() 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/services/core/java/com/android/server/pm/ |
D | LauncherAppsService.java | 148 public void addOnAppsChangedListener(String callingPackage, IOnAppsChangedListener listener) in addOnAppsChangedListener() argument 150 verifyCallingPackage(callingPackage); in addOnAppsChangedListener() 163 callingPackage)); in addOnAppsChangedListener() 240 void verifyCallingPackage(String callingPackage) { in verifyCallingPackage() argument 243 packageUid = mPm.getPackageUidAsUser(callingPackage, in verifyCallingPackage() 249 Log.e(TAG, "Package not found: " + callingPackage); in verifyCallingPackage() 356 private void ensureShortcutPermission(@NonNull String callingPackage, UserHandle user) { in ensureShortcutPermission() argument 357 ensureShortcutPermission(callingPackage, user.getIdentifier()); in ensureShortcutPermission() 360 private void ensureShortcutPermission(@NonNull String callingPackage, int userId) { in ensureShortcutPermission() argument 361 verifyCallingPackage(callingPackage); in ensureShortcutPermission() [all …]
|
/frameworks/base/media/java/android/media/ |
D | IAudioService.aidl | 43 String callingPackage, String caller); in adjustSuggestedStreamVolume() argument 45 void adjustStreamVolume(int streamType, int direction, int flags, String callingPackage); in adjustStreamVolume() argument 47 void setStreamVolume(int streamType, int index, int flags, String callingPackage); in setStreamVolume() argument 55 void setMasterMute(boolean mute, int flags, String callingPackage, int userId); in setMasterMute() argument 65 void setMicrophoneMute(boolean on, String callingPackage, int userId); in setMicrophoneMute() argument 83 void setMode(int mode, IBinder cb, String callingPackage); in setMode() argument 148 void disableSafeMediaVolume(String callingPackage); in disableSafeMediaVolume() argument
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsAccess.java | 106 Context context, int callingUid, String callingPackage) { in checkAccessLevel() argument 112 tm.checkCarrierPrivilegesForPackage(callingPackage) == in checkAccessLevel() 123 boolean hasAppOpsPermission = hasAppOpsPermission(context, callingUid, callingPackage); in checkAccessLevel() 172 Context context, int callingUid, String callingPackage) { in hasAppOpsPermission() argument 173 if (callingPackage != null) { in hasAppOpsPermission() 178 callingUid, callingPackage); in hasAppOpsPermission()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
D | SubscriptionControllerMock.java | 112 public SubscriptionInfo getActiveSubscriptionInfo(int subId, String callingPackage) { in getActiveSubscriptionInfo() argument 116 public SubscriptionInfo getActiveSubscriptionInfoForIccId(String iccId, String callingPackage) { in getActiveSubscriptionInfoForIccId() argument 124 public List<SubscriptionInfo> getAllSubInfoList(String callingPackage) { in getAllSubInfoList() argument 128 public List<SubscriptionInfo> getActiveSubscriptionInfoList(String callingPackage) { in getActiveSubscriptionInfoList() argument 132 public int getActiveSubInfoCount(String callingPackage) { in getActiveSubInfoCount() argument 136 public int getAllSubInfoCount(String callingPackage) { in getAllSubInfoCount() argument 251 String callingPackage) { in getSubInfoUsingSlotIdWithCheck() argument 275 public String getSubscriptionProperty(int subId, String propKey, String callingPackage) { in getSubscriptionProperty() argument
|
/frameworks/base/core/java/android/os/ |
D | IHardwarePropertiesManager.aidl | 25 float[] getDeviceTemperatures(String callingPackage, int type, int source); in getDeviceTemperatures() argument 26 CpuUsageInfo[] getCpuUsages(String callingPackage); in getCpuUsages() argument 27 float[] getFanSpeeds(String callingPackage); in getFanSpeeds() 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);
|