Home
last modified time | relevance | path

Searched refs:mNativeWrapper (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiCecControllerTest.java52 private FakeNativeWrapper mNativeWrapper; field in HdmiCecControllerTest
89 mNativeWrapper = new FakeNativeWrapper(); in SetUp()
91 HdmiCecController.createWithNativeWrapper(mHdmiControlService, mNativeWrapper); in SetUp()
112 mNativeWrapper.setPollAddressResponse(ADDR_TV, SendMessageResult.SUCCESS); in testAllocatLogicalAddress_TvDeviceNonPreferredFirstOcupied()
120 mNativeWrapper.setPollAddressResponse(ADDR_TV, SendMessageResult.SUCCESS); in testAllocatLogicalAddress_TvDeviceNonPreferredAllOcupied()
121 mNativeWrapper.setPollAddressResponse(ADDR_SPECIFIC_USE, SendMessageResult.SUCCESS); in testAllocatLogicalAddress_TvDeviceNonPreferredAllOcupied()
137 mNativeWrapper.setPollAddressResponse(ADDR_AUDIO_SYSTEM, SendMessageResult.SUCCESS); in testAllocatLogicalAddress_AudioSystemNonPreferredAllOcupied()
153 mNativeWrapper.setPollAddressResponse(ADDR_PLAYBACK_1, SendMessageResult.SUCCESS); in testAllocatLogicalAddress_PlaybackPreferredOcuppied()
168 mNativeWrapper.setPollAddressResponse(ADDR_PLAYBACK_1, SendMessageResult.SUCCESS); in testAllocatLogicalAddress_PlaybackNoPreferredFirstOcuppied()
176 mNativeWrapper.setPollAddressResponse(ADDR_PLAYBACK_1, SendMessageResult.SUCCESS); in testAllocatLogicalAddress_PlaybackNonPreferredFirstTwoOcuppied()
[all …]
DHdmiCecLocalDeviceAudioSystemTest.java63 private FakeNativeWrapper mNativeWrapper; field in HdmiCecLocalDeviceAudioSystemTest
183 mNativeWrapper = new FakeNativeWrapper(); in setUp()
184 mNativeWrapper.setPhysicalAddress(SELF_PHYSICAL_ADDRESS); in setUp()
186 HdmiCecController.createWithNativeWrapper(mHdmiControlService, mNativeWrapper); in setUp()
206 mNativeWrapper.setPortInfo(mHdmiPortInfo); in setUp()
211 mNativeWrapper.clearResultMessages(); in setUp()
231 assertThat(mNativeWrapper.getOnlyResultMessage()).isEqualTo(expectedMessage); in handleGiveAudioStatus_volume_10_mute_true()
244 assertThat(mNativeWrapper.getOnlyResultMessage()).isEqualTo(expectedMessage); in handleGiveSystemAudioModeStatus_originalOff()
262 assertThat(mNativeWrapper.getOnlyResultMessage()).isEqualTo(expectedMessage); in handleRequestShortAudioDescriptor_featureDisabled()
280 assertThat(mNativeWrapper.getOnlyResultMessage()).isEqualTo(expectedMessage); in handleRequestShortAudioDescriptor_samOff()
[all …]
DHdmiControlServiceTest.java105 private FakeNativeWrapper mNativeWrapper; field in HdmiControlServiceTest
131 mNativeWrapper = new FakeNativeWrapper(); in SetUp()
133 HdmiCecController.createWithNativeWrapper(mHdmiControlService, mNativeWrapper); in SetUp()
149 mNativeWrapper.setPortInfo(mHdmiPortInfo); in SetUp()
181 mNativeWrapper.setPhysicalAddress(0x2000); in pathToPort_pathExists_weAreNonTv()
189 mNativeWrapper.setPhysicalAddress(0x0000); in pathToPort_pathExists_weAreTv()
197 mNativeWrapper.setPhysicalAddress(0x2000); in pathToPort_pathInvalid()
DHdmiCecLocalDevicePlaybackTest.java45 private FakeNativeWrapper mNativeWrapper; field in HdmiCecLocalDevicePlaybackTest
74 mNativeWrapper = new FakeNativeWrapper(); in setUp()
76 HdmiCecController.createWithNativeWrapper(mHdmiControlService, mNativeWrapper); in setUp()
84 mNativeWrapper.clearResultMessages(); in setUp()
86 mNativeWrapper.setPhysicalAddress(mPlaybackPhysicalAddress); in setUp()
DArcInitiationActionFromAvrTest.java49 private FakeNativeWrapper mNativeWrapper; field in ArcInitiationActionFromAvrTest
137 mNativeWrapper = new FakeNativeWrapper(); in setUp()
139 HdmiCecController.createWithNativeWrapper(this.mHdmiControlService, mNativeWrapper); in setUp()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java237 private final NativeWrapper mNativeWrapper; field in PowerManagerService
752 mNativeWrapper = injector.createNativeWrapper(); in PowerManagerService()
787 mNativeWrapper.nativeInit(this); in PowerManagerService()
788 mNativeWrapper.nativeSetAutoSuspend(false); in PowerManagerService()
789 mNativeWrapper.nativeSetInteractive(true); in PowerManagerService()
790 mNativeWrapper.nativeSetFeature(POWER_FEATURE_DOUBLE_TAP_TO_WAKE, 0); in PowerManagerService()
1020 mNativeWrapper.nativeSetFeature( in updateSettingsLocked()
2742 mNativeWrapper.nativeSetAutoSuspend(enable); in setHalAutoSuspendModeLocked()
2757 mNativeWrapper.nativeSetInteractive(enable); in setHalInteractiveModeLocked()
3228 mNativeWrapper.nativeSendPowerHint(hintId, data); in powerHintInternal()
[all …]