/frameworks/rs/ |
rsDevice.cpp | 23 Device::Device() { 27 Device::~Device() { 30 void Device::addContext(Context *rsc) { 34 void Device::removeContext(Context *rsc) { 44 Device * d = new Device(); 49 Device * d = static_cast<Device *>(dev) [all...] |
rsDevice.h | 28 class Device { 30 Device(); 31 ~Device();
|
/frameworks/base/cmds/hid/jni/ |
com_android_commands_hid_Device.h | 38 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();
|
com_android_commands_hid_Device.cpp | 53 Device* d = reinterpret_cast<Device*>(data); 85 Device* Device::open(int32_t id, const char* name, int32_t vid, int32_t pid, 115 // Wait for the device to actually be created. 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) : 131 Device::~Device() { [all...] |
/bootable/recovery/ |
device.h | 22 class Device { 24 Device(RecoveryUI* ui) : ui_(ui) { } 25 virtual ~Device() { } 28 // the recovery user interface for this device. You should not 85 // value. If it is an action specific to your device, you 97 // option from the menu, to perform whatever device-specific wiping 109 // The device-specific library must define this function (or the 110 // default one will be used, if there is no device-specific library). 111 // It returns the Device object that recovery should use. 112 Device* make_device() [all...] |
/packages/apps/Email/provider_src/com/android/email/service/ |
AccountService.java | 28 import com.android.emailcommon.Device; 66 return Device.getDeviceId(mContext); 80 Device.getDeviceId(this);
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
usbrpmif.h | 45 USBRPM_DEVICE_INFORMATION Device[0];
|
af_irda.h | 125 WINDOWS_IRDA_DEVICE_INFO Device[1]; 130 WCE_IRDA_DEVICE_INFO Device[1];
|
/external/deqp/android/scripts/ |
debug.py | 143 print("Pull /system/bin/%s from device" % appProcessName) 148 print("Pull /system/bin/%s from device" % linkerName) 154 print("Pull library %s from device" % lib) 244 class Device: 275 "nexus-4" : Device( 290 "nexus-6" : Device( 410 "nexus-7" : Device( 529 "nexus-10" : Device( 637 "default" : Device( 653 parser.add_argument('--device-gdb', dest='deviceGdbCmd', default=None, help="gdb command used by script on device." 667 device = devices[args.device] variable [all...] |
common.py | 159 class Device: 160 def __init__(self, serial, product, model, device): 164 self.device = device 167 return "%s: {product: %s, model: %s, device: %s}" % (self.serial, self.product, self.model, self.device) 176 ptrn = re.compile(r'^([a-zA-Z0-9]+)\s+.*product:([^\s]+)\s+model:([^\s]+)\s+device:([^\s]+)') 184 print "WARNING: Failed to parse device info '%s'" % line 187 devices.append(Device(m.group(1), m.group(2), m.group(3), m.group(4)))
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/ |
Device.java | 33 public class Device { 37 * EAS requires a unique device id, so that sync is possible from a variety of different 38 * devices (e.g. the syncKey is specific to a device) If we're on an emulator or some other 39 * device that doesn't provide one, we can create it as android<n> where <n> is system time. 40 * This would work on a real device as well, but it would be better to use the "real" id if 63 // It's very bad if we read a null device id; let's delete that file 93 * @return Device's unique ID if available. null if the device has no unique ID.
|
/system/core/libion/tests/ |
device_test.cpp | 32 class Device : public IonAllHeapsTest { 45 void Device::SetUp() 52 void Device::TearDown() 58 void Device::readDMA(int fd, void *buf, size_t size) 72 void Device::writeDMA(int fd, void *buf, size_t size) 86 void Device::readKernel(int fd, void *buf, size_t size) 100 void Device::writeKernel(int fd, void *buf, size_t size) 114 void Device::blowCache() 125 void Device::dirtyCache(void *ptr, size_t size) 134 TEST_F(Device, KernelReadCached [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
DevicePickerActivity.java | 44 * {@link Activity} that shows a list of paired and new devices and returns the device selected 45 * by the user. When the user selects a paired device, it forwards them to the Bluetooth settings 58 private ArrayAdapter<Device> mNewDevicesAdapter; 60 private ArrayAdapter<Device> mPairedDevicesAdapter; 73 mPairedDevicesAdapter = new ArrayAdapter<Device>(this, R.layout.bt_device_name); 81 mNewDevicesAdapter = new ArrayAdapter<Device>(this, R.layout.bt_device_name); 137 for (BluetoothDevice device : pairedDevices) { 138 mPairedDevicesAdapter.add(Device.fromBluetoothDevice(device)); 155 Device device = (Device) parent.getItemAtPosition(position) local 193 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); local [all...] |
/art/tools/dexfuzz/src/dexfuzz/executors/ |
Device.java | 29 * Handles execution either on a remote target device, or on a local host computer. 31 public class Device { 44 * The constructor for a host "device". 46 public Device() { 53 * The constructor for an ADB connected device. 55 public Device(String deviceName, boolean noBootImage) { 113 if (result.getFlattenedAll().contains("device not found")) { 114 Log.errorAndQuit("Couldn't connect to specified ADB device: " + deviceName); 125 * Get the name that would be provided to adb -s to communicate specifically with this device. 146 * Get the command prefix for this device if we want to use adb shell [all...] |
/frameworks/base/cmds/hid/src/com/android/commands/hid/ |
Device.java | 29 public class Device { 32 // Minimum amount of time to wait before sending input events to a device. Even though we're 33 // guaranteed that the device has been created and opened by the input system, there's still a 60 public Device(int id, String name, int vid, int pid, byte[] descriptor, byte[] report) { 122 Log.e(TAG, "Tried to send report to closed device."); 131 Log.e(TAG, "Tried to close already closed device."); 138 throw new IllegalArgumentException("Unknown device message");
|
/frameworks/native/services/inputflinger/ |
EventHub.cpp | 145 // --- EventHub::Device --- 147 EventHub::Device::Device(int fd, int32_t id, const String8& path, 163 EventHub::Device::~Device() { 169 void EventHub::Device::close() { 237 Device* device = mClosingDevices; local 238 mClosingDevices = device->next; 239 delete device; 252 Device* device = getDeviceLocked(deviceId); local 259 Device* device = getDeviceLocked(deviceId); local 266 Device* device = getDeviceLocked(deviceId); local 273 Device* device = getDeviceLocked(deviceId); local 288 Device* device = getDeviceLocked(deviceId); local 315 Device* device = getDeviceLocked(deviceId); local 327 Device* device = getDeviceLocked(deviceId); local 339 Device* device = getDeviceLocked(deviceId); local 354 Device* device = getDeviceLocked(deviceId); local 379 Device* device = getDeviceLocked(deviceId); local 397 Device* device = getDeviceLocked(deviceId); local 417 Device* device = getDeviceLocked(deviceId); local 444 Device* device = getDeviceLocked(deviceId); local 472 Device* device = getDeviceLocked(deviceId); local 492 Device* device = getDeviceLocked(deviceId); local 503 Device* device = getDeviceLocked(deviceId); local 515 Device* device = getDeviceLocked(deviceId); local 541 Device* device = getDeviceLocked(deviceId); local 549 Device* device = getDeviceLocked(deviceId); local 559 Device* device = getDeviceLocked(deviceId); local 624 Device* device = getDeviceLocked(deviceId); local 658 Device* device = getDeviceLocked(deviceId); local 681 Device* device = mDevices.valueAt(i); local 699 Device* device = mDevices.valueAt(i); local 733 Device* device = mClosingDevices; local 755 Device* device = mOpeningDevices; local 815 Device* device = mDevices.valueAt(deviceIndex); local 1133 Device* device = new Device(fd, deviceId, String8(devicePath), identifier); local 1383 Device* device = new Device(-1, VIRTUAL_KEYBOARD_ID, String8("<virtual>"), identifier); local 1510 Device* device = getDeviceByPathLocked(devicePath); local 1661 const Device* device = mDevices.valueAt(i); local [all...] |
EventHub.h | 48 * through evdev from uinput device drivers because there is currently no 63 // Device id of a special "virtual" keyboard that is always present. 65 // Device id of the "built-in" keyboard if there is one. 101 * Input device classes. 104 /* The input device is a keyboard or has buttons. */ 107 /* The input device is an alpha-numeric keyboard (not just a dial pad). */ 110 /* The input device is a touchscreen or a touchpad (either single-touch or multi-touch). */ 113 /* The input device is a cursor device such as a trackball or mouse. */ 116 /* The input device is a multi-touch touchscreen. * [all...] |
/external/clang/lib/Lex/ |
PTHLexer.cpp | 676 uint64_t Device = endian::readNext<uint64_t, little, unaligned>(d); 677 llvm::sys::fs::UniqueID UniqueID(Device, File);
|
/frameworks/base/core/java/android/bluetooth/ |
BluetoothClass.java | 24 * and capabilities of a device. For example, a Bluetooth class will 25 * specify the general device type such as a phone, a computer, or 29 * exactly one device class. The device class is further broken down into major 30 * and minor device class components. 32 * <p>{@link BluetoothClass} is useful as a hint to roughly describe a device 34 * Bluetooth profiles or services are actually supported by a device. Accurate 41 * a remote device. 47 * constants and methods to determine which Service Class(es) and Device Class 134 * Defines all device class constants [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/bluetooth/ |
BluetoothScanner.java | 46 public static class Device { 53 // the type of configuration this device needs, or -1 if the device does not 60 str.append("Device(addr="); 98 public void onScanningStopped(ArrayList<Device> devices) { 100 public void onDeviceAdded(Device device) { 102 public void onDeviceChanged(Device device) { 104 public void onDeviceRemoved(Device device) 388 Device device = null; local 435 Device device = mPresentDevices.get(i); local [all...] |
/external/harfbuzz_ng/src/ |
hb-ot-layout-common-private.hh | [all...] |
/external/llvm/include/llvm/Support/ |
FileSystem.h | 119 uint64_t Device; 124 UniqueID(uint64_t Device, uint64_t File) : Device(Device), File(File) {} 126 return Device == Other.Device && File == Other.File; 130 return std::tie(Device, File) < std::tie(Other.Device, Other.File); 132 uint64_t getDevice() const { return Device; } 407 /// @param result Set to true if stat(A) and stat(B) have the same device an [all...] |
/frameworks/base/services/midi/java/com/android/server/midi/ |
MidiService.java | 83 private final HashMap<MidiDeviceInfo, Device> mDevicesByInfo 84 = new HashMap<MidiDeviceInfo, Device>(); 87 private final HashMap<BluetoothDevice, Device> mBluetoothDevices 88 = new HashMap<BluetoothDevice, Device>(); 91 private final HashMap<IBinder, Device> mDevicesByServer = new HashMap<IBinder, Device>(); 130 // List of all device connections for this client 155 public void addDeviceConnection(Device device, IMidiDeviceOpenCallback callback) { 156 DeviceConnection connection = new DeviceConnection(device, this, callback) 682 Device device = mDevicesByServer.get(server.asBinder()); local 706 Device device = mDevicesByInfo.get(deviceInfo); local 715 Device device = mDevicesByServer.get(server.asBinder()); local 753 Device device = null; local 954 Device device = iterator.next(); local [all...] |
/external/mesa3d/include/CL/ |
cl.hpp | 103 * std::vector<cl::Device> devices = context.getInfo<CL_CONTEXT_DEVICES>(); 200 class Device; 837 F(cl_context_info, CL_CONTEXT_DEVICES, VECTOR_CLASS<Device>) \ 895 F(cl_command_queue_info, CL_QUEUE_DEVICE, cl::Device) \ [all...] |
/frameworks/native/services/inputflinger/tests/ |
InputReader_test.cpp | 313 struct Device { 328 Device(uint32_t classes) : 333 KeyedVector<int32_t, Device*> mDevices; 348 Device* device = new Device(classes); local 349 device->identifier.name = name; 350 mDevices.add(deviceId, device); 367 Device* device = getDevice(deviceId) local 372 Device* device = getDevice(deviceId); local 378 Device* device = getDevice(deviceId); local 391 Device* device = getDevice(deviceId); local 396 Device* device = getDevice(deviceId); local 401 Device* device = getDevice(deviceId); local 406 Device* device = getDevice(deviceId); local 411 Device* device = getDevice(deviceId); local 417 Device* device = getDevice(deviceId); local 430 Device* device = getDevice(deviceId); local 435 Device* device = getDevice(deviceId); local 444 Device* device = getDevice(deviceId); local 475 Device* device = getDevice(deviceId); local 480 Device* device = getDevice(deviceId); local 489 Device* device = getDevice(deviceId); local 497 Device* device = getDevice(deviceId); local 510 Device* device = getDevice(deviceId); local 523 Device* device = getDevice(deviceId); local 574 Device* device = getDevice(deviceId); local 585 Device* device = getDevice(deviceId); local 596 Device* device = getDevice(deviceId); local 608 Device* device = getDevice(deviceId); local 623 Device* device = getDevice(deviceId); local 644 Device* device = getDevice(deviceId); local 653 Device* device = getDevice(deviceId); local 658 Device* device = getDevice(deviceId); local 675 Device* device = getDevice(deviceId); local 962 InputDevice* device = mNextDevice; local 1014 InputDevice* device = mReader->newDevice(deviceId, controllerNumber, name, classes); local [all...] |