/external/webkit/Source/WebCore/bindings/js/ |
JSConsoleCustom.cpp | 46 JSValue JSConsole::profiles(ExecState* exec) const function in class:WebCore::JSConsole 48 const ProfilesArray& profiles = impl()->profiles(); local 51 ProfilesArray::const_iterator end = profiles.end(); 52 for (ProfilesArray::const_iterator iter = profiles.begin(); iter != end; ++iter)
|
/external/webkit/Source/WebCore/bindings/v8/custom/ |
V8ConsoleCustom.cpp | 55 const ProfilesArray& profiles = imp->profiles(); local 56 v8::Handle<v8::Array> result = v8::Array::New(profiles.size()); 58 ProfilesArray::const_iterator end = profiles.end(); 59 for (ProfilesArray::const_iterator iter = profiles.begin(); iter != end; ++iter)
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
Config.java | 71 ArrayList<Class> profiles = new ArrayList<Class>(PROFILE_SERVICES.length); local 76 profiles.add(PROFILE_SERVICES[i]); 79 int totalProfiles = profiles.size(); 81 profiles.toArray(SUPPORTED_PROFILES);
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/model/ |
ProfilesTableModel.java | 25 private final double[] profiles; field in class:ProfilesTableModel 28 public ProfilesTableModel(double[] profiles) { 29 this.profiles = profiles; 35 return profiles == null ? 0 : profiles.length; 40 if (profiles == null) return ""; 47 return formatter.format(profiles[row]) + "";
|
/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/chrome/browser/autofill/ |
autofill_ie_toolbar_import_win_unittest.cc | 19 bool ImportCurrentUserProfiles(std::vector<AutofillProfile>* profiles, 29 L"Software\\Google\\Google Toolbar\\4.0\\Autofill\\Profiles"; 161 std::vector<AutofillProfile> profiles; local 163 EXPECT_TRUE(ImportCurrentUserProfiles(&profiles, &credit_cards)); 164 ASSERT_EQ(profiles.size(), 2); 165 // The profiles are read in reverse order. 166 EXPECT_EQ(profiles[1].GetInfo(NAME_FIRST), profile1[0].value); 167 EXPECT_EQ(profiles[1].GetInfo(NAME_MIDDLE), profile1[1].value); 168 EXPECT_EQ(profiles[1].GetInfo(NAME_LAST), profile1[2].value); 169 EXPECT_EQ(profiles[1].GetInfo(EMAIL_ADDRESS), profile1[3].value) [all...] |
autofill_merge_unittest.cc | 46 // Serializes the |profiles| into a string. 47 std::string SerializeProfiles(const std::vector<AutofillProfile*>& profiles) { 49 for (size_t i = 0; i < profiles.size(); ++i) { 55 profiles[i]->GetMultiInfo(type, &values); 73 // Reset the saved profiles. 98 std::vector<AutofillProfile> profiles; local 99 if (!MergeProfile(profile, profiles_.get(), &profiles)) 109 // A data-driven test for verifying merging of Autofill profiles. Each input is 110 // a structured dump of a set of implicitly detected autofill profiles. The 111 // corresponding output file is a dump of the saved profiles that result fro [all...] |
autofill_profile_unittest.cc | 20 std::vector<AutofillProfile*> profiles; local 21 profiles.push_back(profile); 22 return AutofillProfile::AdjustInferredLabels(&profiles); 119 std::vector<AutofillProfile*> profiles; local 120 profiles.push_back(&profile7); 121 profiles.push_back(&profile7a); 122 EXPECT_TRUE(AutofillProfile::AdjustInferredLabels(&profiles)); 132 std::vector<AutofillProfile*> profiles; local 133 profiles.push_back(new AutofillProfile); 135 profiles[0] 298 std::vector<AutofillProfile*> profiles; local 400 ScopedVector<AutofillProfile> profiles; local 434 ScopedVector<AutofillProfile> profiles; local 460 ScopedVector<AutofillProfile> profiles; local [all...] |
autofill_metrics_unittest.cc | 64 std::vector<AutofillProfile*> profiles; variable 65 web_profiles_.release(&profiles); 67 profiles); 97 void CreateTestAutofillProfiles(ScopedVector<AutofillProfile>* profiles) { 105 profiles->push_back(profile); 113 profiles->push_back(profile); 739 // The metric should be logged when the profiles are first loaded. [all...] |
personal_data_manager.cc | 21 #include "chrome/browser/profiles/profile.h" 303 // Reject profiles with invalid country information. 340 // We always save imported profiles. 349 void PersonalDataManager::SetProfiles(std::vector<AutofillProfile>* profiles) { 353 // Remove empty profiles from input. 354 profiles->erase( 355 std::remove_if(profiles->begin(), profiles->end(), 357 profiles->end()); 363 // identifies profiles 477 std::vector<AutofillProfile> profiles; local 597 const std::vector<AutofillProfile*>& profiles = this->profiles(); local 632 const std::vector<AutofillProfile*>& PersonalDataManager::profiles() { function in class:PersonalDataManager 831 std::vector<AutofillProfile*> profiles = r->GetValue(); local [all...] |
personal_data_manager_unittest.cc | 118 // Add two test profiles to the database. 124 const std::vector<AutofillProfile*>& results1 = personal_data_->profiles(); 139 const std::vector<AutofillProfile*>& results2 = personal_data_->profiles(); 145 // to the web database, and that we can load the profiles from the web 157 // Verify that we've loaded the profiles from the web database. 158 const std::vector<AutofillProfile*>& results3 = personal_data_->profiles(); 262 // Add two test profiles to the database. 268 const std::vector<AutofillProfile*>& results1 = personal_data_->profiles(); 324 // Verify that we've loaded the profiles from the web database. 325 const std::vector<AutofillProfile*>& results2 = personal_data_->profiles(); 635 const std::vector<AutofillProfile*>& profiles = personal_data_->profiles(); local 1283 const std::vector<AutofillProfile*>& profiles = personal_data_->profiles(); local [all...] |
autofill_manager.cc | 32 #include "chrome/browser/profiles/profile.h" 383 personal_data_->profiles(), personal_data_->credit_cards(), &host) && 481 const std::vector<AutofillProfile*>& profiles = personal_data_->profiles(); local 490 if (!GetHost(profiles, credit_cards, &host) || 508 for (std::vector<AutofillProfile*>::const_iterator iter = profiles.begin(); 509 iter != profiles.end(); ++iter) { 760 bool AutofillManager::GetHost(const std::vector<AutofillProfile*>& profiles, 770 // No autofill data to return if the profiles are empty. 771 if (profiles.empty() && credit_cards.empty() 845 const std::vector<AutofillProfile*>& profiles = personal_data_->profiles(); local [all...] |
/external/chromium/chrome/browser/sync/glue/ |
autofill_profile_model_associator.cc | 59 << "Printing profiles from web db"; 75 const std::vector<AutofillProfile*>& profiles(all_profiles_from_db); 76 for (std::vector<AutofillProfile*>::const_iterator ix = profiles.begin(); 77 ix != profiles.end(); 128 std::vector<AutofillProfile*>* profiles) { 132 if (!web_database_->GetAutofillTable()->GetAutofillProfiles(profiles)) 146 ScopedVector<AutofillProfile> profiles; local 148 if (!LoadAutofillData(&profiles.get())) { 170 profiles.get(), &bundle.current_profiles, 304 // server profile.(The only difference between the 2 profiles are the guids [all...] |
autofill_model_associator.cc | 15 #include "chrome/browser/profiles/profile.h" 121 std::vector<AutofillProfile*>* profiles) { 129 if (!web_database_->GetAutofillTable()->GetAutofillProfiles(profiles)) 145 ScopedVector<AutofillProfile> profiles; local 147 if (!LoadAutofillData(&entries, &profiles.get())) { 172 profiles.get())) { 243 << "Printing profiles from web db"; 272 // Ignore autofill profiles if we are not upgrading.
|
/external/webkit/Source/WebCore/page/ |
Console.h | 104 const ProfilesArray& profiles() const { return m_profiles; } function in class:WebCore::Console
|
/external/chromium/chrome/browser/profiles/ |
profile_manager.cc | 7 #include "chrome/browser/profiles/profile_manager.h" 71 std::vector<Profile*> profiles(pm->GetLoadedProfiles()); 72 for (size_t i = 0; i < profiles.size(); ++i) 73 profiles[i]->ShutdownSessionService(); 150 // TODO(davemoore) Fix the tests so they allow OTR profiles. 199 std::vector<Profile*> profiles; local 203 profiles.push_back(iter->second->profile.get()); 205 return profiles; 299 std::vector<Profile*> profiles(GetLoadedProfiles()); 300 for (size_t i = 0; i < profiles.size(); ++i) [all...] |
/external/oprofile/libpp/ |
arrange_profiles.h | 24 * store merging options options used to classify profiles 69 * A number of profiles files that are all dependent on 87 * contains all profiles against /bin/bash, and deps contains 103 * A class collection of profiles. This is an equivalence class and 107 std::list<profile_set> profiles; member in struct:profile_class 172 * as well as attaching dependent profiles to the main image.
|
/external/v8/test/cctest/ |
test-cpu-profiler.cc | 3 // Tests of profiles generator and utilities. 21 CpuProfilesCollection profiles; local 22 ProfileGenerator generator(&profiles); 81 CpuProfilesCollection profiles; local 82 profiles.StartProfiling("", 1); 83 ProfileGenerator generator(&profiles); 142 CpuProfilesCollection profiles; local 143 profiles.StartProfiling("", 1); 144 ProfileGenerator generator(&profiles); 167 profiles.StopProfiling(TokenEnumerator::kNoSecurityToken, "", 1) 232 CpuProfilesCollection profiles; local [all...] |
test-profile-generator.cc | 3 // Tests of profiles generator and utilities. 584 CpuProfilesCollection profiles; local 585 profiles.StartProfiling("", 1); 586 ProfileGenerator generator(&profiles); 621 profiles.StopProfiling(TokenEnumerator::kNoSecurityToken, "", 1);
|
/external/webkit/Source/WebKit/android/WebCoreSupport/autofill/ |
WebAutofill.cpp | 255 std::vector<AutofillProfile> profiles; local 256 profiles.push_back(*mAutofillProfile); 258 mTabContents->profile()->GetPersonalDataManager()->SetProfiles(&profiles); 263 std::vector<AutofillProfile*> profiles; local 264 profiles.push_back(mAutofillProfile.get()); 265 return AutofillProfile::AdjustInferredLabels(&profiles); 273 // remove it. If we support multiple profiles in the future
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
BluetoothDevicePreference.java | 292 List<LocalBluetoothProfile> profiles = mCachedDevice.getProfiles(); local 293 for (LocalBluetoothProfile profile : profiles) {
|
LocalBluetoothProfileManager.java | 43 * objects for the available Bluetooth profiles. 113 // Always add HID and PAN profiles 122 //Create PBAP server profile, but do not add it to list of profiles 237 /** State change handler for NAP and PANU profiles. */ 311 * @param profiles The list of profiles to fill 312 * @param removedProfiles list of profiles that were removed 315 Collection<LocalBluetoothProfile> profiles, 320 removedProfiles.addAll(profiles); 321 profiles.clear() [all...] |
/external/chromium/chrome/browser/sync/ |
profile_sync_service_autofill_unittest.cc | 372 std::vector<AutofillProfile>* profiles) { 401 profiles->push_back(p); 409 std::vector<AutofillProfile>* profiles) { 427 profiles->push_back(p); 673 std::vector<AutofillProfile*> profiles; local 682 profiles.push_back(profile0); 685 WillOnce(DoAll(SetArgumentPointee<0>(profiles), Return(true))); [all...] |
/external/chromium/chrome/browser/webdata/ |
web_data_service.cc | 548 std::vector<AutofillProfile*> profiles = r->GetValue(); local 549 STLDeleteElements(&profiles); 1100 std::vector<AutofillProfile*> profiles; local 1135 std::vector<AutofillProfile*> profiles; local [all...] |
/frameworks/av/media/libmedia/ |
MediaProfiles.cpp | 164 MediaProfiles::createVideoCodec(const char **atts, MediaProfiles *profiles) 182 CHECK((nCamcorderProfiles = profiles->mCamcorderProfiles.size()) >= 1); 183 profiles->mCamcorderProfiles[nCamcorderProfiles - 1]->mVideoCodec = videoCodec; 188 MediaProfiles::createAudioCodec(const char **atts, MediaProfiles *profiles) 204 CHECK((nCamcorderProfiles = profiles->mCamcorderProfiles.size()) >= 1); 205 profiles->mCamcorderProfiles[nCamcorderProfiles - 1]->mAudioCodec = audioCodec; 404 MediaProfiles::createVideoEditorCap(const char **atts, MediaProfiles *profiles) 417 profiles->mVideoEditorCap = pVideoEditorCap; 425 MediaProfiles *profiles = (MediaProfiles *) userData; local 427 createVideoCodec(atts, profiles); 877 MediaProfiles *profiles = new MediaProfiles; local 899 MediaProfiles *profiles = new MediaProfiles(); local [all...] |