/system/chre/core/ |
D | settings.cc | 39 bool getIndexForSetting(Setting setting, size_t *index) { in getIndexForSetting() argument 40 if (setting < Setting::SETTING_MAX) { in getIndexForSetting() 41 *index = static_cast<size_t>(setting); in getIndexForSetting() 48 void sendSettingChangedNotification(Setting setting, bool enabled) { in sendSettingChangedNotification() argument 50 auto settingAsInt = static_cast<uint8_t>(setting); in sendSettingChangedNotification() 54 eventData->setting = settingAsInt; in sendSettingChangedNotification() 81 void SettingManager::postSettingChange(Setting setting, bool enabled) { in postSettingChange() argument 83 static_cast<uint8_t>(setting), enabled); in postSettingChange() 86 SystemCallbackType::SettingChangeEvent, NestedDataPtr<Setting>(setting), in postSettingChange() 90 bool SettingManager::getSettingEnabled(Setting setting) { in getSettingEnabled() argument [all …]
|
/system/media/audio_route/ |
D | audio_route.c | 81 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/platform/shared/ |
D | chre_api_user_settings.cc | 27 DLL_EXPORT int8_t chreUserSettingGetState(uint8_t setting) { in chreUserSettingGetState() argument 30 .getSettingStateAsInt8(setting); in chreUserSettingGetState() 33 DLL_EXPORT void chreUserSettingConfigureEvents(uint8_t setting, bool enable) { in chreUserSettingConfigureEvents() argument 34 if (setting < static_cast<uint8_t>(Setting::SETTING_MAX)) { in chreUserSettingConfigureEvents() 36 nanoapp->configureUserSettingEvent(setting, enable); in chreUserSettingConfigureEvents()
|
/system/chre/core/include/chre/core/ |
D | settings.h | 49 void postSettingChange(Setting setting, bool enabled); 59 bool getSettingEnabled(Setting setting); 71 int8_t getSettingStateAsInt8(uint8_t setting); 88 void setSettingState(Setting setting, bool enabled); 90 const char *getSettingEnabledString(Setting setting);
|
D | gnss_manager.h | 111 void onSettingChanged(Setting setting, bool enabled); 428 void onSettingChanged(Setting setting, bool enabled);
|
/system/chre/chre_api/legacy/v1_5/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);
|
/system/chre/chre_api/legacy/v1_6/chre/ |
D | user_settings.h | 82 #error Too many setting changed events. 103 uint8_t setting; member 121 int8_t chreUserSettingGetState(uint8_t setting); 136 void chreUserSettingConfigureEvents(uint8_t setting, bool enable);
|
/system/chre/chre_api/include/chre_api/chre/ |
D | user_settings.h | 85 #error Too many setting changed events. 106 uint8_t setting; member 124 int8_t chreUserSettingGetState(uint8_t setting); 139 void chreUserSettingConfigureEvents(uint8_t setting, bool enable);
|
/system/chre/chre_api/legacy/v1_7/chre/ |
D | user_settings.h | 82 #error Too many setting changed events. 103 uint8_t setting; member 121 int8_t chreUserSettingGetState(uint8_t setting); 136 void chreUserSettingConfigureEvents(uint8_t setting, bool enable);
|
/system/chre/host/hal_generic/V1_2/ |
D | generic_context_hub_v1_2.cc | 79 Return<void> GenericContextHubV1_2::onSettingChanged(V1_1::Setting setting, in onSettingChanged() argument 81 return onSettingChanged_1_2(reinterpret_cast<V1_2::Setting &>(setting), in onSettingChanged() 86 Setting setting, SettingValue newValue) { in onSettingChanged_1_2() argument 89 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,
|
/system/chre/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 | multi_client_context_hub_base.h | 75 ScopedAStatus onSettingChanged(Setting setting, bool enabled) override; 123 inline bool isSettingEnabled(Setting setting) { in isSettingEnabled() argument 124 return mSettingEnabled.find(setting) != mSettingEnabled.end() && in isSettingEnabled() 125 mSettingEnabled[setting]; in isSettingEnabled()
|
D | multi_client_context_hub_base.cc | 55 bool getFbsSetting(const Setting &setting, fbs::Setting *fbsSetting) { in getFbsSetting() argument 57 switch (setting) { in getFbsSetting() 69 LOGE("Setting update with invalid enum value %hhu", setting); in getFbsSetting() 201 ScopedAStatus MultiClientContextHubBase::onSettingChanged(Setting setting, in onSettingChanged() argument 203 mSettingEnabled[setting] = enabled; in onSettingChanged() 206 (setting == Setting::WIFI_MAIN || setting == Setting::WIFI_SCANNING || in onSettingChanged() 207 setting == Setting::BT_MAIN || setting == Setting::BT_SCANNING); in onSettingChanged() 208 if (!isWifiOrBtSetting && getFbsSetting(setting, &fbsSetting)) { in onSettingChanged()
|
D | context_hub_settings_util.h | 41 const ::android::hardware::contexthub::V1_2::Setting &setting,
|
/system/chre/test/simulation/ |
D | settings_test.cc | 173 for (uint8_t setting = CHRE_USER_SETTING_LOCATION; in TEST_F() local 174 setting <= CHRE_USER_SETTING_BLE_AVAILABLE; ++setting) { in TEST_F() 175 int8_t expectedSettingState = (setting == CHRE_USER_SETTING_AIRPLANE_MODE) in TEST_F() 178 EXPECT_EQ(expectedSettingState, chreUserSettingGetState(setting)); in TEST_F()
|
/system/chre/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,
|
/system/chre/host/hal_generic/aidl/ |
D | generic_context_hub_aidl.h | 71 ::ndk::ScopedAStatus onSettingChanged(Setting setting, bool enabled) override; 219 bool isSettingEnabled(Setting setting) { in isSettingEnabled() argument 220 return mSettingEnabled.count(setting) > 0 && mSettingEnabled[setting]; in isSettingEnabled()
|
D | generic_context_hub_aidl.cc | 76 bool getFbsSetting(const Setting &setting, fbs::Setting *fbsSetting) { in getFbsSetting() argument 79 switch (setting) { in getFbsSetting() 91 LOGE("Setting update with invalid enum value %hhu", setting); in getFbsSetting() 173 ScopedAStatus ContextHub::onSettingChanged(Setting setting, bool enabled) { in onSettingChanged() argument 174 mSettingEnabled[setting] = enabled; in onSettingChanged() 177 (setting == Setting::WIFI_MAIN || setting == Setting::WIFI_SCANNING || in onSettingChanged() 178 setting == Setting::BT_MAIN || setting == Setting::BT_SCANNING); in onSettingChanged() 180 if (!isWifiOrBtSetting && getFbsSetting(setting, &fbsSetting)) { in onSettingChanged()
|
/system/chre/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()
|
/system/sepolicy/prebuilts/api/32.0/private/ |
D | auditctl.te | 5 # setting rate limits on SELinux denials.
|
/system/sepolicy/prebuilts/api/34.0/private/ |
D | auditctl.te | 5 # setting rate limits on SELinux denials.
|
/system/sepolicy/prebuilts/api/33.0/private/ |
D | auditctl.te | 5 # setting rate limits on SELinux denials.
|
/system/sepolicy/prebuilts/api/29.0/private/ |
D | auditctl.te | 5 # setting rate limits on SELinux denials.
|