/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/ |
ProfilesLoader.java | 57 double[] profiles = new double[data.length]; local 59 profiles[i] = (Long.parseLong(data[i]) / 1000.0) / 1000.0; // convert to ms 61 return profiles;
|
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/autofill/ |
PersonalDataManagerTest.java | 59 assertEquals("Should still have only two profiles", 2, mHelper.getNumberOfProfiles()); 268 List<AutofillProfile> profiles = mHelper.getProfiles(); local 269 assertEquals(expectedLabels.size(), profiles.size()); 270 for (int i = 0; i < profiles.size(); ++i) { 271 int idx = expectedLabels.indexOf(profiles.get(i).getLabel());
|
/external/chromium_org/chrome/browser/autofill/android/ |
personal_data_manager_android.cc | 15 #include "chrome/browser/profiles/profile_manager.h" 191 const std::vector<AutofillProfile*>& profiles = local 194 DCHECK_LT(index_size_t, profiles.size()); 195 return CreateJavaProfileFromNative(env, *profiles[index_size_t]);
|
/external/chromium_org/chrome/browser/metrics/ |
extensions_metrics_provider.cc | 16 #include "chrome/browser/profiles/profile_manager.h" 38 // profiles. Combining two states should always result in the higher state. 40 // FROM_STORE_UNVERIFIED. The state of the two profiles together will be 189 // The off-store metric includes information from all loaded profiles at the 191 std::vector<Profile*> profiles = profile_manager->GetLoadedProfiles(); local 192 for (size_t i = 0u; i < profiles.size() && state < OFF_STORE; ++i) { 194 extensions::ExtensionSystem::Get(profiles[i])->install_verifier(); 197 GetInstalledExtensions(profiles[i])); 211 // UMA reports do not support multiple profiles, but extensions are installed 214 // profiles [all...] |
signin_status_metrics_provider.cc | 14 #include "chrome/browser/profiles/profile.h" 15 #include "chrome/browser/profiles/profile_info_cache.h" 16 #include "chrome/browser/profiles/profile_manager.h" 109 // profiles are being monitored. 159 // the opened profiles signin status. 166 std::vector<Profile*> profiles = profile_manager->GetLoadedProfiles(); local 167 for (size_t i = 0; i < profiles.size(); ++i) { 169 profiles[i]); 179 if (profiles.empty()) {
|
plugin_metrics_provider.cc | 17 #include "chrome/browser/profiles/profile_manager.h" 31 // If multiple user profiles are loaded, returns the preferences corresponding 32 // to an arbitrary one of the profiles. 41 std::vector<Profile*> profiles = profile_manager->GetLoadedProfiles(); local 42 if (profiles.empty()) 45 return PluginPrefs::GetForProfile(profiles.front()).get();
|
/external/chromium_org/chrome/browser/profiles/ |
profile_window.cc | 5 #include "chrome/browser/profiles/profile_window.h" 16 #include "chrome/browser/profiles/profile.h" 17 #include "chrome/browser/profiles/profile_avatar_icon_util.h" 18 #include "chrome/browser/profiles/profile_manager.h" 131 profiles::FindOrCreateNewWindowForProfile( 145 profiles::UserManagerTutorialMode tutorial_mode, 146 profiles::UserManagerProfileSelected profile_open_action, 156 if (tutorial_mode == profiles::USER_MANAGER_TUTORIAL_OVERVIEW) { 157 page += profiles::kUserManagerDisplayTutorial; 167 profiles::USER_MANAGER_SELECT_PROFILE_TASK_MANAGER) 187 namespace profiles { namespace [all...] |
profile_avatar_icon_util.cc | 5 #include "chrome/browser/profiles/profile_avatar_icon_util.h" 180 namespace profiles { namespace 271 if ((source_bitmap.width() == scale_factor * profiles::kAvatarIconWidth) && 272 (source_bitmap.height() == scale_factor * profiles::kAvatarIconHeight)) { 275 gfx::Rect frame(scale_factor * profiles::kAvatarIconWidth, 276 scale_factor * profiles::kAvatarIconHeight); 388 } // namespace profiles
|
profile_manager_browsertest.cc | 10 #include "chrome/browser/profiles/profile_info_cache.h" 11 #include "chrome/browser/profiles/profile_info_cache_observer.h" 12 #include "chrome/browser/profiles/profile_manager.h" 13 #include "chrome/browser/profiles/profile_window.h" 14 #include "chrome/browser/profiles/profiles_state.h" 170 // Delete all profiles in a multi profile setup and make sure a new one is 190 // Delete all profiles. 263 std::vector<Profile*> profiles = profile_manager->GetLoadedProfiles(); local 264 for (std::vector<Profile*>::const_iterator it = profiles.begin(); 265 it != profiles.end(); ++it) [all...] |
/external/chromium_org/chrome/browser/sync/test/integration/ |
extensions_helper.cc | 12 #include "chrome/browser/profiles/profile.h" 138 // A helper class to implement waiting for a set of profiles to have matching 143 explicit ExtensionsMatchChecker(const std::vector<Profile*>& profiles); 178 const std::vector<Profile*>& profiles) 179 : profiles_(profiles), observing_(false) { 265 std::vector<Profile*> profiles; local 266 profiles.push_back(test()->verifier()); 268 profiles.push_back(test()->GetProfile(i)); 271 ExtensionsMatchChecker checker(profiles);
|
apps_helper.cc | 10 #include "chrome/browser/profiles/profile.h" 141 // A helper class to implement waiting for a set of profiles to have matching 148 explicit AppsMatchChecker(const std::vector<Profile*>& profiles); 204 AppsMatchChecker::AppsMatchChecker(const std::vector<Profile*>& profiles) 205 : profiles_(profiles), observing_(false) { 339 std::vector<Profile*> profiles; local 340 profiles.push_back(test()->verifier()); 342 profiles.push_back(test()->GetProfile(i)); 345 AppsMatchChecker checker(profiles);
|
/external/chromium_org/chrome/common/importer/ |
firefox_importer_utils.cc | 42 // path of profiles.ini. IsRelative=0 refers to a custom profile 71 std::vector<std::string> profiles; local 75 profiles.push_back(current_profile); 77 // Profiles are continuously numbered. So we exit when we can't 83 if (profiles.empty()) 86 // When multiple profiles exist, the path to the default profile is returned, 87 // since the other profiles are used mostly by developers for testing. 88 for (std::vector<std::string>::const_iterator it = profiles.begin(); 89 it != profiles.end(); ++it) 94 return GetProfilePath(root, profiles.front()) [all...] |
/external/chromium_org/chromeos/network/ |
network_profile_handler.cc | 78 const base::Value* profiles = NULL; local 79 properties.GetWithoutPathExpansion(shill::kProfilesProperty, &profiles); 80 if (!profiles) { 85 OnPropertyChanged(shill::kProfilesProperty, *profiles); 102 VLOG(2) << "Profiles: " << profiles_.size(); 103 // Search for removed profiles. 122 // Skip known profiles. The associated userhash should never change.
|
shill_property_handler_unittest.cc | 250 std::vector<std::string> profiles; local 251 profile_test_->GetProfilePaths(&profiles); 252 ASSERT_TRUE(profiles.size() > 0); 254 profile_test_->AddService(profiles[0], id);
|
/external/chromium_org/components/autofill/core/browser/ |
autofill_ie_toolbar_import_win_unittest.cc | 22 std::vector<AutofillProfile>* profiles, 32 L"Software\\Google\\Google Toolbar\\4.0\\Autofill\\Profiles"; 162 std::vector<AutofillProfile> profiles; local 164 EXPECT_TRUE(ImportCurrentUserProfiles("en-US", &profiles, &credit_cards)); 165 ASSERT_EQ(2U, profiles.size()); 166 // The profiles are read in reverse order. 167 EXPECT_EQ(profile1[0].value, profiles[1].GetRawInfo(NAME_FIRST)); 168 EXPECT_EQ(profile1[1].value, profiles[1].GetRawInfo(NAME_MIDDLE)); 169 EXPECT_EQ(profile1[2].value, profiles[1].GetRawInfo(NAME_LAST)); 170 EXPECT_EQ(profile1[3].value, profiles[1].GetRawInfo(EMAIL_ADDRESS)) [all...] |
autofill_merge_unittest.cc | 59 // Serializes the |profiles| into a string. 60 std::string SerializeProfiles(const std::vector<AutofillProfile*>& profiles) { 62 for (size_t i = 0; i < profiles.size(); ++i) { 68 profiles[i]->GetRawMultiInfo(type, &values); 86 // Reset the saved profiles. 113 std::vector<AutofillProfile> profiles; local 115 MergeProfile(profile, profiles_.get(), "en-US", &profiles); 128 // A data-driven test for verifying merging of Autofill profiles. Each input is 129 // a structured dump of a set of implicitly detected autofill profiles. The 130 // corresponding output file is a dump of the saved profiles that result fro [all...] |
autofill_metrics_unittest.cc | 91 std::vector<AutofillProfile*> profiles; variable 92 web_profiles_.release(&profiles); 94 profiles); 118 void CreateTestAutofillProfiles(ScopedVector<AutofillProfile>* profiles) { 126 profiles->push_back(profile); 133 profiles->push_back(profile); 568 // The metric should be logged when the profiles are first loaded. [all...] |
autofill_profile_unittest.cc | 29 std::vector<AutofillProfile*> profiles; local 30 profiles.push_back(profile); 32 AutofillProfile::CreateDifferentiatingLabels(profiles, "en-US", &labels); 175 std::vector<AutofillProfile*> profiles; local 176 profiles.push_back(&profile7); 177 profiles.push_back(&profile7a); 179 AutofillProfile::CreateDifferentiatingLabels(profiles, "en-US", &labels); 180 ASSERT_EQ(profiles.size(), labels.size()); 190 ScopedVector<AutofillProfile> profiles; local 191 profiles.push_back 345 ScopedVector<AutofillProfile> profiles; local 387 ScopedVector<AutofillProfile> profiles; local 434 ScopedVector<AutofillProfile> profiles; local 487 ScopedVector<AutofillProfile> profiles; local 533 ScopedVector<AutofillProfile> profiles; local 575 ScopedVector<AutofillProfile> profiles; local 690 ScopedVector<AutofillProfile> profiles; local 726 ScopedVector<AutofillProfile> profiles; local 754 ScopedVector<AutofillProfile> profiles; local 793 ScopedVector<AutofillProfile> profiles; local [all...] |
/external/chromium_org/chrome/browser/chromeos/drive/ |
file_system_util.cc | 31 #include "chrome/browser/chromeos/profiles/profile_helper.h" 32 #include "chrome/browser/chromeos/profiles/profile_util.h" 33 #include "chrome/browser/profiles/profile.h" 34 #include "chrome/browser/profiles/profile_manager.h" 197 const std::vector<Profile*>& profiles = local 199 for (size_t i = 0; i < profiles.size(); ++i) { 200 Profile* original_profile = profiles[i]->GetOriginalProfile(); 201 if (original_profile == profiles[i] &&
|
/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/ |
private_api_file_system.cc | 24 #include "chrome/browser/profiles/profile.h" 25 #include "chrome/browser/profiles/profile_manager.h" 250 // from other profiles. Those directories may not be mounted at this moment 253 const std::vector<Profile*>& profiles = local 255 for (size_t i = 0; i < profiles.size(); ++i) { 256 if (!profiles[i]->IsOffTheRecord()) { 258 profiles[i]);
|
private_api_misc.cc | 17 #include "chrome/browser/chromeos/profiles/profile_helper.h" 23 #include "chrome/browser/profiles/profile.h" 24 #include "chrome/browser/profiles/profile_manager.h" 25 #include "chrome/browser/profiles/profiles_state.h" 65 const std::vector<Profile*>& profiles = local 71 for (size_t i = 0; i < profiles.size(); ++i) { 73 Profile* const profile = profiles[i]->GetOriginalProfile(); 374 profiles = GetLoggedInProfileInfoList(); local 388 profiles, 398 profiles = GetLoggedInProfileInfoList() local [all...] |
/external/chromium_org/chrome/browser/extensions/ |
chrome_content_browser_client_extensions_part.cc | 16 #include "chrome/browser/profiles/profile.h" 17 #include "chrome/browser/profiles/profile_io_data.h" 18 #include "chrome/browser/profiles/profile_manager.h" 257 // Go through all profiles to ensure we have total count of extension 260 std::vector<Profile*> profiles = g_browser_process->profile_manager()-> local 262 for (size_t i = 0; i < profiles.size(); ++i) { 263 ProcessManager* epm = ExtensionSystem::Get(profiles[i])->process_manager();
|
/external/chromium_org/chrome/browser/safe_browsing/ |
safe_browsing_service.cc | 25 #include "chrome/browser/profiles/profile.h" 26 #include "chrome/browser/profiles/profile_manager.h" 245 // Track the safe browsing preference of existing profiles. 250 std::vector<Profile*> profiles = profile_manager->GetLoadedProfiles(); local 251 for (size_t i = 0; i < profiles.size(); ++i) { 252 if (profiles[i]->IsOffTheRecord()) 254 AddPrefService(profiles[i]->GetPrefs());
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
options_ui_browsertest.cc | 39 #include "chrome/browser/profiles/profile.h" 40 #include "chrome/browser/profiles/profile_manager.h" 311 " document.querySelectorAll('list#profiles-list > div[role=listitem]')" 313 int profiles; local 315 contents, javascript, &profiles)); 316 EXPECT_EQ(1, profiles); 333 // Verify that the settings page has updated and lists two profiles. 335 contents, javascript, &profiles)); 336 EXPECT_EQ(2, profiles);
|
/external/chromium_org/components/autofill/core/browser/webdata/ |
autofill_webdata_backend_impl.cc | 238 std::vector<AutofillProfile*> profiles; local 239 AutofillTable::FromWebDatabase(db)->GetAutofillProfiles(&profiles); 243 profiles, 344 ScopedVector<AutofillProfile> profiles; local 346 delete_begin, delete_end, &profiles)) { 347 for (std::vector<AutofillProfile*>::const_iterator it = profiles.begin(); 348 it != profiles.end(); ++it) { 386 std::vector<AutofillProfile*> profiles = r->GetValue(); local 387 STLDeleteElements(&profiles);
|