/chre-3.4.0/core/ |
D | settings.cc | 38 bool getIndexForSetting(Setting setting, size_t *index) { in getIndexForSetting() argument 39 if (setting < Setting::SETTING_MAX) { in getIndexForSetting() 40 *index = static_cast<size_t>(setting); in getIndexForSetting() 47 void sendSettingChangedNotification(Setting setting, SettingState state) { in sendSettingChangedNotification() argument 49 auto settingAsInt = static_cast<uint8_t>(setting); in sendSettingChangedNotification() 53 eventData->setting = settingAsInt; in sendSettingChangedNotification() 79 void SettingManager::postSettingChange(Setting setting, SettingState state) { in postSettingChange() argument 81 static_cast<uint8_t>(setting), static_cast<uint8_t>(state)); in postSettingChange() 84 SystemCallbackType::SettingChangeEvent, NestedDataPtr<Setting>(setting), in postSettingChange() 88 SettingState SettingManager::getSettingState(Setting setting) { in getSettingState() argument [all …]
|
D | nanoapp.cc | 116 void Nanoapp::configureUserSettingEvent(uint8_t setting, bool enable) { in configureUserSettingEvent() argument 118 registerForBroadcastEvent(CHRE_EVENT_SETTING_CHANGED_FIRST_EVENT + setting); in configureUserSettingEvent() 121 setting); in configureUserSettingEvent()
|
D | gnss_manager.cc | 85 void GnssManager::onSettingChanged(Setting setting, SettingState state) { in onSettingChanged() argument 86 mLocationSession.onSettingChanged(setting, state); in onSettingChanged() 87 mMeasurementSession.onSettingChanged(setting, state); in onSettingChanged() 285 void GnssSession::onSettingChanged(Setting setting, SettingState state) { in onSettingChanged() argument 286 if (setting == Setting::LOCATION) { in onSettingChanged()
|
/chre-3.4.0/platform/shared/ |
D | chre_api_user_settings.cc | 28 DLL_EXPORT int8_t chreUserSettingGetState(uint8_t setting) { in chreUserSettingGetState() argument 31 .getSettingStateAsInt8(setting); in chreUserSettingGetState() 34 DLL_EXPORT void chreUserSettingConfigureEvents(uint8_t setting, bool enable) { in chreUserSettingConfigureEvents() argument 35 if (setting < static_cast<uint8_t>(Setting::SETTING_MAX)) { in chreUserSettingConfigureEvents() 37 nanoapp->configureUserSettingEvent(setting, enable); in chreUserSettingConfigureEvents()
|
D | host_protocol_chre.cc | 116 settingMessage->setting(), settingMessage->state()); in decodeMessageFromHost() 263 bool HostProtocolChre::getSettingFromFbs(fbs::Setting setting, in getSettingFromFbs() argument 266 switch (setting) { in getSettingFromFbs() 280 LOGE("Unknown setting %" PRIu8, static_cast<uint8_t>(setting)); in getSettingFromFbs()
|
D | log_buffer.cc | 125 void LogBuffer::updateNotificationSetting(LogBufferNotificationSetting setting, in updateNotificationSetting() argument 129 mNotificationSetting = setting; in updateNotificationSetting()
|
/chre-3.4.0/core/include/chre/core/ |
D | settings.h | 50 void postSettingChange(Setting setting, SettingState state); 61 SettingState getSettingState(Setting setting); 73 int8_t getSettingStateAsInt8(uint8_t setting); 90 void setSettingState(Setting setting, SettingState state); 92 const char *getSettingStateString(Setting setting);
|
D | gnss_manager.h | 101 void onSettingChanged(Setting setting, SettingState state); 414 void onSettingChanged(Setting setting, SettingState state);
|
D | nanoapp.h | 171 void configureUserSettingEvent(uint8_t setting, bool enable);
|
/chre-3.4.0/chre_api/include/chre_api/chre/ |
D | user_settings.h | 75 #error Too many setting changed events. 96 uint8_t setting; member 114 int8_t chreUserSettingGetState(uint8_t setting); 129 void chreUserSettingConfigureEvents(uint8_t setting, bool enable);
|
/chre-3.4.0/host/hal_generic/V1_2/ |
D | generic_context_hub_v1_2.cc | 77 Return<void> GenericContextHubV1_2::onSettingChanged(V1_1::Setting setting, in onSettingChanged() argument 79 return onSettingChanged_1_2(reinterpret_cast<V1_2::Setting &>(setting), in onSettingChanged() 84 Setting setting, SettingValue newValue) { in onSettingChanged_1_2() argument 87 if (getFbsSetting(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,
|
/chre-3.4.0/host/hal_generic/common/ |
D | context_hub_settings_util.cc | 42 bool getFbsSetting(const Setting &setting, fbs::Setting *fbsSetting) { in getFbsSetting() argument 45 switch (setting) { in getFbsSetting() 60 ALOGE("Setting update with invalid enum value %hhu", setting); in getFbsSetting()
|
D | context_hub_settings_util.h | 41 const ::android::hardware::contexthub::V1_2::Setting &setting,
|
/chre-3.4.0/host/hal_generic/V1_1/ |
D | generic_context_hub_v1_1.cc | 48 Return<void> GenericContextHubV1_1::onSettingChanged(Setting setting, in onSettingChanged() argument 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,
|
/chre-3.4.0/platform/shared/nanoapp/ |
D | nanoapp_support_lib_dso.cc | 325 int8_t chreUserSettingGetState(uint8_t setting) { in chreUserSettingGetState() argument 329 settingState = fptr(setting); in chreUserSettingGetState() 335 void chreUserSettingConfigureEvents(uint8_t setting, bool enable) { in chreUserSettingConfigureEvents() argument 338 fptr(setting, enable); in chreUserSettingConfigureEvents()
|
/chre-3.4.0/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);
|
D | log_buffer.h | 162 void updateNotificationSetting(LogBufferNotificationSetting setting,
|
/chre-3.4.0/apps/audio_world/ |
D | audio_world.cc | 135 if (event->setting != CHRE_USER_SETTING_MICROPHONE) { in handleAudioSettingChangedNotification() 136 LOGE("Unexpected setting ID: %u", event->setting); in handleAudioSettingChangedNotification()
|
/chre-3.4.0/java/test/settings/src/com/google/android/chre/test/setting/ |
D | ContextHubGnssSettingsTestExecutor.java | 16 package com.google.android.chre.test.setting;
|
D | ContextHubMicDisableSettingsTestExecutor.java | 16 package com.google.android.chre.test.setting;
|
/chre-3.4.0/std_overrides/ |
D | README.md | 13 developers need to enable it by setting a flag in the nanoapp Makefile:
|
/chre-3.4.0/host/common/ |
D | host_protocol_host.cc | 202 flatbuffers::FlatBufferBuilder &builder, ::chre::fbs::Setting setting, in encodeSettingChangeNotification() argument 205 fbs::CreateSettingChangeMessage(builder, setting, newState); in encodeSettingChangeNotification()
|
/chre-3.4.0/host/common/include/chre_host/ |
D | host_protocol_host.h | 229 flatbuffers::FlatBufferBuilder &builder, ::chre::fbs::Setting setting,
|