Home
last modified time | relevance | path

Searched refs:mLocalDevices (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecNetwork.java74 private final SparseArray<HdmiCecLocalDevice> mLocalDevices = new SparseArray<>(); field in HdmiCecNetwork
139 mLocalDevices.put(deviceType, device); in addLocalDevice()
150 return mLocalDevices.get(deviceType); in getLocalDevice()
161 return HdmiUtils.sparseArrayToList(mLocalDevices); in getLocalDeviceList()
167 for (int i = 0; i < mLocalDevices.size(); ++i) { in isAllocatedLocalDeviceAddress()
168 if (mLocalDevices.valueAt(i).isAddressOf(address)) { in isAllocatedLocalDeviceAddress()
178 mLocalDevices.clear(); in clearLocalDevices()
881 for (int i = 0; i < mLocalDevices.size(); i++) { in removeUnusedLocalDevices()
882 int deviceType = mLocalDevices.keyAt(i); in removeUnusedLocalDevices()
891 mLocalDevices.remove(deviceType); in removeUnusedLocalDevices()
[all …]
DHdmiMhlControllerStub.java32 private static final SparseArray<HdmiMhlLocalDeviceStub> mLocalDevices = new SparseArray<>(); field in HdmiMhlControllerStub
74 return mLocalDevices; in getAllLocalDevices()
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DActiveSourceActionTest.java58 private ArrayList<HdmiCecLocalDevice> mLocalDevices = new ArrayList<>(); field in ActiveSourceActionTest
107 mLocalDevices.add(playbackDevice); in playbackDevice_sendsActiveSource_sendsMenuStatus()
108 mHdmiControlService.allocateLogicalAddress(mLocalDevices, INITIATED_BY_ENABLE_CEC); in playbackDevice_sendsActiveSource_sendsMenuStatus()
134 mLocalDevices.add(playbackDevice); in playbackDevice_updatesActiveSourceState()
135 mHdmiControlService.allocateLogicalAddress(mLocalDevices, INITIATED_BY_ENABLE_CEC); in playbackDevice_updatesActiveSourceState()
DArcInitiationActionFromAvrTest.java58 private ArrayList<HdmiCecLocalDevice> mLocalDevices = new ArrayList<>(); field in ArcInitiationActionFromAvrTest
117 mLocalDevices.add(mHdmiCecLocalDeviceAudioSystem); in setUp()
119 hdmiControlService.allocateLogicalAddress(mLocalDevices, INITIATED_BY_ENABLE_CEC); in setUp()
DArcTerminationActionFromAvrTest.java63 private ArrayList<HdmiCecLocalDevice> mLocalDevices = new ArrayList<>(); field in ArcTerminationActionFromAvrTest
124 mLocalDevices.add(mHdmiCecLocalDeviceAudioSystem); in setUp()
126 hdmiControlService.allocateLogicalAddress(mLocalDevices, INITIATED_BY_ENABLE_CEC); in setUp()
DHdmiControlServiceTest.java106 private ArrayList<HdmiCecLocalDevice> mLocalDevices = new ArrayList<>(); field in HdmiControlServiceTest
151 mLocalDevices.add(mAudioSystemDeviceSpy); in setUp()
152 mLocalDevices.add(mPlaybackDeviceSpy); in setUp()
194 mHdmiControlServiceSpy.allocateLogicalAddress(mLocalDevices, INITIATED_BY_ENABLE_CEC); in setUp()
227 mLocalDevices.remove(mAudioSystemDeviceSpy); in playbackOnlyDevice_onStandbyCompleted_disableCecController()
229 mHdmiControlServiceSpy.allocateLogicalAddress(mLocalDevices, INITIATED_BY_ENABLE_CEC); in playbackOnlyDevice_onStandbyCompleted_disableCecController()
667 mHdmiControlServiceSpy.allocateLogicalAddress(mLocalDevices, INITIATED_BY_ENABLE_CEC); in handleGiveFeatures_cec20_reportsFeatures()
689 mHdmiControlServiceSpy.allocateLogicalAddress(mLocalDevices, INITIATED_BY_ENABLE_CEC); in initializeCec_14_doesNotBroadcastReportFeatures()
706 mHdmiControlServiceSpy.allocateLogicalAddress(mLocalDevices, INITIATED_BY_ENABLE_CEC); in initializeCec_20_reportsFeaturesBroadcast()
817 mHdmiControlServiceSpy.allocateLogicalAddress(mLocalDevices, INITIATED_BY_ENABLE_CEC); in initCec_statusListener_CecEnabled_CecAvailable_TvOn()
[all …]
DBaseAbsoluteVolumeBehaviorTest.java86 private ArrayList<HdmiCecLocalDevice> mLocalDevices = new ArrayList<>(); field in BaseAbsoluteVolumeBehaviorTest
179 mLocalDevices.add(mHdmiCecLocalDevice); in setUp()
191 mHdmiControlService.allocateLogicalAddress(mLocalDevices, INITIATED_BY_BOOT_UP); in setUp()
DHdmiCecLocalDeviceTest.java119 private ArrayList<HdmiCecLocalDevice> mLocalDevices = new ArrayList<>(); field in HdmiCecLocalDeviceTest
190 mLocalDevices.add(mHdmiLocalDevice); in SetUp()
202 mHdmiControlService.allocateLogicalAddress(mLocalDevices, INITIATED_BY_ENABLE_CEC); in SetUp()
DHdmiCecLocalDevicePlaybackTest.java89 private ArrayList<HdmiCecLocalDevice> mLocalDevices = new ArrayList<>(); field in HdmiCecLocalDevicePlaybackTest
187 mLocalDevices.add(mHdmiCecLocalDevicePlayback); in setUp()
193 mHdmiControlService.allocateLogicalAddress(mLocalDevices, INITIATED_BY_BOOT_UP); in setUp()
420 mHdmiControlService.allocateLogicalAddress(mLocalDevices, INITIATED_BY_ENABLE_CEC); in handleRoutingChange_toSwitchInActivePath_noStandby()
1581 mLocalDevices.add(audioSystem); in sendVolumeKeyEvent_toLocalDevice_discardMessage()
1582 mHdmiControlService.allocateLogicalAddress(mLocalDevices, INITIATED_BY_ENABLE_CEC); in sendVolumeKeyEvent_toLocalDevice_discardMessage()
1866 mHdmiControlService.allocateLogicalAddress(mLocalDevices, INITIATED_BY_ENABLE_CEC); in onAddressAllocated_invokesDeviceDiscovery()
1909 mHdmiControlService.allocateLogicalAddress(mLocalDevices, INITIATED_BY_ENABLE_CEC); in hotplugDetectionAction_addDevice()
1931 mHdmiControlService.allocateLogicalAddress(mLocalDevices, INITIATED_BY_ENABLE_CEC); in hotplugDetectionAction_removeDevice()
2129 mHdmiControlService.allocateLogicalAddress(mLocalDevices, INITIATED_BY_ENABLE_CEC); in shouldHandleTvPowerKey_CecDisabled()
[all …]
DHdmiCecLocalDeviceAudioSystemTest.java75 private ArrayList<HdmiCecLocalDevice> mLocalDevices = new ArrayList<>(); field in HdmiCecLocalDeviceAudioSystemTest
148 mLocalDevices.add(mHdmiCecLocalDeviceAudioSystem); in setUp()
149 mLocalDevices.add(mHdmiCecLocalDevicePlayback); in setUp()
182 mHdmiControlService.allocateLogicalAddress(mLocalDevices, INITIATED_BY_ENABLE_CEC); in setUp()
DOneTouchPlayActionTest.java83 private ArrayList<HdmiCecLocalDevice> mLocalDevices = new ArrayList<>(); field in OneTouchPlayActionTest
561 mLocalDevices.add(playbackDevice); in pendingActionDoesNotBlockSendingStandby_Cec14b()
565 mHdmiControlService.allocateLogicalAddress(mLocalDevices, INITIATED_BY_ENABLE_CEC); in pendingActionDoesNotBlockSendingStandby_Cec14b()
DHdmiCecLocalDeviceTvTest.java106 private ArrayList<HdmiCecLocalDevice> mLocalDevices = new ArrayList<>(); field in HdmiCecLocalDeviceTvTest
235 mLocalDevices.add(mHdmiCecLocalDeviceTv); in setUp()
322 mHdmiControlService.allocateLogicalAddress(mLocalDevices, INITIATED_BY_ENABLE_CEC); in onAddressAllocated_invokesDeviceDiscovery()
2005 mHdmiControlService.allocateLogicalAddress(mLocalDevices, INITIATED_BY_WAKE_UP_MESSAGE); in initiateCecByWakeupMessage_selectInternalSource_doesNotBroadcastActiveSource()
2017 mHdmiControlService.allocateLogicalAddress(mLocalDevices, INITIATED_BY_ENABLE_CEC); in handleStandby_fromActiveSource_standby()
2036 mHdmiControlService.allocateLogicalAddress(mLocalDevices, INITIATED_BY_ENABLE_CEC); in handleStandby_fromNonActiveSource_noStandby()