Home
last modified time | relevance | path

Searched refs:SettingState (Results 1 – 20 of 20) sorted by relevance

/system/chre/core/
Dsettings.cc34 SettingState gSettingStateList[kNumSettings];
51 void setSettingState(Setting setting, SettingState state) { in setSettingState()
62 case SettingState::ENABLED: in getSettingStateString()
65 case SettingState::DISABLED: in getSettingStateString()
75 void sendSettingChangedNotification(Setting setting, SettingState state) { in sendSettingChangedNotification()
93 SettingState settingState = NestedDataPtr<SettingState>(extraData); in settingChangedCallback()
115 void postSettingChange(Setting setting, SettingState state) { in postSettingChange()
121 settingChangedCallback, NestedDataPtr<SettingState>(state)); in postSettingChange()
124 SettingState getSettingState(Setting setting) { in getSettingState()
131 return SettingState::UNKNOWN; in getSettingState()
Daudio_request_manager.cc209 (getSettingState(Setting::MICROPHONE) != SettingState::DISABLED)) { in doConfigureSource()
260 (getSettingState(Setting::MICROPHONE) == SettingState::DISABLED); in createAudioRequest()
350 (getSettingState(Setting::MICROPHONE) == SettingState::DISABLED); in handleAudioAvailabilitySync()
362 if (getSettingState(Setting::MICROPHONE) == SettingState::DISABLED) { in scheduleNextAudioDataEvent()
458 SettingState state) { in onSettingChanged()
463 if (state == SettingState::DISABLED) { in onSettingChanged()
Dgnss_manager.cc85 void GnssManager::onSettingChanged(Setting setting, SettingState state) { in onSettingChanged()
268 (getSettingState(Setting::LOCATION) == SettingState::DISABLED)) { in handleReportEvent()
284 void GnssSession::onSettingChanged(Setting setting, SettingState state) { in onSettingChanged()
298 SettingState locationSetting = getSettingState(Setting::LOCATION); in updatePlatformRequest()
301 (locationSetting == SettingState::ENABLED) && !mRequests.empty(); in updatePlatformRequest()
382 getSettingState(Setting::LOCATION) == SettingState::DISABLED) { in configure()
683 if (getSettingState(Setting::LOCATION) == SettingState::DISABLED) { in dispatchQueuedStateTransitions()
Dwifi_request_manager.cc97 if (getSettingState(Setting::LOCATION) == SettingState::DISABLED) { in requestRanging()
157 SettingState::DISABLED) { in requestScan()
580 if (getSettingState(Setting::LOCATION) == SettingState::DISABLED) { in dispatchQueuedRangingRequest()
598 if (getSettingState(Setting::LOCATION) == SettingState::DISABLED) { in handleRangingEventSync()
/system/chre/core/include/chre/core/
Dsettings.h34 enum class SettingState : int8_t { UNKNOWN = -1, ENABLED = 0, DISABLED }; enum
42 void postSettingChange(Setting setting, SettingState state);
53 SettingState getSettingState(Setting setting);
Dgnss_manager.h101 void onSettingChanged(Setting setting, SettingState state);
414 void onSettingChanged(Setting setting, SettingState state);
Daudio_request_manager.h112 void onSettingChanged(Setting setting, SettingState state);
/system/chre/host/hal_generic/common/
Dcontext_hub_settings_util.cc68 fbs::SettingState *fbsState) { in getFbsSettingValue()
73 *fbsState = fbs::SettingState::ENABLED; in getFbsSettingValue()
76 *fbsState = fbs::SettingState::DISABLED; in getFbsSettingValue()
Dcontext_hub_settings_util.h53 ::chre::fbs::SettingState *fbsState);
/system/chre/platform/shared/include/chre/platform/shared/
Dhost_protocol_chre.h76 fbs::SettingState state);
231 static bool getSettingStateFromFbs(fbs::SettingState state,
232 SettingState *chreSettingState);
/system/chre/platform/shared/
Dhost_protocol_chre.cc287 bool HostProtocolChre::getSettingStateFromFbs(fbs::SettingState state, in getSettingStateFromFbs()
288 SettingState *chreSettingState) { in getSettingStateFromFbs()
291 case fbs::SettingState::DISABLED: in getSettingStateFromFbs()
292 *chreSettingState = SettingState::DISABLED; in getSettingStateFromFbs()
294 case fbs::SettingState::ENABLED: in getSettingStateFromFbs()
295 *chreSettingState = SettingState::ENABLED; in getSettingStateFromFbs()
Dchre_api_user_settings.cc26 using chre::SettingState;
/system/chre/host/hal_generic/V1_1/
Dgeneric_context_hub_v1_1.cc51 fbs::SettingState fbsState; in onSettingChanged()
/system/chre/host/hal_generic/V1_2/
Dgeneric_context_hub_v1_2.cc86 fbs::SettingState fbsState; in onSettingChanged_1_2()
/system/chre/host/common/include/chre_host/
Dhost_protocol_host.h230 ::chre::fbs::SettingState newState);
/system/chre/platform/shared/include/chre/platform/shared/generated/
Dhost_messages_generated.h121 enum class SettingState : int8_t { enum
128 inline const SettingState (&EnumValuesSettingState())[2] { in EnumValuesSettingState()
129 static const SettingState values[] = { in EnumValuesSettingState()
130 SettingState::DISABLED, in EnumValuesSettingState()
131 SettingState::ENABLED in EnumValuesSettingState()
145 inline const char *EnumNameSettingState(SettingState e) { in EnumNameSettingState()
146 if (flatbuffers::IsOutRange(e, SettingState::DISABLED, SettingState::ENABLED)) return ""; in EnumNameSettingState()
1633 chre::fbs::SettingState state() const {
1634 return static_cast<chre::fbs::SettingState>(GetField<int8_t>(VT_STATE, 0));
1651 void add_state(chre::fbs::SettingState state) {
[all …]
/system/chre/host/common/
Dhost_protocol_host.cc203 ::chre::fbs::SettingState newState) { in encodeSettingChangeNotification()
/system/chre/host/common/include/chre_host/generated/
Dhost_messages_generated.h144 enum class SettingState : int8_t { enum
151 inline const SettingState (&EnumValuesSettingState())[2] { in EnumValuesSettingState()
152 static const SettingState values[] = { in EnumValuesSettingState()
153 SettingState::DISABLED, in EnumValuesSettingState()
154 SettingState::ENABLED in EnumValuesSettingState()
168 inline const char *EnumNameSettingState(SettingState e) { in EnumNameSettingState()
169 if (flatbuffers::IsOutRange(e, SettingState::DISABLED, SettingState::ENABLED)) return ""; in EnumNameSettingState()
2294 chre::fbs::SettingState state;
2297 state(chre::fbs::SettingState::DISABLED) {
2317 chre::fbs::SettingState state() const {
[all …]
/system/chre/platform/slpi/
Dhost_link.cc942 fbs::SettingState state) { in handleSettingChangeMessage()
944 SettingState chreSettingState; in handleSettingChangeMessage()
/system/chre/platform/shared/idl/
Dhost_messages.fbs265 enum SettingState : byte {
276 state:SettingState = DISABLED;