/system/media/alsa_utils/include/ |
H A D | alsa_device_profile.h | 61 void profile_init(alsa_device_profile* profile, int direction); 62 bool profile_is_initialized(alsa_device_profile* profile); 63 bool profile_is_valid(alsa_device_profile* profile); 64 bool profile_is_cached_for(alsa_device_profile* profile, int card, int device); 65 void profile_decache(alsa_device_profile* profile); 67 bool profile_read_device_info(alsa_device_profile* profile); 70 char * profile_get_sample_rate_strs(alsa_device_profile* profile); 71 char * profile_get_format_strs(alsa_device_profile* profile); 72 char * profile_get_channel_count_strs(alsa_device_profile* profile); 75 unsigned profile_get_default_sample_rate(alsa_device_profile* profile); [all...] |
H A D | alsa_device_proxy.h | 25 alsa_device_profile* profile; member in struct:__anon1796 35 void proxy_prepare(alsa_device_proxy * proxy, alsa_device_profile * profile,
|
/system/media/alsa_utils/ |
H A D | alsa_device_profile.c | 61 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...] |
H A D | alsa_device_proxy.c | 42 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...] |
/system/bt/profile/src/ |
H A D | manager.c | 25 #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/test-scripts/ |
H A D | get-profile-entry | 28 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/bt/profile/include/ |
H A D | manager.h | 36 // Registers a given Bluetooth |profile| with the manager. 37 void profile_register(const profile_t *profile); 39 // Looks up a previously registered profile by |name|. If no profile was
|
/system/connectivity/shill/ |
H A D | provider_interface.h | 34 // Creates services from the entries within |profile|. 35 virtual void CreateServicesFromProfile(const ProfileRefPtr& profile) = 0; 57 // Create a temporary service for an entry |entry_name| within |profile|. 62 const ProfileRefPtr& profile,
|
H A D | manager.cc | 57 #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...] |
H A D | profile_unittest.cc | 17 #include "shill/profile.h" 77 ProfileRefPtr profile( 80 bool ret = profile->InitStorage(storage_option, &error); 83 EXPECT_TRUE(profile->Save()); 204 ProfileRefPtr profile(new Profile( 206 EXPECT_EQ(kIdentifier, profile->GetFriendlyName()); 208 profile = new Profile( 210 EXPECT_EQ(string(kUser) + "/" + kIdentifier, profile->GetFriendlyName()); 218 ProfileRefPtr profile(new Profile( 220 EXPECT_TRUE(profile [all...] |
H A D | ephemeral_profile.cc | 57 << " to ephemeral profile."; 63 if (service->profile() == this) 66 << " from ephemeral profile.";
|
H A D | manager_unittest.cc | 207 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 D | mock_manager.h | 49 const std::string& profile, 66 bool(const ProfileRefPtr& profile, 70 ServiceRefPtr(const ProfileRefPtr& profile, 74 ServiceRefPtr(const ProfileRefPtr& profile,
|
/system/connectivity/shill/bin/ |
H A D | set_cellular_ppp | 121 local profile 124 for profile in $(get_profiles); do 125 profile_name="$(get_property ${IPROFILE} ${profile} Name)" 127 echo "${profile}" 148 local profile="$2" 154 if [ -z "${profile}" ]; then 159 "string:${PROFILE_PROPERTY}" "variant:string:${profile}" 163 if [ "${new_profile}" != "${profile}" ]; then
|
H A D | shill_login_user | 22 # Shill expects to find a user profile in /var/run/shill/user_profiles. 23 # There are 3 possible places a user profile could exist. We should 28 # user is logged in, shill can regain access to the profile. 29 # - User profile in ~chronos/shill -- if the above does not 30 # exist, we validate this profile and move it to the cryptohome. 32 # - Old flimflam profile in ~chronos/flimflam -- If the above 35 # and copy to the cryptohome profile. 39 # user whose profile is being loaded. 51 # We should not load multiple network profiles. If a profile link 72 flimflam_profile="$flimflam_profile_dir/flimflam.profile" [all...] |
/system/connectivity/shill/init/ |
H A D | shill.conf.in | 52 # Create storage for the shill global profile. 55 # Use flimflam's default profile if shill doesn't have one. 56 if [ ! -f /var/cache/shill/default.profile -a \ 57 -f /var/cache/flimflam/default.profile ]; then 58 mv /var/cache/flimflam/default.profile /var/cache/shill/default.profile 59 chmod a+r /var/cache/shill/default.profile
|
/system/bt/bta/ag/ |
H A D | bta_ag_sdp.c | 158 /* add profile descriptor list */ 226 if (bta_ag_cb.profile[i].sdp_handle == 0) 228 bta_ag_cb.profile[i].sdp_handle = SDP_CreateRecord(); 229 bta_ag_cb.profile[i].scn = BTM_AllocateSCN(); 231 bta_ag_cb.profile[i].scn, p_data->api_register.features, 232 bta_ag_cb.profile[i].sdp_handle); 282 if (bta_ag_cb.profile[i].sdp_handle != 0) 284 SDP_DeleteRecord(bta_ag_cb.profile[i].sdp_handle); 285 bta_ag_cb.profile[i].sdp_handle = 0; 287 BTM_FreeSCN(bta_ag_cb.profile[ [all...] |
/system/connectivity/shill/dbus/ |
H A D | chromeos_profile_dbus_adaptor.cc | 24 #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 D | chromeos_profile_dbus_adaptor.h | 36 // having a bare pointer to its owner profile. 49 Profile* profile);
|
/system/connectivity/shill/vpn/ |
H A D | vpn_provider_unittest.cc | 271 scoped_refptr<MockProfile> profile( 273 EXPECT_CALL(*profile, GetConstStorage()).WillRepeatedly(Return(&storage)); 278 EXPECT_CALL(*profile, 281 provider_.CreateServicesFromProfile(profile); 287 provider_.CreateServicesFromProfile(profile); 335 scoped_refptr<MockProfile> profile( 337 EXPECT_CALL(*profile, GetConstStorage()).WillRepeatedly(Return(&storage)); 342 provider_.CreateTemporaryServiceFromProfile(profile, 352 provider_.CreateTemporaryServiceFromProfile(profile, 361 provider_.CreateTemporaryServiceFromProfile(profile, [all...] |
H A D | vpn_provider.h | 50 void CreateServicesFromProfile(const ProfileRefPtr& profile) override; 57 const ProfileRefPtr& profile, 118 // values from profile storgae. Returns True on success, otherwise if any of
|
/system/connectivity/shill/ethernet/ |
H A D | ethernet_eap_provider.cc | 40 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
|
H A D | ethernet_eap_provider.h | 49 void CreateServicesFromProfile(const ProfileRefPtr& profile) override; 56 const ProfileRefPtr& profile,
|
/system/extras/perfprofd/tests/ |
H A D | perfprofd_test.cc | 324 I: profile collection skipped (missing config directory) 362 I: profile collection skipped (missing semaphore file) 400 I: profile collection skipped (missing 'perf' executable) 437 I: profile collection failed (perf record returned bad exit status) 604 // Examine what we get back. Since it's a live profile, we can't 614 I: initiating profile collection 615 I: profile collection complete 655 // Examine what we get back. Since it's a live profile, we can't 670 I: initiating profile collection 671 I: profile collectio [all...] |
/system/connectivity/shill/wifi/ |
H A D | mock_wifi_provider.h | 34 MOCK_METHOD1(CreateServicesFromProfile, void(const ProfileRefPtr& profile));
|