Home
last modified time | relevance | path

Searched refs:subtype (Results 1 – 13 of 13) sorted by relevance

/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputMethodInfoTest.java283 final InputMethodSubtype subtype = InputMethodSubtype.CREATOR.createFromParcel(p); in testInputMethodSubtypeWriteToParcel() local
287 subtype.containsExtraValueKey(mSubtypeExtraValueKey)); in testInputMethodSubtypeWriteToParcel()
288 assertEquals(mInputMethodSubtype.getExtraValue(), subtype.getExtraValue()); in testInputMethodSubtypeWriteToParcel()
290 subtype.getExtraValueOf(mSubtypeExtraValueKey)); in testInputMethodSubtypeWriteToParcel()
291 assertEquals(mInputMethodSubtype.getIconResId(), subtype.getIconResId()); in testInputMethodSubtypeWriteToParcel()
292 assertEquals(mInputMethodSubtype.getLocale(), subtype.getLocale()); in testInputMethodSubtypeWriteToParcel()
293 assertEquals(mInputMethodSubtype.getMode(), subtype.getMode()); in testInputMethodSubtypeWriteToParcel()
294 assertEquals(mInputMethodSubtype.getNameResId(), subtype.getNameResId()); in testInputMethodSubtypeWriteToParcel()
295 assertEquals(mInputMethodSubtype.hashCode(), subtype.hashCode()); in testInputMethodSubtypeWriteToParcel()
296 assertEquals(mInputMethodSubtype.isAuxiliary(), subtype.isAuxiliary()); in testInputMethodSubtypeWriteToParcel()
[all …]
DInputMethodManagerTest.java240 final InputMethodSubtype subtype = imi.getSubtypeAt(i); in dumpInputMethodInfoList() local
241 sb.append("{id=0x").append(Integer.toHexString(subtype.hashCode())); in dumpInputMethodInfoList()
242 if (!TextUtils.isEmpty(subtype.getMode())) { in dumpInputMethodInfoList()
243 sb.append(",mode=").append(subtype.getMode()); in dumpInputMethodInfoList()
245 if (!TextUtils.isEmpty(subtype.getLocale())) { in dumpInputMethodInfoList()
246 sb.append(",locale=").append(subtype.getLocale()); in dumpInputMethodInfoList()
248 if (!TextUtils.isEmpty(subtype.getLanguageTag())) { in dumpInputMethodInfoList()
249 sb.append(",languageTag=").append(subtype.getLanguageTag()); in dumpInputMethodInfoList()
DInputMethodSubtypeEndToEndTest.java358 InputMethodSubtype subtype) { in onCurrentIMSubtypeChangedMatcher() argument
360 "onCurrentInputMethodSubtypeChanged(newSubtype=" + subtype + ")", event -> { in onCurrentIMSubtypeChangedMatcher()
366 return Objects.equals(actual, subtype); in onCurrentIMSubtypeChangedMatcher()
/cts/apps/CtsVerifier/jni/megaaudio/player/
DPlayer.h26 Player(AudioSource* source, int32_t subtype) : OboeStream(subtype), mAudioSource(source) {} in Player() argument
DOboePlayer.cpp39 OboePlayer::OboePlayer(JNIEnv *env, AudioSource* source, int subtype) in OboePlayer() argument
40 : Player(source, subtype) in OboePlayer()
/cts/apps/CtsVerifier/jni/megaaudio/recorder/
DRecorder.h26 Recorder(AudioSink* sink, int subtype) : OboeStream(subtype), mAudioSink(sink) {} in Recorder() argument
DOboeRecorder.cpp28 OboeRecorder::OboeRecorder(AudioSink* sink, int32_t subtype) in OboeRecorder() argument
29 : Recorder(sink, subtype), in OboeRecorder()
/cts/apps/CtsVerifier/jni/megaaudio/common/
DOboeStream.h49 OboeStream(int32_t subtype) : mSubtype(subtype), mStreamStarted(false) {} in OboeStream() argument
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/
DSecureSettingsUtils.java80 for (var subtype : subtypes) { in updateEnabledInputMethods()
81 subtypeHashCodes.add(Integer.toString(subtype.hashCode())); in updateEnabledInputMethods()
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DMockImeSession.java1660 public ImeCommand callSwitchInputMethod(String id, @Nullable InputMethodSubtype subtype) { in callSwitchInputMethod() argument
1663 params.putParcelable("subtype", subtype); in callSwitchInputMethod()
DMockIme.java488 final InputMethodSubtype subtype = command.getExtras().getParcelable( in onHandleCommand()
491 switchInputMethod(id, subtype); in onHandleCommand()
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DHelper.java1701 final int subtype = Settings.Secure.getInt(cr, SELECTED_INPUT_METHOD_SUBTYPE); in mockSwitchInputMethod() local
1702 Settings.Secure.putInt(cr, SELECTED_INPUT_METHOD_SUBTYPE, subtype); in mockSwitchInputMethod()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt27686 …ield public static final String TV_MESSAGE_KEY_SUBTYPE = "android.media.tv.TvInputManager.subtype";