aboutsummaryrefslogtreecommitdiff
path: root/tests/EmbeddedKitchenSinkApp
AgeCommit message (Collapse)Author
2018-07-10Merge "Add connectivity test fragment to KitchenSink" into pi-devTreeHugger Robot
2018-06-29Fix setting night mode and change test crashes EKSKai
Add AsyncTask to refresh Car*Manager. Ensure all properties will be checked when we use unregister a listener. Bug: 110043754, 110437786 Test: 1) Start EKS, Select "Sensors" test. 2) Use vhal_emulator.py to set night model state to 1. 3) Switch to "hvac" test, set nigth model state to 0. Change-Id: I48ce210c45cf2da2db90178aa909e5f10eada8f6 Merged-In: I48ce210c45cf2da2db90178aa909e5f10eada8f6 (cherry picked from commit cf3387bd4c90ee09eeff2dc0878c26a399e5ff23)
2018-06-29Add connectivity test fragment to KitchenSinkPavel Maltsev
Right now it displays a list of networks and can send request for OEM-paid and Eth1 networks. Bug: 74811930 Test: kitchen sink Change-Id: I5628d4ef745b4bbe1a7b4f33d0c3d2056c5884c1 Merged-In: I5628d4ef745b4bbe1a7b4f33d0c3d2056c5884c1
2018-06-13Clean up for ENV_OUTSIDE_TEMPERATUREKai
Replace SENSOR_TYPE_ENVIRONMENT with ENV_OUTSIDE_TEMPERATURE. Correct permission of ENV_OUTSIDE_TEMPERATURE in PropertyHalServiceIds. Bug: 109742155 Test: runtest -x packages/services/Car/tests/android_car_api_test runtest -x packages/services/Car/tests/carservice_unit_test Change-Id: I28b3567407d81584711b1f27ca98892e1b56d1e5
2018-06-07Merge "Fix Sensor test fragment" into pi-devTreeHugger Robot
2018-06-07Fix Sensor test fragmentSteve Paik
- Convert sensor test fragment to use car-lib instead of car-support-lib - Remove accelerometer, gyro, compass, gps from sensor test fragment (they are not supported in car-lib) Bug: 80371235 Bug: 79614473 Bug: 79613345 Test: Embedded Kitchen Sink Change-Id: Ideeb4bfcf32bfa1d1e92000c5315ee54748adedb Merged-In: Iffd7c82e3adcde6522d51a562885cc2abb8f11e4
2018-06-06Add a mic button to use Activity#showAssist.Nicholas Sauer
bug: 73800527 Test: m EmbeddedKitchenSinkApp && install. Try both buttons and see assistant. Change-Id: I70efebe8c36fd65b66f41fc0d568d5279ba04661
2018-06-02Create CarPropertyService and CarPropertyManagerSteve Paik
CarPropertyService replaces Cabin, Hvac, Info, Sensor, and VendorExtension services. Bug: 78782959 Bug: 36649684 Bug: 68056035 Test: runtest -x packages/services/Car/tests/android_car_api_test runtest -x packages/services/Car/tests/carservice_unit_test Change-Id: I69756654473fe66ef95e9e2cd4f3c1045e3ac938 Merged-In: Ic0a94805f83cc0222fb2bcf9674b6031bc050986 (cherry picked from commit fc0257133967edcb217e07e9ab942690eeaae3de) (cherry picked from commit 0265d8348716b2971f76e697f410f4cf7128371c)
2018-05-24Merge "Fixed inconsistent KeyPress command in Kitchen Sink" into pi-devTreeHugger Robot
2018-05-23Fixed inconsistent KeyPress command in Kitchen SinkChao Yan
Bug: 76017041 Test: build and flash on Mojave; open Input Test in Kitchen Sink and verify it can inject key code Change-Id: I3f108293c9fdce60d495f5fc301d3117cc91c911 Merged-In: I3f108293c9fdce60d495f5fc301d3117cc91c911
2018-05-23Hook logging of VHAL HW_KEY_INPUT events in KitchenSinkEnrico Granata
Bug: 75276159 Test: manual Change-Id: I3e07a3735f51083a03bf3d1db806279d9d0530e0
2018-05-22Merge "Service and KitchenSink logic to read the kernel's input event ↵Enrico Granata
queues" into pi-dev
2018-05-22Service and KitchenSink logic to read the kernel's input event queuesEnrico Granata
This patch provides a native service that can manually be built, installed to a device, and launched, e.g. sh# /system/bin/com.android.car.keventreader /dev/input/event* The service will monitor the files provided as input (expecting them to be kernel input queues in the format described at, e.g. https://github.com/torvalds/linux/blob/master/include/uapi/linux/input.h), and generate events upon reading EV_KEY events from each such file. The patch also includes a KitchenSink hook to talk to the native service and receive key events from it. Bug: 78258802 Test: manual on Mojave Change-Id: If7f2f1f72e4dc6a26cd9d32b31e90e494d55650b Merged-In: If7f2f1f72e4dc6a26cd9d32b31e90e494d55650b
2018-05-16Update DefaultConfig.h to use new areaIDsSteve Paik
Bug: 79752968 Test: EmbeddedKitchenSink Change-Id: Iff2261e320b0934ce50e261f91c1d8b876f657e3
2018-05-07DO NOT MERGE Revert AndroidX migrationRodrigo Lagos
This is mostly a revert of ag/3998706 along with making the linter happy Change-Id: Ie4aaafbadd0e8f1353bdd7c9e824a60b69579832 Fixes: 79356171 Test: built locally and deployed to test
2018-04-17Merge "Migrate to androidx namespace for support library." into pi-devAnthony Chen
2018-04-16Migrate to androidx namespace for support library.Anthony Chen
Fixes: 77483560 Test: build KitchenSink, deploy and test through fragments Test: build and launch UxRestrictionsSample Change-Id: I539c71464f5a486c9a9373bbbcae8ac14d24e477
2018-04-12Merge "Cleanup after change Vehicle permission" into pi-devKai Wang
2018-04-10Cleanup after change Vehicle permissionKai
Cleanup after change Vehicle permission. Bug: 77860745 Test: Compiles and flash into Owl Change-Id: I6e189b7d98722cb54fc7afd624335635a7b844e5
2018-04-10Merge "Depend on correct target for the car support library." into pi-devTreeHugger Robot
2018-04-09Merge "Update Vehicle Data Permissions" into pi-devKai Wang
2018-04-06Depend on correct target for the car support library.Anthony Chen
The macro that was being depended on before has been deprecated. Instead, applications can just depend on the android-support-car target directly. Bug: 77601495 Test: build UxRestrictionsApp and run it Test: build EmbeddedKitchenSinkApp and run it Change-Id: Ia185a1ab051ffaa97ce543c42b8a95fea417937a
2018-04-06Update Vehicle Data PermissionsKai
Update Vehcile Data Permissions Bug: 74023401 Test: Make and flash to Mojave Change-Id: I2ec5621e6008ddf843dbac1d3e412ddb5358e6ea
2018-04-06Merge "Changed Person API" into pi-devSelim Cinek
2018-04-05Changed Person APISelim Cinek
Test: this Bug: 75980526 Change-Id: Ibf58f277646d818c2dcb459bee6d5e1d4dac73e0
2018-04-04Merge "Migrate to androidx.* dependencies." into pi-devAnthony Chen
2018-04-03Enable dumpsys car_serviceEnrico Granata
The command in use to dumpsys information from CarService was "dumpsys activity service com.android.car/.CarService", which is based on overloading dump() in the CarService class. OTOH, the class known to the ServiceManager as "car_service" is ICarImpl, which was not providing the correct overload of dump(). Fix this by moving the dumping logic over in ICarImpl Test: manual Fixes: 77498074 Change-Id: I0c18a9088e9c06201de79e8ebf247dc969ff7317
2018-04-03Migrate to androidx.* dependencies.Anthony Chen
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
2018-04-03Cleanup after updating VHALSteve Paik
This CL cleans up the mess created after we revised VHAL's type.hal. I also removed CarRadio* since that is deprecated. Bug: 77301298 Test: It compiles Change-Id: Iad881373ab555da7e282349f5519f0882c5cd0cd
2018-03-29Enhance test environment for inputPavel Maltsev
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
2018-03-23Merge "Make kitchen sink send a bundle, and log it from the sample cluster." ↵Dean Harding
into pi-dev
2018-03-22Make kitchen sink send a bundle, and log it from the sample cluster.Dean Harding
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
2018-03-15Merge "Reduce priority of the kitchen sink cluster activity to -1" into pi-devHarry Slatyer
2018-03-15Add sample code to KitchenSink for ActivityViewPavel Maltsev
Test: kitchen sink app Bug: 74194519 Change-Id: If9ada7f03b8cd2eb17facb638ca312034c175d3a
2018-03-15Reduce priority of the kitchen sink cluster activity to -1Harry Slatyer
This cluster activity is just a placeholder, so by setting the priority to -1 we ensure that "real" cluster activities will be selected by default (since at the moment intent resolution just picks an activity with maximal priority). Bug: 63861009 Test: Manually on owl. Change-Id: I71117a6ac866bb751356998c90e35ede042c9d8e
2018-03-15Merge "Arrange kitchensink inst cluster buttons vertically." into pi-devHarry Slatyer
2018-03-15Arrange kitchensink inst cluster buttons vertically.Harry Slatyer
Now they all fit on narrow screens. Change-Id: Iac878e9cfaa450c145d403c606d13137e9ce85a1 Test: Manually on owl. Bug: 74872424
2018-03-15Add kitchen sink test fragment for notifications.Adora Zhang
Bug: 74862300 Test: N/A Change-Id: Iedc605c4d62820abc97e4cf88b7d4b03d4b91c98 (cherry picked from commit 406a205467dac3c0e5ce99befba31b38d035548d)
2018-03-02Create CAR_ENGINE_DETAILED permissionKai
-Create CAR_ENGINE_DETAILED permission. -Rename CAR_CABIN, CAR_HVAC, DIAGNOSTIC_READ_ALL, DIAGNOSTIC_CLARE. Bug: 74031422 Test: Make and flash to Mojave Change-Id: I3bf3b213e2d8811e4f77064dcdbab29bf99d37be
2018-02-27packages/services/Car: Set LOCAL_SDK_VERSION where possible.Anton Hansson
This change sets LOCAL_SDK_VERSION for all packages where this is possible without breaking the build, and LOCAL_PRIVATE_PLATFORM_APIS := true otherwise. Setting one of these two will be made required soon, and this is a change in preparation for that. Not setting LOCAL_SDK_VERSION makes the app implicitly depend on the bootclasspath, which is often not required. This change effectively makes depending on private apis opt-in rather than opt-out. Test: make relevant packages Bug: 73535841 Change-Id: I1e77ed30aa2b67a6b8640a23fc42c28b0445bf29
2018-02-26Un-hide some of the APIs in relation to nav state API.Dean Harding
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
2018-02-23Add fader/balance sliders to KitchenSinkScott Randolph
Allows manual testing of the fade/balance APIs in CarAudioManager. Test: Exercise sliders in KitchenSink volume page on Mojave. Change-Id: I9db550f76d45c54911efd780f3ece8c28ac55d09
2018-02-22Merge "Update theme names after car support library changes."Anthony Chen
2018-02-22Merge "Fixed NPE crash from VolumeTestFragment"TreeHugger Robot
2018-02-20Add CarPowerManagerSteve Paik
- Add Java API for apps to call into power manager - Update EmbeddedKitchenSink to test API - Update CarPowrManagementService to handle binder interface Bug: 32061842 Test: EmbeddedKitchenSink Change-Id: I15f5c25262507d4a6d6e5f381643f3e584f1843e
2018-02-20Fixed NPE crash from VolumeTestFragmentHongwei Wang
Test: Launch kitchensink -> volume test Change-Id: Ia82c8963f4c7936e0a185ed1139fceb46aa18e8f
2018-02-16Switches volume control to groupId basedHongwei Wang
New APIs added - getVolumeGroupForUsage(int) - getGroup{Min,Max,}Volume(int) - setGroupVolume(int) Old APIs removed - getUsage{Min,Max,}Volume - setUsageVolume Known issue - No volume sliders in Mojave board since there is no volume group configured Adds also the validation pass for volume groups configuration Bug: 72555604 Test: run Car Settings in emulator Change-Id: I2507a45f2771e26fedc5cfbdb017023fa3d67d46
2018-02-16Update theme names after car support library changes.Anthony Chen
Test: build and deploy CarMapsPlaceholder Test: build and deploy EmbeddedKitchenSinkApp Bug: 73501454 Change-Id: I3e62fd515902edc6a53e05bbf4216fd17f4bdbe4
2018-02-12Support libs included in the wrong lib targetBrad Stenning
Bug:73257641 Test: Manual; build and launch Change-Id: Ia71ea084f38f12f3daf282af2facc611cc75a3dc
2018-02-06Use var for design libraryAlan Viverette
Bug: 72796206 Test: make checkbuild Change-Id: Idf5e8d469d292c2a991730234e1cf60b7e61a83c