/prebuilts/ndk/current/platforms/android-24/arch-mips/usr/include/linux/ |
netrom.h | 37 char device[16]; member in struct:nr_route_struct
|
/prebuilts/ndk/current/platforms/android-24/arch-mips64/usr/include/linux/ |
netrom.h | 37 char device[16]; member in struct:nr_route_struct
|
/prebuilts/ndk/current/platforms/android-24/arch-x86/usr/include/linux/ |
netrom.h | 37 char device[16]; member in struct:nr_route_struct
|
/prebuilts/ndk/current/platforms/android-24/arch-x86_64/usr/include/linux/ |
netrom.h | 37 char device[16]; member in struct:nr_route_struct
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/ |
LogCatMonitor.java | 77 public void deviceDisconnected(IDevice device) { 78 unmonitorDevice(device.getSerialNumber()); 79 mMonitoredDevices.remove(device.getSerialNumber()); 83 public void deviceConnected(IDevice device) { 87 public void deviceChanged(IDevice device, int changeMask) { 106 for (String device : mMonitoredDevices.keySet()) { 107 unmonitorDevice(device); 122 public void monitorDevice(final IDevice device) { 124 // do not monitor device if auto monitoring is off 130 if (mMonitoredDevices.keySet().contains(device.getSerialNumber())) [all...] |
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
Fat16RootDirectory.java | 31 private final BlockDevice device; field in class:Fat16RootDirectory 41 this.device = bs.getDevice(); 80 this.device.read(deviceOffset, data); 85 this.device.write(deviceOffset, data);
|
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/ |
SettingsPreparer.java | 21 import com.android.tradefed.device.DeviceNotAvailableException; 22 import com.android.tradefed.device.ITestDevice; 30 * Checks that a given setting on the device is one of the given values 43 @Option(name = "device-setting", description = "The setting on the device to be checked") 62 public void run(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError, 66 throw new TargetSetupError("The \"device-setting\" option must be defined for the " + 95 String currentSettingValue = device.executeShellCommand(shellCmdGet).trim(); 100 device.executeShellCommand(shellCmdPut); 108 device.executeShellCommand(shellCmdPut) [all...] |
ApkInstrumentationPreparer.java | 26 import com.android.tradefed.device.DeviceNotAvailableException; 27 import com.android.tradefed.device.ITestDevice; 68 public void run(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError, 74 if (instrument(device, buildInfo)) { 88 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable e) 97 instrument(device, buildInfo); 104 private boolean instrument(ITestDevice device, IBuildInfo buildInfo) 115 if (device.getAppPackageInfo(mPackageName) != null) { 116 logInfo("Package %s already present on the device, uninstalling ...", mPackageName); 117 device.uninstallPackage(mPackageName) [all...] |
DeviceInfoCollector.java | 23 import com.android.tradefed.device.DeviceNotAvailableException; 24 import com.android.tradefed.device.ITestDevice; 37 * An {@link ApkInstrumentationPreparer} that collects device info. 45 BUILD_KEYS.put("cts:build_device", "ro.product.device"); 68 description = "Whether device info collection should be skipped") 82 public void setUp(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError, 86 ArrayUtil.join(",", device.getProperty(entry.getValue()))); 91 run(device, buildInfo); 92 getDeviceInfoFiles(device, buildInfo); 95 private void getDeviceInfoFiles(ITestDevice device, IBuildInfo buildInfo) [all...] |
/device/google/atv/products/ |
sdk_atv_armv7.mk | 28 device/google/atv/sdk_overlay \ 32 device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml \ 33 device/generic/goldfish/camera/media_codecs.xml:system/etc/media_codecs.xml \ 34 device/google/atv/init.goldfish.rc:root/init.goldfish.rc \ 35 device/google/atv/init.ranchu.rc:root/init.ranchu.rc \ 52 device/google/atv/sdk/atv_sdk.atree 60 $(call inherit-product, device/google/atv/products/atv_base.mk)
|
/external/iputils/ |
arping.c | 64 struct device { struct 76 struct device device = { variable in typeref:struct:device 120 "Usage: arping [-fqbDUAV] [-c count] [-w timeout] [-I device] [-s source] destination\n" 130 " -I device : which ethernet device to use" 550 * This function checks 1) if the device (if given) is okay for ARP, 551 * or 2) find fist appropriate device on the system. 554 * >0 : Succeeded, and appropriate device not found. 555 * device.ifindex remains 0 [all...] |
/external/webrtc/talk/media/devices/ |
linuxdeviceinfo.cc | 95 bool GetUsbProperty(const Device& device, const char* property_name, 135 if (!device_node || device.id.compare(device_node) != 0) { 154 bool GetUsbId(const Device& device, std::string* usb_id) { 157 if (!GetUsbProperty(device, "idVendor", &id_vendor)) { 160 if (!GetUsbProperty(device, "idProduct", &id_product)) { 170 bool GetUsbVersion(const Device& device, std::string* usb_version) { 171 return GetUsbProperty(device, "version", usb_version) [all...] |
/external/webrtc/webrtc/sound/ |
pulseaudiosoundsystem.h | 50 virtual bool GetDefaultPlaybackDevice(SoundDeviceLocator **device); 51 virtual bool GetDefaultCaptureDevice(SoundDeviceLocator **device); 54 const SoundDeviceLocator *device, 57 const SoundDeviceLocator *device, 118 SoundDeviceLocator **device); 121 bool GetDefaultDevice(SoundDeviceLocator **device); 130 const SoundDeviceLocator *device,
|
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
SinkActivity.java | 124 UsbDevice device = intent.<UsbDevice>getParcelableExtra(UsbManager.EXTRA_DEVICE); local 125 if (device != null) { 126 onDeviceAttached(device); 131 for (UsbDevice device : devices.values()) { 132 onDeviceAttached(device); 145 private void onDeviceAttached(UsbDevice device) { 146 mLogger.log("USB device attached: " + device); 148 connect(device); 152 private void onDeviceDetached(UsbDevice device) { 490 UsbDevice device = intent.<UsbDevice>getParcelableExtra(UsbManager.EXTRA_DEVICE); local [all...] |
/hardware/libhardware/modules/audio/ |
audio_hw.c | 33 struct audio_hw_device device; member in struct:stub_audio_device 419 static int adev_dump(const audio_hw_device_t *device, int fd) 425 static int adev_close(hw_device_t *device) 428 free(device); 433 hw_device_t** device) 447 adev->device.common.tag = HARDWARE_DEVICE_TAG; 448 adev->device.common.version = AUDIO_DEVICE_API_VERSION_2_0; 449 adev->device.common.module = (struct hw_module_t *) module; 450 adev->device.common.close = adev_close; 452 adev->device.init_check = adev_init_check [all...] |
/hardware/qcom/audio/hal/audio_extn/ |
audio_extn.c | 33 .device = {0}, 51 char *device = NULL; local 60 device = strtok_r(snd_card_name, "-", &tmp); 61 if (device == NULL) { 65 strlcpy(cur_snd_card_split.device, device, HW_INFO_ARRAY_MAX_SIZE); 81 ALOGI("%s: snd_card_name(%s) device(%s) snd_card(%s) form_factor(%s)", 82 __func__, in_snd_card_name, device, snd_card, form_factor);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppHandoverReceiver.java | 40 BluetoothDevice device = local 42 if (device == null) { 43 if (D) Log.d(TAG, "No device attached to handover intent."); 70 BluetoothOppManager.getInstance(context).startTransfer(device); 72 BluetoothDevice device = local 74 if (D) Log.d(TAG, "Adding " + device + " to whitelist"); 75 if (device == null) return; 76 BluetoothOppManager.getInstance(context).addToWhitelist(device.getAddress());
|
/external/skia/src/gpu/vk/ |
GrVkBuffer.cpp | 54 err = VK_CALL(gpu, CreateBuffer(gpu->device(), &bufInfo, nullptr, &buffer)); 66 VK_CALL(gpu, DestroyBuffer(gpu->device(), buffer, nullptr)); 72 VK_CALL(gpu, DestroyBuffer(gpu->device(), buffer, nullptr)); 73 VK_CALL(gpu, FreeMemory(gpu->device(), alloc, nullptr)); 106 VK_CALL(gpu, DestroyBuffer(gpu->device(), fBuffer, nullptr)); 107 VK_CALL(gpu, FreeMemory(gpu->device(), fAlloc, nullptr)); 128 VkResult err = VK_CALL(gpu, MapMemory(gpu->device(), alloc(), 0, VK_WHOLE_SIZE, 0, &fMapPtr)); 141 VK_CALL(gpu, UnmapMemory(gpu->device(), alloc())); 159 VkResult err = VK_CALL(gpu, MapMemory(gpu->device(), alloc(), 0, srcSizeInBytes, 0, &mapPtr)); 167 VK_CALL(gpu, UnmapMemory(gpu->device(), alloc())) [all...] |
/platform_testing/tests/functional/settingstests/src/com/android/settings/functional/ |
AboutPhoneSettingsTests.java | 72 throw new RuntimeException("Failed to freeze device orientaion", e); 104 * @param device The current UiDevice 110 boolean call(UiDevice device, UiObject2 item) throws Exception; 119 * @param device The device that can be used to press Back 125 public boolean call(UiDevice device, UiObject2 item) throws Exception { 128 boolean pressWorked = device.pressBack(); 137 * @param device The current UiDevice 142 UiDevice device, ArrayList<String> itemsLeftToFind, UIObject2Callback action) throws Exception { 145 UiObject2 item = device.wait(Until.findObject(By.text(itemText)), TIMEOUT) [all...] |
/device/google/dragon/ |
BoardConfig.mk | 38 TARGET_BOARD_INFO_FILE ?= device/google/dragon/board-info.txt 41 TARGET_RELEASETOOLS_EXTENSIONS := device/google/dragon 82 BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/google/dragon/bluetooth 110 BOARD_SEPOLICY_DIRS += device/google/dragon/sepolicy 111 BOARD_SECCOMP_POLICY += device/google/dragon/seccomp
|
/device/htc/flounder/ |
BoardConfig.mk | 42 TARGET_BOARD_INFO_FILE := device/htc/flounder/board-info.txt 68 BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/htc/flounder/bluetooth 93 BOARD_SEPOLICY_DIRS += device/htc/flounder/sepolicy 94 BOARD_SECCOMP_POLICY += device/htc/flounder/seccomp 113 TARGET_RELEASETOOLS_EXTENSIONS := device/htc/flounder
|
/external/autotest/client/site_tests/hardware_SsdDetection/ |
hardware_SsdDetection.py | 23 # Use rootdev to find the underlying block device even if the 25 device = site_utils.get_root_device() 27 # Check the device is fixed 36 dev = alpha_re.findall(device) + alnum_re.findall(device) 40 # If it is an mmcblk device, then it is SSD. 43 if re.search("mmcblk", device): 46 hdparm = utils.run('/sbin/hdparm -I %s' % device) 48 # Check if device is a SSD 52 if match.group(1) != 'Solid State Device' [all...] |
/external/toybox/toys/other/ |
nbd_client.c | 1 /* nbd-client.c - network block device client 18 usage: nbd-client [-ns] HOST PORT DEVICE 25 usage: nbd-client [-sSpn] [-b BLKSZ] [-t SECS] [-N name] HOST PORT DEVICE 32 -d DEVICE 33 -c DEVICE 44 char *host=toys.optargs[0], *port=toys.optargs[1], *device=toys.optargs[2]; local 49 nbd = xopen(device, O_RDWR); 81 // Open the device to force reread of the partition table. 83 char *s = strrchr(device, '/'); 86 sprintf(toybuf, "/sys/block/%.32s/pid", s ? s+1 : device); [all...] |
/frameworks/base/core/java/android/bluetooth/ |
BluetoothHealth.java | 37 * <p> How to connect to a health device which is acting in the source role. 43 * <li> Pair with the remote device. This currently needs to be done manually 45 * <li> Connect to a health device using {@link #connectChannelToSource}. Some 63 * Health Profile Source Role - the health device. 68 * Health Profile Sink Role the device talking to the health device. 219 * Connect to a health device which has the {@link #SOURCE_ROLE}. 225 * @param device The remote Bluetooth device. 230 public boolean connectChannelToSource(BluetoothDevice device, [all...] |
/frameworks/native/vulkan/libvulkan/ |
driver_gen.cpp | 32 VKAPI_ATTR VkResult checkedCreateSwapchainKHR(VkDevice device, const VkSwapchainCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSwapchainKHR* pSwapchain) { 33 if (GetData(device).hook_extensions[ProcHook::KHR_swapchain]) { 34 return CreateSwapchainKHR(device, pCreateInfo, pAllocator, pSwapchain); 36 Logger(device).Err(device, "VK_KHR_swapchain not enabled. vkCreateSwapchainKHR not executed."); 41 VKAPI_ATTR void checkedDestroySwapchainKHR(VkDevice device, VkSwapchainKHR swapchain, const VkAllocationCallbacks* pAllocator) { 42 if (GetData(device).hook_extensions[ProcHook::KHR_swapchain]) { 43 DestroySwapchainKHR(device, swapchain, pAllocator); 45 Logger(device).Err(device, "VK_KHR_swapchain not enabled. vkDestroySwapchainKHR not executed.") [all...] |