/test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/ |
CpuFeatures.java | 17 import com.android.tradefed.device.CollectingOutputReceiver; 19 import com.android.tradefed.device.DeviceNotAvailableException; 20 import com.android.tradefed.device.ITestDevice; 25 * Android device compatibility. 32 private static String uname(ITestDevice device, String option) throws DeviceNotAvailableException { 34 device.executeShellCommand("uname " + option, Out); 41 public static boolean isArm64(ITestDevice device) throws DeviceNotAvailableException { 43 return uname(device, UNAME_OPTION_MACHINE_TYPE).contains("aarch64"); 49 public static boolean isArm32(ITestDevice device) throws DeviceNotAvailableException { 51 return uname(device, UNAME_OPTION_MACHINE_TYPE).contains("armv7") [all...] |
PropertyUtil.java | 18 import com.android.tradefed.device.DeviceNotAvailableException; 19 import com.android.tradefed.device.ITestDevice; 28 * Android device compatibility. 45 /** Returns whether the device build is a user build */ 46 public static boolean isUserBuild(ITestDevice device) throws DeviceNotAvailableException { 47 return propertyEquals(device, BUILD_TYPE_PROPERTY, "user"); 50 /** Returns whether the device build is the factory ROM */ 51 public static boolean isFactoryROM(ITestDevice device) throws DeviceNotAvailableException { 53 return device.getProperty(FIRST_API_LEVEL) == null; 57 public static boolean isDevKeysBuild(ITestDevice device) throws DeviceNotAvailableException [all...] |
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
WifiP2pDeviceList.java | 30 * A class representing a Wi-Fi P2p device list. 53 for (WifiP2pDevice device : devices) { 54 if (device.deviceAddress != null) { 55 mDevices.put(device.deviceAddress, new WifiP2pDevice(device)); 60 private void validateDevice(WifiP2pDevice device) { 61 if (device == null) throw new IllegalArgumentException("Null device"); 62 if (TextUtils.isEmpty(device.deviceAddress)) { 81 * Add/update a device to the list. If the device is not found, a new device entr 171 WifiP2pDevice device = mDevices.get(deviceAddress); local [all...] |
/frameworks/native/services/inputflinger/ |
EventHub.cpp | 142 // --- EventHub::Device --- 144 EventHub::Device::Device(int fd, int32_t id, const String8& path, 161 EventHub::Device::~Device() { 167 void EventHub::Device::close() { 174 status_t EventHub::Device::enable() { 184 status_t EventHub::Device::disable() { 190 bool EventHub::Device::hasValidFd() { 254 Device* device = mClosingDevices local 269 Device* device = getDeviceLocked(deviceId); local 276 Device* device = getDeviceLocked(deviceId); local 283 Device* device = getDeviceLocked(deviceId); local 290 Device* device = getDeviceLocked(deviceId); local 305 Device* device = getDeviceLocked(deviceId); local 332 Device* device = getDeviceLocked(deviceId); local 344 Device* device = getDeviceLocked(deviceId); local 356 Device* device = getDeviceLocked(deviceId); local 371 Device* device = getDeviceLocked(deviceId); local 396 Device* device = getDeviceLocked(deviceId); local 414 Device* device = getDeviceLocked(deviceId); local 434 Device* device = getDeviceLocked(deviceId); local 462 Device* device = getDeviceLocked(deviceId); local 503 Device* device = getDeviceLocked(deviceId); local 523 Device* device = getDeviceLocked(deviceId); local 534 Device* device = getDeviceLocked(deviceId); local 546 Device* device = getDeviceLocked(deviceId); local 572 Device* device = getDeviceLocked(deviceId); local 580 Device* device = getDeviceLocked(deviceId); local 590 Device* device = getDeviceLocked(deviceId); local 655 Device* device = getDeviceLocked(deviceId); local 689 Device* device = getDeviceLocked(deviceId); local 712 Device* device = mDevices.valueAt(i); local 730 Device* device = mDevices.valueAt(i); local 764 Device* device = mClosingDevices; local 786 Device* device = mOpeningDevices; local 846 Device* device = mDevices.valueAt(deviceIndex); local 1182 Device* device = new Device(fd, deviceId, String8(devicePath), identifier); local 1425 Device* device = getDeviceLocked(deviceId); local 1435 Device* device = getDeviceLocked(deviceId); local 1457 Device* device = getDeviceLocked(deviceId); local 1476 Device* device = new Device(-1, VIRTUAL_KEYBOARD_ID, String8("<virtual>"), identifier); local 1603 Device* device = getDeviceByPathLocked(devicePath); local 1750 const Device* device = mDevices.valueAt(i); local [all...] |
/device/google/cuttlefish/vsoc_x86/auto/ |
device.mk | 17 $(call inherit-product, device/google/cuttlefish/shared/auto/device.mk) 22 # PRODUCT_PACKAGE_OVERLAYS := device/google/cuttlefish/vsoc_x86/auto/overlay
|
/device/google/cuttlefish/vsoc_x86/tv/ |
device.mk | 17 $(call inherit-product, device/google/cuttlefish/shared/tv/device.mk) 22 # PRODUCT_PACKAGE_OVERLAYS := device/google/cuttlefish/vsoc_x86/tv/overlay
|
/device/google/cuttlefish/vsoc_x86/wear/ |
device.mk | 17 $(call inherit-product, device/google/cuttlefish/shared/wear/device.mk) 22 # PRODUCT_PACKAGE_OVERLAYS := device/google/cuttlefish/vsoc_x86/wear/overlay
|
/device/google/marlin/sepolicy/verizon/ |
keys.conf | 2 ALL : device/google/marlin/sepolicy/verizon/verizon.x509.pem
|
/device/google/wahoo/sepolicy/verizon/ |
keys.conf | 2 ALL : device/google/wahoo/sepolicy/verizon/verizon.x509.pem
|
/external/adhd/cras/src/server/ |
cras_a2dp_endpoint.h | 15 /* Gets the connected a2dp device, NULL is returned when there's none. */ 18 /* Suspends the connected a2dp device, the purpose is to remove a2dp iodev 20 * device. */ 21 void cras_a2dp_suspend_connected_device(struct cras_bt_device *device); 24 void cras_a2dp_start(struct cras_bt_device *device);
|
/external/clang/test/Frontend/ |
stdlang.c | 17 __attribute__((device)) void f_device();
|
/external/gptfdisk/ |
cgdisk.cc | 31 string device = ""; local 39 cout << "Type device filename, or press <Enter> to exit: "; 40 device = ReadString(); 41 if (device.length() == 0) 45 device = (string) argv[1]; 49 device = (string) argv[2]; 51 device = (string) argv[1]; 67 if (theGPT.LoadPartitions(device)) { 76 Report("Could not load partitions from '" + device + "'! Aborting!");
|
/external/libpcap/ |
pcap-bt-linux.h | 38 pcap_t *bt_create(const char *device, char *ebuf, int *is_ours);
|
pcap-bt-monitor-linux.h | 32 pcap_t *bt_monitor_create(const char *device, char *ebuf, int *is_ours);
|
pcap-netfilter-linux.h | 35 pcap_t *netfilter_create(const char *device, char *ebuf, int *is_ours);
|
pcap-septel.h | 6 * card code at the same time as another type of device. 12 pcap_t *septel_create(const char *device, char *ebuf, int *is_ours);
|
pcap-usb-linux.h | 38 pcap_t *usb_create(const char *device, char *ebuf, int *is_ours);
|
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
preemption.c | 32 * A callback to notify the client application that a device's display has 35 void vlVdpPreemptionCallback(VdpDevice device, void *context) 43 VdpStatus vlVdpPreemptionCallbackRegister(VdpDevice device,
|
/external/webrtc/talk/media/devices/ |
deviceinfo.h | 37 bool GetUsbId(const Device& device, std::string* usb_id); 38 bool GetUsbVersion(const Device& device, std::string* usb_version);
|
win32deviceinfo.cc | 32 bool GetUsbId(const Device& device, std::string* usb_id) { 36 const size_t vid_location = device.id.find(vid); 38 vid_location + sizeof(vid) - 1 + id_size > device.id.size()) { 42 const size_t pid_location = device.id.find(pid); 44 pid_location + sizeof(pid) - 1 + id_size > device.id.size()) { 47 std::string id_vendor = device.id.substr(vid_location + sizeof(vid) - 1, 49 std::string id_product = device.id.substr(pid_location + sizeof(pid) -1, 58 bool GetUsbVersion(const Device& device, std::string* usb_version) [all...] |
/external/webrtc/talk/media/webrtc/ |
webrtcvideocapturerfactory.cc | 34 VideoCapturer* WebRtcVideoDeviceCapturerFactory::Create(const Device& device) { 37 if (!capturer->Init(device)) {
|
/external/webrtc/webrtc/sound/ |
soundsystemproxy.cc | 26 SoundDeviceLocator **device) { 27 return wrapped_ ? wrapped_->GetDefaultPlaybackDevice(device) : false; 31 SoundDeviceLocator **device) { 32 return wrapped_ ? wrapped_->GetDefaultCaptureDevice(device) : false; 36 const SoundDeviceLocator *device, 38 return wrapped_ ? wrapped_->OpenPlaybackDevice(device, params) : NULL; 42 const SoundDeviceLocator *device, 44 return wrapped_ ? wrapped_->OpenCaptureDevice(device, params) : NULL;
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
OppProfile.java | 32 // Order of this profile in device profiles list 43 public boolean connect(BluetoothDevice device) { 47 public boolean disconnect(BluetoothDevice device) { 51 public int getConnectionStatus(BluetoothDevice device) { 55 public boolean isPreferred(BluetoothDevice device) { 59 public int getPreferred(BluetoothDevice device) { 63 public void setPreferred(BluetoothDevice device, boolean preferred) { 83 public int getNameResource(BluetoothDevice device) { 87 public int getSummaryResourceForDevice(BluetoothDevice device) {
|
/hardware/interfaces/graphics/allocator/2.0/utils/gralloc1-adapter/ |
gralloc1-adapter.cpp | 21 const char* id, struct hw_device_t** device) 24 ALOGE("unknown gralloc1 device id: %s", id); 29 *device = &adapter_device->common;
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
ITestDeviceMutator.java | 16 package com.android.tradefed.device; 32 * @param device 34 public void setIDevice(ITestDevice testDevice, IDevice device);
|