HomeSort by relevance Sort by last modified time
    Searched defs:device (Results 1 - 25 of 2498) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/skia/gn/
push_to_android.py 13 device = '/data/local/tmp/' + os.path.basename(host) variable
18 subprocess.check_output(['adb'] + restrict + ['push', host, device])
19 subprocess.check_call(['adb'] + restrict + ['shell', 'chmod', '+x', device])
  /external/skqp/gn/
push_to_android.py 13 device = '/data/local/tmp/' + os.path.basename(host) variable
18 subprocess.check_output(['adb'] + restrict + ['push', host, device])
19 subprocess.check_call(['adb'] + restrict + ['shell', 'chmod', '+x', device])
  /external/tensorflow/tensorflow/contrib/rnn/python/kernel_tests/
benchmarking.py 27 def device(use_gpu=False): function
28 """TensorFlow device to assign ops to."""
30 return ops.device("/gpu:0")
31 return ops.device("/cpu:0")
  /hardware/qcom/neuralnetworks/hvxservice/1.0/
Service.cpp 22 #include "Device.h"
26 using android::hardware::neuralnetworks::V1_0::implementation::Device;
29 android::sp<IDevice> device = new Device(); local
31 if (device->registerAsService("hvx") != android::OK) {
  /build/make/core/tasks/
device-tests.mk 16 .PHONY: device-tests
18 device-tests-zip := $(PRODUCT_OUT)/device-tests.zip
19 # Create an artifact to include a list of test config files in device-tests.
20 device-tests-list-zip := $(PRODUCT_OUT)/device-tests_list.zip
21 $(device-tests-zip) : .KATI_IMPLICIT_OUTPUTS := $(device-tests-list-zip)
22 $(device-tests-zip) : PRIVATE_device_tests_list := $(PRODUCT_OUT)/device-tests_lis
    [all...]
  /build/make/core/
device.mk 22 define dump-device
30 $(foreach p,$(DEVICES),$(call dump-device,$(p)))
34 # $(1): device to inherit
36 define inherit-device
42 # $(1): device makefile list
51 # $(1): short device name like "sooner"
53 define _resolve-short-device-name
65 $(error No matches for device "$(dn)"), \
66 $(error Device "$(dn)" ambiguous: matches $(d)) \
72 # $(1): short device name like "sooner
    [all...]
  /external/libmtp/examples/
format.c 3 * Example program that formats the device storage.
51 LIBMTP_mtpdevice_t *device; local
57 device = LIBMTP_Get_First_Device();
58 if (device == NULL) {
63 printf("I will now format your device. This means that\n");
69 ret = LIBMTP_Format_Storage(device, device->storage);
76 printf("Failed to format device.\n");
77 LIBMTP_Dump_Errorstack(device);
78 LIBMTP_Clear_Errorstack(device);
    [all...]
reset.c 3 * Example program that resets the device.
51 LIBMTP_mtpdevice_t *device; local
57 device = LIBMTP_Get_First_Device();
58 if (device == NULL) {
63 printf("I will now reset your device. This means that\n");
64 printf("the device may go inactive immediately and may report errors.\n");
67 ret = LIBMTP_Reset_Device(device);
74 printf("Failed to reset device.\n");
75 LIBMTP_Dump_Errorstack(device);
76 LIBMTP_Clear_Errorstack(device);
    [all...]
trexist.c 3 * Example program to check if a certain track exists on the device.
33 LIBMTP_mtpdevice_t *device; local
56 device = LIBMTP_Get_First_Device();
57 if (device == NULL) {
58 printf("No devices. Connect/replug device and try again.\n");
62 printf("%s\n", LIBMTP_Track_Exists(device, id) ? "Yes" : "No");
64 LIBMTP_Release_Device(device);
  /platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/annotations/
MetricOption.java 16 package android.device.collectors.annotations;
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/
pcideviceconquery.py 34 device A single PCI device ID.
62 def device(self): member in class:PcideviceconQuery
65 @device.setter
66 def device(self, value): member in class:PcideviceconQuery
69 raise ValueError("PCI device ID must be positive: {0}".format(value))
82 self.log.debug("Device ID: {0.device!r}".format(self))
87 if self.device and self.device != pcidevicecon.device
    [all...]
  /tools/tradefederation/core/src/com/android/tradefed/targetprep/
TestSystemAppInstallSetup.java 27 import com.android.tradefed.device.DeviceNotAvailableException;
28 import com.android.tradefed.device.ITestDevice;
29 import com.android.tradefed.device.ITestDevice.RecoveryMode;
35 * IDeviceBuildInfo#getTestsDir()} folder onto the /system partition on device.
43 "the name of a test zip file to install on device system partition. Can be repeated.",
60 public void setUp(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError,
73 + "directory", device.getDeviceDescriptor());
75 device.remountSystemWritable();
76 device.setRecoveryMode(RecoveryMode.ONLINE);
77 device.executeShellCommand("stop")
    [all...]
EraseUserDataPreparer.java 21 import com.android.tradefed.device.DeviceNotAvailableException;
22 import com.android.tradefed.device.ITestDevice;
27 /** A {@link ITargetPreparer} that wipes user data on the device. */
36 description="Wait until device is available for testing before performing erase")
45 public void setUp(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError,
51 device.waitForDeviceAvailable();
54 device.enableAdbRoot();
63 mTestsZipInstaller.deleteData(device);
64 device.reboot();
RemoveSystemAppPreparer.java 21 import com.android.tradefed.device.DeviceNotAvailableException;
22 import com.android.tradefed.device.ITestDevice;
30 * that the device is rebooted before actual test execution, so the system partition remains
42 public void setUp(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError,
45 device.remountSystemWritable();
48 device.executeShellCommand(String.format("rm /system/app/%s", file));
50 device.executeShellCommand(String.format("rm /system/priv-app/%s", file));
53 // Reboot the device to put /system back into read-only
54 device.reboot();
55 device.waitForDeviceAvailable()
    [all...]
DeviceWiper.java 22 import com.android.tradefed.device.DeviceNotAvailableException;
23 import com.android.tradefed.device.ITestDevice;
29 @OptionClass(alias = "device-wiper")
37 public void setUp(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError,
42 CLog.i("Wiping device");
43 device.rebootIntoBootloader();
45 doErase(device);
47 doFormat(device);
49 device.executeFastbootCommand("reboot");
50 device.waitForDeviceAvailable()
    [all...]
WifiPreparer.java 21 import com.android.tradefed.device.DeviceNotAvailableException;
22 import com.android.tradefed.device.ITestDevice;
26 * A {@link ITargetPreparer} that configures wifi on the device if necessary.
57 public void setUp(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError,
63 if (!device.isWifiEnabled()) {
65 "The device does not have wifi enabled.", device.getDeviceDescriptor());
66 } else if (!device.checkConnectivity()) {
68 "The device has no wifi connection.", device.getDeviceDescriptor())
    [all...]
  /external/gptfdisk/
cgdisk.cc 31 string device = ""; local
39 cout << "Type device filename, or press <Enter> to exit: ";
40 device = ReadString();
41 if (device.length() == 0)
45 device = (string) argv[1];
49 device = (string) argv[2];
51 device = (string) argv[1];
67 if (theGPT.LoadPartitions(device)) {
76 Report("Could not load partitions from '" + device + "'! Aborting!");
fixparts.cc 27 string device; local
33 cout << "Type device filename, or press <Enter> to exit: ";
34 device = ReadString();
35 if (device.length() == 0)
39 device = argv[1];
46 cout << "\nLoading MBR data from " << device << "\n"; local
47 if (!mbrTable.ReadMBRData(device)) {
48 cerr << "\nUnable to read MBR data from '" << device << "'! Exiting!\n\n"; local
61 cerr << "\nCannot find valid MBR data on '" << device << "'! Exiting!\n\n"; local
68 cerr << "\nCannot determine the validity of the disk on '" << device local
    [all...]
gdisk.cc 16 string device = ""; local
29 cout << "Type device filename, or press <Enter> to exit: ";
30 device = ReadString();
31 if (device.length() == 0)
33 else if (theGPT.LoadPartitions(device)) {
36 theGPT.MainMenu(device);
48 device = (string) argv[2];
50 device = (string) argv[1];
55 if (device != "") {
57 if (theGPT.LoadPartitions(device))
    [all...]
  /external/libdrm/tests/tegra/
openclose.c 40 const char *device; local
44 device = default_device;
46 device = argv[1];
48 fd = open(device, O_RDWR);
  /external/libusb-compat/libusb/
usbi.h 50 struct usb_device *device; member in struct:usb_dev_handle
  /external/mesa3d/src/gallium/state_trackers/clover/core/
device.hpp 38 class device : public ref_counter, public _cl_device_id { class in namespace:clover
40 device(clover::platform &platform, pipe_loader_device *ldev);
41 ~device();
43 device(const device &dev) = delete;
44 device &
45 operator=(const device &dev) = delete;
48 operator==(const device &dev) const;
  /external/mesa3d/src/mesa/drivers/dri/nouveau/
nouveau_screen.h 37 struct nouveau_device *device; member in struct:nouveau_screen
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowInputEvent.java 10 protected InputDevice device; field in class:ShadowInputEvent
14 return device;
17 public void setDevice(InputDevice device) {
18 this.device = device;
  /external/skia/src/android/
SkAndroidFrameworkUtils.cpp 29 SkBaseDevice* device = canvas->getDevice(); local
30 if (!device) {
33 GrRenderTargetContext* rtc = device->accessRenderTargetContext();

Completed in 907 milliseconds

1 2 3 4 5 6 7 8 91011>>