Home
last modified time | relevance | path

Searched refs:triggerEvent (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/sensors/
DProximitySensorImplDualTest.java77 mThresholdSensorPrimary.triggerEvent(false, 0); in testInitiallyAbovePrimary()
95 mThresholdSensorPrimary.triggerEvent(true, 0); in testInitiallyBelowPrimaryAboveSecondary()
99 mThresholdSensorSecondary.triggerEvent(false, 1); in testInitiallyBelowPrimaryAboveSecondary()
117 mThresholdSensorPrimary.triggerEvent(true, 0); in testInitiallyBelowPrimaryAndSecondary()
121 mThresholdSensorSecondary.triggerEvent(true, 1); in testInitiallyBelowPrimaryAndSecondary()
139 mThresholdSensorPrimary.triggerEvent(false, 0); in testPrimaryBelowDoesNotInvokeSecondary()
157 mThresholdSensorSecondary.triggerEvent(true, 0); in testSingleListener()
164 mThresholdSensorPrimary.triggerEvent(true, 0); in testSingleListener()
171 mThresholdSensorSecondary.triggerEvent(true, 0); in testSingleListener()
191 mThresholdSensorPrimary.triggerEvent(true, 0); in testSecondaryPausing()
[all …]
DProximitySensorImplSingleTest.java70 mThresholdSensor.triggerEvent(false, 0); in testSingleListener()
73 mThresholdSensor.triggerEvent(true, 0); in testSingleListener()
94 mThresholdSensor.triggerEvent(false, 0); in testMultiListener()
99 mThresholdSensor.triggerEvent(true, 1); in testMultiListener()
121 mThresholdSensor.triggerEvent(false, 0); in testDuplicateListener()
124 mThresholdSensor.triggerEvent(true, 1); in testDuplicateListener()
139 mThresholdSensor.triggerEvent(false, 0); in testUnregister()
156 mThresholdSensor.triggerEvent(false, 0); in testPauseAndResume()
164 mThresholdSensor.triggerEvent(false, 1); in testPauseAndResume()
167 mThresholdSensor.triggerEvent(true, 2); in testPauseAndResume()
[all …]
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/volume/data/repository/
DAudioRepositoryTest.kt87 triggerEvent(AudioManagerEvent.StreamVolumeChanged(AudioStream(streamType))) in setup()
93 triggerEvent(AudioManagerEvent.StreamMuteChanged(AudioStream(streamType))) in setup()
137 triggerEvent(AudioManagerEvent.InternalRingerModeChanged) in ringerModeChanges_repositoryEmits()
283 private fun triggerEvent(event: AudioManagerEvent) { in triggerEvent() method in com.android.settingslib.volume.data.repository.AudioRepositoryTest
284 testScope.launch { eventsReceiver.triggerEvent(event) } in triggerEvent()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/volume/shared/
DFakeAudioManagerEventsReceiver.kt29 suspend fun triggerEvent(event: AudioManagerEvent) { in triggerEvent() method in com.android.settingslib.volume.shared.FakeAudioManagerEventsReceiver
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/sensors/
DFakeThresholdSensor.java76 void triggerEvent(boolean below, long timestampNs) { in triggerEvent() method in FakeThresholdSensor
/frameworks/proto_logging/stats/atoms/wear/connectivity/
Dwear_connectivity_extension_atoms.proto53 optional com.google.android.wearable.connectivity.TriggerEvent triggerEvent = 4; field
/frameworks/native/libs/binder/tests/
DbinderLibTest.cpp372 void triggerEvent(void) { in triggerEvent() function in BinderLibTestEvent
412 triggerEvent(); in onTransact()
451 triggerEvent(); in binderDied()