Home
last modified time | relevance | path

Searched refs:trustedOverlay (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DInputWindowHandleWrapper.java189 void setTrustedOverlay(boolean trustedOverlay) { in setTrustedOverlay() argument
190 if (isTrustedOverlay() == trustedOverlay) { in setTrustedOverlay()
193 mHandle.setInputConfig(InputConfig.TRUSTED_OVERLAY, trustedOverlay); in setTrustedOverlay()
198 boolean trustedOverlay) { in setTrustedOverlay() argument
199 mHandle.setTrustedOverlay(t, sc, trustedOverlay); in setTrustedOverlay()
/frameworks/native/services/surfaceflinger/FrontEnd/
DLayerSnapshotBuilder.cpp365 snapshot.trustedOverlay = gui::TrustedOverlay::UNSET; in getRootSnapshot()
742 switch (requested.trustedOverlay) { in updateSnapshot()
744 snapshot.trustedOverlay = parentSnapshot.trustedOverlay; in updateSnapshot()
747 snapshot.trustedOverlay = FlagManager::getInstance().override_trusted_overlay() in updateSnapshot()
748 ? requested.trustedOverlay in updateSnapshot()
749 : parentSnapshot.trustedOverlay; in updateSnapshot()
752 snapshot.trustedOverlay = requested.trustedOverlay; in updateSnapshot()
1131 if (snapshot.trustedOverlay == gui::TrustedOverlay::ENABLED) { in updateInput()
DLayerSnapshot.h87 gui::TrustedOverlay trustedOverlay; member
DRequestedLayerState.cpp121 trustedOverlay = gui::TrustedOverlay::UNSET; in RequestedLayerState()
/frameworks/native/libs/gui/
DLayerState.cpp92 trustedOverlay(gui::TrustedOverlay::UNSET), in layer_state_t()
182 SAFE_PARCEL(output.writeInt32, static_cast<uint32_t>(trustedOverlay)); in write()
313 trustedOverlay = static_cast<gui::TrustedOverlay>(trustedOverlayInt); in read()
679 trustedOverlay = other.trustedOverlay; in merge()
784 CHECK_DIFF(diff, eTrustedOverlayChanged, other, trustedOverlay); in diff()
DSurfaceComposerClient.cpp2189 const sp<SurfaceControl>& sc, gui::TrustedOverlay trustedOverlay) { in setTrustedOverlay() argument
2197 s->trustedOverlay = trustedOverlay; in setTrustedOverlay()
/frameworks/native/services/inputflinger/tests/
DFakeWindows.h225 inline void setTrustedOverlay(bool trustedOverlay) { in setTrustedOverlay() argument
226 mInfo.setInputConfig(InputConfig::TRUSTED_OVERLAY, trustedOverlay); in setTrustedOverlay()
DInputDispatcher_test.cpp5365 sp<FakeWindowHandle> trustedOverlay = in TEST_F() local
5368 trustedOverlay->setSpy(true); in TEST_F()
5369 trustedOverlay->setTrustedOverlay(true); in TEST_F()
5371 mDispatcher->onWindowInfosChanged({{*trustedOverlay->getInfo(), *window->getInfo()}, {}, 0, 0}); in TEST_F()
5390 trustedOverlay->consumeMotionEvent(WithMotionAction(ACTION_DOWN)); in TEST_F()
5391 trustedOverlay->consumeMotionEvent(WithMotionAction(POINTER_1_DOWN)); in TEST_F()
5392 trustedOverlay->consumeMotionEvent(WithMotionAction(POINTER_2_DOWN)); in TEST_F()
5402 trustedOverlay->consumeMotionEvent(WithMotionAction(ACTION_MOVE)); in TEST_F()
5421 trustedOverlay->consumeMotionEvent(WithMotionAction(POINTER_2_UP)); in TEST_F()
5422 trustedOverlay->consumeMotionEvent(WithMotionAction(POINTER_1_UP)); in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/
DLayerHierarchyTest.h497 void setTrustedOverlay(uint32_t id, gui::TrustedOverlay trustedOverlay) { in setTrustedOverlay() argument
504 transactions.back().states.front().state.trustedOverlay = trustedOverlay; in setTrustedOverlay()
/frameworks/native/libs/gui/include/gui/
DLayerState.h391 gui::TrustedOverlay trustedOverlay; member
DSurfaceComposerClient.h724 gui::TrustedOverlay trustedOverlay);
/frameworks/native/services/surfaceflinger/Tracing/
DTransactionProtoParser.cpp250 proto.set_is_trusted_overlay(layer.trustedOverlay == gui::TrustedOverlay::ENABLED); in toProto()
520 layer.trustedOverlay = proto.is_trusted_overlay() ? gui::TrustedOverlay::ENABLED in fromProto()
/frameworks/native/services/surfaceflinger/
DLayerProtoHelper.cpp385 layerInfo->set_is_trusted_overlay(snapshot.trustedOverlay == gui::TrustedOverlay::ENABLED); in writeSnapshotToProto()
DLayer.cpp3905 if (mDrawingState.isTrustedOverlay != (s.trustedOverlay == gui::TrustedOverlay::ENABLED)) { in isSimpleBufferUpdate()
DSurfaceFlinger.cpp5756 if (layer->setTrustedOverlay(s.trustedOverlay == gui::TrustedOverlay::ENABLED)) { in setClientStateLocked()
/frameworks/base/core/java/android/view/
DSurfaceControl.java4336 @TrustedOverlay int trustedOverlay) { in setTrustedOverlay() argument
4338 nativeSetTrustedOverlay(mNativeObject, sc.mNativeObject, trustedOverlay); in setTrustedOverlay()
/frameworks/base/core/jni/
Dandroid_view_SurfaceControl.cpp1012 jlong nativeObject, jint trustedOverlay) { in nativeSetTrustedOverlay() argument
1016 transaction->setTrustedOverlay(ctrl, static_cast<gui::TrustedOverlay>(trustedOverlay)); in nativeSetTrustedOverlay()