Searched refs:state (Results 26 - 50 of 327) sorted by relevance

1234567891011>>

/hardware/qcom/audio/hal/voice_extn/
H A Dvoice_extn.c148 if(session->state.current == call_state){
172 __func__, session->state.current, session->state.new, session->vsid);
174 switch(session->state.new)
177 switch(session->state.current)
186 session->state.current = session->state.new;
192 session->state.current = session->state.new;
201 session->state
[all...]
/hardware/invensense/6515/libsensors_iio/software/simple_apps/common/
H A Dtestsupport.h45 char* CompassStateName (char* out, int state);
/hardware/intel/common/utils/ituxd/src/com/intel/thermal/
H A DThermalCoolingDevice.java51 /* Maintains corresponding state of zone present in mZoneidList */
149 * Sets the current thermal state of cooling device which will be maximum of
153 int state = 0;
155 state = Math.max(state, coolingDevState);
157 mCurrentThermalState = state;
161 * Adds zoneID and its thermal state to mListOfZoneIDs and
162 * mListOfTStatesOfZones array. If zoneId exists then its thermal state is
163 * updated else zoneId and its state will be added to array.
165 public void updateZoneState(int zoneId, int state) { argument
[all...]
/hardware/qcom/gps/msm8084/utils/
H A Dloc_timer.c50 enum timer_state state; member in struct:__anon3471
81 if (READY == t->state) {
82 t->state = WAITING;
84 t->state = DONE;
145 t->state = READY;
178 if (NULL != t && (READY == t->state || WAITING == t->state)) {
180 if (READY == t->state || WAITING == t->state) {
182 t->state
[all...]
/hardware/qcom/gps/msm8994/utils/
H A Dloc_timer.c50 enum timer_state state; member in struct:__anon3821
81 if (READY == t->state) {
82 t->state = WAITING;
84 t->state = DONE;
161 t->state = READY;
195 if (NULL != t && (READY == t->state || WAITING == t->state) &&
197 if (READY == t->state || WAITING == t->state) {
199 t->state
[all...]
/hardware/qcom/gps/utils/
H A Dloc_timer.c50 enum timer_state state; member in struct:__anon4050
81 if (READY == t->state) {
82 t->state = WAITING;
84 t->state = DONE;
161 t->state = READY;
194 if (NULL != t && (READY == t->state || WAITING == t->state) &&
196 if (READY == t->state || WAITING == t->state) {
198 t->state
[all...]
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/mp4/parser/
H A Dviddec_parse_sc_mp4.c30 viddec_sc_prefix_state_t *state = (viddec_sc_prefix_state_t *)sc_state; local
122 state->next_sc = *ptr;
123 state->second_scprfx_length = 2;
135 state->next_sc = cxt->buf[cxt->sc_end_pos];
136 state->second_scprfx_length = 3;
/hardware/interfaces/power/1.0/default/
H A DPower.cpp118 PowerStatePlatformSleepState& state = states[i]; local
119 state.name = legacy_state.name;
120 state.residencyInMsecSinceBoot = legacy_state.residency_in_msec_since_boot;
121 state.totalTransitions = legacy_state.total_transitions;
122 state.supportedOnlyInSuspend = legacy_state.supported_only_in_suspend;
123 state.voters.resize(voters[i]);
126 state.voters[j].name = legacy_state.voters[j].name;
127 state.voters[j].totalTimeInMsecVotedForSinceBoot = legacy_state.voters[j].total_time_in_msec_voted_for_since_boot;
128 state.voters[j].totalNumberOfTimesVotedSinceBoot = legacy_state.voters[j].total_number_of_times_voted_since_boot;
/hardware/invensense/6515/libsensors_iio/software/core/mllite/
H A Dresults_holder.h82 void inv_set_acc_state(int state);
84 void inv_set_motion_state(unsigned char state);
118 void inv_set_compass_bias_found(int state);
120 void inv_set_large_mag_field(int state);
121 void inv_set_compass_state(int state);
137 void inv_set_accel_bias_found(int state);
/hardware/qcom/msm8998/json-c/
H A Djson_tokener.c139 tok->stack[depth].state = json_tokener_state_eatws;
187 #define state tok->stack[tok->depth].state macro
212 (((tok)->depth == 0 && state == json_tokener_state_eatws && saved_state == json_tokener_state_finish) ? \
261 switch(state) {
264 /* Advance until we change state */
272 state = json_tokener_state_comment_start;
274 state = saved_state;
282 state = json_tokener_state_eatws;
287 state
[all...]
/hardware/nxp/nfc/halimpl/utils/
H A DphNxpConfig.cpp138 unsigned long state; member in class:CNfcConfig
140 inline bool Is(unsigned long f) { return (state & f) == f; }
141 inline void Set(unsigned long f) { state |= f; }
142 inline void Reset(unsigned long f) { state &= ~f; }
260 state = BEGIN_LINE;
273 switch (state & 0xff) {
276 state = END_LINE;
281 state = TOKEN;
288 state = BEGIN_QUOTE;
292 state
[all...]
/hardware/interfaces/automotive/evs/1.0/
H A DIEvsEnumerator.hal76 * This call requests the current state of the display
79 * the actual state of the active display. This call is replicated on the IEvsEnumerator
80 * interface in order to allow secondary clients to monitor the state of the EVS display
83 getDisplayState() generates (DisplayState state);
/hardware/interfaces/tests/extension/light/2.0/
H A DILight.hal35 * @param state describes what the light should look like.
36 * @return status result of applying state transformation.
38 setLightExt(Type type, LightState state) generates (Status status);
H A Dtypes.hal53 android.hardware.light@2.0::LightState state;
/hardware/qcom/audio/legacy/alsa_sound/
H A DAudioPolicyManagerALSA.h38 virtual void setPhoneState(int state);
/hardware/google/av/media/sfplugin/
H A DCCodec.cpp519 Mutexed<State>::Locked state(mState);
520 if (state->get() != RELEASED) {
523 state->set(ALLOCATING);
565 Mutexed<State>::Locked state(mState);
566 state->set(RELEASED);
567 state.unlock();
569 state.lock();
575 Mutexed<State>::Locked state(mState);
576 if (state->get() != ALLOCATING) {
577 state
[all...]
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/
H A Dviddec_parse_sc.c109 viddec_sc_prefix_state_t *state = (viddec_sc_prefix_state_t *)sc_state; local
111 state->next_sc = cxt->buf[cxt->sc_end_pos];
112 state->second_scprfx_length = 3;
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
H A Dresults_holder.c44 int acc_state; /**< Describes accel state */
49 long compass_count; /**< compass state internal counter */
52 int compass_state; /**< Internal compass state */
138 * @param[in] state value to set for magnetic field strength. Should be non-zero if it is large.
140 void inv_set_large_mag_field(int state) argument
142 rh.large_mag_field = state;
145 /** Gets the accel state set by inv_set_acc_state()
146 * @return accel state.
153 /** Sets the accel state. See inv_get_acc_state() to get the value.
154 * @param[in] state valu
156 inv_set_acc_state(int state) argument
176 inv_set_motion_state(unsigned char state) argument
417 inv_set_accel_bias_found(int state) argument
435 inv_set_compass_bias_found(int state) argument
443 inv_set_compass_state(int state) argument
[all...]
/hardware/qcom/gps/msm8909w_3100/android/location_api/
H A DMeasurementAPIClient.cpp157 out.state |= IGnssMeasurementCallback::GnssMeasurementState::STATE_CODE_LOCK;
159 out.state |= IGnssMeasurementCallback::GnssMeasurementState::STATE_BIT_SYNC;
161 out.state |= IGnssMeasurementCallback::GnssMeasurementState::STATE_SUBFRAME_SYNC;
163 out.state |= IGnssMeasurementCallback::GnssMeasurementState::STATE_TOW_DECODED;
165 out.state |= IGnssMeasurementCallback::GnssMeasurementState::STATE_MSEC_AMBIGUOUS;
167 out.state |= IGnssMeasurementCallback::GnssMeasurementState::STATE_SYMBOL_SYNC;
169 out.state |= IGnssMeasurementCallback::GnssMeasurementState::STATE_GLO_STRING_SYNC;
171 out.state |= IGnssMeasurementCallback::GnssMeasurementState::STATE_GLO_TOD_DECODED;
173 out.state |= IGnssMeasurementCallback::GnssMeasurementState::STATE_BDS_D2_BIT_SYNC;
175 out.state |
[all...]
/hardware/qcom/gps/msm8998/android/location_api/
H A DGnssMeasurementAPIClient.cpp180 out.state |= IGnssMeasurementCallback::GnssMeasurementState::STATE_CODE_LOCK;
182 out.state |= IGnssMeasurementCallback::GnssMeasurementState::STATE_BIT_SYNC;
184 out.state |= IGnssMeasurementCallback::GnssMeasurementState::STATE_SUBFRAME_SYNC;
186 out.state |= IGnssMeasurementCallback::GnssMeasurementState::STATE_TOW_DECODED;
188 out.state |= IGnssMeasurementCallback::GnssMeasurementState::STATE_MSEC_AMBIGUOUS;
190 out.state |= IGnssMeasurementCallback::GnssMeasurementState::STATE_SYMBOL_SYNC;
192 out.state |= IGnssMeasurementCallback::GnssMeasurementState::STATE_GLO_STRING_SYNC;
194 out.state |= IGnssMeasurementCallback::GnssMeasurementState::STATE_GLO_TOD_DECODED;
196 out.state |= IGnssMeasurementCallback::GnssMeasurementState::STATE_BDS_D2_BIT_SYNC;
198 out.state |
[all...]
/hardware/qcom/audio/voice_processing/
H A Dvoice_processing.c47 // Session state
53 // Effect/Preprocessor state
65 uint32_t state; // current state (enum effect_state) member in struct:effect_s
74 uint32_t state; // current state (enum session_state) member in struct:session_s
169 LOG_ALWAYS_FATAL("Bad state transition from %d to %d", from, to);
171 static int effect_set_state(struct effect_s *effect, uint32_t state) argument
174 ALOGV("effect_set_state() id %d, new %d old %d", effect->id, state, effect->state);
[all...]
/hardware/interfaces/gnss/1.0/default/
H A DGnssMeasurement.cpp54 auto state = static_cast<GnssMeasurementState>(entry.state); local
55 if (state & IGnssMeasurementCallback::GnssMeasurementState::STATE_TOW_DECODED) {
56 state |= IGnssMeasurementCallback::GnssMeasurementState::STATE_TOW_KNOWN;
58 if (state & IGnssMeasurementCallback::GnssMeasurementState::STATE_GLO_TOD_DECODED) {
59 state |= IGnssMeasurementCallback::GnssMeasurementState::STATE_GLO_TOD_KNOWN;
66 .state = state,
139 gnssData.measurements[i].state = entry.state;
[all...]
/hardware/interfaces/light/2.0/default/
H A DLight.cpp50 Return<Status> Light::setLight(Type type, const LightState& state) { argument
60 .color = state.color,
61 .flashMode = static_cast<int>(state.flashMode),
62 .flashOnMS = state.flashOnMs,
63 .flashOffMS = state.flashOffMs,
64 .brightnessMode = static_cast<int>(state.brightnessMode),
/hardware/intel/img/hwcomposer/merrifield/common/base/
H A DDisplayAnalyzer.h43 void postVideoEvent(int instanceID, int state);
71 int state; member in struct:android::intel::DisplayAnalyzer::Event::VideoEvent
85 void handleVideoEvent(int instanceID, int state);
103 // Video playback state, must match defintion in Multi Display Service
131 // map video instance ID to video state
/hardware/broadcom/libbt/src/
H A Dbt_vendor_brcm.c150 int *state = (int *) param; local
152 if (*state == BT_VND_PWR_ON)
217 uint8_t *state = (uint8_t *) param; local
218 uint8_t wake_assert = (*state == BT_VND_LPM_WAKE_ASSERT) ? \

Completed in 7675 milliseconds

1234567891011>>