Home
last modified time | relevance | path

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

/packages/services/Car/car-lib/src/android/car/vms/
DVmsPublisherClientService.java102 public abstract void onVmsSubscriptionChange(@NonNull VmsSubscriptionState subscriptionState); in onVmsSubscriptionChange() argument
237 public void onVmsSubscriptionChange(VmsSubscriptionState subscriptionState) { in onVmsSubscriptionChange() argument
242 if (DBG) Log.d(TAG, "subscription event: " + subscriptionState); in onVmsSubscriptionChange()
244 if (subscriptionState.getSequenceNumber() <= mSequence) { in onVmsSubscriptionChange()
246 + "; expected new sequence = " + subscriptionState.getSequenceNumber()); in onVmsSubscriptionChange()
250 mSequence = subscriptionState.getSequenceNumber(); in onVmsSubscriptionChange()
256 subscriptionState)); in onVmsSubscriptionChange()
293 VmsSubscriptionState subscriptionState = (VmsSubscriptionState) msg.obj; in handleMessage() local
294 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.java107 public void onVmsSubscriptionChange(VmsSubscriptionState subscriptionState) {
110 if (subscriptionState.getSequenceNumber() <= mSubscriptionStateSequence) {
113 subscriptionState.getSequenceNumber(),
117 mSubscriptionStateSequence = subscriptionState.getSequenceNumber();
120 subscriptionState));
769 VmsSubscriptionState subscriptionState) { in createSubscriptionStateMessage() argument
775 message.add(subscriptionState.getSequenceNumber()); in createSubscriptionStateMessage()
777 Set<VmsLayer> layers = subscriptionState.getLayers(); in createSubscriptionStateMessage()
778 Set<VmsAssociatedLayer> associatedLayers = subscriptionState.getAssociatedLayers(); in createSubscriptionStateMessage()
/packages/services/Car/service/src/com/android/car/vms/
DVmsBrokerService.java71 void onSubscriptionChange(VmsSubscriptionState subscriptionState); in onSubscriptionChange() argument
359 VmsSubscriptionState subscriptionState = getSubscriptionState(); in notifyOfSubscriptionChange() local
360 Log.i(TAG, "Notifying publishers of subscriptions: " + subscriptionState); in notifyOfSubscriptionChange()
363 listener.onSubscriptionChange(subscriptionState); in notifyOfSubscriptionChange()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DVmsPublisherServiceTest.java363 public void onVmsSubscriptionChange(VmsSubscriptionState subscriptionState) { in onVmsSubscriptionChange() argument
364 assertNotNull(subscriptionState); in onVmsSubscriptionChange()
365 this.mSubscriptionState = subscriptionState; in onVmsSubscriptionChange()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DMockedVmsTestBase.java159 public void onVmsSubscriptionChange(VmsSubscriptionState subscriptionState) { in onVmsSubscriptionChange() argument
161 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.java50 public void onVmsSubscriptionChange(VmsSubscriptionState subscriptionState) {} in onVmsSubscriptionChange() argument
/packages/services/Car/service/src/com/android/car/
DVmsPublisherService.java227 public void onSubscriptionChange(VmsSubscriptionState subscriptionState) { in onSubscriptionChange() argument
229 mPublisherClient.onVmsSubscriptionChange(subscriptionState); in onSubscriptionChange()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/vms/
DVmsClientManagerTest.java1097 public void onVmsSubscriptionChange(VmsSubscriptionState subscriptionState) { in createPublisherClient() argument