Home
last modified time | relevance | path

Searched refs:duration (Results 1 – 25 of 99) sorted by relevance

1234

/hardware/interfaces/health/storage/1.0/vts/functional/
DVtsHalHealthStorageV1_0TargetTest.cpp46 std::string toString(std::chrono::duration<R, std::milli> time) { in toString()
58 bool wait(std::chrono::duration<R, P> duration) { in wait() argument
60 return waitLocked(&lock, duration); in wait()
71 bool waitLocked(std::unique_lock<std::mutex>* lock, std::chrono::duration<R, P> duration) { in waitLocked() argument
72 mCv.wait_for(*lock, duration, [this] { return mFinished; }); in waitLocked()
95 void waitForResult(std::chrono::duration<R, P> timeout, Result expected) { in waitForResult()
124 bool ping(std::chrono::duration<R, P> timeout) { in ping()
/hardware/interfaces/gnss/2.0/
DIGnssConfiguration.hal33 * This method sets the emergency session extension duration. The GNSS HAL
35 * location requests for this extra duration after the user initiated emergency
39 * session duration post emergency call.
42 * extended duration for emergency SUPL and Control Plane location requests.
/hardware/interfaces/neuralnetworks/1.3/
DIPreparedModel.hal84 * @param measure Specifies whether or not to measure duration of the execution.
85 * The duration runs from the time the driver sees the call
94 * output false within this duration, the
96 * duration is provided, the maximum amount of
98 * When provided, the duration must not exceed
102 * duration of execution. The callback object's notify function must
160 * @param measure Specifies whether or not to measure duration of the execution.
161 * The duration runs from the time the driver sees the call
170 * output false within this duration, the
172 * duration is provided, the maximum amount of
[all …]
DIFencedExecutionCallback.hal24 * and duration information from an IPreparedModel::executeFenced call.
30 * result and duration information. The method must only be called after the actual
45 * @return timingLaunched The duration starts when executeFenced is called and ends when
52 * @return timingFenced The duration starts when all waitFor sync fences have been signaled
/hardware/st/nfc/st21nfc/include/
Dhalcore.h76 uint32_t duration);
77 bool HalSendDownstreamTimer(HALHANDLE hHAL, uint32_t duration);
/hardware/libhardware/modules/camera/3_4/metadata/
Dtypes.h68 int64_t duration; member
74 duration(raw[3]) {}
Dmetadata_reader.cpp203 if (stall.duration < 0) { in StreamStallDurations()
206 static_cast<long long>(stall.duration)); in StreamStallDurations()
/hardware/st/nfc/st21nfc/hal/
Dhalcore.cc316 uint32_t duration) { in HalSendDownstreamTimer() argument
334 msg.length = duration; in HalSendDownstreamTimer()
346 bool HalSendDownstreamTimer(HALHANDLE hHAL, uint32_t duration) { in HalSendDownstreamTimer() argument
353 msg.length = duration; in HalSendDownstreamTimer()
439 inst->timer.duration - HalTimeDiffInMs(inst->timer.startTime, *now); in HalCalcSemWaitingTime()
472 static void HalStartTimer(HalInstance* inst, uint32_t duration) { in HalStartTimer() argument
476 inst->timer.duration = duration; in HalStartTimer()
/hardware/interfaces/biometrics/face/1.0/
DIBiometricsFaceClientCallback.hal119 * duration must be greater than 0, and when lockout ends, duration must
122 * the duration must be MAX_UINT64.
124 * @param duration the remaining lockout duration in milliseconds, or 0
127 oneway onLockoutChanged(uint64_t duration);
/hardware/google/pixel/power-libperfmgr/
DInteractionHandler.cpp125 void InteractionHandler::Acquire(int32_t duration) { in Acquire() argument
134 int inputDuration = duration + 650; in Acquire()
158 ALOGV("%s: input: %d final duration: %d", __func__, duration, finalDuration); in Acquire()
DInteractionHandler.h43 void Acquire(int32_t duration);
/hardware/interfaces/vibrator/aidl/vts/
DVtsHalVibratorTargetTest.cpp279 int32_t duration; in TEST_P() local
283 vibrator->getPrimitiveDuration(primitive, &duration).exceptionCode()); in TEST_P()
404 std::chrono::milliseconds duration; in TEST_P() local
416 duration = std::chrono::milliseconds(durationMs); in TEST_P()
422 EXPECT_EQ(completionFuture.wait_for(duration + allowedLatency), in TEST_P()
428 EXPECT_LE(elapsed.count(), (duration + allowedLatency).count()) << toString(primitive); in TEST_P()
429 EXPECT_GE(elapsed.count(), (duration - allowedLatency).count()) << toString(primitive); in TEST_P()
/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dcpuhint.h55 int (*fn_lock_acquire_)(int handle, int duration, int *hints, int num_args) = NULL;
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dcpuhint.h55 int (*fn_lock_acquire_)(int handle, int duration, int *hints, int num_args) = NULL;
/hardware/qcom/sdm845/display/sdm/libs/hwc2/
Dcpuhint.h55 int (*fn_lock_acquire_)(int handle, int duration, int *hints, int num_args) = NULL;
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dcpuhint.h55 int (*fn_lock_acquire_)(int handle, int duration, int *hints, int num_args) = NULL;
/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dcpuhint.h55 int (*fn_lock_acquire_)(int handle, int duration, int *hints, int num_args) = NULL;
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
Dcpuhint.h55 int (*fn_lock_acquire_)(int handle, int duration, int *hints, int num_args) = NULL;
/hardware/qcom/audio/legacy/libalsa-intf/
Darec.c50 static int duration = 0; variable
405 if (duration == 0) { in rec_raw()
409 count *= (uint32_t)duration; in rec_raw()
456 if (duration == 0) { in rec_wav()
460 count *= (uint32_t)duration; in rec_wav()
563 duration = (int)strtol(optarg, NULL, 0); in main()
/hardware/google/av/codec2/hidl/1.0/utils/include/codec2/hidl/1.0/
Dtypes.h182 std::chrono::steady_clock::duration refreshInterval = 4500ms);
190 std::chrono::steady_clock::duration refreshInterval = 4500ms);
206 std::chrono::steady_clock::duration mRefreshInterval;
/hardware/interfaces/health/2.1/vts/functional/
DVtsHalHealthV2_1TargetTest.cpp93 bool waitInvoke(std::chrono::duration<R, P> duration) { in waitInvoke() argument
95 bool r = invoked_notify_.wait_for(lock, duration, [this] { return this->invoked_; }); in waitInvoke()
/hardware/interfaces/sensors/common/vts/utils/
DSensorsHidlTestBase.cpp65 useconds_t duration = std::min(SLEEP_GRANULARITY, timeLimitUs); in collectEvents() local
66 usleep(duration); in collectEvents()
67 timeLimitUs -= duration; in collectEvents()
361 std::chrono::seconds duration, in testStreamingOperation() argument
368 const useconds_t minTimeUs = std::chrono::microseconds(duration).count(); in testStreamingOperation()
369 const size_t minNEvent = duration / samplingPeriod; in testStreamingOperation()
/hardware/st/nfc/1.0/hal/
Dhalcore.c319 size_t size, uint8_t duration) in HalSendDownstreamTimer() argument
338 msg.length = duration; in HalSendDownstreamTimer()
438 inst->timer.duration - HalTimeDiffInMs(inst->timer.startTime, *now); in HalCalcSemWaitingTime()
472 static void HalStartTimer(HalInstance* inst, uint32_t duration) in HalStartTimer() argument
477 inst->timer.duration = duration; in HalStartTimer()
/hardware/interfaces/tests/msgq/1.0/default/
DBenchmarkMsgQ.cpp99 clientRcvTime((std::chrono::high_resolution_clock::duration( in sendTimeData()
102 (std::chrono::high_resolution_clock::duration(mTimeData[i]))); in sendTimeData()
/hardware/qcom/wlan/qcwcn/wpa_supplicant_8_lib/
Ddriver_cmd_nl80211.c136 int wpa_driver_set_p2p_noa(void *priv, u8 count, int start, int duration) in wpa_driver_set_p2p_noa() argument
142 snprintf(buf, sizeof(buf), "P2P_SET_NOA %d %d %d", count, start, duration); in wpa_driver_set_p2p_noa()

1234