Home
last modified time | relevance | path

Searched refs:fromKey (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DScreenLockTypeTest.java55 assertThat(ScreenLockType.fromKey(lock.preferenceKey)).isEqualTo(lock); in fromKey_shouldReturnLockWithGivenKey()
57 assertThat(ScreenLockType.fromKey("nonexistent")).isNull(); in fromKey_shouldReturnLockWithGivenKey()
/packages/apps/Settings/src/com/android/settings/password/
DScreenLockType.java99 public static ScreenLockType fromKey(String key) { in fromKey() method in ScreenLockType
DChooseLockGeneric.java1016 ScreenLockType lock = ScreenLockType.fromKey(unlockMethod); in setUnlockMethod()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/
DScreenLockType.java99 public static ScreenLockType fromKey(String key) { in fromKey() method in ScreenLockType
DChooseLockGeneric.java1005 ScreenLockType lock = ScreenLockType.fromKey(unlockMethod); in setUnlockMethod()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsDatabaseHelper.java4383 ContentValues toValues, String toKey, ContentValues fromValues, String fromKey) { in copyStringValue() argument
4385 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() argument
4393 if (fromValues.containsKey(fromKey)) { in copyLongValue()
4395 Object value = fromValues.get(fromKey); in copyLongValue()