Home
last modified time | relevance | path

Searched refs:halVersion (Results 1 – 7 of 7) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioDescriptorActivity.java167 AudioHalVersionInfo halVersion = mAudioManager.getHalVersion(); in detectHalVersion() local
168 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() argument
340 if (halVersion.compareTo(entry.getKey()) >= 0) { in getHalFormats()
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DImsServiceTestOnMockModem.java84 Pair<Integer, Integer> halVersion = tm.getHalVersion(TelephonyManager.HAL_SERVICE_IMS); in beforeAllTests() local
85 if (!(halVersion.equals(TelephonyManager.HAL_VERSION_UNKNOWN) in beforeAllTests()
86 || halVersion.equals(TelephonyManager.HAL_VERSION_UNSUPPORTED))) { in beforeAllTests()
DImsCallingTestOnMockModem.java101 Pair<Integer, Integer> halVersion = tm.getHalVersion(TelephonyManager.HAL_SERVICE_IMS); in beforeAllTests() local
102 if (!(halVersion.equals(TelephonyManager.HAL_VERSION_UNKNOWN) in beforeAllTests()
103 || halVersion.equals(TelephonyManager.HAL_VERSION_UNSUPPORTED))) { in beforeAllTests()
DMmTelFeatureTestOnMockModem.java162 Pair<Integer, Integer> halVersion = tm.getHalVersion(TelephonyManager.HAL_SERVICE_IMS); in beforeAllTests() local
163 if (!(halVersion.equals(TelephonyManager.HAL_VERSION_UNKNOWN) in beforeAllTests()
164 || halVersion.equals(TelephonyManager.HAL_VERSION_UNSUPPORTED))) { in beforeAllTests()
DImsServiceTest.java351 Pair<Integer, Integer> halVersion = tm.getHalVersion(TelephonyManager.HAL_SERVICE_IMS); in beforeAllTests() local
352 if (!(halVersion.equals(TelephonyManager.HAL_VERSION_UNKNOWN) in beforeAllTests()
353 || halVersion.equals(TelephonyManager.HAL_VERSION_UNSUPPORTED))) { in beforeAllTests()
/cts/tests/tests/telephony/current/mockmodem/src/android/telephony/mockmodem/
DMockModemService.java127 Pair<Integer, Integer> halVersion = mTelephonyManager.getHalVersion(j); in onCreate() local
128 if (halVersion.first == -2 && halVersion.second == -2) { in onCreate()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioManagerTest.java2510 AudioHalVersionInfo halVersion = AudioManager.getHalVersion(); in testGetHalVersion() local
2511 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()