Lines Matching refs:deviceVersion
621 int deviceVersion = 0; in getDeviceVersion() local
628 deviceVersion = HARDWARE_DEVICE_API_VERSION(maxVersion.get_major(), maxVersion.get_minor()); in getDeviceVersion()
637 return deviceVersion; in getDeviceVersion()
660 int halVersion, int deviceVersion, apiLevel effectiveApiLevel, in makeClient() argument
663 if (halVersion < 0 || halVersion == deviceVersion) { in makeClient()
666 switch(deviceVersion) { in makeClient()
674 ALOGW("Camera using old HAL version: %d", deviceVersion); in makeClient()
677 cameraId.string(), deviceVersion); in makeClient()
701 ALOGE("Unknown camera device HAL version: %d", deviceVersion); in makeClient()
704 cameraId.string(), deviceVersion); in makeClient()
709 if (deviceVersion > CAMERA_DEVICE_API_VERSION_1_0 && in makeClient()
719 " opened as HAL %x device", halVersion, deviceVersion, in makeClient()
723 cameraId.string(), deviceVersion, halVersion); in makeClient()
1481 int deviceVersion = getDeviceVersion(cameraId, /*out*/&facing); in connectHelper() local
1492 halVersion, deviceVersion, effectiveApiLevel, in connectHelper()
1942 int deviceVersion = getDeviceVersion(id); in supportsCameraApi() local
1943 switch (deviceVersion) { in supportsCameraApi()
1949 __FUNCTION__, id.string(), deviceVersion); in supportsCameraApi()
1972 deviceVersion, id.string()); in supportsCameraApi()