/frameworks/av/services/audiopolicy/common/include/ |
H A D | policy.h | 30 * A device mask for all audio input devices that are considered "virtual" when evaluating 37 * A device mask for all audio input and output devices where matching inputs/outputs on device 50 * @return true if given state represents a device in a telephony or VoIP call 58 * Check if the input device given is considered as a virtual device. 60 * @param[in] device to consider 62 * @return true if the device is a virtual one, false otherwise. 64 static inline bool is_virtual_input_device(audio_devices_t device) argument 66 if ((device 82 device_distinguishes_on_address(audio_devices_t device) argument [all...] |
H A D | Volume.h | 53 * device categories used for volume curve management. 64 * extract one device relevant for volume control from multiple device selection 66 * @param[in] device for which the volume category is associated 68 * @return subset of device required to limit the number of volume category per device 70 static audio_devices_t getDeviceForVolume(audio_devices_t device) argument 72 if (device == AUDIO_DEVICE_NONE) { 75 device = AUDIO_DEVICE_OUT_SPEAKER; 76 } else if (popcount(device) > 104 device); local 116 getDeviceCategory(audio_devices_t device) argument [all...] |
/frameworks/av/services/camera/libcameraservice/ |
H A D | CameraDeviceFactory.cpp | 41 sp<CameraDeviceBase> device; local 46 device = new Camera2Device(cameraId); 52 device = new Camera3Device(cameraId); 55 ALOGE("%s: Camera %d: Unknown HAL device version %d", 57 device = NULL; 61 ALOGV_IF(device != 0, "Created a new camera device for version %d", 64 return device;
|
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/ |
H A D | BluetoothMidiService.java | 38 BluetoothDevice bluetoothDevice = (BluetoothDevice)intent.getParcelableExtra("device"); 44 BluetoothMidiDevice device; 46 device = mDeviceServerMap.get(bluetoothDevice); 47 if (device == null) { 48 device = new BluetoothMidiDevice(this, bluetoothDevice, this); 51 return device.getBinder(); 56 void deviceClosed(BluetoothDevice device) { argument 58 mDeviceServerMap.remove(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 | 56 * @param device The Bluetooth Device 65 BluetoothDevice device, int prevState, int newState, ParcelFileDescriptor fd, 67 Log.d(TAG, "onHealthChannelStateChange: " + config + "Device: " + device + 64 onHealthChannelStateChange(BluetoothHealthAppConfiguration config, BluetoothDevice device, int prevState, int newState, ParcelFileDescriptor fd, int channelId) argument
|
H A D | BluetoothManager.java | 69 * Get the default BLUETOOTH Adapter for this device. 78 * Get the current connection state of the profile to the remote device. 87 * @param device Remote bluetooth device. 95 public int getConnectionState(BluetoothDevice device, int profile) { argument 100 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...] |
/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 | 25 * handle messages that arrive when the device is not ready. Useful when 26 * keeping the messages from a connected device which are not discovered yet. 32 DelayedMessageBuffer(HdmiCecLocalDevice device) { argument 33 mDevice = device; 97 * Process messages from a given logical device. Called by 98 * {@link NewDeviceAction} actions when they finish adding the device 103 * @param address logical address of CEC device which the messages to process 134 * @param address logical address of the device to be the active source
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | IOProfile.cpp | 38 bool IOProfile::isCompatibleProfile(audio_devices_t device, argument 53 if (device != AUDIO_DEVICE_NONE) { 55 if (popcount(device & ~AUDIO_DEVICE_BIT_IN) > 1) { 56 if ((mSupportedDevices.types() & device) != device) { 59 } else if (mSupportedDevices.getDevice(device, address) == 0) {
|
H A D | StreamDescriptor.cpp | 41 int StreamDescriptor::getVolumeIndex(audio_devices_t device) const 43 device = Volume::getDeviceForVolume(device); 45 if (mIndexCur.indexOfKey(device) < 0) { 46 device = AUDIO_DEVICE_OUT_DEFAULT; 48 return mIndexCur.valueFor(device); 56 void StreamDescriptor::addCurrentVolumeIndex(audio_devices_t device, int index) argument 58 mIndexCur.add(device, index); 115 audio_devices_t device, int index) 117 editValueAt(stream).addCurrentVolumeIndex(device, inde 114 addCurrentVolumeIndex(audio_stream_type_t stream, audio_devices_t device, int index) argument [all...] |
/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);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
H A D | BluetoothDeviceFilter.java | 36 boolean matches(BluetoothDevice device); argument 72 Log.w(TAG, "Invalid filter type " + filterType + " for device picker"); 79 public boolean matches(BluetoothDevice device) { argument 86 public boolean matches(BluetoothDevice device) { argument 87 return device.getBondState() == BluetoothDevice.BOND_BONDED; 93 public boolean matches(BluetoothDevice device) { argument 94 return device.getBondState() != BluetoothDevice.BOND_BONDED; 102 public boolean matches(BluetoothDevice device) { argument 103 return matches(device.getUuids(), device [all...] |
H A D | LocalBluetoothProfile.java | 38 boolean connect(BluetoothDevice device); argument 40 boolean disconnect(BluetoothDevice device); argument 42 int getConnectionStatus(BluetoothDevice device); argument 44 boolean isPreferred(BluetoothDevice device); argument 46 int getPreferred(BluetoothDevice device); argument 48 void setPreferred(BluetoothDevice device, boolean preferred); argument 52 /** Display order for device profile settings. */ 57 * @param device the Bluetooth device (to distinguish between PAN roles) 59 int getNameResource(BluetoothDevice device); argument 68 getSummaryResourceForDevice(BluetoothDevice device) argument [all...] |
H A D | OppProfile.java | 32 // Order of this profile in device profiles list 43 public boolean connect(BluetoothDevice device) { argument 47 public boolean disconnect(BluetoothDevice device) { argument 51 public int getConnectionStatus(BluetoothDevice device) { argument 55 public boolean isPreferred(BluetoothDevice device) { argument 59 public int getPreferred(BluetoothDevice device) { argument 63 public void setPreferred(BluetoothDevice device, boolean preferred) { argument 78 public int getNameResource(BluetoothDevice device) { argument 82 public int getSummaryResourceForDevice(BluetoothDevice device) { argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | BluetoothController.java | 34 void connect(CachedBluetoothDevice device); argument 35 void disconnect(CachedBluetoothDevice device); argument
|
H A D | CastController.java | 27 void startCasting(CastDevice device); argument 28 void stopCasting(CastDevice device); argument
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_UsbMidiDevice.cpp | 43 jint card, jint device) 56 info.device = device; 70 android_server_UsbMidiDevice_open(JNIEnv *env, jobject thiz, jint card, jint device, argument 75 snprintf(path, sizeof(path), "/dev/snd/midiC%dD%d", card, device); 42 android_server_UsbMidiDevice_get_subdevice_count(JNIEnv *env, jobject , jint card, jint device) argument
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
H A D | UsbAudioDevice.java | 42 public UsbAudioDevice(int card, int device, argument 45 mDevice = device; 54 sb.append(", device: " + mDevice); 63 return "[card:" + mCard + " device:" + mDevice + " " + mDeviceName + "]";
|