OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:isDeviceSecure
(Results
1 - 9
of
9
) sorted by null
/cts/common/device-side/preconditions/src/com/android/compatibility/common/preconditions/
ScreenLockHelper.java
31
public static boolean
isDeviceSecure
(Context context) {
33
return km.
isDeviceSecure
();
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowKeyguardManager.java
31
private static boolean
isDeviceSecure
;
148
protected boolean
isDeviceSecure
() {
149
return
isDeviceSecure
;
153
* For tests on Android >=M, sets the value to be returned by {@link #
isDeviceSecure
()}.
155
* @see #
isDeviceSecure
()
157
public void setIsDeviceSecure(boolean
isDeviceSecure
) {
158
this.
isDeviceSecure
=
isDeviceSecure
;
168
protected boolean
isDeviceSecure
(int userId) {
173
* For tests on Android >=M, sets the value to be returned by {@link #
isDeviceSecure
(int)}
[
all
...]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowKeyguardManagerTest.java
76
public void
isDeviceSecure
() {
77
assertThat(manager.
isDeviceSecure
()).isFalse();
82
assertThat(manager.
isDeviceSecure
()).isTrue();
88
assertThat(manager.
isDeviceSecure
(USER_ID)).isFalse();
93
assertThat(manager.
isDeviceSecure
(USER_ID)).isTrue();
94
assertThat(manager.
isDeviceSecure
(USER_ID + 1)).isFalse();
97
assertThat(manager.
isDeviceSecure
(USER_ID)).isFalse();
/cts/tools/cts-preconditions/src/com/android/preconditions/cts/
PreconditionsTest.java
46
ScreenLockHelper.
isDeviceSecure
(this.getContext()));
/cts/apps/CtsVerifier/src/com/android/cts/verifier/biometrics/
BiometricTest.java
215
if (mKeyguardManager.
isDeviceSecure
()) {
227
if (!mKeyguardManager.
isDeviceSecure
()) {
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
ResetPasswordWithTokenTest.java
134
assertTrue(km.
isDeviceSecure
());
139
assertFalse(km.
isDeviceSecure
());
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
ByodFlowTestActivity.java
[
all
...]
/cts/tests/framework/base/windowmanager/src/android/server/wm/
ActivityManagerGetConfigTests.java
313
kgm.
isDeviceSecure
(), deviceConfig.hasSecureScreenLock);
KeyguardLockedTests.java
75
assertTrue(mKeyguardManager.
isDeviceSecure
());
Completed in 252 milliseconds