OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:isDeviceSecure
(Results
1 - 20
of
20
) 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/robolectric/src/test/java/org/robolectric/shadows/
ShadowKeyguardManagerTest.java
73
public void
isDeviceSecure
() {
74
assertThat(manager.
isDeviceSecure
()).isFalse();
79
assertThat(manager.
isDeviceSecure
()).isTrue();
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowKeyguardManager.java
31
private boolean
isDeviceSecure
;
137
public boolean
isDeviceSecure
() {
138
return
isDeviceSecure
;
142
* For tests on Android >=M, sets the value to be returned by {@link #
isDeviceSecure
()}.
144
* @see #
isDeviceSecure
()
146
public void setIsDeviceSecure(boolean
isDeviceSecure
) {
147
this.
isDeviceSecure
=
isDeviceSecure
;
157
protected boolean
isDeviceSecure
(int userId) {
162
* For tests on Android >=M, sets the value to be returned by {@link #
isDeviceSecure
(int)}
[
all
...]
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
ResetPasswordWithTokenTest.java
125
assertTrue(km.
isDeviceSecure
());
130
assertFalse(km.
isDeviceSecure
());
/cts/tests/framework/base/activitymanager/src/android/server/am/
KeyguardLockedTests.java
67
assertTrue(mKeyguardManager.
isDeviceSecure
());
/frameworks/base/core/java/android/app/
KeyguardManager.java
126
if (!
isDeviceSecure
()) return null;
148
if (!
isDeviceSecure
(userId)) return null;
377
* <p>See also {@link #
isDeviceSecure
()} which ignores SIM locked states.
434
public boolean
isDeviceSecure
() {
435
return
isDeviceSecure
(mContext.getUserId());
439
* Per-user version of {@link #
isDeviceSecure
()}.
443
public boolean
isDeviceSecure
(int userId) {
445
return mTrustManager.
isDeviceSecure
(userId);
/prebuilts/misc/common/robolectric/3.1.1/lib/
shadows-core-v23-3.1.1.jar
/prebuilts/misc/common/robolectric/3.4.2/lib/
framework-3.4.2.jar
/prebuilts/misc/common/robolectric/3.5.1/lib/
shadows-framework-3.5.1.jar
/prebuilts/misc/common/robolectric/3.6.1/lib/
shadows-framework-3.6.1.jar
/prebuilts/misc/common/robolectric/android-all/
android-all-stubs.jar
android-all-7.0.0_r1-robolectric-0.jar
/prebuilts/sdk/23/
android.jar
/prebuilts/sdk/24/
android.jar
/prebuilts/sdk/25/
android.jar
/prebuilts/sdk/27/
android.jar
/prebuilts/sdk/28/
android.jar
/prebuilts/sdk/current/
android.jar
/prebuilts/sdk/system_28/
android.jar
/prebuilts/sdk/system_current/
android.jar
Completed in 670 milliseconds