Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_media_midi.cpp36 jclass deviceClass = android::FindClassOrDie(env, "android/media/midi/MidiDevice"); in register_android_media_midi() local
37 gMidiDeviceClassGlobalRef = env->NewGlobalRef(deviceClass); in register_android_media_midi()
40 gFidMidiNativeHandle = android::GetFieldIDOrDie(env, deviceClass, "mNativeHandle", "J"); in register_android_media_midi()
41 gFidMidiDeviceServerBinder = android::GetFieldIDOrDie(env, deviceClass, in register_android_media_midi()
43 gFidMidiDeviceInfo = android::GetFieldIDOrDie(env, deviceClass, in register_android_media_midi()
/frameworks/base/core/java/android/hardware/usb/
DDeviceFilter.java98 int deviceClass = -1; in read() local
136 deviceClass = intValue; in read()
145 deviceClass, deviceSubclass, deviceProtocol, in read()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbHostManager.java352 private boolean usbDeviceAdded(String deviceAddress, int deviceClass, int deviceSubclass, in usbDeviceAdded() argument
365 if (isBlackListed(deviceClass, deviceSubclass)) { in usbDeviceAdded()
373 if (deviceClass == UsbConstants.USB_CLASS_PER_INTERFACE in usbDeviceAdded()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp1438 constexpr uint32_t deviceClass = INPUT_DEVICE_CLASS_KEYBOARD; in TEST_F() local
1444 ASSERT_NO_FATAL_FAILURE(addDevice(eventHubId, "fake", deviceClass, nullptr)); in TEST_F()
1475 constexpr uint32_t deviceClass = INPUT_DEVICE_CLASS_KEYBOARD; in TEST_F() local
1478 addDeviceWithFakeInputMapper(deviceId, eventHubId, "fake", deviceClass, in TEST_F()
1508 constexpr uint32_t deviceClass = INPUT_DEVICE_CLASS_KEYBOARD; in TEST_F() local
1511 addDeviceWithFakeInputMapper(deviceId, eventHubId, "fake", deviceClass, in TEST_F()
1541 constexpr uint32_t deviceClass = INPUT_DEVICE_CLASS_KEYBOARD; in TEST_F() local
1544 addDeviceWithFakeInputMapper(deviceId, eventHubId, "fake", deviceClass, in TEST_F()
1574 constexpr uint32_t deviceClass = INPUT_DEVICE_CLASS_KEYBOARD; in TEST_F() local
1577 addDeviceWithFakeInputMapper(deviceId, eventHubId, "fake", deviceClass, in TEST_F()
[all …]