HomeSort by relevance Sort by last modified time
    Searched full:usermanager (Results 1 - 25 of 259) sorted by null

1 2 3 4 5 6 7 8 91011

  /external/chromium_org/chrome/browser/chromeos/login/
user_manager.cc 13 const char UserManager::kStubUser[] = "stub-user@example.com";
17 const char UserManager::kGuestUserName[] = "$guest";
20 const char UserManager::kLocallyManagedUserDomain[] =
25 const char UserManager::kRetailModeUserName[] = "demouser@";
26 static UserManager* g_user_manager = NULL;
28 UserManager::Observer::~Observer() {
31 void UserManager::Observer::LocalStateChanged(UserManager* user_manager) {
34 void UserManager::Observer::MergeSessionStateChanged(MergeSessionState state) {
37 void UserManager::UserSessionStateObserver::ActiveUserChanged
    [all...]
user_adding_screen_browsertest.cc 69 EXPECT_EQ(UserManager::Get()->GetUsers().size(), 3u);
70 EXPECT_EQ(UserManager::Get()->GetLoggedInUsers().size(), 0u);
73 EXPECT_EQ(UserManager::Get()->GetLoggedInUsers().size(), 1u);
84 EXPECT_EQ(UserManager::Get()->GetLoggedInUsers().size(), 1u);
85 EXPECT_EQ(UserManager::Get()->GetActiveUser()->email(), kTestUsers[0]);
105 EXPECT_EQ(UserManager::Get()->GetLoggedInUsers().size(), unsigned(i + 1));
crash_restore_browsertest.cc 62 UserManager* user_manager = UserManager::Get();
73 public UserManager::UserSessionStateObserver {
77 user_sessions_restored_(UserManager::Get()->UserSessionsRestored()) {
79 UserManager::Get()->AddSessionStateObserver(this);
85 UserManager::Get()->RemoveSessionStateObserver(this);
131 UserManager* user_manager = UserManager::Get();
user_manager_unittest.cc 48 UserManager::RegisterPrefs(local_state_->registry());
73 return static_cast<UserManagerImpl*>(UserManager::Get());
97 // Reset the UserManager singleton.
99 // Initialize the UserManager singleton to a fresh UserManagerImpl instance.
148 UserManager::Get()->UserLoggedIn(
151 UserManager::Get()->UserLoggedIn(
154 UserManager::Get()->UserLoggedIn(
158 const UserList* users = &UserManager::Get()->GetUsers();
167 users = &UserManager::Get()->GetUsers();
176 UserManager::Get()->UserLoggedIn
    [all...]
wallpaper_manager_unittest.cc 57 UserManager::RegisterPrefs(local_state_->registry());
80 // Reset the UserManager singleton.
82 // Initialize the UserManager singleton to a fresh UserManagerImpl instance.
110 UserManager::Get()->UserLoggedIn(kTestUser1, kTestUser1, false);
133 UserManager::Get()->UserLoggedIn(UserManager::kGuestUserName,
134 UserManager::kGuestUserName, false);
user_image_manager_browsertest.cc 39 public UserManager::Observer {
46 UserManager::Get()->AddObserver(this);
47 user_image_manager_ = UserManager::Get()->GetUserImageManager();
68 // UserManager::Observer overrides:
69 virtual void LocalStateChanged(UserManager* user_manager) OVERRIDE {
81 UserManager::Get()->UserLoggedIn(username, username, false);
191 UserManager::Get()->GetUsers(); // Load users.
210 UserManager::Get()->GetUsers(); // Load users.
232 UserManager::Get()->GetUsers(); // Load users.
236 const User* user = UserManager::Get()->FindUser(kTestUser1)
    [all...]
merge_session_load_page.cc 60 UserManager::Get()->AddObserver(this);
66 UserManager::Get()->RemoveObserver(this);
135 UserManager::MergeSessionState state) {
138 << (state != UserManager:: MERGE_STATUS_IN_PROCESS ?
142 if (state != UserManager:: MERGE_STATUS_IN_PROCESS) {
143 UserManager::Get()->RemoveObserver(this);
merge_session_load_page_unittest.cc 91 UserManager::Get()->SetMergeSessionState(
92 UserManager::MERGE_STATUS_DONE);
106 UserManager::Get()->SetMergeSessionState(
107 UserManager::MERGE_STATUS_IN_PROCESS);
122 UserManager::Get()->SetMergeSessionState(
123 UserManager::MERGE_STATUS_DONE);
merge_session_load_page.h 37 public UserManager::Observer {
65 // UserManager::Observer overrides.
67 UserManager::MergeSessionState state) OVERRIDE;
remove_user_delegate.h 10 // Delegate to be used with |UserManager::RemoveUser|.
  /external/chromium_org/chrome/browser/ui/webui/chromeos/
ui_account_tweaks.cc 24 UserManager::Get()->GetUserDisplayEmail(owner_email);
28 UserManager::Get()->IsCurrentUserOwner());
31 UserManager::Get()->IsLoggedInAsGuest());
34 UserManager::Get()->IsLoggedInAsLocallyManagedUser());
  /packages/apps/Settings/src/com/android/settings/users/
RestrictionUtils.java 24 import android.os.UserManager;
34 // UserManager.DISALLOW_CONFIG_WIFI,
35 // UserManager.DISALLOW_CONFIG_BLUETOOTH,
36 UserManager.DISALLOW_SHARE_LOCATION,
37 // UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES
62 UserManager um = UserManager.get(context);
80 UserManager um = UserManager.get(context);
85 if (entry.getKey().equals(UserManager.DISALLOW_SHARE_LOCATION
    [all...]
ProfileUpdateReceiver.java 24 import android.os.UserManager;
55 UserManager um = (UserManager) context.getSystemService(Context.USER_SERVICE);
  /external/chromium_org/chrome/browser/ui/ash/
session_state_delegate_chromeos.cc 19 chromeos::UserManager::Get()->AddSessionStateObserver(this);
30 return chromeos::UserManager::Get()->GetLoggedInUsers().size();
34 return chromeos::UserManager::Get()->IsSessionStarted();
38 return chromeos::UserManager::Get()->CanCurrentUserLock();
71 return chromeos::UserManager::Get()->
78 return chromeos::UserManager::Get()->
85 return chromeos::UserManager::Get()->GetLRULoggedInUsers()[index]->image();
90 chromeos::UserManager::Get()->GetLoggedInUsers();
100 chromeos::UserManager::Get()->SwitchActiveUser(user_id);
  /frameworks/base/docs/html/sdk/api_diff/18/changes/
android.os.UserManager.html 10 android.os.UserManager
74 Class android.os.<A HREF="../../../../reference/android/os/UserManager.html" target="_top"><font size="+2"><code>UserManager</code></font></A>
86 <A NAME="android.os.UserManager.getApplicationRestrictions_added(java.lang.String)"></A>
87 <nobr><code>Bundle</code>&nbsp;<A HREF="../../../../reference/android/os/UserManager.html#getApplicationRestrictions(java.lang.String)" target="_top"><code>getApplicationRestrictions</code></A>(<code>String</code>)</nobr>
93 <A NAME="android.os.UserManager.getUserRestrictions_added()"></A>
94 <nobr><code>Bundle</code>&nbsp;<A HREF="../../../../reference/android/os/UserManager.html#getUserRestrictions()" target="_top"><code>getUserRestrictions</code></A>()</nobr>
100 <A NAME="android.os.UserManager.getUserRestrictions_added(android.os.UserHandle)"></A>
101 <nobr><code>Bundle</code>&nbsp;<A HREF="../../../../reference/android/os/UserManager.html#getUserRestrictions(android.os.UserHandle)" target="_top"><code>getUserRestrictions</code></A>(<code>UserHandle</code>)</nobr>
107 <A NAME="android.os.UserManager.setUserRestriction_added(java.lang.String, boolean)"></A
    [all...]
  /external/chromium/chrome/browser/chromeos/login/
user_image_screen.cc 44 UserManager* user_manager = UserManager::Get();
85 UserManager* user_manager = UserManager::Get();
88 const UserManager::User& user = user_manager->logged_in_user();
100 UserManager* user_manager = UserManager::Get();
103 const UserManager::User& user = user_manager->logged_in_user();
user_manager.cc 53 base::LazyInstance<UserManager> g_user_manager(base::LINKER_INITIALIZED);
124 // UserManager should be accessed only on UI thread.
165 chromeos::UserManager::Get()->RemoveUserFromList(user_email_);
200 UserManager::User::User() {
205 UserManager::User::~User() {}
207 std::string UserManager::User::GetDisplayName() const {
215 std::string UserManager::User::GetNameTooltip() const {
231 UserManager* UserManager::Get() {
238 void UserManager::RegisterPrefs(PrefService* local_state)
    [all...]
user_manager.h 33 class UserManager : public UserImageLoader::Delegate,
62 // Gets a shared instance of a UserManager. Not thread-safe...should
64 static UserManager* Get();
140 UserManager();
141 virtual ~UserManager();
178 friend struct base::DefaultLazyInstanceTraits<UserManager>;
180 DISALLOW_COPY_AND_ASSIGN(UserManager);
183 typedef std::vector<UserManager::User> UserVector;
  /external/chromium_org/chrome/browser/ui/views/
chrome_views_delegate_chromeos.cc 15 if (chromeos::UserManager::IsInitialized() &&
16 !chromeos::UserManager::Get()->IsUserLoggedIn() &&
  /external/chromium_org/chrome/browser/chromeos/accessibility/
accessibility_manager_browsertest.cc 35 // with UserManager::kLocallyManagedUserDomain.
182 UserManager::Get()->UserLoggedIn(kTestUserName, kTestUserName, true);
189 UserManager::Get()->SessionStarted();
214 UserManager::Get()->UserLoggedIn(kTestUserName, kTestUserName, true);
215 UserManager::Get()->SessionStarted();
249 UserManager::Get()->UserLoggedIn(kTestUserName, kTestUserName, true);
264 UserManager::Get()->SessionStarted();
277 UserManager::Get()->UserLoggedIn(kTestUserName, kTestUserName, true);
278 UserManager::Get()->SessionStarted();
320 UserManager::Get()->UserLoggedIn(kTestUserName, kTestUserName, true)
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/pm/
UserManagerTest.java 26 import android.os.UserManager;
32 /** Test {@link UserManager} functionality. */
35 UserManager mUserManager = null;
40 mUserManager = (UserManager) getContext().getSystemService(Context.USER_SERVICE);
70 restrictions.getBoolean(UserManager.DISALLOW_CONFIG_WIFI));
124 int N = UserManager.getMaxSupportedUsers();
150 restrictions.putBoolean(UserManager.DISALLOW_INSTALL_APPS, true);
151 restrictions.putBoolean(UserManager.DISALLOW_CONFIG_WIFI, false);
154 assertEquals(stored.getBoolean(UserManager.DISALLOW_CONFIG_WIFI), false);
155 assertEquals(stored.getBoolean(UserManager.DISALLOW_UNINSTALL_APPS), false)
    [all...]
  /external/chromium_org/chrome/browser/chromeos/profiles/
profile_helper.cc 39 // Checking whether UserManager is initialized covers case
41 if (UserManager::IsInitialized()) {
42 UserManager::Get()->RemoveObserver(this);
43 UserManager::Get()->RemoveSessionStateObserver(this);
124 UserManager::Get()->AddObserver(this);
125 UserManager::Get()->AddSessionStateObserver(this);
159 // ProfileHelper, UserManager::Observer implementation:
162 UserManager::MergeSessionState state) {
163 if (state == UserManager:: MERGE_STATUS_DONE)
168 // ProfileHelper, UserManager::UserSessionStateObserver implementation
    [all...]
profile_helper.h 33 public UserManager::Observer,
34 public UserManager::UserSessionStateObserver {
65 // Should called once after UserManager instance has been created.
82 // UserManager::Observer overrides.
84 UserManager::MergeSessionState state) OVERRIDE;
86 // UserManager::UserSessionStateObserver implementation:
  /packages/apps/Settings/src/com/android/settings/deviceinfo/
UsbSettings.java 25 import android.os.UserManager;
72 UserManager um = (UserManager) getActivity().getSystemService(Context.USER_SERVICE);
73 if (um.hasUserRestriction(UserManager.DISALLOW_USB_FILE_TRANSFER)) {
117 UserManager um = (UserManager) getActivity().getSystemService(Context.USER_SERVICE);
118 if (um.hasUserRestriction(UserManager.DISALLOW_USB_FILE_TRANSFER)) {
144 UserManager um = (UserManager) getActivity().getSystemService(Context.USER_SERVICE);
145 if (um.hasUserRestriction(UserManager.DISALLOW_USB_FILE_TRANSFER))
    [all...]
  /packages/apps/Settings/src/com/android/settings/bluetooth/
DevicePickerFragment.java 19 import static android.os.UserManager.DISALLOW_CONFIG_BLUETOOTH;
27 import android.os.UserManager;
62 UserManager um = (UserManager) getSystemService(Context.USER_SERVICE);

Completed in 6055 milliseconds

1 2 3 4 5 6 7 8 91011