Searched refs:isDeviceSecure (Results 1 – 2 of 2) sorted by relevance
31 private static boolean isDeviceSecure; field in ShadowKeyguardManager148 protected boolean isDeviceSecure() { in isDeviceSecure() method in ShadowKeyguardManager149 return isDeviceSecure; in isDeviceSecure()157 public void setIsDeviceSecure(boolean isDeviceSecure) { in setIsDeviceSecure() argument158 this.isDeviceSecure = isDeviceSecure; in setIsDeviceSecure()168 protected boolean isDeviceSecure(int userId) { in isDeviceSecure() method in ShadowKeyguardManager177 public void setIsDeviceSecure(int userId, boolean isDeviceSecure) { in setIsDeviceSecure() argument178 if (isDeviceSecure) { in setIsDeviceSecure()269 isDeviceSecure = false; in reset()
76 public void isDeviceSecure() { in isDeviceSecure() method in ShadowKeyguardManagerTest77 assertThat(manager.isDeviceSecure()).isFalse(); in isDeviceSecure()82 assertThat(manager.isDeviceSecure()).isTrue(); in isDeviceSecure()88 assertThat(manager.isDeviceSecure(USER_ID)).isFalse(); in isDeviceSecureByUserId()93 assertThat(manager.isDeviceSecure(USER_ID)).isTrue(); in isDeviceSecureByUserId()94 assertThat(manager.isDeviceSecure(USER_ID + 1)).isFalse(); in isDeviceSecureByUserId()97 assertThat(manager.isDeviceSecure(USER_ID)).isFalse(); in isDeviceSecureByUserId()