Home
last modified time | relevance | path

Searched refs:Device (Results 1 – 25 of 49) sorted by relevance

12

/frameworks/base/core/java/android/bluetooth/
DBluetoothClass.java143 public static class Device { class in BluetoothClass
258 return (mClass & Device.Major.BITMASK); in getMajorDeviceClass()
271 return (mClass & Device.BITMASK); in getDeviceClass()
307 case Device.AUDIO_VIDEO_HIFI_AUDIO: in doesClassMatch()
308 case Device.AUDIO_VIDEO_HEADPHONES: in doesClassMatch()
309 case Device.AUDIO_VIDEO_LOUDSPEAKER: in doesClassMatch()
310 case Device.AUDIO_VIDEO_CAR_AUDIO: in doesClassMatch()
323 case Device.AUDIO_VIDEO_HIFI_AUDIO: in doesClassMatch()
324 case Device.AUDIO_VIDEO_SET_TOP_BOX: in doesClassMatch()
325 case Device.AUDIO_VIDEO_VCR : in doesClassMatch()
[all …]
DBluetoothPbap.java292 case BluetoothClass.Device.COMPUTER_DESKTOP: in doesClassMatchSink()
293 case BluetoothClass.Device.COMPUTER_LAPTOP: in doesClassMatchSink()
294 case BluetoothClass.Device.COMPUTER_SERVER: in doesClassMatchSink()
295 case BluetoothClass.Device.COMPUTER_UNCATEGORIZED: in doesClassMatchSink()
DBluetoothMap.java248 case BluetoothClass.Device.COMPUTER_DESKTOP: in doesClassMatchSink()
249 case BluetoothClass.Device.COMPUTER_LAPTOP: in doesClassMatchSink()
250 case BluetoothClass.Device.COMPUTER_SERVER: in doesClassMatchSink()
251 case BluetoothClass.Device.COMPUTER_UNCATEGORIZED: in doesClassMatchSink()
/frameworks/native/services/inputflinger/
DEventHub.h335 struct Device { struct
336 Device* next; argument
369 Device(int fd, int32_t id, const String8& path, const InputDeviceIdentifier& identifier); argument
370 ~Device();
386 void addDeviceLocked(Device* device); argument
390 void closeDeviceLocked(Device* device);
397 Device* getDeviceByDescriptorLocked(String8& descriptor) const;
398 Device* getDeviceLocked(int32_t deviceId) const;
399 Device* getDeviceByPathLocked(const char* devicePath) const;
401 bool hasKeycodeLocked(Device* device, int keycode) const;
[all …]
DEventHub.cpp147 EventHub::Device::Device(int fd, int32_t id, const String8& path, in Device() function in android::EventHub::Device
163 EventHub::Device::~Device() { in ~Device()
169 void EventHub::Device::close() { in close()
237 Device* device = mClosingDevices; in ~EventHub()
252 Device* device = getDeviceLocked(deviceId); in getDeviceIdentifier()
259 Device* device = getDeviceLocked(deviceId); in getDeviceClasses()
266 Device* device = getDeviceLocked(deviceId); in getDeviceControllerNumber()
273 Device* device = getDeviceLocked(deviceId); in getConfiguration()
288 Device* device = getDeviceLocked(deviceId); in getAbsoluteAxisInfo()
315 Device* device = getDeviceLocked(deviceId); in hasRelativeAxis()
[all …]
/frameworks/rs/
DrsDevice.cpp23 Device::Device() { in Device() function in android::renderscript::Device
27 Device::~Device() { in ~Device()
30 void Device::addContext(Context *rsc) { in addContext()
34 void Device::removeContext(Context *rsc) { in removeContext()
DrsApiDevice.cpp28 Device * d = new Device(); in rsDeviceCreate()
40 Device * d = static_cast<Device *>(dev); in rsDeviceSetConfig()
DrsApiContext.cpp25 using android::renderscript::Device;
31 Device * dev = static_cast<Device *>(vdev); in rsContextCreateVendor()
59 Device * dev = static_cast<Device *>(vdev); in rsContextCreateGL()
DrsDevice.h30 class Device {
32 Device();
33 ~Device();
DrsContext.h50 class Device; variable
82 static Context * createContext(Device *, const RsSurfaceConfig *sc,
256 Device *mDev;
334 bool initContext(Device *, const RsSurfaceConfig *sc);
/frameworks/base/cmds/hid/jni/
Dcom_android_commands_hid_Device.cpp53 Device* d = reinterpret_cast<Device*>(data); in handleLooperEvents()
85 Device* Device::open(int32_t id, const char* name, int32_t vid, int32_t pid, in open()
123 return new Device(id, fd, std::move(callback), looper); in open()
126 Device::Device(int32_t id, int fd, std::unique_ptr<DeviceCallback> callback, sp<Looper> looper) : in Device() function in android::uhid::Device
131 Device::~Device() { in ~Device()
141 void Device::sendReport(uint8_t* report, size_t reportSize) { in sendReport()
153 int Device::handleEvents(int events) { in handleEvents()
199 uhid::Device* d = uhid::Device::open( in openDevice()
208 uhid::Device* d = reinterpret_cast<uhid::Device*>(ptr); in sendReport()
215 uhid::Device* d = reinterpret_cast<uhid::Device*>(ptr); in closeDevice()
Dcom_android_commands_hid_Device.h38 class Device {
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();
/frameworks/av/media/libaudiohal/
DDevicesFactoryHalHidl.cpp52 status_t DevicesFactoryHalHidl::nameFromHal(const char *name, IDevicesFactory::Device *device) { in nameFromHal()
54 *device = IDevicesFactory::Device::PRIMARY; in nameFromHal()
57 *device = IDevicesFactory::Device::A2DP; in nameFromHal()
60 *device = IDevicesFactory::Device::USB; in nameFromHal()
63 *device = IDevicesFactory::Device::R_SUBMIX; in nameFromHal()
66 *device = IDevicesFactory::Device::STUB; in nameFromHal()
75 IDevicesFactory::Device hidlDevice; in openDevice()
DDevicesFactoryHalHidl.h43 static status_t nameFromHal(const char *name, IDevicesFactory::Device *device);
/frameworks/base/services/midi/java/com/android/server/midi/
DMidiService.java93 private final HashMap<MidiDeviceInfo, Device> mDevicesByInfo
94 = new HashMap<MidiDeviceInfo, Device>();
97 private final HashMap<BluetoothDevice, Device> mBluetoothDevices
98 = new HashMap<BluetoothDevice, Device>();
101 private final HashMap<IBinder, Device> mDevicesByServer = new HashMap<IBinder, Device>();
167 public void addDeviceConnection(Device device, IMidiDeviceOpenCallback callback) { in addDeviceConnection()
192 public void deviceAdded(Device device) { in deviceAdded()
206 public void deviceRemoved(Device device) { in deviceRemoved()
220 public void deviceStatusChanged(Device device, MidiDeviceStatus status) { in deviceStatusChanged()
285 private final class Device implements IBinder.DeathRecipient { class in MidiService
[all …]
/frameworks/base/cmds/hid/src/com/android/commands/hid/
DHid.java41 private final SparseArray<Device> mDevices;
71 mDevices = new SparseArray<Device>(); in Hid()
98 Device d = mDevices.valueAt(index); in process()
117 Device d = new Device(id, e.getName(), e.getVendorId(), e.getProductId(), in registerDevice()
DDevice.java29 public class Device { class
60 public Device(int id, String name, int vid, int pid, byte[] descriptor, byte[] report) { in Device() method in Device
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWC2.cpp39 auto device = static_cast<HWC2::Device*>(callbackData); in hotplug_hook()
52 auto device = static_cast<HWC2::Device*>(callbackData); in refresh_hook()
64 auto device = static_cast<HWC2::Device*>(callbackData); in vsync_hook()
91 Device::Device(bool useVrComposer) in Device() function in HWC2::Device
106 Device::~Device() in ~Device()
138 std::string Device::dump() const in dump()
143 uint32_t Device::getMaxVirtualDisplayCount() const in getMaxVirtualDisplayCount()
148 Error Device::createVirtualDisplay(uint32_t width, uint32_t height, in createVirtualDisplay()
173 void Device::registerHotplugCallback(HotplugCallback hotplug) in registerHotplugCallback()
186 void Device::registerRefreshCallback(RefreshCallback refresh) in registerRefreshCallback()
[all …]
DHWC2.h63 class Device
69 Device(bool useVrComposer);
70 ~Device();
138 Display(Device& device, hwc2_display_t id);
141 friend class HWC2::Device;
270 Device& getDevice() const { return mDevice; } in getDevice()
291 Device& mDevice;
339 Device& mDevice;
DHWComposer.h50 class Device; variable
210 std::unique_ptr<HWC2::Device> mHwcDevice;
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DHidProfile.java179 case BluetoothClass.Device.PERIPHERAL_KEYBOARD: in getHidClassDrawable()
180 case BluetoothClass.Device.PERIPHERAL_KEYBOARD_POINTING: in getHidClassDrawable()
182 case BluetoothClass.Device.PERIPHERAL_POINTING: in getHidClassDrawable()
/frameworks/native/vulkan/api/templates/
Dvulkan_common.tmpl206 Given a function, return "Global", "Instance", or "Device" depending on which
212 {{define "Vtbl#VkDevice" }}Device{{end}}
213 {{define "Vtbl#VkQueue" }}Device{{end}}
214 {{define "Vtbl#VkCommandBuffer" }}Device{{end}}
/frameworks/native/vulkan/libvulkan/
Ddriver.cpp68 static const hwvulkan_device_t& Device() { return *Get().dev_; } in Device() function in vulkan::driver::__anonbed2d0790111::Hal
408 return Hal::Device().EnumerateInstanceExtensionProperties( in QueryExtensionCount()
421 return Hal::Device().EnumerateInstanceExtensionProperties( in EnumerateExtensions()
643 return Hal::Device().GetInstanceProcAddr(instance, pName); in GetInstanceProcAddr()
752 VkResult result = Hal::Device().EnumerateInstanceExtensionProperties( in EnumerateInstanceExtensionProperties()
907 result = Hal::Device().CreateInstance( in CreateInstance()
917 !InitDriverTable(instance, Hal::Device().GetInstanceProcAddr, in CreateInstance()
920 Hal::Device().GetInstanceProcAddr(instance, "vkDestroyInstance")); in CreateInstance()
930 Hal::Device().GetInstanceProcAddr(instance, "vkGetDeviceProcAddr")); in CreateInstance()
/frameworks/rs/perf-test-scripts/
Dget-thermal40 echo Device: `adb shell getprop ro.product.model`
Dset-gpu-freq42 echo Device: `adb shell getprop ro.product.model`

12