Home
last modified time | relevance | path

Searched refs:stage (Results 1 – 25 of 51) sorted by relevance

123

/system/chre/apps/test/chqts/src/general_test/
Dtimer_cancel_test.cc47 Stage *stage = &mStages[i]; in startStages() local
48 stage->timerId = chreTimerSet(kDuration, stage, stage->oneShot); in startStages()
49 if (stage->timerId == CHRE_TIMER_INVALID) { in startStages()
52 if (stage->expectCallback) { in startStages()
57 if (!chreTimerCancel(stage->timerId)) { in startStages()
60 if (chreTimerCancel(stage->timerId)) { in startStages()
104 void TimerCancelTest::handleStageEvent(Stage *stage) { in handleStageEvent() argument
105 if (!stage->expectCallback) { in handleStageEvent()
106 sendFatalFailureToHost("Timer didn't cancel:", &stage->stage); in handleStageEvent()
110 stage->expectCallback = false; in handleStageEvent()
[all …]
Dtimer_set_test.cc55 TimerSetTest::Stage::Stage(uint32_t stage, uint64_t duration, in Stage() argument
59 mStage(stage), in Stage()
172 Stage *stage = getStageFromCookie(eventData); in handleEvent() local
173 if (stage == nullptr) { in handleEvent()
176 stage->processEvent(timestamp, this); in handleEvent()
181 void TimerSetTest::markSuccess(uint32_t stage) { in markSuccess() argument
182 chreLog(CHRE_LOG_DEBUG, "Stage %" PRIu32 " succeeded", stage); in markSuccess()
183 uint32_t finishedBit = (1 << stage); in markSuccess()
185 sendFatalFailureToHost("markSuccess bad stage", &stage); in markSuccess()
Dtimer_cancel_test.h41 uint32_t stage; member
48 : stage(stage_), in Stage()
63 void handleStageEvent(Stage *stage);
64 void markSuccess(uint32_t stage);
Dtimer_stress_test.cc156 void TimerStressTest::markSuccess(uint32_t stage) { in markSuccess() argument
157 chreLog(CHRE_LOG_DEBUG, "Stage %" PRIu32 " succeeded", stage); in markSuccess()
158 uint32_t finishedBit = (1 << stage); in markSuccess()
160 sendFatalFailureToHost("markSuccess bad stage:", &stage); in markSuccess()
163 sendFatalFailureToHost("timer over-triggered:", &stage); in markSuccess()
Dsend_message_to_host_test.cc117 uint32_t stage = getSmallDataIndex(msg); in smallMessageCallback() local
119 switch (stage) { in smallMessageCallback()
131 sendInternalFailureToHost("Invalid index", &stage); in smallMessageCallback()
137 markSuccess(stage); in smallMessageCallback()
197 void SendMessageToHostTest::markSuccess(uint32_t stage) { in markSuccess() argument
198 chreLog(CHRE_LOG_DEBUG, "Stage %" PRIu32 " succeeded", stage); in markSuccess()
199 uint32_t finishedBit = (1 << stage); in markSuccess()
201 sendFatalFailureToHost("callback called multiple times for stage:", &stage); in markSuccess()
204 sendFatalFailureToHost("markSuccess bad stage", &stage); in markSuccess()
Dheap_exhaustion_stability_test.cc264 void HeapExhaustionStabilityTest::markSuccess(uint32_t stage) { in markSuccess() argument
265 chreLog(CHRE_LOG_DEBUG, "Stage %" PRIu32 " succeeded", stage); in markSuccess()
266 uint32_t finishedBit = (1 << stage); in markSuccess()
268 sendFatalFailureToHost("markSuccess bad stage", &stage); in markSuccess()
273 sendFatalFailureToHost("markSuccess stage triggered twice", &stage); in markSuccess()
Dtimer_set_test.h34 void markSuccess(uint32_t stage);
44 Stage(uint32_t stage, uint64_t duration, const void *cookie, bool oneShot);
Dtimer_stress_test.h49 void markSuccess(uint32_t stage);
Dheap_exhaustion_stability_test.h66 void markSuccess(uint32_t stage);
Dsend_message_to_host_test.h92 static void markSuccess(uint32_t stage);
/system/chre/apps/test/chqts/src/shared/
Dtest_success_marker.cc32 void TestSuccessMarker::markStage(uint32_t stage) { in markStage() argument
33 uint32_t finishedBit = (1 << stage); in markStage()
35 sendFatalFailureToHost("markSuccess invalid stage", &stage); in markStage()
38 chreLog(CHRE_LOG_DEBUG, "Stage %" PRIu32 " succeeded", stage); in markStage()
47 bool TestSuccessMarker::isStageMarked(uint32_t stage) { in isStageMarked() argument
49 if (stage <= 32) { in isStageMarked()
50 uint32_t finishedBit = (1 << stage); in isStageMarked()
56 void TestSuccessMarker::markStageAndSuccessOnFinish(uint32_t stage) { in markStageAndSuccessOnFinish() argument
57 if (!isStageMarked(stage)) { in markStageAndSuccessOnFinish()
58 markStage(stage); in markStageAndSuccessOnFinish()
Dtest_success_marker.h41 void markStage(uint32_t stage);
49 void markStageAndSuccessOnFinish(uint32_t stage);
60 bool isStageMarked(uint32_t stage);
/system/bt/btif/src/
Dbtif_sock_sdp.cc112 const char* stage = "protocol_list"; in create_base_record() local
118 stage = "service_name"; in create_base_record()
124 stage = "browseable"; in create_base_record()
138 stage, channel, name, with_obex); in create_base_record()
169 const char* stage = "create_base_record"; in add_sdp_by_uuid() local
179 stage = "service_class_sequence"; in add_sdp_by_uuid()
199 __func__, stage, name); in add_sdp_by_uuid()
220 const char* stage = "create_base_record"; in add_pbap_sdp() local
225 stage = "service_class"; in add_pbap_sdp()
229 stage = "profile_descriptor_list"; in add_pbap_sdp()
[all …]
/system/tools/hidl/
DType.cpp163 status_t Type::recursivePass(ParseStage stage, const std::function<status_t(Type*)>& func, in recursivePass() argument
165 if (mParseStage > stage) return OK; in recursivePass()
166 if (mParseStage < stage) return UNKNOWN_ERROR; in recursivePass()
175 err = nextType->recursivePass(stage, func, visited); in recursivePass()
180 err = nextRef->shallowGet()->recursivePass(stage, func, visited); in recursivePass()
187 status_t Type::recursivePass(ParseStage stage, const std::function<status_t(const Type*)>& func, in recursivePass() argument
189 if (mParseStage > stage) return OK; in recursivePass()
190 if (mParseStage < stage) return UNKNOWN_ERROR; in recursivePass()
199 err = nextType->recursivePass(stage, func, visited); in recursivePass()
204 err = nextRef->shallowGet()->recursivePass(stage, func, visited); in recursivePass()
[all …]
DType.h97 status_t recursivePass(ParseStage stage, const std::function<status_t(Type*)>& func,
99 status_t recursivePass(ParseStage stage, const std::function<status_t(const Type*)>& func,
146 void setParseStage(ParseStage stage);
/system/core/shell_and_utilities/
DAndroid.bp59 // shell and utilities for first stage console. The list of binaries are
/system/chre/external/kiss_fft/
Dkissfft.hh78 … void kf_work( int stage,cpx_type * Fout, const cpx_type * f, size_t fstride,size_t in_stride) in kf_work() argument
80 int p = _stageRadix[stage]; in kf_work()
81 int m = _stageRemainder[stage]; in kf_work()
96 kf_work(stage+1, Fout , f, fstride*p,in_stride); in kf_work()
/system/sepolicy/private/
Dinit.te61 # Second-stage init performs a test for whether the kernel has SELinux hooks
73 # from the first-stage daemon to the second-stage.
Dsnapuserd.te23 # This arises due to first-stage init opening /dev/null without F_CLOEXEC
/system/sepolicy/prebuilts/api/29.0/private/
Dgsid.te63 # first-stage init. So instead of directly writing to /data, we:
75 # gsid uses /metadata/gsi to communicate GSI boot information to first-stage
77 # stage.
/system/core/fs_mgr/libfiemap/
DREADME.md14 - Mapping the image as a block device during first-stage init. This is simple
23 This is a super partition header that allows first-stage init to create dynamic
31 mounted, so first-stage init has no issues mapping dynamic partitions from
/system/sepolicy/prebuilts/api/31.0/private/
Dinit.te61 # Second-stage init performs a test for whether the kernel has SELinux hooks
73 # from the first-stage daemon to the second-stage.
Dsnapuserd.te23 # This arises due to first-stage init opening /dev/null without F_CLOEXEC
/system/bt/
DREADME.md100 build each stage separately (if you want to iterate on something specific):
109 You can choose to run only a specific stage by passing an arg via `--target`.
111 Currently, Rust builds are a separate stage that uses Cargo to build. See
/system/sepolicy/prebuilts/api/30.0/private/
Dgsid.te88 # first-stage init. So instead of directly writing to /data, we:
100 # gsid uses /metadata/gsi to communicate GSI boot information to first-stage
102 # stage.

123