Searched defs:profile (Results 1 - 19 of 19) sorted by relevance

/system/connectivity/shill/test-scripts/
H A Dget-profile-entry28 profile = flim.FindElementByNameSubstring('Profile', profile_name) variable
29 if profile is None:
34 print "Found profile %s" % (profile.object_path)
37 properties = profile.GetEntry(entry_name)
/system/media/alsa_utils/include/
H A Dalsa_device_proxy.h25 alsa_device_profile* profile; member in struct:__anon1796
35 void proxy_prepare(alsa_device_proxy * proxy, alsa_device_profile * profile,
/system/bt/profile/src/
H A Dmanager.c25 #include "profile/include/manager.h"
73 void profile_register(const profile_t *profile) { argument
75 assert(profile != NULL);
76 assert(profile->name != NULL);
77 assert(!hash_map_has_key(profile_map, profile->name));
79 hash_map_set(profile_map, profile->name, (void *) profile);
/system/connectivity/shill/dbus/
H A Dchromeos_profile_dbus_adaptor.cc24 #include "shill/profile.h"
43 const char ChromeosProfileDBusAdaptor::kPath[] = "/profile/";
47 Profile* profile)
49 ChromeosDBusAdaptor(bus, kPath + profile->GetFriendlyName()),
50 profile_(profile) {
45 ChromeosProfileDBusAdaptor( const scoped_refptr<dbus::Bus>& bus, Profile* profile) argument
H A Dchromeos_dbus_control.cc176 Profile* profile) {
179 ChromeosProfileDBusAdaptor>(profile);
175 CreateProfileAdaptor( Profile* profile) argument
/system/connectivity/shill/ethernet/
H A Dethernet_eap_provider.cc40 const ProfileRefPtr& profile) {
67 const ProfileRefPtr& profile, const std::string& entry_name, Error* error) {
39 CreateServicesFromProfile( const ProfileRefPtr& profile) argument
66 CreateTemporaryServiceFromProfile( const ProfileRefPtr& profile, const std::string& entry_name, Error* error) argument
/system/media/alsa_utils/
H A Dalsa_device_proxy.c42 void proxy_prepare(alsa_device_proxy * proxy, alsa_device_profile* profile, argument
45 ALOGV("proxy_prepare(c:%d, d:%d)", profile->card, profile->device);
47 proxy->profile = profile;
53 if (config->format != PCM_FORMAT_INVALID && profile_is_format_valid(profile, config->format)) {
57 config->format, profile->default_config.format);
58 proxy->alsa_config.format = profile->default_config.format;
61 if (config->rate != 0 && profile_is_sample_rate_valid(profile, config->rate)) {
65 config->rate, profile
100 alsa_device_profile* profile = proxy->profile; local
[all...]
H A Dalsa_device_profile.c61 static void profile_reset(alsa_device_profile* profile) argument
63 profile->card = profile->device = -1;
66 profile->formats[0] = PCM_FORMAT_INVALID;
67 profile->sample_rates[0] = 0;
68 profile->channel_counts[0] = 0;
70 profile->min_period_size = profile->max_period_size = 0;
71 profile->min_channel_count = profile
76 profile_init(alsa_device_profile* profile, int direction) argument
82 profile_is_initialized(alsa_device_profile* profile) argument
87 profile_is_valid(alsa_device_profile* profile) argument
91 profile_is_cached_for(alsa_device_profile* profile, int card, int device) argument
95 profile_decache(alsa_device_profile* profile) argument
110 profile_calc_min_period_size(alsa_device_profile* profile, unsigned sample_rate) argument
126 profile_get_period_size(alsa_device_profile* profile, unsigned sample_rate) argument
136 profile_get_default_sample_rate(alsa_device_profile* profile) argument
145 profile_is_sample_rate_valid(alsa_device_profile* profile, unsigned rate) argument
164 profile_get_default_format(alsa_device_profile* profile) argument
172 profile_is_format_valid(alsa_device_profile* profile, enum pcm_format fmt) argument
190 profile_get_default_channel_count(alsa_device_profile* profile) argument
195 profile_is_channel_count_valid(alsa_device_profile* profile, unsigned count) argument
204 profile_test_sample_rate(alsa_device_profile* profile, unsigned rate) argument
221 profile_enum_sample_rates(alsa_device_profile* profile, unsigned min, unsigned max) argument
238 profile_enum_sample_formats(alsa_device_profile* profile, struct pcm_mask * mask) argument
274 profile_enum_channel_counts(alsa_device_profile* profile, unsigned min, unsigned max) argument
306 read_alsa_device_config(alsa_device_profile * profile, struct pcm_config * config) argument
367 profile_read_device_info(alsa_device_profile* profile) argument
406 profile_get_sample_rate_strs(alsa_device_profile* profile) argument
439 profile_get_format_strs(alsa_device_profile* profile) argument
470 profile_get_channel_count_strs(alsa_device_profile* profile) argument
[all...]
/system/connectivity/shill/binder/
H A Dbinder_control.cc113 ProfileAdaptorInterface* BinderControl::CreateProfileAdaptor(Profile* profile) { argument
/system/connectivity/shill/vpn/
H A Dvpn_provider.cc33 #include "shill/profile.h"
191 void VPNProvider::CreateServicesFromProfile(const ProfileRefPtr& profile) { argument
193 const StoreInterface* storage = profile->GetConstStorage();
225 if (!profile->ConfigureService(service)) {
324 const ProfileRefPtr& profile, const std::string& entry_name, Error* error) {
328 if (!GetServiceParametersFromStorage(profile->GetConstStorage(),
323 CreateTemporaryServiceFromProfile( const ProfileRefPtr& profile, const std::string& entry_name, Error* error) argument
/system/connectivity/shill/wimax/
H A Dwimax_provider.cc35 #include "shill/profile.h"
258 const ProfileRefPtr& profile, const std::string& entry_name, Error* error) {
261 if (!GetServiceParametersFromStorage(profile->GetConstStorage(),
271 void WiMaxProvider::CreateServicesFromProfile(const ProfileRefPtr& profile) { argument
274 const StoreInterface* storage = profile->GetConstStorage();
292 if (!profile->ConfigureService(service)) {
257 CreateTemporaryServiceFromProfile( const ProfileRefPtr& profile, const std::string& entry_name, Error* error) argument
/system/connectivity/shill/wifi/
H A Dwifi_provider_unittest.cc182 // of assigning a profile to |service|.
193 void CreateServicesFromProfile(Profile* profile) { argument
194 provider_.CreateServicesFromProfile(profile);
197 void LoadAndFixupServiceEntries(Profile* profile) { argument
198 provider_.LoadAndFixupServiceEntries(profile);
226 // Adds service to profile's storage. But does not set profile on the Service.
227 string AddServiceToProfileStorage(Profile* profile, argument
234 auto profile_storage = static_cast<MockStore*>(profile->GetStorage());
851 // Processing default profile doe
[all...]
H A Dwifi_provider.cc42 #include "shill/profile.h"
119 void WiFiProvider::CreateServicesFromProfile(const ProfileRefPtr& profile) { argument
120 const StoreInterface* storage = profile->GetConstStorage();
151 // will be loaded from the profile into the service via ConfigureService().
159 // of opening the profile, we should initiate a WiFi scan, which will
169 // Only report service source metrics when a user profile is pushed.
171 // default profile and user profiles.
172 if (!profile->IsDefault()) {
221 const ProfileRefPtr& profile, const std::string& entry_name, Error* error) {
226 if (!GetServiceParametersFromStorage(profile
220 CreateTemporaryServiceFromProfile( const ProfileRefPtr& profile, const std::string& entry_name, Error* error) argument
374 LoadAndFixupServiceEntries(Profile* profile) argument
[all...]
/system/extras/perfprofd/
H A Dperfprofdcore.cc63 // This enum holds the results of the "should we profile" configuration check.
67 // All systems go for profile collection.
74 // the perf profile uploading service creates when it determines
88 // Are we running in the emulator? If so, stub out profile collection
164 return "profile collection succeeded";
181 // Check to see whether we should perform a profile collection
413 static void annotate_encoded_perf_profile(wireless_android_play_playlog::AndroidPerfProfile *profile, argument
421 profile->set_cpu_utilization(cpu_utilization);
432 profile->set_sys_load_average(iload);
442 profile
[all...]
/system/tpm/attestation/server/
H A Dattestation_service.cc604 CertificateProfile profile,
624 request_pb.set_profile(profile);
626 (profile == CONTENT_PROTECTION_CERTIFICATE_WITH_STABLE_ID)) {
601 CreateCertificateRequest( const std::string& username, const CertifiedKey& key, CertificateProfile profile, const std::string& origin, std::string* certificate_request, std::string* message_id) argument
/system/bt/bta/ag/
H A Dbta_ag_int.h65 /* Internal profile indexes */
68 #define BTA_AG_NUM_IDX 2 /* number of profile indexes */
70 /* profile role for connection */
233 /* type for each profile */
263 UINT16 peer_version; /* profile version of peer device */
264 UINT16 hsp_version; /* HSP profile version */
320 tBTA_AG_PROFILE profile[BTA_AG_NUM_IDX]; /* profile-specific data */ member in struct:__anon29
/system/connectivity/shill/
H A Dmanager_unittest.cc207 void AdoptProfile(Manager* manager, ProfileRefPtr profile) { argument
208 manager->profiles_.push_back(profile);
228 Profile* profile(new Profile(
230 profile->set_storage(storage.release()); // Passes ownership of "storage".
231 return profile; // Passes ownership of "profile".
292 scoped_refptr<MockProfile> profile(
294 EXPECT_CALL(*profile, GetRpcIdentifier()).WillRepeatedly(Return(name));
295 EXPECT_CALL(*profile, UpdateDevice(_)).WillRepeatedly(Return(false));
296 AdoptProfile(manager, profile);
608 MockProfile* profile = local
611 AdoptProfile(manager(), profile); // Passes ownership. local
629 MockProfile* profile = local
631 AdoptProfile(manager(), profile); // Passes ownership. local
876 ProfileRefPtr profile = manager()->LookupProfileByRpcIdentifier(kProfileName); local
1227 AdoptProfile(manager(), profile); local
1449 AdoptProfile(manager(), profile); local
1711 AdoptProfile(manager(), profile); local
1727 AdoptProfile(manager(), profile); local
1784 AdoptProfile(manager(), profile); local
1799 AdoptProfile(manager(), profile); local
1821 AdoptProfile(manager(), profile); // This is now the active profile. local
2907 AdoptProfile(manager(), profile); local
3039 AdoptProfile(manager(), profile); local
3088 AdoptProfile(manager(), profile); local
[all...]
H A Dservice.cc46 #include "shill/profile.h"
565 // Read has_ever_connected_ value from stored profile
1160 // ephemeral profile is explicitly tested for since it is not
1162 if (a->profile() != b->profile()) {
1168 } else if (manager->IsProfileBefore(b->profile(), a->profile())) {
1184 const ProfileRefPtr& Service::profile() const { return profile_; } function in class:shill::Service
1473 // flush the current value of the property to the profile.
1600 bool Service::SetProfileRpcId(const string& profile, Erro argument
[all...]
H A Dmanager.cc57 #include "shill/profile.h"
299 // Persist profile, service information to disk.
300 for (const auto& profile : profiles_) {
304 profile->Save();
330 DCHECK(profiles_.empty()); // The default profile must go first on stack.
333 // Ensure that we have storage for the default profile, and that
334 // the persistent copy of the default profile is not corrupt.
342 // The default profile may fail to initialize if it's corrupted.
343 // If so, recreate the default profile.
346 // In case we created a new profile, initializ
389 ProfileRefPtr profile; local
439 ProfileRefPtr profile; local
645 ProfileRefPtr profile; local
832 HandleProfileEntryDeletion(const ProfileRefPtr& profile, const std::string& entry_name) argument
867 GetServiceWithStorageIdentifier( const ProfileRefPtr& profile, const std::string& entry_name, Error* error) argument
881 CreateTemporaryServiceFromProfile( const ProfileRefPtr& profile, const std::string& entry_name, Error* error) argument
1008 OnProfileStorageInitialized(Profile* profile) argument
1072 ProfileRefPtr profile = LookupProfileByRpcIdentifier(profile_rpcid); local
1495 LoadProperties(const scoped_refptr<DefaultProfile>& profile) argument
2311 ProfileRefPtr profile = ActiveProfile(); local
2398 ProfileRefPtr profile = LookupProfileByRpcIdentifier(profile_rpcid); local
2474 SetupServiceInProfile(ServiceRefPtr service, ProfileRefPtr profile, const KeyValueStore& args, Error* error) argument
[all...]

Completed in 290 milliseconds