Searched refs:subscriptionCaptor (Results 1 – 2 of 2) sorted by relevance
113 final ArgumentCaptor<Monitor.Subscription> subscriptionCaptor = ArgumentCaptor.forClass( in testOnStartCallback() local115 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() local140 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() local171 verify(mMonitor).addSubscription(subscriptionCaptor.capture()); in testBootCompleted()173 final Monitor.Subscription subscription = subscriptionCaptor.getValue(); in testBootCompleted()
130 ArgumentCaptor<IControlsSubscription.Stub> subscriptionCaptor = in testOnLoad_allStateless() local143 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() local175 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() local206 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 …]