/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardAbsKeyInputView.java | 84 long deadline = mLockPatternUtils.getLockoutAttemptDeadline( in reset() local 86 if (shouldLockout(deadline)) { in reset() 87 handleAttemptLockout(deadline); in reset() 94 protected boolean shouldLockout(long deadline) { in shouldLockout() argument 95 return deadline != 0; in shouldLockout() 213 long deadline = mLockPatternUtils.setLockoutAttemptDeadline( in onPasswordChecked() local 215 handleAttemptLockout(deadline); in onPasswordChecked()
|
D | KeyguardPatternView.java | 231 long deadline = mLockPatternUtils.getLockoutAttemptDeadline( in reset() local 233 if (deadline != 0) { in reset() 234 handleAttemptLockout(deadline); in reset() 359 long deadline = mLockPatternUtils.setLockoutAttemptDeadline( in onPatternChecked() local 361 handleAttemptLockout(deadline); in onPatternChecked()
|
/frameworks/ml/nn/runtime/ |
D | Manager.cpp | 103 const std::optional<Deadline>& deadline, const std::string& cacheDir, 139 const std::optional<Deadline>& deadline, 146 MeasureTiming measure, const std::optional<Deadline>& deadline, 245 const std::optional<Deadline>& deadline, const std::string& cacheDir, in prepareModel() argument 248 deadline, cacheDir, maybeToken); in prepareModel() 326 const std::optional<Deadline>& deadline, in execute() argument 404 request, measure, deadline, loopTimeoutDuration, preferSynchronous); in execute() 433 hal::MeasureTiming measure, const std::optional<Deadline>& deadline, in executeFenced() argument 505 mPreparedModel->executeFenced(request, waitForHandles, measure, deadline, in executeFenced() 578 const std::optional<Deadline>& deadline, const std::string& cacheDir, [all …]
|
D | VersionedInterfaces.h | 224 const std::optional<Deadline>& deadline, const std::string& cacheDir, 394 const std::optional<Deadline>& deadline, const std::string& cacheDir, 397 const std::optional<Deadline>& deadline, const std::string& cacheDir, 681 const std::optional<Deadline>& deadline, 768 hal::MeasureTiming measure, const std::optional<Deadline>& deadline, 777 const std::optional<Deadline>& deadline, 781 const std::optional<Deadline>& deadline,
|
D | ExecutionBuilder.cpp | 501 const std::optional<Deadline>& deadline, in asyncStartComputePartitioned() argument 537 auto [stepN, stepOutputShapes, stepTiming] = executor->compute(deadline, burstController); in asyncStartComputePartitioned() 630 uint64_t timeoutDurationAfterFence, const std::optional<Deadline>& deadline, in startComputeFenced() argument 675 executor->computeFenced(waitForFds, timeoutDurationAfterFence, deadline); in startComputeFenced() 745 const auto deadline = makeDeadline(mTimeoutDuration); in computeFenced() local 775 this, *mPlan, controller, waitFor, timeoutDurationAfterFence, deadline, allowFallback); in computeFenced() 790 const auto deadline = makeDeadline(mTimeoutDuration); in compute() local 836 asyncStartComputePartitioned(this, *mPlan, controller, allowFallback, deadline, in compute() 857 asyncStartComputePartitioned(this, *mPlan, controller, allowFallback, deadline, in compute() 862 [this, controller, allowFallback, deadline, executionCallback] { in compute() [all …]
|
D | CompilationBuilder.cpp | 59 const auto deadline = makeDeadline(mTimeoutDuration); in finish() local 66 int n = mModel->partitionTheWork(mDevices, mPreference, mPriority, deadline, &mPlan); in finish() 99 return mPlan.finish(mPreference, mPriority, deadline); in finish()
|
D | Manager.h | 62 hal::MeasureTiming measure, const std::optional<Deadline>& deadline, 72 hal::MeasureTiming measure, const std::optional<Deadline>& deadline, 108 hal::Priority priority, const std::optional<Deadline>& deadline,
|
D | VersionedInterfaces.cpp | 206 const Request& request, MeasureTiming measure, const std::optional<Deadline>& deadline, in executeAsynchronously() argument 226 const auto otp = makeTimePoint(deadline); in executeAsynchronously() 304 const Request& request, MeasureTiming measure, const std::optional<Deadline>& deadline, in executeSynchronously() argument 313 const auto otp = makeTimePoint(deadline); in executeSynchronously() 359 return executeAsynchronously(request, measure, deadline, loopTimeoutDuration); in executeSynchronously() 363 const Request& request, MeasureTiming measure, const std::optional<Deadline>& deadline, in execute() argument 367 return executeSynchronously(request, measure, deadline, loopTimeoutDuration); in execute() 371 return executeAsynchronously(request, measure, deadline, loopTimeoutDuration); in execute() 419 MeasureTiming measure, const std::optional<Deadline>& deadline, in executeFenced() argument 428 const auto otp = makeTimePoint(deadline); in executeFenced() [all …]
|
D | ExecutionBuilder.h | 268 const std::optional<Deadline>& deadline, 281 const std::optional<Deadline>& deadline); 291 const std::optional<Deadline>& deadline, const std::vector<const Memory*>& memories,
|
D | ExecutionPlan.cpp | 72 int compilationPriority, const std::optional<Deadline>& deadline, in compile() argument 92 device.prepareModel(makeModel, preference, priority, deadline, cacheDir, cacheToken); in compile() 613 const std::optional<Deadline>& deadline) { in finish() argument 615 CHECK(!deadline.has_value()); in finish() 716 int32_t priority, const std::optional<Deadline>& deadline) { in finish() argument 720 const int n = compile(*mDevice, *mModel, executionPreference, priority, deadline, *mCacheDir, in finish() 727 const std::optional<Deadline>& deadline) { in finish() argument 729 return mBody->finish(&getSourceModels(), executionPreference, priority, deadline); in finish() 1605 const std::optional<Deadline>& deadline, in partitionTheWork() argument 1609 deadline, plan)); in partitionTheWork() [all …]
|
D | ModelBuilder.h | 130 uint32_t priority, const std::optional<Deadline>& deadline, 163 const std::optional<Deadline>& deadline,
|
/frameworks/ml/nn/driver/sample/ |
D | SampleDriver.cpp | 195 const OptionalTimePoint& deadline, const hidl_vec<hidl_handle>&, in prepareModel_1_3() argument 199 return prepareModelBase(model, this, preference, priority, deadline, callback); in prepareModel_1_3() 453 const std::optional<Deadline>& deadline, in asyncExecute() argument 473 if (deadline.has_value()) { in asyncExecute() 474 executor.setDeadline(*deadline); in asyncExecute() 524 const auto deadline = makeDeadline(halDeadline); in executeBase() local 525 if (hasDeadlinePassed(deadline)) { in executeBase() 533 deadline, loopTimeoutDuration, callback] { in executeBase() 535 deadline, loopTimeoutDuration, callback); in executeBase() 557 const V1_3::Request& request, MeasureTiming measure, const OptionalTimePoint& deadline, in execute_1_3() argument [all …]
|
D | SampleDriverPartial.cpp | 53 const OptionalTimePoint& deadline, const hidl_vec<hidl_handle>&, in prepareModel_1_3() argument 59 return prepareModelBase(model, this, preference, priority, deadline, callback, in prepareModel_1_3()
|
D | SampleDriver.h | 95 hal::Priority priority, const hal::OptionalTimePoint& deadline, 104 const hal::OptionalTimePoint& deadline, 149 const hal::OptionalTimePoint& deadline, 157 const hal::OptionalTimePoint& deadline, 168 const hal::OptionalTimePoint& deadline,
|
D | SampleDriverUtils.h | 70 const auto deadline = makeDeadline(halDeadline); variable 71 if (hasDeadlinePassed(deadline)) {
|
D | SampleDriverPartial.h | 45 hal::Priority priority, const hal::OptionalTimePoint& deadline,
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/leak/ |
D | ReferenceTestUtils.java | 53 long deadline = SystemClock.uptimeMillis() + 5_000; in waitForCondition() local 55 if (SystemClock.uptimeMillis() > deadline) { in waitForCondition()
|
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/ |
D | MainActivity.java | 141 String deadline = mDeadlineEditText.getText().toString(); in scheduleJob() local 142 if (deadline != null && !TextUtils.isEmpty(deadline)) { in scheduleJob() 143 builder.setOverrideDeadline(Long.parseLong(deadline) * 1000); in scheduleJob()
|
/frameworks/base/core/java/android/os/ |
D | SynchronousResultReceiver.java | 78 final long deadline = System.currentTimeMillis() + timeoutMillis; in awaitResult() local 88 timeoutMillis -= deadline - System.currentTimeMillis(); in awaitResult()
|
/frameworks/native/libs/gui/tests/ |
D | Surface_test.cpp | 1221 mSurface->setNow(initialCompositorTiming.deadline - 1); in TEST_F() 1225 EXPECT_EQ(initialCompositorTiming.deadline, compositeDeadline); in TEST_F() 1360 mSurface->setNow(initialCompositorTiming.deadline - 1); in TEST_F() 1364 EXPECT_EQ(initialCompositorTiming.deadline, compositeDeadline); in TEST_F() 1377 EXPECT_EQ(initialCompositorTiming.deadline, compositeDeadline); in TEST_F() 1386 mSurface->setNow(mFrames[0].mRefreshes[1].kCompositorTiming.deadline); in TEST_F() 1390 EXPECT_EQ(mFrames[0].mRefreshes[1].kCompositorTiming.deadline, in TEST_F() 1401 mSurface->setNow(mFrames[1].mRefreshes[1].kCompositorTiming.deadline); in TEST_F() 1405 EXPECT_EQ(mFrames[1].mRefreshes[1].kCompositorTiming.deadline, in TEST_F() 1417 mSurface->setNow(mFrames[2].mRefreshes[1].kCompositorTiming.deadline); in TEST_F() [all …]
|
/frameworks/ml/nn/runtime/test/ |
D | TestExecution.cpp | 114 const OptionalTimePoint& deadline, in execute_1_3() argument 118 std::thread([this, &request, measure, &deadline, &loopTimeoutDuration, &callback] { in execute_1_3() 122 (void)mPreparedModelV1_3->execute_1_3(request, measure, deadline, in execute_1_3() 151 const OptionalTimePoint& deadline, in executeSynchronously_1_3() argument 157 return mPreparedModelV1_3->executeSynchronously_1_3(request, measure, deadline, in executeSynchronously_1_3() 190 MeasureTiming measure, const OptionalTimePoint& deadline, in executeFenced() argument 199 return mPreparedModelV1_3->executeFenced(request, waitFor, measure, deadline, in executeFenced() 335 const OptionalTimePoint& deadline, const hidl_vec<hidl_handle>& modelCache, in prepareModel_1_3() argument 340 model, preference, priority, deadline, modelCache, dataCache, token, localCallback); in prepareModel_1_3()
|
/frameworks/opt/net/voip/src/jni/rtp/ |
D | AudioGroup.cpp | 734 int deadline = tick + 10; in threadLoop() local 741 if (deadline - stream->mTick > 0) { in threadLoop() 742 deadline = stream->mTick; in threadLoop() 755 deadline -= tick; in threadLoop() 756 if (deadline < 1) { in threadLoop() 757 deadline = 1; in threadLoop() 761 count = epoll_wait(mGroup->mEventQueue, events, count, deadline); in threadLoop()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/ |
D | TestUtils.java | 69 long deadline = System.nanoTime() + TimeUnit.MILLISECONDS.toNanos(timeoutMs); in waitUntil() local 74 if (System.nanoTime() > deadline) { in waitUntil()
|
/frameworks/libs/net/common/hostdevice/com/android/net/module/util/ |
D | TrackRecord.kt | 115 val deadline = System.currentTimeMillis() + timeoutMs in pollForIndexReadLocked() constant 122 } while (condition.await(deadline - System.currentTimeMillis())) in pollForIndexReadLocked()
|
/frameworks/ml/nn/common/include/ |
D | CpuExecutor.h | 158 void setDeadline(const Deadline& deadline) { mDeadline = deadline; } in setDeadline() argument
|