Home
last modified time | relevance | path

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

1234567

/frameworks/base/telephony/java/com/android/internal/telephony/
DIPhoneSubInfo.aidl30 String getDeviceId(String callingPackage); in getDeviceId()
35 String getNaiForSubscriber(int subId, String callingPackage); in getNaiForSubscriber()
41 String getDeviceIdForPhone(int phoneId, String callingPackage); in getDeviceIdForPhone()
46 String getImeiForSubscriber(int subId, String callingPackage); in getImeiForSubscriber()
52 String getDeviceSvn(String callingPackage); in getDeviceSvn()
58 String getDeviceSvnUsingSubId(int subId, String callingPackage); in getDeviceSvnUsingSubId()
64 String getSubscriberId(String callingPackage); in getSubscriberId()
69 String getSubscriberIdForSubscriber(int subId, String callingPackage); in getSubscriberIdForSubscriber()
74 String getGroupIdLevel1ForSubscriber(int subId, String callingPackage); in getGroupIdLevel1ForSubscriber()
80 String getIccSerialNumber(String callingPackage); in getIccSerialNumber()
[all …]
DISub.aidl29 List<SubscriptionInfo> getAllSubInfoList(String callingPackage); in getAllSubInfoList()
36 int getAllSubInfoCount(String callingPackage); in getAllSubInfoCount()
44 SubscriptionInfo getActiveSubscriptionInfo(int subId, String callingPackage); in getActiveSubscriptionInfo()
52 SubscriptionInfo getActiveSubscriptionInfoForIccId(String iccId, String callingPackage); in getActiveSubscriptionInfoForIccId()
60 SubscriptionInfo getActiveSubscriptionInfoForSimSlotIndex(int slotIndex, String callingPackage); in getActiveSubscriptionInfoForSimSlotIndex()
83 List<SubscriptionInfo> getActiveSubscriptionInfoList(String callingPackage); in getActiveSubscriptionInfoList()
89 int getActiveSubInfoCount(String callingPackage); in getActiveSubInfoCount()
99 List<SubscriptionInfo> getAvailableSubscriptionInfoList(String callingPackage); in getAvailableSubscriptionInfoList()
104 List<SubscriptionInfo> getAccessibleSubscriptionInfoList(String callingPackage); in getAccessibleSubscriptionInfoList()
179 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); in getPreferredDataSubscriptionId()
105 IUpdateAvailableNetworksCallback callbackStub, String callingPackage); in updateAvailableNetworks()
DITelephony.aidl90 void call(String callingPackage, String number); in call()
97 boolean isRadioOn(String callingPackage); in isRadioOn()
106 boolean isRadioOnForSubscriber(int subId, String callingPackage); in isRadioOnForSubscriber()
344 int getCdmaEriIconIndex(String callingPackage); in getCdmaEriIconIndex()
351 int getCdmaEriIconIndexForSubscriber(int subId, String callingPackage); in getCdmaEriIconIndexForSubscriber()
359 int getCdmaEriIconMode(String callingPackage); in getCdmaEriIconMode()
368 int getCdmaEriIconModeForSubscriber(int subId, String callingPackage); in getCdmaEriIconModeForSubscriber()
374 String getCdmaEriText(String callingPackage); in getCdmaEriText()
381 String getCdmaEriTextForSubscriber(int subId, String callingPackage); in getCdmaEriTextForSubscriber()
410 int getVoiceActivationState(int subId, String callingPackage); in getVoiceActivationState()
[all …]
DTelephonyPermissions.java98 Context context, int subId, String callingPackage, String message) { in checkCallingOrSelfReadPhoneState()
105 Context context, int subId, String callingPackage, String message) { in checkCallingOrSelfReadPhoneStateNoThrow()
135 Context context, int subId, int pid, int uid, String callingPackage, String message) { in checkReadPhoneState()
156 String callingPackage, String message) { in checkReadPhoneState()
200 Context context, int pid, int uid, String callingPackage, String message) { in checkReadPhoneStateOnAnyActiveSub()
208 String callingPackage, String message) { in checkReadPhoneStateOnAnyActiveSub()
250 String callingPackage, String message) { in checkCallingOrSelfReadDeviceIdentifiers()
273 String callingPackage, String message) { in checkCallingOrSelfReadDeviceIdentifiers()
295 String callingPackage, String message) { in checkCallingOrSelfReadSubscriberIdentifiers()
310 String callingPackage, String message) { in checkReadDeviceIdentifiers()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneSubInfoController.java60 public String getDeviceId(String callingPackage) { in getDeviceId()
65 public String getDeviceIdForPhone(int phoneId, String callingPackage) { in getDeviceIdForPhone()
70 public String getNaiForSubscriber(int subId, String callingPackage) { in getNaiForSubscriber()
75 public String getImeiForSubscriber(int subId, String callingPackage) { in getImeiForSubscriber()
81 String callingPackage) { in getCarrierInfoForImsiEncryption()
87 public void setCarrierInfoForImsiEncryption(int subId, String callingPackage, in setCarrierInfoForImsiEncryption()
104 public void resetCarrierKeysForImsiEncryption(int subId, String callingPackage) { in resetCarrierKeysForImsiEncryption()
114 public String getDeviceSvn(String callingPackage) { in getDeviceSvn()
118 public String getDeviceSvnUsingSubId(int subId, String callingPackage) { in getDeviceSvnUsingSubId()
123 public String getSubscriberId(String callingPackage) { in getSubscriberId()
[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 disableProfile(String callingPackage, String cardId, String iccid, boolean refresh, in disableProfile()
50 oneway void switchToProfile(String callingPackage, String cardId, String iccid, boolean refresh, in switchToProfile()
52 oneway void setNickname(String callingPackage, String cardId, String iccid, String nickname, in setNickname()
54 oneway void deleteProfile(String callingPackage, String cardId, String iccid, in deleteProfile()
56 …oneway void resetMemory(String callingPackage, String cardId, int options, in IResetMemoryCallback… in resetMemory()
57 oneway void getDefaultSmdpAddress(String callingPackage, String cardId, in getDefaultSmdpAddress()
59 oneway void getSmdsAddress(String callingPackage, String cardId, in getSmdsAddress()
61 oneway void setDefaultSmdpAddress(String callingPackage, String cardId, String address, in setDefaultSmdpAddress()
[all …]
DIEuiccController.aidl31 String callingPackage, in PendingIntent callbackIntent); in getDownloadableSubscriptionMetadata()
33 String callingPackage, in PendingIntent callbackIntent); in getDefaultDownloadableSubscriptionList()
34 String getEid(int cardId, String callingPackage); in getEid()
37 boolean switchAfterDownload, String callingPackage, in Bundle resolvedBundle, in downloadSubscription()
40 oneway void deleteSubscription(int cardId, int subscriptionId, String callingPackage, in deleteSubscription()
42 oneway void switchToSubscription(int cardId, int subscriptionId, String callingPackage, in switchToSubscription()
45 String callingPackage, in PendingIntent callbackIntent); in updateSubscriptionNickname()
/frameworks/base/core/java/android/app/usage/
DIStorageStatsManager.aidl24 boolean isQuotaSupported(String volumeUuid, String callingPackage); in isQuotaSupported()
25 boolean isReservedSupported(String volumeUuid, String callingPackage); in isReservedSupported()
26 long getTotalBytes(String volumeUuid, String callingPackage); in getTotalBytes()
27 long getFreeBytes(String volumeUuid, String callingPackage); in getFreeBytes()
28 long getCacheBytes(String volumeUuid, String callingPackage); in getCacheBytes()
29 long getCacheQuotaBytes(String volumeUuid, int uid, String callingPackage); in getCacheQuotaBytes()
30 …ats queryStatsForPackage(String volumeUuid, String packageName, int userId, String callingPackage); in queryStatsForPackage()
31 StorageStats queryStatsForUid(String volumeUuid, int uid, String callingPackage); in queryStatsForUid()
32 StorageStats queryStatsForUser(String volumeUuid, int userId, String callingPackage); in queryStatsForUser()
33 …ternalStorageStats queryExternalStatsForUser(String volumeUuid, int userId, String callingPackage); in queryExternalStatsForUser()
DIUsageStatsManager.aidl33 String callingPackage); in queryUsageStats()
36 String callingPackage); in queryConfigurationStats()
38 String callingPackage); in queryEventStats()
39 UsageEvents queryEvents(long beginTime, long endTime, String callingPackage); in queryEvents()
40 UsageEvents queryEventsForPackage(long beginTime, long endTime, String callingPackage); in queryEventsForPackage()
41 UsageEvents queryEventsForUser(long beginTime, long endTime, int userId, String callingPackage); in queryEventsForUser()
42 …entsForPackageForUser(long beginTime, long endTime, int userId, String pkg, String callingPackage); in queryEventsForPackageForUser()
51 int getAppStandbyBucket(String packageName, String callingPackage, int userId); in getAppStandbyBucket()
53 ParceledListSlice getAppStandbyBuckets(String callingPackage, int userId); in getAppStandbyBuckets()
56 in PendingIntent callback, String callingPackage); in registerAppUsageObserver()
[all …]
/frameworks/base/telecomm/java/com/android/internal/telecom/
DITelecomService.aidl38 void showInCallScreen(boolean showDialpad, String callingPackage); in showInCallScreen()
43 PhoneAccountHandle getDefaultOutgoingPhoneAccount(in String uriScheme, String callingPackage); in getDefaultOutgoingPhoneAccount()
48 PhoneAccountHandle getUserSelectedOutgoingPhoneAccount(String callingPackage); in getUserSelectedOutgoingPhoneAccount()
59 boolean includeDisabledAccounts, String callingPackage); in getCallCapablePhoneAccounts()
64 List<PhoneAccountHandle> getSelfManagedPhoneAccounts(String callingPackage); in getSelfManagedPhoneAccounts()
70 String callingPackage); in getPhoneAccountsSupportingScheme()
126 String callingPackage); in isVoiceMailNumber()
131 String getVoiceMailNumber(in PhoneAccountHandle accountHandle, String callingPackage); in getVoiceMailNumber()
136 String getLine1Number(in PhoneAccountHandle accountHandle, String callingPackage); in getLine1Number()
165 void silenceRinger(String callingPackage); in silenceRinger()
[all …]
/frameworks/base/core/java/android/content/pm/
DILauncherApps.aidl43 void addOnAppsChangedListener(String callingPackage, in IOnAppsChangedListener listener); in addOnAppsChangedListener()
46 String callingPackage, String packageName, in UserHandle user); in getLauncherActivities()
48 String callingPackage, in ComponentName component, in UserHandle user); in resolveActivity()
49 void startSessionDetailsActivityAsUser(in IApplicationThread caller, String callingPackage, in startSessionDetailsActivityAsUser()
52 void startActivityAsUser(in IApplicationThread caller, String callingPackage, in startActivityAsUser()
56 String callingPackage, in ComponentName component, in Rect sourceBounds, in showAppDetailsAsUser()
58 boolean isPackageEnabled(String callingPackage, String packageName, in UserHandle user); in isPackageEnabled()
61 String callingPackage, in ComponentName component, in UserHandle user); in isActivityEnabled()
63 String callingPackage, String packageName, int flags, in UserHandle user); in getApplicationInfo()
65 LauncherApps.AppUsageLimit getAppUsageLimit(String callingPackage, String packageName, in getAppUsageLimit()
[all …]
DShortcutServiceInternal.java46 @NonNull String callingPackage, long changedSince, in getShortcuts()
52 isPinnedByCaller(int launcherUserId, @NonNull String callingPackage, in isPinnedByCaller()
56 @NonNull String callingPackage, @NonNull String packageName, in pinShortcuts()
60 int launcherUserId, @NonNull String callingPackage, in createShortcutIntents()
66 public abstract int getShortcutIconResId(int launcherUserId, @NonNull String callingPackage, in getShortcutIconResId()
70 @NonNull String callingPackage, in getShortcutIconFd()
74 @NonNull String callingPackage, int callingPid, int callingUid); in hasShortcutHostPermission()
79 public abstract boolean requestPinAppWidget(@NonNull String callingPackage, in requestPinAppWidget()
85 public abstract boolean isForegroundDefaultLauncher(@NonNull String callingPackage, in isForegroundDefaultLauncher()
/frameworks/base/core/java/android/content/
DIClipboard.aidl29 void setPrimaryClip(in ClipData clip, String callingPackage, int userId); in setPrimaryClip()
30 void clearPrimaryClip(String callingPackage, int userId); in clearPrimaryClip()
32 ClipDescription getPrimaryClipDescription(String callingPackage, int userId); in getPrimaryClipDescription()
33 boolean hasPrimaryClip(String callingPackage, int userId); in hasPrimaryClip()
35 String callingPackage, int userId); in addPrimaryClipChangedListener()
37 String callingPackage, int userId); in removePrimaryClipChangedListener()
42 boolean hasClipboardText(String callingPackage, int userId); in hasClipboardText()
/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 IntentSender createAppWidgetConfigIntentSender(String callingPackage, int appWidgetId, in createAppWidgetConfigIntentSender()
54 void updateAppWidgetIds(String callingPackage, in int[] appWidgetIds, in RemoteViews views); in updateAppWidgetIds()
55 void updateAppWidgetOptions(String callingPackage, int appWidgetId, in Bundle extras); in updateAppWidgetOptions()
56 Bundle getAppWidgetOptions(String callingPackage, int appWidgetId); in getAppWidgetOptions()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccCardController.java186 private void checkCallingPackage(String callingPackage) { in checkCallingPackage()
188 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in checkCallingPackage() local
218 public void getAllProfiles(String callingPackage, String cardId, in getAllProfiles()
267 public void getProfile(String callingPackage, String cardId, String iccid, in getProfile()
315 public void disableProfile(String callingPackage, String cardId, String iccid, boolean refresh, in disableProfile()
363 public void switchToProfile(String callingPackage, String cardId, String iccid, boolean refresh, in switchToProfile()
429 public void setNickname(String callingPackage, String cardId, String iccid, String nickname, in setNickname()
477 public void deleteProfile(String callingPackage, String cardId, String iccid, in deleteProfile()
529 public void resetMemory(String callingPackage, String cardId, in resetMemory()
581 public void getDefaultSmdpAddress(String callingPackage, String cardId, in getDefaultSmdpAddress()
[all …]
DEuiccController.java169 public String getEid(int cardId, String callingPackage) { in getEid()
237 DownloadableSubscription subscription, String callingPackage, in getDownloadableSubscriptionMetadata()
244 boolean forceDeactivateSim, String callingPackage, PendingIntent callbackIntent) { in getDownloadableSubscriptionMetadata()
248 mAppOpsManager.checkPackage(Binder.getCallingUid(), callingPackage); in getDownloadableSubscriptionMetadata() local
269 String callingPackage, in GetMetadataCommandCallback()
323 boolean switchAfterDownload, String callingPackage, Bundle resolvedBundle, in downloadSubscription()
330 boolean switchAfterDownload, String callingPackage, boolean forceDeactivateSim, in downloadSubscription()
333 mAppOpsManager.checkPackage(Binder.getCallingUid(), callingPackage); in downloadSubscription() local
385 String callingPackage, boolean forceDeactivateSim, in DownloadSubscriptionGetMetadataCommandCallback()
457 boolean forceDeactivateSim, final String callingPackage, Bundle resolvedBundle, in downloadSubscriptionPrivilegedCheckMetadata()
[all …]
/frameworks/base/services/usage/java/com/android/server/usage/
DStorageStatsService.java142 private void enforcePermission(int callingUid, String callingPackage) { in enforcePermission()
159 public boolean isQuotaSupported(String volumeUuid, String callingPackage) { in isQuotaSupported()
168 public boolean isReservedSupported(String volumeUuid, String callingPackage) { in isReservedSupported()
178 public long getTotalBytes(String volumeUuid, String callingPackage) { in getTotalBytes()
194 public long getFreeBytes(String volumeUuid, String callingPackage) { in getFreeBytes()
224 public long getCacheBytes(String volumeUuid, String callingPackage) { in getCacheBytes()
225 enforcePermission(Binder.getCallingUid(), callingPackage); in getCacheBytes() local
236 public long getCacheQuotaBytes(String volumeUuid, int uid, String callingPackage) { in getCacheQuotaBytes()
237 enforcePermission(Binder.getCallingUid(), callingPackage); in getCacheQuotaBytes() local
249 String callingPackage) { in queryStatsForPackage()
[all …]
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContentProvider.java43 public ContentProviderResult[] applyBatch(String callingPackage, String authority, in applyBatch()
51 public int bulkInsert(String callingPackage, Uri arg0, ContentValues[] arg1) in bulkInsert()
58 public Bundle call(String callingPackage, String authority, String arg0, String arg1, in call()
65 public int delete(String callingPackage, Uri arg0, String arg1, String[] arg2) in delete()
78 public Uri insert(String callingPackage, Uri arg0, ContentValues arg1) throws RemoteException { in insert()
85 String callingPackage, Uri arg0, String arg1, ICancellationSignal signal) in openAssetFile()
93 String callingPackage, Uri arg0, String arg1, ICancellationSignal signal, IBinder token) in openFile()
100 public Cursor query(String callingPackage, Uri arg0, String[] arg1, in query()
107 public int update(String callingPackage, Uri arg0, ContentValues arg1, String arg2, in update()
126 public AssetFileDescriptor openTypedAssetFile(String callingPackage, Uri arg0, String arg1, in openTypedAssetFile()
/frameworks/base/test-mock/src/android/test/mock/
DMockIContentProvider.java46 public int bulkInsert(String callingPackage, Uri url, ContentValues[] initialValues) { in bulkInsert()
52 public int delete(String callingPackage, Uri url, String selection, String[] selectionArgs) in delete()
64 public Uri insert(String callingPackage, Uri url, ContentValues initialValues) in insert()
71 String callingPackage, Uri url, String mode, ICancellationSignal signal, in openFile()
78 String callingPackage, Uri uri, String mode, ICancellationSignal signal) { in openAssetFile()
83 public ContentProviderResult[] applyBatch(String callingPackage, String authority, in applyBatch()
89 public Cursor query(String callingPackage, Uri url, @Nullable String[] projection, in query()
100 public int update(String callingPackage, Uri url, ContentValues values, String selection, in update()
106 public Bundle call(String callingPackage, String authority, String method, String request, in call()
122 public AssetFileDescriptor openTypedAssetFile(String callingPackage, Uri url, String mimeType, in openTypedAssetFile()
/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/base/core/java/android/companion/
DICompanionDeviceManager.aidl32 in String callingPackage); in associate()
35 in String callingPackage); in stopScan()
37 List<String> getAssociations(String callingPackage, int userId); in getAssociations()
38 void disassociate(String deviceMacAddress, String callingPackage); in disassociate()
/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/core/java/android/net/
DIIpSecService.aidl49 in String callingPackage); in createTunnelInterface()
54 in String callingPackage); in addAddressToTunnelInterface()
59 in String callingPackage); in removeAddressFromTunnelInterface()
61 void deleteTunnelInterface(int resourceId, in String callingPackage); in deleteTunnelInterface()
64 in IpSecConfig c, in IBinder binder, in String callingPackage); in createTransform()
72 int tunnelResourceId, int direction, int transformResourceId, in String callingPackage); in applyTunnelModeTransform()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DRcsMessageStoreController.java153 private void performWriteOperation(String callingPackage, ThrowingRunnable fn) { in performWriteOperation()
163 private <T> T performCreateOperation(String callingPackage, ThrowingSupplier<T> fn) { in performCreateOperation()
173 private <T> T performReadOperation(String callingPackage, ThrowingSupplier<T> fn) { in performReadOperation()
195 public boolean deleteThread(int threadId, int threadType, String callingPackage) { in deleteThread()
207 public RcsMessageSnippet getMessageSnippet(int threadId, String callingPackage) { in getMessageSnippet()

1234567