Home
last modified time | relevance | path

Searched defs:appId (Results 1 – 25 of 143) sorted by relevance

123456

/frameworks/base/services/core/java/com/android/server/pm/permission/
DUserPermissionState.java56 public UidPermissionState getUidState(@AppIdInt int appId) { in getUidState()
62 public UidPermissionState getOrCreateUidState(@AppIdInt int appId) { in getOrCreateUidState()
73 UidPermissionState createUidStateWithExisting( in createUidStateWithExisting()
81 public void removeUidState(@AppIdInt int appId) { in removeUidState()
86 private void checkAppId(@AppIdInt int appId) { in checkAppId()
DPermissionMigrationHelperImpl.java107 int appId = packageState.getAppId(); in getLegacyPermissionStates() local
121 int appId = sharedUser.getAppId(); in getLegacyPermissionStates() local
DLegacyPermissionDataProvider.java54 LegacyPermissionState getLegacyPermissionState(@AppIdInt int appId); in getLegacyPermissionState()
/frameworks/base/services/core/java/com/android/server/pm/
DAppIdSettingMap.java61 public boolean registerExistingAppId(int appId, SettingBase setting, Object name) { in registerExistingAppId()
89 public SettingBase getSetting(int appId) { in getSetting()
99 public void removeSetting(int appId) { in removeSetting()
119 public void replaceSetting(int appId, SettingBase setting) { in replaceSetting()
DFeatureConfig.java38 boolean isLoggingEnabled(int appId); in isLoggingEnabled()
45 void enableLogging(int appId, boolean enable); in enableLogging()
/frameworks/base/core/java/android/os/
DUserHandle.java243 final int appId = getAppId(uid); in isApp() local
256 final int appId = getAppId(uid); in isCore() local
376 public static int getUid(@UserIdInt int userId, @AppIdInt int appId) { in getUid()
392 public int getUid(@AppIdInt int appId) { in getUid()
424 public static int getSharedAppGid(@UserIdInt int userId, @AppIdInt int appId) { in getSharedAppGid()
440 final int appId = getAppId(gid) + Process.FIRST_APPLICATION_UID in getAppIdFromSharedAppGid() local
454 public static int getCacheAppGid(@UserIdInt int userId, @AppIdInt int appId) { in getCacheAppGid()
473 final int appId = getAppId(uid); in formatUid() local
520 final int appId = getAppId(uid); in formatUid() local
/frameworks/base/core/tests/coretests/src/android/os/
DUserHandleTest.java104 private static int multiuser_get_uid(int userId, int appId) { in multiuser_get_uid()
108 private static int multiuser_get_cache_gid(int userId, int appId) { in multiuser_get_cache_gid()
112 private static int multiuser_get_shared_gid(int userId, int appId) { in multiuser_get_shared_gid()
/frameworks/base/core/java/android/print/
DIPrintManager.aidl40 List<PrintJobInfo> getPrintJobInfos(int appId, int userId); in getPrintJobInfos()
41 PrintJobInfo getPrintJobInfo(in PrintJobId printJobId, int appId, int userId); in getPrintJobInfo()
43 in PrintAttributes attributes, String packageName, int appId, int userId); in print()
44 void cancelPrintJob(in PrintJobId printJobId, int appId, int userId); in cancelPrintJob()
45 void restartPrintJob(in PrintJobId printJobId, int appId, int userId); in restartPrintJob()
48 int appId, int userId); in addPrintJobStateChangeListener()
/frameworks/base/services/permission/java/com/android/server/permission/access/appop/
DAppIdAppOpPersistence.kt52 userState.appIdAppOpModes.forEachReversedIndexed { appIdIndex, appId, _ -> in <lambda>() method
66 val appId = getAttributeIntOrThrow(ATTR_ID) in <lambda>() constant
78 appIdAppOpModes.forEachIndexed { _, appId, appOpModes -> in <lambda>() method
DAppOpService.kt148 val appId = UserHandle.getAppId(uid) in <lambda>() constant
172 val appId = UserHandle.getAppId(uid) in <lambda>() constant
187 val appId = UserHandle.getAppId(uid) in <lambda>() constant
249 val appId = UserHandle.getAppId(uid) in <lambda>() constant
313 val appId = UserHandle.getAppId(uid) in <lambda>() constant
/frameworks/native/services/surfaceflinger/Scheduler/
DSmallAreaDetectionAllowMappings.cpp32 void SmallAreaDetectionAllowMappings::setThresholdForAppId(int32_t appId, float threshold) { in setThresholdForAppId()
39 std::optional<float> SmallAreaDetectionAllowMappings::getThresholdForAppId(int32_t appId) { in getThresholdForAppId()
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/
DServiceEntitlement.java206 public String queryEntitlementStatus(String appId, ServiceEntitlementRequest request) in queryEntitlementStatus()
254 String appId, ServiceEntitlementRequest request, EsimOdsaOperation operation) in performEsimOdsa()
268 String appId, ServiceEntitlementRequest request, EsimOdsaOperation operation) in getEsimOdsaResponse()
285 public String acquireOidcAuthenticationEndpoint(String appId, ServiceEntitlementRequest request) in acquireOidcAuthenticationEndpoint()
DTs43Authentication.java169 public Ts43AuthToken getAuthToken(int slotIndex, @NonNull @AppId String appId, in getAuthToken()
282 @NonNull @AppId String appId, @Nullable String appName, @Nullable String appVersion) in getOidcAuthServer()
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DAppIdPermissionUpgrade.kt109 val appId = packageState.appId in <lambda>() constant
197 val appId = packageState.appId in <lambda>() constant
274 val appId = packageState.appId in <lambda>() constant
DDevicePermissionPersistence.kt64 appIdDevicePermissionFlags.forEachReversedIndexed { appIdIndex, appId, _ -> in <lambda>() method
76 val appId = getAttributeIntOrThrow(ATTR_ID) in <lambda>() constant
114 appIdDevicePermissionFlags.forEachIndexed { _, appId, devicePermissionFlags -> in <lambda>() method
/frameworks/base/core/java/com/android/internal/os/
DAppIdToPackageMap.java65 public String mapAppId(int appId) { in mapAppId()
72 final int appId = UserHandle.getAppId(uid); in mapUid() local
/frameworks/base/services/core/java/com/android/server/os/
DNativeTombstoneManager.java212 public void purge(Optional<Integer> userId, Optional<Integer> appId) { in purge()
227 final int appId = UserHandle.getAppId(uid); in purgePackage() local
290 final int appId = UserHandle.getAppId(callingUid); in collectTombstones() local
366 public boolean matches(Optional<Integer> userId, Optional<Integer> appId) { in matches()
504 final int appId = UserHandle.getAppId(uid); in parse() local
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/odsa/
DAcquireTemporaryTokenOperation.java48 public abstract String appId(); in appId() method in AcquireTemporaryTokenOperation.AcquireTemporaryTokenRequest
89 public abstract Builder setAppId(@NonNull @AppId String appId); in setAppId()
DManageServiceOperation.java44 public abstract String appId(); in appId() method in ManageServiceOperation.ManageServiceRequest
131 public abstract Builder setAppId(@NonNull @AppId String appId); in setAppId()
/frameworks/base/services/core/java/com/android/server/rollback/
DAppDataRollbackHelper.java88 int userId, int appId, String seInfo) { in restoreAppData()
143 int rollbackId, int appId, String seInfo, int flags) { in doRestoreOrWipe()
170 appId, seInfo, userId, rollbackId, flags); in doRestoreOrWipe() local
DRollbackManagerInternal.java43 int appId, long ceDataInode, @NonNull String seInfo, int token); in snapshotAndRestoreUserData()
/frameworks/base/core/java/android/hardware/location/
DNanoApp.java91 @Deprecated public NanoApp(int appId, byte[] appBinary) { in NanoApp()
110 public NanoApp(long appId, byte[] appBinary) { in NanoApp()
150 public void setAppId(long appId) { in setAppId()
/frameworks/base/services/print/java/com/android/server/print/
DUserState.java223 @Nullable PrintAttributes attributes, @NonNull String packageName, int appId) { in print()
267 public List<PrintJobInfo> getPrintJobInfos(int appId) { in getPrintJobInfos()
307 public PrintJobInfo getPrintJobInfo(@NonNull PrintJobId printJobId, int appId) { in getPrintJobInfo()
343 public void cancelPrintJob(@NonNull PrintJobId printJobId, int appId) { in cancelPrintJob()
373 public void restartPrintJob(@NonNull PrintJobId printJobId, int appId) { in restartPrintJob()
571 int appId) throws RemoteException { in addPrintJobStateChangeListener()
1141 int appId = appIdSupplier.getAsInt(); in handleDispatchPrintJobStateChanged() local
1226 final int appId; field in UserState.PrintJobStateChangeListenerRecord
1229 int appId) throws RemoteException { in PrintJobStateChangeListenerRecord()
1758 public boolean onPrintJobCreated(final IBinder creator, final int appId, in onPrintJobCreated()
[all …]
DPrintManagerService.java141 PrintAttributes attributes, String packageName, int appId, int userId) { in print()
197 public List<PrintJobInfo> getPrintJobInfos(int appId, int userId) { in getPrintJobInfos()
218 public PrintJobInfo getPrintJobInfo(PrintJobId printJobId, int appId, int userId) { in getPrintJobInfo()
297 public void cancelPrintJob(PrintJobId printJobId, int appId, int userId) { in cancelPrintJob()
322 public void restartPrintJob(PrintJobId printJobId, int appId, int userId) { in restartPrintJob()
374 final int appId = UserHandle.getAppId(Binder.getCallingUid()); in setPrintServiceEnabled() local
609 int appId, int userId) throws RemoteException { in addPrintJobStateChangeListener()
1110 private int resolveCallingAppEnforcingPermissions(int appId) { in resolveCallingAppEnforcingPermissions()
/frameworks/base/errorprone/tests/res/android/os/
DUserHandle.java28 public static int getUid(int userId, int appId) { in getUid()

123456