Home
last modified time | relevance | path

Searched refs:activeSource (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/hdmi/
DNewDeviceAction.java213 boolean isActionOf(ActiveSource activeSource) { in isActionOf() argument
214 return (mDeviceLogicalAddress == activeSource.logicalAddress) in isActionOf()
215 && (mDevicePhysicalAddress == activeSource.physicalAddress); in isActionOf()
DHdmiCecLocalDeviceTv.java316 HdmiCecMessage activeSource = HdmiCecMessageBuilder.buildActiveSource( in handleSelectInternalSource() local
318 mService.sendCecCommand(activeSource); in handleSelectInternalSource()
379 ActiveSource activeSource = getActiveSource(); in updateActiveInput() local
380 HdmiDeviceInfo info = getCecDeviceInfo(activeSource.logicalAddress); in updateActiveInput()
481 ActiveSource activeSource = ActiveSource.of(logicalAddress, physicalAddress); in handleActiveSource() local
482 ActiveSourceHandler.create(this, null).process(activeSource, info.getDeviceType()); in handleActiveSource()
623 void startNewDeviceAction(ActiveSource activeSource, int deviceType) { in startNewDeviceAction() argument
633 if (action.isActionOf(activeSource)) { in startNewDeviceAction()
638 addAndStartAction(new NewDeviceAction(this, activeSource.logicalAddress, in startNewDeviceAction()
639 activeSource.physicalAddress, deviceType)); in startNewDeviceAction()
DHdmiControlService.java1231 ActiveSource activeSource = tv.getActiveSource(); in getActiveSource() local
1232 if (activeSource.isValid()) { in getActiveSource()
1233 return new HdmiDeviceInfo(activeSource.logicalAddress, in getActiveSource()
1234 activeSource.physicalAddress, HdmiDeviceInfo.PORT_INVALID, in getActiveSource()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp1842 audio_source_t activeSource = activeDesc->inputSource(true); in startInput() local
1844 if (activeSource == AUDIO_SOURCE_HOTWORD) { in startInput()
1857 if (activeSource != AUDIO_SOURCE_HOTWORD) { in startInput()
1873 audio_source_t activeSource = activeDesc->inputSource(true); in startInput() local
1874 if (activeSource == AUDIO_SOURCE_HOTWORD) { in startInput()