Searched refs:device (Results 226 - 250 of 267) sorted by relevance

1234567891011

/frameworks/av/services/soundtrigger/
H A DSoundTriggerHwService.cpp69 ALOGE("couldn't open sound trigger hw device in %s.%s (%s)",
74 ALOGE("wrong sound trigger hw device version %04x", dev->common.version);
558 audio_devices_t device; local
560 status = AudioSystem::acquireSoundTriggerSession(&session, &ioHandle, &device);
565 sp<Model> model = new Model(*handle, session, ioHandle, device, sound_model->type);
631 //TODO: get capture handle and device from audio policy service
825 audio_io_handle_t ioHandle, audio_devices_t device,
828 mCaptureIOHandle(ioHandle), mCaptureDevice(device), mType(type)
824 Model(sound_model_handle_t handle, audio_session_t session, audio_io_handle_t ioHandle, audio_devices_t device, sound_trigger_sound_model_type_t type) argument
H A DSoundTriggerHwService.h72 audio_devices_t device, sound_trigger_sound_model_type_t type);
/frameworks/base/core/java/android/hardware/camera2/
H A DCameraManager.java90 * individual device, even if they are the same model.</p>
97 // ID list creation handles various known failures in device enumeration, so only
104 * Register a callback to be notified about camera device availability.
113 * device is opened by any camera API client. As of API level 23, other camera API clients may
114 * still be able to open such a camera device, evicting the existing client if they have higher
115 * priority than the existing client of a camera device. See open() for more details.</p>
203 * <p>Query the capabilities of a camera device. These capabilities are
206 * @param cameraId The id of the camera device to query
210 * known camera device.
211 * @throws CameraAccessException if the camera device ha
[all...]
/frameworks/base/core/java/android/hardware/input/
H A DInputManager.java232 * Gets information about the input device with the specified id.
233 * @param id The device id.
234 * @return The input device or null if not found.
250 throw new RuntimeException("Could not get input device information.", ex);
261 * Gets information about the input device with the specified descriptor.
262 * @param descriptor The input device descriptor.
263 * @return The input device or null if not found.
299 * @return The input device ids.
315 * Registers an input device listener to receive notifications about when
338 * Unregisters an input device listene
[all...]
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiCecLocalDevice.java40 * Class that models a logical CEC device hosted in this system. Handles initialization,
41 * CEC commands that call for actions customized per device type.
48 // Timeout in millisecond for device clean up (5s).
151 void onCleared(HdmiCecLocalDevice device); argument
183 * Called once a logical address of the local device is allocated.
198 * Returns true if the TV input associated with the CEC device is ready
209 * Returns true if the local device allows the system to be put to standby.
384 Slog.w(TAG, "Only Playback device can handle <Set Menu Language>:" + message.toString());
642 // Resets the logical address to unregistered(15), meaning the logical device is invalid.
809 * routing path connected to it directly or indirectly under the device hierarch
[all...]
H A DHdmiCecController.java40 * and pass it to CEC HAL so that it sends message to other device. For incoming
60 * @param deviceType requested device type to allocate logical address
63 * it failed to allocate logical address for the given device type
72 // Predicate for whether the given logical address is remote device's one or not.
92 // device or issued by internal state change.
111 * inner device or has no device it will return {@code null}.
116 * @return {@link HdmiCecController} if device is initialized successfully. Otherwise,
138 void addLocalDevice(int deviceType, HdmiCecLocalDevice device) { argument
140 mLocalDevices.put(deviceType, device);
[all...]
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/
H A DCameraOps.java358 CameraDevice device = mCameraDevice;
359 if (device == null) {
362 return device.createCaptureRequest(template);
406 // Wait until both the camera device is open and the SurfaceView is ready
453 * Main listener for camera device events.
471 mErrorDisplayer.showErrorDialog("The camera device has been disconnected.");
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DCameraDeviceUserShim.java318 Log.d(TAG, "Opening shim Camera device");
354 LegacyCameraDevice device = new LegacyCameraDevice(
356 return new CameraDeviceUserShim(cameraId, device, characteristics, init, threadCallbacks);
366 Log.w(TAG, "Cannot disconnect, device has already been closed.");
384 Log.e(TAG, "Cannot submit request, device has been closed.");
404 Log.e(TAG, "Cannot submit request list, device has been closed.");
423 Log.e(TAG, "Cannot cancel request, device has been closed.");
444 Log.e(TAG, "Cannot begin configure, device has been closed.");
464 Log.e(TAG, "Cannot end configure, device has been closed.");
492 Log.e(TAG, "Cannot delete stream, device ha
[all...]
/frameworks/native/opengl/libs/
H A DAndroid.mk146 # Build the ETC1 device library
/frameworks/av/include/media/
H A DIAudioFlinger.h169 audio_devices_t *device,
215 // that looks on primary device for a stream with fast flag, primary flag, or first one.
219 // Intended for AudioService to inform AudioFlinger of device's low RAM attribute,
/frameworks/av/media/libmedia/
H A DIAudioFlinger.cpp522 audio_devices_t *device,
527 if (input == NULL || config == NULL || device == NULL) {
535 data.writeInt32(*device);
551 *device = (audio_devices_t)reply.readInt32();
1158 audio_devices_t device = (audio_devices_t)data.readInt32(); local
1164 &device, address, source, flags);
1169 reply->writeInt32(device);
519 openInput(audio_module_handle_t module, audio_io_handle_t *input, audio_config_t *config, audio_devices_t *device, const String8& address, audio_source_t source, audio_input_flags_t flags) argument
/frameworks/base/media/java/android/media/tv/
H A DTvInputManager.java64 * A demux device of DVB API for controlling the filters of DVB hardware/software.
69 * A DVR device of DVB API for reading transport streams.
74 * A frontend device of DVB API for controlling the tuner and DVB demodulator hardware.
131 * <p>This state indicates that a source device is connected to the input port and is in the
143 * <p>This state indicates that a source device is connected to the input port but is in standby
153 * <p>This state indicates that a source device is disconnected from the input port. It is
1293 * Returns a {@link ParcelFileDescriptor} of a specified DVB device for a given
1296 * @param info A {@link DvbDeviceInfo} to open a DVB device.
1297 * @param device A DVB device
1304 openDvbDevice(DvbDeviceInfo info, int device) argument
[all...]
/frameworks/av/services/audioflinger/
H A DEffects.cpp703 status_t AudioFlinger::EffectModule::setDevice(audio_devices_t device) argument
705 if (device == AUDIO_DEVICE_NONE) {
717 uint32_t cmd = audio_is_output_devices(device) ? EFFECT_CMD_SET_DEVICE :
722 &device,
874 s.append("device indication: ");
1625 void AudioFlinger::EffectChain::setDevice_l(audio_devices_t device) argument
1629 mEffects[i]->setDevice(device);
H A DAudioFlinger.h192 audio_devices_t *device,
349 // for the MixerThread and device sink. Number of channels allowed is
547 audio_devices_t device,
585 // return thread associated with primary hardware device, or NULL
H A DThreads.cpp184 // The actual value to use, which can be specified per-device via property af.fast_track_multiplier.
848 dprintf(fd, " Output device: %#x (%s)\n", mOutDevice, devicesToString(mOutDevice).string());
849 dprintf(fd, " Input device: %#x (%s)\n", mInDevice, devicesToString(mInDevice).string());
1428 audio_devices_t device,
1431 : ThreadBase(audioFlinger, id, device, AUDIO_DEVICE_NONE, type, systemReady),
2149 // device format (typically PCM 16 bit).
2155 // TODO: We currently use the associated output device channel mask and sample rate.
2159 // instead of the output device sample rate to avoid loss of high frequency information.
2523 - device type: A2DP or not
2524 - device latenc
1425 PlaybackThread(const sp<AudioFlinger>& audioFlinger, AudioStreamOut* output, audio_io_handle_t id, audio_devices_t device, type_t type, bool systemReady) argument
3257 MixerThread(const sp<AudioFlinger>& audioFlinger, AudioStreamOut* output, audio_io_handle_t id, audio_devices_t device, bool systemReady, type_t type) argument
4433 DirectOutputThread(const sp<AudioFlinger>& audioFlinger, AudioStreamOut* output, audio_io_handle_t id, audio_devices_t device, bool systemReady) argument
4440 DirectOutputThread(const sp<AudioFlinger>& audioFlinger, AudioStreamOut* output, audio_io_handle_t id, uint32_t device, ThreadBase::type_t type, bool systemReady) argument
5009 OffloadThread(const sp<AudioFlinger>& audioFlinger, AudioStreamOut* output, audio_io_handle_t id, uint32_t device, bool systemReady) argument
[all...]
/frameworks/base/media/java/android/media/
H A DAudioManager.java297 * supported by the HDMI device.
298 * The corresponding integer value is only available when the device is plugged in (as expressed
305 * the connected HDMI device.
306 * The corresponding array of encoding values is only available when the device is plugged in
770 * Indicates if the device implements a fixed volume policy.
825 * This method has no effect if the device implements a fixed volume policy
851 * This method has no effect if the device implements a fixed volume policy
1011 * <p>This method has no effect if the device implements a fixed volume policy
1032 * <p>This method has no effect if the device implements a fixed volume policy
1076 * This method has no effect if the device implement
3048 isOutputDevice(int device) argument
3057 isInputDevice(int device) argument
3150 setBluetoothA2dpDeviceConnectionState(BluetoothDevice device, int state, int profile) argument
[all...]
/frameworks/base/services/core/java/com/android/server/input/
H A DInputManagerService.java242 * When set, the device is in tablet mode (i.e. no keyboard is connected).
367 Slog.d(TAG, "Reloading device names.");
397 * @param deviceId The input device id, or -1 to consult all devices.
399 * consider all input sources. An input device is consulted if at least one of its
410 * @param deviceId The input device id, or -1 to consult all devices.
412 * consider all input sources. An input device is consulted if at least one of its
423 * @param deviceId The input device id, or -1 to consult all devices.
425 * consider all input sources. An input device is consulted if at least one of its
435 * Determines whether the specified key codes are supported by a particular device.
436 * @param deviceId The input device i
855 showMissingKeyboardLayoutNotification(InputDevice device) argument
[all...]
/frameworks/av/media/mtp/
H A DMtpDataPacket.cpp502 int MtpDataPacket::readDataWait(struct usb_device *device) {
503 struct usb_request *req = usb_request_wait(device);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DCachedBluetoothDevice.java40 * CachedBluetoothDevice represents a remote Bluetooth device. It contains
41 * attributes of the device (such as the address, name, RSSI, etc.) and
42 * functionality that can be performed on the device (connect, pair, disconnect,
65 // Device supports PANU but not NAP: remove PanProfile after device disconnects from NAP
109 * Describes the current device and profile for logging.
112 * @return Description of the device and profile
153 Log.d(TAG, "Removing PanProfile from device after NAP disconnect");
163 BluetoothDevice device) {
167 mDevice = device;
258 * Connect this device t
160 CachedBluetoothDevice(Context context, LocalBluetoothAdapter adapter, LocalBluetoothProfileManager profileManager, BluetoothDevice device) argument
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DVibratorService.java552 InputDevice device = mIm.getInputDevice(ids[i]);
553 Vibrator vibrator = device.getVibrator();
582 // when reporting whether the device has a vibrator. Applications often use this
585 // the device has a built-in vibrator.
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMasClient.java284 /** device associated with client */
581 * @param device {@link BluetoothDevice} corresponding to remote device
584 * remote device
591 public BluetoothMasClient(BluetoothDevice device, SdpMasRecord mas, argument
593 mDevice = device;
/frameworks/base/services/core/java/com/android/server/tv/
H A DTvInputHardwareManager.java84 /* A map from a device ID to the matching TV input ID. */
1033 void onHdmiDeviceAdded(HdmiDeviceInfo device); argument
1034 void onHdmiDeviceRemoved(HdmiDeviceInfo device); argument
1035 void onHdmiDeviceUpdated(String inputId, HdmiDeviceInfo device); argument
1084 Slog.w(TAG, "Could not resolve input ID matching the device info; "
/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbDeviceManager.java66 * UsbDeviceManager manages USB state in device mode.
125 // Request is cancelled if host does not configure device within 10 seconds.
607 int device = -1;
614 device = scanner.nextInt();
623 mUsbAlsaManager.setAccessoryAudioState(enabled, card, device);
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DAndroidCamera2AgentImpl.java104 * Updates the camera device index assignments stored in {@link mCameraDevices}, without
123 for (String device : currentCameraDevices) {
124 if (currentSet.contains(device)) {
125 mCameraDevices.add(device);
132 Log.e(TAG, "Could not get device listing from camera subsystem", ex);
675 Log.e(TAG, "Unable to query camera device to build settings representation");
806 Log.w(TAG, "Camera device '" + mCameraIndex + "' was disconnected");
811 Log.e(TAG, "Camera device '" + mCameraIndex + "' encountered error code '" +
1267 /** No camera device is opened. */
1383 // when the device i
[all...]
/frameworks/av/media/libeffects/preprocessing/
H A DPreProcessing.cpp81 int (* set_device)(preproc_effect_t *fx, uint32_t device);
514 int AecSetDevice(preproc_effect_t *effect, uint32_t device) argument
516 ALOGV("AecSetDevice %08x", device);
520 if (audio_is_input_device(device)) {
524 switch(device) {
1016 // "out" doesn't mean output device, so this is the correct API to convert channel count to mask

Completed in 2097 milliseconds

1234567891011