Home
last modified time | relevance | path

Searched refs:isSecure (Results 1 – 25 of 115) sorted by relevance

12345

/frameworks/base/packages/SystemUI/src/com/android/systemui/authentication/shared/model/
DAuthenticationMethodModel.kt27 open val isSecure: Boolean, constant in com.android.systemui.authentication.shared.model.AuthenticationMethodModel
33 data object None : AuthenticationMethodModel(isSecure = false)
35 data object Pin : AuthenticationMethodModel(isSecure = true)
37 data object Password : AuthenticationMethodModel(isSecure = true)
39 data object Pattern : AuthenticationMethodModel(isSecure = true)
41 data object Sim : AuthenticationMethodModel(isSecure = true)
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DDisplayCreationArgs.h43 bool isSecure = false; member
75 DisplayCreationArgsBuilder& setIsSecure(bool isSecure) { in setIsSecure() argument
76 mArgs.isSecure = isSecure; in setIsSecure()
DLayerFE.h96 const bool isSecure; member
191 lhs.isSecure == rhs.isSecure && lhs.isProtected == rhs.isProtected &&
211 *os << "\n .isSecure = " << settings.isSecure; in PrintTo()
DDisplay.h41 virtual bool isSecure() const = 0;
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsShellCommandTest.java103 when(mLockPatternUtils.isSecure(mUserId)).thenReturn(true); in testWrongPassword()
116 when(mLockPatternUtils.isSecure(mUserId)).thenReturn(true); in testChangePin()
136 when(mLockPatternUtils.isSecure(mUserId)).thenReturn(true); in testChangePin_nonCompliant()
163 when(mLockPatternUtils.isSecure(mUserId)).thenReturn(true); in testChangePassword()
183 when(mLockPatternUtils.isSecure(mUserId)).thenReturn(true); in testChangePassword_nonCompliant()
210 when(mLockPatternUtils.isSecure(mUserId)).thenReturn(true); in testChangePattern()
229 when(mLockPatternUtils.isSecure(mUserId)).thenReturn(true); in testChangePattern_nonCompliant()
255 when(mLockPatternUtils.isSecure(mUserId)).thenReturn(true); in testClear()
274 when(mLockPatternUtils.isSecure(mUserId)).thenReturn(true); in testClear_nonCompliant()
290 when(mLockPatternUtils.isSecure(mUserId)).thenReturn(true); in testSetPin_nonCompliantWithComplexity()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/camera/
DCameraGestureHelperTest.kt241 assertActivityStarting(isSecure = true, source = source) in launchCamera_onlyOneCameraAppInstalled_usingSecureScreenLockOption()
251 assertActivityStarting(isSecure = false, source = source) in launchCamera_onlyOneCameraAppInstalled_usingNonSecureScreenLockOption()
262 isSecure = true, in launchCamera_multipleCameraAppsInstalled_usingSecureScreenLockOption()
279 isSecure = false, in launchCamera_multipleCameraAppsInstalled_usingNonSecureScreenLockOption()
286 isSecure: Boolean, in assertActivityStarting()
291 if (isSecure && !moreThanOneCameraAppInstalled) { in assertActivityStarting()
311 assertThat(CameraIntents.isSecureCameraIntent(intent)).isEqualTo(isSecure) in assertActivityStarting()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DKeyguardStateControllerTest.java126 when(mLockPatternUtils.isSecure(anyInt())).thenReturn(true); in testIsMethodSecure()
144 when(mLockPatternUtils.isSecure(anyInt())).thenReturn(true); in testCanSkipLockScreen()
159 when(mLockPatternUtils.isSecure(anyInt())).thenReturn(true); in testCanSkipLockScreen_updateCalledOnFacesCleared()
174 when(mLockPatternUtils.isSecure(anyInt())).thenReturn(true); in testCanSkipLockScreen_updateCalledOnFingerprintssCleared()
195 when(mLockPatternUtils.isSecure(anyInt())).thenReturn(true); in testIsUnlocked()
245 when(mLockPatternUtils.isSecure(anyInt())).thenReturn(true); in testOnEnabledTrustAgentsChangedCallback()
/frameworks/native/services/surfaceflinger/FrontEnd/
DDisplayInfo.h34 bool isSecure; member
45 << "} isSecure=" << isSecure << " isPrimary=" << isPrimary in getDebugString()
/frameworks/native/services/surfaceflinger/
DDisplayRenderArea.cpp46 bool DisplayRenderArea::isSecure() const { in isSecure() function in android::DisplayRenderArea
47 return mOptions.test(Options::CAPTURE_SECURE_LAYERS) && mDisplay->isSecure(); in isSecure()
DDisplayDevice.cpp72 mCompositionDisplay->editState().isSecure = args.isSecure;
163 .isSecure = isSecure(), in getFrontEndInfo()
310 bool DisplayDevice::isSecure() const { in isSecure() function in android::DisplayDevice
311 return mCompositionDisplay->isSecure(); in isSecure()
DDisplayDevice.h94 bool isSecure() const;
286 bool isSecure = false; member
308 bool isSecure{false};
DLayerFE.cpp226 (mSnapshot->isSecure && !targetSettings.isSecure); in prepareBufferStateClientComposition()
229 ((mSnapshot->isSecure || mSnapshot->hasProtectedContent) && in prepareBufferStateClientComposition()
230 !targetSettings.isSecure); in prepareBufferStateClientComposition()
/frameworks/base/core/java/android/service/autofill/
DInlineSuggestionRoot.java68 final boolean isSecure = (event.getFlags() in dispatchTouchEvent()
70 if (!isSecure || distance > mTouchSlop) { in dispatchTouchEvent()
/frameworks/base/tests/TrustTests/src/android/trust/test/lib/
DScreenLockRule.kt87 .that(lockPatternUtils.isSecure(context.userId)) in <lambda>()
132 wait("screen lock set") { lockPatternUtils.isSecure(context.userId) } in <lambda>()
155 wait("screen lock insecure") { !lockPatternUtils.isSecure(context.userId) } in <lambda>()
/frameworks/base/services/core/java/com/android/server/net/watchlist/
DPrivacyUtils.java87 static Map<String, Boolean> createDpEncodedReportMap(boolean isSecure, byte[] userSecret, in createDpEncodedReportMap() argument
95 final DifferentialPrivacyEncoder encoder = isSecure in createDpEncodedReportMap()
/frameworks/base/services/core/java/com/android/server/policy/keyguard/
DKeyguardStateMonitor.java69 public boolean isSecure(int userId) { in isSecure() method in KeyguardStateMonitor
70 return mLockPatternUtils.isSecure(userId) || mSimSecure; in isSecure()
DKeyguardServiceWrapper.java200 if (mKeyguardStateMonitor.isSecure(userId)) { in doKeyguardTimeout()
299 public boolean isSecure(int userId) { in isSecure() method in KeyguardServiceWrapper
300 return mKeyguardStateMonitor.isSecure(userId); in isSecure()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DEmergencyButton.java99 boolean isSecure) { in updateEmergencyCallButton() argument
111 visible = isSecure; in updateEmergencyCallButton()
DEmergencyButtonController.java147 boolean isSecure = mLockPatternUtils in updateEmergencyCallButton()
148 .isSecure(mSelectedUserInteractor.getSelectedUserId()); in updateEmergencyCallButton()
154 /* isSecure= */ isSecure)); in updateEmergencyCallButton()
/frameworks/native/services/surfaceflinger/tests/unittests/
DSurfaceFlinger_CreateDisplayTest.cpp93 EXPECT_FALSE(display.isSecure); in TEST_F()
125 EXPECT_TRUE(display.isSecure); in TEST_F()
154 EXPECT_FALSE(display.isSecure); in TEST_F()
DTransactionProtoParserTest.cpp115 d1.isSecure = false; in TEST()
145 EXPECT_EQ(d1.isSecure, d2.isSecure); in TEST()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DDisplay.cpp59 editState().isSecure = args.isSecure; in setConfiguration()
73 bool Display::isSecure() const { in isSecure() function in android::compositionengine::impl::Display
74 return getState().isSecure; in isSecure()
78 editState().isSecure = secure; in setSecure()
/frameworks/base/packages/SystemUI/src/com/android/systemui/camera/
DCameraGestureHelper.kt148 val isSecure = keyguardStateController.isMethodSecure in getStartCameraIntent() constant
149 return if (isSecure && !isLockScreenDismissible) { in getStartCameraIntent()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/
DDisplay.h35 MOCK_CONST_METHOD0(isSecure, bool());
/frameworks/base/core/java/org/apache/http/conn/scheme/
DSocketFactory.java139 boolean isSecure(Socket sock) in isSecure() method

12345