/frameworks/base/services/core/jni/ |
D | com_android_server_hint_HintManagerService.cpp | 46 std::vector<int32_t> threadIds, int64_t durationNanos) { in createHintSession() argument 48 gPowerHalController.createHintSession(tgid, uid, std::move(threadIds), durationNanos); in createHintSession() 99 jintArray tids, jlong durationNanos) { in nativeCreateHintSession() argument 109 return createHintSession(env, tgid, uid, std::move(threadIds), durationNanos); in nativeCreateHintSession() 137 actualList[i].durationNanos = arrayActualDurations[i]; in nativeReportActualWorkDuration()
|
/frameworks/native/services/powermanager/benchmarks/ |
D | PowerHalAidlBenchmarks.cpp | 48 durationNanos = dur; in DurationWrapper() 102 int64_t durationNanos = 16666666L; in runSessionBenchmark() local 105 auto status = pwHal->createHintSession(1, 0, threadIds, durationNanos, &hal); in runSessionBenchmark() 155 int64_t durationNanos = 16666666L; in BM_PowerHalAidlBenchmarks_createHintSession() local 166 binder::Status ret = hal->createHintSession(tgid, uid, threadIds, durationNanos, &appSession); in BM_PowerHalAidlBenchmarks_createHintSession() 173 ret = hal->createHintSession(tgid, uid, threadIds, durationNanos, &appSession); in BM_PowerHalAidlBenchmarks_createHintSession()
|
/frameworks/base/services/core/java/com/android/server/power/hint/ |
D | HintManagerService.java | 130 long durationNanos); in nativeCreateHintSession() argument 152 public long halCreateHintSession(int tgid, int uid, int[] tids, long durationNanos) { in halCreateHintSession() argument 153 return nativeCreateHintSession(tgid, uid, tids, durationNanos); in halCreateHintSession() 290 public IHintSession createHintSession(IBinder token, int[] tids, long durationNanos) { in createHintSession() argument 307 tids, durationNanos); in createHintSession() 311 halSessionPtr, durationNanos); in createHintSession() 364 long halSessionPtr, long durationNanos) { in AppHintSession() argument 370 mTargetDurationNanos = durationNanos; in AppHintSession()
|
/frameworks/native/services/powermanager/tests/ |
D | PowerHalWrapperAidlTest.cpp | 52 int64_t durationNanos, sp<IPowerHintSession>* session), 213 int64_t durationNanos = 16666666L; in TEST_F() local 215 createHintSession(Eq(tgid), Eq(uid), Eq(threadIds), Eq(durationNanos), _)) in TEST_F() 217 auto result = mWrapper->createHintSession(tgid, uid, threadIds, durationNanos); in TEST_F() 225 int64_t durationNanos = 16666666L; in TEST_F() local 227 createHintSession(Eq(tgid), Eq(uid), Eq(threadIds), Eq(durationNanos), _)) in TEST_F() 230 auto result = mWrapper->createHintSession(tgid, uid, threadIds, durationNanos); in TEST_F()
|
/frameworks/native/services/powermanager/ |
D | PowerHalController.cpp | 102 int32_t tgid, int32_t uid, const std::vector<int32_t>& threadIds, int64_t durationNanos) { in createHintSession() argument 104 auto result = handle->createHintSession(tgid, uid, threadIds, durationNanos); in createHintSession()
|
D | PowerHalWrapper.cpp | 238 int32_t tgid, int32_t uid, const std::vector<int32_t>& threadIds, int64_t durationNanos) { in createHintSession() argument 241 fromStatus(mHandle->createHintSession(tgid, uid, threadIds, durationNanos, &appSession), in createHintSession()
|
/frameworks/native/include/powermanager/ |
D | PowerHalWrapper.h | 124 int64_t durationNanos) = 0; 138 int64_t durationNanos) override; 153 int64_t durationNanos) override; 191 int64_t durationNanos) override;
|
D | PowerHalController.h | 62 int64_t durationNanos) override;
|
/frameworks/base/core/java/android/os/ |
D | IHintManager.aidl | 27 IHintSession createHintSession(in IBinder token, in int[] tids, long durationNanos); in createHintSession() argument
|
/frameworks/av/media/libaaudio/src/core/ |
D | AudioStream.cpp | 398 int64_t durationNanos = 20 * AAUDIO_NANOS_PER_MILLISECOND; // arbitrary in waitForStateChange() local 401 if (durationNanos > timeoutNanoseconds) { in waitForStateChange() 402 durationNanos = timeoutNanoseconds; in waitForStateChange() 404 AudioClock::sleepForNanos(durationNanos); in waitForStateChange() 405 timeoutNanoseconds -= durationNanos; in waitForStateChange()
|
/frameworks/base/native/android/tests/performance_hint/ |
D | PerformanceHintNativeTest.cpp | 39 int64_t durationNanos, ::android::sp<::android::os::IHintSession>* _aidl_return),
|