Home
last modified time | relevance | path

Searched refs:subscriptionState (Results 1 – 10 of 10) sorted by relevance

/packages/services/Car/car-lib/src/android/car/vms/
DVmsPublisherClientService.java100 public abstract void onVmsSubscriptionChange(@NonNull VmsSubscriptionState subscriptionState); in onVmsSubscriptionChange() argument
240 public void onVmsSubscriptionChange(VmsSubscriptionState subscriptionState) { in onVmsSubscriptionChange() argument
246 Log.d(TAG, "subscription event: " + subscriptionState); in onVmsSubscriptionChange()
249 if (subscriptionState.getSequenceNumber() <= mSequence) { in onVmsSubscriptionChange()
251 + "; expected new sequence = " + subscriptionState.getSequenceNumber()); in onVmsSubscriptionChange()
255 mSequence = subscriptionState.getSequenceNumber(); in onVmsSubscriptionChange()
261 subscriptionState)); in onVmsSubscriptionChange()
298 VmsSubscriptionState subscriptionState = (VmsSubscriptionState) msg.obj; in handleMessage() local
299 service.onVmsSubscriptionChange(subscriptionState); in handleMessage()
DIVmsPublisherClient.aidl39 oneway void onVmsSubscriptionChange(in VmsSubscriptionState subscriptionState) = 1; field
/packages/services/Car/tests/VmsPublisherClientSample/src/com/google/android/car/vms/publisher/
DVmsPublisherClientSampleService.java54 VmsSubscriptionState subscriptionState = getSubscriptions(); in onVmsPublisherServiceReady() local
55 onVmsSubscriptionChange(subscriptionState); in onVmsPublisherServiceReady()
59 public void onVmsSubscriptionChange(VmsSubscriptionState subscriptionState) { in onVmsSubscriptionChange() argument
61 for (VmsLayer layer : subscriptionState.getLayers()) { in onVmsSubscriptionChange()
/packages/services/Car/service/src/com/android/car/hal/
DVmsHalService.java105 public void onVmsSubscriptionChange(VmsSubscriptionState subscriptionState) {
108 if (subscriptionState.getSequenceNumber() <= mSubscriptionStateSequence) {
111 subscriptionState.getSequenceNumber(),
115 mSubscriptionStateSequence = subscriptionState.getSequenceNumber();
118 subscriptionState));
740 VmsSubscriptionState subscriptionState) { in createSubscriptionStateMessage() argument
746 message.add(subscriptionState.getSequenceNumber()); in createSubscriptionStateMessage()
748 Set<VmsLayer> layers = subscriptionState.getLayers(); in createSubscriptionStateMessage()
749 Set<VmsAssociatedLayer> associatedLayers = subscriptionState.getAssociatedLayers(); in createSubscriptionStateMessage()
/packages/services/Car/service/src/com/android/car/vms/
DVmsBrokerService.java87 void onSubscriptionChange(VmsSubscriptionState subscriptionState); in onSubscriptionChange() argument
420 VmsSubscriptionState subscriptionState = getSubscriptionState(); in notifyOfSubscriptionChange() local
423 listener.onSubscriptionChange(subscriptionState); in notifyOfSubscriptionChange()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DMockedVmsTestBase.java161 public void onVmsSubscriptionChange(VmsSubscriptionState subscriptionState) { in onVmsSubscriptionChange() argument
163 mSubscriptionState.add(subscriptionState); in onVmsSubscriptionChange()
DVmsPublisherSubscriberTest.java575 VmsSubscriptionState subscriptionState = receiveWithSequence( in assertSubscriptionState() local
579 assertEquals(layers, subscriptionState.getLayers()); in assertSubscriptionState()
580 assertEquals(associatedLayers, subscriptionState.getAssociatedLayers()); in assertSubscriptionState()
DVmsPublisherClientPermissionTest.java51 public void onVmsSubscriptionChange(VmsSubscriptionState subscriptionState) {} in onVmsSubscriptionChange() argument
/packages/services/Car/service/src/com/android/car/
DVmsPublisherService.java301 public void onSubscriptionChange(VmsSubscriptionState subscriptionState) { in onSubscriptionChange() argument
303 mPublisherClient.onVmsSubscriptionChange(subscriptionState); in onSubscriptionChange()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DVmsPublisherServiceTest.java660 public void onVmsSubscriptionChange(VmsSubscriptionState subscriptionState) { in onVmsSubscriptionChange() argument
661 assertNotNull(subscriptionState); in onVmsSubscriptionChange()
662 this.mSubscriptionState = subscriptionState; in onVmsSubscriptionChange()