Home
last modified time | relevance | path

Searched refs:deviceVersion (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/timezone/
DDistroRulesVersionTest.java62 DistroRulesVersion deviceVersion = new DistroRulesVersion("2016b", 2); in isOlderThan() local
63 assertFalse(deviceVersion.isOlderThan(deviceVersion)); in isOlderThan()
66 assertFalse(deviceVersion.isOlderThan(sameVersion)); in isOlderThan()
69 assertTrue(deviceVersion.isOlderThan(sameRulesNewerRevision)); in isOlderThan()
72 assertFalse(deviceVersion.isOlderThan(sameRulesOlderRevision)); in isOlderThan()
75 assertTrue(deviceVersion.isOlderThan(newerRules)); in isOlderThan()
78 assertFalse(deviceVersion.isOlderThan(olderRules)); in isOlderThan()
DDistroFormatVersionTest.java62 DistroFormatVersion deviceVersion = new DistroFormatVersion(2, 2); in supportsVersion() local
63 assertTrue(deviceVersion.supports(deviceVersion)); in supportsVersion()
66 assertTrue(deviceVersion.supports(sameVersion)); in supportsVersion()
70 assertTrue(deviceVersion.supports(sameMajorNewerMinor)); in supportsVersion()
72 assertFalse(deviceVersion.supports(sameMajorOlderMinor)); in supportsVersion()
76 assertFalse(deviceVersion.supports(newerMajor)); in supportsVersion()
78 assertFalse(deviceVersion.supports(olderMajor)); in supportsVersion()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp621 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()
[all …]
DCameraService.h957 int halVersion, int deviceVersion, apiLevel effectiveApiLevel,
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.h271 status_t initialize(CameraDeviceBase *device, int deviceVersion);
DParameters.cpp51 status_t Parameters::initialize(CameraDeviceBase *device, int deviceVersion) { in initialize() argument
64 mDeviceVersion = deviceVersion; in initialize()
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.cpp1113 int deviceVersion = HARDWARE_DEVICE_API_VERSION( in isHiddenPhysicalCameraInternal() local
1115 if (deviceVersion < CAMERA_DEVICE_API_VERSION_3_5) { in isHiddenPhysicalCameraInternal()
1117 __FUNCTION__, deviceVersion, cameraId.c_str()); in isHiddenPhysicalCameraInternal()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.cpp226 int deviceVersion = HARDWARE_DEVICE_API_VERSION( in initialize() local
237 mNeedFixupMonochromeTags = (isMonochrome && deviceVersion < CAMERA_DEVICE_API_VERSION_3_5); in initialize()