/frameworks/base/core/java/android/os/ |
D | UserHandle.java | 178 final int appId = getAppId(uid); in isApp() local 191 final int appId = getAppId(uid); in isCore() local 242 public static int getUid(@UserIdInt int userId, @AppIdInt int appId) { in getUid() 274 public static int getSharedAppGid(int userId, int appId) { in getSharedAppGid() 290 final int appId = getAppId(gid) + Process.FIRST_APPLICATION_UID in getAppIdFromSharedAppGid() local 304 public static int getCacheAppGid(int userId, int appId) { in getCacheAppGid() 323 final int appId = getAppId(uid); in formatUid() local 365 final int appId = getAppId(uid); in formatUid() local
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | UserHandleTest.java | 101 private static int multiuser_get_uid(int userId, int appId) { in multiuser_get_uid() 105 private static int multiuser_get_cache_gid(int userId, int appId) { in multiuser_get_cache_gid() 109 private static int multiuser_get_shared_gid(int userId, int appId) { in multiuser_get_shared_gid()
|
/frameworks/base/core/java/android/print/ |
D | IPrintManager.aidl | 40 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()
|
D | IPrintSpooler.aidl | 40 int state, int appId, int sequence); in getPrintJobInfos() 42 int appId, int sequence); in getPrintJobInfo()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | AppIdToPackageMap.java | 67 public String mapAppId(int appId) { in mapAppId() 74 final int appId = UserHandle.getAppId(uid); in mapUid() local
|
/frameworks/base/core/java/android/hardware/location/ |
D | NanoApp.java | 91 @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()
|
D | NanoAppFilter.java | 111 public NanoAppFilter(long appId, int appVersion, int versionMask, long vendorMask) { in NanoAppFilter()
|
D | NanoAppInstanceInfo.java | 59 public NanoAppInstanceInfo(int handle, long appId, int appVersion, int contextHubId) { in NanoAppInstanceInfo()
|
/frameworks/base/services/print/java/com/android/server/print/ |
D | UserState.java | 222 @Nullable PrintAttributes attributes, @NonNull String packageName, int appId) { in print() 263 public List<PrintJobInfo> getPrintJobInfos(int appId) { in getPrintJobInfos() 303 public PrintJobInfo getPrintJobInfo(@NonNull PrintJobId printJobId, int appId) { in getPrintJobInfo() 339 public void cancelPrintJob(@NonNull PrintJobId printJobId, int appId) { in cancelPrintJob() 369 public void restartPrintJob(@NonNull PrintJobId printJobId, int appId) { in restartPrintJob() 558 int appId) throws RemoteException { in addPrintJobStateChangeListener() 1128 int appId = appIdSupplier.getAsInt(); in handleDispatchPrintJobStateChanged() local 1213 final int appId; field in UserState.PrintJobStateChangeListenerRecord 1216 int appId) throws RemoteException { in PrintJobStateChangeListenerRecord() 1745 public boolean onPrintJobCreated(final IBinder creator, final int appId, in onPrintJobCreated() [all …]
|
D | PrintManagerService.java | 139 PrintAttributes attributes, String packageName, int appId, int userId) { in print() 195 public List<PrintJobInfo> getPrintJobInfos(int appId, int userId) { in getPrintJobInfos() 216 public PrintJobInfo getPrintJobInfo(PrintJobId printJobId, int appId, int userId) { in getPrintJobInfo() 262 public void cancelPrintJob(PrintJobId printJobId, int appId, int userId) { in cancelPrintJob() 287 public void restartPrintJob(PrintJobId printJobId, int appId, int userId) { in restartPrintJob() 339 final int appId = UserHandle.getAppId(Binder.getCallingUid()); in setPrintServiceEnabled() local 547 int appId, int userId) throws RemoteException { in addPrintJobStateChangeListener() 1039 private int resolveCallingAppEnforcingPermissions(int appId) { in resolveCallingAppEnforcingPermissions()
|
D | RemotePrintSpooler.java | 163 int appId) { in getPrintJobInfos() 231 public final PrintJobInfo getPrintJobInfo(PrintJobId printJobId, int appId) { in getPrintJobInfo() 734 ComponentName componentName, int state, int appId) in getPrintJobInfos() 756 int appId) throws RemoteException, TimeoutException { in getPrintJobInfo()
|
/frameworks/native/cmds/installd/binder/android/os/ |
D | IInstalld.aidl | 25 int userId, int flags, int appId, in @utf8InCpp String seInfo, int targetSdkVersion); in createAppData() 30 int userId, int flags, int appId, @utf8InCpp String seInfo); in restoreconAppData() 41 int userId, int flags, int appId, in long[] ceDataInodes, in getAppSize() 46 void setAppQuota(@nullable @utf8InCpp String uuid, int userId, int appId, long cacheQuota); in setAppQuota() 49 @utf8InCpp String packageName, @utf8InCpp String dataAppName, int appId, in moveCompleteApp() 74 boolean createProfileSnapshot(int appId, @utf8InCpp String packageName, in createProfileSnapshot() 107 int userId, int appId, @utf8InCpp String profileName, @utf8InCpp String codePath, in prepareAppProfile() 113 int appId, @utf8InCpp String seInfo, int user, int snapshotId, int storageflags); in restoreAppDataSnapshot()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | Installer.java | 175 public long createAppData(String uuid, String packageName, int userId, int flags, int appId, in createAppData() 186 public void restoreconAppData(String uuid, String packageName, int userId, int flags, int appId, in restoreconAppData() 236 String dataAppName, int appId, String seInfo, int targetSdkVersion) in moveCompleteApp() 247 public void getAppSize(String uuid, String[] packageNames, int userId, int flags, int appId, in getAppSize() 296 public void setAppQuota(String uuid, int userId, int appId, long cacheQuota) in setAppQuota() 557 public boolean createProfileSnapshot(int appId, String packageName, String profileName, in createProfileSnapshot() 595 public boolean prepareAppProfile(String pkg, @UserIdInt int userId, @AppIdInt int appId, in prepareAppProfile() 646 public boolean restoreAppDataSnapshot(String pkg, @AppIdInt int appId, String seInfo, in restoreAppDataSnapshot()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | InstallerTest.java | 100 final int appId = UserHandle.getAppId(app.uid); in testGetAppSize() local 178 final int appId = UserHandle.getAppId(app.uid); in getAppIds() local
|
D | PackageManagerServiceTest.java | 54 boolean sendBootComplete, boolean includeStopped, int appId, in testPackageRemoval()
|
/frameworks/base/core/java/android/content/rollback/ |
D | PackageRollbackInfo.java | 48 public final int appId; field in PackageRollbackInfo.RestoreInfo 51 public RestoreInfo(int userId, int appId, String seInfo) { in RestoreInfo()
|
D | IRollbackManager.aidl | 35 … void snapshotAndRestoreUserData(String packageName, in int[] userIds, int appId, long ceDataInode, in snapshotAndRestoreUserData()
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | AppDataRollbackHelper.java | 96 int userId, int appId, String seInfo) { in restoreAppData() 124 mInstaller.restoreAppDataSnapshot(packageRollbackInfo.getPackageName(), appId, seInfo, in restoreAppData() local
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | StorageStatsService.java | 274 final int appId = UserHandle.getUserId(appInfo.uid); in queryStatsForPackage() local 300 final int appId = UserHandle.getAppId(uid); in queryStatsForUid() local 414 final int appId = UserHandle.getAppId(app.uid); in getAppIds() local
|
/frameworks/base/services/core/java/com/android/server/ |
D | BinderCallsStatsService.java | 69 final int appId = UserHandle.getAppId(callingUid); in resolveWorkSourceUid() local 111 final int appId = UserHandle.getAppId(uid); in createAppidTrustlist() local
|
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
D | ArtManagerService.java | 245 int appId = UserHandle.getAppId(info.applicationInfo.uid); in snapshotAppProfile() local 259 int appId, ISnapshotRuntimeProfileCallback callback) { in createProfileSnapshot() 398 final int appId = UserHandle.getAppId(pkg.applicationInfo.uid); in prepareAppProfiles() local
|
/frameworks/native/cmds/installd/ |
D | CacheTracker.cpp | 36 CacheTracker::CacheTracker(userid_t userId, appid_t appId, const std::string& uuid) in CacheTracker()
|
D | InstalldNativeService.cpp | 372 static bool prepare_app_profile_dir(const std::string& packageName, int32_t appId, int32_t userId) { in prepare_app_profile_dir() 443 const std::string& packageName, int32_t userId, int32_t flags, int32_t appId, in createAppData() 1021 const int32_t appId, const std::string& seInfo, const int32_t user, in restoreAppDataSnapshot() 1164 const std::string& dataAppName, int32_t appId, const std::string& seInfo, in moveCompleteApp() 1548 int32_t appId, struct stats* stats, struct stats* extStats) { in collectQuotaStats() 1733 int32_t appId, const std::vector<int64_t>& ceDataInodes, in getAppSize() 1930 for (auto appId : appIds) { in getExternalSizesForUserWithQuota() local 2022 for (auto appId : appIds) { in getUserSize() local 2132 for (auto appId : appIds) { in getExternalSize() local 2207 int32_t userId, int32_t appId, int64_t cacheQuota) { in setAppQuota() [all …]
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerInternal.java | 81 public abstract void onTempPowerSaveWhitelistChange(int appId, boolean added); in onTempPowerSaveWhitelistChange()
|
D | NetworkPolicyLogger.java | 163 void tempPowerSaveWlChanged(int appId, boolean added) { in tempPowerSaveWlChanged() 278 private static String getTempPowerSaveWlChangedLog(int appId, boolean added) { in getTempPowerSaveWlChangedLog() 445 public void tempPowerSaveWlChanged(int appId, boolean added) { in tempPowerSaveWlChanged()
|