/hardware/libhardware/tests/vehicle/ |
vehicle_test_fixtures.h | 71 hw_device_t *device = NULL; local 75 (const hw_module_t*)vehicle_module(), NULL, &device)) 76 << "Can't open vehicle device"; 77 ASSERT_TRUE(NULL != device) 78 << "Vehicle open() returned a NULL device"; 79 ASSERT_EQ(kVersion, device->version) 81 vehicle_device_ = reinterpret_cast<vehicle_hw_device_t*>(device);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
AdapterService.java | 227 public void onProfileConnectionStateChanged(BluetoothDevice device, int profileId, int newState, int prevState) { 229 m.obj = device; 238 public void initProfilePriorities(BluetoothDevice device, ParcelUuid[] mUuids) { 241 m.obj = device; 251 private void processInitProfilePriorities (BluetoothDevice device, ParcelUuid[] uuids){ 259 // Set profile priorities only for the profiles discovered on the remote device. 260 // This avoids needless auto-connect attempts to profiles non-existent on the remote device 264 (hidService.getPriority(device) == BluetoothProfile.PRIORITY_UNDEFINED)){ 265 hidService.setPriority(device,BluetoothProfile.PRIORITY_ON); 272 (headsetService.getPriority(device) == BluetoothProfile.PRIORITY_UNDEFINED))) [all...] |
/frameworks/base/core/java/android/bluetooth/ |
BluetoothHeadset.java | 60 * <li> {@link BluetoothDevice#EXTRA_DEVICE} - The remote device. </li> 81 * <li> {@link BluetoothDevice#EXTRA_DEVICE} - The remote device. </li> 100 * <li> {@link BluetoothDevice#EXTRA_DEVICE} - The remote Bluetooth Device 320 * Initiate connection to a profile of the remote bluetooth device. 327 * device is already connected or Bluetooth is not turned on. 336 * @param device Remote Bluetooth Device 341 public boolean connect(BluetoothDevice device) { 342 if (DBG) log("connect(" + device + ")"); 344 isValidDevice(device)) { [all...] |
/hardware/libhardware/include/hardware/ |
hwcomposer2.h | 48 * the device may return -1 instead */ 77 * set of supported capabilities for a given device may be retrieved using 82 /* Specifies that the device supports sideband stream layers, for which 96 * (provided to the device through setClientTarget). 98 * The device must not request any composition type changes for layers of 102 /* The device will handle the composition of this layer through a hardware 105 * Upon validateDisplay, the device may request a change from this type to 109 /* The device will render this layer using the color set through 111 * client sets to HWC2_COMPOSITION_SOLID_COLOR, the device must request that 115 * Upon validateDisplay, the device may request a change from this type t [all...] |
/external/mmc-utils/ |
mmc_cmds.c | 137 char *device; local 142 device = argv[1]; 144 fd = open(device, O_RDWR); 152 fprintf(stderr, "Could not read EXT_CSD from %s\n", device); 165 char *device; local 170 device = argv[1]; 172 fd = open(device, O_RDWR); 180 fprintf(stderr, "Could not read EXT_CSD from %s\n", device); 190 value, EXT_CSD_BOOT_WP, device); 201 char *device; local 246 char *device; local 312 char *device; local 380 char *device; local 439 char *device; local 477 char *device; local 670 char *device; local 794 char *device; local 939 char *device; local 998 char *device; local 1441 char *device; local 1980 char *device; local [all...] |
/external/autotest/server/site_tests/bluetooth_Sanity_DefaultState/ |
bluetooth_Sanity_DefaultState.py | 68 if not self.device.reset_off(): 74 # on whether or not a BR/EDR device is in the whitelist. 75 ( commands, events ) = self.device.read_supported_commands() 81 name, short_name ) = self.device.read_info() 98 bluez_properties = self.device.get_adapter_properties() 112 flags = self.device.get_dev_info()[3] 121 self.device.set_powered(True) 122 current_settings = self.device.read_info()[4] 143 bluez_properties = self.device.get_adapter_properties() 161 flags = self.device.get_dev_info()[3 [all...] |
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/ |
BluetoothHidFacade.java | 66 public Boolean hidConnect(BluetoothDevice device) { 68 return sHidProfile.connect(device); 71 public Boolean hidDisconnect(BluetoothDevice device) { 73 return sHidProfile.disconnect(device); 81 @Rpc(description = "Connect to an HID device.") 83 @RpcParameter(name = "device", description = "Name or MAC address of a bluetooth device.") 84 String device) 88 BluetoothDevice mDevice = BluetoothFacade.getDevice(BluetoothFacade.DiscoveredDevices, device); 89 Log.d("Connecting to device " + mDevice.getAliasName()) 121 BluetoothDevice device; local 140 BluetoothDevice device = BluetoothFacade.getDevice(sHidProfile.getConnectedDevices(), local 158 BluetoothDevice device = BluetoothFacade.getDevice(sHidProfile.getConnectedDevices(), local 171 BluetoothDevice device = BluetoothFacade.getDevice(sHidProfile.getConnectedDevices(), local 181 BluetoothDevice device = BluetoothFacade.getDevice(sHidProfile.getConnectedDevices(), local [all...] |
/frameworks/base/media/java/android/media/midi/ |
MidiManager.java | 67 // Binder stub for receiving device notifications from MidiService 78 public void onDeviceAdded(MidiDeviceInfo device) { 80 final MidiDeviceInfo deviceF = device; 87 mCallback.onDeviceAdded(device); 92 public void onDeviceRemoved(MidiDeviceInfo device) { 94 final MidiDeviceInfo deviceF = device; 101 mCallback.onDeviceRemoved(device); 121 * Callback class used for clients to receive MIDI device added and removed notifications 125 * Called to notify when a new MIDI device has been added 127 * @param device a {@link MidiDeviceInfo} for the newly added devic [all...] |
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/ |
TokenRequirement.java | 21 import com.android.tradefed.device.DeviceNotAvailableException; 22 import com.android.tradefed.device.ITestDevice; 31 * An {@link ITargetPreparer} that allows a test module to specify tokens that a device must have 34 * A token is string that is required by a test module and given to a device by the user, they are 36 * sharding the innvocation across 10 devices, they will not want to put a SIM card in every device, 37 * instead they can use a single SIM card and use tokens to tell the scheduler which device should 42 @Option(name = "token", description = "The token a device must have to run this module") 46 public void setUp(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError,
|
/development/ndk/platforms/android-3/include/linux/ |
mca.h | 15 #include <linux/device.h> 42 struct device dev; 62 struct device dev;
|
/device/generic/goldfish/camera/ |
EmulatedCameraFactory.h | 68 /* Opens (connects to) a camera device. 71 int cameraDeviceOpen(int camera_id, hw_device_t** device); 107 uint32_t halVersion, struct hw_device_t** device); 113 hw_device_t** device); 162 /* Gets camera device version number to use for back camera emulation */ 168 /* Gets camera device version number to use for front camera emulation */ 198 /* Contains device open entry point, as required by HAL API. */
|
/device/google/contexthub/sensorhal/ |
sensors.cpp | 36 memset(&device, 0, sizeof(device)); 38 device.common.tag = HARDWARE_DEVICE_TAG; 39 device.common.version = SENSORS_DEVICE_API_VERSION_1_3; 40 device.common.module = const_cast<hw_module_t *>(module); 41 device.common.close = CloseWrapper; 42 device.activate = ActivateWrapper; 43 device.setDelay = SetDelayWrapper; 44 device.poll = PollWrapper; 45 device.batch = BatchWrapper [all...] |
/external/autotest/client/site_tests/platform_CrosDisksDBus/ |
platform_CrosDisksDBus.py | 98 for device in devices: 99 if not device or not isinstance(device, dbus.String): 101 "device returned by EnumerateDevices " 108 for device in devices: 109 if not device or not isinstance(device, dbus.String): 111 "device returned by EnumerateAutoMountableDevices " 116 # any device that is on the boot device [all...] |
/external/chromium-trace/catapult/systrace/profile_chrome/ |
controllers_unittest.py | 18 self.device = devices[0] 20 self.device.ForceStop(self.package_info.package) 21 self.device.StartActivity(
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
vktApiBufferComputeInstance.cpp | 44 const VkDevice device = context.getDevice(); local 61 Move<VkBuffer> buffer(createBuffer(vki, device, &createInfo)); 63 const VkMemoryRequirements requirements = getBufferMemoryRequirements(vki, device, *buffer); 66 VK_CHECK(vki.bindBufferMemory(device, *buffer, allocation->getMemory(), allocation->getOffset())); 79 flushMappedMemoryRange(vki, device, allocation->getMemory(), allocation->getOffset(), bufferSize); 89 const VkDevice device = context.getDevice(); local 96 return builder.build(vki, device); 102 const VkDevice device = context.getDevice(); local 107 .build(vki, device, vk::VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, 1); 120 const VkDevice device = context.getDevice() local [all...] |
/external/libpcap/tests/ |
opentest.c | 53 register char *cp, *device; local 59 device = NULL; 75 device = optarg; 117 pd = pcap_create(device, ebuf); 123 device, pcap_statustostr(status)); 128 device, pcap_statustostr(status)); 134 device, pcap_statustostr(status)); 139 device, pcap_statustostr(status)); 144 device, pcap_statustostr(status)); 151 error("%s: %s\n(%s)", device, [all...] |
/external/skia/platform_tools/chromeos/bin/ |
chromeos_setup.sh | 19 # based on the target device. 21 # Setup the build variation depending on the target device 25 echo "ERROR: No target device specified!" 44 echo -n "ERROR: unknown device specified ($TARGET_DEVICE), valid values: " 50 echo "The build is targeting the device: $TARGET_DEVICE"
|
/external/vulkan-validation-layers/tests/ |
vktestframeworkandroid.cpp | 34 VkFormat VkTestFramework::GetFormat(VkInstance instance, vk_testing::Device *device) 37 vkGetPhysicalDeviceFormatProperties(device->phy().handle(), VK_FORMAT_B8G8R8A8_UNORM, &format_props); 43 vkGetPhysicalDeviceFormatProperties(device->phy().handle(), VK_FORMAT_R8G8B8A8_UNORM, &format_props); 49 printf("Error - device does not support VK_FORMAT_B8G8R8A8_UNORM nor VK_FORMAT_R8G8B8A8_UNORM - exiting\n");
|
/prebuilts/ndk/current/platforms/android-12/arch-arm/usr/include/linux/ |
mca.h | 15 #include <linux/device.h> 42 struct device dev; 62 struct device dev;
|
/prebuilts/ndk/current/platforms/android-12/arch-mips/usr/include/linux/ |
mca.h | 15 #include <linux/device.h> 42 struct device dev; 62 struct device dev;
|
/prebuilts/ndk/current/platforms/android-12/arch-x86/usr/include/linux/ |
mca.h | 15 #include <linux/device.h> 42 struct device dev; 62 struct device dev;
|
/prebuilts/ndk/current/platforms/android-13/arch-arm/usr/include/linux/ |
mca.h | 15 #include <linux/device.h> 42 struct device dev; 62 struct device dev;
|
/prebuilts/ndk/current/platforms/android-13/arch-mips/usr/include/linux/ |
mca.h | 15 #include <linux/device.h> 42 struct device dev; 62 struct device dev;
|
/prebuilts/ndk/current/platforms/android-13/arch-x86/usr/include/linux/ |
mca.h | 15 #include <linux/device.h> 42 struct device dev; 62 struct device dev;
|
/prebuilts/ndk/current/platforms/android-14/arch-arm/usr/include/linux/ |
mca.h | 15 #include <linux/device.h> 42 struct device dev; 62 struct device dev;
|