HomeSort by relevance Sort by last modified time
    Searched refs:UserManager (Results 26 - 50 of 111) sorted by null

12 3 4 5

  /packages/apps/Settings/src/com/android/settings/net/
UidDetailProvider.java 29 import android.os.UserManager;
104 detail.label = res.getString(UserManager.supportsMultipleUsers()
120 final UserManager um = (UserManager) mContext.getSystemService(Context.USER_SERVICE);
  /frameworks/base/core/java/android/os/
UserManager.java 33 public class UserManager {
35 private static String TAG = "UserManager";
143 private static UserManager sInstance = null;
146 public synchronized static UserManager get(Context context) {
148 sInstance = (UserManager) context.getSystemService(Context.USER_SERVICE);
154 public UserManager(Context context, IUserManager service) {
  /external/chromium/chrome/browser/chromeos/login/
google_authenticator.h 35 class UserManager;
81 void set_user_manager(UserManager* new_manager) {
177 UserManager* user_manager_;
screen_locker_browsertest.cc 118 UserManager::Get()->OffTheRecordUserLoggedIn();
141 UserManager::Get()->UserLoggedIn(user);
190 UserManager::Get()->UserLoggedIn("user");
239 UserManager::Get()->UserLoggedIn("user");
existing_user_controller.cc 119 UserManager::User* user = Details<UserManager::User>(details).ptr();
251 UserManager::Get()->IsKnownUser(last_login_attempt_username_);
309 bool known_user = UserManager::Get()->IsKnownUser(username);
448 if (chromeos::UserManager::Get()->IsLoggedInAsGuest())
user_image_downloader.cc 88 chromeos::UserManager* user_manager = chromeos::UserManager::Get();
screen_lock_view.cc 144 UserManager::User user = screen_locker_->user();
246 UserManager::User* user = Details<UserManager::User>(details).ptr();
views_login_display.cc 84 void ViewsLoginDisplay::Init(const std::vector<UserManager::User>& users,
137 void ViewsLoginDisplay::OnUserImageChanged(UserManager::User* user) {
285 UserManager::Get()->RemoveUser(source->user().email(), this);
base_login_display_host.cc 121 std::vector<chromeos::UserManager::User> users =
122 chromeos::UserManager::Get()->GetUsers();
user_image_view.cc 96 UserManager* user_manager = UserManager::Get();
  /external/chromium/chrome/browser/ui/webui/options/chromeos/
change_picture_options_handler.cc 148 UserManager* user_manager = UserManager::Get();
158 UserManager::Get()->LoadLoggedInUserImage(path);
  /developers/samples/android/content/multiuser/AppRestrictions/AppRestrictions/src/main/java/com/example/android/apprestrictions/
MainActivity.java 23 import android.os.UserManager;
83 ((UserManager) getSystemService(Context.USER_SERVICE))
CustomRestrictionsFragment.java 24 import android.os.UserManager;
104 ((UserManager) activity.getSystemService(Context.USER_SERVICE))
  /packages/apps/Settings/src/com/android/settings/users/
UserPreference.java 24 import android.os.UserManager;
94 mSerialNumber = ((UserManager) getContext().getSystemService(Context.USER_SERVICE))
UserSettings.java 43 import android.os.UserManager;
135 private UserManager mUserManager;
185 mUserManager = (UserManager) getActivity().getSystemService(Context.USER_SERVICE);
197 if (!mIsOwner || UserManager.getMaxSupportedUsers() < 2) {
231 UserManager um = (UserManager) getActivity().getSystemService(Context.USER_SERVICE);
232 if (!mIsOwner && !um.hasUserRestriction(UserManager.DISALLOW_REMOVE_USER)) {
345 mUserManager.setUserRestriction(UserManager.DISALLOW_MODIFY_ACCOUNTS, true, user);
346 mUserManager.setUserRestriction(UserManager.DISALLOW_SHARE_LOCATION, true, user);
562 ((UserManager) getActivity().getSystemService(Context.USER_SERVICE)
    [all...]
  /frameworks/base/services/java/com/android/server/pm/
UserManagerService.java 43 import android.os.UserManager;
394 return nUsers >= UserManager.getMaxSupportedUsers();
400 * permission can make certain calls to the UserManager.
621 writeBoolean(serializer, restrictions, UserManager.DISALLOW_CONFIG_WIFI);
622 writeBoolean(serializer, restrictions, UserManager.DISALLOW_MODIFY_ACCOUNTS);
623 writeBoolean(serializer, restrictions, UserManager.DISALLOW_INSTALL_APPS);
624 writeBoolean(serializer, restrictions, UserManager.DISALLOW_UNINSTALL_APPS);
625 writeBoolean(serializer, restrictions, UserManager.DISALLOW_SHARE_LOCATION);
627 UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES);
628 writeBoolean(serializer, restrictions, UserManager.DISALLOW_CONFIG_BLUETOOTH)
    [all...]
  /external/chromium/chrome/browser/chromeos/
choose_mobile_network_dialog.cc 42 if (UserManager::Get()->user_is_logged_in()) {
sim_dialog_delegate.cc 61 if (UserManager::Get()->user_is_logged_in()) {
  /frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
SettingsHelper.java 29 import android.os.UserManager;
100 UserManager um = (UserManager) mContext.getSystemService(Context.USER_SERVICE);
101 if (um.hasUserRestriction(UserManager.DISALLOW_SHARE_LOCATION)) {
  /packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothDevicePreference.java 19 import static android.os.UserManager.DISALLOW_CONFIG_BLUETOOTH;
27 import android.os.UserManager;
69 UserManager um = (UserManager) context.getSystemService(Context.USER_SERVICE);
BluetoothSettings.java 19 import static android.os.UserManager.DISALLOW_CONFIG_BLUETOOTH;
30 import android.os.UserManager;
77 private UserManager mUserManager;
105 mUserManager = (UserManager) getSystemService(Context.USER_SERVICE);
  /packages/apps/Settings/src/com/android/settings/
SecuritySettings.java 33 import android.os.UserManager;
133 UserManager mUm = (UserManager) getSystemService(Context.USER_SERVICE);
173 if (UserManager.get(getActivity()).isLinkedUser()) {
244 final UserManager um = (UserManager) getActivity().getSystemService(Context.USER_SERVICE);
245 if (!um.hasUserRestriction(UserManager.DISALLOW_CONFIG_CREDENTIALS)) {
323 final UserManager um = (UserManager) getActivity().getSystemService(Context.USER_SERVICE);
324 if (um.hasUserRestriction(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES))
    [all...]
  /frameworks/base/core/tests/coretests/src/android/provider/
SettingsProviderTest.java 30 import android.os.UserManager;
136 UserManager um = (UserManager) getContext().getSystemService(Context.USER_SERVICE);
240 private boolean findUser(UserManager um, int userHandle) {
251 UserManager um = (UserManager) getContext().getSystemService(Context.USER_SERVICE);
  /frameworks/base/policy/src/com/android/internal/policy/impl/
EnableAccessibilityController.java 32 import android.os.UserManager;
86 private final UserManager mUserManager;
102 mUserManager = (UserManager) mContext.getSystemService(Context.USER_SERVICE);
  /packages/apps/Settings/src/com/android/settings/deviceinfo/
Memory.java 36 import android.os.UserManager;
178 UserManager um = (UserManager)getActivity().getSystemService(Context.USER_SERVICE);
180 && !um.hasUserRestriction(UserManager.DISALLOW_USB_FILE_TRANSFER);

Completed in 2240 milliseconds

12 3 4 5