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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationData.java327 public boolean shouldHideSensitiveContents(int userid); argument
H A DBaseStatusBar.java625 Log.v(TAG, String.format("%s: current userid: %d, notification userid: %d",
1151 public boolean shouldHideSensitiveContents(int userid) { argument
1152 return isLockscreenPublicMode() && !userAllowsPrivateNotificationsInPublic(userid);
/frameworks/base/services/core/java/com/android/server/notification/
H A DManagedServices.java116 ComponentName component, int userid, boolean isSystem, ServiceConnection connection,
118 return new ManagedServiceInfo(service, component, userid, isSystem, connection,
138 + " (user " + info.userid + "): " + info.service
187 public void unregisterService(IInterface service, int userid) { argument
191 unregisterServiceImpl(service, userid);
194 public void registerService(IInterface service, ComponentName component, int userid) { argument
196 ManagedServiceInfo info = registerServiceImpl(service, component, userid);
321 final int oldUser = info.userid;
324 unregisterService(component, info.userid);
344 private void registerService(final ComponentName name, final int userid) { argument
115 newServiceInfo(IInterface service, ComponentName component, int userid, boolean isSystem, ServiceConnection connection, int targetSdkVersion) argument
438 unregisterService(ComponentName name, int userid) argument
465 removeServiceImpl(IInterface service, final int userid) argument
494 registerServiceImpl(final IInterface service, final ComponentName component, final int userid) argument
513 unregisterServiceImpl(IInterface service, int userid) argument
551 public int userid; field in class:ManagedServices.ManagedServiceInfo
556 ManagedServiceInfo(IInterface service, ComponentName component, int userid, boolean isSystem, ServiceConnection connection, int targetSdkVersion) argument
[all...]
/frameworks/native/cmds/dumpstate/
H A Dutils.c69 int userid; local
70 if (de->d_type != DT_DIR || !(userid = atoi(de->d_name))) {
73 func(userid);
203 void do_dump_settings(int userid) { argument
207 sprintf(title, "SYSTEM SETTINGS (user %d)", userid);
208 if (userid == 0) {
212 sprintf(dbpath, "/data/system/users/%d/settings.db", userid);
/frameworks/native/cmds/installd/
H A Dutils.c56 * a certain userid. Returns 0 on success, and -1 on failure.
61 userid_t userid)
65 if (userid == 0) {
70 userid_len = snprintf(NULL, 0, "%d", userid);
86 if (userid != 0) {
87 int ret = snprintf(dst, dst_size, "%d/", userid);
102 * Create the path name for user data for a certain userid.
106 userid_t userid)
110 if (userid == 0) {
115 userid_len = snprintf(NULL, 0, "%d/", userid);
58 create_pkg_path(char path[PKG_PATH_MAX], const char *pkgname, const char *postfix, userid_t userid) argument
105 create_user_path(char path[PKG_PATH_MAX], userid_t userid) argument
145 create_user_media_path(char path[PATH_MAX], userid_t userid) argument
156 create_user_config_path(char path[PATH_MAX], userid_t userid) argument
163 create_move_path(char path[PKG_PATH_MAX], const char* pkgname, const char* leaf, userid_t userid) argument
1102 ensure_media_user_dirs(userid_t userid) argument
1115 ensure_config_user_dirs(userid_t userid) argument
[all...]
H A Dcommands.c113 int uninstall(const char *pkgname, userid_t userid) argument
117 if (create_pkg_path(pkgdir, pkgname, PKG_DIR_POSTFIX, userid))
180 int delete_user_data(const char *pkgname, userid_t userid) argument
184 if (create_pkg_path(pkgdir, pkgname, PKG_DIR_POSTFIX, userid))
190 int make_user_data(const char *pkgname, uid_t uid, userid_t userid, const char* seinfo) argument
198 if (create_pkg_path(pkgdir, pkgname, PKG_DIR_POSTFIX, userid)) {
201 if (create_pkg_path(libsymlink, pkgname, PKG_LIB_POSTFIX, userid)) {
268 int make_user_config(userid_t userid) argument
270 if (ensure_config_user_dirs(userid) == -1) {
277 int delete_user(userid_t userid) argument
302 delete_cache(const char *pkgname, userid_t userid) argument
313 delete_code_cache(const char *pkgname, userid_t userid) argument
468 get_size(const char *pkgname, userid_t userid, const char *apkpath, const char *libdirpath, const char *fwdlock_apkpath, const char *asecpath, const char *instruction_set, int64_t *_codesize, int64_t *_datasize, int64_t *_cachesize, int64_t* _asecsize) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DLockPatternUtils.java1585 public boolean hasWidgetsEnabledInKeyguard(int userid) { argument
1586 int widgets[] = getAppWidgets(userid);
/frameworks/base/core/java/android/app/
H A DActivityManager.java2575 * @param userid the user's id. Zero indicates the default user
2578 public boolean switchUser(int userid) { argument
2580 return ActivityManagerNative.getDefault().switchUser(userid);
2592 * @param userid the user's id. Zero indicates the default user.
2595 public boolean isUserRunning(int userid) { argument
2597 return ActivityManagerNative.getDefault().isUserRunning(userid, false);
H A DActivityManagerNative.java1830 int userid = data.readInt();
1831 boolean result = switchUser(userid);
1839 int userid = data.readInt();
1840 boolean result = startUserInBackground(userid);
1848 int userid = data.readInt();
1851 int result = stopUser(userid, callback);
1867 int userid = data.readInt();
1869 boolean result = isUserRunning(userid, orStopping);
4703 public boolean switchUser(int userid) throws RemoteException { argument
4707 data.writeInt(userid);
4716 startUserInBackground(int userid) argument
4729 stopUser(int userid, IStopUserCallback callback) argument
4755 isUserRunning(int userid, boolean orStopping) argument
[all...]
H A DIActivityManager.java369 public boolean switchUser(int userid) throws RemoteException; argument
370 public boolean startUserInBackground(int userid) throws RemoteException; argument
371 public int stopUser(int userid, IStopUserCallback callback) throws RemoteException; argument
373 public boolean isUserRunning(int userid, boolean orStopping) throws RemoteException; argument

Completed in 349 milliseconds