Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/unit/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.java996 ScreenLockType lock = ScreenLockType.fromKey(unlockMethod); in setUnlockMethod()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsDatabaseHelper.java4407 ContentValues toValues, String toKey, ContentValues fromValues, String fromKey) { in copyStringValue() argument
4409 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() argument
4417 if (fromValues.containsKey(fromKey)) { in copyLongValue()
4419 Object value = fromValues.get(fromKey); in copyLongValue()