Home
last modified time | relevance | path

Searched refs:extraValue (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/view/textservice/
DSpellCheckerSubtype.java82 public SpellCheckerSubtype(int nameId, String locale, String languageTag, String extraValue, in SpellCheckerSubtype() argument
87 mSubtypeExtraValue = extraValue != null ? extraValue : ""; in SpellCheckerSubtype()
104 public SpellCheckerSubtype(int nameId, String locale, String extraValue) { in SpellCheckerSubtype() argument
105 this(nameId, locale, SUBTYPE_LANGUAGE_TAG_NONE, extraValue, SUBTYPE_ID_NONE); in SpellCheckerSubtype()
287 private static int hashCodeInternal(String locale, String extraValue) { in hashCodeInternal() argument
288 return Arrays.hashCode(new Object[] {locale, extraValue}); in hashCodeInternal()
/frameworks/base/services/core/java/com/android/server/updates/
DConfigUpdateInstallReceiver.java108 String extraValue = i.getStringExtra(EXTRA_VERSION_NUMBER); in getVersionFromIntent() local
109 if (extraValue == null) { in getVersionFromIntent()
112 return Integer.parseInt(extraValue.trim()); in getVersionFromIntent()
116 String extraValue = i.getStringExtra(EXTRA_REQUIRED_HASH); in getRequiredHashFromIntent() local
117 if (extraValue == null) { in getRequiredHashFromIntent()
120 return extraValue.trim(); in getRequiredHashFromIntent()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodSubtype.java220 String mode, String extraValue, boolean isAuxiliary, in getBuilder() argument
227 builder.mSubtypeExtraValue = extraValue; in getBuilder()
243 public InputMethodSubtype(int nameId, int iconId, String locale, String mode, String extraValue, in InputMethodSubtype() argument
245 this(nameId, iconId, locale, mode, extraValue, isAuxiliary, in InputMethodSubtype()
281 public InputMethodSubtype(int nameId, int iconId, String locale, String mode, String extraValue, in InputMethodSubtype() argument
283 this(getBuilder(nameId, iconId, locale, mode, extraValue, isAuxiliary, in InputMethodSubtype()
652 private static int hashCodeInternal(String locale, String mode, String extraValue, in hashCodeInternal() argument
659 return Arrays.hashCode(new Object[] {locale, mode, extraValue, isAuxiliary, in hashCodeInternal()
662 return Arrays.hashCode(new Object[] {locale, mode, extraValue, isAuxiliary, in hashCodeInternal()
/frameworks/base/core/tests/coretests/src/android/view/textservice/
DSpellCheckerSubtypeTest.java48 private static int defaultHashCodeAlgorithm(String locale, String extraValue) { in defaultHashCodeAlgorithm() argument
49 return Arrays.hashCode(new Object[] {locale, extraValue}); in defaultHashCodeAlgorithm()
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountsDbTest.java198 String extraValue = "extra_value"; in testExtrasInsertFindDelete() local
199 long extraId = mAccountsDb.insertExtra(accId, extraKey, extraValue); in testExtrasInsertFindDelete()
205 assertEquals(extraValue, extras.get(extraKey)); in testExtrasInsertFindDelete()