Home
last modified time | relevance | path

Searched refs:Device (Results 1 – 25 of 191) 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()
305 case Device.AUDIO_VIDEO_HIFI_AUDIO: in doesClassMatch()
306 case Device.AUDIO_VIDEO_HEADPHONES: in doesClassMatch()
307 case Device.AUDIO_VIDEO_LOUDSPEAKER: in doesClassMatch()
308 case Device.AUDIO_VIDEO_CAR_AUDIO: in doesClassMatch()
321 case Device.AUDIO_VIDEO_HANDSFREE: in doesClassMatch()
322 case Device.AUDIO_VIDEO_WEARABLE_HEADSET: in doesClassMatch()
323 case Device.AUDIO_VIDEO_CAR_AUDIO: 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/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()
44 Device * d = new Device(); in rsDeviceCreate()
49 Device * d = static_cast<Device *>(dev); in rsDeviceDestroy()
54 Device * d = static_cast<Device *>(dev); in rsDeviceSetConfig()
DrsDevice.h28 class Device {
30 Device();
31 ~Device();
DrsContext.h61 class Device; variable
93 static Context * createContext(Device *, const RsSurfaceConfig *sc,
261 Device *mDev;
338 bool initContext(Device *, const RsSurfaceConfig *sc);
/frameworks/native/services/inputflinger/
DEventHub.h332 struct Device { struct
333 Device* next; argument
366 Device(int fd, int32_t id, const String8& path, const InputDeviceIdentifier& identifier); argument
367 ~Device();
383 void addDeviceLocked(Device* device); argument
387 void closeDeviceLocked(Device* device);
394 Device* getDeviceByDescriptorLocked(String8& descriptor) const;
395 Device* getDeviceLocked(int32_t deviceId) const;
396 Device* getDeviceByPathLocked(const char* devicePath) const;
398 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/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.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) { in addDeviceConnection()
181 public void deviceAdded(Device device) { in deviceAdded()
195 public void deviceRemoved(Device device) { in deviceRemoved()
209 public void deviceStatusChanged(Device device, MidiDeviceStatus status) { in deviceStatusChanged()
274 private final class Device implements IBinder.DeathRecipient { class in MidiService
[all …]
/frameworks/base/docs/html/tools/help/
Dmonitor.jd1 page.title=Device Monitor
16 <p>Android Device Monitor is a stand-alone tool that provides a graphical user interface for
33 <p>To start Device Monitor:</p>
36 <li>From Android Studio, choose <strong>Tools &gt; Android Device Monitor</strong> or click
37 the Android Device Monitor icon
47 <p>Start an Android emulator or connect an Android device via USB cable, and connect Device
51 If you're using ADT, you may need to close the debugging tool before launching the Device Monitor
Dgltracer.jd30 Device Monitor tool.</p>
41 <p>To run Tracer in Device Monitor:</p>
44 <li>Start the <a href="monitor.html">Device Monitor</a> tool.</li>
67 <li>In Eclipse or Device Monitor, activate the <strong>Tracer for OpenGL ES</strong>
71 <li>In the dialog box, select the <strong>Device</strong> to use for the trace.</li>
97 <li>In Eclipse or Device Monitor, activate the <strong>Tracer for OpenGL ES</strong>
Dtraceview.jd12 <li>Start the <a href="{@docRoot}tools/help/monitor.html">Android Device Monitor</a>. </li>
13 <li>In the Android Device Monitor tool bar, click <strong>DDMS</strong> and select a process. </li>
Dhierarchy-viewer.jd13 <li> From Android Studio, choose <strong>Tools &gt; Android Device Monitor</strong> or click the
14 Android Device Monitor icon
/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/base/docs/html/training/enterprise/
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/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/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
57 <h2 id="overview">Device Administration API Overview</h2>
59 <p>Here are examples of the types of applications that might use the Device Administration API:</p>
63 <li>Device management services and applications.</li>
67 <p>You use the Device Administration API to write device admin applications that users
98 supported in the Device Administration API, the connection will not
[all …]
/frameworks/base/docs/html/tools/performance/hierarchy-viewer/
Dindex.jd30 Device Setup for Hierarchy Viewer</a></li>
73 …<a href="{@docRoot}tools/performance/hierarchy-viewer/setup.html">Device Setup for Hierarchy Viewe…
94 <strong>Figure 1. </strong>Starting Android Device Monitor.
102 <li>From Android Studio, start the Android Device Monitor: <b>Tools &gt; Android &gt;
103 Android Device Monitor</b>.</li>
119 <strong>Figure 2. </strong>Android Device Monitor.
123 <li>Figure 2 illustrates what is initially shown in the Device Monitor tool. This varies
149 <li>In Android Device Monitor (ADM), in the menu bar, choose <b>Window &gt; Open
192 <li>If you see a different window arrangement, in Android Device Manager, use
/frameworks/base/docs/html/tools/performance/systrace/
Dindex.jd38 Device Monitor.</p>
80 <strong>Figure 1. </strong>Starting Android Device Monitor.
88 <li>From Android Studio, start the Android Device Monitor: <b>Tools -&gt; Android -&gt; Android
89 Device</b> <b>Monitor</b>.
172 <li>When the trace is done, you are automatically returned to Android Device Monitor.</li>
/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>
77 <li>In the <strong>Choose Device</strong> window that appears, select the
127 to first create an <a href="{@docRoot}tools/devices/index.html">Android Virtual Device</a> (AVD). An
134 <li>Launch the Android Virtual Device Manager:
152 <li>On the AVD Manager main screen (figure 1), click <strong>Create Virtual Device</strong>.</li>
169 <li>In the <strong>Choose Device</strong> window, click the <strong>Launch emulator</strong> radio
/frameworks/base/docs/html/training/scheduling/
Dindex.jd1 page.title=Managing Device Awake State
52 <strong><a href="wakelock.html">Keeping the Device Awake</a></strong>

12345678