/frameworks/native/cmds/installd/ |
D | utils.h | 53 std::string create_data_user_ce_path(const char* volume_uuid, userid_t userid); 54 std::string create_data_user_de_path(const char* volume_uuid, userid_t userid); 63 const char* volume_uuid, userid_t userid, const char* package_name); 66 userid_t userid); 68 userid_t userid, const char* package_name); 70 userid_t userid, const char* package_name, 86 std::string create_data_media_path(const char* volume_uuid, userid_t userid); 87 std::string create_data_media_package_path(const char* volume_uuid, userid_t userid, 90 std::string create_data_misc_legacy_path(userid_t userid); 98 std::string create_primary_cur_profile_dir_path(userid_t userid); [all …]
|
D | utils.cpp | 135 const char* volume_uuid, userid_t userid, const char* package_name) { in create_data_user_ce_package_path_as_user_link() argument 138 return StringPrintf("%s/user/%u/%s", data.c_str(), userid, package_name); in create_data_user_ce_package_path_as_user_link() 180 std::string create_data_user_ce_path(const char* volume_uuid, userid_t userid) { in create_data_user_ce_path() argument 182 if (volume_uuid == nullptr && userid == 0) { in create_data_user_ce_path() 190 return StringPrintf("%s/user/%u", data.c_str(), userid); in create_data_user_ce_path() 196 std::string create_data_user_de_path(const char* volume_uuid, userid_t userid) { in create_data_user_de_path() argument 198 return StringPrintf("%s/user_de/%u", data.c_str(), userid); in create_data_user_de_path() 283 std::string create_data_media_path(const char* volume_uuid, userid_t userid) { in create_data_media_path() argument 284 return StringPrintf("%s/media/%u", create_data_path(volume_uuid).c_str(), userid); in create_data_media_path() 287 std::string create_data_media_package_path(const char* volume_uuid, userid_t userid, in create_data_media_package_path() argument [all …]
|
D | InstalldNativeService.h | 232 std::string findDataMediaPath(const std::optional<std::string>& uuid, userid_t userid);
|
D | InstalldNativeService.cpp | 1320 static int destroy_app_current_profiles(const std::string& pkgname, userid_t userid) { in destroy_app_current_profiles() argument 1322 create_primary_current_profile_package_dir_path(userid, pkgname), in destroy_app_current_profiles() 3886 const std::optional<std::string>& uuid, userid_t userid) { in findDataMediaPath() argument 3895 return StringPrintf("%s/%u", resolved.c_str(), userid); in findDataMediaPath()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ManagedServices.java | 397 + " (user " + info.userid + "): " + info.service in dump() 1107 public void unregisterService(IInterface service, int userid) { in unregisterService() argument 1111 unregisterServiceImpl(service, userid); in unregisterService() 1114 public void registerSystemService(IInterface service, ComponentName component, int userid, in registerSystemService() argument 1118 service, component, userid, Build.VERSION_CODES.CUR_DEVELOPMENT, uid); in registerSystemService() 1419 final Set<ComponentName> allowedComponents = allowedComponentsToBind.get(info.userid); in populateComponentsToUnbind() 1423 componentsToUnbind.get(info.userid, new ArraySet<>()); in populateComponentsToUnbind() 1425 componentsToUnbind.put(info.userid, toUnbind); in populateComponentsToUnbind() 1490 if ((allExceptUser && (info.userid != user)) in unbindServicesImpl() 1491 || (!allExceptUser && (info.userid == user))) { in unbindServicesImpl() [all …]
|
D | NotificationManagerService.java | 4942 final ComponentName component, final int userid) { 4944 mListeners.registerSystemService(listener, component, userid, Binder.getCallingUid()); 4951 public void unregisterListener(INotificationListener token, int userid) { 4952 mListeners.unregisterService(token, userid); 4995 if (userId != info.userid && userId != USER_ALL && 5013 cancelAllLocked(callingUid, callingPid, info.userid, 5024 cancelAllLocked(callingUid, callingPid, info.userid, 5112 if (userId != info.userid && userId != USER_ALL 5244 Pair key = Pair.create(info.component, info.userid); 5253 for (int userId : mUm.getProfileIds(info.userid, false)) { [all …]
|
/frameworks/base/core/java/android/app/ |
D | IActivityManager.aidl | 400 boolean isUserRunning(int userid, int flags); in isUserRunning() argument 404 boolean switchUser(int userid); in switchUser() argument 455 int stopUser(int userid, boolean stopProfileRegardlessOfParent, in IStopUserCallback callback); in stopUser() argument 456 int stopUserWithCallback(int userid, in IStopUserCallback callback); in stopUserWithCallback() argument 457 …int stopUserExceptCertainProfiles(int userid, boolean stopProfileRegardlessOfParent, in IStopUserC… in stopUserExceptCertainProfiles() argument 462 int stopUserWithDelayedLocking(int userid, in IStopUserCallback callback); in stopUserWithDelayedLocking() argument 547 boolean startUserInBackground(int userid); in startUserInBackground() argument 608 boolean unlockUser(int userid, in byte[] token, in byte[] secret, in unlockUser() argument 669 boolean startUserInBackgroundWithListener(int userid, IProgressListener unlockProgressListener); in startUserInBackgroundWithListener() argument 699 boolean startUserInForegroundWithListener(int userid, IProgressListener unlockProgressListener); in startUserInForegroundWithListener() argument [all …]
|
D | INotificationManager.aidl | 148 … void registerListener(in INotificationListener listener, in ComponentName component, int userid); in registerListener() argument 149 void unregisterListener(in INotificationListener listener, int userid); in unregisterListener() argument
|
D | ActivityManager.java | 5233 public boolean switchUser(int userid) { in switchUser() argument 5235 return getService().switchUser(userid); in switchUser()
|
/frameworks/base/services/core/java/com/android/server/ |
D | EventLogTags.logtags | 66 2750 notification_enqueue (uid|1|5),(pid|1|5),(pkg|3),(id|1|5),(tag|3),(userid|1|5),(notification|3… 69 2751 notification_cancel (uid|1|5),(pid|1|5),(pkg|3),(id|1|5),(tag|3),(userid|1|5),(required_flags|… 71 2752 notification_cancel_all (uid|1|5),(pid|1|5),(pkg|3),(userid|1|5),(required_flags|1),(forbidden…
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | AccessibilityManagerServiceTest.java | 782 final int userid = 10; in testSetAccessibilityWindowAttributes_passThrough() local 787 mA11yms.setAccessibilityWindowAttributes(displayId, windowId, userid, attributes); in testSetAccessibilityWindowAttributes_passThrough() 789 verify(mMockA11yWindowManager).setAccessibilityWindowAttributes(displayId, windowId, userid, in testSetAccessibilityWindowAttributes_passThrough()
|
/frameworks/base/services/core/java/com/android/server/trust/ |
D | TrustManagerService.java | 717 (long handle, int userid) -> { in addEscrowToken() 718 dispatchEscrowTokenActivatedLocked(handle, userid); in addEscrowToken()
|
/frameworks/native/cmds/dumpstate/ |
D | dumpstate.cpp | 3970 int userid; in for_each_userid() local 3971 if (de->d_type != DT_DIR || !(userid = atoi(de->d_name))) { in for_each_userid() 3974 func(userid); in for_each_userid()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationManagerServiceTest.java | 11662 info.userid = 10; 11665 when(info.enabledAndUserMatches(info.userid)).thenReturn(false); 11676 info.userid = 10; 11678 when(info.enabledAndUserMatches(info.userid)).thenReturn(true); 11690 info.userid = 0; 11693 when(info.enabledAndUserMatches(info.userid)).thenReturn(true); 11705 info.userid = 10; 11708 when(info.enabledAndUserMatches(info.userid)).thenReturn(true); 11722 info.userid = 10; 11725 when(info.enabledAndUserMatches(info.userid)).thenReturn(true); [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerShellCommand.java | 3560 int userid = UserHandle.parseUserArg(getNextArgRequired()); 3567 mInternal.scheduleApplicationInfoChanged(packages, userid);
|