Home
last modified time | relevance | path

Searched refs:callingPackage (Results 1 – 25 of 206) sorted by relevance

123456789

/frameworks/base/telephony/java/com/android/internal/telephony/
DIPhoneSubInfo.aidl30 String getDeviceId(String callingPackage); in getDeviceId() argument
35 String getDeviceIdWithFeature(String callingPackage, String callingFeatureId); in getDeviceIdWithFeature() argument
40 String getNaiForSubscriber(int subId, String callingPackage, String callingFeatureId); in getNaiForSubscriber() argument
46 String getDeviceIdForPhone(int phoneId, String callingPackage, String callingFeatureId); in getDeviceIdForPhone() argument
51 String getImeiForSubscriber(int subId, String callingPackage, String callingFeatureId); in getImeiForSubscriber() argument
57 String getDeviceSvn(String callingPackage, String callingFeatureId); in getDeviceSvn() argument
63 String getDeviceSvnUsingSubId(int subId, String callingPackage, String callingFeatureId); in getDeviceSvnUsingSubId() argument
67 String getSubscriberId(String callingPackage); in getSubscriberId() argument
72 String getSubscriberIdWithFeature(String callingPackage, String callingComponenId); in getSubscriberIdWithFeature() argument
77 String getSubscriberIdForSubscriber(int subId, String callingPackage, in getSubscriberIdForSubscriber() argument
[all …]
DISub.aidl31 List<SubscriptionInfo> getAllSubInfoList(String callingPackage, String callingFeatureId); in getAllSubInfoList() argument
40 SubscriptionInfo getActiveSubscriptionInfo(int subId, String callingPackage, in getActiveSubscriptionInfo() argument
50 SubscriptionInfo getActiveSubscriptionInfoForIccId(String iccId, String callingPackage, in getActiveSubscriptionInfoForIccId() argument
60 SubscriptionInfo getActiveSubscriptionInfoForSimSlotIndex(int slotIndex, String callingPackage, in getActiveSubscriptionInfoForSimSlotIndex() argument
87 List<SubscriptionInfo> getActiveSubscriptionInfoList(String callingPackage, in getActiveSubscriptionInfoList() argument
97 int getActiveSubInfoCount(String callingPackage, String callingFeatureId, in getActiveSubInfoCount() argument
108 List<SubscriptionInfo> getAvailableSubscriptionInfoList(String callingPackage, in getAvailableSubscriptionInfoList() argument
114 List<SubscriptionInfo> getAccessibleSubscriptionInfoList(String callingPackage); in getAccessibleSubscriptionInfoList() argument
181 int setOpportunistic(boolean opportunistic, int subId, String callingPackage); in setOpportunistic() argument
200 ParcelUuid createSubscriptionGroup(in int[] subIdList, String callingPackage); in createSubscriptionGroup() argument
[all …]
DITelephony.aidl122 void call(String callingPackage, String number); in call() argument
126 boolean isRadioOn(String callingPackage); in isRadioOn() argument
134 boolean isRadioOnWithFeature(String callingPackage, String callingFeatureId); in isRadioOnWithFeature() argument
140 boolean isRadioOnForSubscriber(int subId, String callingPackage); in isRadioOnForSubscriber() argument
149 …boolean isRadioOnForSubscriberWithFeature(int subId, String callingPackage, String callingFeatureI… in isRadioOnForSubscriberWithFeature() argument
296 List getRadioPowerOffReasons(int subId, String callingPackage, String callingFeatureId); in getRadioPowerOffReasons() argument
325 boolean enableDataConnectivity(String callingPackage); in enableDataConnectivity() argument
331 boolean disableDataConnectivity(String callingPackage); in disableDataConnectivity() argument
359 int getCallStateForSubscription(int subId, String callingPackage, String featureId); in getCallStateForSubscription() argument
417 int getCdmaEriIconIndex(String callingPackage, String callingFeatureId); in getCdmaEriIconIndex() argument
[all …]
DIOns.aidl41 boolean setEnable(boolean enable, String callingPackage); in setEnable() argument
55 boolean isEnabled(String callingPackage); in isEnabled() argument
74 ISetOpportunisticDataCallback callbackStub, String callingPackage); in setPreferredDataSubscriptionId() argument
86 int getPreferredDataSubscriptionId(String callingPackage, String callingFeatureId); in getPreferredDataSubscriptionId() argument
105 IUpdateAvailableNetworksCallback callbackStub, String callingPackage); in updateAvailableNetworks() argument
/frameworks/base/telecomm/java/com/android/internal/telecom/
DITelecomService.aidl42 void showInCallScreen(boolean showDialpad, String callingPackage, String callingFeatureId); in showInCallScreen() argument
47 PhoneAccountHandle getDefaultOutgoingPhoneAccount(in String uriScheme, String callingPackage, in getDefaultOutgoingPhoneAccount() argument
53 PhoneAccountHandle getUserSelectedOutgoingPhoneAccount(String callingPackage); in getUserSelectedOutgoingPhoneAccount() argument
64 boolean includeDisabledAccounts, String callingPackage, in getCallCapablePhoneAccounts() argument
70 ParceledListSlice<PhoneAccountHandle> getSelfManagedPhoneAccounts(String callingPackage, in getSelfManagedPhoneAccounts() argument
76 ParceledListSlice<PhoneAccountHandle> getOwnSelfManagedPhoneAccounts(String callingPackage, in getOwnSelfManagedPhoneAccounts() argument
83 String callingPackage); in getPhoneAccountsSupportingScheme() argument
93 PhoneAccount getPhoneAccount(in PhoneAccountHandle account, String callingPackage); in getPhoneAccount() argument
98 ParceledListSlice<PhoneAccount> getRegisteredPhoneAccounts(String callingPackage, in getRegisteredPhoneAccounts() argument
119 PhoneAccountHandle getSimCallManager(int subId, String callingPackage); in getSimCallManager() argument
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneSubInfoController.java90 public String getDeviceId(String callingPackage) { in getDeviceId() argument
91 return getDeviceIdWithFeature(callingPackage, null); in getDeviceId()
94 public String getDeviceIdWithFeature(String callingPackage, String callingFeatureId) { in getDeviceIdWithFeature() argument
96 callingPackage, callingFeatureId); in getDeviceIdWithFeature()
99 public String getDeviceIdForPhone(int phoneId, String callingPackage, in getDeviceIdForPhone() argument
101 enforceCallingPackageUidMatched(callingPackage); in getDeviceIdForPhone()
102 return callPhoneMethodForPhoneIdWithReadDeviceIdentifiersCheck(phoneId, callingPackage, in getDeviceIdForPhone()
106 public String getNaiForSubscriber(int subId, String callingPackage, String callingFeatureId) { in getNaiForSubscriber() argument
107 return callPhoneMethodForSubIdWithReadSubscriberIdentifiersCheck(subId, callingPackage, in getNaiForSubscriber()
109 enforceTelephonyFeatureWithException(callingPackage, in getNaiForSubscriber()
[all …]
DSmsController.java111 public boolean updateMessageOnIccEfForSubscriber(int subId, String callingPackage, int index, in updateMessageOnIccEfForSubscriber() argument
113 if (callingPackage == null) { in updateMessageOnIccEfForSubscriber()
114 callingPackage = getCallingPackage(); in updateMessageOnIccEfForSubscriber()
118 return iccSmsIntMgr.updateMessageOnIccEf(callingPackage, index, status, pdu); in updateMessageOnIccEfForSubscriber()
128 public boolean copyMessageToIccEfForSubscriber(int subId, String callingPackage, int status, in copyMessageToIccEfForSubscriber() argument
130 if (callingPackage == null) { in copyMessageToIccEfForSubscriber()
131 callingPackage = getCallingPackage(); in copyMessageToIccEfForSubscriber()
135 return iccSmsIntMgr.copyMessageToIccEf(callingPackage, status, pdu, smsc); in copyMessageToIccEfForSubscriber()
145 public List<SmsRawData> getAllMessagesFromIccEfForSubscriber(int subId, String callingPackage) { in getAllMessagesFromIccEfForSubscriber() argument
146 if (callingPackage == null) { in getAllMessagesFromIccEfForSubscriber()
[all …]
/frameworks/base/core/java/android/app/usage/
DIUsageStatsManager.aidl35 String callingPackage, int userId); in queryUsageStats() argument
38 String callingPackage); in queryConfigurationStats() argument
40 String callingPackage); in queryEventStats() argument
41 UsageEvents queryEvents(long beginTime, long endTime, String callingPackage); in queryEvents() argument
42 UsageEvents queryEventsForPackage(long beginTime, long endTime, String callingPackage); in queryEventsForPackage() argument
43 UsageEvents queryEventsForUser(long beginTime, long endTime, int userId, String callingPackage); in queryEventsForUser() argument
44 …entsForPackageForUser(long beginTime, long endTime, int userId, String pkg, String callingPackage); in queryEventsForPackageForUser() argument
46 UsageEvents queryEventsWithFilter(in UsageEventsQuery query, String callingPackage); in queryEventsWithFilter() argument
51 boolean isAppInactive(String packageName, int userId, String callingPackage); in isAppInactive() argument
55 int getAppStandbyBucket(String packageName, String callingPackage, int userId); in getAppStandbyBucket() argument
[all …]
DIStorageStatsManager.aidl26 boolean isQuotaSupported(String volumeUuid, String callingPackage); in isQuotaSupported() argument
27 boolean isReservedSupported(String volumeUuid, String callingPackage); in isReservedSupported() argument
28 long getTotalBytes(String volumeUuid, String callingPackage); in getTotalBytes() argument
29 long getFreeBytes(String volumeUuid, String callingPackage); in getFreeBytes() argument
30 long getCacheBytes(String volumeUuid, String callingPackage); in getCacheBytes() argument
31 long getCacheQuotaBytes(String volumeUuid, int uid, String callingPackage); in getCacheQuotaBytes() argument
32 …ats queryStatsForPackage(String volumeUuid, String packageName, int userId, String callingPackage); in queryStatsForPackage() argument
33 StorageStats queryStatsForUid(String volumeUuid, int uid, String callingPackage); in queryStatsForUid() argument
34 StorageStats queryStatsForUser(String volumeUuid, int userId, String callingPackage); in queryStatsForUser() argument
35 …ternalStorageStats queryExternalStatsForUser(String volumeUuid, int userId, String callingPackage); in queryExternalStatsForUser() argument
[all …]
/frameworks/base/core/java/android/content/pm/
DILauncherApps.aidl52 void addOnAppsChangedListener(String callingPackage, in IOnAppsChangedListener listener); in addOnAppsChangedListener() argument
55 String callingPackage, String packageName, in UserHandle user); in getLauncherActivities() argument
57 String callingPackage, in ComponentName component, in UserHandle user); in resolveLauncherActivityInternal() argument
58 void startSessionDetailsActivityAsUser(in IApplicationThread caller, String callingPackage, in startSessionDetailsActivityAsUser() argument
61 void startActivityAsUser(in IApplicationThread caller, String callingPackage, in startActivityAsUser() argument
64 PendingIntent getActivityLaunchIntent(String callingPackage, in ComponentName component, in getActivityLaunchIntent() argument
68 IntentSender getAppMarketActivityIntent(String callingPackage, String packageName, in getAppMarketActivityIntent() argument
71 void showAppDetailsAsUser(in IApplicationThread caller, String callingPackage, in showAppDetailsAsUser() argument
74 boolean isPackageEnabled(String callingPackage, String packageName, in UserHandle user); in isPackageEnabled() argument
77 String callingPackage, in ComponentName component, in UserHandle user); in isActivityEnabled() argument
[all …]
DShortcutServiceInternal.java50 @NonNull String callingPackage, long changedSince, in getShortcuts() argument
62 @NonNull String callingPackage, long changedSince, in getShortcutsAsync() argument
69 isPinnedByCaller(int launcherUserId, @NonNull String callingPackage, in isPinnedByCaller() argument
73 @NonNull String callingPackage, @NonNull String packageName, in pinShortcuts() argument
77 int launcherUserId, @NonNull String callingPackage, in createShortcutIntents() argument
85 int launcherUserId, @NonNull String callingPackage, in createShortcutIntentsAsync() argument
94 public abstract int getShortcutIconResId(int launcherUserId, @NonNull String callingPackage, in getShortcutIconResId() argument
101 @NonNull String callingPackage, @NonNull String packageName, @NonNull String shortcutId, in getShortcutStartingThemeResName() argument
105 @NonNull String callingPackage, in getShortcutIconFd() argument
111 public abstract void getShortcutIconFdAsync(int launcherUserId, @NonNull String callingPackage, in getShortcutIconFdAsync() argument
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/euicc/
DIEuiccCardController.aidl44 oneway void getAllProfiles(String callingPackage, String cardId, in getAllProfiles() argument
46 oneway void getProfile(String callingPackage, String cardId, String iccid, in getProfile() argument
48 oneway void getEnabledProfile(String callingPackage, String cardId, int portIndex, in getEnabledProfile() argument
50 oneway void disableProfile(String callingPackage, String cardId, String iccid, boolean refresh, in disableProfile() argument
52 oneway void switchToProfile(String callingPackage, String cardId, String iccid, int portIndex, in switchToProfile() argument
54 oneway void setNickname(String callingPackage, String cardId, String iccid, String nickname, in setNickname() argument
56 oneway void deleteProfile(String callingPackage, String cardId, String iccid, in deleteProfile() argument
58 …oneway void resetMemory(String callingPackage, String cardId, int options, in IResetMemoryCallback… in resetMemory() argument
59 oneway void getDefaultSmdpAddress(String callingPackage, String cardId, in getDefaultSmdpAddress() argument
61 oneway void getSmdsAddress(String callingPackage, String cardId, in getSmdsAddress() argument
[all …]
DIEuiccController.aidl33 String callingPackage, in PendingIntent callbackIntent); in getDownloadableSubscriptionMetadata() argument
35 String callingPackage, in PendingIntent callbackIntent); in getDefaultDownloadableSubscriptionList() argument
36 String getEid(int cardId, String callingPackage); in getEid() argument
39 boolean switchAfterDownload, String callingPackage, in Bundle resolvedBundle, in downloadSubscription() argument
42 oneway void deleteSubscription(int cardId, int subscriptionId, String callingPackage, in deleteSubscription() argument
44 oneway void switchToSubscription(int cardId, int subscriptionId, String callingPackage, in switchToSubscription() argument
47 String callingPackage, in PendingIntent callbackIntent); in switchToSubscriptionWithPort() argument
49 String callingPackage, in PendingIntent callbackIntent); in updateSubscriptionNickname() argument
57 boolean isSimPortAvailable(int cardId, int portIndex, String callingPackage); in isSimPortAvailable() argument
58 boolean hasCarrierPrivilegesForPackageOnAnyPhone(String callingPackage); in hasCarrierPrivilegesForPackageOnAnyPhone() argument
[all …]
/frameworks/base/core/java/com/android/internal/appwidget/
DIAppWidgetService.aidl38 ParceledListSlice startListening(IAppWidgetHost host, String callingPackage, int hostId, in startListening() argument
40 void stopListening(String callingPackage, int hostId); in stopListening() argument
41 int allocateAppWidgetId(String callingPackage, int hostId); in allocateAppWidgetId() argument
42 void deleteAppWidgetId(String callingPackage, int appWidgetId); in deleteAppWidgetId() argument
46 RemoteViews getAppWidgetViews(String callingPackage, int appWidgetId); in getAppWidgetViews() argument
47 int[] getAppWidgetIdsForHost(String callingPackage, int hostId); in getAppWidgetIdsForHost() argument
48 void setAppWidgetHidden(in String callingPackage, int hostId); in setAppWidgetHidden() argument
49 IntentSender createAppWidgetConfigIntentSender(String callingPackage, int appWidgetId, in createAppWidgetConfigIntentSender() argument
55 void updateAppWidgetIds(String callingPackage, in int[] appWidgetIds, in RemoteViews views); in updateAppWidgetIds() argument
56 void updateAppWidgetOptions(String callingPackage, int appWidgetId, in Bundle extras); in updateAppWidgetOptions() argument
[all …]
/frameworks/base/core/java/android/content/
DIClipboard.aidl29 void setPrimaryClip(in ClipData clip, String callingPackage, String attributionTag, int userId, in setPrimaryClip() argument
32 void setPrimaryClipAsPackage(in ClipData clip, String callingPackage, String attributionTag, in setPrimaryClipAsPackage() argument
34 void clearPrimaryClip(String callingPackage, String attributionTag, int userId, int deviceId); in clearPrimaryClip() argument
36 ClipDescription getPrimaryClipDescription(String callingPackage, String attributionTag, in getPrimaryClipDescription() argument
38 boolean hasPrimaryClip(String callingPackage, String attributionTag, int userId, int deviceId); in hasPrimaryClip() argument
40 String callingPackage, String attributionTag, int userId, int deviceId); in addPrimaryClipChangedListener() argument
42 String callingPackage, String attributionTag, int userId, int deviceId); in removePrimaryClipChangedListener() argument
47 boolean hasClipboardText(String callingPackage, String attributionTag, int userId, in hasClipboardText() argument
51 String getPrimaryClipSource(String callingPackage, String attributionTag, int userId, in getPrimaryClipSource() argument
/frameworks/base/telephony/common/com/android/internal/telephony/
DTelephonyPermissions.java94 Context context, int subId, String callingPackage, @Nullable String callingFeatureId, in checkCallingOrSelfReadPhoneState() argument
97 callingPackage, callingFeatureId, message); in checkCallingOrSelfReadPhoneState()
102 Context context, int subId, String callingPackage, @Nullable String callingFeatureId, in checkCallingOrSelfReadPhoneStateNoThrow() argument
105 return checkCallingOrSelfReadPhoneState(context, subId, callingPackage, in checkCallingOrSelfReadPhoneStateNoThrow()
170 Context context, int subId, int pid, int uid, String callingPackage, in checkReadPhoneState() argument
196 return appOps.noteOpNoThrow(AppOpsManager.OPSTR_READ_PHONE_STATE, uid, callingPackage, in checkReadPhoneState()
228 String callingPackage, @Nullable String callingFeatureId, String message) { in checkReadPhoneStateOnAnyActiveSub() argument
249 return appOps.noteOpNoThrow(AppOpsManager.OPSTR_READ_PHONE_STATE, uid, callingPackage, in checkReadPhoneStateOnAnyActiveSub()
271 String callingPackage, @Nullable String callingFeatureId, String message) { in checkCallingOrSelfReadDeviceIdentifiers() argument
273 SubscriptionManager.INVALID_SUBSCRIPTION_ID, callingPackage, callingFeatureId, in checkCallingOrSelfReadDeviceIdentifiers()
[all …]
/frameworks/native/libs/permission/
DAppOpsManager.cpp78 int32_t AppOpsManager::checkOp(int32_t op, int32_t uid, const String16& callingPackage) in checkOp() argument
82 ? service->checkOperation(op, uid, callingPackage) in checkOp()
87 const String16& callingPackage) { in checkAudioOpNoThrow() argument
90 ? service->checkAudioOperation(op, usage, uid, callingPackage) in checkAudioOpNoThrow()
94 int32_t AppOpsManager::noteOp(int32_t op, int32_t uid, const String16& callingPackage) { in noteOp() argument
95 return noteOp(op, uid, callingPackage, {}, in noteOp()
99 int32_t AppOpsManager::noteOp(int32_t op, int32_t uid, const String16& callingPackage, in noteOp() argument
103 ? service->noteOperation(op, uid, callingPackage, attributionTag, in noteOp()
110 int32_t AppOpsManager::startOpNoThrow(int32_t op, int32_t uid, const String16& callingPackage, in startOpNoThrow() argument
112 return startOpNoThrow(op, uid, callingPackage, startIfModeDefault, {}, in startOpNoThrow()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccController.java243 public String getEid(int cardId, String callingPackage) { in getEid() argument
246 mAppOpsManager.checkPackage(Binder.getCallingUid(), callingPackage); in getEid() local
254 && !canManageSubscriptionOnTargetSim(cardId, callingPackage, false, in getEid()
275 public long getAvailableMemoryInBytes(int cardId, String callingPackage) { in getAvailableMemoryInBytes() argument
278 mAppOpsManager.checkPackage(Binder.getCallingUid(), callingPackage); in getAvailableMemoryInBytes() local
284 cardId, callingPackage, false, TelephonyManager.INVALID_PORT_INDEX)) { in getAvailableMemoryInBytes()
348 DownloadableSubscription subscription, String callingPackage, in getDownloadableSubscriptionMetadata() argument
351 subscription, false /* forceDeactivateSim */, callingPackage, callbackIntent); in getDownloadableSubscriptionMetadata()
450 boolean forceDeactivateSim, String callingPackage, PendingIntent callbackIntent) { in getDownloadableSubscriptionMetadata() argument
451 Log.d(TAG, " getDownloadableSubscriptionMetadata callingPackage: " + callingPackage); in getDownloadableSubscriptionMetadata()
[all …]
DEuiccCardController.java211 private void checkCallingPackage(String callingPackage) { in checkCallingPackage() argument
213 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in checkCallingPackage() local
214 mCallingPackage = callingPackage; in checkCallingPackage()
301 public void getAllProfiles(String callingPackage, String cardId, in getAllProfiles() argument
304 checkCallingPackage(callingPackage); in getAllProfiles()
314 enforceTelephonyFeatureWithException(callingPackage, "getAllProfiles"); in getAllProfiles()
352 public void getProfile(String callingPackage, String cardId, String iccid, in getProfile() argument
355 checkCallingPackage(callingPackage); in getProfile()
365 enforceTelephonyFeatureWithException(callingPackage, "getProfile"); in getProfile()
402 public void getEnabledProfile(String callingPackage, String cardId, int portIndex, in getEnabledProfile() argument
[all …]
DEuiccOperation.java117 DownloadableSubscription subscription, String callingPackage) { in forGetMetadataDeactivateSim() argument
120 callingPackage); in forGetMetadataDeactivateSim()
130 String callingPackage) { in forDownloadDeactivateSim() argument
132 subscription, 0 /* subscriptionId */, switchAfterDownload, callingPackage); in forDownloadDeactivateSim()
141 String callingPackage) { in forDownloadNoPrivileges() argument
143 subscription, 0 /* subscriptionId */, switchAfterDownload, callingPackage); in forDownloadNoPrivileges()
152 String callingPackage) { in forDownloadNoPrivilegesOrDeactivateSimCheckMetadata() argument
155 switchAfterDownload, callingPackage); in forDownloadNoPrivilegesOrDeactivateSimCheckMetadata()
169 String callingPackage) { in forDownloadConfirmationCode() argument
171 subscription, 0 /* subscriptionId */, switchAfterDownload, callingPackage); in forDownloadConfirmationCode()
[all …]
/frameworks/native/libs/binder/
DActivityManager.cpp78 const String16& callingPackage) in registerUidObserver() argument
82 return service->registerUidObserver(observer, event, cutpoint, callingPackage); in registerUidObserver()
90 const String16& callingPackage, in registerUidObserverForUids() argument
95 return service->registerUidObserverForUids(observer, event, cutpoint, callingPackage, uids, in registerUidObserverForUids()
113 const String16& callingPackage, int32_t uid) { in addUidToObserver() argument
116 return service->addUidToObserver(observerToken, callingPackage, uid); in addUidToObserver()
123 const String16& callingPackage, int32_t uid) { in removeUidFromObserver() argument
126 return service->removeUidFromObserver(observerToken, callingPackage, uid); in removeUidFromObserver()
132 bool ActivityManager::isUidActive(const uid_t uid, const String16& callingPackage) in isUidActive() argument
136 return service->isUidActive(uid, callingPackage); in isUidActive()
[all …]
/frameworks/base/core/java/android/credentials/
DICredentialManager.aidl45 …ential(in GetCredentialRequest request, in IGetCredentialCallback callback, String callingPackage); in executeGetCredential() argument
47 …pareGetCredentialCallback, in IGetCredentialCallback getCredentialCallback, String callingPackage); in executePrepareGetCredential() argument
49 …(in CreateCredentialRequest request, in ICreateCredentialCallback callback, String callingPackage); in executeCreateCredential() argument
51 …t, in IGetCandidateCredentialsCallback callback, in IBinder clientCallback, String callingPackage); in getCandidateCredentials() argument
53 …rCredentialStateRequest request, in IClearCredentialStateCallback callback, String callingPackage); in clearCredentialState() argument
57 …isterCredentialDescription(in RegisterCredentialDescriptionRequest request, String callingPackage); in registerCredentialDescription() argument
59 …terCredentialDescription(in UnregisterCredentialDescriptionRequest request, String callingPackage); in unregisterCredentialDescription() argument
61 … boolean isEnabledCredentialProviderService(in ComponentName componentName, String callingPackage); in isEnabledCredentialProviderService() argument
/frameworks/base/services/fakes/java/com/android/server/
DFakeClipboardService.java77 public void setPrimaryClip(ClipData clip, String callingPackage, String attributionTag, in setPrimaryClip() argument
81 mPrimaryClipSource = callingPackage; in setPrimaryClip()
87 public void setPrimaryClipAsPackage(ClipData clip, String callingPackage, String attributionTag, in setPrimaryClipAsPackage() argument
97 public void clearPrimaryClip(String callingPackage, String attributionTag, int userId, in clearPrimaryClip() argument
112 public ClipDescription getPrimaryClipDescription(String callingPackage, String attributionTag, in getPrimaryClipDescription() argument
119 public boolean hasPrimaryClip(String callingPackage, String attributionTag, int userId, in hasPrimaryClip() argument
127 String callingPackage, String attributionTag, int userId, int deviceId) { in addPrimaryClipChangedListener() argument
134 String callingPackage, String attributionTag, int userId, int deviceId) { in removePrimaryClipChangedListener() argument
140 public boolean hasClipboardText(String callingPackage, String attributionTag, int userId, in hasClipboardText() argument
149 public String getPrimaryClipSource(String callingPackage, String attributionTag, int userId, in getPrimaryClipSource() argument
/frameworks/base/services/core/java/com/android/server/pm/
DCrossProfileAppsServiceImpl.java96 public List<UserHandle> getTargetUserProfiles(String callingPackage) { in getTargetUserProfiles() argument
97 Objects.requireNonNull(callingPackage); in getTargetUserProfiles()
99 verifyCallingPackage(callingPackage); in getTargetUserProfiles()
103 .setStrings(new String[] {callingPackage}) in getTargetUserProfiles()
107 callingPackage, mInjector.getCallingUserId()); in getTargetUserProfiles()
113 String callingPackage, in startActivityAsUser() argument
120 Objects.requireNonNull(callingPackage); in startActivityAsUser()
123 verifyCallingPackage(callingPackage); in startActivityAsUser()
127 .setStrings(new String[] {callingPackage}) in startActivityAsUser()
135 callingPackage, callerUserId); in startActivityAsUser()
[all …]
/frameworks/base/telephony/common/android/telephony/
DLocationAccessPolicy.java61 public final String callingPackage; field in LocationAccessPolicy.LocationPermissionQuery
70 private LocationPermissionQuery(String callingPackage, @Nullable String callingFeatureId, in LocationPermissionQuery() argument
73 this.callingPackage = callingPackage; in LocationPermissionQuery()
98 public Builder setCallingPackage(String callingPackage) { in setCallingPackage() argument
99 mCallingPackage = callingPackage; in setCallingPackage()
268 query.callingPackage, query.callingFeatureId, null); in checkAppLocationPermissionHelper()
276 Log.i(TAG, query.callingPackage + " is aware of " + locationTypeForLog + " but the" in checkAppLocationPermissionHelper()
287 String errorMsg = "Allowing " + query.callingPackage + " " + locationTypeForLog in checkAppLocationPermissionHelper()
293 } else if (!isAppAtLeastSdkVersion(context, query.callingPackage, minSdkVersion)) { in checkAppLocationPermissionHelper()
294 String errorMsg = "Allowing " + query.callingPackage + " " + locationTypeForLog in checkAppLocationPermissionHelper()
[all …]

123456789