Home
last modified time | relevance | path

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

/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
DUsbDescriptorParser.java526 public boolean hasMic() { in hasMic() method in UsbDescriptorParser
527 boolean hasMic = false; in hasMic()
539 hasMic = true; in hasMic()
547 return hasMic; in hasMic()
917 boolean hasMic = hasMic(); in getInputHeadsetProbability()
922 if (hasMic && hasSpeaker) { in getInputHeadsetProbability()
926 if (hasMic && hasHIDInterface()) { in getInputHeadsetProbability()
/frameworks/native/libs/input/
DInputDevice.cpp204 bool isExternal, bool hasMic, in initialize() argument
213 mHasMic = hasMic; in initialize()
/frameworks/native/include/input/
DInputDevice.h283 bool isExternal, bool hasMic, ui::LogicalDisplayId associatedDisplayId,
295 inline bool hasMic() const { return mHasMic; } in hasMic() function
/frameworks/base/core/jni/
Dandroid_view_InputDevice.cpp89 deviceInfo.hasVibrator(), deviceInfo.hasMic(), in android_view_InputDevice_create()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java685 boolean hasMic = intent.getIntExtra("microphone", 0) != 0; in updateHeadsetPlug()
687 String contentDescription = mResources.getString(hasMic in updateHeadsetPlug()
690 mIconController.setIcon(mSlotHeadset, hasMic ? R.drawable.stat_sys_headset_mic in updateHeadsetPlug()
/frameworks/native/services/inputflinger/reader/include/
DInputDevice.h78 inline bool hasMic() const { return mHasMic; } in hasMic() function
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp727 std::optional<bool> hasMic = configuration->getBool("audio.mic"); in deviceHasMicLocked() local
728 if (hasMic.has_value()) { in deviceHasMicLocked()
729 return hasMic.value(); in deviceHasMicLocked()