Searched refs:hasMic (Results 1 – 7 of 7) sorted by relevance
526 public boolean hasMic() { in hasMic() method in UsbDescriptorParser527 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()
204 bool isExternal, bool hasMic, in initialize() argument213 mHasMic = hasMic; in initialize()
283 bool isExternal, bool hasMic, ui::LogicalDisplayId associatedDisplayId,295 inline bool hasMic() const { return mHasMic; } in hasMic() function
89 deviceInfo.hasVibrator(), deviceInfo.hasMic(), in android_view_InputDevice_create()
685 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()
78 inline bool hasMic() const { return mHasMic; } in hasMic() function
727 std::optional<bool> hasMic = configuration->getBool("audio.mic"); in deviceHasMicLocked() local728 if (hasMic.has_value()) { in deviceHasMicLocked()729 return hasMic.value(); in deviceHasMicLocked()