Home
last modified time | relevance | path

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

12345678

/hardware/interfaces/automotive/vehicle/aidl/impl/utils/common/test/
DRecurrentTimerTest.cpp84 auto action = getCallback(0); in TEST_F() local
85 timer.registerTimerCallback(interval, action); in TEST_F()
91 timer.unregisterTimerCallback(action); in TEST_F()
99 auto action = getCallback(0); in TEST_F() local
100 timer.registerTimerCallback(interval, action); in TEST_F()
104 timer.unregisterTimerCallback(action); in TEST_F()
110 timer.registerTimerCallback(interval, action); in TEST_F()
116 timer.unregisterTimerCallback(action); in TEST_F()
127 auto action = getCallback(0); in TEST_F() local
128 timer->registerTimerCallback(interval, action); in TEST_F()
[all …]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/
DgenRelease21 parser.add_argument('-internal', action='store_true',
23 parser.add_argument('-norefpages', action='store_true',
25 parser.add_argument('-singlerefpage', action='store_true',
27 parser.add_argument('-chunked', action='store_true',
29 parser.add_argument('-pdf', action='store_true',
32 parser.add_argument('-nov13', action='store_false', dest='v13',
34 parser.add_argument('-v12', action='store_true',
36 parser.add_argument('-v11', action='store_true',
38 parser.add_argument('-v10', action='store_true',
41 parser.add_argument('-nocorespec', action='store_false', dest='corespec',
[all …]
Dpromote.py134 parser.add_argument('-diag', action='store', dest='diagFile',
136 parser.add_argument('-warn', action='store', dest='warnFile',
138 parser.add_argument('-log', action='store', dest='logFile',
140 parser.add_argument('-overwrite', action='store_true',
142 parser.add_argument('-out', action='store', dest='outDir',
145 parser.add_argument('-suffix', action='store', dest='suffix',
150 parser.add_argument('--version', action='version', version='%(prog)s 1.0')
Dreflow.py527 parser.add_argument('-diag', action='store', dest='diagFile',
529 parser.add_argument('-warn', action='store', dest='warnFile',
531 parser.add_argument('-log', action='store', dest='logFile',
533 parser.add_argument('-overwrite', action='store_true',
535 parser.add_argument('-out', action='store', dest='outDir',
538 parser.add_argument('-nowrite', action='store_true',
540 parser.add_argument('-check', action='store', dest='check',
542 parser.add_argument('-checkVUID', action='store', dest='checkVUID',
544 parser.add_argument('-tagvu', action='store_true',
546 parser.add_argument('-nextvu', action='store', dest='nextvu', type=int,
[all …]
DstripAPI.py26 parser.add_argument('-input', action='store',
29 parser.add_argument('-output', action='store',
32 parser.add_argument('-keepAPI', action='store',
Dgenvk.py1067 parser.add_argument('-apiname', action='store',
1070 parser.add_argument('-mergeApiNames', action='store',
1073 parser.add_argument('-defaultExtensions', action='store',
1076 parser.add_argument('-extension', action='append',
1079 parser.add_argument('-removeExtensions', action='append',
1082 parser.add_argument('-emitExtensions', action='append',
1085 parser.add_argument('-emitSpirv', action='append',
1088 parser.add_argument('-emitFormats', action='append',
1091 parser.add_argument('-feature', action='append',
1094 parser.add_argument('-debug', action='store_true',
[all …]
Dmakemanaliases.py16 parser.add_argument('-genpath', action='store',
19 parser.add_argument('-refdir', action='store',
DtestSpecVersion.py28 parser.add_argument('-branch', action='store',
31 parser.add_argument('-registry', action='store',
/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/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/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/spec_tools/
Dmain.py41 action="store_true")
46 action="store_true")
51 action="store_true")
56 action="store_true")
60 action='store_true')
64 action='store_true')
68 action='store_true')
72 action='store_true')
76 action='store_true')
90 action='store_true')
[all …]
/hardware/google/gfxstream/guest/android-emu/aemu/base/fit/
DDefer.h103 bool operator==(const DeferredAction<T>& action, decltype(nullptr)) {
104 return !action;
107 bool operator==(decltype(nullptr), const DeferredAction<T>& action) {
108 return !action;
111 bool operator!=(const DeferredAction<T>& action, decltype(nullptr)) {
112 return !!action;
115 bool operator!=(decltype(nullptr), const DeferredAction<T>& action) {
116 return !!action;
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/
DmakeSpec38 parser.add_argument('-clean', action='store_true',
40 parser.add_argument('-extension', action='append',
43 parser.add_argument('-genpath', action='store',
46 parser.add_argument('-spec', action='store',
50 parser.add_argument('-version', action='store',
54 parser.add_argument('-registry', action='store',
57 parser.add_argument('-apiname', action='store',
60 parser.add_argument('-test', action='store_true',
62 parser.add_argument('-n', action='store_true', dest='dryrun',
64 parser.add_argument('-v', action='store_true', dest='verbose',
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/Retired/
DfixupRef.py137 action = actions[line]['action']
141 logDiag('ACTION:', action, 'REPLACE:', replace, 'at line', line)
145 if action == 'begin':
149 elif action == 'end':
154 print('ERROR: unrecognized action:', action, 'in',
174 parser.add_argument('-diag', action='store', dest='diagFile',
176 parser.add_argument('-warn', action='store', dest='warnFile',
178 parser.add_argument('-log', action='store', dest='logFile',
180 parser.add_argument('-outdir', action='store', dest='outDir',
183 parser.add_argument('-overwrite', action='store_true',
[all …]
DfindBalance.py139 parser.add_argument('-diag', action='store', dest='diagFile',
141 parser.add_argument('-warn', action='store', dest='warnFile',
143 parser.add_argument('-log', action='store', dest='logFile',
147 parser.add_argument('--version', action='version', version='%(prog)s 1.0')
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/config/
DmakeSubmit.py89 parser.add_argument('-extension', action='append',
92 parser.add_argument('-title', action='store',
95 parser.add_argument('-outdir', action='store',
98 parser.add_argument('-registry', action='store',
101 parser.add_argument('-apiname', action='store',
/hardware/google/gfxstream/guest/mesa/src/vulkan/util/
Dvk_entrypoints_gen.py229 required=True, action='append', dest='xml_files')
231 action='store_true', dest='gen_proto')
233 action='store_true', dest='gen_weak')
236 action='append', default=[], dest='prefixes')
239 action='append', default=[], dest='device_prefixes')
242 action='append', default=[], dest='includes')
/hardware/google/pixel/misc_writer/include/misc_writer/
Dmisc_writer.h138 explicit MiscWriter(const MiscWriterActions &action) : action_(action) {} in MiscWriter() argument
139 explicit MiscWriter(const MiscWriterActions &action, const char data) in MiscWriter() argument
140 : action_(action), chardata_(data) {} in MiscWriter()
141 explicit MiscWriter(const MiscWriterActions &action, std::string data) in MiscWriter() argument
142 : 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/gfxstream/guest/mesa/bin/
Dsymbols-check.py113 action='store',
117 action='store',
121 action='store',
124 action='store',
127 action='append',
Drefcnt-log-helper.py32 action='store',
36 action='store',
/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/google/gfxstream/guest/fuchsia/
Dreleasepackage.py16 parser.add_argument("--dry-run", action="store_true")
17 parser.add_argument("--ignore-branch", action="store_true")
18 parser.add_argument("--ignore-rebuild", action="store_true")
19 parser.add_argument("--ignore-buildtype", action="store_true")
/hardware/interfaces/biometrics/face/aidl/default/
DFakeLockoutTracker.cpp105 std::function<void(ISessionCallback*)> action = in startLockoutTimer() local
107 std::thread([timeout, action, cb]() { in startLockoutTimer()
109 action(cb); in startLockoutTimer()

12345678