/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/ |
TraceOptions.java | 20 /** Device on which the application should be run. */ 21 public final String device; field in class:TraceOptions 43 public TraceOptions(String device, String appPackage, String activity, 46 this.device = device;
|
/system/bt/binder/android/bluetooth/ |
IBluetoothPbap.aidl | 29 int getConnectionState(in BluetoothDevice device); 30 void disconnect(in BluetoothDevice device);
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
DeviceFatalError.java | 16 package com.android.tradefed.device; 19 * Thrown when a fatal error has occurred with device, and it should no longer be used for testing. 21 * This should typically be used when the device is still visible through adb, but it is in some 23 * requires human inspection while device is in the current state.
|
DeviceProperties.java | 16 package com.android.tradefed.device; 19 * Common constant definitions for device side property names 23 /** property name for device board */ 25 /** proprty name to indicate device variant (e.g. flo vs dev) */ 26 public static final String VARIANT = "ro.product.vendor.device"; 27 /** Legacy property name to indicate device variant (e.g. flo vs dev) */ 28 public static final String VARIANT_LEGACY = "ro.product.device";
|
NullDevice.java | 16 package com.android.tradefed.device;
|
TcpDevice.java | 16 package com.android.tradefed.device;
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
DeviceBuildInfoInjector.java | 22 import com.android.tradefed.device.DeviceNotAvailableException; 23 import com.android.tradefed.device.ITestDevice; 30 * what device platform test was run on. 32 @OptionClass(alias = "device-build-injector") 35 @Option(name = "override-device-build-id", description = 36 "the device buid id to inject.") 39 @Option(name = "override-device-build-alias", description = 40 "the device buid alias to inject.") 43 @Option(name = "override-device-build-flavor", description = 44 "the device build flavor to inject." [all...] |
ITestsZipInstaller.java | 21 import com.android.tradefed.device.DeviceNotAvailableException; 22 import com.android.tradefed.device.ITestDevice; 28 * a device. 33 * Pushes the contents of the tests.zip file onto the device's data partition. 35 * @param device the {@link ITestDevice} to flash, assumed to be in adb mode. 40 public void pushTestsZipOntoData(ITestDevice device, IDeviceBuildInfo deviceBuild) 66 * Removes all of the files/directories from {@code /data} on the specified device, with the 69 * Implementation will stop the runtime on device. It is highly recommended to reboot the device 72 * @param device The {@link ITestDevice} to act o [all...] |
PushFileInvoker.java | 22 import com.android.tradefed.device.DeviceNotAvailableException; 23 import com.android.tradefed.device.ITestDevice; 29 * A {@link ITargetPreparer} that pushes files from tests zip onto device, mark them as executable 30 * and invokes the binary or script on device. See also {@link TestFilePushSetup}. 42 + "'su' on device, typically only available on debug builds.") 49 public void setUp(ITestDevice device, IBuildInfo buildInfo) 56 super.setUp(device, buildInfo); 59 if (!device.doesFileExist(devicePath)) { 63 if (device.isDirectory(devicePath)) { 68 device.executeShellCommand(String.format("chmod 755 %s", devicePath)) [all...] |
TimeSetterTargetPreparer.java | 22 import com.android.tradefed.device.DeviceNotAvailableException; 23 import com.android.tradefed.device.ITestDevice; 29 * Target preparer to restore the correct time to the device on cleanup. This allows tests to modify 31 * device isn't changed at the end. 52 private void setDeviceTime(ITestDevice device, long time) throws DeviceNotAvailableException { 53 device.setDate(new Date(time)); 57 public void setUp(ITestDevice device, IBuildInfo buildInfo) 63 mDeviceStartTimeMillis = device.getDeviceDate(); 64 setDeviceTime(device, mTimeToSet); 68 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable e [all...] |
AppSetup.java | 23 import com.android.tradefed.device.CollectingOutputReceiver; 24 import com.android.tradefed.device.DeviceNotAvailableException; 25 import com.android.tradefed.device.ITestDevice; 46 @Option(name="reboot", description="reboot device after running tests.") 57 "uninstall all unnstallable apks found on device after test completes.") 78 "check app's min sdk prior to install and skip if device api level is too low.") 88 public void setUp(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError, 94 CLog.i("Performing setup on %s", device.getSerialNumber()); 96 // double check that device is clean, in case it has unexpected cruft on it 97 if (mUninstallAll && !uninstallAllApps(device)) { 135 addPackageNameToUninstall(apkFile.getFile(), device); local [all...] |
/tools/tradefederation/core/src/com/android/tradefed/targetprep/companion/ |
CompanionAllocator.java | 20 import com.android.tradefed.device.DeviceNotAvailableException; 21 import com.android.tradefed.device.DeviceSelectionOptions; 22 import com.android.tradefed.device.ITestDevice; 29 * Base class that takes care of allocating and freeing companion device 32 * needed to allocate the companion device 37 * Sets up the device. 39 * Internal implementation of this method will request a companion device, and allocate it. 42 public void setUp(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError, 45 device, getCompanionDeviceSelectionOptions()); 47 throw new TargetSetupError(String.format("failed to allocate companion device for %s" [all...] |
/device/google/muskie/ |
device-common.mk | 17 LOCAL_PATH := device/google/muskie 75 # Input device files 79 include device/google/wahoo/device.mk 85 device/google/wahoo-kernel/gcc/synaptics_dsx_core_htc.ko \ 86 device/google/wahoo-kernel/gcc/synaptics_dsx_rmi_dev_htc.ko \ 87 device/google/wahoo-kernel/gcc/synaptics_dsx_fw_update_htc.ko \ 88 device/google/wahoo-kernel/gcc/htc_battery.ko \ 89 device/google/wahoo-kernel/gcc/wlan.ko 93 device/google/wahoo-kernel/kasan/synaptics_dsx_core_htc.ko [all...] |
/frameworks/base/tools/preload2/src/com/android/preload/ |
DeviceUtils.java | 36 * Helper class for some device routines. 63 * Run a command in the shell on the device. 65 public static void doShell(IDevice device, String cmdline, long timeout, TimeUnit unit) { 66 doShell(device, cmdline, new NullShellOutputReceiver(), timeout, unit); 70 * Run a command in the shell on the device. Collects and returns the console output. 72 public static String doShellReturnString(IDevice device, String cmdline, long timeout, 75 doShell(device, cmdline, rec, timeout, unit); 80 * Run a command in the shell on the device, directing all output to the given receiver. 82 public static void doShell(IDevice device, String cmdline, IShellOutputReceiver receiver, 85 device.executeShellCommand(cmdline, receiver, timeout, unit) 282 private IDevice device; field in class:DeviceUtils.WaitForDevice 353 private IDevice device; field in class:DeviceUtils.WaitForDevice.WaitForDeviceListener [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
HidProfile.java | 47 // Order of this profile in device profiles list 61 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); local 62 // we may add a new device here, but generally this should not happen 63 if (device == null) { 64 Log.w(TAG, "HidProfile found new device: " + nextDevice); 65 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice); 67 device.onProfileStateChanged(HidProfile.this, BluetoothProfile.STATE_CONNECTED); 68 device.refresh(); 106 public boolean connect(BluetoothDevice device) { 108 return mService.connect(device); [all...] |
/test/vts/harnesses/tradefed/src/com/android/tradefed/util/ |
CmdUtil.java | 21 import com.android.tradefed.device.DeviceNotAvailableException; 22 import com.android.tradefed.device.ITestDevice; 43 * @param device testing device. 44 * @param cmd the command string to be executed on device. 49 public boolean waitCmdResultWithDelay(ITestDevice device, String cmd, 52 if (validateCmdSuccess(device, cmd, predicate)) { 62 * @param device testing device. 63 * @param cmds a vector of the command strings to be executed on device [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/ |
HeadsetClientService.java | 214 public boolean connect(BluetoothDevice device) { 219 return service.connect(device); 223 public boolean disconnect(BluetoothDevice device) { 228 return service.disconnect(device); 250 public int getConnectionState(BluetoothDevice device) { 255 return service.getConnectionState(device); 259 public boolean setPriority(BluetoothDevice device, int priority) { 264 return service.setPriority(device, priority); 268 public int getPriority(BluetoothDevice device) { 273 return service.getPriority(device); [all...] |
/hardware/intel/img/hwcomposer/merrifield/common/base/ |
Hwcomposer.cpp | 79 IDisplayDevice *device = mDisplayDevices.itemAt(i); local 80 if (!device) { 81 VTRACE("device %d doesn't exist", i); 85 if (device->getType() == IDisplayDevice::DEVICE_VIRTUAL) 88 device->prePrepare(displays[i]); 92 IDisplayDevice *device = mDisplayDevices.itemAt(i); local 93 if (!device) { 94 VTRACE("device %d doesn't exist", i); 98 if (device->getType() == IDisplayDevice::DEVICE_VIRTUAL) 101 ret = device->prepare(displays[i]) 130 IDisplayDevice *device = mDisplayDevices.itemAt(i); local 170 IDisplayDevice *device = mDisplayDevices.itemAt(disp); local 188 IDisplayDevice *device = mDisplayDevices.itemAt(disp); local 206 IDisplayDevice *device = mDisplayDevices.itemAt(disp); local 244 IDisplayDevice *device = mDisplayDevices.itemAt(disp); local 269 IDisplayDevice *device = mDisplayDevices.itemAt(disp); local 295 IDisplayDevice *device = mDisplayDevices.itemAt(disp); local 320 IDisplayDevice *device = mDisplayDevices.itemAt(disp); local 385 IDisplayDevice *device = mDisplayDevices.itemAt(i); local 450 IDisplayDevice *device = mPlatFactory->createDisplayDevice(i); local 492 IDisplayDevice *device = mDisplayDevices.itemAt(i); local [all...] |
/external/deqp/external/vulkancts/framework/vulkan/ |
vkRefUtil.cpp | 32 VkDevice device, 38 VK_CHECK(vk.createGraphicsPipelines(device, pipelineCache, 1u, pCreateInfo, pAllocator, &object)); 39 return Move<VkPipeline>(check<VkPipeline>(object), Deleter<VkPipeline>(vk, device, pAllocator)); 43 VkDevice device, 49 VK_CHECK(vk.createComputePipelines(device, pipelineCache, 1u, pCreateInfo, pAllocator, &object)); 50 return Move<VkPipeline>(check<VkPipeline>(object), Deleter<VkPipeline>(vk, device, pAllocator)); 53 Move<VkCommandBuffer> allocateCommandBuffer (const DeviceInterface& vk, VkDevice device, const VkCommandBufferAllocateInfo* pAllocateInfo) 57 VK_CHECK(vk.allocateCommandBuffers(device, pAllocateInfo, &object)); 58 return Move<VkCommandBuffer>(check<VkCommandBuffer>(object), Deleter<VkCommandBuffer>(vk, device, pAllocateInfo->commandPool)); 61 Move<VkDescriptorSet> allocateDescriptorSet (const DeviceInterface& vk, VkDevice device, const VkDescriptorSetAllocateInfo* pAllocateInfo [all...] |
/external/libpcap/ |
pcap-dos.h | 107 extern struct device el2_dev LOCKED_VAR; /* 3Com EtherLink II */ 108 extern struct device el3_dev LOCKED_VAR; /* EtherLink III */ 109 extern struct device tc59_dev LOCKED_VAR; /* 3Com Vortex Card (?) */ 110 extern struct device tc515_dev LOCKED_VAR; 111 extern struct device tc90x_dev LOCKED_VAR; 112 extern struct device tc90bcx_dev LOCKED_VAR; 113 extern struct device wd_dev LOCKED_VAR; 114 extern struct device ne_dev LOCKED_VAR; 115 extern struct device acct_dev LOCKED_VAR; 116 extern struct device cs89_dev LOCKED_VAR 140 struct device { struct [all...] |
/test/vts/harnesses/tradefed/src/com/android/tradefed/targetprep/ |
VtsTraceCollectPreparer.java | 24 import com.android.tradefed.device.DeviceNotAvailableException; 25 import com.android.tradefed.device.ITestDevice; 38 * the profiler libs to device, sets up the permissions, and calls 41 * trace files and profiler libs on the device. 54 // Path of 32 bit test libs on target device. 56 // Path of 64 bit test libs on target device. 58 // Path of vts test directory on target device. 75 public void setUp(ITestDevice device, IBuildInfo buildInfo) 80 device.enableAdbRoot(); 82 pushProfilerLib(device, new File(buildHelper.getTestsDir(), VTS_LIB_DIR_32) [all...] |
/external/skia/src/gpu/mtl/ |
GrMtlGpu.mm | 16 static bool get_feature_set(id<MTLDevice> device, MTLFeatureSet* featureSet) { 19 if ([device supportsFeatureSet:MTLFeatureSet_OSX_GPUFamily1_v2]) { 23 if ([device supportsFeatureSet:MTLFeatureSet_OSX_GPUFamily1_v1]) { 31 if ([device supportsFeatureSet:MTLFeatureSet_iOS_GPUFamily3_v2]) { 35 if ([device supportsFeatureSet:MTLFeatureSet_iOS_GPUFamily3_v1]) { 41 if ([device supportsFeatureSet:MTLFeatureSet_iOS_GPUFamily2_v3]) { 45 if ([device supportsFeatureSet:MTLFeatureSet_iOS_GPUFamily2_v2]) { 49 if ([device supportsFeatureSet:MTLFeatureSet_iOS_GPUFamily2_v1]) { 55 if ([device supportsFeatureSet:MTLFeatureSet_iOS_GPUFamily1_v3]) { 59 if ([device supportsFeatureSet:MTLFeatureSet_iOS_GPUFamily1_v2]) [all...] |
/external/skqp/src/gpu/mtl/ |
GrMtlGpu.mm | 16 static bool get_feature_set(id<MTLDevice> device, MTLFeatureSet* featureSet) { 19 if ([device supportsFeatureSet:MTLFeatureSet_OSX_GPUFamily1_v2]) { 23 if ([device supportsFeatureSet:MTLFeatureSet_OSX_GPUFamily1_v1]) { 31 if ([device supportsFeatureSet:MTLFeatureSet_iOS_GPUFamily3_v2]) { 35 if ([device supportsFeatureSet:MTLFeatureSet_iOS_GPUFamily3_v1]) { 41 if ([device supportsFeatureSet:MTLFeatureSet_iOS_GPUFamily2_v3]) { 45 if ([device supportsFeatureSet:MTLFeatureSet_iOS_GPUFamily2_v2]) { 49 if ([device supportsFeatureSet:MTLFeatureSet_iOS_GPUFamily2_v1]) { 55 if ([device supportsFeatureSet:MTLFeatureSet_iOS_GPUFamily1_v3]) { 59 if ([device supportsFeatureSet:MTLFeatureSet_iOS_GPUFamily1_v2]) [all...] |
/external/libmtp/examples/ |
albums.c | 3 * Example program that lists the albums on the device. 38 dump_albums(LIBMTP_mtpdevice_t *device, uint32_t storageid, int leaf) 43 files = LIBMTP_Get_Files_And_Folders(device, 47 LIBMTP_Dump_Errorstack(device); 48 LIBMTP_Clear_Errorstack(device); 55 dump_albums(device, storageid, file->item_id); 59 album = LIBMTP_Get_Album(device, file->item_id); 115 /* Successfully connected at least one device, so continue */ 124 LIBMTP_mtpdevice_t *device; local 128 device = LIBMTP_Open_Raw_Device_Uncached(&rawdevices[i]) [all...] |
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
TestUtil.java | 46 * Requests permission for a MTP device and returns the first MTP device that has at least one 55 final UsbDevice device = findMtpDevice(usbManager, manager); local 56 waitForStorages(instrumentation, manager, device.getDeviceId()); 57 return device; 61 // When the MTP device is Android, and it changes the USB device type from 62 // "Charging" to "MTP", the device ID will be updated. We need to find a device 72 0, "Device", "device_key", /* opened is */ true, new MtpRoot[0] 92 final UsbDevice device = devices.values().iterator().next(); local 113 MtpDeviceRecord device = null; local [all...] |