/hardware/intel/common/libva/va/wayland/ |
va_wayland_drm.c | 53 drm_handle_device(void *data, struct wl_drm *drm, const char *device) 62 if (stat(device, &st) < 0) { 64 device, strerror(errno), errno); 69 va_wayland_error("%s is not a device", device); 73 drm_state->fd = open(device, O_RDWR); 76 device, strerror(errno), errno);
|
/packages/apps/TV/src/com/android/usbtuner/ |
UsbInputController.java | 82 * Simple data holder for a USB device. Used to represent a tuner model, and compare 94 private boolean equals(UsbDevice device) { 95 return device.getVendorId() == vendorId && device.getProductId() == productId; 133 * @return {@code true} if any tuner device we support is plugged in 138 for (UsbDevice device : deviceList.values()) { 140 Log.d(TAG, "Device: " + device); 143 if (tuner.equals(device)) {
|
/platform_testing/tests/jank/uibench_wear/src/com/android/wearable/uibench/janktests/ |
UiBenchJankTestsHelper.java | 54 private UiBenchJankTestsHelper(UiDevice device, Context context) { 55 mDevice = device; 59 public static UiBenchJankTestsHelper getInstance(UiDevice device) { 60 return new UiBenchJankTestsHelper(device, null); 63 public static UiBenchJankTestsHelper getInstance(UiDevice device, Context context) { 65 mInstance = new UiBenchJankTestsHelper(device, context);
|
/prebuilts/misc/windows/sdl2/test/ |
testautomation_audio.c | 204 /* Iterate over types: t=0 output device, t=1 input/capture device */ 268 /* Invalid device index when getting name */ 270 /* Negative device index */ 276 /* Device index past range */ 543 * \brief Opens, checks current audio status, and closes a device. 552 char *device; local 561 /* Get device name */ 562 device = (char *)SDL_GetAudioDeviceName(i, 0); 564 SDLTest_AssertCheck(device != NULL, "Validate device name is not NULL; got: %s", (device != NULL) ? device : "NULL") 610 char *device; local 772 char *device; local [all...] |
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/ |
CaptureLoader.java | 20 import com.android.hierarchyviewer.device.Window; 21 import com.android.hierarchyviewer.device.DeviceBridge; 41 public static boolean saveLayers(IDevice device, Window window, File file) { 50 DeviceBridge.getDeviceLocalPort(device))); 129 public static Image loadCapture(IDevice device, Window window, String params) { 137 DeviceBridge.getDeviceLocalPort(device)));
|
/prebuilts/misc/common/tradefed/ |
tradefed-prebuilt.jar | |
/frameworks/base/services/core/java/com/android/server/display/ |
WifiDisplayController.java | 118 // The device to which we want to connect, or null if we want to be disconnected. 121 // The device to which we are currently connecting, or null if we have already connected 125 // The device from which we are currently disconnecting. 128 // The device to which we were previously trying to connect and are now canceling. 131 // The device to which we are currently connected, which means we have an active P2P group. 236 for (WifiP2pDevice device : mAvailableWifiDisplayPeers) { 237 pw.println(" " + describeWifiP2pDevice(device)); 256 for (WifiP2pDevice device : mAvailableWifiDisplayPeers) { 257 if (device.deviceAddress.equals(address)) { 258 connect(device); 472 WifiP2pDevice device = mAvailableWifiDisplayPeers.get(i); local [all...] |
DisplayAdapter.java | 115 * Sends a display device event to the display adapter listener asynchronously. 118 final DisplayDevice device, final int event) { 122 mListener.onDisplayDeviceEvent(device, event); 150 public void onDisplayDeviceEvent(DisplayDevice device, int event);
|
/external/autotest/client/site_tests/firmware_TouchMTB/tools/ |
mtplot_play.py | 5 """A simple script to play an mtplot device data file. 34 @param device_node: the touch device node on which to play the mtplot_file 35 @param mtplot_file: a device file in mtplot format 82 parser.add_argument('-d', '--device', 83 help='the device type (default: touchpad)', 88 # Get the touchpad/touchscreen device node from the device option 89 is_ts = (args.device == 'touchscreen') 92 print_and_exit('Error: fail to get device node for %s.' % args.device) [all...] |
/external/autotest/client/site_tests/network_DhcpWpadNegotiation/ |
network_DhcpWpadNegotiation.py | 28 device = proxy.find_object( 29 'Device', 31 if device is None: 32 raise error.TestFail('Device was not found.') 33 device_properties = device.GetProperties(utf8_strings=True)
|
/external/autotest/server/site_tests/bluetooth_Sanity_Discoverable/ |
bluetooth_Sanity_Discoverable.py | 21 """Discover the Bluetooth Device using the Tester. 24 Exception if found device did not have expected name. 35 logging.info('Found device with RSSI %d', rssi) 38 # Make sure we picked up a name for the device along 45 'Device did not have expected name ' + 54 logging.warning('Device did not have a name') 56 logging.warning('Failed to find device') 62 if not (self.device.reset_on() and 63 self.device.set_discoverable(True)): 66 self.adapter = self.device.get_adapter_properties( [all...] |
/external/chromium-trace/catapult/devil/devil/android/tools/ |
adb_run_shell_cmd.py | 21 parser.add_argument('-d', '--device', action='append', dest='devices', 22 help='Device to run cmd on. Runs on all devices if not ' 26 parser.add_argument('--blacklist-file', help='Device blacklist file.') 45 logging.warning('Specified device %s not found.', serial) 57 for device, output in zip(selected_devices, p_out): 59 print '%s: %s' % (device, line) 60 data[str(device)] = output
|
/external/chromium-trace/catapult/telemetry/telemetry/android/ |
shared_android_state.py | 36 device = android_device.GetDevice(finder_options) 37 assert device, 'Android device required.' 39 device, finder_options)
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/profiler/ |
android_systrace_profiler.py | 28 device=None): 46 if device: 47 command.extend(['--device', device])
|
/external/deqp/external/vulkancts/framework/vulkan/ |
vkMemUtil.hpp | 35 * Allocation represents block of device memory and is allocated by 125 SimpleAllocator (const DeviceInterface& vk, VkDevice device, const VkPhysicalDeviceMemoryProperties& deviceMemProps); 136 void flushMappedMemoryRange (const DeviceInterface& vkd, VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size); 137 void invalidateMappedMemoryRange (const DeviceInterface& vkd, VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size);
|
/external/e2fsprogs/contrib/ |
populate-extfs.sh | 9 Usage: populate-extfs.sh <source> <device> 13 device: The target device 22 DEVICE=$2 105 } | $DEBUGFS -w -f - $DEVICE
|
/external/e2fsprogs/misc/ |
base_device.c | 4 * Return the "base device" given a particular device; this is used to 7 * place. If the base device can not be determined, return NULL. 41 char *base_device(const char *device) 47 str = malloc(strlen(device)+1); 50 strcpy(str, device);
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d11/ |
d3d11_misc.h | 20 ID3D10Device *device 27 ID3D10Device *device 34 ID3D10Device *device
|
/external/skia/src/gpu/vk/ |
GrVkDescriptorPool.cpp | 38 GR_VK_CALL_ERRCHECK(gpu->vkInterface(), CreateDescriptorPool(gpu->device(), 49 GR_VK_CALL_ERRCHECK(gpu->vkInterface(), ResetDescriptorPool(gpu->device(), fDescPool, 0)); 55 GR_VK_CALL(gpu->vkInterface(), DestroyDescriptorPool(gpu->device(), fDescPool, nullptr));
|
/external/vulkan-validation-layers/libs/vkjson/ |
vkjson.h | 75 VkJsonDevice VkJsonGetDevice(VkPhysicalDevice device); 76 std::string VkJsonDeviceToJson(const VkJsonDevice& device); 78 VkJsonDevice* device,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
BluetoothTile.java | 249 for (CachedBluetoothDevice device : devices) { 250 if (device.getBondState() == BluetoothDevice.BOND_NONE) continue; 253 item.line1 = device.getName(); 254 int state = device.getMaxConnectionState(); 263 item.tag = device; 273 final CachedBluetoothDevice device = (CachedBluetoothDevice) item.tag; 274 if (device != null && device.getMaxConnectionState() 276 mController.connect(device); 283 final CachedBluetoothDevice device = (CachedBluetoothDevice) item.tag [all...] |
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
WifiP2pUpnpServiceResponse.java | 62 * <li>"uuid:6859dede-8574-59ab-9332-123456789012::urn:schemas-upnp-org:device: 77 * @param dev source device 141 * @param device source device. 147 int transId, WifiP2pDevice device, byte[] data) { 149 return new WifiP2pUpnpServiceResponse(status, transId, device, null); 153 return new WifiP2pUpnpServiceResponse(status, transId, device, data);
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/base/ |
DisplayAnalyzer.cpp | 123 void DisplayAnalyzer::setCompositionType(int device, int type, bool reset) 125 hwc_display_contents_1_t *content = mCachedDisplays[device]; 127 ELOGTRACE("Invalid device %d", device);
|
/hardware/libhardware/modules/consumerir/ |
consumerir.c | 74 * Generic device handling 77 hw_device_t** device) 82 if (device == NULL) { 83 ALOGE("NULL device on open"); 99 *device = (hw_device_t*) dev;
|
/hardware/libhardware/tests/camera2/ |
CameraModuleFixture.h | 80 /* important: device must be destructed before closing module, 90 void CreateCamera(int cameraID, /*out*/ sp<CameraDeviceBase> *device) { 95 "Device version too old for camera " << cameraID << ". Version: " << 101 *device = new Camera3Device(cameraID); 104 device->clear(); 105 FAIL() << "Device version unknown for camera " << cameraID << ". Version: " << 137 ASSERT_TRUE(mDevice != NULL) << "Failed to open device " << mCameraID; 139 << "Failed to initialize device " << mCameraID;
|