Searched defs:userid (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
H A DForegroundServiceControllerTest.java263 private StatusBarNotification makeMockSBN(int userid, String pkg, int id, String tag, argument
267 return makeMockSBN(userid, pkg, id, tag, n);
269 private StatusBarNotification makeMockSBN(int userid, String pkg, int id, String tag, argument
276 when(sbn.getUserId()).thenReturn(userid);
277 when(sbn.getUser()).thenReturn(new UserHandle(userid));
278 when(sbn.getKey()).thenReturn("MOCK:"+userid+"|"+pkg+"|"+id+"|"+tag);
281 private StatusBarNotification makeMockFgSBN(int userid, String pkg) { argument
282 return makeMockSBN(userid, pkg, 1000, "foo", Notification.FLAG_FOREGROUND_SERVICE);
284 private StatusBarNotification makeMockDungeon(int userid, String[] pkgs) { argument
290 final StatusBarNotification sbn = makeMockSBN(userid, "androi
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationData.java583 public boolean shouldHideNotifications(int userid); argument
/frameworks/base/services/core/java/com/android/server/notification/
H A DManagedServices.java170 ComponentName component, int userid, boolean isSystem, ServiceConnection connection,
172 return new ManagedServiceInfo(service, component, userid, isSystem, connection,
192 + " (user " + info.userid + "): " + info.service
214 public void settingRestored(String element, String oldValue, String newValue, int userid) { argument
223 userid);
225 updateSettingsAccordingToInstalledServices(element, userid);
301 public void unregisterService(IInterface service, int userid) { argument
305 unregisterServiceImpl(service, userid);
308 public void registerService(IInterface service, ComponentName component, int userid) { argument
310 ManagedServiceInfo info = registerServiceImpl(service, component, userid);
169 newServiceInfo(IInterface service, ComponentName component, int userid, boolean isSystem, ServiceConnection connection, int targetSdkVersion) argument
617 registerService(final ComponentName name, final int userid) argument
626 registerSystemService(final ComponentName name, final int userid) argument
632 registerServiceLocked(final ComponentName name, final int userid) argument
636 registerServiceLocked(final ComponentName name, final int userid, final boolean isSystem) argument
729 unregisterService(ComponentName name, int userid) argument
735 unregisterServiceLocked(ComponentName name, int userid) argument
760 removeServiceImpl(IInterface service, final int userid) argument
789 registerServiceImpl(final IInterface service, final ComponentName component, final int userid) argument
812 unregisterServiceImpl(IInterface service, int userid) argument
861 public int userid; field in class:ManagedServices.ManagedServiceInfo
866 ManagedServiceInfo(IInterface service, ComponentName component, int userid, boolean isSystem, ServiceConnection connection, int targetSdkVersion) argument
[all...]
/frameworks/native/cmds/installd/
H A Dutils.cpp133 const char *postfix, userid_t userid) {
139 std::string _tmp(create_data_user_ce_package_path(nullptr, userid, pkgname) + postfix);
170 * Create the path name for user data for a certain userid.
172 std::string create_data_user_ce_path(const char* volume_uuid, userid_t userid) { argument
175 if (userid == 0) {
178 return StringPrintf("%s/user/%u", data.c_str(), userid);
181 return StringPrintf("%s/user/%u", data.c_str(), userid);
186 * Create the path name for device encrypted user data for a certain userid.
188 std::string create_data_user_de_path(const char* volume_uuid, userid_t userid) { argument
190 return StringPrintf("%s/user_de/%u", data.c_str(), userid);
132 create_pkg_path(char path[PKG_PATH_MAX], const char *pkgname, const char *postfix, userid_t userid) argument
196 create_data_media_path(const char* volume_uuid, userid_t userid) argument
204 create_data_media_package_path(const char* volume_uuid, userid_t userid, const char* data_type, const char* package_name) argument
210 create_data_misc_legacy_path(userid_t userid) argument
214 create_primary_cur_profile_dir_path(userid_t userid) argument
963 ensure_config_user_dirs(userid_t userid) argument
[all...]
H A DInstalldNativeService.cpp557 static int destroy_app_current_profiles(const std::string& pkgname, userid_t userid) { argument
559 create_primary_current_profile_package_dir_path(userid, pkgname),
2331 const std::unique_ptr<std::string>& uuid, userid_t userid) {
2340 return StringPrintf("%s/%u", resolved.c_str(), userid);
2330 findDataMediaPath( const std::unique_ptr<std::string>& uuid, userid_t userid) argument
/frameworks/native/cmds/dumpstate/
H A Dutils.cpp279 int userid; local
280 if (de->d_type != DT_DIR || !(userid = atoi(de->d_name))) {
283 func(userid);
/frameworks/base/core/java/android/app/
H A DActivityManager.java4027 * @param userid the user's id. Zero indicates the default user.
4030 public boolean switchUser(int userid) { argument
4032 return getService().switchUser(userid);

Completed in 2096 milliseconds