Home
last modified time | relevance | path

Searched refs:DisplayState (Results 1 – 25 of 64) sorted by relevance

123

/packages/services/Car/cpp/evs/manager/aidl/wrappers/src/
DHidlDisplay.cpp35 using ::aidl::android::hardware::automotive::evs::DisplayState;
66 Return<hidlevs::V1_0::EvsResult> HidlDisplay::setDisplayState(hidlevs::V1_0::DisplayState state) { in setDisplayState()
78 Return<hidlevs::V1_0::DisplayState> HidlDisplay::getDisplayState() { in getDisplayState()
81 return Utils::makeToHidl(DisplayState::DEAD); in getDisplayState()
84 DisplayState aidlState; in getDisplayState()
86 return Utils::makeToHidl(DisplayState::DEAD); in getDisplayState()
137 ::android::hardware::hidl_vec<uint8_t> hidlState(sizeof(::android::ui::DisplayState)); in getDisplayInfo_1_1()
154 ::android::ui::DisplayState* pState = in getDisplayInfo_1_1()
155 reinterpret_cast<::android::ui::DisplayState*>(hidlState.data()); in getDisplayInfo_1_1()
DAidlDisplay.cpp32 using ::aidl::android::hardware::automotive::evs::DisplayState;
65 const ::android::ui::DisplayState* pState = in getDisplayInfo()
66 reinterpret_cast<const ::android::ui::DisplayState*>(hidlState.data()); in getDisplayInfo()
77 ScopedAStatus AidlDisplay::getDisplayState(DisplayState* _aidl_return) { in getDisplayState()
122 ScopedAStatus AidlDisplay::setDisplayState(DisplayState state) { in setDisplayState()
DHidlEnumerator.cpp36 using ::aidl::android::hardware::automotive::evs::DisplayState;
163 Return<hidlevs::V1_0::DisplayState> HidlEnumerator::getDisplayState() { in getDisplayState()
166 return hidlevs::V1_0::DisplayState::DEAD; in getDisplayState()
169 DisplayState aidlState; in getDisplayState()
171 return hidlevs::V1_0::DisplayState::NOT_OPEN; in getDisplayState()
/packages/services/Car/cpp/evs/manager/aidl/utils/src/
DUtils.cpp29 using ::aidl::android::hardware::automotive::evs::DisplayState;
53 DisplayState Utils::makeFromHidl(hidlevs::V1_0::DisplayState hidlState) { in makeFromHidl()
55 case hidlevs::V1_0::DisplayState::NOT_OPEN: in makeFromHidl()
56 return DisplayState::NOT_OPEN; in makeFromHidl()
57 case hidlevs::V1_0::DisplayState::NOT_VISIBLE: in makeFromHidl()
58 return DisplayState::NOT_VISIBLE; in makeFromHidl()
59 case hidlevs::V1_0::DisplayState::VISIBLE_ON_NEXT_FRAME: in makeFromHidl()
60 return DisplayState::VISIBLE_ON_NEXT_FRAME; in makeFromHidl()
61 case hidlevs::V1_0::DisplayState::VISIBLE: in makeFromHidl()
62 return DisplayState::VISIBLE; in makeFromHidl()
[all …]
/packages/services/Car/cpp/evs/sampleDriver/aidl/src/
DEvsGlDisplay.cpp38 using ::aidl::android::hardware::automotive::evs::DisplayState;
101 mRequestedState = DisplayState::DEAD; in forceShutdown()
273 ScopedAStatus EvsGlDisplay::setDisplayState(DisplayState state) { in setDisplayState()
277 if (mRequestedState == DisplayState::DEAD) { in setDisplayState()
283 static constexpr ::ndk::enum_range<DisplayState> kDisplayStateRange; in setDisplayState()
290 case DisplayState::NOT_VISIBLE: in setDisplayState()
293 case DisplayState::VISIBLE: in setDisplayState()
313 ScopedAStatus EvsGlDisplay::getDisplayState(DisplayState* _aidl_return) { in getDisplayState()
330 if (mRequestedState == DisplayState::DEAD) { in getTargetBuffer()
395 if (mRequestedState == DisplayState::DEAD) { in returnTargetBufferForDisplay()
[all …]
/packages/services/Car/cpp/evs/sampleDriver/aidl/include/
DEvsGlDisplay.h40 ::ndk::ScopedAStatus getDisplayState(aidlevs::DisplayState* _aidl_return) override;
43 ::ndk::ScopedAStatus setDisplayState(aidlevs::DisplayState state) override;
71 aidlevs::DisplayState mRequestedState GUARDED_BY(mLock) = aidlevs::DisplayState::NOT_VISIBLE;
DEvsEnumerator.h58 ::ndk::ScopedAStatus getDisplayState(aidlevs::DisplayState* state) override;
60 aidlevs::DisplayState* state) override;
119 aidlevs::DisplayState* state);
/packages/services/Car/cpp/evs/manager/aidl/tests/fuzz/
DHalDisplayFuzzer.cpp35 using aidl::android::hardware::automotive::evs::DisplayState;
67 DisplayState::DEAD)); in LLVMFuzzerTestOneInput()
68 halDisplay->setDisplayState(static_cast<DisplayState>(state)); in LLVMFuzzerTestOneInput()
73 DisplayState state; in LLVMFuzzerTestOneInput()
/packages/services/Car/cpp/evs/manager/1.0/
DHalDisplay.cpp62 Return<EvsResult> HalDisplay::setDisplayState(DisplayState state) { in setDisplayState()
73 Return<DisplayState> HalDisplay::getDisplayState() { in getDisplayState()
77 return DisplayState::DEAD; in getDisplayState()
DEnumerator.cpp193 Return<DisplayState> Enumerator::getDisplayState() { in getDisplayState()
196 return DisplayState::DEAD; in getDisplayState()
207 return DisplayState::NOT_OPEN; in getDisplayState()
DHalDisplay.h48 Return<EvsResult> setDisplayState(DisplayState state) override;
49 Return<DisplayState> getDisplayState() override;
/packages/services/Car/cpp/evs/manager/1.1/test/fuzzer/
DMockHWDisplay.h31 setDisplayState(::android::hardware::automotive::evs::V1_0::DisplayState state) override { in setDisplayState()
34 ::android::hardware::Return<::android::hardware::automotive::evs::V1_0::DisplayState>
36 return ::android::hardware::automotive::evs::V1_0::DisplayState::VISIBLE; in getDisplayState()
DHalDisplayFuzzer.cpp29 using ::android::hardware::automotive::evs::V1_0::DisplayState;
72 DisplayState::NUM_STATES) - in LLVMFuzzerTestOneInput()
74 halDisplay->setDisplayState(static_cast<DisplayState>(state)); in LLVMFuzzerTestOneInput()
/packages/services/Car/cpp/evs/manager/aidl/src/
DHalDisplay.cpp33 using ::aidl::android::hardware::automotive::evs::DisplayState;
75 ScopedAStatus HalDisplay::getDisplayState(DisplayState* _aidl_return) { in getDisplayState()
108 ScopedAStatus HalDisplay::setDisplayState(DisplayState state) { in setDisplayState()
/packages/services/Car/cpp/evs/manager/aidl/utils/include/
DUtils.h44 static aidlevs::DisplayState makeFromHidl(hidlevs::V1_0::DisplayState hidlState);
46 static hidlevs::V1_0::DisplayState makeToHidl(aidlevs::DisplayState aidlState);
/packages/services/Car/cpp/evs/manager/1.1/
DHalDisplay.cpp31 using EvsDisplayState = ::android::hardware::automotive::evs::V1_0::DisplayState;
127 android::ui::DisplayState displayState; in toString()
138 displayState = *(reinterpret_cast<const android::ui::DisplayState*>(state.data())); in toString()
DHalDisplay.h43 setDisplayState(::android::hardware::automotive::evs::V1_0::DisplayState state) override;
44 ::android::hardware::Return<::android::hardware::automotive::evs::V1_0::DisplayState>
/packages/services/Car/cpp/evs/manager/aidl/tests/unit/include/
DMockEvsDisplay.h36 MOCK_METHOD(::ndk::ScopedAStatus, getDisplayState, (aidlevs::DisplayState*), (override));
40 MOCK_METHOD(::ndk::ScopedAStatus, setDisplayState, (aidlevs::DisplayState), (override));
DMockHidlEvsDisplay.h36 (hidlevs::V1_0::DisplayState), (override));
37 MOCK_METHOD(::android::hardware::Return<hidlevs::V1_0::DisplayState>, getDisplayState, (),
/packages/services/Car/service/jni/evs/
DNoOpEvsDisplay.h34 ndk::ScopedAStatus getDisplayState(aidlevs::DisplayState*) override { in getDisplayState() argument
43 ndk::ScopedAStatus setDisplayState(aidlevs::DisplayState) override { in setDisplayState() argument
/packages/services/Car/cpp/evs/manager/aidl/include/
DHalDisplay.h35 ::ndk::ScopedAStatus getDisplayState(aidlevs::DisplayState* _aidl_return) override;
38 ::ndk::ScopedAStatus setDisplayState(aidlevs::DisplayState state) override;
/packages/services/Car/cpp/evs/manager/aidl/wrappers/include/
DAidlDisplay.h34 ::ndk::ScopedAStatus getDisplayState(aidlevs::DisplayState* _aidl_return) override;
37 ::ndk::ScopedAStatus setDisplayState(aidlevs::DisplayState state) override;
DHidlDisplay.h35 hidlevs::V1_0::DisplayState state) override;
36 ::android::hardware::Return<hidlevs::V1_0::DisplayState> getDisplayState() override;
/packages/services/Car/cpp/computepipe/runner/debug_display_manager/
DEvsDisplayManager.cpp36 using android::hardware::automotive::evs::V1_0::DisplayState;
103 EvsResult result = evsDisplay->setDisplayState(DisplayState::VISIBLE_ON_NEXT_FRAME); in threadFn()
151 (void)evsDisplay->setDisplayState(DisplayState::NOT_VISIBLE); in threadFn()
/packages/services/Car/cpp/evs/sampleDriver/hidl/
DEvsGlDisplay.h34 using ::android::hardware::automotive::evs::V1_0::DisplayState;
39 using EvsDisplayState = ::android::hardware::automotive::evs::V1_0::DisplayState;

123