Home
last modified time | relevance | path

Searched refs:IControlsSubscription (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/
DServiceWrapper.kt22 import android.service.controls.IControlsSubscription
65 fun request(subscription: IControlsSubscription, num: Long): Boolean { in request()
71 fun cancel(subscription: IControlsSubscription): Boolean { in cancel()
DStatefulControlSubscriber.kt22 import android.service.controls.IControlsSubscription
38 private var subscription: IControlsSubscription? = null
50 override fun onSubscribe(token: IBinder, subs: IControlsSubscription) { in onSubscribe()
DControlsBindingControllerImpl.kt26 import android.service.controls.IControlsSubscription
251 val subscription: IControlsSubscription,
263 val subscription: IControlsSubscription,
304 private lateinit var subscription: IControlsSubscription
318 override fun onSubscribe(token: IBinder, subs: IControlsSubscription) { in onSubscribe()
DControlsProviderLifecycleManager.kt34 import android.service.controls.IControlsSubscription
299 fun startSubscription(subscription: IControlsSubscription, requestLimit: Long) { in maybeBindAndSubscribe()
313 fun cancelSubscription(subscription: IControlsSubscription) { in cancelSubscription()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/
DControlsBindingControllerImplTest.kt26 import android.service.controls.IControlsSubscription
120 val subscription = mock(IControlsSubscription::class.java) in testBindAndLoad_cancel()
139 val subscription = mock(IControlsSubscription::class.java) in testBindAndLoad_noCancelAfterOnComplete()
159 val subscription = mock(IControlsSubscription::class.java) in testLoad_onCompleteRemovesTimeout()
178 val subscription = mock(IControlsSubscription::class.java) in testLoad_onErrorRemovesTimeout()
197 val subscription = mock(IControlsSubscription::class.java) in testBindAndLoad_noCancelAfterOnError()
229 val subscription = mock(IControlsSubscription::class.java) in testLoadSuggested_onCompleteRemovesTimeout()
248 val subscription = mock(IControlsSubscription::class.java) in testLoadSuggested_onErrorRemovesTimeout()
287 val subs = mock(IControlsSubscription::class.java) in testSubscribe()
316 val subs = mock(IControlsSubscription::class.java) in testUnsubscribe_refreshing()
DStatefulControlSubscriberTest.kt22 import android.service.controls.IControlsSubscription
46 private lateinit var subscription: IControlsSubscription
DServiceWrapperTest.kt23 import android.service.controls.IControlsSubscription
52 private lateinit var subscription: IControlsSubscription
/frameworks/base/core/java/android/service/controls/
DIControlsSubscriber.aidl20 import android.service.controls.IControlsSubscription;
26 void onSubscribe(in IBinder token, in IControlsSubscription cs); in onSubscribe()
DIControlsSubscription.aidl22 oneway interface IControlsSubscription { interface
DControlsProviderService.java430 private static class SubscriptionAdapter extends IControlsSubscription.Stub {
/frameworks/base/core/tests/coretests/src/android/service/controls/
DControlProviderServiceTest.java130 ArgumentCaptor<IControlsSubscription.Stub> subscriptionCaptor = in testOnLoad_allStateless()
131 ArgumentCaptor.forClass(IControlsSubscription.Stub.class); in testOnLoad_allStateless()
163 ArgumentCaptor<IControlsSubscription.Stub> subscriptionCaptor = in testOnLoad_statefulConvertedToStateless()
164 ArgumentCaptor.forClass(IControlsSubscription.Stub.class); in testOnLoad_statefulConvertedToStateless()
193 ArgumentCaptor<IControlsSubscription.Stub> subscriptionCaptor = in testOnLoadSuggested_allStateless()
194 ArgumentCaptor.forClass(IControlsSubscription.Stub.class); in testOnLoadSuggested_allStateless()
333 ArgumentCaptor<IControlsSubscription.Stub> subscriptionCaptor = in sendControlGetControl()
334 ArgumentCaptor.forClass(IControlsSubscription.Stub.class); in sendControlGetControl()