Lines Matching refs:CarPowerPolicy
58 using ::aidl::android::frameworks::automotive::powerpolicy::CarPowerPolicy;
88 ScopedAStatus onPolicyChanged(const CarPowerPolicy& /*policy*/) override { in onPolicyChanged() argument
95 MOCK_METHOD(ScopedAStatus, updatePowerComponents, (const CarPowerPolicy&), (override));
96 MOCK_METHOD(ScopedAStatus, onApplyPowerPolicySucceeded, (int32_t, const CarPowerPolicy&, bool),
100 MOCK_METHOD(ScopedAStatus, onPowerPolicyChanged, (const CarPowerPolicy&), (override));
156 ScopedAStatus getCurrentPowerPolicy(CarPowerPolicy* aidlReturn) { in getCurrentPowerPolicy()
353 Invoke([&policyIdForUpdate](const CarPowerPolicy& policy) -> ScopedAStatus { in testApplyPowerPolicyPerPowerStateChangeAsyncInternal()
360 &mutex](int32_t requestId, const CarPowerPolicy& accumulatedPolicy, in testApplyPowerPolicyPerPowerStateChangeAsyncInternal()
460 CarPowerPolicy currentPolicy; in TEST_F()
483 CarPowerPolicy policy; in TEST_F()
501 CarPowerPolicy policy; in TEST_F()
538 Invoke([&policyId, &cv, &mutex](const CarPowerPolicy& policy) -> ScopedAStatus { in TEST_F()
546 [[maybe_unused]] const CarPowerPolicy& accumulatedPolicy, in TEST_F()
635 Invoke([]([[maybe_unused]] const CarPowerPolicy& policy) -> ScopedAStatus { in TEST_F()
642 [[maybe_unused]] const CarPowerPolicy& accumulatedPolicy, in TEST_F()