/frameworks/rs/ |
rsDevice.cpp | 23 Device::Device() { 27 Device::~Device() { 30 void Device::addContext(Context *rsc) { 34 void Device::removeContext(Context *rsc) {
|
rsDevice.h | 28 class Device { 30 Device(); 31 ~Device();
|
/external/libweave/include/weave/ |
device.h | 28 kUnconfigured, // Device was not registered. 34 class Device { 36 virtual ~Device() {} 49 // Adds new trait definitions to device. 59 // Adds a new component instance to device. Traits used by this component 65 // Removes an existing component instance from device. 79 // device->SetStatePropertiesFromJson("myComponent", 142 // Registers the device. 162 LIBWEAVE_EXPORT static std::unique_ptr<Device> Create( 206 // device->SetStatePropertiesFromJson("{'base':{'firmwareVersion':'123'}}" [all...] |
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/ |
device.py | 6 class Device(object): 8 A device instance contains all the necessary information for constructing 12 name: A device name string in human-understandable term. 13 guid: A unique id of the device. Subclass of device must specify this 14 id properly so that device objects to a same actual device must have same
|
/external/webrtc/talk/media/base/ |
device.h | 35 // Used to represent an audio or video capture or render device. 36 struct Device { 37 Device() {} 38 Device(const std::string& name, int id) 42 Device(const std::string& name, const std::string& id)
|
/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 86 // value. If it is an action specific to your device, you 98 // option from the menu, to perform whatever device-specific wiping 110 // The device-specific library must define this function (or the 111 // default one will be used, if there is no device-specific library). 112 // It returns the Device object that recovery should use. 113 Device* make_device() [all...] |
/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/provider_src/com/android/email/service/ |
AccountService.java | 28 import com.android.emailcommon.Device; 66 return Device.getDeviceId(mContext); 80 Device.getDeviceId(this);
|
/system/connectivity/apmanager/ |
device.cc | 17 #include "apmanager/device.h" 33 Device::Device(Manager* manager, 44 Device::~Device() {} 46 void Device::RegisterInterface(const WiFiInterface& new_interface) { 48 << " on device " << GetDeviceName(); 61 void Device::DeregisterInterface(const WiFiInterface& interface) { 63 << " on device " << GetDeviceName(); 73 void Device::ParseWiphyCapability(const shill::Nl80211Message& msg) [all...] |
device.h | 36 // Abstraction for WiFi Device (PHY). Each device can have one or more 38 class Device : public base::RefCounted<Device> { 68 Device(Manager* manager, 71 virtual ~Device(); 73 // Register/deregister WiFi interface on this device. 77 // Parse device capability from NL80211 message. 80 // Claim ownership of this device for AP operation. When |full_control| is 81 // set to true, this will claim all interfaces reside on this device [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
usbrpmif.h | 45 USBRPM_DEVICE_INFORMATION Device[0];
|
/external/autotest/client/cros/input_playback/ |
input_playback.py | 15 class Device(object): 16 """Information about a specific input device.""" 19 self.emulated = False # Whether device is real or not 25 self.device_dir = None # e.g. '/sys/class/input/event4/device/device' 104 """Return True/False if device has a input of given type. 119 Emulate the given input (or default for type) with evemu-device. 121 Emulating more than one of the same device type will only allow playback 122 on the last one emulated. The name of the last-emulated device is 130 @param property_file: Property file of device to be emulated. Generat [all...] |
/external/webrtc/talk/media/webrtc/ |
fakewebrtcdeviceinfo.h | 39 struct Device { 40 Device(const std::string& n, const std::string& i) : name(n), id(i) {} 48 devices_.push_back(Device(device_name, device_id)); 52 Device* dev = GetDeviceById( 67 Device* dev = GetDeviceByIndex(device_num); 80 Device* dev = GetDeviceById(device_id); 87 Device* dev = GetDeviceById(device_id); 109 Device* GetDeviceByIndex(size_t num) { 112 Device* GetDeviceById(const char* device_id) { 122 std::vector<Device> devices_ [all...] |
/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/bt/vendor_libs/test_vendor_lib/scripts/ |
test_channel.py | 17 """Script for sending testing parameters and commands to a Bluetooth device. 20 Bluetooth device. It is intended to be used in tandem with the test vendor 29 tcp:<port>' to forward the port to the device. 30 2. In a separate shell, build and push the test vendor library to the device 33 3. Once logcat has started, turn Bluetooth on from the device. 50 # Used to generate fake device names and addresses during discovery. 89 device = Device(name, address) 90 self._discovered_devices.add_device(device) 91 return device [all...] |
/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...] |
/external/deqp/external/vulkancts/framework/vulkan/ |
vkNullDriver.cpp | 211 class Device 214 Device (VkPhysicalDevice physicalDevice, const VkDeviceCreateInfo* deviceInfo); 215 ~Device (void) {} 326 DescriptorPool (VkDevice device, const VkDescriptorPoolCreateInfo* pCreateInfo) 327 : m_device (device) 402 VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL getDeviceProcAddr (VkDevice device, const char* pName) 404 return reinterpret_cast<Device*>(device)->getProcAddr(pName); 407 VKAPI_ATTR VkResult VKAPI_CALL createGraphicsPipelines (VkDevice device, VkPipelineCache, deUint32 count, const VkGraphicsPipelineCreateInfo* pCreateInfos, const VkAllocationCallbacks* pAllocator, VkPipeline* pPipelines) 413 pPipelines[allocNdx] = allocateNonDispHandle<Pipeline, VkPipeline>(device, pCreateInfos+allocNdx, pAllocator) [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...] |
/build/soong/common/ |
arch.go | 65 // Host or device variants with arm architecture 68 // Host or device variants with arm64 architecture 71 // Host or device variants with mips architecture 74 // Host or device variants with mips64 architecture 77 // Host or device variants with x86 architecture 80 // Host or device variants with x86_64 architecture 85 // Host or device variants for 32-bit architectures 88 // Host or device variants for 64-bit architectures 93 // Device variants 119 // Properties for module variants being built to run on arm (host or device) [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/include/ui/ |
Gralloc1.h | 42 class Device; 46 Descriptor(Device& device, gralloc1_buffer_descriptor_t deviceId) 47 : mShimDevice(device), 65 Device& mShimDevice; 76 class Device { 80 Device(gralloc1_device_t* device); 149 bool load(gralloc1_device_t* device, bool errorIfNull) { 151 device->getFunction(device, descriptor) [all...] |