Home
last modified time | relevance | path

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

12

/system/chre/apps/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
57 : mSetTime(0), mDuration(duration), mStage(stage), mEventCount(0), 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_), timerId(CHRE_TIMER_INVALID), oneShot(oneShot_), in Stage()
61 void handleStageEvent(Stage *stage);
62 void markSuccess(uint32_t stage);
Dtimer_stress_test.cc159 void TimerStressTest::markSuccess(uint32_t stage) { in markSuccess() argument
160 chreLog(CHRE_LOG_DEBUG, "Stage %" PRIu32 " succeeded", stage); in markSuccess()
161 uint32_t finishedBit = (1 << stage); in markSuccess()
163 sendFatalFailureToHost("markSuccess bad stage:", &stage); in markSuccess()
166 sendFatalFailureToHost("timer over-triggered:", &stage); in markSuccess()
Dsend_message_to_host_test.cc115 uint32_t stage = getSmallDataIndex(msg); in smallMessageCallback() local
117 switch (stage) { in smallMessageCallback()
130 sendInternalFailureToHost("Invalid index", &stage); in smallMessageCallback()
136 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()
202 &stage); in markSuccess()
205 sendFatalFailureToHost("markSuccess bad stage", &stage); in markSuccess()
Dheap_exhaustion_stability_test.cc268 void HeapExhaustionStabilityTest::markSuccess(uint32_t stage) { in markSuccess() argument
269 chreLog(CHRE_LOG_DEBUG, "Stage %" PRIu32 " succeeded", stage); in markSuccess()
270 uint32_t finishedBit = (1 << stage); in markSuccess()
272 sendFatalFailureToHost("markSuccess bad stage", &stage); in markSuccess()
277 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,
Dtimer_stress_test.h49 void markSuccess(uint32_t stage);
Dheap_exhaustion_stability_test.h66 void markSuccess(uint32_t stage);
Dsend_message_to_host_test.h94 static void markSuccess(uint32_t stage);
/system/chre/apps/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 %d 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.cc125 const char* stage = "protocol_list"; in create_base_record() local
131 stage = "service_name"; in create_base_record()
137 stage = "browseable"; in create_base_record()
151 stage, channel, name, with_obex); in create_base_record()
182 const char* stage = "create_base_record"; in add_sdp_by_uuid() local
192 stage = "service_class_sequence"; in add_sdp_by_uuid()
205 __func__, stage, name); in add_sdp_by_uuid()
226 const char* stage = "create_base_record"; in add_pbap_sdp() local
231 stage = "service_class"; in add_pbap_sdp()
235 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/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/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/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.
/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.
/system/core/fs_mgr/
DAndroid.bp106 // Use libfs_mgr in recovery, first-stage-init, or when libfiemap or overlayfs
109 // Use libfs_mgr_binder when not in recovery/first-stage init, or when overlayfs
DREADME.overlayfs.md70 process and can occur at first stage init, or when the
73 …ching OverlayFS early, SEpolicy or init can be pushed and used after the exec phases of each stage.
123 - First stage init, or ramdisk, can not be overriden.
/system/sepolicy/public/
Dkernel.te14 # Get file contexts during first stage
94 # Allow the first-stage init (which is running in the kernel domain) to execute the
95 # dynamic linker when it re-executes /init to switch into the second stage.
/system/sepolicy/prebuilts/api/29.0/public/
Dkernel.te14 # Get file contexts during first stage
91 # Allow the first-stage init (which is running in the kernel domain) to execute the
92 # dynamic linker when it re-executes /init to switch into the second stage.
/system/sepolicy/prebuilts/api/30.0/public/
Dkernel.te14 # Get file contexts during first stage
94 # Allow the first-stage init (which is running in the kernel domain) to execute the
95 # dynamic linker when it re-executes /init to switch into the second stage.

12