Home
last modified time | relevance | path

Searched refs:onReceive (Results 1 – 25 of 110) sorted by relevance

12345

/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/selects/
DSelectRendezvousChannelTest.kt112 channel.onReceive { v -> in <lambda>()
132 channel.onReceive { v -> in <lambda>()
148 channel.onReceive { in <lambda>()
180 channel.onReceive { v -> in <lambda>()
195 channel.onReceive { in <lambda>()
213 channel.onReceive { in <lambda>()
241 channel.onReceive { expectUnreached() } in <lambda>()
256 c1.onReceive { v1 -> in <lambda>()
263 c2.onReceive { in <lambda>()
286 c.onReceive { v -> in <lambda>()
[all …]
DSelectArrayChannelTest.kt66 channel.onReceive { v -> in <lambda>()
103 channel.onReceive { v -> in <lambda>()
118 channel.onReceive { v -> in <lambda>()
134 channel.onReceive { in <lambda>()
170 channel.onReceive { v -> in <lambda>()
185 channel.onReceive { in <lambda>()
203 channel.onReceive { in <lambda>()
232 channel.onReceive { expectUnreached() } in <lambda>()
248 channel.onReceive { v -> in <lambda>()
270 channel.onReceive { v -> in <lambda>()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowBroadcastReceiver.java24 protected void onReceive(Context context, Intent intent) { in onReceive() method in ShadowBroadcastReceiver
26 receiver.onReceive(context, intent); in onReceive()
30 public void onReceive(Context context, Intent intent, AtomicBoolean abort) { in onReceive() method in ShadowBroadcastReceiver
32 onReceive(context, intent); in onReceive()
/external/dagger2/java/dagger/hilt/android/example/gradle/simple/app/src/sharedTest/java/dagger/hilt/android/example/gradle/simple/
DBroadcastReceiverTest.java122 public void onReceive(Context context, Intent intent) { in onReceive() method in BroadcastReceiverTest.TestReceiverOne
137 public void onReceive(Context context, Intent intent) { in onReceive() method in BroadcastReceiverTest.TestReceiverTwo
152 public void onReceive(Context context, Intent intent) { in onReceive() method in BroadcastReceiverTest.TestReceiverThree
153 super.onReceive(context, intent); in onReceive()
167 public void onReceive(Context context, Intent intent) { in onReceive() method in BroadcastReceiverTest.TestReceiverFour
198 public void onReceive(Context context, Intent intent) { in onReceive() method in BroadcastReceiverTest.BaseReceiverConcreteMethod
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/
DNetworkMonitorTest.java231 receiver.onReceive(InstrumentationRegistry.getTargetContext(), connectivityIntent); in testNetworkMonitorJavaObservers()
236 receiver.onReceive(InstrumentationRegistry.getTargetContext(), connectivityIntent); in testNetworkMonitorJavaObservers()
241 receiver.onReceive(InstrumentationRegistry.getTargetContext(), connectivityIntent); in testNetworkMonitorJavaObservers()
246 receiver.onReceive(InstrumentationRegistry.getTargetContext(), connectivityIntent); in testNetworkMonitorJavaObservers()
252 receiver.onReceive(InstrumentationRegistry.getTargetContext(), connectivityIntent); in testNetworkMonitorJavaObservers()
257 receiver.onReceive(InstrumentationRegistry.getTargetContext(), connectivityIntent); in testNetworkMonitorJavaObservers()
263 receiver.onReceive(InstrumentationRegistry.getTargetContext(), noConnectivityIntent); in testNetworkMonitorJavaObservers()
/external/robolectric-shadows/shadows/supportv4/src/test/java/org/robolectric/shadows/support/v4/
DShadowLocalBroadcastManagerTest.java41 public void onReceive(Context context, Intent intent) { in shouldSendBroadcasts()
59 public void onReceive(Context context, Intent intent) { in shouldSendBroadcastsWithDataScheme()
79 public void onReceive(Context context, Intent intent) { in shouldUnregisterReceiver()
93 @Override public void onReceive(Context context, Intent intent) { in testGetBroadcastIntents()
114 public void onReceive(Context context, Intent intent) {} in testGetRegisteredBroadcastReceivers()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DConfigTestReceiver.java10 public void onReceive(Context context, Intent intent) { in onReceive() method in ConfigTestReceiver
15 public void onReceive(Context context, Intent intent) { in onReceive() method in ConfigTestReceiver.InnerReceiver
DDotConfigTestReceiver.java10 public void onReceive(Context context, Intent intent) { in onReceive() method in DotConfigTestReceiver
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/guide/
Dexample-select-01.kt28 fizz.onReceive { value -> // this is the first select clause in selectFizzBuzz()
31 buzz.onReceive { value -> // this is the second select clause in selectFizzBuzz()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/selects/
DSelectMemoryLeakStressTest.kt27 data.onReceive { received -> in <lambda>()
44 leak.onReceive { in <lambda>()
DSelectChannelStressTest.kt36 channel.onReceive { expectUnreached() } in <lambda>()
64 channel.onReceive { expectUnreached() } in <lambda>()
/external/kotlinx.coroutines/benchmarks/src/jmh/kotlin/benchmarks/
DChannelProducerConsumerBenchmark.kt109 dummy!!.onReceive {} in <lambda>()
120 channel.onReceive {} in <lambda>()
121 dummy!!.onReceive {} in <lambda>()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DBluetoothBroadcastHelper.java58 public void onReceive(Context context, Intent intent) { in onReceive() method in BluetoothBroadcastHelper.BluetoothReceiver
59 sListener.onReceive(context, intent); in onReceive()
/external/dagger2/java/dagger/hilt/android/processor/internal/androidentrypoint/
DBroadcastReceiverGenerator.java147 .filter(onReceive -> !onReceive.getModifiers().contains(Modifier.ABSTRACT)) in onReceiveMethod()
148 .ifPresent(onReceive -> method.addStatement("super.onReceive(context, intent)")); in onReceiveMethod()
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DBaseUsbConnection.java99 public void onReceive(Context context, Intent intent) { in registerConnectCallback()
151 public void onReceive(Context context, Intent intent) {
162 public void onReceive(Context context, Intent intent) {
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/channels/
DTestChannelKind.kt56 override val onReceive: SelectClause1<E> in toString() constant
57 get() = sub.onReceive in toString()
/external/kotlinx.coroutines/benchmarks/src/jmh/kotlin/benchmarks/akka/
DPingPongAkkaBenchmark.kt85 override fun onReceive(msg: Any?) { in onReceive() method in benchmarks.akka.PingPongAkkaBenchmark.PingActorAkka
103 override fun onReceive(msg: Any?) { in onReceive() method in benchmarks.akka.PingPongAkkaBenchmark.PongActorAkka
DStatefulActorAkkaBenchmark.kt129 override fun onReceive(message: Any?) { in onReceive() method in benchmarks.akka.StatefulActorAkkaBenchmark.RequestorActor
150 override fun onReceive(message: Any?) { in onReceive() method in benchmarks.akka.StatefulActorAkkaBenchmark.ComputationActor
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/flow/operators/
DDelay.kt299 ticker.onReceive { in sample()
300 val value = lastValue ?: return@onReceive in sample()
/external/webrtc/examples/androidjunit/src/org/appspot/apprtc/
DBluetoothManagerTest.java252 bluetoothHeadsetStateReceiver.onReceive(context, intent); in simulateBluetoothHeadsetConnected()
259 bluetoothHeadsetStateReceiver.onReceive(context, intent); in simulateBluetoothScoConnectionConnected()
266 bluetoothHeadsetStateReceiver.onReceive(context, intent); in simulateBluetoothScoConnectionDisconnected()
/external/robolectric-shadows/robolectric/src/test/java/com/foo/
DReceiver.java10 public void onReceive(Context context, Intent intent) { in onReceive() method in Receiver
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/fakes/
DConfigTestReceiver.java10 public void onReceive(Context context, Intent intent) { in onReceive() method in ConfigTestReceiver
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/tester/
DConfigTestReceiverPermissionsAndActions.java9 public void onReceive(Context context, Intent intent) { in onReceive() method in ConfigTestReceiverPermissionsAndActions
/external/dagger2/java/dagger/android/
DDaggerBroadcastReceiver.java46 public void onReceive(Context context, Intent intent) { in onReceive() method in DaggerBroadcastReceiver
/external/ims/rcs/rcsservice/src/com/android/service/ims/
DDeviceShutdown.java47 public void onReceive(Context context, Intent intent) { in onReceive() method in DeviceShutdown

12345