Home
last modified time | relevance | path

Searched refs:setting (Results 1 – 25 of 149) sorted by relevance

123456

/system/chre/core/
Dsettings.cc42 bool getIndexForSetting(Setting setting, size_t *index) { in getIndexForSetting() argument
43 if (setting < Setting::SETTING_MAX) { in getIndexForSetting()
44 *index = static_cast<size_t>(setting); in getIndexForSetting()
51 void setSettingState(Setting setting, SettingState state) { in setSettingState() argument
53 if (!getIndexForSetting(setting, &index)) { in setSettingState()
54 LOGE("Unknown setting %" PRId8, static_cast<int8_t>(setting)); in setSettingState()
60 const char *getSettingStateString(Setting setting) { in getSettingStateString() argument
61 switch (getSettingState(setting)) { in getSettingStateString()
75 void sendSettingChangedNotification(Setting setting, SettingState state) { in sendSettingChangedNotification() argument
77 auto settingAsInt = static_cast<uint8_t>(setting); in sendSettingChangedNotification()
[all …]
Dnanoapp.cc116 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()
/system/chre/platform/shared/
Dchre_api_user_settings.cc28 DLL_EXPORT int8_t chreUserSettingGetState(uint8_t setting) { in chreUserSettingGetState() argument
29 return chre::getSettingStateAsInt8(setting); in chreUserSettingGetState()
32 DLL_EXPORT void chreUserSettingConfigureEvents(uint8_t setting, bool enable) { in chreUserSettingConfigureEvents() argument
33 if (setting < static_cast<uint8_t>(Setting::SETTING_MAX)) { in chreUserSettingConfigureEvents()
35 nanoapp->configureUserSettingEvent(setting, enable); in chreUserSettingConfigureEvents()
Dhost_protocol_chre.cc116 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()
/system/media/audio_route/
Daudio_route.c81 struct mixer_setting *setting; member
148 struct mixer_ctl *ctl = index_to_ctl(ar, path->setting[i].ctl_index);
152 for (j = 0; j < path->setting[i].num_values; j++)
153 ALOGE(" id=%d value=0x%02x", j, path->setting[i].value.bytes[j]);
155 for (j = 0; j < path->setting[i].num_values; j++)
156 ALOGE(" id=%d value=%d", j, path->setting[i].value.enumerated[j]);
158 for (j = 0; j < path->setting[i].num_values; j++)
159 ALOGE(" id=%d value=%ld", j, path->setting[i].value.integer[j]);
171 if (ar->mixer_path[i].setting) { in path_free()
174 free(ar->mixer_path[i].setting[j].value.ptr); in path_free()
[all …]
/system/chre/chre_api/include/chre_api/chre/
Duser_settings.h75 #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);
/system/chre/core/include/chre/core/
Dsettings.h42 void postSettingChange(Setting setting, SettingState state);
53 SettingState getSettingState(Setting setting);
64 int8_t getSettingStateAsInt8(uint8_t setting);
Dgnss_manager.h101 void onSettingChanged(Setting setting, SettingState state);
414 void onSettingChanged(Setting setting, SettingState state);
/system/chre/host/hal_generic/V1_2/
Dgeneric_context_hub_v1_2.cc77 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()
Dgeneric_context_hub_v1_2.h52 Return<void> onSettingChanged(V1_1::Setting setting,
55 Return<void> onSettingChanged_1_2(V1_2::Setting setting,
/system/chre/host/hal_generic/common/
Dcontext_hub_settings_util.cc42 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()
Dcontext_hub_settings_util.h41 const ::android::hardware::contexthub::V1_2::Setting &setting,
/system/chre/host/hal_generic/V1_1/
Dgeneric_context_hub_v1_1.cc48 Return<void> GenericContextHubV1_1::onSettingChanged(Setting setting, in onSettingChanged() argument
52 if (getFbsSetting(reinterpret_cast<V1_2::Setting &>(setting), &fbsSetting) && in onSettingChanged()
Dgeneric_context_hub_v1_1.h46 Return<void> onSettingChanged(V1_1::Setting setting,
/system/bt/gd/common/
Dinit_flags.cc59 auto setting = logging_debug_explicit_tag_settings.find(tag); in Load() local
60 if (setting == logging_debug_explicit_tag_settings.end()) { in Load()
/system/chre/platform/shared/nanoapp/
Dnanoapp_support_lib_dso.cc325 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()
/system/chre/platform/shared/include/chre/platform/shared/
Dhost_protocol_chre.h75 static void handleSettingChangeMessage(fbs::Setting setting,
222 static bool getSettingFromFbs(fbs::Setting setting, Setting *chreSetting);
/system/sepolicy/prebuilts/api/29.0/private/
Dauditctl.te5 # setting rate limits on SELinux denials.
/system/sepolicy/prebuilts/api/31.0/private/
Dauditctl.te5 # setting rate limits on SELinux denials.
/system/sepolicy/private/
Dauditctl.te5 # setting rate limits on SELinux denials.
/system/sepolicy/prebuilts/api/30.0/private/
Dauditctl.te5 # setting rate limits on SELinux denials.
/system/chre/apps/audio_world/
Daudio_world.cc135 if (event->setting != CHRE_USER_SETTING_MICROPHONE) { in handleAudioSettingChangedNotification()
136 LOGE("Unexpected setting ID: %u", event->setting); in handleAudioSettingChangedNotification()
/system/bt/doc/
Dbtsnoop_net.md7 Developer options and setting BT_NET_DEBUG flag to TRUE in the btsnoop_net.cc.
/system/extras/simpleperf/demo/JavaApi/app/
Dproguard-rules.pro3 # proguardFiles setting in build.gradle.
/system/extras/simpleperf/demo/SimpleperfExamplePureJava/
Dgradle.properties11 # The setting is particularly useful for tweaking memory settings.

123456