Home
last modified time | relevance | path

Searched defs:callingPackage (Results 1 – 25 of 161) sorted by relevance

1234567

/frameworks/base/telephony/java/com/android/internal/telephony/
DIPhoneSubInfo.aidl29 String getDeviceId(String callingPackage); in getDeviceId()
34 String getDeviceIdWithFeature(String callingPackage, String callingFeatureId); in getDeviceIdWithFeature()
39 String getNaiForSubscriber(int subId, String callingPackage, String callingFeatureId); in getNaiForSubscriber()
45 String getDeviceIdForPhone(int phoneId, String callingPackage, String callingFeatureId); in getDeviceIdForPhone()
50 String getImeiForSubscriber(int subId, String callingPackage, String callingFeatureId); in getImeiForSubscriber()
56 String getDeviceSvn(String callingPackage, String callingFeatureId); in getDeviceSvn()
62 String getDeviceSvnUsingSubId(int subId, String callingPackage, String callingFeatureId); in getDeviceSvnUsingSubId()
66 String getSubscriberId(String callingPackage); in getSubscriberId()
71 String getSubscriberIdWithFeature(String callingPackage, String callingComponenId); in getSubscriberIdWithFeature()
76 String getSubscriberIdForSubscriber(int subId, String callingPackage, in getSubscriberIdForSubscriber()
[all …]
DISub.aidl30 List<SubscriptionInfo> getAllSubInfoList(String callingPackage, String callingFeatureId); in getAllSubInfoList()
38 int getAllSubInfoCount(String callingPackage, String callingFeatureId); in getAllSubInfoCount()
47 SubscriptionInfo getActiveSubscriptionInfo(int subId, String callingPackage, in getActiveSubscriptionInfo()
57 SubscriptionInfo getActiveSubscriptionInfoForIccId(String iccId, String callingPackage, in getActiveSubscriptionInfoForIccId()
67 SubscriptionInfo getActiveSubscriptionInfoForSimSlotIndex(int slotIndex, String callingPackage, in getActiveSubscriptionInfoForSimSlotIndex()
92 List<SubscriptionInfo> getActiveSubscriptionInfoList(String callingPackage, in getActiveSubscriptionInfoList()
100 int getActiveSubInfoCount(String callingPackage, String callingFeatureId); in getActiveSubInfoCount()
110 List<SubscriptionInfo> getAvailableSubscriptionInfoList(String callingPackage, in getAvailableSubscriptionInfoList()
116 List<SubscriptionInfo> getAccessibleSubscriptionInfoList(String callingPackage); in getAccessibleSubscriptionInfoList()
191 int setOpportunistic(boolean opportunistic, int subId, String callingPackage); in setOpportunistic()
[all …]
DIOns.aidl41 boolean setEnable(boolean enable, String callingPackage); in setEnable()
55 boolean isEnabled(String callingPackage); in isEnabled()
74 ISetOpportunisticDataCallback callbackStub, String callingPackage); in setPreferredDataSubscriptionId()
86 int getPreferredDataSubscriptionId(String callingPackage, String callingFeatureId); in getPreferredDataSubscriptionId()
105 IUpdateAvailableNetworksCallback callbackStub, String callingPackage); in updateAvailableNetworks()
DITelephony.aidl108 void call(String callingPackage, String number); in call()
112 boolean isRadioOn(String callingPackage); in isRadioOn()
120 boolean isRadioOnWithFeature(String callingPackage, String callingFeatureId); in isRadioOnWithFeature()
126 boolean isRadioOnForSubscriber(int subId, String callingPackage); in isRadioOnForSubscriber()
135 …boolean isRadioOnForSubscriberWithFeature(int subId, String callingPackage, String callingFeatureI… in isRadioOnForSubscriberWithFeature()
273 boolean enableDataConnectivity(String callingPackage); in enableDataConnectivity()
279 boolean disableDataConnectivity(String callingPackage); in disableDataConnectivity()
307 int getCallStateForSubscription(int subId, String callingPackage, String featureId); in getCallStateForSubscription()
365 int getCdmaEriIconIndex(String callingPackage, String callingFeatureId); in getCdmaEriIconIndex()
373 int getCdmaEriIconIndexForSubscriber(int subId, String callingPackage, in getCdmaEriIconIndexForSubscriber()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneSubInfoController.java66 public String getDeviceId(String callingPackage) { in getDeviceId()
70 public String getDeviceIdWithFeature(String callingPackage, String callingFeatureId) { in getDeviceIdWithFeature()
75 public String getDeviceIdForPhone(int phoneId, String callingPackage, in getDeviceIdForPhone()
82 public String getNaiForSubscriber(int subId, String callingPackage, String callingFeatureId) { in getNaiForSubscriber()
87 public String getImeiForSubscriber(int subId, String callingPackage, in getImeiForSubscriber()
94 String callingPackage) { in getCarrierInfoForImsiEncryption()
100 public void setCarrierInfoForImsiEncryption(int subId, String callingPackage, in setCarrierInfoForImsiEncryption()
117 public void resetCarrierKeysForImsiEncryption(int subId, String callingPackage) { in resetCarrierKeysForImsiEncryption()
126 public String getDeviceSvn(String callingPackage, String callingFeatureId) { in getDeviceSvn()
130 public String getDeviceSvnUsingSubId(int subId, String callingPackage, in getDeviceSvnUsingSubId()
[all …]
DSmsPermissions.java62 boolean persistMessageForNonDefaultSmsApp, String callingPackage, in checkCallingCanSendText()
102 public boolean checkCallingCanSendSms(String callingPackage, String callingAttributionTag, in checkCallingCanSendSms()
116 public boolean checkCallingOrSelfCanSendSms(String callingPackage, String callingAttributionTag, in checkCallingOrSelfCanSendSms()
133 public boolean checkCallingOrSelfCanGetSmscAddress(String callingPackage, String message) { in checkCallingOrSelfCanGetSmscAddress()
152 public boolean checkCallingOrSelfCanSetSmscAddress(String callingPackage, String message) { in checkCallingOrSelfCanSetSmscAddress()
/frameworks/base/core/java/android/app/usage/
DIStorageStatsManager.aidl26 boolean isQuotaSupported(String volumeUuid, String callingPackage); in isQuotaSupported()
27 boolean isReservedSupported(String volumeUuid, String callingPackage); in isReservedSupported()
28 long getTotalBytes(String volumeUuid, String callingPackage); in getTotalBytes()
29 long getFreeBytes(String volumeUuid, String callingPackage); in getFreeBytes()
30 long getCacheBytes(String volumeUuid, String callingPackage); in getCacheBytes()
31 long getCacheQuotaBytes(String volumeUuid, int uid, String callingPackage); in getCacheQuotaBytes()
32 …ats queryStatsForPackage(String volumeUuid, String packageName, int userId, String callingPackage); in queryStatsForPackage()
33 StorageStats queryStatsForUid(String volumeUuid, int uid, String callingPackage); in queryStatsForUid()
34 StorageStats queryStatsForUser(String volumeUuid, int userId, String callingPackage); in queryStatsForUser()
35 …ternalStorageStats queryExternalStatsForUser(String volumeUuid, int userId, String callingPackage); in queryExternalStatsForUser()
[all …]
DIUsageStatsManager.aidl35 String callingPackage, int userId); in queryUsageStats()
38 String callingPackage); in queryConfigurationStats()
40 String callingPackage); in queryEventStats()
41 UsageEvents queryEvents(long beginTime, long endTime, String callingPackage); in queryEvents()
42 UsageEvents queryEventsForPackage(long beginTime, long endTime, String callingPackage); in queryEventsForPackage()
43 UsageEvents queryEventsForUser(long beginTime, long endTime, int userId, String callingPackage); in queryEventsForUser()
44 …entsForPackageForUser(long beginTime, long endTime, int userId, String pkg, String callingPackage); in queryEventsForPackageForUser()
48 boolean isAppInactive(String packageName, int userId, String callingPackage); in isAppInactive()
52 int getAppStandbyBucket(String packageName, String callingPackage, int userId); in getAppStandbyBucket()
54 ParceledListSlice getAppStandbyBuckets(String callingPackage, int userId); in getAppStandbyBuckets()
[all …]
/frameworks/base/core/java/android/content/pm/
DILauncherApps.aidl49 void addOnAppsChangedListener(String callingPackage, in IOnAppsChangedListener listener); in addOnAppsChangedListener()
52 String callingPackage, String packageName, in UserHandle user); in getLauncherActivities()
54 String callingPackage, in ComponentName component, in UserHandle user); in resolveLauncherActivityInternal()
55 void startSessionDetailsActivityAsUser(in IApplicationThread caller, String callingPackage, in startSessionDetailsActivityAsUser()
58 void startActivityAsUser(in IApplicationThread caller, String callingPackage, in startActivityAsUser()
61 PendingIntent getActivityLaunchIntent(String callingPackage, in ComponentName component, in getActivityLaunchIntent()
63 void showAppDetailsAsUser(in IApplicationThread caller, String callingPackage, in showAppDetailsAsUser()
66 boolean isPackageEnabled(String callingPackage, String packageName, in UserHandle user); in isPackageEnabled()
69 String callingPackage, in ComponentName component, in UserHandle user); in isActivityEnabled()
71 String callingPackage, String packageName, int flags, in UserHandle user); in getApplicationInfo()
[all …]
DShortcutServiceInternal.java50 @NonNull String callingPackage, long changedSince, in getShortcuts()
62 @NonNull String callingPackage, long changedSince, in getShortcutsAsync()
69 isPinnedByCaller(int launcherUserId, @NonNull String callingPackage, in isPinnedByCaller()
73 @NonNull String callingPackage, @NonNull String packageName, in pinShortcuts()
77 int launcherUserId, @NonNull String callingPackage, in createShortcutIntents()
85 int launcherUserId, @NonNull String callingPackage, in createShortcutIntentsAsync()
94 public abstract int getShortcutIconResId(int launcherUserId, @NonNull String callingPackage, in getShortcutIconResId()
101 @NonNull String callingPackage, @NonNull String packageName, @NonNull String shortcutId, in getShortcutStartingThemeResName()
105 @NonNull String callingPackage, in getShortcutIconFd()
111 public abstract void getShortcutIconFdAsync(int launcherUserId, @NonNull String callingPackage, in getShortcutIconFdAsync()
[all …]
DICrossProfileApps.aidl30 void startActivityAsUser(in IApplicationThread caller, in String callingPackage, in startActivityAsUser()
33 void startActivityAsUserByIntent(in IApplicationThread caller, in String callingPackage, in startActivityAsUserByIntent()
36 List<UserHandle> getTargetUserProfiles(in String callingPackage); in getTargetUserProfiles()
37 boolean canInteractAcrossProfiles(in String callingPackage); in canInteractAcrossProfiles()
38 boolean canRequestInteractAcrossProfiles(in String callingPackage); in canRequestInteractAcrossProfiles()
/frameworks/base/telecomm/java/com/android/internal/telecom/
DITelecomService.aidl40 void showInCallScreen(boolean showDialpad, String callingPackage, String callingFeatureId); in showInCallScreen()
45 PhoneAccountHandle getDefaultOutgoingPhoneAccount(in String uriScheme, String callingPackage, in getDefaultOutgoingPhoneAccount()
51 PhoneAccountHandle getUserSelectedOutgoingPhoneAccount(String callingPackage); in getUserSelectedOutgoingPhoneAccount()
62 boolean includeDisabledAccounts, String callingPackage, String callingFeatureId); in getCallCapablePhoneAccounts()
67 ParceledListSlice<PhoneAccountHandle> getSelfManagedPhoneAccounts(String callingPackage, in getSelfManagedPhoneAccounts()
73 ParceledListSlice<PhoneAccountHandle> getOwnSelfManagedPhoneAccounts(String callingPackage, in getOwnSelfManagedPhoneAccounts()
80 String callingPackage); in getPhoneAccountsSupportingScheme()
90 PhoneAccount getPhoneAccount(in PhoneAccountHandle account, String callingPackage); in getPhoneAccount()
136 String callingPackage, String callingFeatureId); in isVoiceMailNumber()
141 String getVoiceMailNumber(in PhoneAccountHandle accountHandle, String callingPackage, in getVoiceMailNumber()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/euicc/
DIEuiccCardController.aidl44 oneway void getAllProfiles(String callingPackage, String cardId, in getAllProfiles()
46 oneway void getProfile(String callingPackage, String cardId, String iccid, in getProfile()
48 oneway void getEnabledProfile(String callingPackage, String cardId, int portIndex, in getEnabledProfile()
50 oneway void disableProfile(String callingPackage, String cardId, String iccid, boolean refresh, in disableProfile()
52 oneway void switchToProfile(String callingPackage, String cardId, String iccid, int portIndex, in switchToProfile()
54 oneway void setNickname(String callingPackage, String cardId, String iccid, String nickname, in setNickname()
56 oneway void deleteProfile(String callingPackage, String cardId, String iccid, in deleteProfile()
58 …oneway void resetMemory(String callingPackage, String cardId, int options, in IResetMemoryCallback… in resetMemory()
59 oneway void getDefaultSmdpAddress(String callingPackage, String cardId, in getDefaultSmdpAddress()
61 oneway void getSmdsAddress(String callingPackage, String cardId, in getSmdsAddress()
[all …]
DIEuiccController.aidl33 String callingPackage, in PendingIntent callbackIntent); in getDownloadableSubscriptionMetadata()
35 String callingPackage, in PendingIntent callbackIntent); in getDefaultDownloadableSubscriptionList()
36 String getEid(int cardId, String callingPackage); in getEid()
39 boolean switchAfterDownload, String callingPackage, in Bundle resolvedBundle, in downloadSubscription()
42 oneway void deleteSubscription(int cardId, int subscriptionId, String callingPackage, in deleteSubscription()
44 oneway void switchToSubscription(int cardId, int subscriptionId, String callingPackage, in switchToSubscription()
47 String callingPackage, in PendingIntent callbackIntent); in switchToSubscriptionWithPort()
49 String callingPackage, in PendingIntent callbackIntent); in updateSubscriptionNickname()
57 boolean isSimPortAvailable(int cardId, int portIndex, String callingPackage); in isSimPortAvailable()
58 boolean hasCarrierPrivilegesForPackageOnAnyPhone(String callingPackage); in hasCarrierPrivilegesForPackageOnAnyPhone()
[all …]
/frameworks/base/core/java/com/android/internal/appwidget/
DIAppWidgetService.aidl38 ParceledListSlice startListening(IAppWidgetHost host, String callingPackage, int hostId, in startListening()
40 void stopListening(String callingPackage, int hostId); in stopListening()
41 int allocateAppWidgetId(String callingPackage, int hostId); in allocateAppWidgetId()
42 void deleteAppWidgetId(String callingPackage, int appWidgetId); in deleteAppWidgetId()
46 RemoteViews getAppWidgetViews(String callingPackage, int appWidgetId); in getAppWidgetViews()
47 int[] getAppWidgetIdsForHost(String callingPackage, int hostId); in getAppWidgetIdsForHost()
48 void setAppWidgetHidden(in String callingPackage, int hostId); in setAppWidgetHidden()
49 IntentSender createAppWidgetConfigIntentSender(String callingPackage, int appWidgetId, in createAppWidgetConfigIntentSender()
55 void updateAppWidgetIds(String callingPackage, in int[] appWidgetIds, in RemoteViews views); in updateAppWidgetIds()
56 void updateAppWidgetOptions(String callingPackage, int appWidgetId, in Bundle extras); in updateAppWidgetOptions()
[all …]
/frameworks/base/core/java/android/content/
DIClipboard.aidl29 void setPrimaryClip(in ClipData clip, String callingPackage, String attributionTag, int userId); in setPrimaryClip()
30 …void setPrimaryClipAsPackage(in ClipData clip, String callingPackage, String attributionTag, int u… in setPrimaryClipAsPackage()
32 void clearPrimaryClip(String callingPackage, String attributionTag, int userId); in clearPrimaryClip()
34 …ClipDescription getPrimaryClipDescription(String callingPackage, String attributionTag, int userId… in getPrimaryClipDescription()
35 boolean hasPrimaryClip(String callingPackage, String attributionTag, int userId); in hasPrimaryClip()
37 String callingPackage, String attributionTag, int userId); in addPrimaryClipChangedListener()
39 String callingPackage, String attributionTag, int userId); in removePrimaryClipChangedListener()
44 boolean hasClipboardText(String callingPackage, String attributionTag, int userId); in hasClipboardText()
46 String getPrimaryClipSource(String callingPackage, String attributionTag, int userId); in getPrimaryClipSource()
/frameworks/base/services/usage/java/com/android/server/usage/
DStorageStatsService.java207 private void enforceStatsPermission(int callingUid, String callingPackage) { in enforceStatsPermission()
214 private String checkStatsPermission(int callingUid, String callingPackage, boolean noteOp) { in checkStatsPermission()
239 public boolean isQuotaSupported(String volumeUuid, String callingPackage) { in isQuotaSupported()
248 public boolean isReservedSupported(String volumeUuid, String callingPackage) { in isReservedSupported()
258 public long getTotalBytes(String volumeUuid, String callingPackage) { in getTotalBytes()
274 public long getFreeBytes(String volumeUuid, String callingPackage) { in getFreeBytes()
304 public long getCacheBytes(String volumeUuid, String callingPackage) { in getCacheBytes()
305 enforceStatsPermission(Binder.getCallingUid(), callingPackage); in getCacheBytes() local
316 public long getCacheQuotaBytes(String volumeUuid, int uid, String callingPackage) { in getCacheQuotaBytes()
317 enforceStatsPermission(Binder.getCallingUid(), callingPackage); in getCacheQuotaBytes() local
[all …]
/frameworks/base/core/java/com/android/internal/app/
DIVoiceInteractor.aidl30 IVoiceInteractorRequest startConfirmation(String callingPackage, in startConfirmation()
32 IVoiceInteractorRequest startPickOption(String callingPackage, in startPickOption()
35 IVoiceInteractorRequest startCompleteVoice(String callingPackage, in startCompleteVoice()
37 IVoiceInteractorRequest startAbortVoice(String callingPackage, in startAbortVoice()
39 IVoiceInteractorRequest startCommand(String callingPackage, in startCommand()
41 boolean[] supportsCommands(String callingPackage, in String[] commands); in supportsCommands()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccCardController.java192 private void checkCallingPackage(String callingPackage) { in checkCallingPackage()
194 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in checkCallingPackage() local
282 public void getAllProfiles(String callingPackage, String cardId, in getAllProfiles()
331 public void getProfile(String callingPackage, String cardId, String iccid, in getProfile()
379 public void getEnabledProfile(String callingPackage, String cardId, int portIndex, in getEnabledProfile()
463 public void disableProfile(String callingPackage, String cardId, String iccid, boolean refresh, in disableProfile()
511 public void switchToProfile(String callingPackage, String cardId, String iccid, int portIndex, in switchToProfile()
577 public void setNickname(String callingPackage, String cardId, String iccid, String nickname, in setNickname()
625 public void deleteProfile(String callingPackage, String cardId, String iccid, in deleteProfile()
677 public void resetMemory(String callingPackage, String cardId, in resetMemory()
[all …]
DEuiccController.java210 public String getEid(int cardId, String callingPackage) { in getEid()
213 mAppOpsManager.checkPackage(Binder.getCallingUid(), callingPackage); in getEid() local
285 DownloadableSubscription subscription, String callingPackage, in getDownloadableSubscriptionMetadata()
387 boolean forceDeactivateSim, String callingPackage, PendingIntent callbackIntent) { in getDownloadableSubscriptionMetadata()
391 mAppOpsManager.checkPackage(Binder.getCallingUid(), callingPackage); in getDownloadableSubscriptionMetadata() local
412 String callingPackage, in GetMetadataCommandCallback()
465 boolean switchAfterDownload, String callingPackage, Bundle resolvedBundle, in downloadSubscription()
556 boolean switchAfterDownload, String callingPackage, boolean forceDeactivateSim, in downloadSubscription()
559 mAppOpsManager.checkPackage(Binder.getCallingUid(), callingPackage); in downloadSubscription() local
637 String callingPackage, boolean forceDeactivateSim, in DownloadSubscriptionGetMetadataCommandCallback()
[all …]
/frameworks/base/core/java/android/os/
DIHardwarePropertiesManager.aidl25 float[] getDeviceTemperatures(String callingPackage, int type, int source); in getDeviceTemperatures()
26 CpuUsageInfo[] getCpuUsages(String callingPackage); in getCpuUsages()
27 float[] getFanSpeeds(String callingPackage); in getFanSpeeds()
/frameworks/base/services/core/java/com/android/server/pm/
DLauncherAppsService.java151 public abstract boolean startShortcut(int callerUid, int callerPid, String callingPackage, in startShortcut()
246 public void addOnAppsChangedListener(String callingPackage, IOnAppsChangedListener listener) in addOnAppsChangedListener()
286 public void registerPackageInstallerCallback(String callingPackage, in registerPackageInstallerCallback()
296 public ParceledListSlice<SessionInfo> getAllSessions(String callingPackage) { in getAllSessions()
413 private void verifyCallingPackage(String callingPackage) { in verifyCallingPackage()
418 void verifyCallingPackage(String callingPackage, int callerUid) { in verifyCallingPackage()
466 String callingPackage, String packageName, UserHandle user) throws RemoteException { in getLauncherActivities()
597 String callingPackage, ComponentName component, UserHandle user) in resolveLauncherActivityInternal()
632 String callingPackage, String packageName, UserHandle user) in getShortcutConfigActivities()
639 String callingPackage, Intent intent, UserHandle user) { in queryActivitiesForUser()
[all …]
/frameworks/native/libs/permission/
DAppOpsManager.cpp78 int32_t AppOpsManager::checkOp(int32_t op, int32_t uid, const String16& callingPackage) in checkOp()
87 const String16& callingPackage) { in checkAudioOpNoThrow()
94 int32_t AppOpsManager::noteOp(int32_t op, int32_t uid, const String16& callingPackage) { in noteOp()
99 int32_t AppOpsManager::noteOp(int32_t op, int32_t uid, const String16& callingPackage, in noteOp()
110 int32_t AppOpsManager::startOpNoThrow(int32_t op, int32_t uid, const String16& callingPackage, in startOpNoThrow()
116 int32_t AppOpsManager::startOpNoThrow(int32_t op, int32_t uid, const String16& callingPackage, in startOpNoThrow()
129 void AppOpsManager::finishOp(int32_t op, int32_t uid, const String16& callingPackage) { in finishOp()
133 void AppOpsManager::finishOp(int32_t op, int32_t uid, const String16& callingPackage, in finishOp()
/frameworks/base/telephony/common/com/android/internal/telephony/
DTelephonyPermissions.java92 Context context, int subId, String callingPackage, @Nullable String callingFeatureId, in checkCallingOrSelfReadPhoneState()
100 Context context, int subId, String callingPackage, @Nullable String callingFeatureId, in checkCallingOrSelfReadPhoneStateNoThrow()
153 Context context, int subId, int pid, int uid, String callingPackage, in checkReadPhoneState()
211 String callingPackage, @Nullable String callingFeatureId, String message) { in checkReadPhoneStateOnAnyActiveSub()
254 String callingPackage, @Nullable String callingFeatureId, String message) { in checkCallingOrSelfReadDeviceIdentifiers()
280 String callingPackage, @Nullable String callingFeatureId, String message) { in checkCallingOrSelfReadDeviceIdentifiers()
308 String callingPackage, @Nullable String callingFeatureId, String message) { in checkCallingOrSelfReadSubscriberIdentifiers()
322 String callingPackage, @Nullable String callingFeatureId, String message, in checkCallingOrSelfReadSubscriberIdentifiers()
356 Context context, int subId, String callingPackage, @Nullable String callingFeatureId, in checkPrivilegedReadPermissionOrCarrierPrivilegePermission()
401 int uid, String callingPackage, String message) { in reportAccessDeniedToReadIdentifiers()
[all …]
/frameworks/base/core/java/android/app/ambientcontext/
DIAmbientContextManager.aidl38 void unregisterObserver(in String callingPackage); in unregisterObserver()
39 void queryServiceStatus(in int[] eventTypes, in String callingPackage, in queryServiceStatus()
41 void startConsentActivity(in int[] eventTypes, in String callingPackage); in startConsentActivity()

1234567