Home
last modified time | relevance | path

Searched refs:extraValue (Results 1 – 6 of 6) 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.java218 String mode, String extraValue, boolean isAuxiliary, in getBuilder() argument
225 builder.mSubtypeExtraValue = extraValue; in getBuilder()
241 public InputMethodSubtype(int nameId, int iconId, String locale, String mode, String extraValue, in InputMethodSubtype() argument
243 this(nameId, iconId, locale, mode, extraValue, isAuxiliary, in InputMethodSubtype()
279 public InputMethodSubtype(int nameId, int iconId, String locale, String mode, String extraValue, in InputMethodSubtype() argument
281 this(getBuilder(nameId, iconId, locale, mode, extraValue, isAuxiliary, in InputMethodSubtype()
640 private static int hashCodeInternal(String locale, String mode, String extraValue, in hashCodeInternal() argument
647 return Arrays.hashCode(new Object[] {locale, mode, extraValue, isAuxiliary, in hashCodeInternal()
650 return Arrays.hashCode(new Object[] {locale, mode, extraValue, isAuxiliary, in hashCodeInternal()
/frameworks/support/compat/tests/java/android/support/v4/app/
DNotificationCompatTest.java270 CharSequence extraValue = "extra_value"; in testMessage_setAndGetExtras() local
273 m.getExtras().putCharSequence(extraKey, extraValue); in testMessage_setAndGetExtras()
274 assertEquals(extraValue, m.getExtras().getCharSequence(extraKey)); in testMessage_setAndGetExtras()
283 assertEquals(extraValue, fromBundle.getExtras().getCharSequence(extraKey)); in testMessage_setAndGetExtras()
/frameworks/base/core/tests/coretests/src/android/view/textservice/
DSpellCheckerSubtypeTest.java47 private static int defaultHashCodeAlgorithm(String locale, String extraValue) { in defaultHashCodeAlgorithm() argument
48 return Arrays.hashCode(new Object[] {locale, extraValue}); in defaultHashCodeAlgorithm()
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountsDbTest.java178 String extraValue = "extra_value"; in testExtrasInsertFindDelete() local
179 long extraId = mAccountsDb.insertExtra(accId, extraKey, extraValue); in testExtrasInsertFindDelete()
185 assertEquals(extraValue, extras.get(extraKey)); in testExtrasInsertFindDelete()