Home
last modified time | relevance | path

Searched refs:userid (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java230 + " (user " + info.userid + "): " + info.service in dump()
701 public void unregisterService(IInterface service, int userid) { in unregisterService() argument
705 unregisterServiceImpl(service, userid); in unregisterService()
708 public void registerService(IInterface service, ComponentName component, int userid) { in registerService() argument
710 ManagedServiceInfo info = registerServiceImpl(service, component, userid); in registerService()
987 final Set<ComponentName> allowedComponents = allowedComponentsToBind.get(info.userid); in populateComponentsToUnbind()
991 componentsToUnbind.get(info.userid, new ArraySet<>()); in populateComponentsToUnbind()
993 componentsToUnbind.put(info.userid, toUnbind); in populateComponentsToUnbind()
1078 private void registerService(final ComponentName name, final int userid) { in registerService() argument
1080 registerServiceLocked(name, userid); in registerService()
[all …]
DNotificationManagerService.java3142 final ComponentName component, final int userid) {
3144 mListeners.registerService(listener, component, userid);
3151 public void unregisterListener(INotificationListener token, int userid) {
3152 mListeners.unregisterService(token, userid);
3177 if (userId != info.userid && userId != UserHandle.USER_ALL &&
3187 cancelAllLocked(callingUid, callingPid, info.userid,
3245 if (userId != info.userid && userId != UserHandle.USER_ALL
3362 pkg, tag, id, info.userid);
7540 info.component.getPackageName(), info.userid);
7701 mListeners.unregisterService(removed.service, removed.userid);
[all …]
/frameworks/native/cmds/installd/
Dutils.h52 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);
Dutils.cpp137 const char* volume_uuid, userid_t userid, const char* package_name) { in create_data_user_ce_package_path_as_user_link() argument
140 return StringPrintf("%s/user/%u/%s", data.c_str(), userid, package_name); in create_data_user_ce_package_path_as_user_link()
182 std::string create_data_user_ce_path(const char* volume_uuid, userid_t userid) { in create_data_user_ce_path() argument
184 if (volume_uuid == nullptr && userid == 0) { in create_data_user_ce_path()
192 return StringPrintf("%s/user/%u", data.c_str(), userid); in create_data_user_ce_path()
198 std::string create_data_user_de_path(const char* volume_uuid, userid_t userid) { in create_data_user_de_path() argument
200 return StringPrintf("%s/user_de/%u", data.c_str(), userid); in create_data_user_de_path()
246 std::string create_data_media_path(const char* volume_uuid, userid_t userid) { in create_data_media_path() argument
247 return StringPrintf("%s/media/%u", create_data_path(volume_uuid).c_str(), userid); in create_data_media_path()
250 std::string create_data_media_package_path(const char* volume_uuid, userid_t userid, in create_data_media_package_path() argument
[all …]
DInstalldNativeService.h178 std::string findDataMediaPath(const std::optional<std::string>& uuid, userid_t userid);
DInstalldNativeService.cpp677 static int destroy_app_current_profiles(const std::string& pkgname, userid_t userid) { in destroy_app_current_profiles() argument
679 create_primary_current_profile_package_dir_path(userid, pkgname), in destroy_app_current_profiles()
2969 const std::optional<std::string>& uuid, userid_t userid) { in findDataMediaPath() argument
2978 return StringPrintf("%s/%u", resolved.c_str(), userid); in findDataMediaPath()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DForegroundServiceControllerTest.java341 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/
DIActivityManager.aidl311 boolean isUserRunning(int userid, int flags); in isUserRunning() argument
315 boolean switchUser(int userid); in switchUser() argument
357 int stopUser(int userid, boolean force, in IStopUserCallback callback); in stopUser() argument
445 boolean startUserInBackground(int userid); in startUserInBackground() argument
504 boolean unlockUser(int userid, in byte[] token, in byte[] secret, in unlockUser() argument
583 boolean startUserInBackgroundWithListener(int userid, IProgressListener unlockProgressListener); in startUserInBackgroundWithListener() argument
607 boolean startUserInForegroundWithListener(int userid, IProgressListener unlockProgressListener); in startUserInForegroundWithListener() argument
DINotificationManager.aidl120 … void registerListener(in INotificationListener listener, in ComponentName component, int userid); in registerListener() argument
121 void unregisterListener(in INotificationListener listener, int userid); in unregisterListener() argument
DActivityManager.java3847 public boolean switchUser(int userid) {
3849 return getService().switchUser(userid);
/frameworks/base/core/java/android/hardware/face/
DIFaceService.aidl30 void authenticate(IBinder token, long sessionId, int userid, in authenticate() argument
/frameworks/base/services/core/java/com/android/server/
DEventLogTags.logtags66 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/
DTrustManagerService.java450 (long handle, int userid) -> { in addEscrowToken()
451 dispatchEscrowTokenActivatedLocked(handle, userid); in addEscrowToken()
/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp3144 int userid; in for_each_userid() local
3145 if (de->d_type != DT_DIR || !(userid = atoi(de->d_name))) { in for_each_userid()
3148 func(userid); in for_each_userid()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java1773 void onEscrowTokenActivated(long handle, int userid);
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerShellCommand.java2906 int userid = UserHandle.parseUserArg(getNextArgRequired());
2913 mInternal.scheduleApplicationInfoChanged(packages, userid);
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java2620 private void putSecureIntForUser(String key, int value, int userid) { in putSecureIntForUser() argument
2623 Settings.Secure.putIntForUser(mContext.getContentResolver(), key, value, userid); in putSecureIntForUser() local