Home
last modified time | relevance | path

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

12345678

/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 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.cpp30 Device * dev = static_cast<Device *>(vdev); in rsContextCreate()
50 Device * dev = static_cast<Device *>(vdev); in rsContextCreateGL()
DrsDevice.h28 class Device {
30 Device();
31 ~Device();
DrsContext.h61 class Device; variable
93 static Context * createContext(Device *, const RsSurfaceConfig *sc,
266 Device *mDev;
344 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/base/services/midi/java/com/android/server/midi/
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) { in addDeviceConnection()
191 public void deviceAdded(Device device) { in deviceAdded()
205 public void deviceRemoved(Device device) { in deviceRemoved()
219 public void deviceStatusChanged(Device device, MidiDeviceStatus status) { in deviceStatusChanged()
284 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()
87 Device::Device(hwc2_device_t* device) in Device() function in HWC2::Device
145 Device::~Device() in ~Device()
178 std::string Device::dump() const in dump()
189 uint32_t Device::getMaxVirtualDisplayCount() const in getMaxVirtualDisplayCount()
194 Error Device::createVirtualDisplay(uint32_t width, uint32_t height, in createVirtualDisplay()
215 void Device::registerHotplugCallback(HotplugCallback hotplug) in registerHotplugCallback()
228 void Device::registerRefreshCallback(RefreshCallback refresh) in registerRefreshCallback()
[all …]
DHWC2.h56 class Device
59 Device(hwc2_device_t* device);
60 ~Device();
198 Display(Device& device, hwc2_display_t id);
201 friend class HWC2::Device;
321 Device& getDevice() const { return mDevice; } in getDevice()
348 Device& mDevice;
391 Device& mDevice;
/frameworks/base/docs/html/work/
Ddevice-management-policy.jd1 page.title=Enhancing Security with Device Management Policies
13 <li><a href="#CreateDeviceAdminReceiver">Create a Device Administration Receiver</a></li>
14 <li><a href="#ActivateDeviceAdmin">Activate the Device Administrator</a></li>
15 <li><a href="#ImplementDevicePolicyController">Implement the Device Policy Controller</a></li>
21 <li><a href="{@docRoot}guide/topics/admin/device-admin.html">Device Administration</a></li>
37 capabilities through the Device Administration APIs.</p>
87 <h2 id="CreateDeviceAdminReceiver">Create a Device Administration Receiver</h2>
89 <p>Create a Device Administration broadcast receiver, which gets notified of events related to the …
91 <p>In the sample application, Device Admin, when the device administrator is deactivated by the
114 <h2 id="ActivateDeviceAdmin">Activate the Device Administrator</h2>
[all …]
/frameworks/base/docs/html/training/cloudsave/
Dconflict-res.jd26 <li><a href="#solution">Solution: Store the Sub-totals per Device</a></li>
153 <th>Data on Device A</th>
154 <th>Data on Device B</th>
180 <td>Device B saves state to cloud</td>
187 <td>Device A tries to save state to cloud.<br />
195 <td>Device A resolves conflict by picking largest of the two numbers.</td>
259 <th>Data on Device A</th>
260 <th>Data on Device B</th>
302 <td>Device B uploads its data to the cloud
311 <td>Device A tries to upload its data to the cloud.
[all …]
/frameworks/base/docs/html/training/basics/firstapp/
Drunning-app.jd20 <li><a href="#RealDevice">Run on a Real Device</a></li>
46 <h2 id="RealDevice">Run on a Real Device</h2>
72 <li>In the <strong>Choose Device</strong> window that appears, select the
82 to first create an <a href="{@docRoot}tools/devices/index.html">Android Virtual Device</a> (AVD). An
89 <li>Launch the Android Virtual Device Manager:
105 <li>On the AVD Manager main screen, click <strong>Create Virtual Device</strong>.</li>
122 <li>In the <strong>Choose Device</strong> window, click the <strong>Launch emulator</strong> radio
/frameworks/base/docs/html/guide/topics/admin/
Ddevice-admin.jd1 page.title=Device Administration
9 <li><a href="#overview">Device Administration API Overview</a>
16 <li><a href="#developing">Developing a Device Administration Application</a>
35 Android Device Administration API. The Device Administration API provides device
48 provided by the Device Administration API to provide stronger security for
55 >Build a Device Policy Controller</a>.
58 <h2 id="overview">Device Administration API Overview</h2>
60 <p>Here are examples of the types of applications that might use the Device Administration API:</p>
64 <li>Device management services and applications.</li>
68 <p>You use the Device Administration API to write device admin applications that users
[all …]
/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/libvulkan/
Ddriver.cpp54 static const hwvulkan_device_t& Device() { return *Get().dev_; } in Device() function in vulkan::driver::__anon561087de0111::Hal
314 return Hal::Device().EnumerateInstanceExtensionProperties( in QueryExtensionCount()
327 return Hal::Device().EnumerateInstanceExtensionProperties( in EnumerateExtensions()
537 return Hal::Device().GetInstanceProcAddr(instance, pName); in GetInstanceProcAddr()
637 VkResult result = Hal::Device().EnumerateInstanceExtensionProperties( in EnumerateInstanceExtensionProperties()
707 result = Hal::Device().CreateInstance( in CreateInstance()
717 !InitDriverTable(instance, Hal::Device().GetInstanceProcAddr, in CreateInstance()
720 Hal::Device().GetInstanceProcAddr(instance, "vkDestroyInstance")); in CreateInstance()
730 Hal::Device().GetInstanceProcAddr(instance, "vkGetDeviceProcAddr")); in CreateInstance()
/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/cmds/dumpstate/
Ddumpstate.rc32 # Device Owner explicitly requests it, and shared with the Device Policy Controller (DPC) app only

12345678