Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/os/
DUserHandle.java178 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/
DUserHandleTest.java101 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/
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()
DIPrintSpooler.aidl40 int state, int appId, int sequence); in getPrintJobInfos()
42 int appId, int sequence); in getPrintJobInfo()
/frameworks/base/core/java/com/android/internal/os/
DAppIdToPackageMap.java67 public String mapAppId(int appId) { in mapAppId()
74 final int appId = UserHandle.getAppId(uid); in mapUid() local
/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()
DNanoAppFilter.java111 public NanoAppFilter(long appId, int appVersion, int versionMask, long vendorMask) { in NanoAppFilter()
DNanoAppInstanceInfo.java59 public NanoAppInstanceInfo(int handle, long appId, int appVersion, int contextHubId) { in NanoAppInstanceInfo()
/frameworks/base/services/print/java/com/android/server/print/
DUserState.java222 @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 …]
DPrintManagerService.java139 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()
DRemotePrintSpooler.java163 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/
DIInstalld.aidl25 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/
DInstaller.java175 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/
DInstallerTest.java100 final int appId = UserHandle.getAppId(app.uid); in testGetAppSize() local
178 final int appId = UserHandle.getAppId(app.uid); in getAppIds() local
DPackageManagerServiceTest.java54 boolean sendBootComplete, boolean includeStopped, int appId, in testPackageRemoval()
/frameworks/base/core/java/android/content/rollback/
DPackageRollbackInfo.java48 public final int appId; field in PackageRollbackInfo.RestoreInfo
51 public RestoreInfo(int userId, int appId, String seInfo) { in RestoreInfo()
DIRollbackManager.aidl35 … void snapshotAndRestoreUserData(String packageName, in int[] userIds, int appId, long ceDataInode, in snapshotAndRestoreUserData()
/frameworks/base/services/core/java/com/android/server/rollback/
DAppDataRollbackHelper.java96 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/
DStorageStatsService.java274 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/
DBinderCallsStatsService.java69 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/
DArtManagerService.java245 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/
DCacheTracker.cpp36 CacheTracker::CacheTracker(userid_t userId, appid_t appId, const std::string& uuid) in CacheTracker()
DInstalldNativeService.cpp372 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/
DNetworkPolicyManagerInternal.java81 public abstract void onTempPowerSaveWhitelistChange(int appId, boolean added); in onTempPowerSaveWhitelistChange()
DNetworkPolicyLogger.java163 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()

123