Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/os/
DUserHandle.java177 final int appId = getAppId(uid); in isApp() local
190 final int appId = getAppId(uid); in isCore() local
241 public static int getUid(@UserIdInt int userId, @AppIdInt int appId) { in getUid()
273 public static int getSharedAppGid(int userId, int appId) { in getSharedAppGid()
289 final int appId = getAppId(gid) + Process.FIRST_APPLICATION_UID in getAppIdFromSharedAppGid() local
303 public static int getCacheAppGid(int userId, int appId) { in getCacheAppGid()
322 final int appId = getAppId(uid); in formatUid() local
363 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.java90 @Deprecated public NanoApp(int appId, byte[] appBinary) { in NanoApp()
109 public NanoApp(long appId, byte[] appBinary) { in NanoApp()
149 public void setAppId(long appId) { in setAppId()
DNanoAppFilter.java110 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/native/cmds/installd/binder/android/os/
DIInstalld.aidl25 int userId, int flags, int appId, in @utf8InCpp String seInfo, int targetSdkVersion); in createAppData()
27 int userId, int flags, int appId, @utf8InCpp String seInfo); in restoreconAppData()
38 int userId, int flags, int appId, in long[] ceDataInodes, in getAppSize()
43 void setAppQuota(@nullable @utf8InCpp String uuid, int userId, int appId, long cacheQuota); in setAppQuota()
46 @utf8InCpp String packageName, @utf8InCpp String dataAppName, int appId, in moveCompleteApp()
71 boolean createProfileSnapshot(int appId, @utf8InCpp String packageName, in createProfileSnapshot()
105 int userId, int appId, @utf8InCpp String profileName, @utf8InCpp String codePath, in prepareAppProfile()
111 int appId, @utf8InCpp String seInfo, int user, int snapshotId, int storageflags); in restoreAppDataSnapshot()
/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/base/services/core/java/com/android/server/pm/
DInstaller.java172 public long createAppData(String uuid, String packageName, int userId, int flags, int appId, in createAppData()
183 public void restoreconAppData(String uuid, String packageName, int userId, int flags, int appId, in restoreconAppData()
233 String dataAppName, int appId, String seInfo, int targetSdkVersion) in moveCompleteApp()
244 public void getAppSize(String uuid, String[] packageNames, int userId, int flags, int appId, in getAppSize()
293 public void setAppQuota(String uuid, int userId, int appId, long cacheQuota) in setAppQuota()
564 public boolean createProfileSnapshot(int appId, String packageName, String profileName, in createProfileSnapshot()
602 public boolean prepareAppProfile(String pkg, @UserIdInt int userId, @AppIdInt int appId, in prepareAppProfile()
653 public boolean restoreAppDataSnapshot(String pkg, @AppIdInt int appId, String seInfo, in restoreAppDataSnapshot()
/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/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/services/core/java/com/android/server/rollback/
DAppDataRollbackHelper.java94 int userId, int appId, String seInfo) { in restoreAppData()
122 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.java66 final int appId = UserHandle.getAppId(callingUid); in resolveWorkSourceUid() local
108 final int appId = UserHandle.getAppId(uid); in createAppidWhitelist() 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()
394 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.cpp364 static bool prepare_app_profile_dir(const std::string& packageName, int32_t appId, int32_t userId) { in prepare_app_profile_dir()
408 const std::string& packageName, int32_t userId, int32_t flags, int32_t appId, in createAppData()
967 const int32_t appId, const std::string& seInfo, const int32_t user, in restoreAppDataSnapshot()
1071 const std::string& dataAppName, int32_t appId, const std::string& seInfo, in moveCompleteApp()
1455 int32_t appId, struct stats* stats, struct stats* extStats) { in collectQuotaStats()
1616 int32_t appId, const std::vector<int64_t>& ceDataInodes, in getAppSize()
1815 for (auto appId : appIds) { in getUserSize() local
1942 for (auto appId : appIds) { in getExternalSize() local
2017 int32_t userId, int32_t appId, int64_t cacheQuota) { in setAppQuota()
2063 binder::Status InstalldNativeService::createProfileSnapshot(int32_t appId, in createProfileSnapshot()
[all …]
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerInternal.java79 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