/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/ |
D | HdmiControlServiceTvTest.java | 52 private HdmiControlService mHdmiControlService; field in HdmiControlServiceTvTest 68 mHdmiControlService = in setUp() 80 mHdmiControlService.setIoLooper(mMyLooper); in setUp() 81 mHdmiControlService.setHdmiCecConfig(new FakeHdmiCecConfig(context)); in setUp() 82 mHdmiControlService.setDeviceConfig(new FakeDeviceConfigWrapper()); in setUp() 83 mHdmiControlService.onBootPhase(PHASE_SYSTEM_SERVICES_READY); in setUp() 87 mHdmiControlService, mNativeWrapper, mHdmiControlService.getAtomWriter()); in setUp() 88 mHdmiControlService.setCecController(mHdmiCecController); in setUp() 91 mHdmiControlService, mEarcNativeWrapper); in setUp() 92 mHdmiControlService.setEarcController(mHdmiEarcController); in setUp() [all …]
|
D | ActiveSourceActionTest.java | 53 private HdmiControlService mHdmiControlService; field in ActiveSourceActionTest 66 mHdmiControlService = new HdmiControlService(mContextSpy, Collections.emptyList(), in setUp() 85 mHdmiControlService.setIoLooper(looper); in setUp() 86 mHdmiControlService.setHdmiCecConfig(new FakeHdmiCecConfig(mContextSpy)); in setUp() 87 mHdmiControlService.setDeviceConfig(new FakeDeviceConfigWrapper()); in setUp() 92 this.mHdmiControlService, mNativeWrapper, mHdmiControlService.getAtomWriter()); in setUp() 93 mHdmiControlService.setCecController(hdmiCecController); in setUp() 94 mHdmiControlService.setHdmiMhlController(HdmiMhlControllerStub.create(mHdmiControlService)); in setUp() 95 mHdmiControlService.initService(); in setUp() 96 mHdmiControlService.onBootPhase(PHASE_SYSTEM_SERVICES_READY); in setUp() [all …]
|
D | SystemAudioAutoInitiationActionTest.java | 57 private HdmiControlService mHdmiControlService; field in SystemAudioAutoInitiationActionTest 74 mHdmiControlService = new HdmiControlService(mContextSpy, in setUp() 93 mHdmiControlService.setIoLooper(myLooper); in setUp() 98 mHdmiControlService, mNativeWrapper, mHdmiControlService.getAtomWriter()); in setUp() 99 mHdmiControlService.setDeviceConfig(new FakeDeviceConfigWrapper()); in setUp() 100 mHdmiControlService.setCecController(hdmiCecController); in setUp() 101 mHdmiControlService.setHdmiMhlController(HdmiMhlControllerStub.create(mHdmiControlService)); in setUp() 116 mHdmiControlService.initService(); in setUp() 117 mHdmiControlService.onBootPhase(PHASE_SYSTEM_SERVICES_READY); in setUp() 119 mHdmiControlService.setPowerManager(mPowerManager); in setUp() [all …]
|
D | ResendCecCommandActionTvTest.java | 49 private HdmiControlService mHdmiControlService; field in ResendCecCommandActionTvTest 62 mHdmiControlService = new HdmiControlService(context, in setUp() 88 mHdmiControlService.setIoLooper(mMyLooper); in setUp() 89 mHdmiControlService.setHdmiCecConfig(new FakeHdmiCecConfig(context)); in setUp() 90 mHdmiControlService.setDeviceConfig(new FakeDeviceConfigWrapper()); in setUp() 95 this.mHdmiControlService, mNativeWrapper, mHdmiControlService.getAtomWriter()); in setUp() 96 mHdmiControlService.setCecController(hdmiCecController); in setUp() 97 mHdmiControlService.setHdmiMhlController(HdmiMhlControllerStub.create(mHdmiControlService)); in setUp() 98 mHdmiControlService.initService(); in setUp() 99 mHdmiControlService.onBootPhase(PHASE_SYSTEM_SERVICES_READY); in setUp() [all …]
|
D | HdmiCecPowerStatusControllerTest.java | 61 private HdmiControlService mHdmiControlService; field in HdmiCecPowerStatusControllerTest 71 mHdmiControlService = new HdmiControlService(contextSpy, in setUp() 99 mHdmiControlService.onBootPhase(SystemService.PHASE_SYSTEM_SERVICES_READY); in setUp() 101 mHdmiControlService.setIoLooper(myLooper); in setUp() 102 mHdmiControlService.setHdmiCecConfig(new FakeHdmiCecConfig(contextSpy)); in setUp() 103 mHdmiControlService.setDeviceConfig(new FakeDeviceConfigWrapper()); in setUp() 106 mHdmiControlService, mNativeWrapper, mHdmiControlService.getAtomWriter()); in setUp() 107 mHdmiControlService.setCecController(hdmiCecController); in setUp() 108 mHdmiControlService.setHdmiMhlController(HdmiMhlControllerStub.create(mHdmiControlService)); in setUp() 119 mHdmiControlService.initService(); in setUp() [all …]
|
D | HdmiCecLocalDeviceAudioSystemTest.java | 65 private HdmiControlService mHdmiControlService; field in HdmiCecLocalDeviceAudioSystemTest 95 mHdmiControlService = in setUp() 126 mHdmiControlService.getHdmiCecConfig().setIntValue( in setUp() 130 mHdmiControlService.setHdmiCecConfig(new FakeHdmiCecConfig(context)); in setUp() 131 mHdmiControlService.setDeviceConfig(new FakeDeviceConfigWrapper()); in setUp() 132 mHdmiCecLocalDeviceAudioSystem = new HdmiCecLocalDeviceAudioSystem(mHdmiControlService); in setUp() 133 mHdmiCecLocalDevicePlayback = new HdmiCecLocalDevicePlayback(mHdmiControlService) { in setUp() 141 mHdmiControlService.setIoLooper(mMyLooper); in setUp() 145 mHdmiControlService, mNativeWrapper, mHdmiControlService.getAtomWriter()); in setUp() 146 mHdmiControlService.setCecController(mHdmiCecController); in setUp() [all …]
|
D | DeviceSelectActionFromPlaybackTest.java | 83 private HdmiControlService mHdmiControlService; field in DeviceSelectActionFromPlaybackTest 104 mHdmiControlService = in setUp() 136 mHdmiControlService.setIoLooper(mMyLooper); in setUp() 137 mHdmiControlService.setHdmiCecConfig(new FakeHdmiCecConfig(context)); in setUp() 138 mHdmiControlService.setDeviceConfig(new FakeDeviceConfigWrapper()); in setUp() 142 mHdmiControlService, mNativeWrapper, mHdmiControlService.getAtomWriter()); in setUp() 143 mHdmiControlService.setCecController(mHdmiCecController); in setUp() 144 mHdmiMhlControllerStub = HdmiMhlControllerStub.create(mHdmiControlService); in setUp() 145 mHdmiControlService.setHdmiMhlController(mHdmiMhlControllerStub); in setUp() 146 mHdmiControlService.setCecController(mHdmiCecController); in setUp() [all …]
|
D | HdmiCecLocalDeviceTvTest.java | 97 private HdmiControlService mHdmiControlService; field in HdmiCecLocalDeviceTvTest 142 mHdmiControlService = in setUp() 197 mHdmiControlService.setIoLooper(mMyLooper); in setUp() 198 mHdmiControlService.setHdmiCecConfig(new FakeHdmiCecConfig(context)); in setUp() 199 mHdmiControlService.setDeviceConfig(new FakeDeviceConfigWrapper()); in setUp() 202 mHdmiControlService, mNativeWrapper, mHdmiControlService.getAtomWriter()); in setUp() 203 mHdmiControlService.setCecController(mHdmiCecController); in setUp() 206 mHdmiControlService, mEarcNativeWrapper); in setUp() 207 mHdmiControlService.setEarcController(mHdmiEarcController); in setUp() 208 mHdmiControlService.setHdmiMhlController(HdmiMhlControllerStub.create(mHdmiControlService)); in setUp() [all …]
|
D | OneTouchPlayActionTest.java | 76 private HdmiControlService mHdmiControlService; field in OneTouchPlayActionTest 97 mHdmiControlService = new HdmiControlService(mContextSpy, in setUp() 117 mHdmiControlService.setIoLooper(looper); in setUp() 118 mHdmiControlService.setHdmiCecConfig(mHdmiCecConfig); in setUp() 124 this.mHdmiControlService, mNativeWrapper, mHdmiControlService.getAtomWriter()); in setUp() 125 mHdmiControlService.setDeviceConfig(new FakeDeviceConfigWrapper()); in setUp() 126 mHdmiControlService.setCecController(mHdmiCecController); in setUp() 127 mHdmiControlService.setHdmiMhlController(HdmiMhlControllerStub.create(mHdmiControlService)); in setUp() 128 mHdmiControlService.initService(); in setUp() 129 mHdmiControlService.onBootPhase(PHASE_SYSTEM_SERVICES_READY); in setUp() [all …]
|
D | ResendCecCommandActionPlaybackTest.java | 50 private HdmiControlService mHdmiControlService; field in ResendCecCommandActionPlaybackTest 64 mHdmiControlService = new HdmiControlService(context, in setUp() 86 mHdmiControlService.setIoLooper(mMyLooper); in setUp() 87 mHdmiControlService.setHdmiCecConfig(new FakeHdmiCecConfig(context)); in setUp() 88 mHdmiControlService.setDeviceConfig(new FakeDeviceConfigWrapper()); in setUp() 93 this.mHdmiControlService, mNativeWrapper, mHdmiControlService.getAtomWriter()); in setUp() 94 mHdmiControlService.setCecController(hdmiCecController); in setUp() 95 mHdmiControlService.setHdmiMhlController(HdmiMhlControllerStub.create(mHdmiControlService)); in setUp() 96 mHdmiControlService.initService(); in setUp() 97 mHdmiControlService.onBootPhase(PHASE_SYSTEM_SERVICES_READY); in setUp() [all …]
|
D | PowerStatusMonitorActionTest.java | 57 private HdmiControlService mHdmiControlService; field in PowerStatusMonitorActionTest 71 mHdmiControlService = new HdmiControlService(mContextSpy, in setUp() 91 mHdmiControlService.setIoLooper(looper); in setUp() 92 mHdmiControlService.setHdmiCecConfig(new FakeHdmiCecConfig(mContextSpy)); in setUp() 93 mHdmiControlService.setDeviceConfig(new FakeDeviceConfigWrapper()); in setUp() 96 this.mHdmiControlService, mNativeWrapper, mHdmiControlService.getAtomWriter()); in setUp() 97 mHdmiControlService.setCecController(hdmiCecController); in setUp() 98 mHdmiControlService.setHdmiMhlController(HdmiMhlControllerStub.create(mHdmiControlService)); in setUp() 116 mHdmiControlService.initService(); in setUp() 117 mHdmiControlService.onBootPhase(PHASE_SYSTEM_SERVICES_READY); in setUp() [all …]
|
D | RoutingControlActionTest.java | 131 private HdmiControlService mHdmiControlService; field in RoutingControlActionTest 153 mHdmiControlService = in setUp() 189 mHdmiControlService.setIoLooper(mMyLooper); in setUp() 193 mHdmiControlService, mNativeWrapper, mHdmiControlService.getAtomWriter()); in setUp() 194 mHdmiControlService.setDeviceConfig(new FakeDeviceConfigWrapper()); in setUp() 195 mHdmiControlService.setCecController(mHdmiCecController); in setUp() 196 mHdmiControlService.setHdmiMhlController(HdmiMhlControllerStub.create(mHdmiControlService)); in setUp() 205 mHdmiControlService.initService(); in setUp() 206 mHdmiControlService.onBootPhase(PHASE_SYSTEM_SERVICES_READY); in setUp() 208 mHdmiControlService.setPowerManager(mPowerManager); in setUp() [all …]
|
D | DevicePowerStatusActionTest.java | 61 private HdmiControlService mHdmiControlService; field in DevicePowerStatusActionTest 82 mHdmiControlService = new HdmiControlService(mContextSpy, in setUp() 103 mHdmiControlService.setIoLooper(looper); in setUp() 104 mHdmiControlService.setHdmiCecConfig(new FakeHdmiCecConfig(mContextSpy)); in setUp() 105 mHdmiControlService.setDeviceConfig(new FakeDeviceConfigWrapper()); in setUp() 110 this.mHdmiControlService, mNativeWrapper, mHdmiControlService.getAtomWriter()); in setUp() 111 mHdmiControlService.setCecController(hdmiCecController); in setUp() 112 mHdmiControlService.setHdmiMhlController(HdmiMhlControllerStub.create(mHdmiControlService)); in setUp() 113 mHdmiControlService.initService(); in setUp() 114 mHdmiControlService.onBootPhase(PHASE_SYSTEM_SERVICES_READY); in setUp() [all …]
|
D | HdmiEarcLocalDeviceTxTest.java | 66 private HdmiControlService mHdmiControlService; field in HdmiEarcLocalDeviceTxTest 95 mHdmiControlService = in setUp() 120 mHdmiControlService.setIoLooper(mMyLooper); in setUp() 121 mHdmiControlService.setHdmiCecConfig(new FakeHdmiCecConfig(context)); in setUp() 122 mHdmiControlService.setDeviceConfig(new FakeDeviceConfigWrapper()); in setUp() 125 mHdmiControlService, mNativeWrapper, mHdmiControlService.getAtomWriter()); in setUp() 126 mHdmiControlService.setCecController(mHdmiCecController); in setUp() 129 mHdmiControlService, mEarcNativeWrapper); in setUp() 130 mHdmiControlService.setEarcController(mHdmiEarcController); in setUp() 131 mHdmiControlService.setHdmiMhlController(HdmiMhlControllerStub.create(mHdmiControlService)); in setUp() [all …]
|
D | DeviceSelectActionFromTvTest.java | 98 private HdmiControlService mHdmiControlService; field in DeviceSelectActionFromTvTest 113 mHdmiControlService = in setUp() 145 mHdmiControlService.setIoLooper(mMyLooper); in setUp() 146 mHdmiControlService.setHdmiCecConfig(new FakeHdmiCecConfig(context)); in setUp() 147 mHdmiControlService.setDeviceConfig(new FakeDeviceConfigWrapper()); in setUp() 151 mHdmiControlService, mNativeWrapper, mHdmiControlService.getAtomWriter()); in setUp() 152 mHdmiControlService.setCecController(mHdmiCecController); in setUp() 153 mHdmiControlService.setHdmiMhlController(HdmiMhlControllerStub.create(mHdmiControlService)); in setUp() 168 mHdmiControlService.initService(); in setUp() 169 mHdmiControlService.onBootPhase(PHASE_SYSTEM_SERVICES_READY); in setUp() [all …]
|
D | HdmiCecLocalDevicePlaybackTest.java | 82 private HdmiControlService mHdmiControlService; field in HdmiCecLocalDevicePlaybackTest 107 mHdmiControlService = in setUp() 150 mHdmiControlService.setHdmiCecConfig(new FakeHdmiCecConfig(context)); in setUp() 151 mHdmiControlService.setDeviceConfig(new FakeDeviceConfigWrapper()); in setUp() 152 mHdmiControlService.setIoLooper(mMyLooper); in setUp() 155 mHdmiControlService, mNativeWrapper, mHdmiControlService.getAtomWriter()); in setUp() 156 mHdmiControlService.setCecController(mHdmiCecController); in setUp() 157 mHdmiControlService.setHdmiMhlController(HdmiMhlControllerStub.create(mHdmiControlService)); in setUp() 158 mHdmiCecLocalDevicePlayback = new HdmiCecLocalDevicePlayback(mHdmiControlService) { in setUp() 181 mHdmiControlService.initService(); in setUp() [all …]
|
D | BaseAbsoluteVolumeBehaviorTest.java | 79 protected HdmiControlService mHdmiControlService; field in BaseAbsoluteVolumeBehaviorTest 136 mHdmiControlService = in setUp() 152 mHdmiControlService.setIoLooper(mLooper); in setUp() 161 mHdmiControlService.setHdmiCecConfig(mHdmiCecConfig); in setUp() 162 mHdmiControlService.setDeviceConfig(new FakeDeviceConfigWrapper()); in setUp() 169 mHdmiControlService, mNativeWrapper, mHdmiControlService.getAtomWriter()); in setUp() 170 mHdmiControlService.setCecController(mHdmiCecController); in setUp() 171 mHdmiControlService.setHdmiMhlController( in setUp() 172 HdmiMhlControllerStub.create(mHdmiControlService)); in setUp() 173 mHdmiControlService.initService(); in setUp() [all …]
|
D | HdmiCecLocalDeviceTest.java | 117 private HdmiControlService mHdmiControlService; field in HdmiCecLocalDeviceTest 140 mHdmiControlService = in SetUp() 180 mHdmiControlService.setIoLooper(mTestLooper.getLooper()); in SetUp() 181 mHdmiControlService.setHdmiCecConfig(new FakeHdmiCecConfig(context)); in SetUp() 182 mHdmiControlService.setDeviceConfig(new FakeDeviceConfigWrapper()); in SetUp() 186 mHdmiControlService, mNativeWrapper, mHdmiControlService.getAtomWriter()); in SetUp() 187 mHdmiControlService.setCecController(mHdmiCecController); in SetUp() 188 mHdmiLocalDevice = new MyHdmiCecLocalDevice(mHdmiControlService, DEVICE_TV); in SetUp() 200 mHdmiControlService.initService(); in SetUp() 201 mHdmiControlService.onBootPhase(PHASE_SYSTEM_SERVICES_READY); in SetUp() [all …]
|
D | RequestSadActionTest.java | 67 private HdmiControlService mHdmiControlService; field in RequestSadActionTest 102 mHdmiControlService = in setUp() 127 mHdmiControlService.setIoLooper(mMyLooper); in setUp() 128 mHdmiControlService.setHdmiCecConfig(new FakeHdmiCecConfig(context)); in setUp() 129 mHdmiControlService.setDeviceConfig(new FakeDeviceConfigWrapper()); in setUp() 133 mHdmiControlService, mNativeWrapper, mHdmiControlService.getAtomWriter()); in setUp() 134 mHdmiControlService.setCecController(mHdmiCecController); in setUp() 135 mHdmiControlService.setHdmiMhlController(HdmiMhlControllerStub.create(mHdmiControlService)); in setUp() 136 mHdmiControlService.initService(); in setUp() 137 mHdmiControlService.onBootPhase(PHASE_SYSTEM_SERVICES_READY); in setUp() [all …]
|
D | HdmiCecNetworkTest.java | 57 private HdmiControlService mHdmiControlService; field in HdmiCecNetworkTest 73 mHdmiControlService = new HdmiControlService(mContext, Collections.emptyList(), in setUp() 82 mHdmiControlService.setIoLooper(mMyLooper); in setUp() 85 mHdmiCecController = HdmiCecController.createWithNativeWrapper(mHdmiControlService, in setUp() 86 mNativeWrapper, mHdmiControlService.getAtomWriter()); in setUp() 87 mHdmiMhlControllerStub = HdmiMhlControllerStub.create(mHdmiControlService); in setUp() 88 mHdmiControlService.setCecController(mHdmiCecController); in setUp() 89 mHdmiControlService.setHdmiMhlController(mHdmiMhlControllerStub); in setUp() 91 mHdmiCecNetwork = new HdmiCecNetwork(mHdmiControlService, in setUp() 94 mHdmiControlService.setHdmiCecNetwork(mHdmiCecNetwork); in setUp() [all …]
|
D | BaseTvToAudioSystemAvbTest.java | 215 mHdmiControlService.getAbsoluteVolumeChangedListener().onAudioDeviceVolumeAdjusted( in adjustOnlyAvbEnabled_audioDeviceVolumeAdjusted_sendsUcpAndGiveAudioStatus() 243 mHdmiControlService.getAbsoluteVolumeChangedListener().onAudioDeviceVolumeChanged( in adjustOnlyAvbEnabled_audioDeviceVolumeChanged_requestsAndUpdatesAudioStatus() 312 mHdmiControlService.getHdmiCecNetwork().getDeviceInfo(Constants.ADDR_AUDIO_SYSTEM) in adjustOnlyAvbEnabled_savlSupportBecomesUnknown_keepUsingAdjustOnlyAvb() 316 mHdmiControlService.getHdmiCecNetwork().addCecDevice(updatedAudioSystemDeviceInfo); in adjustOnlyAvbEnabled_savlSupportBecomesUnknown_keepUsingAdjustOnlyAvb() 341 mHdmiControlService.getAbsoluteVolumeChangedListener().onAudioDeviceVolumeAdjusted( in avbEnabled_audioDeviceVolumeAdjusted_adjustSame_updatesAudioService() 387 mHdmiControlService.getAbsoluteVolumeChangedListener().onAudioDeviceVolumeAdjusted( in avbEnabled_audioDeviceVolumeAdjusted_adjustSame_noChange_updatesAudioService()
|
D | HdmiCecMessageValidatorTest.java | 58 HdmiControlService mHdmiControlService = new HdmiControlService( in setUp() local 62 mHdmiControlService.setIoLooper(mTestLooper.getLooper()); in setUp()
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiCecPowerStatusController.java | 31 private final HdmiControlService mHdmiControlService; field in HdmiCecPowerStatusController 36 mHdmiControlService = hdmiControlService; in HdmiCecPowerStatusController() 72 && mHdmiControlService.getCecVersion() >= HdmiControlManager.HDMI_CEC_VERSION_2_0) { in setPowerStatus() 78 for (HdmiCecLocalDevice localDevice : mHdmiControlService.getAllCecLocalDevices()) { in sendReportPowerStatus() 79 mHdmiControlService.sendCecCommand( in sendReportPowerStatus()
|
D | CecMessageBuffer.java | 27 private HdmiControlService mHdmiControlService; field in CecMessageBuffer 30 mHdmiControlService = hdmiControlService; in CecMessageBuffer() 69 mHdmiControlService.runOnServiceThread(new Runnable() { in processMessages() 72 mHdmiControlService.handleCecCommand(message); in processMessages()
|
D | HdmiCecNetwork.java | 69 private final HdmiControlService mHdmiControlService; field in HdmiCecNetwork 109 mHdmiControlService = hdmiControlService; in HdmiCecNetwork() 112 mHandler = new Handler(mHdmiControlService.getServiceLooper()); in HdmiCecNetwork() 113 mLock = mHdmiControlService.getServiceLock(); in HdmiCecNetwork() 205 mHdmiControlService.checkLogicalAddressConflictAndReallocate( in addDeviceInfo() 265 mHdmiControlService.checkAndUpdateAbsoluteVolumeBehavior(); in addCecDevice() 282 mHdmiControlService.invokeDeviceEventListeners(info, event); in invokeDeviceEventListener() 390 mHdmiControlService.checkAndUpdateAbsoluteVolumeBehavior(); in removeCecDevice() 600 mHdmiControlService.checkAndUpdateAbsoluteVolumeBehavior(); in handleReportFeatures() 633 mHdmiControlService.checkAndUpdateAbsoluteVolumeBehavior(); in handleFeatureAbort()
|