Home
last modified time | relevance | path

Searched refs:FLAG_SECURE (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DVoiceInteractionMain.java62 getWindow().addFlags(WindowManager.LayoutParams.FLAG_SECURE);
64 getWindow().clearFlags(WindowManager.LayoutParams.FLAG_SECURE);
/frameworks/base/core/tests/coretests/src/android/hardware/display/
DVirtualDisplayTest.java188 defaultDisplay, Color.BLACK, WindowManager.LayoutParams.FLAG_SECURE); in testPublicPresentationVirtualDisplay()
197 display, Color.BLACK, WindowManager.LayoutParams.FLAG_SECURE); in testPublicPresentationVirtualDisplay()
222 assertDisplayRegistered(display, Display.FLAG_PRESENTATION | Display.FLAG_SECURE); in testSecurePublicPresentationVirtualDisplay()
229 defaultDisplay, GREENISH, WindowManager.LayoutParams.FLAG_SECURE); in testSecurePublicPresentationVirtualDisplay()
234 display, BLUEISH, WindowManager.LayoutParams.FLAG_SECURE); in testSecurePublicPresentationVirtualDisplay()
/frameworks/base/core/tests/coretests/src/android/view/contentcapture/
DContentCaptureManagerTest.java158 initialParam.flags |= WindowManager.LayoutParams.FLAG_SECURE; in testUpdateWindowAttribute_setFlagSecure()
172 initialParam.flags |= WindowManager.LayoutParams.FLAG_SECURE; in testUpdateWindowAttribute_clearFlagSecure()
/frameworks/base/services/companion/java/com/android/server/companion/virtual/
DGenericWindowPolicyController.java22 import static android.view.WindowManager.LayoutParams.FLAG_SECURE;
404 if ((windowFlags & FLAG_SECURE) != 0 && mSecureWindowCallback != null in keepActivityOnWindowFlagsChanged()
415 if ((windowFlags & FLAG_SECURE) != 0 in keepActivityOnWindowFlagsChanged()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowManagerServiceTests.java31 import static android.view.WindowManager.LayoutParams.FLAG_SECURE;
394 /*startFlags=*/ FLAG_SECURE, in testRelayout_firstLayout_dwpcHelperCalledWithCorrectFlags()
396 /*newFlags=*/ FLAG_SECURE, in testRelayout_firstLayout_dwpcHelperCalledWithCorrectFlags()
398 /*expectedChangedFlags=*/ FLAG_SECURE, in testRelayout_firstLayout_dwpcHelperCalledWithCorrectFlags()
400 /*expectedFlagsValue=*/ FLAG_SECURE, in testRelayout_firstLayout_dwpcHelperCalledWithCorrectFlags()
410 /*newFlags=*/ FLAG_SECURE, in testRelayout_secondLayoutFlagAdded_dwpcHelperCalledWithCorrectFlags()
412 /*expectedChangedFlags=*/ FLAG_SECURE, in testRelayout_secondLayoutFlagAdded_dwpcHelperCalledWithCorrectFlags()
414 /*expectedFlagsValue=*/ FLAG_SECURE, in testRelayout_secondLayoutFlagAdded_dwpcHelperCalledWithCorrectFlags()
424 /*newFlags=*/ FLAG_SECURE | FLAG_NOT_FOCUSABLE, in testRelayout_secondLayoutMultipleFlagsAddOne_dwpcHelperCalledWithCorrectFlags()
426 /*expectedChangedFlags=*/ FLAG_SECURE, in testRelayout_secondLayoutMultipleFlagsAddOne_dwpcHelperCalledWithCorrectFlags()
[all …]
DTaskSnapshotControllerTest.java21 import static android.view.WindowManager.LayoutParams.FLAG_SECURE;
145 secureWindow.mAttrs.flags |= FLAG_SECURE; in testGetSnapshotMode()
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/audio/
DVirtualAudioControllerTest.java19 import static android.media.AudioAttributes.FLAG_SECURE;
80 FLAG_SECURE, in setUp()
/frameworks/av/media/libmediaplayerservice/nuplayer/include/nuplayer/
DNuPlayerSource.h41 FLAG_SECURE = 32, // Secure codec is required. enumerator
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/display/domain/interactor/
DConnectedDisplayInteractorTest.kt141 setOf(display(type = TYPE_EXTERNAL, flags = Display.FLAG_SECURE)) in <lambda>()
154 display(type = TYPE_EXTERNAL, flags = Display.FLAG_SECURE), in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/shade/
DNotificationShadeWindowControllerImplTest.java21 import static android.view.WindowManager.LayoutParams.FLAG_SECURE;
342 assertThat((mLayoutParameters.getValue().flags & FLAG_SECURE) != 0).isTrue(); in setKeyguardShowing_enablesSecureFlag()
354 assertThat((mLayoutParameters.getValue().flags & FLAG_SECURE) == 0).isTrue(); in setKeyguardNotShowing_disablesSecureFlag()
/frameworks/base/packages/SystemUI/src/com/android/systemui/display/domain/interactor/
DConnectedDisplayInteractor.kt154 return display.flags and Display.FLAG_SECURE != 0 in isSecureDisplay()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayDeviceInfo.java67 public static final int FLAG_SECURE = 1 << 2; field in DisplayDeviceInfo
671 if ((flags & FLAG_SECURE) != 0) { in flagsToString()
DLogicalDisplay.java440 if ((deviceInfo.flags & DisplayDeviceInfo.FLAG_SECURE) != 0) { in updateLocked()
441 mBaseDisplayInfo.flags |= Display.FLAG_SECURE; in updateLocked()
DOverlayDisplayWindow.java227 mWindowParams.flags |= WindowManager.LayoutParams.FLAG_SECURE; in createWindow()
DOverlayDisplayAdapter.java356 mInfo.flags |= DisplayDeviceInfo.FLAG_SECURE; in getDisplayDeviceInfoLocked()
DVirtualDisplayAdapter.java495 mInfo.flags |= DisplayDeviceInfo.FLAG_SECURE; in getDisplayDeviceInfoLocked()
DWifiDisplayAdapter.java387 deviceFlags |= DisplayDeviceInfo.FLAG_SECURE; in addDisplayDeviceLocked()
/frameworks/native/services/memtrackproxy/
DMemtrackProxy.cpp49 static_cast<uint32_t>(V1_aidl::MemtrackRecord::FLAG_SECURE));
/frameworks/base/core/java/android/window/
DSnapshotDrawerUtils.java32 import static android.view.WindowManager.LayoutParams.FLAG_SECURE;
104 | FLAG_SECURE
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/
DGenericWindowPolicyControllerTest.java20 import static android.view.WindowManager.LayoutParams.FLAG_SECURE;
693 assertThat(gwpc.keepActivityOnWindowFlagsChanged(activityInfo, FLAG_SECURE, 0)).isTrue(); in keepActivityOnWindowFlagsChanged_flagSecure_isAllowedAfterTM()
/frameworks/base/media/java/android/media/
DAudioAttributes.java376 public final static int FLAG_SECURE = 0x1 << 1; field in AudioAttributes
501 private static final int FLAG_ALL = FLAG_AUDIBILITY_ENFORCED | FLAG_SECURE | FLAG_SCO
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DNotificationShadeWindowControllerImpl.java409 mLpChanged.flags |= LayoutParams.FLAG_SECURE; in applyKeyguardFlags()
411 mLpChanged.flags &= ~LayoutParams.FLAG_SECURE; in applyKeyguardFlags()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayer.cpp1526 if (!(mSourceFlags & Source::FLAG_SECURE)) { in onInstantiateSecureDecoders()
1968 if (mSourceFlags & Source::FLAG_SECURE) { in instantiateDecoder()
2033 (mSourceFlags & Source::FLAG_SECURE) != 0); in instantiateDecoder()
2615 (flags & Source::FLAG_SECURE) != 0, in onSourceNotify()
/frameworks/base/core/java/android/view/
DWindowManager.java2806 public static final int FLAG_SECURE = 0x00002000; field in WindowManager.LayoutParams
3131 FLAG_SECURE,
3210 @ViewDebug.FlagToString(mask = FLAG_SECURE, equals = FLAG_SECURE,
/frameworks/base/core/java/android/view/contentcapture/
DContentCaptureManager.java836 (params.flags & WindowManager.LayoutParams.FLAG_SECURE) != 0; in updateWindowAttributes()

12