Home
last modified time | relevance | path

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

12345678

/frameworks/base/telecomm/java/com/android/internal/telecom/
DITelecomService.aidl42 void showInCallScreen(boolean showDialpad, String callingPackage, String callingFeatureId); in showInCallScreen()
47 PhoneAccountHandle getDefaultOutgoingPhoneAccount(in String uriScheme, String callingPackage, in getDefaultOutgoingPhoneAccount()
53 PhoneAccountHandle getUserSelectedOutgoingPhoneAccount(String callingPackage); in getUserSelectedOutgoingPhoneAccount()
64 boolean includeDisabledAccounts, String callingPackage, in getCallCapablePhoneAccounts()
70 ParceledListSlice<PhoneAccountHandle> getSelfManagedPhoneAccounts(String callingPackage, in getSelfManagedPhoneAccounts()
76 ParceledListSlice<PhoneAccountHandle> getOwnSelfManagedPhoneAccounts(String callingPackage, in getOwnSelfManagedPhoneAccounts()
83 String callingPackage); in getPhoneAccountsSupportingScheme()
93 PhoneAccount getPhoneAccount(in PhoneAccountHandle account, String callingPackage); in getPhoneAccount()
98 ParceledListSlice<PhoneAccount> getRegisteredPhoneAccounts(String callingPackage, in getRegisteredPhoneAccounts()
119 PhoneAccountHandle getSimCallManager(int subId, String callingPackage); in getSimCallManager()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/
DIPhoneSubInfo.aidl30 String getDeviceId(String callingPackage); in getDeviceId()
35 String getDeviceIdWithFeature(String callingPackage, String callingFeatureId); in getDeviceIdWithFeature()
40 String getNaiForSubscriber(int subId, String callingPackage, String callingFeatureId); in getNaiForSubscriber()
46 String getDeviceIdForPhone(int phoneId, String callingPackage, String callingFeatureId); in getDeviceIdForPhone()
51 String getImeiForSubscriber(int subId, String callingPackage, String callingFeatureId); in getImeiForSubscriber()
57 String getDeviceSvn(String callingPackage, String callingFeatureId); in getDeviceSvn()
63 String getDeviceSvnUsingSubId(int subId, String callingPackage, String callingFeatureId); in getDeviceSvnUsingSubId()
67 String getSubscriberId(String callingPackage); in getSubscriberId()
72 String getSubscriberIdWithFeature(String callingPackage, String callingComponenId); in getSubscriberIdWithFeature()
77 String getSubscriberIdForSubscriber(int subId, String callingPackage, in getSubscriberIdForSubscriber()
[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()
DISub.aidl31 List<SubscriptionInfo> getAllSubInfoList(String callingPackage, String callingFeatureId); in getAllSubInfoList()
40 SubscriptionInfo getActiveSubscriptionInfo(int subId, String callingPackage, in getActiveSubscriptionInfo()
50 SubscriptionInfo getActiveSubscriptionInfoForIccId(String iccId, String callingPackage, in getActiveSubscriptionInfoForIccId()
60 SubscriptionInfo getActiveSubscriptionInfoForSimSlotIndex(int slotIndex, String callingPackage, in getActiveSubscriptionInfoForSimSlotIndex()
87 List<SubscriptionInfo> getActiveSubscriptionInfoList(String callingPackage, in getActiveSubscriptionInfoList()
97 int getActiveSubInfoCount(String callingPackage, String callingFeatureId, in getActiveSubInfoCount()
108 List<SubscriptionInfo> getAvailableSubscriptionInfoList(String callingPackage, in getAvailableSubscriptionInfoList()
114 List<SubscriptionInfo> getAccessibleSubscriptionInfoList(String callingPackage); in getAccessibleSubscriptionInfoList()
181 int setOpportunistic(boolean opportunistic, int subId, String callingPackage); in setOpportunistic()
200 ParcelUuid createSubscriptionGroup(in int[] subIdList, String callingPackage); in createSubscriptionGroup()
[all …]
DITelephony.aidl122 void call(String callingPackage, String number); in call()
126 boolean isRadioOn(String callingPackage); in isRadioOn()
134 boolean isRadioOnWithFeature(String callingPackage, String callingFeatureId); in isRadioOnWithFeature()
140 boolean isRadioOnForSubscriber(int subId, String callingPackage); in isRadioOnForSubscriber()
149 …boolean isRadioOnForSubscriberWithFeature(int subId, String callingPackage, String callingFeatureI… in isRadioOnForSubscriberWithFeature()
296 List getRadioPowerOffReasons(int subId, String callingPackage, String callingFeatureId); in getRadioPowerOffReasons()
325 boolean enableDataConnectivity(String callingPackage); in enableDataConnectivity()
331 boolean disableDataConnectivity(String callingPackage); in disableDataConnectivity()
359 int getCallStateForSubscription(int subId, String callingPackage, String featureId); in getCallStateForSubscription()
417 int getCdmaEriIconIndex(String callingPackage, String callingFeatureId); in getCdmaEriIconIndex()
[all …]
/frameworks/base/core/java/android/content/pm/
DILauncherApps.aidl52 void addOnAppsChangedListener(String callingPackage, in IOnAppsChangedListener listener); in addOnAppsChangedListener()
55 String callingPackage, String packageName, in UserHandle user); in getLauncherActivities()
57 String callingPackage, in ComponentName component, in UserHandle user); in resolveLauncherActivityInternal()
58 void startSessionDetailsActivityAsUser(in IApplicationThread caller, String callingPackage, in startSessionDetailsActivityAsUser()
61 void startActivityAsUser(in IApplicationThread caller, String callingPackage, in startActivityAsUser()
64 PendingIntent getActivityLaunchIntent(String callingPackage, in ComponentName component, in getActivityLaunchIntent()
68 IntentSender getAppMarketActivityIntent(String callingPackage, String packageName, in getAppMarketActivityIntent()
71 void showAppDetailsAsUser(in IApplicationThread caller, String callingPackage, in showAppDetailsAsUser()
74 boolean isPackageEnabled(String callingPackage, String packageName, in UserHandle user); in isPackageEnabled()
77 String callingPackage, in ComponentName component, in UserHandle user); in isActivityEnabled()
[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/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()
46 UsageEvents queryEventsWithFilter(in UsageEventsQuery query, String callingPackage); in queryEventsWithFilter()
51 boolean isAppInactive(String packageName, int userId, String callingPackage); in isAppInactive()
55 int getAppStandbyBucket(String packageName, String callingPackage, int userId); in getAppStandbyBucket()
[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/credentials/
DICredentialManager.aidl45 …ential(in GetCredentialRequest request, in IGetCredentialCallback callback, String callingPackage); in executeGetCredential()
47 …pareGetCredentialCallback, in IGetCredentialCallback getCredentialCallback, String callingPackage); in executePrepareGetCredential()
49 …(in CreateCredentialRequest request, in ICreateCredentialCallback callback, String callingPackage); in executeCreateCredential()
51 …t, in IGetCandidateCredentialsCallback callback, in IBinder clientCallback, String callingPackage); in getCandidateCredentials()
53 …rCredentialStateRequest request, in IClearCredentialStateCallback callback, String callingPackage); in clearCredentialState()
57 …isterCredentialDescription(in RegisterCredentialDescriptionRequest request, String callingPackage); in registerCredentialDescription()
59 …terCredentialDescription(in UnregisterCredentialDescriptionRequest request, String callingPackage); in unregisterCredentialDescription()
61 … boolean isEnabledCredentialProviderService(in ComponentName componentName, String callingPackage); in isEnabledCredentialProviderService()
/frameworks/base/services/usage/java/com/android/server/usage/
DStorageStatsService.java213 private void enforceStatsPermission(int callingUid, String callingPackage) { in enforceStatsPermission()
220 private String checkStatsPermission(int callingUid, String callingPackage, boolean noteOp) { in checkStatsPermission()
245 public boolean isQuotaSupported(String volumeUuid, String callingPackage) { in isQuotaSupported()
254 public boolean isReservedSupported(String volumeUuid, String callingPackage) { in isReservedSupported()
264 public long getTotalBytes(String volumeUuid, String callingPackage) { in getTotalBytes()
297 public long getFreeBytes(String volumeUuid, String callingPackage) { in getFreeBytes()
331 public long getCacheBytes(String volumeUuid, String callingPackage) { in getCacheBytes()
332 enforceStatsPermission(Binder.getCallingUid(), callingPackage); in getCacheBytes() local
343 public long getCacheQuotaBytes(String volumeUuid, int uid, String callingPackage) { in getCacheQuotaBytes()
344 enforceStatsPermission(Binder.getCallingUid(), callingPackage); in getCacheQuotaBytes() local
[all …]
/frameworks/base/core/java/android/content/
DIClipboard.aidl29 void setPrimaryClip(in ClipData clip, String callingPackage, String attributionTag, int userId, in setPrimaryClip()
32 void setPrimaryClipAsPackage(in ClipData clip, String callingPackage, String attributionTag, in setPrimaryClipAsPackage()
34 void clearPrimaryClip(String callingPackage, String attributionTag, int userId, int deviceId); in clearPrimaryClip()
36 ClipDescription getPrimaryClipDescription(String callingPackage, String attributionTag, in getPrimaryClipDescription()
38 boolean hasPrimaryClip(String callingPackage, String attributionTag, int userId, int deviceId); in hasPrimaryClip()
40 String callingPackage, String attributionTag, int userId, int deviceId); in addPrimaryClipChangedListener()
42 String callingPackage, String attributionTag, int userId, int deviceId); in removePrimaryClipChangedListener()
47 boolean hasClipboardText(String callingPackage, String attributionTag, int userId, in hasClipboardText()
51 String getPrimaryClipSource(String callingPackage, String attributionTag, int userId, in getPrimaryClipSource()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccCardController.java211 private void checkCallingPackage(String callingPackage) { in checkCallingPackage()
213 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in checkCallingPackage() local
301 public void getAllProfiles(String callingPackage, String cardId, in getAllProfiles()
352 public void getProfile(String callingPackage, String cardId, String iccid, in getProfile()
402 public void getEnabledProfile(String callingPackage, String cardId, int portIndex, in getEnabledProfile()
488 public void disableProfile(String callingPackage, String cardId, String iccid, boolean refresh, in disableProfile()
538 public void switchToProfile(String callingPackage, String cardId, String iccid, int portIndex, in switchToProfile()
606 public void setNickname(String callingPackage, String cardId, String iccid, String nickname, in setNickname()
656 public void deleteProfile(String callingPackage, String cardId, String iccid, in deleteProfile()
709 public void resetMemory(String callingPackage, String cardId, in resetMemory()
[all …]
DEuiccController.java243 public String getEid(int cardId, String callingPackage) { in getEid()
246 mAppOpsManager.checkPackage(Binder.getCallingUid(), callingPackage); in getEid() local
275 public long getAvailableMemoryInBytes(int cardId, String callingPackage) { in getAvailableMemoryInBytes()
278 mAppOpsManager.checkPackage(Binder.getCallingUid(), callingPackage); in getAvailableMemoryInBytes() local
348 DownloadableSubscription subscription, String callingPackage, in getDownloadableSubscriptionMetadata()
450 boolean forceDeactivateSim, String callingPackage, PendingIntent callbackIntent) { in getDownloadableSubscriptionMetadata()
455 mAppOpsManager.checkPackage(Binder.getCallingUid(), callingPackage); in getDownloadableSubscriptionMetadata() local
477 String callingPackage, in GetMetadataCommandCallback()
530 boolean switchAfterDownload, String callingPackage, Bundle resolvedBundle, in downloadSubscription()
621 boolean switchAfterDownload, String callingPackage, boolean forceDeactivateSim, in downloadSubscription()
[all …]
DEuiccOperation.java117 DownloadableSubscription subscription, String callingPackage) { in forGetMetadataDeactivateSim()
130 String callingPackage) { in forDownloadDeactivateSim()
141 String callingPackage) { in forDownloadNoPrivileges()
152 String callingPackage) { in forDownloadNoPrivilegesOrDeactivateSimCheckMetadata()
169 String callingPackage) { in forDownloadConfirmationCode()
180 String callingPackage, int resolvableErrors) { in forDownloadResolvableErrors()
186 static EuiccOperation forGetDefaultListDeactivateSim(long callingToken, String callingPackage) { in forGetDefaultListDeactivateSim()
193 String callingPackage) { in forSwitchDeactivateSim()
200 String callingPackage) { in forSwitchNoPrivileges()
211 String callingPackage, in EuiccOperation()
[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/
DPhoneSubInfoController.java90 public String getDeviceId(String callingPackage) { in getDeviceId()
94 public String getDeviceIdWithFeature(String callingPackage, String callingFeatureId) { in getDeviceIdWithFeature()
99 public String getDeviceIdForPhone(int phoneId, String callingPackage, in getDeviceIdForPhone()
106 public String getNaiForSubscriber(int subId, String callingPackage, String callingFeatureId) { in getNaiForSubscriber()
117 public String getImeiForSubscriber(int subId, String callingPackage, in getImeiForSubscriber()
124 String callingPackage) { in getCarrierInfoForImsiEncryption()
/frameworks/base/services/fakes/java/com/android/server/
DFakeClipboardService.java77 public void setPrimaryClip(ClipData clip, String callingPackage, String attributionTag, in setPrimaryClip()
87 public void setPrimaryClipAsPackage(ClipData clip, String callingPackage, String attributionTag, in setPrimaryClipAsPackage()
97 public void clearPrimaryClip(String callingPackage, String attributionTag, int userId, in clearPrimaryClip()
112 public ClipDescription getPrimaryClipDescription(String callingPackage, String attributionTag, in getPrimaryClipDescription()
119 public boolean hasPrimaryClip(String callingPackage, String attributionTag, int userId, in hasPrimaryClip()
127 String callingPackage, String attributionTag, int userId, int deviceId) { in addPrimaryClipChangedListener()
134 String callingPackage, String attributionTag, int userId, int deviceId) { in removePrimaryClipChangedListener()
140 public boolean hasClipboardText(String callingPackage, String attributionTag, int userId, in hasClipboardText()
149 public String getPrimaryClipSource(String callingPackage, String attributionTag, int userId, in getPrimaryClipSource()
/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/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/native/libs/binder/
DActivityManager.cpp78 const String16& callingPackage) in registerUidObserver()
90 const String16& callingPackage, in registerUidObserverForUids()
113 const String16& callingPackage, int32_t uid) { in addUidToObserver()
123 const String16& callingPackage, int32_t uid) { in removeUidFromObserver()
132 bool ActivityManager::isUidActive(const uid_t uid, const String16& callingPackage) in isUidActive()
141 int32_t ActivityManager::getUidProcessState(const uid_t uid, const String16& callingPackage) in getUidProcessState()

12345678