• Home
  • History
  • Annotate
  • only in /packages/services/Car/tests/DirectRenderingClusterSample/src/android/car/cluster/
History log of /packages/services/Car/tests/DirectRenderingClusterSample/src/android/car/cluster/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2b65d2de700b191a949f09cc9a5b81332a075010 04-Apr-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fix cluster sample" into pi-dev
277a06c2c436ce0233f580d68ccd4063e6a07337 04-Apr-2018 Pavel Maltsev <pavelm@google.com> Fix cluster sample

Before the fix it used hidden API which now results in crashing

Bug:74074073
Test: build and flash, observe no crashing
Change-Id: I212109c2639cae39c0640b14bc6d8756645a668f
ample/MainClusterActivity.java
7bd39e929390e754c96e2792efe0deac7b3841e6 02-Apr-2018 Anthony Chen <ajchen@google.com> Migrate to androidx.* dependencies.

Note, that the EmbeddedKitchenSinkApp has not been migrated because it
depends on car support library. The car support library target is not
yet ready to be migrated.

Also, clean up that app so that it no longer depends on
car-stream-ui-lib.

Test: build and flash
Bug: 77483560
Change-Id: I80f532b7ac2e328b22bf45f0dacc5d2b43a6cb6e
ample/CarInfoFragment.java
ample/MainClusterActivity.java
ample/MusicFragment.java
ample/NavigationFragment.java
ample/PhoneFragment.java
31966496485e3738e6bcfe775885f5cd9b857b22 29-Mar-2018 Pavel Maltsev <pavelm@google.com> Enhance test environment for input

Use real Car Service in the input fragment in KitchenSink app.
This is done through injecting events through back-door property
of emulated VHAL, in this case events tergeting cluster will be
delivered to OEM provided service

Use InputMethodManager to inject KeyEvent into sample cluster main activity

Bug: 74616964
Test: manual kitchen sink + cluster display, verify that taping on
Left/Right steering wheel buttons in kitchen sink switches facets in the
cluster

Change-Id: I09b01b3a08ce05b6c7d9e2a797cf3a5f6c42f2e0
ample/MainClusterActivity.java
ample/SampleClusterServiceImpl.java
823c5d6c259d600990fcc619a72cc76514ac3379 23-Mar-2018 Dean Harding <deanh@google.com> Merge "Make kitchen sink send a bundle, and log it from the sample cluster." into pi-dev
84de8322790e2279f7c15f498bc1d027c04355c7 22-Mar-2018 Dean Harding <deanh@google.com> Make kitchen sink send a bundle, and log it from the sample cluster.

The actual data is dummy, but this at least verifies that it's all
hooked up.

Change-Id: Ib9d8dcf422a1b5834fd30147c0199a43d29e6bfd
Fixes: 74813746
Test: Build and run kitchen sink
ample/SampleClusterServiceImpl.java
1b5f0da52fb729eb9dc53011a35e4ab2e38dcc38 12-Mar-2018 Pavel Maltsev <pavelm@google.com> Add heartbeat to network display service

Bug: 74074073

Test: boot device and verify receiving part works correctly
Change-Id: I17723c2570218fce0e89fbfb341185f7807c3044
ample/NetworkedVirtualDisplay.java
9649c856d2ae1239f56379ffc6e1418dc14769a9 02-Mar-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Reference implementation of networked display"
1cd50f37b6ffb520c4c0dae0513c835b1174b62a 01-Mar-2018 Pavel Maltsev <pavelm@google.com> Reference implementation of networked display

This is Android side. Here's how it works:
- During bootup Car Service binds to android.car.cluster.sample service
which is registered through XML configuration
- Cluster rendering service checks if physical display available and if
it is available it will use it, otherwise it will open socket and wait
for incoming connection. Once receiver connected it will create
- Virtual Display, open sample activity and register display dedicated
for navigation app in the Car Service

Test: manually verify video stream is properly displayed in the
receiver.

Bug: 74074073
Change-Id: If980884a12d231f348626ad79f6b5d7d41df4edb
ample/ClusterDisplayProvider.java
ample/NetworkedVirtualDisplay.java
ample/SampleClusterServiceImpl.java
8099f2f6eb3348d2fbb79eb411b2a23514d53488 08-Feb-2018 Dean Harding <deanh@google.com> Un-hide some of the APIs in relation to nav state API.

Also removed some now-redundant methods. Since these methods were
previously @hide, there should be no harm in removing them as we
un-@hide onEvent.

Test: make update-car-api
Change-Id: I28d4621b3bcae01489dceea487d15878bbbeaa6b
ample/SampleClusterServiceImpl.java
905968cf95d4c8608d6d9351b5dd10fe994a1220 17-Jul-2017 Pavel Maltsev <pavelm@google.com> Allow activities in instrument cluster

- Added new CarInstrumentClusterManager to start activity in the cluster
and subscribe to cluster specific events
- Cluster vendor implementation (InstrumentClusterRenderingService) was
extended, now it can notify Car Service with ActivityOptions that holds
info how to launch activity in the cluster for specific category, also it
can send additional info such as unobscured bounds
(ClusterActivityState)
- added DirectRenderingClusterSample which is an example of vendor
implementation that utilizes new features
- added FakeClusterNavigationActivity in Kitchensink which is a dummy nav
activity that can be run in the cluster, it has appropriate permissions
and activity category in manifest

Test: kitchensink

Bug: b/37500371
Change-Id: Ic4b3709a3b7e1310dbd1c499990eea64479b3333
ample/CarInfoFragment.java
ample/MainClusterActivity.java
ample/MusicFragment.java
ample/NavigationFragment.java
ample/PhoneFragment.java
ample/SampleClusterServiceImpl.java