Searched refs:halVersion (Results 1 – 7 of 7) sorted by relevance
167 AudioHalVersionInfo halVersion = mAudioManager.getHalVersion(); in detectHalVersion() local168 if (halVersion == null) { in detectHalVersion()178 mHalVersionStr = halVersion.toString(); in detectHalVersion()179 mHalFormats = getHalFormats(halVersion); in detectHalVersion()338 private HalFormats getHalFormats(AudioHalVersionInfo halVersion) { in getHalFormats() argument340 if (halVersion.compareTo(entry.getKey()) >= 0) { in getHalFormats()
84 Pair<Integer, Integer> halVersion = tm.getHalVersion(TelephonyManager.HAL_SERVICE_IMS); in beforeAllTests() local85 if (!(halVersion.equals(TelephonyManager.HAL_VERSION_UNKNOWN) in beforeAllTests()86 || halVersion.equals(TelephonyManager.HAL_VERSION_UNSUPPORTED))) { in beforeAllTests()
101 Pair<Integer, Integer> halVersion = tm.getHalVersion(TelephonyManager.HAL_SERVICE_IMS); in beforeAllTests() local102 if (!(halVersion.equals(TelephonyManager.HAL_VERSION_UNKNOWN) in beforeAllTests()103 || halVersion.equals(TelephonyManager.HAL_VERSION_UNSUPPORTED))) { in beforeAllTests()
162 Pair<Integer, Integer> halVersion = tm.getHalVersion(TelephonyManager.HAL_SERVICE_IMS); in beforeAllTests() local163 if (!(halVersion.equals(TelephonyManager.HAL_VERSION_UNKNOWN) in beforeAllTests()164 || halVersion.equals(TelephonyManager.HAL_VERSION_UNSUPPORTED))) { in beforeAllTests()
351 Pair<Integer, Integer> halVersion = tm.getHalVersion(TelephonyManager.HAL_SERVICE_IMS); in beforeAllTests() local352 if (!(halVersion.equals(TelephonyManager.HAL_VERSION_UNKNOWN) in beforeAllTests()353 || halVersion.equals(TelephonyManager.HAL_VERSION_UNSUPPORTED))) { in beforeAllTests()
127 Pair<Integer, Integer> halVersion = mTelephonyManager.getHalVersion(j); in onCreate() local128 if (halVersion.first == -2 && halVersion.second == -2) { in onCreate()
2510 AudioHalVersionInfo halVersion = AudioManager.getHalVersion(); in testGetHalVersion() local2511 assertNotEquals(null, halVersion); in testGetHalVersion()2513 AudioHalVersionInfo.AUDIO_HAL_TYPE_AIDL == halVersion.getHalType() in testGetHalVersion()2514 || AudioHalVersionInfo.AUDIO_HAL_TYPE_HIDL == halVersion.getHalType()); in testGetHalVersion()2515 assertTrue(halVersion.getMajorVersion() > 0); in testGetHalVersion()2516 assertTrue(halVersion.getMinorVersion() >= 0); in testGetHalVersion()