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

<<11121314151617181920>>

  /tools/tradefederation/core/src/com/android/tradefed/targetprep/
DefaultTestsZipInstaller.java 21 import com.android.tradefed.device.DeviceNotAvailableException;
22 import com.android.tradefed.device.IFileEntry;
23 import com.android.tradefed.device.ITestDevice;
24 import com.android.tradefed.device.ITestDevice.RecoveryMode;
108 * This implementation will reboot the device into userland before
112 public void pushTestsZipOntoData(ITestDevice device, IDeviceBuildInfo deviceBuild)
115 device.getSerialNumber()));
117 RecoveryMode cachedRecoveryMode = device.getRecoveryMode();
118 device.setRecoveryMode(RecoveryMode.ONLINE);
120 doDeleteData(device);
    [all...]
  /bionic/libc/kernel/uapi/linux/
netrom.h 34 char device[16]; member in struct:nr_route_struct
  /cts/hostsidetests/api/src/com/android/cts/api/
FilePuller.java 26 import com.android.tradefed.device.DeviceNotAvailableException;
27 import com.android.tradefed.device.ITestDevice;
30 * Pulls files from a non-rooted device
33 private final ITestDevice device; field in class:FilePuller
36 FilePuller(ITestDevice device) {
37 this.device = device;
55 // For files on vendor partition, `adb shell pull` does not work on non-rooted device,
57 // device, which might a little bit slower than adb pull, but should be acceptable for
59 device.executeShellCommand(String.format("cat %s", path)
    [all...]
  /cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
BatteryStatsAlarmTest.java 16 package com.android.server.cts.device.batterystats;
50 final Intent intent = new Intent("com.android.server.cts.device.batterystats.ALARM");
BatteryStatsBackgroundService.java 17 package com.android.server.cts.device.batterystats;
19 import static com.android.server.cts.device.batterystats.BatteryStatsBgVsFgActions.KEY_ACTION;
20 import static com.android.server.cts.device.batterystats.BatteryStatsBgVsFgActions.KEY_REQUEST_CODE;
21 import static com.android.server.cts.device.batterystats.BatteryStatsBgVsFgActions.doAction;
BatteryStatsJobDurationTests.java 16 package com.android.server.cts.device.batterystats;
40 new ComponentName("com.android.server.cts.device.batterystats",
  /cts/hostsidetests/incident/apps/graphicsstatsapp/src/com/android/server/cts/device/graphicsstats/
SimpleDrawFrameTests.java 16 package com.android.server.cts.device.graphicsstats;
  /cts/hostsidetests/sample/src/android/sample/cts/
SampleHostJUnit4Test.java 22 import com.android.tradefed.device.ITestDevice;
73 public void setDevice(ITestDevice device) {
74 mDevice = device;
89 ITestDevice device = getDevice(); local
90 assertNotNull("Device not set", device);
92 device.executeShellCommand(CLEAR_COMMAND);
94 device.executeAdbCommand("logcat", "-c");
96 device.executeShellCommand(START_COMMAND);
98 String logs = device.executeAdbCommand("logcat", "-v", "brief", "-d", CLASS + ":I", "*:S")
    [all...]
SampleHostTest.java 19 import com.android.tradefed.device.ITestDevice;
65 ITestDevice device = getDevice(); local
67 device.executeShellCommand(CLEAR_COMMAND);
69 device.executeAdbCommand("logcat", "-c");
71 device.executeShellCommand(START_COMMAND);
73 String logs = device.executeAdbCommand("logcat", "-v", "brief", "-d", CLASS + ":I", "*:S");
  /cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/
StatsdJobService.java 17 package com.android.server.cts.device.statsd;
  /development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/
WiFiDirectBroadcastReceiver.java 73 // we are connected with the other device, request connection
85 WifiP2pDevice device = (WifiP2pDevice) intent local
87 Log.d(WiFiServiceDiscoveryActivity.TAG, "Device status -" + device.status);
  /development/tools/hosttestlib/src/com/android/hosttest/
DeviceConnector.java 29 * The maximum time to wait for a device to be connected.
34 * Initializes DDMS library, and connects to specified Android device
36 * @param deviceSerial the device serial to connect to. If <code>null</code> connect to first
37 * discovered device.
40 * @throws IllegalArgumentException if no device cannot be found.
46 for (IDevice device : adbBridge.getDevices()) {
48 return device;
49 } else if (deviceSerial.equals(device.getSerialNumber())) {
50 return device;
54 System.out.println("Waiting for device...")
57 IDevice device = listener.waitForDevice(MAX_WAIT_DEVICE_TIME); local
    [all...]
  /device/google/contexthub/sensorhal/
activity.h 33 activity_recognition_device_t device; member in class:android::ActivityContext
  /device/google/cuttlefish_common/guest/hals/gralloc/legacy/
framebuffer.cpp 54 framebuffer_device_t device; member in struct:fb_context_t
68 * These functions (and probably the entire framebuffer device) are most likely
69 * not used when the hardware composer device is present, however is hard to be
119 hw_module_t const* module, const char* name, hw_device_t** device) {
129 dev->device.common.tag = HARDWARE_DEVICE_TAG;
130 dev->device.common.version = 0;
131 dev->device.common.module = const_cast<hw_module_t*>(module);
132 dev->device.common.close = fb_close;
133 dev->device.setSwapInterval = fb_setSwapInterval;
134 dev->device.post = fb_post
    [all...]
  /device/google/marlin/health/
CycleCountBackupRestore.cpp 19 namespace device { namespace
24 static constexpr char kCycCntFile[] = "sys/class/power_supply/bms/device/cycle_counts_bins";
132 } // namespace device
LearnedCapacityBackupRestore.cpp 19 namespace device { namespace
114 } // namespace device
  /device/google/wahoo/health/
CycleCountBackupRestore.cpp 19 namespace device { namespace
24 static constexpr char kCycCntFile[] = "sys/class/power_supply/bms/device/cycle_counts_bins";
132 } // namespace device
LearnedCapacityBackupRestore.cpp 19 namespace device { namespace
114 } // namespace device
  /external/adhd/cras/src/server/
cras_a2dp_endpoint.c 23 /* Pointers for the only connected a2dp device. */
26 struct cras_bt_device *device; member in struct:a2dp
137 struct cras_bt_device *device; local
139 device = cras_bt_transport_device(transport);
140 cras_bt_device_a2dp_configured(device);
146 struct cras_bt_device *device = cras_bt_transport_device(transport); local
147 cras_a2dp_suspend_connected_device(device);
164 /* BlueZ connects the device A2DP Sink to our A2DP Source endpoint,
165 * and the device A2DP Source to our A2DP Sink. It's best if you don't
184 void cras_a2dp_start(struct cras_bt_device *device)
    [all...]
  /external/autotest/client/deps/fakegudev/src/
gudev-exercise.c 42 print_device(GUdevDevice *device)
48 printf (" Name: %s\n", g_udev_device_get_name (device));
49 printf (" Device file: %s\n", g_udev_device_get_device_file (device));
50 printf (" Devtype: %s\n", g_udev_device_get_devtype (device));
51 printf (" Driver: %s\n", g_udev_device_get_driver (device));
52 printf (" Subsystem: %s\n", g_udev_device_get_subsystem (device));
53 printf (" Sysfs path: %s\n", g_udev_device_get_sysfs_path (device));
58 const gchar * const * keys = g_udev_device_get_property_keys (device);
63 prop = g_udev_device_get_property (device, *keys)
80 GUdevDevice *device; local
    [all...]
  /external/blktrace/
blkiomon.h 37 __u32 device; member in struct:blkiomon_stat
82 bstat->device = cpu_to_be32(bstat->device);
105 fprintf(fp, "device: %d,%d\n", MAJOR(p->device), MINOR(p->device));
  /external/boringssl/src/util/
run_android_tests.go 34 device = flag.String("device", "", "Specifies the device or emulator. See adb's -s argument.")
52 if len(*device) > 0 {
53 args = append([]string{"-s", *device}, args...)
63 if len(*device) > 0 {
64 args = append([]string{"-s", *device}, args...)
33 device = flag.String("device", "", "Specifies the device or emulator. See adb's -s argument.") var
  /external/deqp/external/vulkancts/modules/vulkan/api/
vktApiNullHandleTests.cpp 67 inline void release (Context& context, VkDevice device, const VkAllocationCallbacks* pAllocator)
69 context.getDeviceInterface().destroyDevice(device, pAllocator);
142 inline void release (Context& context, VkDevice device, VkCommandPool cmdPool, deUint32 numCmdBuffers, const VkCommandBuffer* pCmdBuffers)
144 DE_ASSERT(device != DE_NULL);
147 context.getDeviceInterface().freeCommandBuffers(device, cmdPool, numCmdBuffers, pCmdBuffers);
150 inline void release (Context& context, VkDevice device, VkDescriptorPool descriptorPool, deUint32 numDescriptorSets, const VkDescriptorSet* pDescriptorSets)
152 DE_ASSERT(device != DE_NULL);
155 context.getDeviceInterface().freeDescriptorSets(device, descriptorPool, numDescriptorSets, pDescriptorSets);
190 const VkDevice device = context.getDevice(); local
206 const Unique<VkCommandPool> cmdPool (createCommandPool(vk, device, &cmdPoolCreateInfo))
227 const VkDevice device = context.getDevice(); local
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/protected_memory/
vktProtectedMemImageValidator.cpp 135 const vk::VkDevice device = ctx.getDevice(); local
149 vk::flushMappedMemoryRange(vk, device, refUniform->getAllocation().getMemory(), refUniform->getAllocation().getOffset(), refUniformSize);
159 vk::Unique<vk::VkShaderModule> resetSSBOShader (vk::createShaderModule(vk, device, ctx.getBinaryCollection().get("ResetSSBO"), 0));
160 vk::Unique<vk::VkShaderModule> validatorShader (vk::createShaderModule(vk, device, ctx.getBinaryCollection().get("ImageValidator"), 0));
162 vk::Unique<vk::VkSampler> sampler (makeSampler(vk, device));
180 vk::Unique<vk::VkImageView> imageView (vk::createImageView(vk, device, &viewParams));
187 .build(vk, device));
192 .build(vk, device, vk::VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, 1u));
193 vk::Unique<vk::VkDescriptorSet> descriptorSet (makeDescriptorSet(vk, device, *descriptorPool, *descriptorSetLayout));
205 .update(vk, device);
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/synchronization/
vktSynchronizationBasicFenceTests.cpp 46 const VkDevice device = context.getDevice(); local
49 const Unique<VkCommandPool> cmdPool (createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, queueFamilyIndex));
50 const Unique<VkCommandBuffer> cmdBuffer (makeCommandBuffer(vk, device, *cmdPool));
57 const Unique<VkFence> fence (createFence(vk, device, &fenceInfo));
71 if (VK_NOT_READY != vk.getFenceStatus(device, *fence))
74 if (VK_TIMEOUT != vk.waitForFences(device, 1u, &fence.get(), VK_TRUE, SHORT_FENCE_WAIT))
77 if (VK_NOT_READY != vk.getFenceStatus(device, *fence))
85 if (VK_SUCCESS != vk.waitForFences(device, 1u, &fence.get(), DE_TRUE, LONG_FENCE_WAIT))
88 if (VK_SUCCESS != vk.getFenceStatus(device, *fence))
91 if (VK_SUCCESS != vk.resetFences(device, 1u, &fence.get())
104 const VkDevice device = context.getDevice(); local
165 const VkDevice device = context.getDevice(); local
    [all...]

Completed in 359 milliseconds

<<11121314151617181920>>