/frameworks/native/cmds/installd/ |
D | utils.h | 52 std::string create_data_user_ce_path(const char* volume_uuid, userid_t userid); 53 std::string create_data_user_de_path(const char* volume_uuid, userid_t userid); 62 const char* volume_uuid, userid_t userid, const char* package_name); 65 userid_t userid); 67 userid_t userid, const char* package_name); 69 userid_t userid, const char* package_name, 85 std::string create_data_media_path(const char* volume_uuid, userid_t userid); 86 std::string create_data_media_package_path(const char* volume_uuid, userid_t userid, 89 std::string create_data_misc_legacy_path(userid_t userid); 97 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 | 209 std::string findDataMediaPath(const std::optional<std::string>& uuid, userid_t userid);
|
D | InstalldNativeService.cpp | 1157 static int destroy_app_current_profiles(const std::string& pkgname, userid_t userid) { in destroy_app_current_profiles() argument 1159 create_primary_current_profile_package_dir_path(userid, pkgname), in destroy_app_current_profiles() 3696 const std::optional<std::string>& uuid, userid_t userid) { in findDataMediaPath() argument 3705 return StringPrintf("%s/%u", resolved.c_str(), userid); in findDataMediaPath()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ManagedServices.java | 387 + " (user " + info.userid + "): " + info.service in dump() 1059 public void unregisterService(IInterface service, int userid) { in unregisterService() argument 1063 unregisterServiceImpl(service, userid); in unregisterService() 1066 public void registerSystemService(IInterface service, ComponentName component, int userid, in registerSystemService() argument 1070 service, component, userid, Build.VERSION_CODES.CUR_DEVELOPMENT, uid); in registerSystemService() 1347 final Set<ComponentName> allowedComponents = allowedComponentsToBind.get(info.userid); in populateComponentsToUnbind() 1351 componentsToUnbind.get(info.userid, new ArraySet<>()); in populateComponentsToUnbind() 1353 componentsToUnbind.put(info.userid, toUnbind); in populateComponentsToUnbind() 1405 if (info.userid != currentUser) { in unbindOtherUserServices() 1407 componentsToUnbind.get(info.userid, new ArraySet<>()); in unbindOtherUserServices() [all …]
|
D | NotificationManagerService.java | 4459 final ComponentName component, final int userid) { 4461 mListeners.registerSystemService(listener, component, userid, Binder.getCallingUid()); 4468 public void unregisterListener(INotificationListener token, int userid) { 4469 mListeners.unregisterService(token, userid); 4501 if (userId != info.userid && userId != UserHandle.USER_ALL && 4510 cancelAllLocked(callingUid, callingPid, info.userid, 4571 if (userId != info.userid && userId != UserHandle.USER_ALL 4703 Pair key = Pair.create(info.component, info.userid); 4712 for (int userId : mUm.getProfileIds(info.userid, false)) { 4759 pkg, tag, id, info.userid, cancelReason); [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | ForegroundServiceControllerTest.java | 389 private StatusBarNotification makeMockSBN(int userid, String pkg, int id, String tag, in makeMockSBN() argument 396 when(sbn.getUserId()).thenReturn(userid); in makeMockSBN() 397 when(sbn.getUser()).thenReturn(new UserHandle(userid)); in makeMockSBN() 398 when(sbn.getKey()).thenReturn("MOCK:"+userid+"|"+pkg+"|"+id+"|"+tag); in makeMockSBN() 433 private StatusBarNotification makeMockDisclosure(int userid, String[] pkgs) { in makeMockDisclosure() argument 440 final StatusBarNotification sbn = makeMockSBN(userid, "android", in makeMockDisclosure()
|
/frameworks/base/core/java/android/app/ |
D | IActivityManager.aidl | 351 boolean isUserRunning(int userid, int flags); in isUserRunning() argument 355 boolean switchUser(int userid); in switchUser() argument 406 int stopUser(int userid, boolean force, in IStopUserCallback callback); in stopUser() argument 411 int stopUserWithDelayedLocking(int userid, boolean force, in IStopUserCallback callback); in stopUserWithDelayedLocking() argument 486 boolean startUserInBackground(int userid); in startUserInBackground() argument 531 boolean unlockUser(int userid, in byte[] token, in byte[] secret, in unlockUser() argument 577 boolean startUserInBackgroundWithListener(int userid, IProgressListener unlockProgressListener); in startUserInBackgroundWithListener() argument 607 boolean startUserInForegroundWithListener(int userid, IProgressListener unlockProgressListener); in startUserInForegroundWithListener() argument
|
D | INotificationManager.aidl | 141 … void registerListener(in INotificationListener listener, in ComponentName component, int userid); in registerListener() argument 142 void unregisterListener(in INotificationListener listener, int userid); in unregisterListener() argument
|
D | ActivityManager.java | 4322 public boolean switchUser(int userid) { in switchUser() argument 4324 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/core/java/com/android/server/trust/ |
D | TrustManagerService.java | 676 (long handle, int userid) -> { in addEscrowToken() 677 dispatchEscrowTokenActivatedLocked(handle, userid); in addEscrowToken()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationManagerServiceTest.java | 9306 info.userid = 10; in testIsVisibleToListener_notEnabled() 9309 when(info.enabledAndUserMatches(info.userid)).thenReturn(false); in testIsVisibleToListener_notEnabled() 9320 info.userid = 10; in testIsVisibleToListener_noAssistant() 9322 when(info.enabledAndUserMatches(info.userid)).thenReturn(true); in testIsVisibleToListener_noAssistant() 9334 info.userid = 0; in testIsVisibleToListener_assistant_differentUser() 9337 when(info.enabledAndUserMatches(info.userid)).thenReturn(true); in testIsVisibleToListener_assistant_differentUser() 9349 info.userid = 10; in testIsVisibleToListener_assistant_sameUser() 9352 when(info.enabledAndUserMatches(info.userid)).thenReturn(true); in testIsVisibleToListener_assistant_sameUser() 9366 info.userid = 10; in testIsVisibleToListener_mismatchedType() 9369 when(info.enabledAndUserMatches(info.userid)).thenReturn(true); in testIsVisibleToListener_mismatchedType() [all …]
|
/frameworks/native/cmds/dumpstate/ |
D | dumpstate.cpp | 3556 int userid; in for_each_userid() local 3557 if (de->d_type != DT_DIR || !(userid = atoi(de->d_name))) { in for_each_userid() 3560 func(userid); in for_each_userid()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerShellCommand.java | 3029 int userid = UserHandle.parseUserArg(getNextArgRequired()); 3036 mInternal.scheduleApplicationInfoChanged(packages, userid);
|