Home
last modified time | relevance | path

Searched refs:navigationStateProto (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/calmmode/
DNavigationStateViewModel.java72 NavigationState.NavigationStateProto navigationStateProto; in onNavigationStateChanged() local
74 navigationStateProto = in onNavigationStateChanged()
84 Log.v(TAG, "onNavigationState: navigationStateProto = " + navigationStateProto); in onNavigationStateChanged()
86 if (navigationStateProto == null || navigationStateProto.getDestinationsCount() == 0) { in onNavigationStateChanged()
91 NavigationState.Destination nextDestination = navigationStateProto.getDestinations(0); in onNavigationStateChanged()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarNavigationManagerTest.java82 NavigationStateProto navigationStateProto = NavigationStateProto.newBuilder().build(); in testSerializeAndDeserializeProto() local
96 assertThat(navigationStateProto).isNotNull(); in testSerializeAndDeserializeProto()
111 assertThat(NavigationStateProto.parseFrom(navigationStateProto.toByteArray())).isNotNull(); in testSerializeAndDeserializeProto()
/packages/services/Car/service/src/com/android/car/cluster/
DClusterNavigationService.java208 NavigationStateProto navigationStateProto = NavigationStateProto.parseFrom(protoBytes); in assertNavStateProtoValid() local
209 if (navigationStateProto.getStepsCount() == 0) { in assertNavStateProtoValid()
212 for (Step step : navigationStateProto.getStepsList()) { in assertNavStateProtoValid()