/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/voiceinteraction/ |
D | HotwordMetricsTestUtils.java | 38 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/ |
D | HotwordDetectionServicePermissionTest.java | 21 import static android.content.pm.PackageManager.FEATURE_MICROPHONE; 77 public RequiredFeatureRule REQUIRES_MIC_RULE = new RequiredFeatureRule(FEATURE_MICROPHONE);
|
D | AlwaysOnHotwordDetectorNoDspTest.java | 23 import static android.content.pm.PackageManager.FEATURE_MICROPHONE; 105 public RequiredFeatureRule REQUIRES_MIC_RULE = new RequiredFeatureRule(FEATURE_MICROPHONE);
|
D | AlwaysOnHotwordDetectorNoHdsTest.java | 22 import static android.content.pm.PackageManager.FEATURE_MICROPHONE; 105 public RequiredFeatureRule REQUIRES_MIC_RULE = new RequiredFeatureRule(FEATURE_MICROPHONE);
|
D | HotwordDetectionServiceStressTest.java | 22 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/ |
D | EnumDevicesTest.java | 91 if (pkgMgr.hasSystemFeature(PackageManager.FEATURE_MICROPHONE)) { in test_getDevices() 107 mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_MICROPHONE)) { in test_getDevices()
|
D | RoutingTest.java | 324 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()
|
D | AudioRecordRoutingNative.java | 123 PackageManager.FEATURE_MICROPHONE); in hasMicrophone()
|
D | AudioRecord_BufferSizeTest.java | 104 PackageManager.FEATURE_MICROPHONE); in hasMicrophone()
|
D | AudioTestUtil.java | 50 PackageManager.FEATURE_MICROPHONE); in hasAudioInput()
|
D | AudioRecordAppOpTest.java | 136 PackageManager.FEATURE_MICROPHONE); in hasMicrophone()
|
D | AudioPreProcessingTest.java | 226 PackageManager.FEATURE_MICROPHONE); in hasMicrophone()
|
D | AudioRecordSharedAudioTest.java | 274 PackageManager.FEATURE_MICROPHONE); in hasMicrophone()
|
D | MediaSyncEventTest.java | 277 PackageManager.FEATURE_MICROPHONE); in hasMicrophone()
|
D | AudioNativeTest.java | 386 PackageManager.FEATURE_MICROPHONE); in hasMicrophone()
|
D | AudioRecordingConfigurationTest.java | 294 PackageManager.FEATURE_MICROPHONE); in hasMicrophone()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/ |
D | AudioSystemFlags.java | 33 return context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_MICROPHONE); in claimsInput()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | FeatureUtil.java | 134 return hasSystemFeature(getPackageManager().FEATURE_MICROPHONE); in hasMicrophone()
|
/cts/tests/tests/soundtrigger/src/android/soundtrigger/cts/ |
D | SoundTriggerManagerTest.java | 22 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/ |
D | TelecomAvailabilityTest.java | 173 PackageManager.FEATURE_MICROPHONE) && mPackageManager.hasSystemFeature( in testTelecomFeatureAvailability()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/packages/ |
D | CommonPackages.java | 118 public static final String FEATURE_MICROPHONE = "android.hardware.microphone"; field in CommonPackages
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | AudioRestrictionTest.java | 146 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_MICROPHONE)) { in testDisallowUnmuteMicrophone()
|
/cts/tests/tests/media/audio/modules/audiorecordpermissiontests/src/android/media/audio/cts/audiorecordpermissiontests/ |
D | AudioRecordPermissionTests.java | 68 PackageManager.FEATURE_MICROPHONE)); in setup()
|
/cts/tests/tests/settings/src/android/settings/cts/ |
D | AutoPrivacySettingsTest.java | 119 if (!pm.hasSystemFeature(PackageManager.FEATURE_MICROPHONE)) { in testPrivacyMicrophoneSettings()
|
/cts/tests/tests/virtualdevice/audio/src/android/virtualdevice/cts/audio/ |
D | VirtualAudioPermissionTest.java | 101 mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_MICROPHONE)); in setUp()
|