/frameworks/native/cmds/installd/ |
D | commands.h | 31 int create_app_data(const char *uuid, const char *pkgname, userid_t userid, int flags, 33 int restorecon_app_data(const char* uuid, const char* pkgName, userid_t userid, int flags, 35 int migrate_app_data(const char *uuid, const char *pkgname, userid_t userid, int flags); 36 int clear_app_data(const char *uuid, const char *pkgname, userid_t userid, int flags, 38 int destroy_app_data(const char *uuid, const char *pkgname, userid_t userid, int flags, 44 int get_app_size(const char *uuid, const char *pkgname, int userid, int flags, ino_t ce_data_inode, 47 int get_app_data_inode(const char *uuid, const char *pkgname, int userid, int flags, ino_t *inode); 49 int create_user_data(const char *uuid, userid_t userid, int user_serial, int flags); 50 int destroy_user_data(const char *uuid, userid_t userid, int flags);
|
D | utils.h | 68 userid_t userid); 76 std::string create_data_user_ce_path(const char* volume_uuid, userid_t userid); 77 std::string create_data_user_de_path(const char* volume_uuid, userid_t userid); 86 std::string create_data_media_path(const char* volume_uuid, userid_t userid); 88 std::string create_data_misc_legacy_path(userid_t userid); 90 std::string create_data_user_profiles_path(userid_t userid); 96 int create_user_config_path(char path[PKG_PATH_MAX], userid_t userid); 101 userid_t userid); 143 int ensure_config_user_dirs(userid_t userid);
|
D | commands.cpp | 79 int create_app_data(const char *uuid, const char *pkgname, userid_t userid, int flags, in create_app_data() argument 81 uid_t uid = multiuser_get_uid(userid, appid); in create_app_data() 84 auto path = create_data_user_ce_package_path(uuid, userid, pkgname); in create_app_data() 95 auto path = create_data_user_de_package_path(uuid, userid, pkgname); in create_app_data() 108 const std::string profile_path = create_data_user_profile_package_path(userid, pkgname); in create_app_data() 134 int migrate_app_data(const char *uuid, const char *pkgname, userid_t userid, int flags) { in migrate_app_data() argument 140 auto ce_path = create_data_user_ce_package_path(uuid, userid, pkgname); in migrate_app_data() 141 auto de_path = create_data_user_de_package_path(uuid, userid, pkgname); in migrate_app_data() 244 int clear_app_data(const char *uuid, const char *pkgname, userid_t userid, int flags, in clear_app_data() argument 258 auto path = create_data_user_ce_package_path(uuid, userid, pkgname, ce_data_inode) + suffix; in clear_app_data() [all …]
|
D | utils.cpp | 132 const char *postfix, userid_t userid) { in create_pkg_path() argument 138 std::string _tmp(create_data_user_ce_package_path(nullptr, userid, pkgname) + postfix); in create_pkg_path() 168 std::string create_data_user_ce_path(const char* volume_uuid, userid_t userid) { in create_data_user_ce_path() argument 171 if (userid == 0) { in create_data_user_ce_path() 174 return StringPrintf("%s/user/%u", data.c_str(), userid); in create_data_user_ce_path() 177 return StringPrintf("%s/user/%u", data.c_str(), userid); in create_data_user_ce_path() 184 std::string create_data_user_de_path(const char* volume_uuid, userid_t userid) { in create_data_user_de_path() argument 186 return StringPrintf("%s/user_de/%u", data.c_str(), userid); in create_data_user_de_path() 192 std::string create_data_media_path(const char* volume_uuid, userid_t userid) { in create_data_media_path() argument 193 return StringPrintf("%s/media/%u", create_data_path(volume_uuid).c_str(), userid); in create_data_media_path() [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ManagedServices.java | 156 ComponentName component, int userid, boolean isSystem, ServiceConnection connection, in newServiceInfo() argument 158 return new ManagedServiceInfo(service, component, userid, isSystem, connection, in newServiceInfo() 178 + " (user " + info.userid + "): " + info.service in dump() 200 public void settingRestored(String element, String oldValue, String newValue, int userid) { in settingRestored() argument 209 userid); in settingRestored() local 210 updateSettingsAccordingToInstalledServices(element, userid); in settingRestored() 285 public void unregisterService(IInterface service, int userid) { in unregisterService() argument 289 unregisterServiceImpl(service, userid); in unregisterService() 292 public void registerService(IInterface service, ComponentName component, int userid) { in registerService() argument 294 ManagedServiceInfo info = registerServiceImpl(service, component, userid); in registerService() [all …]
|
D | NotificationManagerService.java | 1571 final ComponentName component, final int userid) { 1573 mListeners.registerService(listener, component, userid); 1580 public void unregisterListener(INotificationListener token, int userid) { 1581 mListeners.unregisterService(token, userid); 1605 if (userId != info.userid && userId != UserHandle.USER_ALL && 1615 cancelAllLocked(callingUid, callingPid, info.userid, 1668 if (userId != info.userid && userId != UserHandle.USER_ALL && 1719 pkg, tag, id, info.userid); 3809 mListeners.unregisterService(removed.service, removed.userid); in onServiceRemovedLocked() 3858 unregisterService(info.service, info.userid); in onUserSwitched()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | Installer.java | 78 public void createAppData(String uuid, String pkgname, int userid, int flags, int appid, in createAppData() argument 80 mInstaller.execute("create_app_data", uuid, pkgname, userid, flags, appid, seinfo, in createAppData() 84 public void restoreconAppData(String uuid, String pkgname, int userid, int flags, int appid, in restoreconAppData() argument 86 mInstaller.execute("restorecon_app_data", uuid, pkgname, userid, flags, appid, in restoreconAppData() 90 public void migrateAppData(String uuid, String pkgname, int userid, int flags) in migrateAppData() argument 92 mInstaller.execute("migrate_app_data", uuid, pkgname, userid, flags); in migrateAppData() 95 public void clearAppData(String uuid, String pkgname, int userid, int flags, long ceDataInode) in clearAppData() argument 97 mInstaller.execute("clear_app_data", uuid, pkgname, userid, flags, ceDataInode); in clearAppData() 100 public void destroyAppData(String uuid, String pkgname, int userid, int flags, long ceDataInode) in destroyAppData() argument 102 mInstaller.execute("destroy_app_data", uuid, pkgname, userid, flags, ceDataInode); in destroyAppData() [all …]
|
/frameworks/base/core/java/android/app/ |
D | INotificationManager.aidl | 65 … void registerListener(in INotificationListener listener, in ComponentName component, int userid); in registerListener() argument 66 void unregisterListener(in INotificationListener listener, int userid); in unregisterListener() argument
|
D | IActivityManager.java | 463 public boolean switchUser(int userid) throws RemoteException; in switchUser() argument 464 public boolean startUserInBackground(int userid) throws RemoteException; in startUserInBackground() argument 465 public boolean unlockUser(int userid, byte[] token, byte[] secret, IProgressListener listener) in unlockUser() argument 467 … public int stopUser(int userid, boolean force, IStopUserCallback callback) throws RemoteException; in stopUser() argument 469 public boolean isUserRunning(int userid, int flags) throws RemoteException; in isUserRunning() argument
|
D | ActivityManagerNative.java | 2111 int userid = data.readInt(); in onTransact() local 2112 boolean result = switchUser(userid); in onTransact() 2120 int userid = data.readInt(); in onTransact() local 2121 boolean result = startUserInBackground(userid); in onTransact() 2142 int userid = data.readInt(); in onTransact() local 2146 int result = stopUser(userid, force, callback); in onTransact() 2162 int userid = data.readInt(); in onTransact() local 2164 boolean result = isUserRunning(userid, _flags); in onTransact() 5731 public boolean switchUser(int userid) throws RemoteException { in switchUser() argument 5735 data.writeInt(userid); in switchUser() [all …]
|
D | ActivityManager.java | 3414 public boolean switchUser(int userid) { in switchUser() argument 3416 return ActivityManagerNative.getDefault().switchUser(userid); in switchUser()
|
/frameworks/base/services/core/java/com/android/server/ |
D | EventLogTags.logtags | 58 2750 notification_enqueue (uid|1|5),(pid|1|5),(pkg|3),(id|1|5),(tag|3),(userid|1|5),(notification|3… 61 2751 notification_cancel (uid|1|5),(pid|1|5),(pkg|3),(id|1|5),(tag|3),(userid|1|5),(required_flags|… 63 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/telecom/ |
D | TelecomLoaderService.java | 84 final int userid = mDefaultSmsAppRequests.get(i); in onServiceConnected() local 87 smsComponent.getPackageName(), userid); in onServiceConnected() local
|
/frameworks/native/cmds/dumpstate/ |
D | utils.cpp | 112 int userid; in for_each_userid() local 113 if (de->d_type != DT_DIR || !(userid = atoi(de->d_name))) { in for_each_userid() 116 func(userid); in for_each_userid()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationData.java | 469 public boolean shouldHideNotifications(int userid); in shouldHideNotifications() argument
|
D | BaseStatusBar.java | 1482 public boolean shouldHideNotifications(int userid) { 1483 return isLockscreenPublicMode() && !userAllowsNotificationsInPublic(userid);
|
/frameworks/base/docs/html/guide/topics/security/ |
D | permissions.jd | 12 <li><a href="#userid">User IDs and File Access</a></li> 124 <a name="userid"></a>
|