Searched refs:fromKey (Results 1 – 4 of 4) 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
996 ScreenLockType lock = ScreenLockType.fromKey(unlockMethod); in setUnlockMethod()
4407 ContentValues toValues, String toKey, ContentValues fromValues, String fromKey) { in copyStringValue() argument4409 if (fromValues.containsKey(fromKey)) { in copyStringValue()4410 toValues.put(toKey, fromValues.getAsString(fromKey)); in copyStringValue()4415 ContentValues toValues, String toKey, ContentValues fromValues, String fromKey) { in copyLongValue() argument4417 if (fromValues.containsKey(fromKey)) { in copyLongValue()4419 Object value = fromValues.get(fromKey); in copyLongValue()