Searched refs:Device (Results 1 - 25 of 38) sorted by relevance

12

/frameworks/rs/
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) {
H A DrsApiDevice.cpp28 Device * d = new Device();
33 // A Device should be destroyed in the destructor of the associated Context.
40 Device * d = static_cast<Device *>(dev);
H A DrsDevice.h28 class Device { class in namespace:android::renderscript
30 Device();
31 ~Device();
H A DrsApiContext.cpp41 Device * dev = static_cast<Device *>(vdev);
61 Device * dev = static_cast<Device *>(vdev);
H A DrsContext.h60 class Device;
92 static Context * createContext(Device *, const RsSurfaceConfig *sc,
265 Device *mDev;
343 bool initContext(Device *, const RsSurfaceConfig *sc);
/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);
307 case Device
[all...]
H A DBluetoothPbap.java292 case BluetoothClass.Device.COMPUTER_DESKTOP:
293 case BluetoothClass.Device.COMPUTER_LAPTOP:
294 case BluetoothClass.Device.COMPUTER_SERVER:
295 case BluetoothClass.Device.COMPUTER_UNCATEGORIZED:
H A DBluetoothMap.java219 * @param device Remote Bluetooth Device
248 case BluetoothClass.Device.COMPUTER_DESKTOP:
249 case BluetoothClass.Device.COMPUTER_LAPTOP:
250 case BluetoothClass.Device.COMPUTER_SERVER:
251 case BluetoothClass.Device.COMPUTER_UNCATEGORIZED:
/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/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.
335 struct Device { struct in class:android::EventHub
336 Device* next;
369 Device(int fd, int32_t id, const String8& path, const InputDeviceIdentifier& identifier);
370 ~Device();
386 void addDeviceLocked(Device* device);
390 void closeDeviceLocked(Device* device);
397 Device* getDeviceByDescriptorLocked(String8& descriptor) const;
398 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/libs/ui/
H A DGralloc1.cpp92 Device::Device(gralloc1_device_t* device) function in class:android::Gralloc1::Device
103 bool Device::hasCapability(gralloc1_capability_t capability) const
108 std::string Device::dump()
120 std::shared_ptr<Descriptor> Device::createDescriptor()
132 gralloc1_error_t Device::getStride(buffer_handle_t buffer, uint32_t* outStride)
143 gralloc1_error_t Device::allocate(
169 gralloc1_error_t Device::allocate(
196 gralloc1_error_t Device::retain(buffer_handle_t buffer)
202 gralloc1_error_t Device
[all...]
/frameworks/base/services/midi/java/com/android/server/midi/
H A DMidiService.java92 private final HashMap<MidiDeviceInfo, Device> mDevicesByInfo
93 = new HashMap<MidiDeviceInfo, Device>();
96 private final HashMap<BluetoothDevice, Device> mBluetoothDevices
97 = new HashMap<BluetoothDevice, Device>();
100 private final HashMap<IBinder, Device> mDevicesByServer = new HashMap<IBinder, Device>();
166 public void addDeviceConnection(Device device, IMidiDeviceOpenCallback callback) {
183 // called from Device.close()
191 public void deviceAdded(Device device) {
205 public void deviceRemoved(Device devic
284 private final class Device implements IBinder.DeathRecipient { class in class:MidiService
303 public Device(IMidiDeviceServer server, MidiDeviceInfo deviceInfo, method in class:MidiService.Device
313 public Device(BluetoothDevice bluetoothDevice) { method in class:MidiService.Device
[all...]
/frameworks/base/cmds/hid/src/com/android/commands/hid/
H A DHid.java41 private final SparseArray<Device> mDevices;
71 mDevices = new SparseArray<Device>();
98 Device d = mDevices.valueAt(index);
117 Device d = new Device(id, e.getName(), e.getVendorId(), e.getProductId(),
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/native/include/ui/
H A DGralloc1.h42 class Device;
46 Descriptor(Device& device, gralloc1_buffer_descriptor_t deviceId)
65 Device& mShimDevice;
76 class Device { class in namespace:android::Gralloc1
80 Device(gralloc1_device_t* device);
219 }; // class android::Gralloc1::Device
227 std::unique_ptr<Device> getDevice();
231 std::unique_ptr<Device> mDevice;
H A DGraphicBufferMapper.h66 std::unique_ptr<Gralloc1::Device> mDevice;
H A DGraphicBufferAllocator.h90 std::unique_ptr<Gralloc1::Device> mDevice;
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DHidProfile.java179 case BluetoothClass.Device.PERIPHERAL_KEYBOARD:
180 case BluetoothClass.Device.PERIPHERAL_KEYBOARD_POINTING:
182 case BluetoothClass.Device.PERIPHERAL_POINTING:
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWC2.h57 class Device class in namespace:HWC2
60 Device(hwc2_device_t* device);
61 ~Device();
89 // Other Device methods
137 // Device function pointers
200 Display(Device& device, hwc2_display_t id);
203 friend class HWC2::Device;
323 Device& getDevice() const { return mDevice; }
328 // For use by Device
350 Device
[all...]
H A DHWC2.cpp39 auto device = static_cast<HWC2::Device*>(callbackData);
52 auto device = static_cast<HWC2::Device*>(callbackData);
64 auto device = static_cast<HWC2::Device*>(callbackData);
85 // Device methods
87 Device::Device(hwc2_device_t* device) function in class:HWC2::Device
145 Device::~Device()
154 ALOGE("~Device: Found a display (%" PRId64 " that has already been"
162 ALOGE("~Device
[all...]
/frameworks/base/docs/html/distribute/tools/
H A Ddisttools_toc.cs14 <div class="nav-section empty" style="font-weight:normal"><a href="<?cs var:toroot?>distribute/tools/promote/device-art.html" zh-cn-lang="Device Art Generator">
15 <span class="en">Device Art Generator</span></a>
/frameworks/native/vulkan/libvulkan/
H A Ddriver.cpp54 static const hwvulkan_device_t& Device() { return *Get().dev_; } function in class:vulkan::driver::__anon1606::Hal
314 return Hal::Device().EnumerateInstanceExtensionProperties(
327 return Hal::Device().EnumerateInstanceExtensionProperties(
537 return Hal::Device().GetInstanceProcAddr(instance, pName);
637 VkResult result = Hal::Device().EnumerateInstanceExtensionProperties(
707 result = Hal::Device().CreateInstance(
717 !InitDriverTable(instance, Hal::Device().GetInstanceProcAddr,
720 Hal::Device().GetInstanceProcAddr(instance, "vkDestroyInstance"));
730 Hal::Device().GetInstanceProcAddr(instance, "vkGetDeviceProcAddr"));
/frameworks/base/docs/html/distribute/essentials/
H A Dessentials_toc.cs55 <div class="nav-section empty" style="font-weight:normal"><a href="<?cs var:toroot?>distribute/tools/promote/device-art.html" zh-cn-lang="Device Art Generator">
56 <span class="en">Device Art Generator</span></a>

Completed in 578 milliseconds

12