/external/chromium/chrome/browser/chromeos/cros/ |
D | cros_library.cc | 25 class_prefix##Library* CrosLibrary::Get##class_prefix##Library() { \ 30 void CrosLibrary::TestApi::Set##class_prefix##Library( \ 38 static base::LazyInstance<CrosLibrary> g_cros_library( 41 CrosLibrary::CrosLibrary() : library_loader_(NULL), in CrosLibrary() function in chromeos::CrosLibrary 49 CrosLibrary::~CrosLibrary() { in ~CrosLibrary() 55 CrosLibrary* CrosLibrary::Get() { in Get() 74 bool CrosLibrary::EnsureLoaded() { in EnsureLoaded() 89 CrosLibrary::TestApi* CrosLibrary::GetTestApi() { in GetTestApi() 95 void CrosLibrary::TestApi::SetUseStubImpl() { in SetUseStubImpl() 99 void CrosLibrary::TestApi::ResetUseStubImpl() { in ResetUseStubImpl() [all …]
|
D | cros_library.h | 40 class CrosLibrary { 75 friend class CrosLibrary; 76 explicit TestApi(CrosLibrary* library) : library_(library) {} in TestApi() 77 CrosLibrary* library_; 81 static CrosLibrary* Get(); 111 friend struct base::DefaultLazyInstanceTraits<chromeos::CrosLibrary>; 112 friend class CrosLibrary::TestApi; 114 CrosLibrary(); 115 virtual ~CrosLibrary(); 183 DISALLOW_COPY_AND_ASSIGN(CrosLibrary); [all …]
|
D | update_library.cc | 20 if (CrosLibrary::Get()->EnsureLoaded()) { in UpdateLibraryImpl() 44 if (CrosLibrary::Get()->EnsureLoaded()) in RequestUpdateCheck() 49 if (!CrosLibrary::Get()->EnsureLoaded()) in RebootAfterUpdate() 56 if (CrosLibrary::Get()->EnsureLoaded()) in SetReleaseTrack() 62 if (CrosLibrary::Get()->EnsureLoaded()) in GetReleaseTrack()
|
D | power_library.cc | 21 if (CrosLibrary::Get()->EnsureLoaded()) { in PowerLibraryImpl() 70 if (!CrosLibrary::Get()->EnsureLoaded()) in EnableScreenLock() 86 if (!CrosLibrary::Get()->EnsureLoaded()) in RequestRestart() 92 if (!CrosLibrary::Get()->EnsureLoaded()) in RequestShutdown()
|
D | touchpad_library.cc | 19 if (CrosLibrary::Get()->EnsureLoaded()) { in SetSensitivity() 27 if (CrosLibrary::Get()->EnsureLoaded()) { in SetTapToClick()
|
/external/chromium/chrome/browser/chromeos/status/ |
D | input_method_menu.cc | 125 : input_method_descriptors_(CrosLibrary::Get()->GetInputMethodLibrary()-> in InputMethodMenu() 147 InputMethodLibrary* library = CrosLibrary::Get()->GetInputMethodLibrary(); in InputMethodMenu() 161 CrosLibrary::Get()->GetInputMethodLibrary()->RemoveObserver(this); in ~InputMethodMenu() 189 return input_method == CrosLibrary::Get()->GetInputMethodLibrary()-> in IsItemCheckedAt() 195 = CrosLibrary::Get()->GetInputMethodLibrary()->current_ime_properties(); in IsItemCheckedAt() 213 = CrosLibrary::Get()->GetInputMethodLibrary()->current_ime_properties(); in GetGroupIdAt() 280 = CrosLibrary::Get()->GetInputMethodLibrary()->current_ime_properties(); in GetTypeAt() 304 InputMethodLibrary* library = CrosLibrary::Get()->GetInputMethodLibrary(); in GetLabelAt() 327 CrosLibrary::Get()->GetInputMethodLibrary()->ChangeInputMethod( in ActivatedAt() 337 = CrosLibrary::Get()->GetInputMethodLibrary()->current_ime_properties(); in ActivatedAt() [all …]
|
D | network_dropdown_button.cc | 38 CrosLibrary::Get()->GetNetworkLibrary()->AddNetworkManagerObserver(this); in NetworkDropdownButton() 44 CrosLibrary::Get()->GetNetworkLibrary()->RemoveNetworkManagerObserver(this); in ~NetworkDropdownButton() 62 OnNetworkManagerChanged(CrosLibrary::Get()->GetNetworkLibrary()); in Refresh() 77 if (CrosLibrary::Get()->EnsureLoaded()) { in OnNetworkManagerChanged()
|
D | power_menu_button.cc | 34 CrosLibrary::Get()->GetPowerLibrary()->AddObserver(this); in PowerMenuButton() 38 CrosLibrary::Get()->GetPowerLibrary()->RemoveObserver(this); in ~PowerMenuButton() 119 PowerLibrary* cros = CrosLibrary::Get()->GetPowerLibrary(); in UpdateIconAndLabelInfo() 123 bool cros_loaded = CrosLibrary::Get()->EnsureLoaded(); in UpdateIconAndLabelInfo()
|
/external/chromium/chrome/browser/extensions/ |
D | extension_tts_api_chromeos.cc | 62 chromeos::CrosLibrary* cros_library = chromeos::CrosLibrary::Get(); in Speak() 116 if (chromeos::CrosLibrary::Get()->EnsureLoaded()) { in StopSpeaking() 117 return chromeos::CrosLibrary::Get()->GetSpeechSynthesisLibrary()-> in StopSpeaking() 126 if (chromeos::CrosLibrary::Get()->EnsureLoaded()) { in IsSpeaking() 127 return chromeos::CrosLibrary::Get()->GetSpeechSynthesisLibrary()-> in IsSpeaking()
|
D | extension_info_private_api_chromeos.cc | 12 using chromeos::CrosLibrary; 54 if (CrosLibrary::Get()->EnsureLoaded()) { in GetValue() 55 NetworkLibrary* netlib = CrosLibrary::Get()->GetNetworkLibrary(); in GetValue()
|
/external/chromium/chrome/browser/automation/ |
D | automation_provider_observers_chromeos.cc | 13 using chromeos::CrosLibrary; 21 CrosLibrary::Get()->GetNetworkLibrary()->RemoveNetworkManagerObserver(this); in ~NetworkManagerInitObserver() 25 if (!CrosLibrary::Get()->EnsureLoaded()) { in Init() 32 CrosLibrary::Get()->GetNetworkLibrary()->AddNetworkManagerObserver(this); in Init() 102 NetworkLibrary* network_library = CrosLibrary::Get()->GetNetworkLibrary(); in NetworkScanObserver() 107 NetworkLibrary* network_library = CrosLibrary::Get()->GetNetworkLibrary(); in ~NetworkScanObserver() 122 NetworkLibrary* network_library = CrosLibrary::Get()->GetNetworkLibrary(); in NetworkConnectObserver() 127 NetworkLibrary* network_library = CrosLibrary::Get()->GetNetworkLibrary(); in ~NetworkConnectObserver()
|
D | testing_automation_provider_chromeos.cc | 19 using chromeos::CrosLibrary; 28 if (!CrosLibrary::Get()->EnsureLoaded()) { in EnsureCrosLibraryLoaded() 103 UpdateLibrary* update_library = CrosLibrary::Get()->GetUpdateLibrary(); in GetReleaseTrackCallback() 186 CrosLibrary::Get()->GetScreenLockLibrary()-> in LockScreen() 196 CrosLibrary::Get()->GetScreenLockLibrary()-> in UnlockScreen() 225 chromeos::PowerLibrary* power_library = CrosLibrary::Get()->GetPowerLibrary(); in GetBatteryInfo() 255 NetworkLibrary* network_library = CrosLibrary::Get()->GetNetworkLibrary(); in GetNetworkInfo() 342 NetworkLibrary* network_library = CrosLibrary::Get()->GetNetworkLibrary(); in NetworkScan() 401 NetworkLibrary* network_library = CrosLibrary::Get()->GetNetworkLibrary(); in ConnectToWifiNetwork() 424 if (!CrosLibrary::Get()->EnsureLoaded()) { in ConnectToHiddenWifiNetwork() [all …]
|
/external/chromium/chrome/browser/chromeos/login/ |
D | network_screen.cc | 73 NetworkLibrary* network = CrosLibrary::Get()->GetNetworkLibrary(); in ButtonPressed() 117 if (CrosLibrary::Get()->EnsureLoaded()) { in Refresh() 119 OnNetworkManagerChanged(chromeos::CrosLibrary::Get()->GetNetworkLibrary()); in Refresh() 129 chromeos::CrosLibrary::Get()->GetNetworkLibrary() in SubscribeNetworkNotification() 137 chromeos::CrosLibrary::Get()->GetNetworkLibrary() in UnsubscribeNetworkNotification() 151 NetworkLibrary* network = CrosLibrary::Get()->GetNetworkLibrary(); in OnConnectionTimeout() 193 NetworkLibrary* network = CrosLibrary::Get()->GetNetworkLibrary(); in StopWaitingForConnection()
|
D | update_screen.cc | 71 CrosLibrary::Get()->GetUpdateLibrary()->RemoveObserver(this); in ~UpdateScreen() 139 CrosLibrary::Get()->GetUpdateLibrary()->RebootAfterUpdate(); in UpdateStatusChanged() 181 if (!CrosLibrary::Get()->EnsureLoaded()) { in StartUpdate() 185 CrosLibrary::Get()->GetUpdateLibrary()->AddObserver(this); in StartUpdate() 187 CrosLibrary::Get()->GetUpdateLibrary()->RequestUpdateCheck( in StartUpdate() 208 if (CrosLibrary::Get()->EnsureLoaded()) in ExitUpdate() 209 CrosLibrary::Get()->GetUpdateLibrary()->RemoveObserver(this); in ExitUpdate() 221 UpdateLibrary* update_library = CrosLibrary::Get()->GetUpdateLibrary(); in ExitUpdate()
|
D | cryptohome_op.cc | 21 CHECK(chromeos::CrosLibrary::Get()->EnsureLoaded()); in CryptohomeOp() 53 CryptohomeLibrary* lib = CrosLibrary::Get()->GetCryptohomeLibrary(); in Initiate() 76 CryptohomeLibrary* lib = CrosLibrary::Get()->GetCryptohomeLibrary(); in Initiate() 100 CryptohomeLibrary* lib = CrosLibrary::Get()->GetCryptohomeLibrary(); in Initiate() 132 CryptohomeLibrary* lib = CrosLibrary::Get()->GetCryptohomeLibrary(); in Initiate() 151 CryptohomeLibrary* lib = CrosLibrary::Get()->GetCryptohomeLibrary(); in Initiate()
|
D | login_utils.cc | 218 if (CrosLibrary::Get()->EnsureLoaded()) { in PrepareProfile() 219 CrosLibrary::Get()->GetLoginLibrary()->StartSession(username, ""); in PrepareProfile() 308 if (CrosLibrary::Get()->EnsureLoaded()) { in OnProfileCreated() 309 CryptohomeLibrary* cryptohome = CrosLibrary::Get()->GetCryptohomeLibrary(); in OnProfileCreated() 400 if (CrosLibrary::Get()->EnsureLoaded()) { in CompleteOffTheRecordLogin() 410 CrosLibrary::Get()->GetLoginLibrary()->RestartJob(getpid(), cmd_line_str); in CompleteOffTheRecordLogin() 476 InputMethodLibrary* library = CrosLibrary::Get()->GetInputMethodLibrary(); in SetFirstLoginPrefs() 531 NetworkLibrary *netlib = CrosLibrary::Get()->GetNetworkLibrary(); in WarmingObserver() 550 if (CrosLibrary::Get()->EnsureLoaded()) { in PrewarmAuthentication() 551 NetworkLibrary *network = CrosLibrary::Get()->GetNetworkLibrary(); in PrewarmAuthentication()
|
D | screen_locker.cc | 89 if (chromeos::CrosLibrary::Get()->EnsureLoaded()) in Observe() 90 chromeos::CrosLibrary::Get()->GetScreenLockLibrary()->AddObserver(this); in Observe() 115 if (chromeos::CrosLibrary::Get()->EnsureLoaded() && in SetupInputMethodsForScreenLocker() 120 chromeos::CrosLibrary::Get()->GetInputMethodLibrary(); in SetupInputMethodsForScreenLocker() 161 if (chromeos::CrosLibrary::Get()->EnsureLoaded() && in RestoreInputMethods() 164 chromeos::CrosLibrary::Get()->GetInputMethodLibrary(); in RestoreInputMethods() 827 CrosLibrary::Get()->GetInputMethodLibrary(); in OnLoginFailure() 859 if (CrosLibrary::Get()->EnsureLoaded()) in OnLoginSuccess() 860 CrosLibrary::Get()->GetScreenLockLibrary()->NotifyScreenUnlockRequested(); in OnLoginSuccess() 939 if (CrosLibrary::Get()->EnsureLoaded()) { in Signout() [all …]
|
D | google_authenticator.cc | 63 CHECK(chromeos::CrosLibrary::Get()->EnsureLoaded()); in GoogleAuthenticator() 165 if (CrosLibrary::Get()->GetCryptohomeLibrary()->MountForBwsi(&mount_error)) { in LoginOffTheRecord() 285 (CrosLibrary::Get()->GetCryptohomeLibrary()->Mount(username_.c_str(), in OnLoginSuccess() 303 if (CrosLibrary::Get()->GetCryptohomeLibrary()->CheckKey( in CheckOffline() 332 if (CrosLibrary::Get()->GetCryptohomeLibrary()->MountForBwsi( in CheckLocalaccount() 364 if (CrosLibrary::Get()->GetCryptohomeLibrary()->MigrateKey(username_, in RecoverEncryptedData() 377 if (CrosLibrary::Get()->GetCryptohomeLibrary()->Remove(username_)) { in ResyncEncryptedData() 395 system_salt_ = CrosLibrary::Get()->GetCryptohomeLibrary()->GetSystemSalt(); in LoadSystemSalt()
|
/external/chromium/chrome/browser/ui/webui/chromeos/ |
D | choose_mobile_network_ui.cc | 134 if (!CrosLibrary::Get()->EnsureLoaded()) in ChooseMobileNetworkHandler() 137 NetworkLibrary* cros = CrosLibrary::Get()->GetNetworkLibrary(); in ChooseMobileNetworkHandler() 147 NetworkLibrary* cros = CrosLibrary::Get()->GetNetworkLibrary(); in ~ChooseMobileNetworkHandler() 198 if (!CrosLibrary::Get()->EnsureLoaded()) in HandleCancel() 202 NetworkLibrary* cros = CrosLibrary::Get()->GetNetworkLibrary(); in HandleCancel() 215 if (!CrosLibrary::Get()->EnsureLoaded()) in HandleConnect() 218 NetworkLibrary* cros = CrosLibrary::Get()->GetNetworkLibrary(); in HandleConnect()
|
D | mobile_setup_ui.cc | 99 chromeos::NetworkLibrary* lib = chromeos::CrosLibrary::Get()-> in GetCellularNetwork() 109 return chromeos::CrosLibrary::Get()-> in GetCellularNetwork() 460 chromeos::CrosLibrary::Get()->GetNetworkLibrary(); in ~MobileSetupHandler() 475 if (!chromeos::CrosLibrary::Get()->GetNetworkLibrary()->IsLocked()) in Init() 534 chromeos::CrosLibrary::Get()->GetNetworkLibrary(); in StartActivation() 585 chromeos::CrosLibrary::Get()->GetNetworkLibrary(); in SetTransactionStatus() 600 chromeos::CrosLibrary::Get()->GetNetworkLibrary()-> in StartOTASP() 626 chromeos::CrosLibrary::Get()->GetNetworkLibrary()-> in DisconnectFromNetwork() 683 chromeos::CrosLibrary::Get()->GetNetworkLibrary()-> in ConnectToNetwork() 698 chromeos::CrosLibrary::Get()->GetNetworkLibrary()-> in ForceReconnect() [all …]
|
/external/chromium/chrome/browser/chromeos/ |
D | sms_observer.cc | 21 if (!CrosLibrary::Get()->EnsureLoaded()) in SmsObserver() 24 UpdateObservers(chromeos::CrosLibrary::Get()->GetNetworkLibrary()); in SmsObserver() 28 NetworkLibrary* library = chromeos::CrosLibrary::Get()->GetNetworkLibrary(); in ~SmsObserver() 34 if (!CrosLibrary::Get()->EnsureLoaded()) in UpdateObservers() 75 if (!CrosLibrary::Get()->EnsureLoaded()) in DisconnectAll()
|
D | network_state_notifier.cc | 50 DCHECK(CrosLibrary::Get()->EnsureLoaded()); in OnNetworkManagerChanged() 80 if (!CrosLibrary::Get()->EnsureLoaded()) in RetrieveState() 82 NetworkLibrary* cros = CrosLibrary::Get()->GetNetworkLibrary(); in RetrieveState()
|
/external/chromium/chrome/browser/chromeos/extensions/ |
D | file_browser_event_router.cc | 62 if (!chromeos::CrosLibrary::Get()->EnsureLoaded()) in ObserveFileSystemEvents() 66 chromeos::CrosLibrary::Get()->GetMountLibrary(); in ObserveFileSystemEvents() 76 if (!chromeos::CrosLibrary::Get()->EnsureLoaded()) in StopObservingFileSystemEvents() 79 chromeos::CrosLibrary::Get()->GetMountLibrary(); in StopObservingFileSystemEvents() 153 chromeos::CrosLibrary::Get()->GetMountLibrary(); in OnDiskAdded() 167 chromeos::CrosLibrary::Get()->GetMountLibrary(); in OnDiskRemoved()
|
/external/chromium/chrome/browser/ui/webui/options/chromeos/ |
D | internet_options_handler.cc | 60 chromeos::CrosLibrary::Get()->GetNetworkLibrary(); in InternetOptionsHandler() 68 chromeos::CrosLibrary::Get()->GetNetworkLibrary(); in ~InternetOptionsHandler() 321 chromeos::CrosLibrary::Get()->GetNetworkLibrary(); in GetLocalizedValues() 329 chromeos::CrosLibrary::Get()->GetNetworkLibrary(); in Initialize() 370 chromeos::CrosLibrary::Get()->GetNetworkLibrary(); in EnableWifiCallback() 376 chromeos::CrosLibrary::Get()->GetNetworkLibrary(); in DisableWifiCallback() 382 chromeos::CrosLibrary::Get()->GetNetworkLibrary(); in EnableCellularCallback() 398 chromeos::CrosLibrary::Get()->GetNetworkLibrary(); in DisableCellularCallback() 426 chromeos::CrosLibrary::Get()->GetNetworkLibrary(); in SetApnCallback() 551 chromeos::CrosLibrary::Get()->GetNetworkLibrary(); in Observe() [all …]
|
/external/chromium/chrome/browser/ui/webui/options/ |
D | about_page_handler.cc | 100 chromeos::CrosLibrary::Get()->GetUpdateLibrary()-> in ~AboutPageHandler() 284 chromeos::CrosLibrary::Get()->GetUpdateLibrary(); in PageReady() 312 chromeos::CrosLibrary::Get()->GetUpdateLibrary()->SetReleaseTrack(channel); in SetReleaseTrack() 320 if (chromeos::CrosLibrary::Get()->EnsureLoaded() && in CheckNow() 323 chromeos::CrosLibrary::Get()->GetUpdateLibrary()-> in CheckNow() 330 chromeos::CrosLibrary::Get()->GetPowerLibrary()->RequestRestart(); in RestartNow() 444 if (chromeos::CrosLibrary::Get()->GetUpdateLibrary()->HasObserver(observer)) { in UpdateSelectedChannel()
|