/frameworks/av/services/camera/libcameraservice/ |
H A D | CameraDeviceFactory.cpp | 41 sp<CameraDeviceBase> device; local 46 device = new Camera2Device(cameraId); 51 device = new Camera3Device(cameraId); 54 ALOGE("%s: Camera %d: Unknown HAL device version %d", 56 device = NULL; 60 ALOGV_IF(device != 0, "Created a new camera device for version %d", 63 return device;
|
/frameworks/base/core/java/android/app/backup/ |
H A D | RestoreSet.java | 38 * Identifier of the device whose data this is. This will be as unique as 41 public String device; field in class:RestoreSet 57 device = _dev; 69 out.writeString(device); 86 device = in.readString();
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothHealthCallback.java | 54 * @param device The Bluetooth Device 62 BluetoothDevice device, int prevState, int newState, ParcelFileDescriptor fd, 64 Log.d(TAG, "onHealthChannelStateChange: " + config + "Device: " + device + 61 onHealthChannelStateChange(BluetoothHealthAppConfiguration config, BluetoothDevice device, int prevState, int newState, ParcelFileDescriptor fd, int channelId) argument
|
H A D | BluetoothManager.java | 67 * Get the default BLUETOOTH Adapter for this device. 76 * Get the current connection state of the profile to the remote device. 85 * @param device Remote bluetooth device. 92 public int getConnectionState(BluetoothDevice device, int profile) { argument 97 if (device.equals(connectedDevice)) {
|
H A D | BluetoothGattServerCallback.java | 27 * Callback indicating when a remote device has been connected or disconnected. 29 * @param device Remote device that has been connected or disconnected. 35 public void onConnectionStateChange(BluetoothDevice device, int status, argument 55 * @param device The remote device that has requested the read operation 60 public void onCharacteristicReadRequest(BluetoothDevice device, int requestId, argument 70 * @param device The remote device that has requested the write operation 75 * @param responseNeeded true, if the remote device require 79 onCharacteristicWriteRequest(BluetoothDevice device, int requestId, BluetoothGattCharacteristic characteristic, boolean preparedWrite, boolean responseNeeded, int offset, byte[] value) argument 96 onDescriptorReadRequest(BluetoothDevice device, int requestId, int offset, BluetoothGattDescriptor descriptor) argument 115 onDescriptorWriteRequest(BluetoothDevice device, int requestId, BluetoothGattDescriptor descriptor, boolean preparedWrite, boolean responseNeeded, int offset, byte[] value) argument 132 onExecuteWrite(BluetoothDevice device, int requestId, boolean execute) argument 146 onNotificationSent(BluetoothDevice device, int status) argument 158 onMtuChanged(BluetoothDevice device, int mtu) argument [all...] |
H A D | BluetoothA2dpSink.java | 53 * <li> {@link BluetoothDevice#EXTRA_DEVICE} - The remote device. </li> 74 * <li> {@link BluetoothDevice#EXTRA_DEVICE} - The remote device. </li> 87 * A2DP sink device is streaming music. This state can be one of 94 * A2DP sink device is NOT streaming music. This state can be one of 106 * <li> {@link #EXTRA_AUDIO_CONFIG} - The audio configuration for the remote device. </li> 107 * <li> {@link BluetoothDevice#EXTRA_DEVICE} - The remote device. </li> 119 * This extra represents the current audio configuration of the A2DP source device. 218 * Initiate connection to a profile of the remote bluetooth device. 225 * device is already connected or Bluetooth is not turned on. 234 * @param device Remot 239 connect(BluetoothDevice device) argument 280 disconnect(BluetoothDevice device) argument 332 getConnectionState(BluetoothDevice device) argument 358 getAudioConfig(BluetoothDevice device) argument 422 isValidDevice(BluetoothDevice device) argument [all...] |
H A D | BluetoothAvrcpController.java | 53 * <li> {@link BluetoothDevice#EXTRA_DEVICE} - The remote device. </li> 197 public int getConnectionState(BluetoothDevice device) { argument 198 if (VDBG) log("getState(" + device + ")"); 200 && isValidDevice(device)) { 202 return mService.getConnectionState(device); 212 public void sendPassThroughCmd(BluetoothDevice device, int keyCode, int keyState) { argument 216 mService.sendPassThroughCmd(device, keyCode, keyState); 250 private boolean isValidDevice(BluetoothDevice device) { argument 251 if (device == null) return false; 253 if (BluetoothAdapter.checkBluetoothAddress(device [all...] |
H A D | BluetoothGattService.java | 42 * The remote device his service is associated with. 109 /*package*/ BluetoothGattService(BluetoothDevice device, UUID uuid, argument 111 mDevice = device; 120 * Returns the device associated with this service. 211 * <p>If a remote device offers multiple services with the same UUID
|
H A D | BluetoothPbap.java | 227 * Get the currently connected remote Bluetooth device (PCE). 228 * @return The remote Bluetooth device, or null if not in connected or 246 * Returns true if the specified Bluetooth device is connected (does not 250 public boolean isConnected(BluetoothDevice device) { argument 251 if (VDBG) log("isConnected(" + device + ")"); 254 return mService.isConnected(device); 284 * This is a simple heuristic that tries to guess if a device with the 287 * @return True if this device might support PBAP.
|
H A D | BluetoothProfile.java | 35 * Bluetooth device. 43 * Bluetooth device. 146 * Default priority when not set or when the device is unpaired 183 * @param device Remote bluetooth device. 188 public int getConnectionState(BluetoothDevice device); argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
H A D | UsbDisconnectedReceiver.java | 29 // if their device/accessory is disconnected while the dialog is still open 35 public UsbDisconnectedReceiver(Activity activity, UsbDevice device) { argument 37 mDevice = device; 55 UsbDevice device = (UsbDevice)intent.getParcelableExtra(UsbManager.EXTRA_DEVICE); 56 if (device != null && device.equals(mDevice)) {
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
H A D | WifiP2pProvDiscEvent.java | 37 public WifiP2pDevice device; field in class:WifiP2pProvDiscEvent 43 device = new WifiP2pDevice(); 71 device = new WifiP2pDevice(); 72 device.deviceAddress = tokens[1]; 81 sbuf.append(device);
|
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
H A D | WifiP2pUpnpServiceInfo.java | 59 * @param device a string representation of this device in the following format, 63 * e.g) urn:schemas-upnp-org:device:MediaServer:1 72 String device, List<String> services) { 73 if (uuid == null || device == null) { 74 throw new IllegalArgumentException("uuid or device cannnot be null"); 82 info.add(createSupplicantQuery(uuid, device)); 71 newInstance(String uuid, String device, List<String> services) argument
|
H A D | 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); 146 newInstance(int status, int transId, WifiP2pDevice device, byte[] data) argument
|
/frameworks/native/include/binder/ |
H A D | MemoryHeapBase.h | 48 * maps memory from the given device 50 MemoryHeapBase(const char* device, size_t size = 0, uint32_t flags = 0); 76 status_t setDevice(const char* device) { argument 78 mDevice = device; 86 int flags = 0, const char* device = NULL);
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | DelayedMessageBuffer.java | 27 * handle messages that arrive when the device is not ready. Useful when 28 * keeping the messages from a connected device which are not discovered yet. 34 DelayedMessageBuffer(HdmiCecLocalDevice device) { argument 35 mDevice = device; 99 * Process messages from a given logical device. Called by 100 * {@link NewDeviceAction} actions when they finish adding the device 105 * @param address logical address of CEC device which the messages to process 136 * @param address logical address of the device to be the active source
|
/frameworks/base/core/java/android/bluetooth/le/ |
H A D | ScanResult.java | 30 // Remote bluetooth device. 46 * @param device Remote bluetooth device that is found. 51 public ScanResult(BluetoothDevice device, ScanRecord scanRecord, int rssi, argument 53 mDevice = device; 98 * Returns the remote bluetooth device identified by the bluetooth device address.
|
/frameworks/base/core/jni/ |
H A D | android_hardware_UsbRequest.cpp | 47 struct usb_device* device = get_device_from_object(env, java_device); local 48 if (!device) { 49 ALOGE("device null in native_init"); 62 struct usb_request* request = usb_request_new(device, &desc);
|
H A D | android_server_FingerprintManager.cpp | 57 fingerprint_device_t *device; member in struct:android::__anon843 114 int ret = gContext.device->enroll(gContext.device, timeout); 120 int ret = gContext.device->enroll_cancel(gContext.device); 126 int ret = gContext.device->remove(gContext.device, fingerprintId); 150 hw_device_t *device = NULL; local 152 if (0 != (err = gContext.module->common.methods->open(hw_module, NULL, &device))) { 157 if (kVersion != device [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | CastController.java | 27 void startCasting(CastDevice device); argument 28 void stopCasting(CastDevice device); argument
|
/frameworks/native/libs/binder/ |
H A D | MemoryHeapBase.cpp | 61 MemoryHeapBase::MemoryHeapBase(const char* device, size_t size, uint32_t flags) argument 69 int fd = open(device, open_flags); 70 ALOGE_IF(fd<0, "error opening %s: %s", device, strerror(errno)); 75 mDevice = device; 89 status_t MemoryHeapBase::init(int fd, void *base, int size, int flags, const char* device) argument 98 mDevice = device;
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | FrameProcessor.cpp | 31 FrameProcessor::FrameProcessor(wp<CameraDeviceBase> device, argument 33 FrameProcessorBase(device), 38 sp<CameraDeviceBase> d = device.promote(); 64 const sp<CameraDeviceBase> &device) { 93 return FrameProcessorBase::processSingleFrame(frame, device); 63 processSingleFrame(CaptureResult &frame, const sp<CameraDeviceBase> &device) argument
|
/frameworks/av/services/camera/libcameraservice/common/ |
H A D | FrameProcessorBase.cpp | 30 FrameProcessorBase::FrameProcessorBase(wp<CameraDeviceBase> device) : argument 32 mDevice(device), 34 sp<CameraDeviceBase> cameraDevice = device.promote(); 104 sp<CameraDeviceBase> device; local 106 device = mDevice.promote(); 107 if (device == 0) return false; 110 res = device->waitForNextFrame(kWaitDuration); 112 processNewFrames(device); 121 void FrameProcessorBase::processNewFrames(const sp<CameraDeviceBase> &device) { argument 126 ALOGV("%s: Camera %d: Process new frames", __FUNCTION__, device 160 processSingleFrame(CaptureResult &result, const sp<CameraDeviceBase> &device) argument 167 processListeners(const CaptureResult &result, const sp<CameraDeviceBase> &device) argument [all...] |
/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/ |
H A D | accessorychat.c | 77 static void send_string(struct usb_device *device, int index, const char* string) { argument 78 int ret = usb_device_control_transfer(device, USB_DIR_OUT | USB_TYPE_VENDOR, 92 struct usb_device *device = usb_device_open(devname); local 93 if (!device) { 98 vendorId = usb_device_get_vendor_id(device); 99 productId = usb_device_get_product_id(device); 109 printf("Found android device in accessory mode\n"); 110 sDevice = device; 112 usb_descriptor_iter_init(device, &iter); 133 if (usb_device_claim_interface(device, int [all...] |
/frameworks/base/libs/usb/tests/accessorytest/ |
H A D | hid.c | 53 struct usb_device *device; local 75 fprintf(stderr, "waiting for device fd: %d\n", fd); 76 device = usb_wait_for_device(); 77 max_packet = usb_device_get_device_descriptor(device)->bMaxPacketSize0; 87 ret = usb_device_control_transfer(device, USB_DIR_OUT | USB_TYPE_VENDOR, 100 ret = usb_device_control_transfer(device, USB_DIR_OUT | USB_TYPE_VENDOR, 115 ret = usb_device_control_transfer(device, USB_DIR_OUT | USB_TYPE_VENDOR, 124 ret = usb_device_control_transfer(device, USB_DIR_OUT | USB_TYPE_VENDOR,
|