Home
last modified time | relevance | path

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

1234

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DDeviceIconUtil.java35 private final Map<Integer, Device> mAudioDeviceTypeToIconMap = new HashMap<>();
37 private final Map<Integer, Device> mMediaRouteTypeToIconMap = new HashMap<>();
42 List<Device> deviceList = Arrays.asList( in DeviceIconUtil()
43 new Device( in DeviceIconUtil()
47 new Device( in DeviceIconUtil()
51 new Device( in DeviceIconUtil()
55 new Device( in DeviceIconUtil()
59 new Device( in DeviceIconUtil()
63 new Device( in DeviceIconUtil()
67 new Device( in DeviceIconUtil()
[all …]
DBluetoothMediaDevice.java92 case BluetoothClass.Device.AUDIO_VIDEO_HANDSFREE: in isCarKitDevice()
93 case BluetoothClass.Device.AUDIO_VIDEO_CAR_AUDIO: in isCarKitDevice()
/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.cpp57 Device* d = reinterpret_cast<Device*>(data); in handleLooperEvents()
139 std::unique_ptr<Device> Device::open(int32_t id, const char* name, int32_t vid, int32_t pid, in open()
181 return std::unique_ptr<Device>(new Device(id, std::move(fd), std::move(callback))); in open()
184 Device::Device(int32_t id, android::base::unique_fd fd, std::unique_ptr<DeviceCallback> callback) in Device() function in android::uhid::Device
195 Device::~Device() { in ~Device()
215 void Device::sendReport(const std::vector<uint8_t>& report) const { in sendReport()
228 void Device::sendGetFeatureReportReply(uint32_t id, const std::vector<uint8_t>& report) const { in sendGetFeatureReportReply()
239 int Device::handleEvents(int events) { in handleEvents()
323 std::unique_ptr<uhid::Device> d = in openDevice()
324 uhid::Device::open(id, reinterpret_cast<const char*>(name.c_str()), vid, pid, bus, desc, in openDevice()
[all …]
Dcom_android_commands_hid_Device.h44 class Device {
46 static std::unique_ptr<Device> open(int32_t id, const char* name, int32_t vid, int32_t pid,
50 ~Device();
59 Device(int32_t id, android::base::unique_fd fd, std::unique_ptr<DeviceCallback> callback);
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp360 EventHub::Device::Device(int fd, int32_t id, const std::string& path, in Device() function in android::EventHub::Device
376 EventHub::Device::~Device() { in ~Device()
380 void EventHub::Device::close() { in close()
387 status_t EventHub::Device::enable() { in enable()
397 status_t EventHub::Device::disable() { in disable()
403 bool EventHub::Device::hasValidFd() const { in hasValidFd()
407 const std::shared_ptr<KeyCharacterMap> EventHub::Device::getKeyCharacterMap() const { in getKeyCharacterMap()
412 status_t EventHub::Device::readDeviceBitMask(unsigned long ioctlCode, BitArray<N>& bitArray) { in readDeviceBitMask()
426 void EventHub::Device::configureFd() { in configureFd()
450 bool EventHub::Device::hasKeycodeLocked(int keycode) const { in hasKeycodeLocked()
[all …]
/frameworks/base/services/midi/java/com/android/server/midi/
DMidiService.java116 private final HashMap<MidiDeviceInfo, Device> mDevicesByInfo
117 = new HashMap<MidiDeviceInfo, Device>();
120 private final HashMap<BluetoothDevice, Device> mBluetoothDevices
121 = new HashMap<BluetoothDevice, Device>();
127 private final HashMap<IBinder, Device> mDevicesByServer = new HashMap<IBinder, Device>();
218 public void addDeviceConnection(Device device, IMidiDeviceOpenCallback callback) { in addDeviceConnection()
249 public void deviceAdded(Device device) { in deviceAdded()
263 public void deviceRemoved(Device device) { in deviceRemoved()
277 public void deviceStatusChanged(Device device, MidiDeviceStatus status) { in deviceStatusChanged()
342 private final class Device implements IBinder.DeathRecipient { class in MidiService
[all …]
/frameworks/base/cmds/hid/src/com/android/commands/hid/
DHid.java35 private final SparseArray<Device> mDevices;
65 mDevices = new SparseArray<Device>(); in Hid()
91 Device d = mDevices.valueAt(index); in process()
116 Device d = new Device(id, e.getName(), e.getVendorId(), e.getProductId(), e.getBus(), in registerDevice()
/frameworks/base/cmds/uinput/src/com/android/commands/uinput/
DUinput.java38 private final SparseArray<Device> mDevices;
74 mDevices = new SparseArray<Device>(); in Uinput()
100 Device d = mDevices.valueAt(index); in process()
125 Device d = new Device(id, e.getName(), e.getVendorId(), e.getProductId(), e.getBus(), in registerDevice()
/frameworks/base/services/core/java/com/android/server/audio/
DBtHelper.java635 case BluetoothClass.Device.AUDIO_VIDEO_WEARABLE_HEADSET: in btHeadsetDeviceToAudioDevice()
636 case BluetoothClass.Device.AUDIO_VIDEO_HANDSFREE: in btHeadsetDeviceToAudioDevice()
639 case BluetoothClass.Device.AUDIO_VIDEO_CAR_AUDIO: in btHeadsetDeviceToAudioDevice()
981 case BluetoothClass.Device.AUDIO_VIDEO_UNCATEGORIZED: in btDeviceClassToString()
983 case BluetoothClass.Device.AUDIO_VIDEO_WEARABLE_HEADSET: in btDeviceClassToString()
985 case BluetoothClass.Device.AUDIO_VIDEO_HANDSFREE: in btDeviceClassToString()
989 case BluetoothClass.Device.AUDIO_VIDEO_MICROPHONE: in btDeviceClassToString()
991 case BluetoothClass.Device.AUDIO_VIDEO_LOUDSPEAKER: in btDeviceClassToString()
993 case BluetoothClass.Device.AUDIO_VIDEO_HEADPHONES: in btDeviceClassToString()
995 case BluetoothClass.Device.AUDIO_VIDEO_PORTABLE_AUDIO: in btDeviceClassToString()
[all …]
/frameworks/proto_logging/stats/enums/app/
Dtvsettings_enums.proto584 // TvSettings > System (same as TvSettings > Device Preferences)
593 // TvSettings > System > Device name
749 // TvSettings > System > Ambient mode > Settings > Device information
752 // TvSettings > System > Ambient mode > Settings > Device information > Hide
755 // TvSettings > System > Ambient mode > Settings > Device information > Show
1031 // TvSettings > Device Preferences > Home screen (in classic TvSettings)
1034 // TvSettings > Device Preferences > Home screen (in classic TvSettings) >
1038 // TvSettings > Device Preferences > Home screen (in classic TvSettings) >
1042 // TvSettings > Device Preferences > Home screen (in classic TvSettings) >
1046 // TvSettings > Device Preferences > Home screen (in classic TvSettings) >
[all …]
/frameworks/av/media/libaudiohal/impl/
DDevicesFactoryHalHidl.cpp84 static IDevicesFactory::Device idFromHal(const char *name, status_t* status) { in idFromHal()
87 return IDevicesFactory::Device::PRIMARY; in idFromHal()
89 return IDevicesFactory::Device::A2DP; in idFromHal()
91 return IDevicesFactory::Device::USB; in idFromHal()
93 return IDevicesFactory::Device::R_SUBMIX; in idFromHal()
95 return IDevicesFactory::Device::STUB; in idFromHal()
/frameworks/base/cmds/uinput/
DREADME.md36 | id | integer | Device id |
38 | name | string | Device name |
46 Device ID is used for matching the subsequent commands to a specific device
49 Device bus is used to determine how the uinput device is connected to the host.
52 Device configuration is used to configure uinput device. "type" field provides the UI_SET_*
61 Device ff_effects_max must be provided if FFBIT is set.
63 Device abs_info fields are provided to set the device axes information. It is an array of below
114 | id | integer | Device id |
132 | id | integer | Device id |
/frameworks/base/tests/SystemMemoryTest/host/src/com/android/tests/sysmem/host/
DCujs.java24 private Device mDevice;
26 public Cujs(Device device) { in Cujs()
DDevice.java25 class Device { class
29 Device(ITestDevice device) { in Device() method in Device
DMemoryTest.java46 Device device = new Device(testDevice); in setDevice()
DMetrics.java35 private Device mDevice;
48 Metrics(Device device, TestMetrics metrics, TestLogData logs) { in Metrics()
/frameworks/native/services/inputflinger/reader/include/
DEventHub.h554 struct Device { struct
589 Device(int fd, int32_t id, const std::string& path, argument
591 ~Device();
630 bool tryAddVideoDeviceLocked(Device& device, std::unique_ptr<TouchVideoDevice>& videoDevice)
633 void addDeviceLocked(std::unique_ptr<Device> device) REQUIRES(mLock);
638 void closeDeviceLocked(Device& device) REQUIRES(mLock);
643 status_t registerDeviceForEpollLocked(Device& device) REQUIRES(mLock);
645 status_t unregisterDeviceFromEpollLocked(Device& device) REQUIRES(mLock);
653 Device* getDeviceByDescriptorLocked(const std::string& descriptor) const REQUIRES(mLock);
654 Device* getDeviceLocked(int32_t deviceId) const REQUIRES(mLock);
[all …]
/frameworks/proto_logging/stats/enums/server/
Denums.proto24 // Device idle mode - not active.
26 // Device idle mode - active in lightweight mode.
28 // Device idle mode - active in full mode.
/frameworks/hardware/interfaces/cameraservice/service/2.0/
Dtypes.hal40 * Device physically unplugged
45 * Device physically has been plugged in and the camera can be used
51 * Device physically has been plugged in but it will not be connect-able
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DHidProfile.java180 case BluetoothClass.Device.PERIPHERAL_KEYBOARD: in getHidClassDrawable()
181 case BluetoothClass.Device.PERIPHERAL_KEYBOARD_POINTING: in getHidClassDrawable()
183 case BluetoothClass.Device.PERIPHERAL_POINTING: in getHidClassDrawable()

1234