/system/chre/core/ |
D | settings.cc | 34 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()
|
D | audio_request_manager.cc | 209 (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()
|
D | gnss_manager.cc | 85 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()
|
D | wifi_request_manager.cc | 97 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/ |
D | settings.h | 34 enum class SettingState : int8_t { UNKNOWN = -1, ENABLED = 0, DISABLED }; enum 42 void postSettingChange(Setting setting, SettingState state); 53 SettingState getSettingState(Setting setting);
|
D | gnss_manager.h | 101 void onSettingChanged(Setting setting, SettingState state); 414 void onSettingChanged(Setting setting, SettingState state);
|
D | audio_request_manager.h | 112 void onSettingChanged(Setting setting, SettingState state);
|
/system/chre/host/hal_generic/common/ |
D | context_hub_settings_util.cc | 68 fbs::SettingState *fbsState) { in getFbsSettingValue() 73 *fbsState = fbs::SettingState::ENABLED; in getFbsSettingValue() 76 *fbsState = fbs::SettingState::DISABLED; in getFbsSettingValue()
|
D | context_hub_settings_util.h | 53 ::chre::fbs::SettingState *fbsState);
|
/system/chre/platform/shared/include/chre/platform/shared/ |
D | host_protocol_chre.h | 76 fbs::SettingState state); 231 static bool getSettingStateFromFbs(fbs::SettingState state, 232 SettingState *chreSettingState);
|
/system/chre/platform/shared/ |
D | host_protocol_chre.cc | 287 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()
|
D | chre_api_user_settings.cc | 26 using chre::SettingState;
|
/system/chre/host/hal_generic/V1_1/ |
D | generic_context_hub_v1_1.cc | 51 fbs::SettingState fbsState; in onSettingChanged()
|
/system/chre/host/hal_generic/V1_2/ |
D | generic_context_hub_v1_2.cc | 86 fbs::SettingState fbsState; in onSettingChanged_1_2()
|
/system/chre/host/common/include/chre_host/ |
D | host_protocol_host.h | 230 ::chre::fbs::SettingState newState);
|
/system/chre/platform/shared/include/chre/platform/shared/generated/ |
D | host_messages_generated.h | 121 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/ |
D | host_protocol_host.cc | 203 ::chre::fbs::SettingState newState) { in encodeSettingChangeNotification()
|
/system/chre/host/common/include/chre_host/generated/ |
D | host_messages_generated.h | 144 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/ |
D | host_link.cc | 942 fbs::SettingState state) { in handleSettingChangeMessage() 944 SettingState chreSettingState; in handleSettingChangeMessage()
|
/system/chre/platform/shared/idl/ |
D | host_messages.fbs | 265 enum SettingState : byte { 276 state:SettingState = DISABLED;
|