/system/connectivity/shill/test-scripts/ |
show-introspection | 16 device = dbus.Interface(bus.get_object("org.chromium.flimflam", path), variable 18 print device.Introspect() 22 "org.chromium.flimflam.Device")
|
/system/core/trusty/gatekeeper/ |
module.cpp | 28 hw_device_t **device) { 36 *device = gatekeeper->hw_device();
|
/external/vulkan-validation-layers/layers/ |
parameter_validation.cpp | 60 // TODO: Split instance/device structs 61 // Device Data 84 // "my device data" 150 /* parameter_validation does not have any physical device extensions */ 162 /* parameter_validation's physical device layers are the same as global */ [all...] |
/external/chromium-trace/catapult/devil/devil/android/ |
device_utils_devicetest.py | 31 assert devices, 'A device must be attached' 34 self.device = device_utils.DeviceUtils( 84 self.device.PushChangedFiles([(host_file_path, device_file_path)]) 85 result = self.device.RunShellCommand(['cat', device_file_path], 90 self.device.RunShellCommand(['rm', '-rf', _DEVICE_DIR]) 99 self.device.PushChangedFiles([(host_file_path, device_file_path)]) 100 result = self.device.RunShellCommand(['cat', device_file_path], 105 self.device.RunShellCommand(['rm', '-rf', _DEVICE_DIR]) 116 self.device.PushChangedFiles([(host_tmp_dir, _DEVICE_DIR)], 118 result = self.device.RunShellCommand(['ls', _DEVICE_DIR], single_line=True [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
CastTile.java | 124 for (CastDevice device : devices) { 125 if (device.state == CastDevice.STATE_CONNECTED) { 127 state.label = getDeviceName(device); 130 } else if (device.state == CastDevice.STATE_CONNECTING) { 160 private String getDeviceName(CastDevice device) { 161 return device.name != null ? device.name 238 // if we are connected, simply show that device 239 for (CastDevice device : devices) { 240 if (device.state == CastDevice.STATE_CONNECTED) 259 final CastDevice device = mVisibleOrder.get(id); local 279 final CastDevice device = (CastDevice) item.tag; local 287 final CastDevice device = (CastDevice) item.tag; local [all...] |
/device/asus/fugu/ |
device.mk | 33 LOCAL_KERNEL := device/asus/fugu-kernel/bzImage 67 device/asus/fugu/overlay 70 device/asus/fugu/fstab.fugu:root/fstab.fugu \ 71 device/asus/fugu/init.fugu.rc:root/init.fugu.rc \ 72 device/asus/fugu/init.fugu.usb.rc:root/init.fugu.usb.rc \ 73 device/asus/fugu/ueventd.fugu.rc:root/ueventd.fugu.rc \ 74 device/asus/fugu/init.recovery.fugu.rc:root/init.recovery.fugu.rc 93 device/asus/fugu/audio_policy.conf:system/etc/audio_policy.conf 95 # Hdmi CEC: Fugu works as a playback device (4). 106 device/asus/fugu/bootanimation-580-256col.zip:system/media/bootanimation.zi [all...] |
/frameworks/base/media/jni/ |
android_mtp_MtpDevice.cpp | 197 MtpDevice* device = MtpDevice::open(deviceNameStr, fd); local 200 if (device) 201 env->SetLongField(thiz, field_context, (jlong)device); 202 return (jboolean)(device != NULL); 208 MtpDevice* device = get_device_from_object(env, thiz); local 209 if (device) { 210 device->close(); 211 delete device; 219 MtpDevice* device = get_device_from_object(env, thiz); local 220 if (!device) { 286 MtpDevice* device = get_device_from_object(env, thiz); local 305 MtpDevice* device = get_device_from_object(env, thiz); local 340 MtpDevice* device = get_device_from_object(env, thiz); local 359 MtpDevice* device = get_device_from_object(env, thiz); local 397 MtpDevice* device = get_device_from_object(env, thiz); local 436 MtpDevice* const device = get_device_from_object(env, thiz); local 481 MtpDevice* const device = get_device_from_object(env, thiz); local 510 MtpDevice* device = get_device_from_object(env, thiz); local 528 MtpDevice* device = get_device_from_object(env, thiz); local 539 MtpDevice* device = get_device_from_object(env, thiz); local 549 MtpDevice* device = get_device_from_object(env, thiz); local 559 MtpDevice* device = get_device_from_object(env, thiz); local 577 MtpDevice* device = get_device_from_object(env, thiz); local 602 MtpDevice* device = get_device_from_object(env, thiz); local 668 MtpDevice* const device = get_device_from_object(env, thiz); local 678 MtpDevice* const device = get_device_from_object(env, thiz); local 699 MtpDevice* const device = get_device_from_object(env, thiz); local 710 MtpDevice* const device = get_device_from_object(env, thiz); local [all...] |
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
DockService.java | 65 // Time allowed for the device to be undocked and redocked without severing 69 // Time allowed for the device to be undocked and redocked without turning 76 // Msg for device docked event 79 // Msg for device undocked event 269 BluetoothDevice device = null; local 271 device = (BluetoothDevice) msg.obj; 274 if(DEBUG) Log.d(TAG, "processMessage: " + msgType + " state: " + state + " device = " 275 + (device == null ? "null" : device.toString())); 281 if (device != null) 449 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); local 753 BluetoothDevice device = i local 951 BluetoothDevice device = cachedDevice.getDevice(); local 973 BluetoothDevice device = i.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); local [all...] |
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
output.c | 44 vlVdpOutputSurfaceCreate(VdpDevice device, 59 vlVdpDevice *dev = vlGetDataHTAB(device); 71 vlsurface->device = dev; 142 pipe = vlsurface->device->context; 144 pipe_mutex_lock(vlsurface->device->mutex); 145 vlVdpResolveDelayedRendering(vlsurface->device, NULL, NULL); 151 pipe_mutex_unlock(vlsurface->device->mutex); 201 pipe = vlsurface->device->context; 205 pipe_mutex_lock(vlsurface->device->mutex); 206 vlVdpResolveDelayedRendering(vlsurface->device, NULL, NULL) [all...] |
/external/skia/src/gpu/vk/ |
GrVkMemory.cpp | 51 VkResult err = GR_VK_CALL(gpu->vkInterface(), AllocateMemory(gpu->device(), 66 VkDevice device = gpu->device(); local 69 GR_VK_CALL(interface, GetBufferMemoryRequirements(device, buffer, &memReqs)); 77 VkResult err = GR_VK_CALL(interface, BindBufferMemory(device, buffer, *memory, 0)); 79 GR_VK_CALL(interface, FreeMemory(device, *memory, nullptr)); 90 VkDevice device = gpu->device(); local 93 GR_VK_CALL(interface, GetImageMemoryRequirements(device, image, &memReqs)); 100 VkResult err = GR_VK_CALL(interface, BindImageMemory(device, image, *memory, 0)) [all...] |
/hardware/libhardware/modules/radio/ |
radio_hal_tool.c | 39 void list_all_properties(radio_hw_device_t *device) { 41 device->get_properties(device, &hal_properties); 70 void tune(radio_hw_device_t *device, int band_number) { 73 ret = device->get_properties(device, &hal_properties); 94 ret = device->open_tuner( 95 device, (const radio_hal_band_config_t *) (&(hal_properties.bands[band_number])), false, 116 void get_tuner_metadata(radio_hw_device_t *device) { 160 ret = device->close_tuner(device, hal_tuner) [all...] |
/hardware/libhardware_legacy/audio/ |
AudioPolicyManagerBase.cpp | 27 // A device mask for all audio input devices that are considered "virtual" when evaluating 30 // A device mask for all audio output devices that are considered "remote" when evaluating 53 status_t AudioPolicyManagerBase::setDeviceConnectionState(audio_devices_t device, 62 ALOGV("setDeviceConnectionState() device: 0x%X, state %d, address %s", device, state, device_address); 64 // connect/disconnect only 1 device at a time 65 if (!audio_is_output_device(device) && !audio_is_input_device(device)) return BAD_VALUE; 73 if (audio_is_output_device(device)) { 76 if (!mHasA2dp && audio_is_a2dp_out_device(device)) { 548 audio_devices_t device = getDeviceForStrategy(strategy, false \/*fromCache*\/); local 916 audio_devices_t device = getDeviceForInputSource(inputSource); local 1217 audio_devices_t device = getDeviceForStrategy(strategy, false \/*fromCache*\/); local 2443 audio_devices_t device = AUDIO_DEVICE_NONE; local 2537 uint32_t device = AUDIO_DEVICE_NONE; local 2766 audio_devices_t device = outputDesc->device(); local 2923 uint32_t device = AUDIO_DEVICE_NONE; local 3025 device); local 3515 audio_devices_t AudioPolicyManagerBase::AudioOutputDescriptor::device() const function in class:android_audio_legacy::AudioPolicyManagerBase::AudioOutputDescriptor 4029 uint32_t device = 0; local [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/ |
PanService.java | 54 * Provides Bluetooth Pan Device profile, as a service in 140 BluetoothDevice device = (BluetoothDevice) msg.obj; 141 if (!connectPanNative(Utils.getByteAddress(device), 143 handlePanDeviceStateChange(device, null, BluetoothProfile.STATE_CONNECTING, 145 handlePanDeviceStateChange(device, null, 154 BluetoothDevice device = (BluetoothDevice) msg.obj; 155 if (!disconnectPanNative(Utils.getByteAddress(device)) ) { 156 handlePanDeviceStateChange(device, mPanIfName, 159 handlePanDeviceStateChange(device, mPanIfName, 169 BluetoothDevice device = getDevice(cs.addr) [all...] |
/external/libusb/libusb/os/ |
darwin_usb.c | 63 return "device not opened for exclusive access"; 69 return "another process has device opened for exclusive access"; 81 return "device not responding"; 153 usb_device_t **device; local 177 (LPVOID)&device); 182 (*(device))->GetLocationID(device, locationp); 184 return device; 220 io_service_t device; local 225 usbi_info (ctx, "a device has been detached") 253 io_service_t device; local 403 usb_device_t **device = NULL; local 555 usb_device_t **device; local [all...] |
/frameworks/base/tools/preload2/src/com/android/preload/ |
Main.java | 63 private IDevice device; field in class:Main 71 // Actions that need to be updated once a device is selected. 144 return device; 147 public void setDevice(IDevice device) { 148 this.device = device; 150 ds.setDevice(device); 159 IDevice device; field in class:Main.DeviceWrapper 162 device = d; 167 return device.getName() + " (#" + device.getSerialNumber() + ")" [all...] |
/external/blktrace/btt/ |
devs.c | 62 struct d_info *__dip_find(__u32 device) 67 __list_for_each(p, &dev_heads[DEV_HASH(device)]) { 69 if (device == dip->device) 106 static inline char *mkhandle(char *str, __u32 device, char *post) 108 int mjr = device >> MINORBITS; 109 int mnr = device & ((1 << MINORBITS) - 1); 125 struct d_info *dip_alloc(__u32 device, struct io *iop) 127 struct d_info *dip = __dip_find(device); 136 dip->device = device [all...] |
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
DeviceDescriptor.cpp | 52 // - are of the same type (a device type cannot be AUDIO_DEVICE_NONE) 82 sp<DeviceDescriptor> device = devices.itemAt(i); local 83 if (indexOf(device) < 0 && SortedVector::add(device) >= 0) { 99 ALOGW("DeviceVector::add device %08x already in", item->type()); 111 ALOGW("DeviceVector::remove device %08x not in", item->type()); 134 sp<DeviceDescriptor> device; local 138 device = itemAt(i); 146 type, address.string(), device.get()); 147 return device; 152 sp<DeviceDescriptor> device; local 196 sp<DeviceDescriptor> device; local 305 std::string device; local [all...] |
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
BluetoothTestUtils.java | 154 public PairReceiver(BluetoothDevice device, int passkey, byte[] pin, int expectedFlags) { 157 mDevice = device; 215 public ConnectProfileReceiver(BluetoothDevice device, int profile, int expectedFlags) { 218 mDevice = device; 269 public ConnectPanReceiver(BluetoothDevice device, int role, int expectedFlags) { 270 super(device, BluetoothProfile.PAN, expectedFlags); 540 * Puts the local device into discoverable mode and checks to make sure that the local device 583 * Puts the local device into connectable only mode and checks to make sure that the local 584 * device is in in connectable mode and that the correct actions were broadcast [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
VirtualDisplayAdapter.java | 72 VirtualDisplayDevice device = new VirtualDisplayDevice(displayToken, appToken, local 76 mVirtualDisplayDevices.put(appToken, device); 82 appToken.linkToDeath(device, 0); 85 device.destroyLocked(false); 89 // Return the display device without actually sending the event indicating 91 return device; 96 VirtualDisplayDevice device = mVirtualDisplayDevices.get(appToken); local 97 if (device != null) { 98 device.resizeLocked(width, height, densityDpi); 104 VirtualDisplayDevice device = mVirtualDisplayDevices.get(appToken) local 111 VirtualDisplayDevice device = mVirtualDisplayDevices.remove(appToken); local 133 VirtualDisplayDevice device = it.next(); local 146 VirtualDisplayDevice device = mVirtualDisplayDevices.remove(appToken); local 156 VirtualDisplayDevice device = mVirtualDisplayDevices.remove(appToken); local [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
PbapPCEClient.java | 156 // If we are disconnected then whatever the current device is we should simply clean up. 184 BluetoothDevice device = (BluetoothDevice) msg.obj; local 189 handleConnect(device); 200 BluetoothDevice device = (BluetoothDevice) msg.obj; local 201 if (!mDevice.equals(device)) { 205 handleDisconnect(device); 207 if (device != null) { 208 onConnectionStateChanged(device, oldState, newState); 221 private void handleConnect(BluetoothDevice device) { 222 Log.d(TAG,"HANDLECONNECT" + device); [all...] |
/frameworks/base/services/usb/java/com/android/server/usb/ |
UsbSettingsManager.java | 82 // Temporary mapping USB device name to list of UIDs with permissions for the device 97 // This class is used to describe a USB device. 106 // USB device or interface class (or -1 for unspecified) 108 // USB device subclass (or -1 for unspecified) 110 // USB device protocol (or -1 for unspecified) 112 // USB device manufacturer name string (or null for unspecified) 114 // USB device product name string (or null for unspecified) 116 // USB device serial number string (or null for unspecified) 131 public DeviceFilter(UsbDevice device) { 322 UsbDevice device = (UsbDevice)obj; local [all...] |
/frameworks/base/services/midi/java/com/android/server/midi/ |
MidiService.java | 92 private final HashMap<MidiDeviceInfo, Device> mDevicesByInfo 93 = new HashMap<MidiDeviceInfo, Device>(); 96 private final HashMap<BluetoothDevice, Device> mBluetoothDevices 97 = new HashMap<BluetoothDevice, Device>(); 100 private final HashMap<IBinder, Device> mDevicesByServer = new HashMap<IBinder, Device>(); 139 // List of all device connections for this client 166 public void addDeviceConnection(Device device, IMidiDeviceOpenCallback callback) { 167 DeviceConnection connection = new DeviceConnection(device, this, callback) 731 Device device = mDevicesByServer.get(server.asBinder()); local 755 Device device = mDevicesByInfo.get(deviceInfo); local 764 Device device = mDevicesByServer.get(server.asBinder()); local 802 Device device = null; local 1003 Device device = iterator.next(); local [all...] |
/cts/tests/tests/mediastress/preconditions/src/android/mediastress/cts/preconditions/ |
MediaPreparer.java | 24 import com.android.tradefed.device.DeviceNotAvailableException; 25 import com.android.tradefed.device.ITestDevice; 48 * Ensures that the appropriate media files exist on the device 77 * to the device. 100 * The pathnames of the device's directories that hold media files for the tests. 101 * These depend on the device's mount point, which is retrieved in the MediaPreparer's run 133 * Returns the maximum video playback resolution of the device, in the form of a Dimension 141 protected Dimension getMaxVideoPlaybackResolution(ITestDevice device) 144 device.executeShellCommand("dumpsys display | grep mBaseDisplayInfo"); 171 * Returns true if all necessary media files exist on the device, and false otherwise [all...] |
/hardware/libhardware/modules/gralloc/ |
framebuffer.cpp | 62 framebuffer_device_t device; member in struct:fb_context_t 323 hw_device_t** device) 332 dev->device.common.tag = HARDWARE_DEVICE_TAG; 333 dev->device.common.version = 0; 334 dev->device.common.module = const_cast<hw_module_t*>(module); 335 dev->device.common.close = fb_close; 336 dev->device.setSwapInterval = fb_setSwapInterval; 337 dev->device.post = fb_post; 338 dev->device.setUpdateRect = 0; 347 const_cast<uint32_t&>(dev->device.flags) = 0 [all...] |
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
StreamingProcessor.cpp | 102 sp<CameraDeviceBase> device = mDevice.promote(); local 103 if (device == 0) { 104 ALOGE("%s: Camera %d: Device does not exist", __FUNCTION__, mId); 119 res = device->createDefaultRequest(CAMERA3_TEMPLATE_ZERO_SHUTTER_LAG, 122 res = device->createDefaultRequest(CAMERA3_TEMPLATE_PREVIEW, 126 res = device->createDefaultRequest(CAMERA2_TEMPLATE_PREVIEW, 161 sp<CameraDeviceBase> device = mDevice.promote(); local 162 if (device == 0) { 163 ALOGE("%s: Camera %d: Device does not exist", __FUNCTION__, mId); 170 res = device->getStreamInfo(mPreviewStreamId 229 sp<CameraDeviceBase> device = mDevice.promote(); local 265 sp<CameraDeviceBase> device = mDevice.promote(); local 314 sp<CameraDeviceBase> device = mDevice.promote(); local 348 sp<CameraDeviceBase> device = mDevice.promote(); local 413 sp<CameraDeviceBase> device = mDevice.promote(); local 493 sp<CameraDeviceBase> device = mDevice.promote(); local 543 sp<CameraDeviceBase> device = mDevice.promote(); local [all...] |