Home
last modified time | relevance | path

Searched refs:profile (Results 1 – 15 of 15) sorted by relevance

/system/media/alsa_utils/
Dalsa_device_profile.c61 static void profile_reset(alsa_device_profile* profile) in profile_reset() argument
63 profile->card = profile->device = -1; in profile_reset()
66 profile->formats[0] = PCM_FORMAT_INVALID; in profile_reset()
67 profile->sample_rates[0] = 0; in profile_reset()
68 profile->channel_counts[0] = 0; in profile_reset()
70 profile->min_period_size = profile->max_period_size = 0; in profile_reset()
71 profile->min_channel_count = profile->max_channel_count = DEFAULT_CHANNEL_COUNT; in profile_reset()
73 profile->is_valid = false; in profile_reset()
76 void profile_init(alsa_device_profile* profile, int direction) in profile_init() argument
78 profile->direction = direction; in profile_init()
[all …]
Dalsa_device_proxy.c42 void proxy_prepare(alsa_device_proxy * proxy, alsa_device_profile* profile, in proxy_prepare() argument
45 ALOGV("proxy_prepare(c:%d, d:%d)", profile->card, profile->device); in proxy_prepare()
47 proxy->profile = profile; in proxy_prepare()
54 config->format != PCM_FORMAT_INVALID && profile_is_format_valid(profile, config->format) in proxy_prepare()
55 ? config->format : profile->default_config.format; in proxy_prepare()
57 config->rate != 0 && profile_is_sample_rate_valid(profile, config->rate) in proxy_prepare()
58 ? config->rate : profile->default_config.rate; in proxy_prepare()
60 config->channels != 0 && profile_is_channel_count_valid(profile, config->channels) in proxy_prepare()
61 ? config->channels : profile->default_config.channels; in proxy_prepare()
63 proxy->alsa_config.period_count = profile->default_config.period_count; in proxy_prepare()
[all …]
/system/media/alsa_utils/include/
Dalsa_device_profile.h61 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 …]
Dalsa_device_proxy.h25 alsa_device_profile* profile; member
35 void proxy_prepare(alsa_device_proxy * proxy, alsa_device_profile * profile,
/system/bt/profile/src/
Dmanager.c73 void profile_register(const profile_t *profile) { in profile_register() argument
75 assert(profile != NULL); in profile_register()
76 assert(profile->name != NULL); in profile_register()
77 assert(!hash_map_has_key(profile_map, profile->name)); in profile_register()
79 hash_map_set(profile_map, profile->name, (void *) profile); in profile_register()
/system/bt/bta/ag/
Dbta_ag_sdp.c228 if (bta_ag_cb.profile[i].sdp_handle == 0) in bta_ag_create_records()
230 bta_ag_cb.profile[i].sdp_handle = SDP_CreateRecord(); in bta_ag_create_records()
231 bta_ag_cb.profile[i].scn = BTM_AllocateSCN(); in bta_ag_create_records()
233 bta_ag_cb.profile[i].scn, p_data->api_register.features, in bta_ag_create_records()
234 bta_ag_cb.profile[i].sdp_handle); in bta_ag_create_records()
284 if (bta_ag_cb.profile[i].sdp_handle != 0) in bta_ag_del_records()
286 SDP_DeleteRecord(bta_ag_cb.profile[i].sdp_handle); in bta_ag_del_records()
287 bta_ag_cb.profile[i].sdp_handle = 0; in bta_ag_del_records()
289 BTM_FreeSCN(bta_ag_cb.profile[i].scn); in bta_ag_del_records()
Dbta_ag_rfc.c295 BT_PSM_RFCOMM, BTM_SEC_PROTO_RFCOMM, bta_ag_cb.profile[i].scn); in bta_ag_start_servers()
297 bta_ag_port_status = RFCOMM_CreateConnection(bta_ag_uuid[i], bta_ag_cb.profile[i].scn, in bta_ag_start_servers()
Dbta_ag_int.h320 tBTA_AG_PROFILE profile[BTA_AG_NUM_IDX]; /* profile-specific data */ member
/system/extras/perfprofd/tests/
Dperfprofd_test.cc323 I: profile collection skipped (missing config directory) in TEST_F()
361 I: profile collection skipped (missing semaphore file) in TEST_F()
399 I: profile collection skipped (missing 'perf' executable) in TEST_F()
436 I: profile collection failed (perf record returned bad exit status) in TEST_F()
593 I: initiating profile collection in TEST_F()
594 I: profile collection complete in TEST_F()
649 I: initiating profile collection in TEST_F()
650 I: profile collection complete in TEST_F()
653 I: initiating profile collection in TEST_F()
654 I: profile collection complete in TEST_F()
[all …]
/system/extras/perfprofd/
Dperf_profile.proto72 // A compressed representation of a perf profile, which contains samples from
84 // Total number of samples in this profile.
95 // is device screen on at point when profile is collected?
98 // system load at point when profile is collected; corresponds
Dperfprofdcore.cc485 …atic void annotate_encoded_perf_profile(wireless_android_play_playlog::AndroidPerfProfile *profile) in annotate_encoded_perf_profile() argument
495 profile->set_sys_load_average(iload); in annotate_encoded_perf_profile()
508 profile->set_display_on(ison); in annotate_encoded_perf_profile()
/system/bt/profile/include/
Dmanager.h37 void profile_register(const profile_t *profile);
/system/bt/btif/src/
Dbluetooth.c63 #define is_profile(profile, str) ((strlen(str) == strlen(profile)) && strncmp((const char *)profile argument
/system/bt/doc/
Dpower_management.md10 Power states are managed per-device, per-profile, so every incoming event
11 includes a profile ID, app ID, and a `BD_ADDR`.
25 are called by each profile definition in `bta/$PROFILE`.
50 looking for a match between the profile and app IDs. When it finds one, it uses
60 other profile will override this.
99 are found for the given profile ID and app ID, the function simply
122 both actions specified for the profile in the `bta_dm_pm_spec` tables. If
131 profile doesn't allow it, this function takes no action.
/system/extras/tests/sdcard/
DREADME1 This directory contains tools to profile the sdcard performance.