/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]) + "";
|
/external/chromium/chrome/browser/importer/ |
importer_list.cc | 25 void DetectIEProfiles(std::vector<importer::SourceProfile*>* profiles) { 26 // IE always exists and doesn't have multiple profiles. 34 profiles->push_back(ie); 39 void DetectSafariProfiles(std::vector<importer::SourceProfile*>* profiles) { 50 profiles->push_back(safari); 54 void DetectFirefoxProfiles(std::vector<importer::SourceProfile*>* profiles) { 89 profiles->push_back(firefox); 93 std::vector<importer::SourceProfile*>* profiles) { 104 profiles->push_back(google_toolbar); 165 std::vector<importer::SourceProfile*> profiles; [all...] |
importer_list.h | 24 // order to be called back when the source profiles are loaded. 35 // Detects the installed browsers and their associated profiles, then stores 37 // profiles. Calls into DetectSourceProfilesWorker() on the FILE thread to do 38 // the real work of detecting source profiles. |observer| must be non-NULL. 50 // Returns the number of different source profiles you can import from. 53 // Returns the SourceProfile at |index|. The profiles are ordered such that 72 // notifies |observer_| that the source profiles are loaded. |profiles| is 73 // the vector of loaded profiles. 75 const std::vector<importer::SourceProfile*>& profiles); [all...] |
/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_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_dialog.h | 31 // only sets the profiles and not the credit cards. 33 std::vector<AutoFillProfile>* profiles, 41 // |profile| is profile from which you can get vectors of autofill profiles that
|
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...] |
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.h | 56 // profiles. Shows at least 2 fields that differentiate profile from other 57 // profiles. See AdjustInferredLabels() further down for more description. 77 // Returns true if any of the profiles were updated. 79 // profiles. For non permanent situations (selection of profile, when user 81 static bool AdjustInferredLabels(std::vector<AutofillProfile*>* profiles); 83 // Creates inferred labels for |profiles|, according to the rules above and 91 const std::vector<AutofillProfile*>* profiles, 136 // Creates inferred labels for |profiles| at indices corresponding to 139 // the profiles, if possible; and also at least |num_fields_to_include| 142 const std::vector<AutofillProfile*>& profiles, [all...] |
autofill_profile.cc | 38 // labels that can help to distinguish between two profiles. Draws fields from 88 // distinguish between profiles that are identical except for the name. 318 std::vector<AutofillProfile*>* profiles) { 322 CreateInferredLabels(profiles, NULL, UNKNOWN_TYPE, kMinimalFieldsShown, 324 DCHECK_EQ(profiles->size(), created_labels.size()); 327 for (size_t i = 0; i < profiles->size(); ++i) { 328 if ((*profiles)[i]->Label() != created_labels[i]) { 330 (*profiles)[i]->label_ = created_labels[i]; 338 const std::vector<AutofillProfile*>* profiles, 343 DCHECK(profiles); [all...] |
autofill_ie_toolbar_import_win.cc | 28 bool ImportCurrentUserProfiles(std::vector<AutofillProfile>* profiles, 33 L"Software\\Google\\Google Toolbar\\4.0\\Autofill\\Profiles"; 153 // Imports profiles from the IE toolbar and stores them. Asynchronous 193 // Imports Autofill profiles and credit cards from IE Toolbar if present and not 196 bool ImportCurrentUserProfiles(std::vector<AutofillProfile>* profiles, 198 DCHECK(profiles); 227 profiles->push_back(profile); 238 // We import CC profiles only if they are not password protected. 255 return (profiles->size() + credit_cards->size()) > 0;
|
/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/chromium/chrome/browser/ |
memory_purger.cc | 12 #include "chrome/browser/profiles/profile_manager.h" 101 std::vector<Profile*> profiles(profile_manager->GetLoadedProfiles()); 102 for (size_t i = 0; i < profiles.size(); ++i) { 104 make_scoped_refptr(profiles[i]->GetRequestContext())); 106 // NOTE: Some objects below may be duplicates across profiles. We could 113 profiles[i]->GetHistoryServiceWithoutCreating(); 119 profiles[i]->GetWebDataServiceWithoutCreating(); 126 profiles[i]->GetWebKitContext()->PurgeMemory();
|
/frameworks/base/media/libmedia/ |
MediaProfiles.cpp | 162 MediaProfiles::createVideoCodec(const char **atts, MediaProfiles *profiles) 180 CHECK((nCamcorderProfiles = profiles->mCamcorderProfiles.size()) >= 1); 181 profiles->mCamcorderProfiles[nCamcorderProfiles - 1]->mVideoCodec = videoCodec; 186 MediaProfiles::createAudioCodec(const char **atts, MediaProfiles *profiles) 202 CHECK((nCamcorderProfiles = profiles->mCamcorderProfiles.size()) >= 1); 203 profiles->mCamcorderProfiles[nCamcorderProfiles - 1]->mAudioCodec = audioCodec; 402 MediaProfiles::createVideoEditorCap(const char **atts, MediaProfiles *profiles) 414 profiles->mVideoEditorCap = pVideoEditorCap; 422 MediaProfiles *profiles = (MediaProfiles *) userData; local 424 createVideoCodec(atts, profiles); 873 MediaProfiles *profiles = new MediaProfiles; local 895 MediaProfiles *profiles = new MediaProfiles(); local [all...] |
/external/mesa3d/src/glsl/builtins/tools/ |
generate_builtins.py | 95 profiles = get_profile_list() 96 for (filename, profile) in profiles: 100 profiles = [] 101 for pfile in sorted(glob(path.join(path.join(builtins_dir, 'profiles'), '*'))): 102 profiles.append((pfile, path.basename(pfile).replace('.', '_'))) 103 return profiles 183 profiles = get_profile_list() variable 185 print 'static gl_shader *builtin_profiles[%d];' % len(profiles) 231 for (filename, profile) in profiles:
|
/frameworks/base/include/media/ |
MediaProfiles.h | 199 // Camcorder profiles (high/low) and timelapse profiles (high/low) 391 static VideoCodec* createVideoCodec(const char **atts, MediaProfiles *profiles); 392 static AudioCodec* createAudioCodec(const char **atts, MediaProfiles *profiles); 398 const char **atts, MediaProfiles *profiles); 435 static void createDefaultCamcorderProfiles(MediaProfiles *profiles); 436 static void createDefaultVideoEncoders(MediaProfiles *profiles); 437 static void createDefaultAudioEncoders(MediaProfiles *profiles); 438 static void createDefaultVideoDecoders(MediaProfiles *profiles); 439 static void createDefaultAudioDecoders(MediaProfiles *profiles); [all...] |
/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/extensions/ |
extension_event_router_forwarder.cc | 9 #include "chrome/browser/profiles/profile_manager.h" 83 std::vector<Profile*> profiles(profile_manager->GetLoadedProfiles()); 84 for (size_t i = 0; i < profiles.size(); ++i) { 86 profiles[i], extension_id, event_name, event_args, 87 use_profile_to_restrict_events ? profiles[i] : NULL, event_url);
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
LocalBluetoothProfileManager.java | 38 * objects for the available Bluetooth profiles. 107 // Always add HID and PAN profiles 227 /** State change handler for NAP and PANU profiles. */ 296 * @param profiles The list of profiles to fill 297 * @param removedProfiles list of profiles that were removed 300 Collection<LocalBluetoothProfile> profiles, 304 removedProfiles.addAll(profiles); 305 profiles.clear(); 316 profiles.add(mHeadsetProfile) [all...] |
/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/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)
|
/external/webkit/Source/WebCore/page/ |
Console.idl | 46 readonly attribute [CustomGetter] Array profiles;
|
/external/webkit/Source/WebKit/android/WebCoreSupport/autofill/ |
WebAutofill.cpp | 253 std::vector<AutofillProfile> profiles; local 254 profiles.push_back(*mAutofillProfile); 256 mTabContents->profile()->GetPersonalDataManager()->SetProfiles(&profiles); 261 std::vector<AutofillProfile*> profiles; local 262 profiles.push_back(mAutofillProfile.get()); 263 return AutofillProfile::AdjustInferredLabels(&profiles); 271 // remove it. If we support multiple profiles in the future
|
/external/v8/test/cctest/ |
test-cpu-profiler.cc | 3 // Tests of profiles generator and utilities. 25 CpuProfilesCollection profiles; local 26 ProfileGenerator generator(&profiles); 88 CpuProfilesCollection profiles; local 89 profiles.StartProfiling("", 1); 90 ProfileGenerator generator(&profiles); 152 CpuProfilesCollection profiles; local 153 profiles.StartProfiling("", 1); 154 ProfileGenerator generator(&profiles); 180 profiles.StopProfiling(TokenEnumerator::kNoSecurityToken, "", 1) 245 CpuProfilesCollection profiles; local [all...] |
/external/webkit/Source/JavaScriptCore/profiler/ |
Profiler.cpp | 115 static inline void dispatchFunctionToProfiles(ExecState* callerOrHandlerCallFrame, const Vector<RefPtr<ProfileGenerator> >& profiles, ProfileGenerator::ProfileFunction function, const CallIdentifier& callIdentifier, unsigned currentProfileTargetGroup) 117 for (size_t i = 0; i < profiles.size(); ++i) { 118 if (profiles[i]->profileGroup() == currentProfileTargetGroup || !profiles[i]->origin()) 119 (profiles[i].get()->*function)(callerOrHandlerCallFrame, callIdentifier);
|