Lines Matching refs:deviceVersion
619 int deviceVersion; in getDeviceVersion() local
621 deviceVersion = info.device_version; in getDeviceVersion()
623 deviceVersion = CAMERA_DEVICE_API_VERSION_1_0; in getDeviceVersion()
630 return deviceVersion; in getDeviceVersion()
685 int halVersion, int deviceVersion, apiLevel effectiveApiLevel, in makeClient() argument
696 if (halVersion < 0 || halVersion == deviceVersion) { in makeClient()
699 switch(deviceVersion) { in makeClient()
706 ALOGW("Camera using old HAL version: %d", deviceVersion); in makeClient()
729 ALOGE("Unknown camera device HAL version: %d", deviceVersion); in makeClient()
735 if (deviceVersion > CAMERA_DEVICE_API_VERSION_1_0 && in makeClient()
744 " opened as HAL %x device", halVersion, deviceVersion, in makeClient()
1430 int deviceVersion = getDeviceVersion(cameraId, &facing); in supportsCameraApi() local
1432 switch(deviceVersion) { in supportsCameraApi()
1456 ALOGE("%s: Unknown camera device HAL version: %d", __FUNCTION__, deviceVersion); in supportsCameraApi()
2277 int deviceVersion; in dump() local
2279 deviceVersion = CAMERA_DEVICE_API_VERSION_1_0; in dump()
2281 deviceVersion = info.device_version; in dump()
2295 result.appendFormat(" Device version: %#x\n", deviceVersion); in dump()
2296 if (deviceVersion >= CAMERA_DEVICE_API_VERSION_2_0) { in dump()