Home
last modified time | relevance | path

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

12

/frameworks/native/services/surfaceflinger/tests/unittests/
DSurfaceFlinger_SetDisplayStateTest.cpp40 DisplayState state; in TEST_F()
41 state.what = DisplayState::eLayerStackChanged; in TEST_F()
71 DisplayState state; in TEST_F()
104 DisplayState state; in TEST_F()
105 state.what = DisplayState::eSurfaceChanged; in TEST_F()
141 DisplayState state; in TEST_F()
142 state.what = DisplayState::eSurfaceChanged; in TEST_F()
175 DisplayState state; in TEST_F()
176 state.what = DisplayState::eLayerStackChanged; in TEST_F()
209 DisplayState state; in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/Tracing/
DTransactionProtoParser.h63 perfetto::protos::DisplayState toProto(const DisplayState&);
65 DisplayState fromProto(const perfetto::protos::DisplayState&);
DTransactionProtoParser.cpp266 perfetto::protos::DisplayState TransactionProtoParser::toProto(const DisplayState& display) { in toProto()
267 perfetto::protos::DisplayState proto; in toProto()
271 if (display.what & DisplayState::eLayerStackChanged) { in toProto()
274 if (display.what & DisplayState::eDisplayProjectionChanged) { in toProto()
281 if (display.what & DisplayState::eDisplaySizeChanged) { in toProto()
285 if (display.what & DisplayState::eFlagsChanged) { in toProto()
534 DisplayState TransactionProtoParser::fromProto(const perfetto::protos::DisplayState& proto) { in fromProto()
535 DisplayState display; in fromProto()
539 if (display.what & DisplayState::eLayerStackChanged) { in fromProto()
542 if (display.what & DisplayState::eDisplayProjectionChanged) { in fromProto()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/log/
DOperationContextExtTest.java27 import android.hardware.biometrics.common.DisplayState;
68 final int displayState = DisplayState.NO_UI; in hasAidlContext()
92 AuthenticateOptions.DISPLAY_STATE_UNKNOWN, DisplayState.UNKNOWN, in mapsDisplayStatesToAidl()
93 AuthenticateOptions.DISPLAY_STATE_AOD, DisplayState.AOD, in mapsDisplayStatesToAidl()
94 AuthenticateOptions.DISPLAY_STATE_NO_UI, DisplayState.NO_UI, in mapsDisplayStatesToAidl()
95 AuthenticateOptions.DISPLAY_STATE_LOCKSCREEN, DisplayState.LOCKSCREEN, in mapsDisplayStatesToAidl()
96 AuthenticateOptions.DISPLAY_STATE_SCREENSAVER, DisplayState.SCREENSAVER, in mapsDisplayStatesToAidl()
97 100, DisplayState.UNKNOWN in mapsDisplayStatesToAidl()
161 assertThat(context.getDisplayState()).isEqualTo(DisplayState.AOD); in updatesFromSource()
DBiometricContextProviderTest.java37 import android.hardware.biometrics.common.DisplayState;
418 assertThat(context.getDisplayState()).isEqualTo(DisplayState.UNKNOWN); in testSubscribe_thenStartHal()
421 mListener.onDisplayStateChanged(DisplayState.LOCKSCREEN); in testSubscribe_thenStartHal()
425 assertThat(context.getDisplayState()).isEqualTo(DisplayState.LOCKSCREEN); in testSubscribe_thenStartHal()
/frameworks/base/services/core/java/com/android/server/biometrics/log/
DOperationContextExt.java26 import android.hardware.biometrics.common.DisplayState;
257 @DisplayState
310 @DisplayState
311 private static int toAidlDisplayState(@AuthenticateOptions.DisplayState int state) { in toAidlDisplayState()
314 return DisplayState.AOD; in toAidlDisplayState()
316 return DisplayState.LOCKSCREEN; in toAidlDisplayState()
318 return DisplayState.NO_UI; in toAidlDisplayState()
320 return DisplayState.SCREENSAVER; in toAidlDisplayState()
322 return DisplayState.UNKNOWN; in toAidlDisplayState()
DBiometricContext.java77 @AuthenticateOptions.DisplayState
/frameworks/base/services/core/java/com/android/server/display/
DPersistentDataStore.java142 private final HashMap<String, DisplayState> mDisplayStates =
143 new HashMap<String, DisplayState>();
279 DisplayState state = getDisplayState(device.getUniqueId(), false); in getColorMode()
290 DisplayState state = getDisplayState(device.getUniqueId(), true); in setColorMode()
302 final DisplayState state = getDisplayState(device.getUniqueId(), false); in getBrightness()
317 final DisplayState state = getDisplayState(displayDeviceUniqueId, true); in setBrightness()
343 DisplayState state = getDisplayState(displayDevice.getUniqueId(), true); in setUserPreferredRefreshRate()
355 final DisplayState state = getDisplayState(device.getUniqueId(), false); in getUserPreferredRefreshRate()
367 DisplayState state = getDisplayState(displayDevice.getUniqueId(), true); in setUserPreferredResolution()
379 final DisplayState state = getDisplayState(displayDevice.getUniqueId(), false); in getUserPreferredResolution()
[all …]
/frameworks/native/libs/ui/include_vndk/ui/
DDisplayState.h29 struct DisplayState { struct
35 static_assert(std::is_trivially_copyable_v<DisplayState>); argument
/frameworks/native/libs/ui/include/ui/
DDisplayState.h29 struct DisplayState { struct
35 static_assert(std::is_trivially_copyable_v<DisplayState>); argument
/frameworks/base/core/java/android/hardware/biometrics/
DAuthenticateOptions.java63 @interface DisplayState {} annotation
66 @DisplayState
/frameworks/base/core/java/android/hardware/fingerprint/
DFingerprintAuthenticateOptions.java62 @AuthenticateOptions.DisplayState
118 @AuthenticateOptions.DisplayState int displayState, in FingerprintAuthenticateOptions()
127 AuthenticateOptions.DisplayState.class, null, mDisplayState); in FingerprintAuthenticateOptions()
165 public @AuthenticateOptions.DisplayState int getDisplayState() { in getDisplayState()
330 AuthenticateOptions.DisplayState.class, null, mDisplayState); in FingerprintAuthenticateOptions()
364 private @AuthenticateOptions.DisplayState int mDisplayState;
411 public @NonNull Builder setDisplayState(@AuthenticateOptions.DisplayState int value) { in setDisplayState()
/frameworks/native/libs/gui/include/gui/
DISurfaceComposer.h62 struct DisplayState;
83 struct DisplayState;
115 const Vector<DisplayState>& displays, uint32_t flags, const sp<IBinder>& applyToken,
DLayerState.h419 struct DisplayState { struct
431 DisplayState(); argument
433 DisplayState(sp<IBinder> token, ui::LayerStack layerStack) in DisplayState() function
440 void merge(const DisplayState& other);
498 static inline int compare_type(const DisplayState& lhs, const DisplayState& rhs) { in compare_type()
/frameworks/native/services/automotive/display/
DAutomotiveDisplayProxyService.cpp55 ui::DisplayState displayState = {}; in getIGraphicBufferProducer()
109 ui::DisplayState displayState; in showWindow()
178 ui::DisplayState displayState = {}; in getDisplayInfo()
186 activeState.setToExternal((uint8_t*)&displayState, sizeof(DisplayState)); in getDisplayInfo()
/frameworks/base/core/java/android/hardware/face/
DFaceAuthenticateOptions.java61 @AuthenticateOptions.DisplayState
187 @AuthenticateOptions.DisplayState int displayState, in FaceAuthenticateOptions()
196 AuthenticateOptions.DisplayState.class, null, mDisplayState); in FaceAuthenticateOptions()
256 public @AuthenticateOptions.DisplayState int getDisplayState() { in getDisplayState()
416 AuthenticateOptions.DisplayState.class, null, mDisplayState); in FaceAuthenticateOptions()
479 private @AuthenticateOptions.DisplayState int mDisplayState;
516 public @NonNull Builder setDisplayState(@AuthenticateOptions.DisplayState int value) { in setDisplayState()
/frameworks/native/libs/gui/aidl/android/gui/
DDisplayState.aidl23 parcelable DisplayState {
DISurfaceComposer.aidl29 import android.gui.DisplayState;
149 DisplayState getDisplayState(IBinder display); in getDisplayState()
/frameworks/native/libs/gui/
DLayerState.cpp351 DisplayState::DisplayState() = default;
353 status_t DisplayState::write(Parcel& output) const { in write()
367 status_t DisplayState::read(const Parcel& input) { in read()
387 void DisplayState::merge(const DisplayState& other) { in merge()
413 void DisplayState::sanitize(int32_t permissions) { in sanitize()
414 if (what & DisplayState::eLayerStackChanged) { in sanitize()
416 what &= ~DisplayState::eLayerStackChanged; in sanitize()
420 if (what & DisplayState::eDisplayProjectionChanged) { in sanitize()
422 what &= ~DisplayState::eDisplayProjectionChanged; in sanitize()
426 if (what & DisplayState::eSurfaceChanged) { in sanitize()
[all …]
DISurfaceComposer.cpp65 const Vector<DisplayState>& displays, uint32_t flags, const sp<IBinder>& applyToken, in setTransactionState()
149 DisplayState d; in onTransact()
150 Vector<DisplayState> displays; in onTransact()
DSurfaceComposerClient.cpp771 SortedVector<DisplayState> displayStates; in readFromParcel()
774 DisplayState displayState; in readFromParcel()
1205 Vector<DisplayState> displayStates; in apply()
2267 DisplayState& SurfaceComposerClient::Transaction::getDisplayState(const sp<IBinder>& token) { in getDisplayState()
2268 DisplayState s; in getDisplayState()
2292 DisplayState& s(getDisplayState(token)); in setDisplaySurface()
2294 s.what |= DisplayState::eSurfaceChanged; in setDisplaySurface()
2300 DisplayState& s(getDisplayState(token)); in setDisplayLayerStack()
2302 s.what |= DisplayState::eLayerStackChanged; in setDisplayLayerStack()
2306 DisplayState& s(getDisplayState(token)); in setDisplayFlags()
[all …]
/frameworks/native/services/surfaceflinger/
DTransactionState.h55 const Vector<DisplayState>& displayStates, uint32_t transactionFlags, in TransactionState()
136 Vector<DisplayState> displays;
/frameworks/hardware/interfaces/automotive/display/1.0/
Dtypes.hal24 * HIDL counterpart of DisplayState
/frameworks/native/opengl/tests/lib/
DWindowSurface.cpp59 ui::DisplayState displayState; in WindowSurface()
/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp279 const ui::DisplayState& displayState) { in setDisplayProjection()
362 const ui::DisplayState& displayState, in prepareVirtualDisplay()
515 void updateDisplayProjection(const sp<IBinder>& virtualDpy, ui::DisplayState& displayState) { in updateDisplayProjection()
530 ui::DisplayState currentDisplayState; in updateDisplayProjection()
559 const sp<IBinder>& virtualDpy, ui::DisplayState displayState) { in runEncoder()
828 ui::DisplayState displayState; in getMaxDisplaySize()
880 ui::DisplayState displayState; in recordScreen()

12