Home
last modified time | relevance | path

Searched refs:FEATURE_MICROPHONE (Results 1 – 25 of 40) sorted by relevance

12

/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/voiceinteraction/
DHotwordMetricsTestUtils.java38 private static final String FEATURE_MICROPHONE = "android.hardware.microphone"; field in HotwordMetricsTestUtils
59 return DeviceUtils.hasFeature(device, FEATURE_MICROPHONE); in isSupportedDevice()
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/
DHotwordDetectionServicePermissionTest.java21 import static android.content.pm.PackageManager.FEATURE_MICROPHONE;
77 public RequiredFeatureRule REQUIRES_MIC_RULE = new RequiredFeatureRule(FEATURE_MICROPHONE);
DAlwaysOnHotwordDetectorNoDspTest.java23 import static android.content.pm.PackageManager.FEATURE_MICROPHONE;
105 public RequiredFeatureRule REQUIRES_MIC_RULE = new RequiredFeatureRule(FEATURE_MICROPHONE);
DAlwaysOnHotwordDetectorNoHdsTest.java22 import static android.content.pm.PackageManager.FEATURE_MICROPHONE;
105 public RequiredFeatureRule REQUIRES_MIC_RULE = new RequiredFeatureRule(FEATURE_MICROPHONE);
DHotwordDetectionServiceStressTest.java22 import static android.content.pm.PackageManager.FEATURE_MICROPHONE;
124 public RequiredFeatureRule REQUIRES_MIC_RULE = new RequiredFeatureRule(FEATURE_MICROPHONE);
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DEnumDevicesTest.java91 if (pkgMgr.hasSystemFeature(PackageManager.FEATURE_MICROPHONE)) { in test_getDevices()
107 mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_MICROPHONE)) { in test_getDevices()
DRoutingTest.java324 if (!mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_MICROPHONE)) { in test_audioRecord_RoutingListener()
388 if (!mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_MICROPHONE)) { in test_audioRecord_preferredDevice()
525 if (!mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_MICROPHONE)) { in test_audioRecord_getRoutedDevice()
840 if (!mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_MICROPHONE) in test_mediaRecorder_preferredDevice()
876 if (!mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_MICROPHONE) in test_mediaRecorder_getRoutedDeviceId()
893 if (!mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_MICROPHONE) in test_mediaRecorder_RoutingListener()
DAudioRecordRoutingNative.java123 PackageManager.FEATURE_MICROPHONE); in hasMicrophone()
DAudioRecord_BufferSizeTest.java104 PackageManager.FEATURE_MICROPHONE); in hasMicrophone()
DAudioTestUtil.java50 PackageManager.FEATURE_MICROPHONE); in hasAudioInput()
DAudioRecordAppOpTest.java136 PackageManager.FEATURE_MICROPHONE); in hasMicrophone()
DAudioPreProcessingTest.java226 PackageManager.FEATURE_MICROPHONE); in hasMicrophone()
DAudioRecordSharedAudioTest.java274 PackageManager.FEATURE_MICROPHONE); in hasMicrophone()
DMediaSyncEventTest.java277 PackageManager.FEATURE_MICROPHONE); in hasMicrophone()
DAudioNativeTest.java386 PackageManager.FEATURE_MICROPHONE); in hasMicrophone()
DAudioRecordingConfigurationTest.java294 PackageManager.FEATURE_MICROPHONE); in hasMicrophone()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/
DAudioSystemFlags.java33 return context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_MICROPHONE); in claimsInput()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DFeatureUtil.java134 return hasSystemFeature(getPackageManager().FEATURE_MICROPHONE); in hasMicrophone()
/cts/tests/tests/soundtrigger/src/android/soundtrigger/cts/
DSoundTriggerManagerTest.java22 import static android.content.pm.PackageManager.FEATURE_MICROPHONE;
96 public RequiredFeatureRule REQUIRES_MIC_RULE = new RequiredFeatureRule(FEATURE_MICROPHONE);
/cts/tests/tests/telecom/src/android/telecom/cts/
DTelecomAvailabilityTest.java173 PackageManager.FEATURE_MICROPHONE) && mPackageManager.hasSystemFeature( in testTelecomFeatureAvailability()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/packages/
DCommonPackages.java118 public static final String FEATURE_MICROPHONE = "android.hardware.microphone"; field in CommonPackages
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DAudioRestrictionTest.java146 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_MICROPHONE)) { in testDisallowUnmuteMicrophone()
/cts/tests/tests/media/audio/modules/audiorecordpermissiontests/src/android/media/audio/cts/audiorecordpermissiontests/
DAudioRecordPermissionTests.java68 PackageManager.FEATURE_MICROPHONE)); in setup()
/cts/tests/tests/settings/src/android/settings/cts/
DAutoPrivacySettingsTest.java119 if (!pm.hasSystemFeature(PackageManager.FEATURE_MICROPHONE)) { in testPrivacyMicrophoneSettings()
/cts/tests/tests/virtualdevice/audio/src/android/virtualdevice/cts/audio/
DVirtualAudioPermissionTest.java101 mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_MICROPHONE)); in setUp()

12