Home
last modified time | relevance | path

Searched refs:action (Results 1 – 25 of 113) sorted by relevance

12345

/hardware/interfaces/automotive/vehicle/aidl/impl/utils/common/test/
DRecurrentTimerTest.cpp66 auto action = getCallback(0); in TEST_F() local
67 timer.registerTimerCallback(interval, action); in TEST_F()
71 timer.unregisterTimerCallback(action); in TEST_F()
82 auto action = getCallback(0); in TEST_F() local
83 timer.registerTimerCallback(interval, action); in TEST_F()
87 timer.unregisterTimerCallback(action); in TEST_F()
93 timer.registerTimerCallback(interval, action); in TEST_F()
106 auto action = getCallback(0); in TEST_F() local
107 timer->registerTimerCallback(interval, action); in TEST_F()
170 auto action = getCallback(0); in TEST_F() local
[all …]
/hardware/google/interfaces/light/1.1/default/
DLightExt.cpp53 const char *action = NULL; in applyHBM() local
57 action = HBM_OFF; in applyHBM()
61 action = HBM_SV; in applyHBM()
64 action = HBM_ON; in applyHBM()
67 if (action) { in applyHBM()
68 if (!android::base::WriteStringToFile(action, kHighBrightnessModeNode)) { in applyHBM()
69 ALOGE("write %s to HBM sysfs file failed!", action); in applyHBM()
73 ALOGD("write %s to HBM sysfs file succeeded", action); in applyHBM()
/hardware/broadcom/libbt/src/
Dupio.c214 void upio_start_stop_timer(int action) { in upio_start_stop_timer() argument
217 if (action == UPIO_ASSERT) { in upio_start_stop_timer()
363 void upio_set(uint8_t pio, uint8_t action, uint8_t polarity) in upio_set() argument
371 UPIODBG("%s : pio %d action %d, polarity %d", __FUNCTION__, pio, action, polarity); in upio_set()
376 if (upio_state[UPIO_LPM_MODE] == action) in upio_set()
378 UPIODBG("LPM is %s already", lpm_mode[action]); in upio_set()
382 upio_state[UPIO_LPM_MODE] = action; in upio_set()
394 if (action == UPIO_ASSERT) in upio_set()
418 if (action == UPIO_ASSERT) in upio_set()
447 if (upio_state[UPIO_BT_WAKE] == action) in upio_set()
[all …]
/hardware/google/pixel/misc_writer/include/misc_writer/
Dmisc_writer.h82 explicit MiscWriter(const MiscWriterActions& action) : action_(action) {} in MiscWriter() argument
83 explicit MiscWriter(const MiscWriterActions &action, const char data) in MiscWriter() argument
84 : action_(action), chardata_(data) {} in MiscWriter()
85 explicit MiscWriter(const MiscWriterActions &action, std::string data) in MiscWriter() argument
86 : action_(action), stringdata_(data) {} in MiscWriter()
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/
DRecurrentTimer.h43 RecurrentTimer(const Action& action) : mAction(action) { in RecurrentTimer() argument
44 mTimerThread = std::thread(&RecurrentTimer::loop, this, action); in RecurrentTimer()
94 void loop(const Action& action) { in loop() argument
121 action(cookies); in loop()
/hardware/google/pixel/health/
DBatteryThermalControl.cpp34 std::string action = (isEnable) ? "enabled" : "disabled"; in setThermalMode() local
39 if (android::base::WriteStringToFile(action, mThermalSocMode)) { in setThermalMode()
42 LOG(ERROR) << "Error Write: \"" << action << "\" to " << mThermalSocMode in setThermalMode()
/hardware/google/pixel/power-libperfmgr/libperfmgr/
DHintManager.cc127 for (auto &action : actions_.at(hint_type).hint_actions) { in DoHintAction() local
128 if (!action.enable_property.empty() && in DoHintAction()
129 !android::base::GetBoolProperty(action.enable_property, true)) { in DoHintAction()
133 switch (action.type) { in DoHintAction()
135 DoHint(action.value); in DoHintAction()
138 EndHint(action.value); in DoHintAction()
141 if (actions_.find(action.value) == actions_.end()) { in DoHintAction()
142 LOG(ERROR) << "Failed to find " << action.value << " action"; in DoHintAction()
145 actions_.at(action.value).mask_requesters.insert(hint_type); in DoHintAction()
151 << static_cast<std::underlying_type<HintActionType>::type>(action.type) in DoHintAction()
[all …]
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/proto/
D802.11.h277 uint8 action; member
285 uint8 action; member
291 uint8 action; member
297 uint8 action; member
303 uint8 action; member
373 uint8 action; member
395 uint8 action; member
418 uint8 action; member
424 uint8 action; member
791 uint8 action; member
[all …]
/hardware/broadcom/libbt/include/
Dupio.h104 void upio_set(uint8_t pio, uint8_t action, uint8_t polarity);
/hardware/interfaces/automotive/vehicle/aidl_property/android/hardware/automotive/vehicle/
DInitialUserInfoResponse.aidl38 InitialUserInfoResponseAction action = InitialUserInfoResponseAction.DEFAULT;
/hardware/interfaces/automotive/vehicle/aidl_property/aidl_api/android.hardware.automotive.vehicle.property/2/android/hardware/automotive/vehicle/
DInitialUserInfoResponse.aidl38 …android.hardware.automotive.vehicle.InitialUserInfoResponseAction action = android.hardware.automo…
/hardware/interfaces/automotive/vehicle/aidl_property/aidl_api/android.hardware.automotive.vehicle.property/current/android/hardware/automotive/vehicle/
DInitialUserInfoResponse.aidl38 …android.hardware.automotive.vehicle.InitialUserInfoResponseAction action = android.hardware.automo…
/hardware/interfaces/automotive/vehicle/aidl_property/aidl_api/android.hardware.automotive.vehicle.property/1/android/hardware/automotive/vehicle/
DInitialUserInfoResponse.aidl38 …android.hardware.automotive.vehicle.InitialUserInfoResponseAction action = android.hardware.automo…
/hardware/qcom/bt/msm8998/libbt-vendor/src/
Dhw_ar3k.c1391 void lpm_set_ar3k(uint8_t pio, uint8_t action, uint8_t polarity) in lpm_set_ar3k() argument
1397 ALOGI("lpm mode: %d action: %d", pio, action); in lpm_set_ar3k()
1404 if (upio_state[UPIO_LPM_MODE] == action) in lpm_set_ar3k()
1406 ALOGI("LPM is %s already", lpm_mode[action]); in lpm_set_ar3k()
1419 if (action == UPIO_ASSERT) in lpm_set_ar3k()
1435 upio_state[UPIO_LPM_MODE] = action; in lpm_set_ar3k()
1436 ALOGI("LPM is set to %s", lpm_mode[action]); in lpm_set_ar3k()
1448 if ((action == UPIO_ASSERT) && (upio_state[UPIO_BT_WAKE] == action)) in lpm_set_ar3k()
1450 ALOGI("BT_WAKE is %s already", lpm_state[action]); in lpm_set_ar3k()
1455 if (action == UPIO_DEASSERT) in lpm_set_ar3k()
[all …]
/hardware/qcom/bt/msm8992/libbt-vendor/src/
Dhw_ar3k.c1383 void lpm_set_ar3k(uint8_t pio, uint8_t action, uint8_t polarity) in lpm_set_ar3k() argument
1389 ALOGI("lpm mode: %d action: %d", pio, action); in lpm_set_ar3k()
1394 if (upio_state[UPIO_LPM_MODE] == action) in lpm_set_ar3k()
1396 ALOGI("LPM is %s already", lpm_mode[action]); in lpm_set_ar3k()
1409 if (action == UPIO_ASSERT) in lpm_set_ar3k()
1425 upio_state[UPIO_LPM_MODE] = action; in lpm_set_ar3k()
1426 ALOGI("LPM is set to %s", lpm_mode[action]); in lpm_set_ar3k()
1438 if ((action == UPIO_ASSERT) && (upio_state[UPIO_BT_WAKE] == action)) in lpm_set_ar3k()
1440 ALOGI("BT_WAKE is %s already", lpm_state[action]); in lpm_set_ar3k()
1445 if (action == UPIO_DEASSERT) in lpm_set_ar3k()
[all …]
/hardware/qcom/bt/msm8909w_3100/libbt-vendor/src/
Dhw_ar3k.c1387 void lpm_set_ar3k(uint8_t pio, uint8_t action, uint8_t polarity) in lpm_set_ar3k() argument
1393 ALOGI("lpm mode: %d action: %d", pio, action); in lpm_set_ar3k()
1400 if (upio_state[UPIO_LPM_MODE] == action) in lpm_set_ar3k()
1402 ALOGI("LPM is %s already", lpm_mode[action]); in lpm_set_ar3k()
1415 if (action == UPIO_ASSERT) in lpm_set_ar3k()
1431 upio_state[UPIO_LPM_MODE] = action; in lpm_set_ar3k()
1432 ALOGI("LPM is set to %s", lpm_mode[action]); in lpm_set_ar3k()
1444 if ((action == UPIO_ASSERT) && (upio_state[UPIO_BT_WAKE] == action)) in lpm_set_ar3k()
1446 ALOGI("BT_WAKE is %s already", lpm_state[action]); in lpm_set_ar3k()
1451 if (action == UPIO_DEASSERT) in lpm_set_ar3k()
[all …]
/hardware/qcom/bt/msm8996/libbt-vendor/src/
Dhw_ar3k.c1389 void lpm_set_ar3k(uint8_t pio, uint8_t action, uint8_t polarity) in lpm_set_ar3k() argument
1395 ALOGI("lpm mode: %d action: %d", pio, action); in lpm_set_ar3k()
1402 if (upio_state[UPIO_LPM_MODE] == action) in lpm_set_ar3k()
1404 ALOGI("LPM is %s already", lpm_mode[action]); in lpm_set_ar3k()
1417 if (action == UPIO_ASSERT) in lpm_set_ar3k()
1433 upio_state[UPIO_LPM_MODE] = action; in lpm_set_ar3k()
1434 ALOGI("LPM is set to %s", lpm_mode[action]); in lpm_set_ar3k()
1446 if ((action == UPIO_ASSERT) && (upio_state[UPIO_BT_WAKE] == action)) in lpm_set_ar3k()
1448 ALOGI("BT_WAKE is %s already", lpm_state[action]); in lpm_set_ar3k()
1453 if (action == UPIO_DEASSERT) in lpm_set_ar3k()
[all …]
/hardware/qcom/bt/msm8909/libbt-vendor/src/
Dhw_ar3k.c1383 void lpm_set_ar3k(uint8_t pio, uint8_t action, uint8_t polarity) in lpm_set_ar3k() argument
1389 ALOGI("lpm mode: %d action: %d", pio, action); in lpm_set_ar3k()
1394 if (upio_state[UPIO_LPM_MODE] == action) in lpm_set_ar3k()
1396 ALOGI("LPM is %s already", lpm_mode[action]); in lpm_set_ar3k()
1409 if (action == UPIO_ASSERT) in lpm_set_ar3k()
1425 upio_state[UPIO_LPM_MODE] = action; in lpm_set_ar3k()
1426 ALOGI("LPM is set to %s", lpm_mode[action]); in lpm_set_ar3k()
1438 if ((action == UPIO_ASSERT) && (upio_state[UPIO_BT_WAKE] == action)) in lpm_set_ar3k()
1440 ALOGI("BT_WAKE is %s already", lpm_state[action]); in lpm_set_ar3k()
1445 if (action == UPIO_DEASSERT) in lpm_set_ar3k()
[all …]
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_Filtering.cpp318 …sg.filter_spec_list[pos].filter_action = GetQmiFilterAction(rule_table_v4->rules[cnt].rule.action); in AddWanDLFilteringRule()
343 …sg.filter_spec_list[pos].filter_action = GetQmiFilterAction(rule_table_v6->rules[cnt].rule.action); in AddWanDLFilteringRule()
400 …filter_spec_ex_list[pos].filter_action = GetQmiFilterAction(rule_table_v4->rules[cnt].rule.action); in AddWanDLFilteringRule()
427 …filter_spec_ex_list[pos].filter_action = GetQmiFilterAction(rule_table_v6->rules[cnt].rule.action); in AddWanDLFilteringRule()
484 ipa_filter_action_enum_v01 IPACM_Filtering::GetQmiFilterAction(ipa_flt_action action) in GetQmiFilterAction() argument
486 switch(action) in GetQmiFilterAction()
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/inc/
DIPACM_Filtering.h68 ipa_filter_action_enum_v01 GetQmiFilterAction(ipa_flt_action action);
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/
DIPACM_Filtering.cpp164 flt_rule_entry.rule.action = ruleTable->rules[cnt].rule.action; in AddFilteringRule_hw_index()
281 flt_rule_entry.rule.action = ruleTable->rules[cnt].rule.action; in AddFilteringRuleAfter_hw_index()
566 …sg.filter_spec_list[pos].filter_action = GetQmiFilterAction(rule_table_v4->rules[cnt].rule.action); in AddWanDLFilteringRule()
591 …sg.filter_spec_list[pos].filter_action = GetQmiFilterAction(rule_table_v6->rules[cnt].rule.action); in AddWanDLFilteringRule()
650 …filter_spec_ex_list[pos].filter_action = GetQmiFilterAction(rule_table_v4->rules[cnt].rule.action); in AddWanDLFilteringRule()
677 …filter_spec_ex_list[pos].filter_action = GetQmiFilterAction(rule_table_v6->rules[cnt].rule.action); in AddWanDLFilteringRule()
799 …filter_spec_ex2_list[pos].filter_action = GetQmiFilterAction(flt_rule_tbl->rules[cnt].rule.action); in AddOffloadFilteringRule()
975 ipa_filter_action_enum_v01 IPACM_Filtering::GetQmiFilterAction(ipa_flt_action action) in GetQmiFilterAction() argument
977 switch(action) in GetQmiFilterAction()
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/
Dloc_eng_agps.cpp750 int AgpsStateMachine::sendRsrcRequest(AGpsStatusValue action) const in sendRsrcRequest()
757 if ((NULL == s) == (GPS_RELEASE_AGPS_DATA_CONN == action)) { in sendRsrcRequest()
761 nifRequest.status = action; in sendRsrcRequest()
774 CALLBACK_LOG_CALLFLOW("agps_cb", %s, loc_get_agps_status_name(action)); in sendRsrcRequest()
853 int DSStateMachine :: sendRsrcRequest(AGpsStatusValue action) const in sendRsrcRequest()
870 cbData.action = action; in sendRsrcRequest()
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/
Dloc_eng_agps.cpp750 int AgpsStateMachine::sendRsrcRequest(AGpsStatusValue action) const in sendRsrcRequest()
757 if ((NULL == s) == (GPS_RELEASE_AGPS_DATA_CONN == action)) { in sendRsrcRequest()
761 nifRequest.status = action; in sendRsrcRequest()
773 CALLBACK_LOG_CALLFLOW("agps_cb", %s, loc_get_agps_status_name(action)); in sendRsrcRequest()
852 int DSStateMachine :: sendRsrcRequest(AGpsStatusValue action) const in sendRsrcRequest()
869 cbData.action = action; in sendRsrcRequest()
/hardware/qcom/gps/loc_api/libloc_api_50001/
Dloc_eng_agps.cpp750 int AgpsStateMachine::sendRsrcRequest(AGpsStatusValue action) const in sendRsrcRequest()
757 if ((NULL == s) == (GPS_RELEASE_AGPS_DATA_CONN == action)) { in sendRsrcRequest()
761 nifRequest.status = action; in sendRsrcRequest()
773 CALLBACK_LOG_CALLFLOW("agps_cb", %s, loc_get_agps_status_name(action)); in sendRsrcRequest()
852 int DSStateMachine :: sendRsrcRequest(AGpsStatusValue action) const in sendRsrcRequest()
869 cbData.action = action; in sendRsrcRequest()
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/
Dloc_eng_agps.cpp750 int AgpsStateMachine::sendRsrcRequest(AGpsStatusValue action) const in sendRsrcRequest()
757 if ((NULL == s) == (GPS_RELEASE_AGPS_DATA_CONN == action)) { in sendRsrcRequest()
761 nifRequest.status = action; in sendRsrcRequest()
773 CALLBACK_LOG_CALLFLOW("agps_cb", %s, loc_get_agps_status_name(action)); in sendRsrcRequest()
852 int DSStateMachine :: sendRsrcRequest(AGpsStatusValue action) const in sendRsrcRequest()
869 cbData.action = action; in sendRsrcRequest()

12345