/system/chre/host/hal_generic/common/ |
D | context_hub_settings_util.cc | 36 using ::android::hardware::contexthub::V1_2::Setting; 38 static_assert(sizeof(::android::hardware::contexthub::V1_1::Setting) == 39 sizeof(Setting), 42 bool getFbsSetting(const Setting &setting, fbs::Setting *fbsSetting) { in getFbsSetting() 46 case Setting::LOCATION: in getFbsSetting() 47 *fbsSetting = fbs::Setting::LOCATION; in getFbsSetting() 49 case Setting::WIFI_AVAILABLE: in getFbsSetting() 50 *fbsSetting = fbs::Setting::WIFI_AVAILABLE; in getFbsSetting() 52 case Setting::AIRPLANE_MODE: in getFbsSetting() 53 *fbsSetting = fbs::Setting::AIRPLANE_MODE; in getFbsSetting() [all …]
|
D | context_hub_settings_util.h | 41 const ::android::hardware::contexthub::V1_2::Setting &setting, 42 ::chre::fbs::Setting *fbsSetting);
|
/system/chre/core/ |
D | settings.cc | 31 constexpr size_t kNumSettings = static_cast<size_t>(Setting::SETTING_MAX); 42 bool getIndexForSetting(Setting setting, size_t *index) { in getIndexForSetting() 43 if (setting < Setting::SETTING_MAX) { in getIndexForSetting() 51 void setSettingState(Setting setting, SettingState state) { in setSettingState() 60 const char *getSettingStateString(Setting setting) { in getSettingStateString() 75 void sendSettingChangedNotification(Setting setting, SettingState state) { in sendSettingChangedNotification() 92 Setting setting = NestedDataPtr<Setting>(data); in settingChangedCallback() 115 void postSettingChange(Setting setting, SettingState state) { in postSettingChange() 120 SystemCallbackType::SettingChangeEvent, NestedDataPtr<Setting>(setting), in postSettingChange() 124 SettingState getSettingState(Setting setting) { in getSettingState() [all …]
|
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() 457 void AudioRequestManager::onSettingChanged(Setting setting, in onSettingChanged() 459 if (setting == Setting::MICROPHONE) { 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() 285 if (setting == Setting::LOCATION) { in onSettingChanged() 298 SettingState locationSetting = getSettingState(Setting::LOCATION); 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() 156 } else if (getSettingState(Setting::WIFI_AVAILABLE) == 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 | 26 enum class Setting : uint8_t { 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/V1_1/ |
D | generic_context_hub_v1_1.cc | 48 Return<void> GenericContextHubV1_1::onSettingChanged(Setting setting, in onSettingChanged() 50 fbs::Setting fbsSetting; in onSettingChanged() 52 if (getFbsSetting(reinterpret_cast<V1_2::Setting &>(setting), &fbsSetting) && in onSettingChanged()
|
D | generic_context_hub_v1_1.h | 46 Return<void> onSettingChanged(V1_1::Setting setting,
|
/system/chre/host/hal_generic/V1_2/ |
D | generic_context_hub_v1_2.cc | 77 Return<void> GenericContextHubV1_2::onSettingChanged(V1_1::Setting setting, in onSettingChanged() 79 return onSettingChanged_1_2(reinterpret_cast<V1_2::Setting &>(setting), in onSettingChanged() 84 Setting setting, SettingValue newValue) { in onSettingChanged_1_2() 85 fbs::Setting fbsSetting; in onSettingChanged_1_2()
|
D | generic_context_hub_v1_2.h | 52 Return<void> onSettingChanged(V1_1::Setting setting, 55 Return<void> onSettingChanged_1_2(V1_2::Setting setting,
|
/system/chre/platform/shared/ |
D | host_protocol_chre.cc | 263 bool HostProtocolChre::getSettingFromFbs(fbs::Setting setting, in getSettingFromFbs() 264 Setting *chreSetting) { in getSettingFromFbs() 267 case fbs::Setting::LOCATION: in getSettingFromFbs() 268 *chreSetting = Setting::LOCATION; in getSettingFromFbs() 270 case fbs::Setting::WIFI_AVAILABLE: in getSettingFromFbs() 271 *chreSetting = Setting::WIFI_AVAILABLE; in getSettingFromFbs() 273 case fbs::Setting::AIRPLANE_MODE: in getSettingFromFbs() 274 *chreSetting = Setting::AIRPLANE_MODE; in getSettingFromFbs() 276 case fbs::Setting::MICROPHONE: in getSettingFromFbs() 277 *chreSetting = Setting::MICROPHONE; in getSettingFromFbs()
|
D | chre_api_user_settings.cc | 25 using chre::Setting; 33 if (setting < static_cast<uint8_t>(Setting::SETTING_MAX)) { in chreUserSettingConfigureEvents()
|
/system/chre/platform/shared/include/chre/platform/shared/ |
D | host_protocol_chre.h | 75 static void handleSettingChangeMessage(fbs::Setting setting, 222 static bool getSettingFromFbs(fbs::Setting setting, Setting *chreSetting);
|
/system/chre/host/common/include/chre_host/ |
D | host_protocol_host.h | 229 flatbuffers::FlatBufferBuilder &builder, ::chre::fbs::Setting setting,
|
/system/chre/platform/shared/include/chre/platform/shared/generated/ |
D | host_messages_generated.h | 84 enum class Setting : int8_t { enum 93 inline const Setting (&EnumValuesSetting())[4] { in EnumValuesSetting() 94 static const Setting values[] = { in EnumValuesSetting() 95 Setting::LOCATION, in EnumValuesSetting() 96 Setting::WIFI_AVAILABLE, in EnumValuesSetting() 97 Setting::AIRPLANE_MODE, in EnumValuesSetting() 98 Setting::MICROPHONE in EnumValuesSetting() 114 inline const char *EnumNameSetting(Setting e) { in EnumNameSetting() 115 if (flatbuffers::IsOutRange(e, Setting::LOCATION, Setting::MICROPHONE)) return ""; in EnumNameSetting() 1629 chre::fbs::Setting setting() const { [all …]
|
/system/bt/osi/ |
D | Android.bp | 84 // TODO(armansito): Setting _GNU_SOURCE isn't very platform-independent but
|
/system/chre/host/common/ |
D | host_protocol_host.cc | 202 flatbuffers::FlatBufferBuilder &builder, ::chre::fbs::Setting setting, in encodeSettingChangeNotification()
|
/system/chre/host/common/include/chre_host/generated/ |
D | host_messages_generated.h | 107 enum class Setting : int8_t { enum 116 inline const Setting (&EnumValuesSetting())[4] { in EnumValuesSetting() 117 static const Setting values[] = { in EnumValuesSetting() 118 Setting::LOCATION, in EnumValuesSetting() 119 Setting::WIFI_AVAILABLE, in EnumValuesSetting() 120 Setting::AIRPLANE_MODE, in EnumValuesSetting() 121 Setting::MICROPHONE in EnumValuesSetting() 137 inline const char *EnumNameSetting(Setting e) { in EnumNameSetting() 138 if (flatbuffers::IsOutRange(e, Setting::LOCATION, Setting::MICROPHONE)) return ""; in EnumNameSetting() 2293 chre::fbs::Setting setting; [all …]
|
/system/extras/tests/workloads/ |
D | pwrtest.sh | 119 echo Setting usb pass-thru to $state
|
/system/chre/platform/slpi/ |
D | host_link.cc | 941 void HostMessageHandlers::handleSettingChangeMessage(fbs::Setting setting, in handleSettingChangeMessage() 943 Setting chreSetting; in handleSettingChangeMessage()
|
/system/chre/platform/shared/idl/ |
D | host_messages.fbs | 257 enum Setting : byte { 273 setting:Setting = LOCATION;
|
/system/chre/doc/ |
D | framework_build.md | 105 * Setting the target name and platform ID
|