/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); 77 std::string create_data_media_path(const char* volume_uuid, userid_t userid); 78 std::string create_data_media_package_path(const char* volume_uuid, userid_t userid, 81 std::string create_data_misc_legacy_path(userid_t userid); 85 std::string create_primary_cur_profile_dir_path(userid_t userid); 110 int create_user_config_path(char path[PKG_PATH_MAX], userid_t userid); 146 int ensure_config_user_dirs(userid_t userid);
|
D | utils.cpp | 134 const char* volume_uuid, userid_t userid, const char* package_name) { in create_data_user_ce_package_path_as_user_link() argument 137 return StringPrintf("%s/user/%u/%s", data.c_str(), userid, package_name); in create_data_user_ce_package_path_as_user_link() 179 std::string create_data_user_ce_path(const char* volume_uuid, userid_t userid) { in create_data_user_ce_path() argument 181 if (volume_uuid == nullptr && userid == 0) { in create_data_user_ce_path() 189 return StringPrintf("%s/user/%u", data.c_str(), userid); in create_data_user_ce_path() 195 std::string create_data_user_de_path(const char* volume_uuid, userid_t userid) { in create_data_user_de_path() argument 197 return StringPrintf("%s/user_de/%u", data.c_str(), userid); in create_data_user_de_path() 243 std::string create_data_media_path(const char* volume_uuid, userid_t userid) { in create_data_media_path() argument 244 return StringPrintf("%s/media/%u", create_data_path(volume_uuid).c_str(), userid); in create_data_media_path() 247 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 | 172 std::string findDataMediaPath(const std::unique_ptr<std::string>& uuid, userid_t userid);
|
D | InstalldNativeService.cpp | 635 static int destroy_app_current_profiles(const std::string& pkgname, userid_t userid) { in destroy_app_current_profiles() argument 637 create_primary_current_profile_package_dir_path(userid, pkgname), in destroy_app_current_profiles() 2787 const std::unique_ptr<std::string>& uuid, userid_t userid) { in findDataMediaPath() argument 2796 return StringPrintf("%s/%u", resolved.c_str(), userid); in findDataMediaPath()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ManagedServices.java | 228 + " (user " + info.userid + "): " + info.service in dump() 678 public void unregisterService(IInterface service, int userid) { in unregisterService() argument 682 unregisterServiceImpl(service, userid); in unregisterService() 685 public void registerService(IInterface service, ComponentName component, int userid) { in registerService() argument 687 ManagedServiceInfo info = registerServiceImpl(service, component, userid); in registerService() 955 final Set<ComponentName> allowedComponents = allowedComponentsToBind.get(info.userid); in populateComponentsToUnbind() 959 componentsToUnbind.get(info.userid, new ArraySet<>()); in populateComponentsToUnbind() 961 componentsToUnbind.put(info.userid, toUnbind); in populateComponentsToUnbind() 1046 private void registerService(final ComponentName name, final int userid) { in registerService() argument 1048 registerServiceLocked(name, userid); in registerService() [all …]
|
D | NotificationShellCmd.java | 243 final int userid = UserHandle.getCallingUserId(); in ensureChannel() local 251 "creating shell channel for user " + userid + " uid " + uid + ": " + chan); in ensureChannel()
|
D | NotificationManagerService.java | 3053 final ComponentName component, final int userid) { 3055 mListeners.registerService(listener, component, userid); 3062 public void unregisterListener(INotificationListener token, int userid) { 3063 mListeners.unregisterService(token, userid); 3088 if (userId != info.userid && userId != UserHandle.USER_ALL && 3098 cancelAllLocked(callingUid, callingPid, info.userid, 3156 if (userId != info.userid && userId != UserHandle.USER_ALL 3273 pkg, tag, id, info.userid); 7290 info.component.getPackageName(), info.userid); 7439 mListeners.unregisterService(removed.service, removed.userid); [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | ForegroundServiceControllerTest.java | 341 private StatusBarNotification makeMockSBN(int userid, String pkg, int id, String tag, in makeMockSBN() argument 346 return makeMockSBN(userid, pkg, id, tag, n); in makeMockSBN() 349 private StatusBarNotification makeMockSBN(int userid, String pkg, int id, String tag, in makeMockSBN() argument 356 when(sbn.getUserId()).thenReturn(userid); in makeMockSBN() 357 when(sbn.getUser()).thenReturn(new UserHandle(userid)); in makeMockSBN() 358 when(sbn.getKey()).thenReturn("MOCK:"+userid+"|"+pkg+"|"+id+"|"+tag); in makeMockSBN() 362 private StatusBarNotification makeMockFgSBN(int userid, String pkg, int id, in makeMockFgSBN() argument 365 makeMockSBN(userid, pkg, id, "foo", Notification.FLAG_FOREGROUND_SERVICE); in makeMockFgSBN() 376 private StatusBarNotification makeMockFgSBN(int userid, String pkg) { in makeMockFgSBN() argument 377 return makeMockSBN(userid, pkg, 1000, "foo", Notification.FLAG_FOREGROUND_SERVICE); in makeMockFgSBN() [all …]
|
/frameworks/base/core/java/android/app/ |
D | IActivityManager.aidl | 298 boolean isUserRunning(int userid, int flags); in isUserRunning() argument 302 boolean switchUser(int userid); in switchUser() argument 344 int stopUser(int userid, boolean force, in IStopUserCallback callback); in stopUser() argument 432 boolean startUserInBackground(int userid); in startUserInBackground() argument 491 boolean unlockUser(int userid, in byte[] token, in byte[] secret, in unlockUser() argument 570 boolean startUserInBackgroundWithListener(int userid, IProgressListener unlockProgressListener); in startUserInBackgroundWithListener() argument 594 boolean startUserInForegroundWithListener(int userid, IProgressListener unlockProgressListener); in startUserInForegroundWithListener() argument
|
D | INotificationManager.aidl | 118 … void registerListener(in INotificationListener listener, in ComponentName component, int userid); in registerListener() argument 119 void unregisterListener(in INotificationListener listener, int userid); in unregisterListener() argument
|
D | ActivityManager.java | 3840 public boolean switchUser(int userid) { 3842 return getService().switchUser(userid);
|
/frameworks/base/core/java/android/hardware/face/ |
D | IFaceService.aidl | 30 void authenticate(IBinder token, long sessionId, int userid, in authenticate() argument
|
/frameworks/base/services/core/java/com/android/server/ |
D | EventLogTags.logtags | 60 2750 notification_enqueue (uid|1|5),(pid|1|5),(pkg|3),(id|1|5),(tag|3),(userid|1|5),(notification|3… 63 2751 notification_cancel (uid|1|5),(pid|1|5),(pkg|3),(id|1|5),(tag|3),(userid|1|5),(required_flags|… 65 2752 notification_cancel_all (uid|1|5),(pid|1|5),(pkg|3),(userid|1|5),(required_flags|1),(forbidden…
|
/frameworks/native/cmds/dumpstate/ |
D | utils.cpp | 262 int userid; in for_each_userid() local 263 if (de->d_type != DT_DIR || !(userid = atoi(de->d_name))) { in for_each_userid() 266 func(userid); in for_each_userid()
|
/frameworks/base/services/core/java/com/android/server/trust/ |
D | TrustManagerService.java | 422 (long handle, int userid) -> { in addEscrowToken() 423 dispatchEscrowTokenActivatedLocked(handle, userid); in addEscrowToken()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerShellCommand.java | 2842 int userid = UserHandle.parseUserArg(getNextArgRequired()); 2849 mInternal.scheduleApplicationInfoChanged(packages, userid);
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternUtils.java | 1773 void onEscrowTokenActivated(long handle, int userid);
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityManagerService.java | 2618 private void putSecureIntForUser(String key, int value, int userid) { in putSecureIntForUser() argument 2621 Settings.Secure.putIntForUser(mContext.getContentResolver(), key, value, userid); in putSecureIntForUser() local
|