Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DActiveSourceActionTest.java59 private ArrayList<HdmiCecLocalDevice> mLocalDevices = new ArrayList<>(); field in ActiveSourceActionTest
128 mLocalDevices.add(playbackDevice); in playbackDevice_sendsActiveSource_sendsMenuStatus()
129 mHdmiControlService.allocateLogicalAddress(mLocalDevices, INITIATED_BY_ENABLE_CEC); in playbackDevice_sendsActiveSource_sendsMenuStatus()
151 mLocalDevices.add(audioDevice); in audioDevice_sendsActiveSource_noMenuStatus()
152 mHdmiControlService.allocateLogicalAddress(mLocalDevices, INITIATED_BY_ENABLE_CEC); in audioDevice_sendsActiveSource_noMenuStatus()
DHdmiControlServiceBinderAPITest.java107 private ArrayList<HdmiCecLocalDevice> mLocalDevices = new ArrayList<>(); field in HdmiControlServiceBinderAPITest
167 mLocalDevices.add(mPlaybackDevice); in SetUp()
191 mHdmiControlService.allocateLogicalAddress(mLocalDevices, INITIATED_BY_ENABLE_CEC); in oneTouchPlay_addressNotAllocated()
200 mHdmiControlService.allocateLogicalAddress(mLocalDevices, INITIATED_BY_ENABLE_CEC); in oneTouchPlay_addressAllocated()
DArcInitiationActionFromAvrTest.java58 private ArrayList<HdmiCecLocalDevice> mLocalDevices = new ArrayList<>(); field in ArcInitiationActionFromAvrTest
146 mLocalDevices.add(mHdmiCecLocalDeviceAudioSystem); in setUp()
147 mHdmiControlService.allocateLogicalAddress(mLocalDevices, INITIATED_BY_ENABLE_CEC); in setUp()
DHdmiCecLocalDeviceTvTest.java57 private ArrayList<HdmiCecLocalDevice> mLocalDevices = new ArrayList<>(); field in HdmiCecLocalDeviceTvTest
105 mLocalDevices.add(mHdmiCecLocalDeviceTv); in setUp()
107 mHdmiControlService.allocateLogicalAddress(mLocalDevices, INITIATED_BY_ENABLE_CEC); in setUp()
DHdmiControlServiceTest.java123 private ArrayList<HdmiCecLocalDevice> mLocalDevices = new ArrayList<>(); field in HdmiControlServiceTest
164 mLocalDevices.add(mMyAudioSystemDevice); in setUp()
165 mLocalDevices.add(mMyPlaybackDevice); in setUp()
177 mHdmiControlService.allocateLogicalAddress(mLocalDevices, INITIATED_BY_ENABLE_CEC); in setUp()
DHdmiCecLocalDevicePlaybackTest.java57 private ArrayList<HdmiCecLocalDevice> mLocalDevices = new ArrayList<>(); field in HdmiCecLocalDevicePlaybackTest
120 mLocalDevices.add(mHdmiCecLocalDevicePlayback); in setUp()
122 mHdmiControlService.allocateLogicalAddress(mLocalDevices, INITIATED_BY_ENABLE_CEC); in setUp()
DHdmiCecLocalDeviceAudioSystemTest.java68 private ArrayList<HdmiCecLocalDevice> mLocalDevices = new ArrayList<>(); field in HdmiCecLocalDeviceAudioSystemTest
197 mLocalDevices.add(mHdmiCecLocalDeviceAudioSystem); in setUp()
198 mLocalDevices.add(mHdmiCecLocalDevicePlayback); in setUp()
216 mHdmiControlService.allocateLogicalAddress(mLocalDevices, INITIATED_BY_ENABLE_CEC); in setUp()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecController.java120 private final SparseArray<HdmiCecLocalDevice> mLocalDevices = new SparseArray<>(); field in HdmiCecController
180 mLocalDevices.put(deviceType, device); in addLocalDevice()
281 return mLocalDevices.get(deviceType); in getLocalDevice()
312 for (int i = 0; i < mLocalDevices.size(); ++i) { in clearLogicalAddress()
313 mLocalDevices.valueAt(i).clearAddress(); in clearLogicalAddress()
321 mLocalDevices.clear(); in clearLocalDevices()
441 return HdmiUtils.sparseArrayToList(mLocalDevices); in getLocalDeviceList()
482 for (int i = 0; i < mLocalDevices.size(); ++i) { in isAllocatedLocalDeviceAddress()
483 if (mLocalDevices.valueAt(i).isAddressOf(address)) { in isAllocatedLocalDeviceAddress()
702 for (int i = 0; i < mLocalDevices.size(); ++i) { in dump()
[all …]
DHdmiMhlControllerStub.java32 private static final SparseArray<HdmiMhlLocalDeviceStub> mLocalDevices = new SparseArray<>(); field in HdmiMhlControllerStub
74 return mLocalDevices; in getAllLocalDevices()
DHdmiControlService.java266 private final List<Integer> mLocalDevices; field in HdmiControlService
484 mLocalDevices = deviceTypes; in HdmiControlService()
701 for (int type : mLocalDevices) { in onChange()
791 for (int type : mLocalDevices) { in initializeLocalDevices()
1209 for (int type : mLocalDevices) { in onHotplug()
1586 int[] localDevices = new int[mLocalDevices.size()]; in getSupportedTypes()
1588 localDevices[i] = mLocalDevices.get(i); in getSupportedTypes()
2752 return mLocalDevices.contains(HdmiDeviceInfo.DEVICE_TV); in isTvDevice()
2756 return mLocalDevices.contains(HdmiDeviceInfo.DEVICE_AUDIO_SYSTEM); in isAudioSystemDevice()
2760 return mLocalDevices.contains(HdmiDeviceInfo.DEVICE_PLAYBACK); in isPlaybackDevice()