Searched defs:halVersion (Results 1 - 11 of 11) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DHwModule.h43 HwModule(const char *name, uint32_t halVersion = AUDIO_DEVICE_API_VERSION_MIN);
58 void setHalVersion(uint32_t halVersion) { mHalVersion = halVersion; } argument
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DHwModule.cpp28 HwModule::HwModule(const char *name, uint32_t halVersion) argument
31 mHalVersion(halVersion)
/frameworks/native/libs/gui/
H A DSensor.cpp44 Sensor::Sensor(struct sensor_t const* hwSensor, int halVersion) : argument
45 Sensor(*hwSensor, uuid_t(), halVersion) {
48 Sensor::Sensor(struct sensor_t const& hwSensor, const uuid_t& uuid, int halVersion) { argument
64 if (halVersion > SENSORS_DEVICE_API_VERSION_1_0) {
72 if (halVersion >= SENSORS_DEVICE_API_VERSION_1_3) {
155 if (halVersion < SENSORS_DEVICE_API_VERSION_1_3) {
170 if (halVersion < SENSORS_DEVICE_API_VERSION_1_3) {
189 if (halVersion < SENSORS_DEVICE_API_VERSION_1_3) {
196 if (halVersion < SENSORS_DEVICE_API_VERSION_1_3) {
203 if (halVersion < SENSORS_DEVICE_API_VERSION_1_
[all...]
/frameworks/native/services/sensorservice/
H A DSensorDevice.cpp187 const int halVersion = getHalDeviceVersion(); local
188 if (halVersion >= SENSORS_DEVICE_API_VERSION_1_1) {
243 const int halVersion = getHalDeviceVersion(); local
244 if (halVersion < SENSORS_DEVICE_API_VERSION_1_1 && maxBatchReportLatencyNs != 0) {
277 if (halVersion >= SENSORS_DEVICE_API_VERSION_1_1) {
350 const int halVersion = getHalDeviceVersion(); local
359 if (halVersion > SENSORS_DEVICE_API_VERSION_1_0) {
373 if (halVersion <= SENSORS_DEVICE_API_VERSION_1_0) {
H A DSensorService.cpp491 const int halVersion = device.getHalDeviceVersion(); local
575 if (halVersion < SENSORS_DEVICE_API_VERSION_1_0) {
1197 const int halVersion = dev.getHalDeviceVersion(); local
1212 if (halVersion <= SENSORS_DEVICE_API_VERSION_1_0 || isVirtualSensor(handle)) {
/frameworks/av/camera/
H A DCamera.cpp80 status_t Camera::connectLegacy(int cameraId, int halVersion, argument
93 ret = cs.get()->connectLegacy(cl, cameraId, halVersion, clientPackageName,
/frameworks/av/services/camera/libcameraservice/common/
H A DCameraModule.cpp326 const char* id, uint32_t halVersion, struct hw_device_t** device) {
329 res = mModule->open_legacy(&mModule->common, id, halVersion, device);
325 openLegacy( const char* id, uint32_t halVersion, struct hw_device_t** device) argument
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.h122 int32_t cameraId, int32_t halVersion,
511 int halVersion, const String16& clientPackageName,
755 int halVersion, int deviceVersion, apiLevel effectiveApiLevel,
821 int halVersion, const String16& clientPackageName, int clientUid, int clientPid,
832 (halVersion == -1) ? "default" : std::to_string(halVersion).c_str(),
909 clientUid, getpid(), legacyMode, halVersion, deviceVersion, effectiveApiLevel,
820 connectHelper(const sp<CALLBACK>& cameraCb, const String8& cameraId, int halVersion, const String16& clientPackageName, int clientUid, int clientPid, apiLevel effectiveApiLevel, bool legacyMode, bool shimUpdateOnly, sp<CLIENT>& device) argument
H A DCameraService.cpp753 int halVersion, int deviceVersion, apiLevel effectiveApiLevel,
756 if (halVersion < 0 || halVersion == deviceVersion) {
799 halVersion == CAMERA_DEVICE_API_VERSION_1_0) {
807 " opened as HAL %x device", halVersion, deviceVersion,
811 cameraId, deviceVersion, halVersion);
1278 int cameraId, int halVersion,
1287 if (halVersion != CAMERA_HAL_API_VERSION_UNSPECIFIED &&
1306 ret = connectHelper<ICameraClient,Client>(cameraClient, id, halVersion,
750 makeClient(const sp<CameraService>& cameraService, const sp<IInterface>& cameraCb, const String16& packageName, int cameraId, int facing, int clientPid, uid_t clientUid, int servicePid, bool legacyMode, int halVersion, int deviceVersion, apiLevel effectiveApiLevel, sp<BasicClient>* client) argument
1276 connectLegacy( const sp<ICameraClient>& cameraClient, int cameraId, int halVersion, const String16& clientPackageName, int clientUid, sp<ICamera>* device) argument
/frameworks/base/core/jni/
H A Dandroid_hardware_Camera.cpp529 jobject weak_this, jint cameraId, jint halVersion, jstring clientPackageName)
540 if (halVersion == CAMERA_HAL_API_VERSION_NORMAL_CONNECT) {
545 jint status = Camera::connectLegacy(cameraId, halVersion, clientName,
528 android_hardware_Camera_native_setup(JNIEnv *env, jobject thiz, jobject weak_this, jint cameraId, jint halVersion, jstring clientPackageName) argument
/frameworks/base/core/java/android/hardware/
H A DCamera.java390 * @param halVersion The HAL API version this camera device to be opened as.
393 * @throws IllegalArgumentException if the {@code halVersion} is invalid
404 public static Camera openLegacy(int cameraId, int halVersion) { argument
405 if (halVersion < CAMERA_HAL_API_VERSION_1_0) {
406 throw new IllegalArgumentException("Invalid HAL version " + halVersion);
409 return new Camera(cameraId, halVersion);
417 * @param halVersion The HAL API version this camera device to be opened as.
419 private Camera(int cameraId, int halVersion) { argument
420 int err = cameraInitVersion(cameraId, halVersion);
447 private int cameraInitVersion(int cameraId, int halVersion) { argument
531 native_setup(Object camera_this, int cameraId, int halVersion, String packageName) argument
[all...]

Completed in 275 milliseconds