/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/ |
H A D | SurfaceFlinger_SetDisplayStateTest.cpp | 38 DisplayState state; in TEST_F() 69 DisplayState state; in TEST_F() 102 DisplayState state; in TEST_F() 139 DisplayState state; in TEST_F() 173 DisplayState state; in TEST_F() 207 DisplayState state; in TEST_F() 241 DisplayState state; in TEST_F() 275 DisplayState state; in TEST_F() 314 DisplayState state; in TEST_F() 356 DisplayState state; in TEST_F() [all …]
|
/aosp12/hardware/interfaces/automotive/evs/1.0/vts/functional/ |
H A D | VtsHalEvsV1_0TargetTest.cpp | 227 EXPECT_EQ(badResult, DisplayState::DEAD); in TEST_P() 250 EXPECT_EQ((DisplayState)pEnumerator->getDisplayState(), DisplayState::NOT_OPEN); in TEST_P() 257 EXPECT_EQ((DisplayState)pEnumerator->getDisplayState(), DisplayState::NOT_VISIBLE); in TEST_P() 261 … EXPECT_EQ((DisplayState)pEnumerator->getDisplayState(), DisplayState::VISIBLE_ON_NEXT_FRAME); in TEST_P() 262 EXPECT_EQ((DisplayState)pDisplay->getDisplayState(), DisplayState::VISIBLE_ON_NEXT_FRAME); in TEST_P() 277 EXPECT_EQ((DisplayState)pEnumerator->getDisplayState(), DisplayState::VISIBLE); in TEST_P() 278 EXPECT_EQ((DisplayState)pDisplay->getDisplayState(), DisplayState::VISIBLE); in TEST_P() 281 pDisplay->setDisplayState(DisplayState::NOT_VISIBLE); in TEST_P() 283 EXPECT_EQ((DisplayState)pEnumerator->getDisplayState(), DisplayState::NOT_VISIBLE); in TEST_P() 298 EXPECT_EQ((DisplayState)pEnumerator->getDisplayState(), DisplayState::NOT_OPEN); in TEST_P() [all …]
|
/aosp12/hardware/interfaces/automotive/evs/1.0/default/ |
H A D | EvsDisplay.cpp | 82 mRequestedState = DisplayState::DEAD; in forceShutdown() 108 Return<EvsResult> EvsDisplay::setDisplayState(DisplayState state) { in setDisplayState() 112 if (mRequestedState == DisplayState::DEAD) { in setDisplayState() 118 if (state < DisplayState::NUM_STATES) { in setDisplayState() 125 mRequestedState = DisplayState::NOT_VISIBLE; in setDisplayState() 138 Return<DisplayState> EvsDisplay::getDisplayState() { in getDisplayState() 157 if (mRequestedState == DisplayState::DEAD) { in getTargetBuffer() 240 if (mRequestedState == DisplayState::DEAD) { in returnTargetBufferForDisplay() 245 if (mRequestedState == DisplayState::VISIBLE_ON_NEXT_FRAME) { in returnTargetBufferForDisplay() 246 mRequestedState = DisplayState::VISIBLE; in returnTargetBufferForDisplay() [all …]
|
H A D | EvsDisplay.h | 35 Return<EvsResult> setDisplayState(DisplayState state) override; 36 Return<DisplayState> getDisplayState() override; 51 DisplayState mRequestedState = DisplayState::NOT_VISIBLE;
|
/aosp12/hardware/interfaces/automotive/evs/1.1/default/ |
H A D | EvsDisplay.cpp | 91 mRequestedState = DisplayState::DEAD; in forceShutdown() 117 Return<EvsResult> EvsDisplay::setDisplayState(DisplayState state) { in setDisplayState() 121 if (mRequestedState == DisplayState::DEAD) { in setDisplayState() 127 if (state < DisplayState::NUM_STATES) { in setDisplayState() 134 mRequestedState = DisplayState::NOT_VISIBLE; in setDisplayState() 147 Return<DisplayState> EvsDisplay::getDisplayState() { in getDisplayState() 166 if (mRequestedState == DisplayState::DEAD) { in getTargetBuffer() 249 if (mRequestedState == DisplayState::DEAD) { in returnTargetBufferForDisplayImpl() 254 if (mRequestedState == DisplayState::VISIBLE_ON_NEXT_FRAME) { in returnTargetBufferForDisplayImpl() 255 mRequestedState = DisplayState::VISIBLE; in returnTargetBufferForDisplayImpl() [all …]
|
H A D | EvsDisplay.h | 26 using ::android::hardware::automotive::evs::V1_0::DisplayState; 43 Return<EvsResult> setDisplayState(DisplayState state) override; 44 Return<DisplayState> getDisplayState() override; 65 DisplayState mRequestedState = DisplayState::NOT_VISIBLE;
|
/aosp12/frameworks/base/services/core/java/com/android/server/display/ |
H A D | PersistentDataStore.java | 125 private final HashMap<String, DisplayState> mDisplayStates = 126 new HashMap<String, DisplayState>(); 251 DisplayState state = getDisplayState(device.getUniqueId(), false); in getColorMode() 262 DisplayState state = getDisplayState(device.getUniqueId(), true); in setColorMode() 274 final DisplayState state = getDisplayState(device.getUniqueId(), false); in getBrightness() 334 DisplayState state = mDisplayStates.get(uniqueDisplayId); in getBrightnessConfigurationForDisplayLocked() 348 DisplayState state = mDisplayStates.get(uniqueId); in getDisplayState() 350 state = new DisplayState(); in getDisplayState() 473 DisplayState state = new DisplayState(); in loadDisplaysFromXml() 498 final DisplayState state = entry.getValue(); in saveToXml() [all …]
|
/aosp12/hardware/qcom/sm8150/display/sdm/libs/hwc2/ |
H A D | display_null.h | 70 MAKE_NO_OP(GetDisplayState(DisplayState *)) 71 MAKE_NO_OP(SetDisplayState(DisplayState, bool, int*)) 139 virtual DisplayError GetDisplayState(DisplayState *state); 140 virtual DisplayError SetDisplayState(DisplayState state, bool teardown, 151 DisplayState state_ = kStateOff;
|
/aosp12/packages/services/Car/cpp/evs/manager/1.0/ |
H A D | HalDisplay.cpp | 62 Return<EvsResult> HalDisplay::setDisplayState(DisplayState state) { in setDisplayState() 73 Return<DisplayState> HalDisplay::getDisplayState() { in getDisplayState() 77 return DisplayState::DEAD; in getDisplayState()
|
H A D | Enumerator.cpp | 201 Return<DisplayState> Enumerator::getDisplayState() { in getDisplayState() 204 return DisplayState::DEAD; in getDisplayState() 215 return DisplayState::NOT_OPEN; in getDisplayState()
|
H A D | HalDisplay.h | 48 Return<EvsResult> setDisplayState(DisplayState state) override; 49 Return<DisplayState> getDisplayState() override;
|
/aosp12/hardware/qcom/sm7250/display/composer/ |
H A D | display_null.h | 71 MAKE_NO_OP(GetDisplayState(DisplayState *)) 72 MAKE_NO_OP(SetDisplayState(DisplayState, bool, shared_ptr<Fence> *)) 152 virtual DisplayError GetDisplayState(DisplayState *state); 153 virtual DisplayError SetDisplayState(DisplayState state, bool teardown, 160 DisplayState state_ = kStateOff;
|
/aosp12/frameworks/native/libs/gui/include/gui/ |
H A D | LayerState.h | 263 struct DisplayState { struct 272 DisplayState(); argument 273 void merge(const DisplayState& other); 320 static inline int compare_type(const DisplayState& lhs, const DisplayState& rhs) { in compare_type()
|
/aosp12/hardware/qcom/sdm845/display/sdm/libs/core/ |
H A D | display_base.h | 59 virtual DisplayError GetDisplayState(DisplayState *state); 65 virtual DisplayError SetDisplayState(DisplayState state, int *release_fence); 143 DisplayState GetLastPowerMode(); 156 DisplayState state_ = kStateOff; 185 DisplayState last_power_mode_ = kStateOff;
|
/aosp12/frameworks/native/services/automotive/display/ |
H A D | AutomotiveDisplayProxyService.cpp | 52 ui::DisplayState displayState = {}; in getIGraphicBufferProducer() 106 ui::DisplayState displayState; in showWindow() 171 ui::DisplayState displayState = {}; in getDisplayInfo() 179 activeState.setToExternal((uint8_t*)&displayState, sizeof(DisplayState)); in getDisplayInfo()
|
/aosp12/hardware/qcom/display/msm8909/sdm/libs/hwc2/ |
H A D | display_null.h | 46 virtual DisplayError GetDisplayState(DisplayState *state); 47 virtual DisplayError SetDisplayState(DisplayState state); 104 DisplayState state_ = kStateOff;
|
H A D | display_null.cpp | 48 DisplayError DisplayNull::GetDisplayState(DisplayState *state) { in GetDisplayState() 53 DisplayError DisplayNull::SetDisplayState(DisplayState state) { in SetDisplayState()
|
/aosp12/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/ |
H A D | display_null.h | 46 virtual DisplayError GetDisplayState(DisplayState *state); 47 virtual DisplayError SetDisplayState(DisplayState state); 101 DisplayState state_ = kStateOff;
|
H A D | display_null.cpp | 48 DisplayError DisplayNull::GetDisplayState(DisplayState *state) { in GetDisplayState() 53 DisplayError DisplayNull::SetDisplayState(DisplayState state) { in SetDisplayState()
|
/aosp12/frameworks/native/libs/ui/include/ui/ |
H A D | DisplayState.h | 32 struct DisplayState { struct 38 static_assert(std::is_trivially_copyable_v<DisplayState>); argument
|
/aosp12/frameworks/native/libs/ui/include_vndk/ui/ |
H A D | DisplayState.h | 32 struct DisplayState { struct 38 static_assert(std::is_trivially_copyable_v<DisplayState>); argument
|
/aosp12/hardware/interfaces/automotive/evs/1.0/ |
H A D | IEvsDisplay.hal | 47 * @param state Desired new DisplayState. 50 setDisplayState(DisplayState state) generates (EvsResult result); 62 * @return state Current DisplayState of this Display. 64 getDisplayState() generates (DisplayState state); 84 * call. The buffer may be returned at any time and in any DisplayState, but all
|
/aosp12/hardware/qcom/sdm845/display/sdm/libs/hwc2/ |
H A D | display_null.h | 46 virtual DisplayError GetDisplayState(DisplayState *state); 47 virtual DisplayError SetDisplayState(DisplayState state, int *release_fence); 106 DisplayState state_ = kStateOff;
|
H A D | display_null.cpp | 48 DisplayError DisplayNull::GetDisplayState(DisplayState *state) { in GetDisplayState() 53 DisplayError DisplayNull::SetDisplayState(DisplayState state, int *release_fence) { in SetDisplayState()
|
/aosp12/frameworks/native/services/surfaceflinger/ |
H A D | SurfaceInterceptor.h | 42 struct DisplayState; 71 const Vector<DisplayState>& changedDisplays, uint32_t flags, int originPid, 110 const Vector<DisplayState>& changedDisplays, uint32_t flags, int originPid, 173 const Vector<DisplayState>& changedDisplays, 194 const DisplayState& state, int32_t sequenceId);
|