HomeSort by relevance Sort by last modified time
    Searched refs:device (Results 351 - 375 of 4438) sorted by null

<<11121314151617181920>>

  /cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
ResultFilePuller.java 22 import com.android.tradefed.device.DeviceNotAvailableException;
23 import com.android.tradefed.device.ITestDevice;
35 * Pulls files from the device after a test run and puts them into the result folder.
56 public void setUp(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError, BuildError,
60 delete(device, file);
63 delete(device, dir);
68 private void delete(ITestDevice device, String file) throws DeviceNotAvailableException {
69 device.executeShellCommand(String.format("rm -rf %s", file));
76 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable e)
91 pull(device, file, resultPath)
    [all...]
  /device/google/atv/products/
atv_generic.mk 22 device/google/atv/sdk_overlay \
26 device/google/atv/config.ini:config.ini
41 $(call inherit-product, device/google/atv/products/atv_base.mk)
  /external/blktrace/btt/
trace_plug.c 32 dip_unplug(u_iop->t.device, BIT_TIME(u_iop->t.time), get_nio_up(u_iop));
38 dip_unplug_tm(ut_iop->t.device, BIT_TIME(ut_iop->t.time),
45 dip_plug(p_iop->t.device, BIT_TIME(p_iop->t.time));
  /external/e2fsprogs/misc/
fsck.h 41 char *device; member in struct:fs_info
64 char * device; member in struct:fsck_instance
69 extern char *base_device(const char *device);
  /external/libmtp/examples/
detect.c 3 * Example program to detect a device and list capabilities.
71 fprintf(stdout, "Listing raw device(s)\n");
87 fprintf(stdout, " Found %d device(s):\n", numrawdevices);
115 fprintf(stdout, "Attempting to connect device(s)\n");
117 LIBMTP_mtpdevice_t *device; local
129 device = LIBMTP_Open_Raw_Device(&rawdevices[i]);
130 if (device == NULL) {
131 fprintf(stderr, "Unable to open raw device %d\n", i);
135 LIBMTP_Dump_Errorstack(device);
136 LIBMTP_Clear_Errorstack(device);
    [all...]
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
BluetoothA2dpSinkFacade.java 65 public Boolean a2dpSinkConnect(BluetoothDevice device) {
67 return sA2dpSinkProfile.connect(device);
70 public Boolean a2dpSinkDisconnect(BluetoothDevice device) {
72 return sA2dpSinkProfile.disconnect(device);
80 @Rpc(description = "Connect to an A2DP Sink device.")
82 @RpcParameter(name = "device", description = "Name or MAC address of a bluetooth device.")
83 String device)
86 BluetoothDevice mDevice = BluetoothFacade.getDevice(BluetoothFacade.DiscoveredDevices, device);
87 Log.d("Connecting to device " + mDevice.getAliasName())
97 BluetoothDevice device = null; local
122 BluetoothDevice device; local
    [all...]
BluetoothHfpClientFacade.java 67 public Boolean hfpClientConnect(BluetoothDevice device) {
69 return sHfpClientProfile.connect(device);
72 public Boolean hfpClientDisconnect(BluetoothDevice device) {
74 return sHfpClientProfile.disconnect(device);
82 @Rpc(description = "Connect to an HFP Client device.")
84 @RpcParameter(name = "device", description = "Name or MAC address of a bluetooth device.")
89 BluetoothDevice device = local
91 Log.d("Connecting to device " + device.getAliasName())
106 BluetoothDevice device = local
130 BluetoothDevice device; local
    [all...]
  /external/vulkan-validation-layers/libs/vkjson/
vkjson_unittest.cc 57 VkJsonDevice& device = instance.devices[0]; local
59 const char name[] = "Test device";
60 memcpy(device.properties.deviceName, name, sizeof(name));
61 device.properties.limits.maxImageDimension1D = 3;
62 device.properties.limits.maxSamplerLodBias = 3.5f;
63 device.properties.limits.bufferImageGranularity = 0x1ffffffffull;
64 device.properties.limits.maxViewportDimensions[0] = 1;
65 device.properties.limits.maxViewportDimensions[1] = 2;
70 device.formats.insert(std::make_pair(VK_FORMAT_R8_UNORM, format_props));
71 device.formats.insert(std::make_pair(VK_FORMAT_R8G8_UNORM, format_props))
    [all...]
  /frameworks/base/tools/preload2/src/com/android/preload/actions/
RunMonkeyAction.java 37 private IDevice device; field in class:RunMonkeyAction
40 public RunMonkeyAction(IDevice device, DumpTableModel dataTableModel) {
42 this.device = device;
47 public void setDevice(IDevice device) {
48 this.device = device;
93 DeviceUtils.doShell(device, "monkey -p " + pkg + " " + ITERATIONS, 1,
97 Map<String, String> data = Main.findAndGetClassData(device, pkg);
114 DeviceUtils.doShell(device, "force-stop " + packageName, 5, TimeUnit.SECONDS)
    [all...]
  /tools/test/connectivity/acts/tests/google/wifi/
WifiNativeTest.py 24 self.device = self.native_android_devices[0]
32 # assert wutils.wifi_toggle_state(self.device, True)
33 return self.device.droid.WifiInit()
38 # assert wutils.wifi_toggle_state(self.device, False)
41 result = self.device.droid.WifiGetSupportedFeatureSet()
  /external/opencv3/modules/ts/src/
ocl_test.cpp 117 Device current_device;
121 const char* deviceTypeStr = current_device.type() == Device::TYPE_CPU
122 ? ("CPU") : (current_device.type() == Device::TYPE_GPU ? current_device.hostUnifiedMemory() ? "iGPU" : "dGPU" : "unknown");
137 const Device& device = Device::getDefault(); local
138 if (!device.available())
139 CV_ErrorNoReturn(CV_OpenCLInitError, "OpenCL device is not available");
141 DUMP_MESSAGE_STDOUT("Current OpenCL device: ");
144 DUMP_MESSAGE_STDOUT(" Platform = "<< device.getPlatform().name())
    [all...]
  /external/skia/src/core/
SkBlitter_RGB16.cpp 18 extern void blitmask_d565_opaque_mips(int width, int height, uint16_t* device,
25 extern void SkRGB16BlitterBlitV_neon(uint16_t* device,
64 SkRGB16_Blitter(const SkPixmap& device, const SkPaint& paint);
92 SkRGB16_Opaque_Blitter(const SkPixmap& device, const SkPaint& paint);
106 SkRGB16_Black_Blitter(const SkPixmap& device, const SkPaint& paint);
117 SkRGB16_Shader_Blitter(const SkPixmap& device, const SkPaint& paint,
139 SkRGB16_Shader_Xfermode_Blitter(const SkPixmap& device, const SkPaint& paint,
159 SkRGB16_Black_Blitter::SkRGB16_Black_Blitter(const SkPixmap& device, const SkPaint& paint)
160 : INHERITED(device, paint) {
205 uint16_t* SK_RESTRICT device = fDevice.writable_addr16(clip.fLeft, clip.fTop) local
233 uint16_t* SK_RESTRICT device = fDevice.writable_addr16(x, y); local
271 uint16_t* SK_RESTRICT device = fDevice.writable_addr16(x, y); local
294 uint16_t* SK_RESTRICT device = fDevice.writable_addr16(x, y); local
376 uint16_t* SK_RESTRICT device = fDevice.writable_addr16(clip.fLeft, clip.fTop); local
471 uint16_t* SK_RESTRICT device = fDevice.writable_addr16(x, y); local
491 uint16_t* SK_RESTRICT device = fDevice.writable_addr16(x, y); local
563 uint16_t* SK_RESTRICT device = fDevice.writable_addr16(x, y); local
571 uint16_t* SK_RESTRICT device = fDevice.writable_addr16(x, y); local
626 uint16_t* SK_RESTRICT device = fDevice.writable_addr16(clip.fLeft, clip.fTop); local
650 uint16_t* SK_RESTRICT device = fDevice.writable_addr16(x, y); local
670 uint16_t* SK_RESTRICT device = fDevice.writable_addr16(x, y); local
762 uint16_t* SK_RESTRICT device = fDevice.writable_addr16(x, y); local
829 uint16_t* device = fDevice.writable_addr16(x, y); local
843 uint16_t* SK_RESTRICT device = fDevice.writable_addr16(x, y); local
    [all...]
  /frameworks/base/core/java/android/bluetooth/
BluetoothInputDevice.java 35 * Device Profile.
51 * Device profile.
57 * <li> {@link BluetoothDevice#EXTRA_DEVICE} - The remote device. </li>
295 * Initiate connection to a profile of the remote bluetooth device.
300 * device is already connected or Bluetooth is not turned on.
309 * @param device Remote Bluetooth Device
314 public boolean connect(BluetoothDevice device) {
315 if (DBG) log("connect(" + device + ")");
316 if (mService != null && isEnabled() && isValidDevice(device)) {
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
HeadsetService.java 145 public boolean connect(BluetoothDevice device) {
148 return service.connect(device);
151 public boolean disconnect(BluetoothDevice device) {
155 return service.disconnect(device);
170 public int getConnectionState(BluetoothDevice device) {
173 return service.getConnectionState(device);
176 public boolean setPriority(BluetoothDevice device, int priority) {
179 return service.setPriority(device, priority);
182 public int getPriority(BluetoothDevice device) {
185 return service.getPriority(device);
    [all...]
  /device/asus/fugu/self-extractors/
files-by-owner.sh 25 cat > $target_owner/staging/device-partial.mk << EOF
41 echo -n "# " >> $target_owner/staging/device-partial.mk
44 echo -n Asus >> $target_owner/staging/device-partial.mk
47 echo -n Broadcom >> $target_owner/staging/device-partial.mk
50 echo -n Google >> $target_owner/staging/device-partial.mk
53 echo -n Intel >> $target_owner/staging/device-partial.mk
56 echo -n Widevine >> $target_owner/staging/device-partial.mk
59 echo " blob(s) necessary for Fugu hardware" >> $target_owner/staging/device-partial.mk
60 echo "PRODUCT_COPY_FILES := \\" >> $target_owner/staging/device-partial.mk
96 echo " vendor/$target_owner/fugu/proprietary/lib64/$(basename $file):$file:$target_owner \\" >> $target_owner/staging/device-partial.m
    [all...]
  /external/rmi4utils/rmihidtool/
main.cpp 64 fprintf(stdout, "\t-o, --props\t\t\t\tPrint device properties\n");
66 fprintf(stdout, "\t-m, --print-functions\t\t\tPrint RMI4 functions for the device.\n");
67 fprintf(stdout, "\t-b, --rebind-driver\t\t\tRebind the driver to force an update of device properties.\n");
68 fprintf(stdout, "\t-d, --device-info\t\t\tPrint protocol specific information about the device.\n");
69 fprintf(stdout, "\t-e, --reset-device\t\t\tReset the device.\n");
111 void interactive(RMIDevice * device, unsigned char *report)
131 if (device->SetMode(mode)) {
149 rc = device->Read(addr, report, len)
204 RMIDevice *device; local
    [all...]
  /frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
TestMtpManager.java 48 void addValidDevice(MtpDeviceRecord device) {
49 mDevices.put(device.deviceId, device);
80 final MtpDeviceRecord device = mDevices.valueAt(i); local
81 if (device.opened) {
82 result[i] = device;
85 device.deviceId, device.name, device.deviceKey, device.opened
94 final MtpDeviceRecord device = mDevices.get(deviceId); local
107 final MtpDeviceRecord device = mDevices.get(deviceId); local
    [all...]
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
HeadsetProfile.java 55 // Order of this profile in device profiles list
69 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); local
70 // we may add a new device here, but generally this should not happen
71 if (device == null) {
72 Log.w(TAG, "HeadsetProfile found new device: " + nextDevice);
73 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice);
75 device.onProfileStateChanged(HeadsetProfile.this,
77 device.refresh();
113 public boolean connect(BluetoothDevice device) {
118 Log.d(TAG,"Not disconnecting device = " + sink)
    [all...]
MapProfile.java 56 // Order of this profile in device profiles list
69 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); local
70 // we may add a new device here, but generally this should not happen
71 if (device == null) {
72 Log.w(TAG, "MapProfile found new device: " + nextDevice);
73 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice);
75 device.onProfileStateChanged(MapProfile.this,
77 device.refresh();
114 public boolean connect(BluetoothDevice device) {
119 public boolean disconnect(BluetoothDevice device) {
    [all...]
SapProfile.java 54 // Order of this profile in device profiles list
68 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); local
69 // we may add a new device here, but generally this should not happen
70 if (device == null) {
71 Log.w(TAG, "SapProfile found new device: " + nextDevice);
72 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice);
74 device.onProfileStateChanged(SapProfile.this,
76 device.refresh();
112 public boolean connect(BluetoothDevice device) {
120 return mService.connect(device);
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
A2dpSinkStateMachine.java 102 // mCurrentDevice is the device connected before the state changes
103 // mTargetDevice is the device to be connected
104 // mIncomingDevice is the device connecting to us, valid only in Pending state
115 // Connecting to a device, Pending
117 // Disconnecting device, Connecting to new device
120 // Disconnecting device Pending
199 BluetoothDevice device = (BluetoothDevice) message.obj; local
200 broadcastConnectionState(device, BluetoothProfile.STATE_CONNECTING,
203 if (!connectA2dpNative(getByteAddress(device)) ) {
324 BluetoothDevice device = (BluetoothDevice) message.obj; local
516 BluetoothDevice device = (BluetoothDevice) message.obj; local
539 BluetoothDevice device = (BluetoothDevice) message.obj; local
802 BluetoothDevice device = null; field in class:A2dpSinkStateMachine.StackEvent
    [all...]
  /external/deqp/external/vulkancts/framework/vulkan/
vkRefUtilImpl.inl 143 Move<VkDeviceMemory> allocateMemory (const DeviceInterface& vk, VkDevice device, const VkMemoryAllocateInfo* pAllocateInfo, const VkAllocationCallbacks* pAllocator)
146 VK_CHECK(vk.allocateMemory(device, pAllocateInfo, pAllocator, &object));
147 return Move<VkDeviceMemory>(check<VkDeviceMemory>(object), Deleter<VkDeviceMemory>(vk, device, pAllocator));
150 Move<VkFence> createFence (const DeviceInterface& vk, VkDevice device, const VkFenceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator)
153 VK_CHECK(vk.createFence(device, pCreateInfo, pAllocator, &object));
154 return Move<VkFence>(check<VkFence>(object), Deleter<VkFence>(vk, device, pAllocator));
157 Move<VkSemaphore> createSemaphore (const DeviceInterface& vk, VkDevice device, const VkSemaphoreCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator)
160 VK_CHECK(vk.createSemaphore(device, pCreateInfo, pAllocator, &object));
161 return Move<VkSemaphore>(check<VkSemaphore>(object), Deleter<VkSemaphore>(vk, device, pAllocator));
164 Move<VkEvent> createEvent (const DeviceInterface& vk, VkDevice device, const VkEventCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator
    [all...]
  /external/mesa3d/src/gallium/state_trackers/vdpau/
presentation.c 40 vlVdpPresentationQueueCreate(VdpDevice device,
50 vlVdpDevice *dev = vlGetDataHTAB(device);
58 if (dev != pqt->device)
65 pq->device = dev;
102 pipe_mutex_lock(pq->device->mutex);
104 pipe_mutex_unlock(pq->device->mutex);
134 pipe_mutex_lock(pq->device->mutex);
136 pipe_mutex_unlock(pq->device->mutex);
158 pipe_mutex_lock(pq->device->mutex);
160 pipe_mutex_unlock(pq->device->mutex)
    [all...]
  /development/ndk/platforms/android-3/include/linux/
device.h 30 struct device;
48 int (*match)(struct device * dev, struct device_driver * drv);
49 int (*uevent)(struct device *dev, char **envp,
51 int (*probe)(struct device * dev);
52 int (*remove)(struct device * dev);
53 void (*shutdown)(struct device * dev);
54 int (*suspend)(struct device * dev, pm_message_t state);
55 int (*resume)(struct device * dev);
58 struct device * bus_find_device(struct bus_type *bus, struct device *start
172 struct device { struct
    [all...]
  /external/autotest/client/site_tests/camera_V4L2/
camera_V4L2.py 34 for device in self.v4l2_devices:
36 self.run_v4l2_unittests(device)
38 self.run_v4l2_capture_tests(device)
40 self.run_v4l2_default_capture_test(device, time)
43 def is_v4l2_capture_device(self, device):
45 cmd = "%s %s" % (executable, device)
52 for device in glob.glob("/dev/video*"):
53 statinfo = os.stat(device)
58 self.is_v4l2_capture_device(device)):
59 self.v4l2_devices.append(device)
    [all...]

Completed in 775 milliseconds

<<11121314151617181920>>