Home
last modified time | relevance | path

Searched refs:subscriptionCaptor (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/condition/
DConditionalCoreStartableTest.java113 final ArgumentCaptor<Monitor.Subscription> subscriptionCaptor = ArgumentCaptor.forClass( in testOnStartCallback() local
115 verify(mMonitor).addSubscription(subscriptionCaptor.capture()); in testOnStartCallback()
117 final Monitor.Subscription subscription = subscriptionCaptor.getValue(); in testOnStartCallback()
138 final ArgumentCaptor<Monitor.Subscription> subscriptionCaptor = ArgumentCaptor.forClass( in testOnStartCallbackWithNoConditions() local
140 verify(mMonitor).addSubscription(subscriptionCaptor.capture()); in testOnStartCallbackWithNoConditions()
142 final Monitor.Subscription subscription = subscriptionCaptor.getValue(); in testOnStartCallbackWithNoConditions()
169 final ArgumentCaptor<Monitor.Subscription> subscriptionCaptor = ArgumentCaptor.forClass( in testBootCompleted() local
171 verify(mMonitor).addSubscription(subscriptionCaptor.capture()); in testBootCompleted()
173 final Monitor.Subscription subscription = subscriptionCaptor.getValue(); in testBootCompleted()
/frameworks/base/core/tests/coretests/src/android/service/controls/
DControlProviderServiceTest.java130 ArgumentCaptor<IControlsSubscription.Stub> subscriptionCaptor = in testOnLoad_allStateless() local
143 verify(mSubscriber).onSubscribe(eq(mToken), subscriptionCaptor.capture()); in testOnLoad_allStateless()
144 subscriptionCaptor.getValue().request(1000); in testOnLoad_allStateless()
163 ArgumentCaptor<IControlsSubscription.Stub> subscriptionCaptor = in testOnLoad_statefulConvertedToStateless() local
175 verify(mSubscriber).onSubscribe(eq(mToken), subscriptionCaptor.capture()); in testOnLoad_statefulConvertedToStateless()
176 subscriptionCaptor.getValue().request(1000); in testOnLoad_statefulConvertedToStateless()
193 ArgumentCaptor<IControlsSubscription.Stub> subscriptionCaptor = in testOnLoadSuggested_allStateless() local
206 verify(mSubscriber).onSubscribe(eq(mToken), subscriptionCaptor.capture()); in testOnLoadSuggested_allStateless()
207 subscriptionCaptor.getValue().request(1); in testOnLoadSuggested_allStateless()
333 ArgumentCaptor<IControlsSubscription.Stub> subscriptionCaptor = in sendControlGetControl() local
[all …]