Home
last modified time | relevance | path

Searched refs:resultChannel (Results 1 – 8 of 8) sorted by relevance

/external/kotlinx.coroutines/benchmarks/src/jmh/kotlin/benchmarks/scheduler/actors/
DConcurrentStatefulActorBenchmark.kt69 val resultChannel: Channel<Unit> = Channel(1) in <lambda>() constant
71 val requestor = requestorActorUnfair(computations, resultChannel) in <lambda>()
73 resultChannel.receive() in <lambda>()
78 val resultChannel: Channel<Unit> = Channel(1) in <lambda>() constant
80 val requestor = requestorActorFair(computations, resultChannel) in <lambda>()
82 resultChannel.receive() in <lambda>()
DStatefulActorBenchmark.kt68 val resultChannel: Channel<Unit> = Channel(requestorActorsCount) in run() constant
70 …val requestors = (0 until requestorActorsCount).map { requestorActor(computations, resultChannel) } in run()
77 resultChannel.receive() in run()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/flow/internal/
DCombine.kt24 val resultChannel = Channel<Update>(size) in <lambda>() constant
32 resultChannel.send(Update(i, value)) in <lambda>()
38 resultChannel.close() in <lambda>()
54 …var element = resultChannel.receiveCatching().getOrNull() ?: break // Channel is closed, nothing t… in <lambda>()
65 element = resultChannel.tryReceive().getOrNull() ?: break in <lambda>()
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowNotificationManagerTest.java104 NotificationChannel resultChannel = in createNotificationChannel_updateChannel() local
106 assertThat(resultChannel.getName().toString()).isEqualTo("newName"); in createNotificationChannel_updateChannel()
107 assertThat(resultChannel.getDescription()).isEqualTo("newDescription"); in createNotificationChannel_updateChannel()
109 assertThat(resultChannel.getImportance()).isEqualTo(1); in createNotificationChannel_updateChannel()
111 assertThat(resultChannel.getGroup()).isEqualTo("channelGroupId"); in createNotificationChannel_updateChannel()
113 assertThat(resultChannel.getLightColor()).isEqualTo(7); in createNotificationChannel_updateChannel()
130 NotificationChannel resultChannel = in createNotificationChannel_downGradeImportanceSetGroup() local
132 assertThat(resultChannel.getName().toString()).isEqualTo("newName"); in createNotificationChannel_downGradeImportanceSetGroup()
133 assertThat(resultChannel.getDescription()).isEqualTo("newDescription"); in createNotificationChannel_downGradeImportanceSetGroup()
134 assertThat(resultChannel.getImportance()).isEqualTo(0); in createNotificationChannel_downGradeImportanceSetGroup()
[all …]
/external/android-nn-driver/
DArmnnPreparedModel_1_2.hpp79 const android::hardware::MQDescriptorSync<V1_2::FmqResultDatum>& resultChannel,
DArmnnPreparedModel_1_3.hpp108 const android::hardware::MQDescriptorSync<V1_2::FmqResultDatum>& resultChannel,
DArmnnPreparedModel_1_2.cpp742 const MQDescriptorSync<V1_2::FmqResultDatum>& resultChannel, in configureExecutionBurst() argument
748 resultChannel, in configureExecutionBurst()
DArmnnPreparedModel_1_3.cpp804 const MQDescriptorSync<V1_2::FmqResultDatum>& resultChannel, in configureExecutionBurst() argument
810 resultChannel, in configureExecutionBurst()