/system/core/adb/ |
test_device.py | 43 if self.device.get_prop('ro.debuggable') != '1': 46 was_root = self.device.shell(['id', '-un'])[0].strip() == 'root' 48 self.device.root() 49 self.device.wait() 55 self.device.unroot() 56 self.device.wait() 63 was_root = self.device.shell(['id', '-un'])[0].strip() == 'root' 65 self.device.unroot() 66 self.device.wait() 72 self.device.root( [all...] |
/external/skia/src/core/ |
SkBlitter_ARGB32.cpp | 17 static void SkARGB32_Blit32(const SkPixmap& device, const SkMask& mask, 31 SkPMColor* dstRow = device.writable_addr32(x, y); 36 dstRow = (SkPMColor*)((char*)dstRow + device.rowBytes()); 43 SkARGB32_Blitter::SkARGB32_Blitter(const SkPixmap& device, const SkPaint& paint) 44 : INHERITED(device) { 73 uint32_t* device = fDevice.writable_addr32(x, y); local 74 SkBlitRow::Color32(device, device, width, fPMColor); 84 uint32_t* device = fDevice.writable_addr32(x, y); local 96 sk_memset32(device, color, count) 109 uint32_t* device = fDevice.writable_addr32(x, y); local 117 uint32_t* device = fDevice.writable_addr32(x, y); local 200 uint32_t* device = fDevice.writable_addr32(x, y); local 208 uint32_t* device = fDevice.writable_addr32(x, y); local 223 uint32_t* device = fDevice.writable_addr32(x, y); local 245 uint32_t* device = fDevice.writable_addr32(x, y); local 263 uint32_t* device = fDevice.writable_addr32(x, y); local 293 uint32_t* device = fDevice.writable_addr32(x, y); local 301 uint32_t* device = fDevice.writable_addr32(x, y); local 366 uint32_t* device = fDevice.writable_addr32(x, y); local 385 uint32_t* device = fDevice.writable_addr32(x, y); local 460 uint32_t* device = fDevice.writable_addr32(x, y); local 592 uint32_t* device = fDevice.writable_addr32(x, y); local [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); 84 if (device->getType() != IDisplayDevice::DEVICE_PRIMARY) 87 device->prePrepare(displays[i]); 91 IDisplayDevice *device = mDisplayDevices.itemAt(i); local 92 if (!device) { 93 VTRACE("device %d doesn't exist", i); 97 if (device->getType() != IDisplayDevice::DEVICE_PRIMARY) 100 ret = device->prepare(displays[i]) 129 IDisplayDevice *device = mDisplayDevices.itemAt(i); local 169 IDisplayDevice *device = mDisplayDevices.itemAt(disp); local 187 IDisplayDevice *device = mDisplayDevices.itemAt(disp); local 205 IDisplayDevice *device = mDisplayDevices.itemAt(disp); local 243 IDisplayDevice *device = mDisplayDevices.itemAt(disp); local 268 IDisplayDevice *device = mDisplayDevices.itemAt(disp); local 294 IDisplayDevice *device = mDisplayDevices.itemAt(disp); local 319 IDisplayDevice *device = mDisplayDevices.itemAt(disp); local 384 IDisplayDevice *device = mDisplayDevices.itemAt(i); local 449 IDisplayDevice *device = mPlatFactory->createDisplayDevice(i); local 491 IDisplayDevice *device = mDisplayDevices.itemAt(i); local [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...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/ |
A2dpSinkService.java | 119 public boolean connect(BluetoothDevice device) { 123 int connectionState = mStateMachine.getConnectionState(device); 129 mStateMachine.sendMessage(A2dpSinkStateMachine.CONNECT, device); 133 boolean disconnect(BluetoothDevice device) { 136 int connectionState = mStateMachine.getConnectionState(device); 142 mStateMachine.sendMessage(A2dpSinkStateMachine.DISCONNECT, device); 156 int getConnectionState(BluetoothDevice device) { 158 return mStateMachine.getConnectionState(device); 161 public boolean setPriority(BluetoothDevice device, int priority) { 165 Settings.Global.getBluetoothA2dpSrcPriorityKey(device.getAddress()) [all...] |
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
VMHostTest.java | 19 import com.android.tradefed.device.DeviceNotAvailableException; 20 import com.android.tradefed.device.ITestDevice; 30 * A wrapper around {@link JarHostTest} that includes additional device setup and clean up. 46 "Failed to install vm-tests prereqs on device %s", 56 * @param device the {@link ITestDevice} 59 * @return true if test jar files are extracted and pushed to device successfully 61 private boolean installVmPrereqs(ITestDevice device, CtsBuildHelper ctsBuild) 63 cleanupDeviceFiles(device); 67 CLog.d("Creating device temp directory, including dalvik-cache."); 68 createRemoteDir(device, VM_TEST_TEMP_DIR + "/dalvik-cache" ) [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...] |
/hardware/libhardware/modules/tv_input/ |
tv_input.cpp | 29 tv_input_device_t device; member in struct:tv_input_private 37 const char* name, struct hw_device_t** device); 115 const char* name, struct hw_device_t** device) 125 dev->device.common.tag = HARDWARE_DEVICE_TAG; 126 dev->device.common.version = TV_INPUT_DEVICE_API_VERSION_0_1; 127 dev->device.common.module = const_cast<hw_module_t*>(module); 128 dev->device.common.close = tv_input_device_close; 130 dev->device.initialize = tv_input_initialize; 131 dev->device.get_stream_configurations = 133 dev->device.open_stream = tv_input_open_stream [all...] |
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/ |
UiWatchers.java | 43 final UiDevice device = UiDevice.getInstance(instr); local 46 device.registerWatcher("AnrWatcher", new UiWatcher() { 49 UiObject2 window = device.findObject( 54 postHandler(device); 61 device.registerWatcher("CrashWatcher", new UiWatcher() { 64 UiObject2 window = device.findObject( 69 postHandler(device); 80 final UiDevice device = UiDevice.getInstance(instr); local 81 device.removeWatcher("AnrWatcher"); 82 device.removeWatcher("CrashWatcher") [all...] |
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/base/ |
Hwcomposer.cpp | 76 IDisplayDevice *device = mDisplayDevices.itemAt(i); local 77 if (!device) { 78 VLOGTRACE("device %d doesn't exist", i); 81 device->prePrepare(displays[i]); 88 IDisplayDevice *device = mDisplayDevices.itemAt(i); local 89 if (!device) { 90 VLOGTRACE("device %d doesn't exist", i); 93 ret = device->prepare(displays[i]); 95 ELOGTRACE("failed to do prepare for device %d", i); 122 IDisplayDevice *device = mDisplayDevices.itemAt(i) local 157 IDisplayDevice *device = mDisplayDevices.itemAt(disp); local 178 IDisplayDevice *device = mDisplayDevices.itemAt(disp); local 200 IDisplayDevice *device = mDisplayDevices.itemAt(disp); local 223 IDisplayDevice *device = mDisplayDevices.itemAt(disp); local 246 IDisplayDevice *device = mDisplayDevices.itemAt(disp); local 264 IDisplayDevice *device = mDisplayDevices.itemAt(disp); local 282 IDisplayDevice *device = mDisplayDevices.itemAt(disp); local 300 IDisplayDevice *device = mDisplayDevices.itemAt(disp); local 373 IDisplayDevice *device = mDisplayDevices.itemAt(i); local 433 IDisplayDevice *device = createDisplayDevice(i, *mPlaneManager); local 461 IDisplayDevice *device = mDisplayDevices.itemAt(i); local [all...] |
/system/gatekeeper/tests/ |
gatekeeper_device_test.cpp | 32 gatekeeper_device_initialize(&device); 36 gatekeeper_close(device); 51 gatekeeper_device_t *device; member in class:GateKeeperDeviceTest 63 ret = device->enroll(device, 400, NULL, 0, NULL, 0, password_payload, password_len, 70 ret = device->verify(device, 400, 0, password_handle, password_handle_length, 87 ret = device->enroll(device, 400, NULL, 0, NULL, 0, password_payload, password_len, 93 ret = device->verify(device, 400, 0, password_handle, password_handle_length [all...] |
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d11/ |
d3d11_objects.h | 30 GalliumD3D11Screen* device; // must not be null member in struct:GalliumD3D11DeviceChild 33 // if this is called, the subclass constructor must set device itself 35 : device(0) 41 device = p_device; 42 device->AddRef(); 47 if(device) 48 device->Release(); 52 * a pointer to the device if it is only held by a pipeline binding in the immediate context 54 * TODO: we could only manipulate the device refcnt when atomic_refcnt == 0 changes, 81 device->AddRef() [all...] |
/system/media/brillo/audio/audioservice/ |
audio_device_handler.cpp | 89 audio_devices_t device, audio_policy_dev_state_t state) { 91 LOG(INFO) << "Audio device handler cannot call audio policy service. Will " 95 VLOG(1) << "Calling Audio Policy Service to change " << device << " to state " 97 aps_->setDeviceConnectionState(device, state, "", ""); 100 void AudioDeviceHandler::ConnectAudioDevice(audio_devices_t device) { 102 NotifyAudioPolicyService(device, state); 103 if (audio_is_input_device(device)) 104 connected_input_devices_.insert(device); 106 connected_output_devices_.insert(device); 109 void AudioDeviceHandler::DisconnectAudioDevice(audio_devices_t device) { 129 audio_devices_t device = *(connected_input_devices_.begin()); local 133 audio_devices_t device = *(connected_output_devices_.begin()); local [all...] |
/device/moto/shamu/camera/QCamera/HAL2/wrapper/ |
QualcommCamera.cpp | 107 QCameraHardwareInterface *util_get_Hal_obj(const camera2_device_t * device) 110 if(device && device->priv){ 111 camera_hardware_t *camHal = (camera_hardware_t *)device->priv; 143 camera2_device_t *device = NULL; local 161 device = &camHal->hw_dev; 162 device->common.close = close_camera_device; 163 device->common.version = CAMERA_DEVICE_API_VERSION_2_0; 164 device->ops = &camera_ops; 165 device->priv = (void *)camHal 187 camera2_device_t *device = (camera2_device_t *)hw_dev; local [all...] |
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
BluetoothStressTest.java | 75 * Stress test for putting the device in and taking the device out of discoverable mode. 144 * Stress test for pairing and unpairing with a remote device. 146 * In this test, the local device initiates pairing with a remote device, and then unpairs with 147 * the device after the pairing has successfully completed. 156 BluetoothDevice device = adapter.getRemoteDevice(BluetoothTestRunner.sDeviceAddress); local 159 mTestUtils.unpair(adapter, device); 163 mTestUtils.pair(adapter, device, BluetoothTestRunner.sDevicePairPasskey, 165 mTestUtils.unpair(adapter, device); 182 BluetoothDevice device = adapter.getRemoteDevice(BluetoothTestRunner.sDeviceAddress); local 209 BluetoothDevice device = adapter.getRemoteDevice(BluetoothTestRunner.sDeviceAddress); local 242 BluetoothDevice device = adapter.getRemoteDevice(BluetoothTestRunner.sDeviceAddress); local 275 BluetoothDevice device = adapter.getRemoteDevice(BluetoothTestRunner.sDeviceAddress); local 308 BluetoothDevice device = adapter.getRemoteDevice(BluetoothTestRunner.sDeviceAddress); local 338 BluetoothDevice device = adapter.getRemoteDevice(BluetoothTestRunner.sDeviceAddress); local 372 BluetoothDevice device = adapter.getRemoteDevice(BluetoothTestRunner.sDeviceAddress); local [all...] |
/build/target/product/ |
product_launched_with_l.mk | 1 #PRODUCT_SHIPPING_API_LEVEL indicates the first api level, device has been commercially launced on.
|
product_launched_with_l_mr1.mk | 1 #PRODUCT_SHIPPING_API_LEVEL indicates the first api level, device has been commercially launced on.
|
product_launched_with_m.mk | 1 #PRODUCT_SHIPPING_API_LEVEL indicates the first api level, device has been commercially launced on.
|
product_launched_with_n.mk | 1 #PRODUCT_SHIPPING_API_LEVEL indicates the first api level, device has been commercially launced on.
|
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/ |
SystemStatusChecker.java | 20 import com.android.tradefed.device.DeviceNotAvailableException; 21 import com.android.tradefed.device.ITestDevice; 43 public void setUp(ITestDevice device, IBuildInfo buildInfo) 45 boolean check = preExecutionCheck(device); 57 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable t) 59 boolean check = postExecutionCheck(device); 78 public boolean preExecutionCheck(ITestDevice device) throws DeviceNotAvailableException { 90 public boolean postExecutionCheck(ITestDevice device) throws DeviceNotAvailableException {
|
WifiCheck.java | 21 import com.android.tradefed.device.DeviceNotAvailableException; 22 import com.android.tradefed.device.ITestDevice; 30 * This preparer ensures that the device is connected to a network. 35 * @throws TargetSetupError if device is not connected to a network and no options are given, or 36 * if the device fails to connect to the network specified in the options 50 private boolean hasWifiFeature(ITestDevice device) throws DeviceNotAvailableException { 51 String pmFeatures = device.executeShellCommand("pm list features"); 56 public void run(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError, 59 if(!hasWifiFeature(device)) { 60 return; // skip this precondition check if device doesn't support wif [all...] |
/cts/hostsidetests/abioverride/src/android/abioverride/cts/ |
AbiOverrideTest.java | 21 import com.android.tradefed.device.ITestDevice; 73 ITestDevice device = getDevice(); local 74 device.uninstallPackage(PACKAGE); 77 device.installPackage(app, false, options); 86 ITestDevice device = getDevice(); local 88 device.executeAdbCommand("logcat", "-c"); 90 device.executeShellCommand(START_COMMAND); 92 String logs = device.executeAdbCommand("logcat", "-v", "brief", "-d", CLASS + ":I", "*:S");
|
/device/intel/edison/base_product/ |
edison.mk | 17 $(call inherit-product, device/generic/brillo/brillo_base.mk) 26 device/intel/edison/base_product/weaved.conf:system/etc/weaved/weaved.conf
|
/device/linaro/hikey/gralloc/ |
framebuffer_device.h | 21 // Create a framebuffer device 22 int framebuffer_device_open(hw_module_t const *module, const char *name, hw_device_t **device);
|
/device/moto/shamu/ |
bt_shamu.mk | 17 $(call inherit-product, device/moto/shamu/aosp_shamu.mk) 21 device/moto/shamu/overlay_bt
|