Searched defs:Device (Results 1 - 10 of 10) sorted by relevance

/frameworks/rs/
H A DrsDevice.h28 class Device { class in namespace:android::renderscript
30 Device();
31 ~Device();
H A DrsDevice.cpp23 Device::Device() { function in class:Device
27 Device::~Device() {
30 void Device::addContext(Context *rsc) {
34 void Device::removeContext(Context *rsc) {
44 Device * d = new Device();
49 Device * d = static_cast<Device *>(de
[all...]
/frameworks/base/cmds/hid/jni/
H A Dcom_android_commands_hid_Device.h38 class Device { class in namespace:android::uhid
40 static Device* open(int32_t id, const char* name, int32_t vid, int32_t pid,
44 Device(int32_t id, int fd, std::unique_ptr<DeviceCallback> callback, sp<Looper> looper);
45 ~Device();
H A Dcom_android_commands_hid_Device.cpp53 Device* d = reinterpret_cast<Device*>(data);
85 Device* Device::open(int32_t id, const char* name, int32_t vid, int32_t pid,
123 return new Device(id, fd, std::move(callback), looper);
126 Device::Device(int32_t id, int fd, std::unique_ptr<DeviceCallback> callback, sp<Looper> looper) : function in class:android::uhid::Device
131 Device::~Device() {
141 void Device
[all...]
/frameworks/base/cmds/hid/src/com/android/commands/hid/
H A DDevice.java29 public class Device { class
60 public Device(int id, String name, int vid, int pid, byte[] descriptor, byte[] report) { method in class:Device
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothClass.java47 * constants and methods to determine which Service Class(es) and Device Class
138 * BluetoothClass.Device} represent a combination of major and minor
140 * BluetoothClass.Device.Major} represent only major device classes.
143 public static class Device { class in class:BluetoothClass
148 * <p>See {@link BluetoothClass.Device} for minor classes.
252 * public constants in {@link BluetoothClass.Device.Major} to determine
258 return (mClass & Device.Major.BITMASK);
265 * public constants in {@link BluetoothClass.Device} to determine which
271 return (mClass & Device.BITMASK);
305 case Device
[all...]
/frameworks/base/services/midi/java/com/android/server/midi/
H A DMidiService.java84 private final HashMap<MidiDeviceInfo, Device> mDevicesByInfo
85 = new HashMap<MidiDeviceInfo, Device>();
88 private final HashMap<BluetoothDevice, Device> mBluetoothDevices
89 = new HashMap<BluetoothDevice, Device>();
92 private final HashMap<IBinder, Device> mDevicesByServer = new HashMap<IBinder, Device>();
156 public void addDeviceConnection(Device device, IMidiDeviceOpenCallback callback) {
173 // called from Device.close()
181 public void deviceAdded(Device device) {
195 public void deviceRemoved(Device devic
274 private final class Device implements IBinder.DeathRecipient { class in class:MidiService
293 public Device(IMidiDeviceServer server, MidiDeviceInfo deviceInfo, method in class:MidiService.Device
303 public Device(BluetoothDevice bluetoothDevice) { method in class:MidiService.Device
[all...]
/frameworks/native/services/inputflinger/
H A DEventHub.h63 // Device id of a special "virtual" keyboard that is always present.
65 // Device id of the "built-in" keyboard if there is one.
332 struct Device { struct in class:android::EventHub
333 Device* next;
366 Device(int fd, int32_t id, const String8& path, const InputDeviceIdentifier& identifier);
367 ~Device();
383 void addDeviceLocked(Device* device);
387 void closeDeviceLocked(Device* device);
394 Device* getDeviceByDescriptorLocked(String8& descriptor) const;
395 Device* getDeviceLocke
[all...]
H A DEventHub.cpp145 // --- EventHub::Device ---
147 EventHub::Device::Device(int fd, int32_t id, const String8& path, function in class:android::EventHub::Device
163 EventHub::Device::~Device() {
169 void EventHub::Device::close() {
237 Device* device = mClosingDevices;
252 Device* device = getDeviceLocked(deviceId);
259 Device* device = getDeviceLocked(deviceId);
266 Device* devic
[all...]
/frameworks/native/services/inputflinger/tests/
H A DInputReader_test.cpp313 struct Device { struct in class:android::FakeEventHub
328 Device(uint32_t classes) : function in struct:android::FakeEventHub::Device
333 KeyedVector<int32_t, Device*> mDevices;
348 Device* device = new Device(classes);
367 Device* device = getDevice(deviceId);
372 Device* device = getDevice(deviceId);
378 Device* device = getDevice(deviceId);
391 Device* device = getDevice(deviceId);
396 Device* devic
[all...]

Completed in 287 milliseconds