Searched refs:fromKey (Results 1 – 6 of 6) sorted by relevance
55 assertThat(ScreenLockType.fromKey(lock.preferenceKey)).isEqualTo(lock); in fromKey_shouldReturnLockWithGivenKey()57 assertThat(ScreenLockType.fromKey("nonexistent")).isNull(); in fromKey_shouldReturnLockWithGivenKey()
99 public static ScreenLockType fromKey(String key) { in fromKey() method in ScreenLockType
1016 ScreenLockType lock = ScreenLockType.fromKey(unlockMethod); in setUnlockMethod()
1005 ScreenLockType lock = ScreenLockType.fromKey(unlockMethod); in setUnlockMethod()
4383 ContentValues toValues, String toKey, ContentValues fromValues, String fromKey) { in copyStringValue() argument4385 if (fromValues.containsKey(fromKey)) { in copyStringValue()4386 toValues.put(toKey, fromValues.getAsString(fromKey)); in copyStringValue()4391 ContentValues toValues, String toKey, ContentValues fromValues, String fromKey) { in copyLongValue() argument4393 if (fromValues.containsKey(fromKey)) { in copyLongValue()4395 Object value = fromValues.get(fromKey); in copyLongValue()