aboutsummaryrefslogtreecommitdiff
path: root/service
AgeCommit message (Collapse)Author
2018-07-13Merge "Change default name of first admin user in headless model." into pi-devTreeHugger Robot
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-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-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 "Update last active user." into pi-devYing Zheng
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 "Update set last active user to exclude ephemeral users." into pi-devYing Zheng
2018-06-21Update set last active user to exclude ephemeral users.Ying Zheng
Bug: 110156344,78908555 Test: Unit test Change-Id: I4975184ef47adaeb472ea295b7d433cee24ea3a4
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-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-20Merge "Update the CarLocationService to work when the system user is ↵Gregory Clark
headless." into pi-dev
2018-06-20Merge "Ensure the initial volume when creating audio patch" into pi-devHongwei Wang
2018-06-19Update the CarLocationService to work when the system user is headless.Gregory Clark
Bug: b/79772231 Test: Tested on Owl and ran atest CarLocationServiceTest Change-Id: I1598f0fba0ba5335cb1d9c81e16d1db8d7922df0
2018-06-19Ensure the initial volume when creating audio patchHongwei Wang
Bug: 79984989 Test: Switch audio sources on OWL bench Change-Id: Ic7320fecfc8a42ff4886099ff7831f85cba146b0
2018-06-19Merge "Check app install source before checking for DO." into pi-devRam Periathiruvadi
2018-06-18Sends KEYCODE_MEDIA_{PLAY,PAUSE} on master muteHongwei Wang
Bug: 80080995 Test: Press mute button on OWL Change-Id: Ie35850893ec2e2b3f36badb25800b6d94f4e3830
2018-06-18Persists master mute state, overlay-ableHongwei Wang
Bug: 80541413 Test: adb shell input keyevent 164 Change-Id: I1626692885c67a0ff81bf88b57b8d00aad093b01
2018-06-18Check app install source before checking for DO.Ram Periathiruvadi
Check if the non system apps were installed from an allowed app store before looking for the distraction optimized activities in their manifest. This prevents unauthorized apps faking DO behavior. Bug: 109941605 Test: Test if sideloaded apps with DO activities are not added to the allowed to run in a restricted state list. Change-Id: I20f1560d1f26910216dcacc0333d2ae3b6fd1f27
2018-06-15Merge "Fix typecast" into pi-devTreeHugger Robot
2018-06-14Fix typecastSteve Paik
Bug: 110238490 Test: Code review Change-Id: I4978041e86b04686362588376b7c7f16de2bfa69
2018-06-14[Garage Mode: Refactoring] Scoped out GarageModePolicy into separateSerik Beketayev
class. Test: JUnit and Manual Bug: 110113240 Change-Id: If74bf030dcef842eca1f8c0fa8e9758897be0cb9 (cherry picked from commit 06a666831768f85e042c49868e5ed27231ba95d7)
2018-06-14Merge "Disable add accounts for user 0." into pi-devYing Zheng
2018-06-14Disable add accounts for user 0.Ying Zheng
Bug: 79535560 Test: Unit test Change-Id: Ib0f04ee28829c60e46fbc378b04917a04a52c5ae
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-12Make default boot into user and last active user settable.Ying Zheng
Bug: 79535271 78908507 Test: Build Change-Id: Ie30982b9b34a154faa580fff7a025b1d1be88e2d
2018-06-08Merge "Move CAR_IDENTIFICATION to signature" into pi-devpie-devNicholas Sauer
2018-06-08Move CAR_IDENTIFICATION to signatureKai
Move CAR_IDENTIFICATION from dangerous to signature protection level. Bug: 80144371 Fixes: 109900350 Test: Make and flash to Mojave Change-Id: Iacb5ca5955006557d7acf7b200f0294d7a53e07a
2018-06-08Merge "Support flags for volume change callback" into pi-devTreeHugger Robot
2018-06-07Add int64_vec type to CarPropertyValueKai
CarPropertyValue "WHEEL_TICK" is int64_vec type. Bug:109759390 Test: runtest -x packages/services/Car/tests/carservice_test/ launch sensors from Kitchen sink app Change-Id: Ie3be7ec22492cf375504ebde9b88f09124cf9a42 (cherry picked from commit 6090ebbba638c4e3017fba53503efc3534d00b4b)
2018-06-07Support flags for volume change callbackHongwei Wang
Note: this change adds the support of flags and need further changes to actually fix the UI/UX logic raise by the original bug Bug: 109841417 Test: m -j Change-Id: Ifdbe4afa672af02c7f66417b614609893ee737b2
2018-06-06Fix driving state for manual transmission.Ram Periathiruvadi
Listen to parking brake status in addition to the gear selection. Revisit the initialization portion of the driving state and ux restrictions when car service is created to handle corner case situations when sensor data is not available from the VHAL. Bug: 69859926 Test: runtest -x CarDrivingRestrictions.java Change-Id: I4d11e0e7275c4cca840235619d83462742ba3f40
2018-06-04Rename VEHICLE_AREA_TYPE_NONE --> VEHICLE_AREA_TYPE_GLOBALSteve Paik
Bug: 79921986 Test: runtest -x packages/services/Car/tests/carservice_test ` Change-Id: I87876e066cfc9f4bbcbd3021c5057b8030292a48
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-06-01DO NOT MERGE - Create a car user service. Protected by flag.Ying Zheng
Test: Unit test Bug: 79536548 Change-Id: I8f8a42a5811e38c8c03f0f5d4e9665870a44674d
2018-05-31Merge "Dumps master mute in CarAudioService" into pi-devHongwei Wang
2018-05-30Merge "Delay binding to vms publisher service clients" into pi-devTreeHugger Robot
2018-05-30Dumps master mute in CarAudioServiceHongwei Wang
Bug: 80474559 Test: adb shell dumpsys activity service com.android.car/.CarService Change-Id: Ic6ddd8c300149fb2fa0a770337e877b5aeb5e01c
2018-05-29Delay binding to vms publisher service clientsPavel Maltsev
Also, refactor VmsPublisherService to reduce memory footprint, flatten class hierarchy, get rid of lock Test: bat_land Bug: 79697265 Change-Id: Ia53c43a97f960ffa8e78617612ff9fac378e7fb4
2018-05-25Merge "Update the UI of blocking screen." into pi-devTreeHugger Robot