Home
last modified time | relevance | path

Searched refs:devices (Results 1 – 25 of 161) sorted by relevance

1234567

/hardware/interfaces/neuralnetworks/utils/service/src/
DService.cpp54 std::vector<SharedDeviceAndUpdatability>* devices, in getHidlDevicesForVersion() argument
56 CHECK(devices != nullptr); in getHidlDevicesForVersion()
66 devices->push_back({.device = std::move(device)}); in getHidlDevicesForVersion()
75 void getAidlDevices(std::vector<SharedDeviceAndUpdatability>* devices, in getAidlDevices() argument
78 CHECK(devices != nullptr); in getAidlDevices()
107 devices->push_back( in getAidlDevices()
120 std::vector<SharedDeviceAndUpdatability> devices; in getDevices() local
123 getAidlDevices(&devices, &registeredDevices, includeUpdatableDrivers); in getDevices()
125 getHidlDevicesForVersion(V1_3::IDevice::descriptor, &V1_3::utils::getDevice, &devices, in getDevices()
127 getHidlDevicesForVersion(V1_2::IDevice::descriptor, &V1_2::utils::getDevice, &devices, in getDevices()
[all …]
/hardware/qcom/audio/legacy/alsa_sound/
Dalsa_default.cpp197 static void switchDevice(alsa_handle_t *handle, uint32_t devices, uint32_t mode);
198 static char *getUCMDevice(uint32_t devices, int input, char *rxDevice);
392 void switchDevice(alsa_handle_t *handle, uint32_t devices, uint32_t mode) in switchDevice() argument
401 ALOGD("%s: device %d mode:%d", __FUNCTION__, devices, mode); in switchDevice()
404 if ((devices & AudioSystem::DEVICE_OUT_WIRED_HEADSET) || in switchDevice()
405 (devices & AudioSystem::DEVICE_IN_WIRED_HEADSET)) { in switchDevice()
406 devices = devices | (AudioSystem::DEVICE_OUT_WIRED_HEADSET | in switchDevice()
408 } else if (devices & AudioSystem::DEVICE_OUT_WIRED_HEADPHONE) { in switchDevice()
409 devices = devices | (AudioSystem::DEVICE_OUT_WIRED_HEADPHONE | in switchDevice()
411 } else if (devices & AudioSystem::DEVICE_IN_BUILTIN_MIC) { in switchDevice()
[all …]
DAudioHardwareALSA.cpp721 AudioHardwareALSA::openOutputStream(uint32_t devices, in openOutputStream() argument
729 devices, *channels, *sampleRate); in openOutputStream()
738 if (devices & (devices - 1)) { in openOutputStream()
746 if((devices == AudioSystem::DEVICE_OUT_DIRECTOUTPUT) && in openOutputStream()
775 alsa_handle.devices = devices; in openOutputStream()
805 alsa_handle.devices = AudioSystem::DEVICE_OUT_PROXY; in openOutputStream()
828 err = out->set(format, channels, sampleRate, devices); in openOutputStream()
838 (devices == AudioSystem::DEVICE_OUT_AUX_DIGITAL)) { in openOutputStream()
844 alsa_handle.devices = devices; in openOutputStream()
891 mALSADevice->route(&(*it), devices, mode()); in openOutputStream()
[all …]
/hardware/google/pixel/vibrator/cs40l26/
Dandroid.hardware.vibrator-service.cs40l26-dvt.rc2 wait /sys/bus/i2c/devices/i2c-cs40l26a/calibration/redc_cal_time_ms
10 chown system system /sys/bus/i2c/devices/i2c-cs40l26a/calibration/f0_stored
11 chown system system /sys/bus/i2c/devices/i2c-cs40l26a/calibration/q_stored
12 chown system system /sys/bus/i2c/devices/i2c-cs40l26a/calibration/redc_stored
13 chown system system /sys/bus/i2c/devices/i2c-cs40l26a/default/vibe_state
14 chown system system /sys/bus/i2c/devices/i2c-cs40l26a/default/num_waves
15 chown system system /sys/bus/i2c/devices/i2c-cs40l26a/default/f0_offset
16 chown system system /sys/bus/i2c/devices/i2c-cs40l26a/default/owt_free_space
29 setenv HWAPI_PATH_PREFIX /sys/bus/i2c/devices/i2c-cs40l26a/
Dandroid.hardware.vibrator-service.cs40l26.rc2 wait /sys/bus/i2c/devices/i2c-cs40l26a/calibration/redc_cal_time_ms
10 chown system system /sys/bus/i2c/devices/i2c-cs40l26a/calibration/f0_stored
11 chown system system /sys/bus/i2c/devices/i2c-cs40l26a/calibration/q_stored
12 chown system system /sys/bus/i2c/devices/i2c-cs40l26a/calibration/redc_stored
13 chown system system /sys/bus/i2c/devices/i2c-cs40l26a/default/vibe_state
14 chown system system /sys/bus/i2c/devices/i2c-cs40l26a/default/num_waves
15 chown system system /sys/bus/i2c/devices/i2c-cs40l26a/default/f0_offset
16 chown system system /sys/bus/i2c/devices/i2c-cs40l26a/default/owt_free_space
29 setenv HWAPI_PATH_PREFIX /sys/bus/i2c/devices/i2c-cs40l26a/
Dandroid.hardware.vibrator-service.cs40l26-dual.rc2 wait /sys/bus/i2c/devices/i2c-cs40l26a-dual/calibration/redc_cal_time_ms
10 chown system system /sys/bus/i2c/devices/i2c-cs40l26a-dual/calibration/f0_stored
11 chown system system /sys/bus/i2c/devices/i2c-cs40l26a-dual/calibration/q_stored
12 chown system system /sys/bus/i2c/devices/i2c-cs40l26a-dual/calibration/redc_stored
13 chown system system /sys/bus/i2c/devices/i2c-cs40l26a-dual/default/vibe_state
14 chown system system /sys/bus/i2c/devices/i2c-cs40l26a-dual/default/num_waves
15 chown system system /sys/bus/i2c/devices/i2c-cs40l26a-dual/default/f0_offset
16 chown system system /sys/bus/i2c/devices/i2c-cs40l26a-dual/default/owt_free_space
29 setenv HWAPI_PATH_PREFIX /sys/bus/i2c/devices/i2c-cs40l26a-dual/
Dandroid.hardware.vibrator-service.cs40l26-dvt-dual.rc2 wait /sys/bus/i2c/devices/i2c-cs40l26a-dual/calibration/redc_cal_time_ms
10 chown system system /sys/bus/i2c/devices/i2c-cs40l26a-dual/calibration/f0_stored
11 chown system system /sys/bus/i2c/devices/i2c-cs40l26a-dual/calibration/q_stored
12 chown system system /sys/bus/i2c/devices/i2c-cs40l26a-dual/calibration/redc_stored
13 chown system system /sys/bus/i2c/devices/i2c-cs40l26a-dual/default/vibe_state
14 chown system system /sys/bus/i2c/devices/i2c-cs40l26a-dual/default/num_waves
15 chown system system /sys/bus/i2c/devices/i2c-cs40l26a-dual/default/f0_offset
16 chown system system /sys/bus/i2c/devices/i2c-cs40l26a-dual/default/owt_free_space
29 setenv HWAPI_PATH_PREFIX /sys/bus/i2c/devices/i2c-cs40l26a-dual/
Dandroid.hardware.vibrator-service.cs40l26-evt-dual.rc2 wait /sys/bus/i2c/devices/i2c-cs40l26a-dual/calibration/redc_cal_time_ms
10 chown system system /sys/bus/i2c/devices/i2c-cs40l26a-dual/calibration/f0_stored
11 chown system system /sys/bus/i2c/devices/i2c-cs40l26a-dual/calibration/q_stored
12 chown system system /sys/bus/i2c/devices/i2c-cs40l26a-dual/calibration/redc_stored
13 chown system system /sys/bus/i2c/devices/i2c-cs40l26a-dual/default/vibe_state
14 chown system system /sys/bus/i2c/devices/i2c-cs40l26a-dual/default/num_waves
15 chown system system /sys/bus/i2c/devices/i2c-cs40l26a-dual/default/f0_offset
16 chown system system /sys/bus/i2c/devices/i2c-cs40l26a-dual/default/owt_free_space
29 setenv HWAPI_PATH_PREFIX /sys/bus/i2c/devices/i2c-cs40l26a-dual/
Dandroid.hardware.vibrator-service.cs40l26-evt.rc2 wait /sys/bus/i2c/devices/i2c-cs40l26a/calibration/redc_cal_time_ms
10 chown system system /sys/bus/i2c/devices/i2c-cs40l26a/calibration/f0_stored
11 chown system system /sys/bus/i2c/devices/i2c-cs40l26a/calibration/q_stored
12 chown system system /sys/bus/i2c/devices/i2c-cs40l26a/calibration/redc_stored
13 chown system system /sys/bus/i2c/devices/i2c-cs40l26a/default/vibe_state
14 chown system system /sys/bus/i2c/devices/i2c-cs40l26a/default/num_waves
15 chown system system /sys/bus/i2c/devices/i2c-cs40l26a/default/f0_offset
16 chown system system /sys/bus/i2c/devices/i2c-cs40l26a/default/owt_free_space
29 setenv HWAPI_PATH_PREFIX /sys/bus/i2c/devices/i2c-cs40l26a/
/hardware/qcom/sm7250/media/media-prop/
Dinit.qti.media.sh33 if [ -f /sys/devices/soc0/soc_id ]; then
34 soc_hwid=`cat /sys/devices/soc0/soc_id` 2> /dev/null
36 soc_hwid=`cat /sys/devices/system/soc/soc0/id` 2> /dev/null
45 sku_ver=`cat /sys/devices/platform/soc/5a00000.qcom,vidc1/sku_version` 2> /dev/null
54 sku_ver=`cat /sys/devices/platform/soc/5a00000.qcom,vidc/sku_version` 2> /dev/null
/hardware/libhardware_legacy/audio/
Daudio_policy.conf33 devices AUDIO_DEVICE_OUT_SPEAKER
42 devices AUDIO_DEVICE_IN_BUILTIN_MIC
52 devices AUDIO_DEVICE_OUT_REMOTE_SUBMIX
60 devices AUDIO_DEVICE_IN_REMOTE_SUBMIX
DAudioHardwareGeneric.cpp68 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) in openOutputStream() argument
82 status_t lStatus = out->set(this, mFd, devices, format, channels, sampleRate); in openOutputStream()
102 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, in openInputStream() argument
106 if (!AudioSystem::isInputDevice((AudioSystem::audio_devices)devices)) { in openInputStream()
122 status_t lStatus = in->set(this, mFd, devices, format, channels, sampleRate, acoustics); in openInputStream()
195 uint32_t devices, in set() argument
225 mDevice = devices; in set()
314 uint32_t devices, in set() argument
335 mDevice = devices; in set()
DAudioDumpInterface.cpp60 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) in openOutputStream() argument
68 outFinal = mFinalInterface->openOutputStream(devices, format, channels, sampleRate, status); in openOutputStream()
100 devices, lFormat, lChannels, lRate); in openOutputStream()
126 AudioStreamIn* AudioDumpInterface::openInputStream(uint32_t devices, int *format, uint32_t *channel… in openInputStream() argument
134 …inFinal = mFinalInterface->openInputStream(devices, format, channels, sampleRate, status, acoustic… in openInputStream()
166 devices, lFormat, lChannels, lRate); in openInputStream()
261 uint32_t devices, in AudioStreamOutDump() argument
266 mSampleRate(sampleRate), mFormat(format), mChannels(channels), mLatency(0), mDevice(devices), in AudioStreamOutDump()
422 uint32_t devices, in AudioStreamInDump() argument
427 mSampleRate(sampleRate), mFormat(format), mChannels(channels), mDevice(devices), in AudioStreamInDump()
DAudioHardwareGeneric.h45 uint32_t devices,
78 uint32_t devices,
121 uint32_t devices,
129 uint32_t devices,
DAudioDumpInterface.h39 uint32_t devices,
81 uint32_t devices,
122 uint32_t devices,
151 virtual AudioStreamIn* openInputStream(uint32_t devices, int *format, uint32_t *channels,
DA2dpAudioInterface.cpp65 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) in openOutputStream() argument
67 if (!audio_is_a2dp_out_device(devices)) { in openOutputStream()
68 ALOGV("A2dpAudioInterface::openOutputStream() open HW device: %x", devices); in openOutputStream()
69 return mHardwareInterface->openOutputStream(devices, format, channels, sampleRate, status); in openOutputStream()
83 if ((err = out->set(devices, format, channels, sampleRate)) == NO_ERROR) { in openOutputStream()
108 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status, in openInputStream() argument
111 …return mHardwareInterface->openInputStream(devices, format, channels, sampleRate, status, acoustic… in openInputStream()
/hardware/interfaces/thermal/1.0/
DIThermal.hal29 * devices (such as CPUs, GPUs and etc.) in the list must be kept
31 * they go offline, if these devices exist on boot. The method
59 * Retrieves the cooling devices information.
64 * @return devices If status code is SUCCESS, it's filled with the current
66 * devices in the list must be kept the same regardless the number
67 * of calls to this method even if they go offline, if these devices
69 * the list such cooling devices.
76 generates (ThermalStatus status, vec<CoolingDevice> devices);
/hardware/interfaces/camera/device/
DREADME.md7 individual camera devices. Instances of camera.device HAL interface can be obtained
17 [source.android.com](http://source.android.com/devices/camera/index.html).
23 HIDL version of the legacy camera device HAL. Intended as a shim for devices
26 May be used in HIDL passthrough mode for devices upgrading to the Android O
27 release; must be used in binderized mode for devices launching in the O release.
29 It is strongly recommended to not use this interface for new devices, as new
30 devices may not use this interface starting with the Android P release, and all
59 May be used in passthrough mode for devices upgrading to the Android O release;
60 must be used in binderized mode for all new devices launching with Android O or
/hardware/google/camera/devices/EmulatedCamera/hwl/tools/
Dparse_bugreport.py49 devices = re.split(deviceRegExp, file.read())
50 if len(devices) != 3 and len(devices) != 2:
54 physicalDevices = re.split(physicalDeviceRegExp, devices[1])
/hardware/interfaces/thermal/2.0/
DIThermal.hal36 * devices (such as CPUs, GPUs and etc.) in the list must be kept
38 * they go offline, if these devices exist on boot. The method
54 * devices (such as CPUs, GPUs and etc.) in the list must be kept
56 * they go offline, if these devices exist on boot. The method
102 * Retrieves the cooling devices information.
110 * @return devices If status code is SUCCESS, it's filled with the current
112 * devices in the list must be kept the same regardless of the number
113 * of calls to this method even if they go offline, if these devices
115 * the list such cooling devices.
118 generates (ThermalStatus status, vec<CoolingDevice> devices);
/hardware/qcom/audio/hal/msm8960/
Dplatform.c660 snd_device_t platform_get_output_snd_device(void *platform, audio_devices_t devices) in platform_get_output_snd_device() argument
667 ALOGV("%s: enter: output devices(%#x)", __func__, devices); in platform_get_output_snd_device()
668 if (devices == AUDIO_DEVICE_NONE || in platform_get_output_snd_device()
669 devices & AUDIO_DEVICE_BIT_IN) { in platform_get_output_snd_device()
670 ALOGV("%s: Invalid output devices (%#x)", __func__, devices); in platform_get_output_snd_device()
675 if (devices & AUDIO_DEVICE_OUT_WIRED_HEADPHONE || in platform_get_output_snd_device()
676 devices & AUDIO_DEVICE_OUT_WIRED_HEADSET) { in platform_get_output_snd_device()
683 else if (devices & AUDIO_DEVICE_OUT_WIRED_HEADSET) in platform_get_output_snd_device()
687 } else if (devices & AUDIO_DEVICE_OUT_ALL_SCO) { in platform_get_output_snd_device()
693 } else if (devices & AUDIO_DEVICE_OUT_SPEAKER) { in platform_get_output_snd_device()
[all …]
/hardware/interfaces/camera/common/1.0/
Dtypes.hal129 * At startup, the camera service must assume all internal camera devices listed
132 * service of any initially NOT_PRESENT internal devices, and of any PRESENT
133 * external camera devices, as soon as the camera service has called
155 * By default, the framework must assume all devices returned by
186 * external camera devices when they are initially connected.
224 * for other previously-on torch modes if HAL cannot keep multiple devices'
263 * and any usage conflicts between multiple camera devices.
278 * combination of camera devices exposed by the HAL where the sum of
286 * of camera devices with a total resource cost > 100. This may succeed or
288 * supported due to resource constraints from having multiple open devices
[all …]
/hardware/interfaces/camera/provider/
DREADME.md7 query, and open individual camera devices.
9 It also allows for direct control of the flash unit of camera devices that have
13 [source.android.com](http://source.android.com/devices/camera/index.html).
/hardware/interfaces/camera/
DREADME.md7 operate camera devices available on the device.
12 [source.android.com](http://source.android.com/devices/camera/index.html).
/hardware/qcom/audio/hal/msm8916/
Dplatform.c1911 snd_device_t platform_get_output_snd_device(void *platform, audio_devices_t devices)
1918 ALOGV("%s: enter: output devices(%#x)", __func__, devices);
1919 if (devices == AUDIO_DEVICE_NONE ||
1920 devices & AUDIO_DEVICE_BIT_IN) {
1921 ALOGV("%s: Invalid output devices (%#x)", __func__, devices);
1925 if (popcount(devices) == 2) {
1926 if (devices == (AUDIO_DEVICE_OUT_WIRED_HEADPHONE |
1929 } else if (devices == (AUDIO_DEVICE_OUT_LINE |
1932 } else if (devices == (AUDIO_DEVICE_OUT_WIRED_HEADSET |
1935 } else if (devices == (AUDIO_DEVICE_OUT_AUX_DIGITAL |
[all …]

1234567