/frameworks/base/services/usb/java/com/android/server/usb/descriptors/ |
UsbACInterfaceUnparsed.java | 25 public UsbACInterfaceUnparsed(int length, byte type, byte subtype, byte subClass) { 26 super(length, type, subtype, subClass);
|
UsbASFormat.java | 43 public UsbASFormat(int length, byte type, byte subtype, byte formatType, byte mSubclass) { 44 super(length, type, subtype, mSubclass); 65 * Allocates the audio-class format subtype associated with the format type read from the 70 byte subtype, byte subclass) { 78 return new Usb20ASFormatI(length, type, subtype, formatType, subclass); 80 return new Usb10ASFormatI(length, type, subtype, formatType, subclass); 85 return new Usb20ASFormatII(length, type, subtype, formatType, subclass); 87 return new Usb10ASFormatII(length, type, subtype, formatType, subclass); 92 return new Usb20ASFormatIII(length, type, subtype, formatType, subclass); 97 return new UsbASFormat(length, type, subtype, formatType, subclass) [all...] |
UsbACInterface.java | 80 protected final byte mSubtype; // 2:1 HEADER descriptor subtype 84 public UsbACInterface(int length, byte type, byte subtype, byte subclass) { 86 mSubtype = subtype; 99 ByteStream stream, int length, byte type, byte subtype, byte subClass) { 100 switch (subtype) { 106 return new Usb20ACHeader(length, type, subtype, subClass, acInterfaceSpec); 108 return new Usb10ACHeader(length, type, subtype, subClass, acInterfaceSpec); 116 return new Usb20ACInputTerminal(length, type, subtype, subClass); 118 return new Usb10ACInputTerminal(length, type, subtype, subClass); 126 return new Usb20ACOutputTerminal(length, type, subtype, subClass) [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
AdditionalSubtypeUtilsTests.java | 19 import static com.android.inputmethod.latin.common.Constants.Subtype.KEYBOARD_MODE; 20 import static com.android.inputmethod.latin.common.Constants.Subtype.ExtraValue.ASCII_CAPABLE; 21 import static com.android.inputmethod.latin.common.Constants.Subtype.ExtraValue.EMOJI_CAPABLE; 22 import static com.android.inputmethod.latin.common.Constants.Subtype.ExtraValue.IS_ADDITIONAL_SUBTYPE; 23 import static com.android.inputmethod.latin.common.Constants.Subtype.ExtraValue.KEYBOARD_LAYOUT_SET; 24 import static com.android.inputmethod.latin.common.Constants.Subtype.ExtraValue.UNTRANSLATABLE_STRING_IN_SUBTYPE_NAME; 40 * Predictable subtype ID for en_US dvorak layout. This is actually a hash code calculated as 75 * Predictable subtype ID for azerty layout. This is actually a hash code calculated as follows. 108 private static void assertEnUsDvorak(InputMethodSubtype subtype) { 109 assertEquals("en_US", subtype.getLocale()) [all...] |
/external/nist-sip/java/gov/nist/javax/sip/header/ |
MediaRange.java | 48 * | ( type "/" subtype ) 65 /** subtype field 67 protected String subtype; field in class:MediaRange 81 /** get the subType field. 85 return subtype; 97 * Set the subtype member 101 subtype = s; 115 .append(subtype);
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/ |
KeyboardLayoutSetNavigateMoreKeysBase.java | 79 private void doTestMoreKeysOf(final int code, final InputMethodSubtype subtype, 85 final KeyboardLayoutSet layoutSet = createKeyboardLayoutSet(subtype, editorInfo); 120 private void doTestNavigationMoreKeysOf(final int code, final InputMethodSubtype subtype, 123 doTestMoreKeysOf(code, subtype, elementId, inputType, 127 doTestMoreKeysOf(code, subtype, elementId, inputType, 131 doTestMoreKeysOf(code, subtype, elementId, inputType, 135 doTestMoreKeysOf(code, subtype, elementId, inputType, 139 doTestMoreKeysOf(code, subtype, elementId, inputType, 143 doTestMoreKeysOf(code, subtype, elementId, inputType, 147 doTestMoreKeysOf(code, subtype, elementId, inputType 285 final InputMethodSubtype subtype = richImm.findSubtypeByLocaleAndKeyboardLayoutSet( local [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/action/ |
KlpActionCustomTests.java | 28 for (final InputMethodSubtype subtype : mSubtypesWhoseNameIsDisplayedInItsLocale) { 29 final String tag = "custom " + SubtypeLocaleUtils.getSubtypeNameForLogging(subtype); 34 doTestActionKey(tag, subtype, editorInfo, expectedKey);
|
KlpActionNoneTests.java | 31 for (final InputMethodSubtype subtype : mSubtypesWhoseNameIsDisplayedInItsLocale) { 32 final String tag = "none " + SubtypeLocaleUtils.getSubtypeNameForLogging(subtype); 33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_NONE, expectedKey);
|
KlpActionSearchTests.java | 31 for (final InputMethodSubtype subtype : mSubtypesWhoseNameIsDisplayedInItsLocale) { 32 final String tag = "search " + SubtypeLocaleUtils.getSubtypeNameForLogging(subtype); 33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_SEARCH, expectedKey);
|
KlpActionUnspecifiedTests.java | 31 for (final InputMethodSubtype subtype : mSubtypesWhoseNameIsDisplayedInItsLocale) { 33 + SubtypeLocaleUtils.getSubtypeNameForLogging(subtype); 34 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_UNSPECIFIED, expectedKey);
|
LxxActionCustomTests.java | 28 for (final InputMethodSubtype subtype : getAllSubtypesList()) { 29 final String tag = "custom " + SubtypeLocaleUtils.getSubtypeNameForLogging(subtype); 34 doTestActionKey(tag, subtype, editorInfo, expectedKey);
|
LxxActionDoneTests.java | 31 for (final InputMethodSubtype subtype : getAllSubtypesList()) { 32 final String tag = "done " + SubtypeLocaleUtils.getSubtypeNameForLogging(subtype); 33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_DONE, expectedKey);
|
LxxActionGoTests.java | 31 for (final InputMethodSubtype subtype : getAllSubtypesList()) { 32 final String tag = "go " + SubtypeLocaleUtils.getSubtypeNameForLogging(subtype); 33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_GO, expectedKey);
|
LxxActionNextTests.java | 31 for (final InputMethodSubtype subtype : getAllSubtypesList()) { 32 final String tag = "next " + SubtypeLocaleUtils.getSubtypeNameForLogging(subtype); 33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_NEXT, expectedKey);
|
LxxActionNoneTests.java | 31 for (final InputMethodSubtype subtype : getAllSubtypesList()) { 32 final String tag = "none " + SubtypeLocaleUtils.getSubtypeNameForLogging(subtype); 33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_NONE, expectedKey);
|
LxxActionPreviousTests.java | 31 for (final InputMethodSubtype subtype : getAllSubtypesList()) { 32 final String tag = "previous " + SubtypeLocaleUtils.getSubtypeNameForLogging(subtype); 33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_PREVIOUS, expectedKey);
|
LxxActionSearchTests.java | 31 for (final InputMethodSubtype subtype : getAllSubtypesList()) { 32 final String tag = "search " + SubtypeLocaleUtils.getSubtypeNameForLogging(subtype); 33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_SEARCH, expectedKey);
|
LxxActionSendTests.java | 31 for (final InputMethodSubtype subtype : getAllSubtypesList()) { 32 final String tag = "send " + SubtypeLocaleUtils.getSubtypeNameForLogging(subtype); 33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_SEND, expectedKey);
|
LxxActionUnspecifiedTests.java | 31 for (final InputMethodSubtype subtype : getAllSubtypesList()) { 33 + SubtypeLocaleUtils.getSubtypeNameForLogging(subtype); 34 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_UNSPECIFIED, expectedKey);
|
KlpActionDoneTests.java | 29 for (final InputMethodSubtype subtype : mSubtypesWhoseNameIsDisplayedInItsLocale) { 30 final String tag = "done " + SubtypeLocaleUtils.getSubtypeNameForLogging(subtype); 32 R.string.label_done_key, getLabelLocale(subtype), getContext()); 33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_DONE, expectedKey);
|
KlpActionGoTests.java | 29 for (final InputMethodSubtype subtype : mSubtypesWhoseNameIsDisplayedInItsLocale) { 30 final String tag = "go " + SubtypeLocaleUtils.getSubtypeNameForLogging(subtype); 32 R.string.label_go_key, getLabelLocale(subtype), getContext()); 33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_GO, expectedKey);
|
KlpActionNextTests.java | 29 for (final InputMethodSubtype subtype : mSubtypesWhoseNameIsDisplayedInItsLocale) { 30 final String tag = "next " + SubtypeLocaleUtils.getSubtypeNameForLogging(subtype); 32 R.string.label_next_key, getLabelLocale(subtype), getContext()); 33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_NEXT, expectedKey);
|
KlpActionPreviousTests.java | 29 for (final InputMethodSubtype subtype : mSubtypesWhoseNameIsDisplayedInItsLocale) { 30 final String tag = "previous " + SubtypeLocaleUtils.getSubtypeNameForLogging(subtype); 32 R.string.label_previous_key, getLabelLocale(subtype), getContext()); 33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_PREVIOUS, expectedKey);
|
KlpActionSendTests.java | 29 for (final InputMethodSubtype subtype : mSubtypesWhoseNameIsDisplayedInItsLocale) { 30 final String tag = "send " + SubtypeLocaleUtils.getSubtypeNameForLogging(subtype); 32 R.string.label_send_key, getLabelLocale(subtype), getContext()); 33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_SEND, expectedKey);
|
KlpActionTestsBase.java | 28 // Filter a subtype whose name should be displayed using {@link Locale#ROOT}, such like 32 public boolean accept(final InputMethodSubtype subtype) { 34 SubtypeLocaleUtils.getDisplayLocaleOfSubtypeLocale(subtype.getLocale())); 45 public boolean accept(final InputMethodSubtype subtype) { 46 return !SUBTYPE_FILTER_NAME_IN_BASE_LOCALE.accept(subtype);
|