Home
last modified time | relevance | path

Searched refs:exp_state (Results 1 – 6 of 6) sorted by relevance

/external/adhd/cras/src/server/
Dcras_system_state.c52 struct cras_server_state *exp_state; member
83 struct cras_server_state *exp_state, in cras_system_state_init() argument
89 assert(sizeof(*exp_state) == exp_state_size); in cras_system_state_init()
90 state.shm_size = sizeof(*exp_state); in cras_system_state_init()
102 exp_state->state_version = CRAS_SERVER_STATE_VERSION; in cras_system_state_init()
103 exp_state->volume = CRAS_MAX_SYSTEM_VOLUME; in cras_system_state_init()
104 exp_state->mute = 0; in cras_system_state_init()
105 exp_state->mute_locked = 0; in cras_system_state_init()
106 exp_state->suspended = 0; in cras_system_state_init()
107 exp_state->capture_gain = DEFAULT_CAPTURE_GAIN; in cras_system_state_init()
[all …]
Dcras.c120 struct cras_server_state *exp_state = (struct cras_server_state *) in main() local
122 sizeof(*exp_state), in main()
125 if (!exp_state) in main()
131 exp_state, in main()
132 sizeof(*exp_state)); in main()
Dcras_system_state.h44 struct cras_server_state *exp_state,
/external/adhd/cras/src/fuzz/
Drclient_message.cc31 struct cras_server_state *exp_state = (struct cras_server_state *) in LLVMFuzzerInitialize() local
32 calloc(1, sizeof(*exp_state)); in LLVMFuzzerInitialize()
33 if (!exp_state) in LLVMFuzzerInitialize()
41 exp_state, in LLVMFuzzerInitialize()
42 sizeof(*exp_state)); in LLVMFuzzerInitialize()
/external/adhd/cras/src/common/
Dcras_shm.c143 void *exp_state = mmap(NULL, mmap_size, in cras_shm_setup() local
146 if (exp_state == (void *)-1) in cras_shm_setup()
157 return exp_state; in cras_shm_setup()
/external/adhd/cras/src/tests/
Dsystem_state_unittest.cc92 struct cras_server_state *exp_state = (struct cras_server_state *) in do_sys_init() local
94 sizeof(*exp_state), in do_sys_init()
97 if (!exp_state) in do_sys_init()
103 exp_state, in do_sys_init()
104 sizeof(*exp_state)); in do_sys_init()