aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-07-17Merge "EVS patches from AOSP" into pi-devTreeHugger Robot
2018-07-17Merge "Expose VehicleLightState and VehicleLightSwitch" into pi-devTreeHugger Robot
2018-07-16Expose VehicleLightState and VehicleLightSwitchKai
Bug: 111449581 Test: make and flash into Mojave Change-Id: I651ee213cf67d68a223727156c6a8b606556d8b3
2018-07-14Merge "Expose accessIds in car-lib" into pi-devTreeHugger Robot
2018-07-13Expose accessIds in car-libKai
Expose accessIds in car-lib. Bug: 111372110 Test: make and flash into Mojave Change-Id: I7a9315efc331006197fc45c82bd3b56e0c59ba03
2018-07-13Merge "Expose VHAL propertyId for CarPropertyManager" into pi-devKai Wang
2018-07-13Merge "Change default name of first admin user in headless model." into pi-devTreeHugger Robot
2018-07-12Expose VHAL propertyId for CarPropertyManagerKai
Expose VHAL propertyid for CarPorertyManger in car-lib. Bug: 111321976 Test: build and flash into Mojave Change-Id: I348b727631cfac0cc4121f14fe985acb085ba16b
2018-07-12Fix car service crash. Add needed sepolicy configsNicholas Sauer
bug: 111399355 Test: lunch gcar & m & emulator Change-Id: I1ad7cbf0db22460a69f61cff5a46cf7528dab65b
2018-07-12EVS patches from AOSPScott Randolph
Apply a couple of minor fixes recieved via AOSP patches to the sample EVS driver and evs application. Header guards added MIPs turned off for video texture Video buffer released from gl context at end of each frame Bug: 111402303 Test: Build mojave Change-Id: Ic96a91601b74030a894f8a3f5182709af0c761d0
2018-07-12Merge "Cleanup javadoc for CarUxRestrictions." into pi-devRam Periathiruvadi
2018-07-11Cleanup javadoc for CarUxRestrictions.Ram Periathiruvadi
Bug: 111273021 Test: make and boot Change-Id: I1732660249c57e95c9128412dd3d54915b05a3ba
2018-07-12Merge "Fix CarPackageManager reading blacklisted packages." into pi-devRam Periathiruvadi
2018-07-11Fix CarPackageManager reading blacklisted packages.Ram Periathiruvadi
Ignore empty strings coming from the config.xml. Bug: 80428042 Test: check boot logcat to make sure we ignore empty blacklist strings. Change-Id: Ie9563690f85f7dfbde1e80a1ff545bc66abb0e92
2018-07-11Change default name of first admin user in headless model.Ying Zheng
Test: Unit test Bug: 110787654 Change-Id: I0d05b8c13c67de935c15cb7290cf061e02c6ea38
2018-07-11Update default fallback idling state UX restrictions.Ram Periathiruvadi
Update the fallback restrictions to be in sync with the default restrictions found in the car_ux_restrictions_map.xml. Bug: 111367243 Test: Validate idling UX restrictions to not require DO, when no mapping XML is provided. Change-Id: Ibcbb9dbafd99dfe0444a04ecd5b3c7dc590ee833
2018-07-10Merge "Send global type property event in register" into pi-devKai Wang
2018-07-10Merge "Init DayNightMode after booting" into pi-devKai Wang
2018-07-10Merge "Add connectivity test fragment to KitchenSink" into pi-devTreeHugger Robot
2018-07-02Send global type property event in registerKai
Send global type properties' events sunch as AC_ON, Night_Mode when we are registering. Bug: 110899894, 109817929 Test: Test in OWL and Mojave Change-Id: If713a18b33361466ab2e7499db48732ff57eb255
2018-06-30Merge "Adding car specific default guest restrictions." into pi-devJovana Knezevic
2018-06-30Adding car specific default guest restrictions.jovanak
Fixes: 109697763 Test: atest CarUserManagerHelperTest Change-Id: I6b5c70b9e2975198f5db90604604f68eb4e757bf
2018-06-29Merge "Fix setting night mode and change test crashes EKS" into pi-devKai Wang
2018-06-29Merge "Fixing a bug in maximum users allowed logic on the device." into pi-devJovana Knezevic
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-29Fixing a bug in maximum users allowed logic on the device.jovanak
We need to use CarUserManagerHelper.getMaxSupportedUsers instead of UserManager.getMaxSupportedUsers() to correctly take user 0 into account in headles system user model. Bug: 80197830 Test: atest CarUserManagerHelperTest Change-Id: I167aa03d2c6ed03dc225cb4686a07395518752b8
2018-06-28Merge "Invoke Assistant via VoiceInteractionSession." into pi-devTreeHugger Robot
2018-06-28Adding methods for keeping track of user limits on the device.jovanak
Bug:80197830 Test: atest CarUserManagerHelperTest Change-Id: I32f06fdff713c3f0b71e9c39c3a6db8804643b8f
2018-06-28Invoke Assistant via VoiceInteractionSession.Nicholas Sauer
bug: 110378156 Test: lunch bat_land-userdbyg && m; deploy and use the input activity in kitchen sink to verify voice. Change-Id: I96ff5377560a5698290a082eb6eb3b4e8017e3bb
2018-06-26Disable location for headless system user.Ying Zheng
Bug: 79535369 Test: Unit test Change-Id: If93a9aedd69588dbc939fe7fa1c963ae91a85dc6
2018-06-25Init DayNightMode after bootingKai
Get and set DayNightMode after booting. Bug: 109817929 Test: Flash to Owl and test Change-Id: Iaca1cb22490899d5e7e3b60aeaa2a45b18e2c7b0 (cherry picked from commit 7644f4826eef7b45dd0528367d56bed7a08c4b96)
2018-06-25Merge "Enables registering/unregistering multiple update listeners." into pi-devJovana Knezevic
2018-06-25Merge "Update last active user." into pi-devYing Zheng
2018-06-25Enables registering/unregistering multiple update listeners.jovanak
Change-Id: I8c59dd8bb675644f4c7bc0e4488a3c3576b01631 Fixes: 110708099 Test: atest CarUserManagerHelperTest
2018-06-25Update last active user.Ying Zheng
Test: Unit test Bug: 110156344 Change-Id: If8967f3acc434759e4f5b8bc25d6d913c1fa4ee6
2018-06-22Fix bug in CarPropertyUtils.toCarPropertyValue which returns an Integer when ↵Xin Wei Chow
an Integer[] is expected. Bug: 110245496 Change-Id: Ib09593c4b03e65e60208e326e070220223e96550 Fixes: 110245496 Test: runtest -x packages/services/Car/tests/android_car_api_test
2018-06-21Merge "Associate user id with unlock token handle" into pi-devTreeHugger Robot
2018-06-21Merge "Update set last active user to exclude ephemeral users." into pi-devYing Zheng
2018-06-21Associate user id with unlock token handleHongwei Wang
Note: this assumes user-0 is always unlocked otherwise one would not be able to access shared preference for user-0 when cold booted to lock screen. To test this CL, turn on the following system property android.car.systemuser.headless=true This build flag will make Android boot into a headless user-0 model and user-0 will always be unlocked. Bluetooth stack gets restarted every time switching user. This CL also ensures the BLE trust agent service is started after bluetooth finishes rebooting. Current limitations: - Unlock token works only if user sets password - Unlock token is not activated till user finishes lock-unlock once Bug: 78602296 Bug: 77854782 Test: unlock user by trust device on Mojave Change-Id: Ifc2bf97593adbb77d518d6b11c06ea5234a4ebbd
2018-06-21Merge "Return mocked AudioManager in car unit tests" into pi-devHongwei Wang
2018-06-21Update set last active user to exclude ephemeral users.Ying Zheng
Bug: 110156344,78908555 Test: Unit test Change-Id: I4975184ef47adaeb472ea295b7d433cee24ea3a4
2018-06-21Return mocked AudioManager in car unit testsHongwei Wang
Bug: 110532739 Test: atest CarServiceTest Change-Id: I12d8499e5b3cca6696b934b03d89647a271113c0
2018-06-21Merge "Fix display brightness scaling" into pi-devSteve Paik
2018-06-21Fix display brightness scalingSteve Paik
Bug: 80498984 Test: Settings app Change-Id: I009ce2df5f003255c4ebefff6876aa1c38037897 Merged-In: Ifdfb1340ee0236a77664d11676082d60db4b1663
2018-06-21Merge "Import CarPropertyManager into CarInfoManager" into pi-devKai Wang
2018-06-20Import CarPropertyManager into CarInfoManagerKai
Bug: 110492154 Test: runtest -x packages/services/Car/tests/carservice_unit_test/ runtest -x packages/services/Car/tests/carservice_test/ runtest -x packages/services/Car/tests/android_car_api_test Change-Id: I47b4f26ecb8868890d490b95176b14f6e7b60822
2018-06-20Complete the logic around last active user, including:Ying Zheng
- Update CarSettings last active user when user switched. - Boot into the last active user if valid, or boot into the smallest user id. - Not allow deleting the last admin user, so we have a user 10+ to boot into. Test: Unit test Bug: 110156344,110425490,110425354 Change-Id: I3e85805bf469bd17709973936e8c3285c8f44207
2018-06-20Removes the test that fails when running it in user 0.jovanak
Cannot implement this test because of inability to mock current user, so removing until robolectric tests are available. Bug:110232368 Test: atest CarUserManagerHelperTest Change-Id: I4be6615ab8c3c616606384495bc7006f2bbeb0f8
2018-06-20Merge "Update the CarLocationService to work when the system user is ↵Gregory Clark
headless." into pi-dev