/frameworks/native/libs/gui/ |
H A D | Sensor.cpp | 44 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/av/services/audiopolicy/common/managerdefinitions/include/ |
H A D | HwModule.h | 43 HwModule(const char *name, uint32_t halVersion = AUDIO_DEVICE_API_VERSION_MIN); 58 void setHalVersion(uint32_t halVersion) { mHalVersion = halVersion; } argument
|
/frameworks/av/camera/aidl/android/hardware/ |
H A D | ICameraService.aidl | 91 * halVersion constant for connectLegacy 100 int halVersion,
|
/frameworks/native/include/gui/ |
H A D | Sensor.h | 65 Sensor(struct sensor_t const* hwSensor, int halVersion = 0); 66 Sensor(struct sensor_t const& hwSensor, const uuid_t& uuid, int halVersion = 0);
|
/frameworks/av/services/camera/libcameraservice/common/ |
H A D | CameraModule.h | 45 int openLegacy(const char* id, uint32_t halVersion, struct hw_device_t** device);
|
H A D | CameraModule.cpp | 326 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/native/services/sensorservice/ |
H A D | SensorDevice.cpp | 187 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 D | SensorService.cpp | 510 const int halVersion = device.getHalDeviceVersion(); local 594 if (halVersion < SENSORS_DEVICE_API_VERSION_1_0) { 1219 const int halVersion = dev.getHalDeviceVersion(); local 1234 if (halVersion <= SENSORS_DEVICE_API_VERSION_1_0 || isVirtualSensor(handle)) {
|
/frameworks/av/services/camera/libcameraservice/ |
H A D | CameraService.h | 122 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 D | CameraService.cpp | 753 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); 1279 int cameraId, int halVersion, 1288 if (halVersion != CAMERA_HAL_API_VERSION_UNSPECIFIED && 1307 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 1277 connectLegacy( const sp<ICameraClient>& cameraClient, int cameraId, int halVersion, const String16& clientPackageName, int clientUid, sp<ICamera>* device) argument
|
/frameworks/base/core/java/android/hardware/ |
H A D | Camera.java | 390 * @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...] |
/frameworks/av/include/camera/ |
H A D | Camera.h | 84 static status_t connectLegacy(int cameraId, int halVersion,
|
/frameworks/av/camera/ |
H A D | Camera.cpp | 80 status_t Camera::connectLegacy(int cameraId, int halVersion, argument 93 ret = cs.get()->connectLegacy(cl, cameraId, halVersion, clientPackageName,
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | HwModule.cpp | 28 HwModule::HwModule(const char *name, uint32_t halVersion) argument 31 mHalVersion(halVersion)
|
/frameworks/base/core/jni/ |
H A D | android_hardware_Camera.cpp | 536 jobject weak_this, jint cameraId, jint halVersion, jstring clientPackageName) 547 if (halVersion == CAMERA_HAL_API_VERSION_NORMAL_CONNECT) { 552 jint status = Camera::connectLegacy(cameraId, halVersion, clientName, 535 android_hardware_Camera_native_setup(JNIEnv *env, jobject thiz, jobject weak_this, jint cameraId, jint halVersion, jstring clientPackageName) argument
|