5 years agoSnap for 4957529 from 95c93939201441d8b5eaba422ccc7c1bea47e574 to pi-qpr1-release pie-qpr1-release pie-qpr1-s1-release pie-qpr1-s2-release pie-qpr1-s3-release pie-qpr2-release android-9.0.0_r16 android-9.0.0_r19 android-9.0.0_r20 android-9.0.0_r21 android-9.0.0_r22 android-9.0.0_r30 android-9.0.0_r31 android-9.0.0_r32 android-9.0.0_r33 android-9.0.0_r34 android-9.0.0_r35
Snap for 4957529 from 95c93939201441d8b5eaba422ccc7c1bea47e574 to pi-qpr1-release
Change-Id: I13691362b626005dc503e12312f76a0aad67e315
Change-Id: I13691362b626005dc503e12312f76a0aad67e315
5 years agoAdds CarTrustAgentClientApp as test app for trust agent pie-b4s4-dev pie-qpr3-b-release pie-qpr3-release pie-qpr3-s1-release android-9.0.0_r36 android-9.0.0_r37 android-9.0.0_r40 android-9.0.0_r41 android-9.0.0_r42 android-9.0.0_r43 android-9.0.0_r44 android-9.0.0_r45 android-9.0.0_r46 android-9.0.0_r47
Adds CarTrustAgentClientApp as test app for trust agent
Bug: 111192659
Test: m -j CarTrustAgentClient
Change-Id: Ic075bc44fc192157cf323a806e1fcd1063411666
Merged-In: Ic075bc44fc192157cf323a806e1fcd1063411666
(cherry picked from commit f7a9b9a878a68638bb07470f70177aee47f580d0)
Bug: 111192659
Test: m -j CarTrustAgentClient
Change-Id: Ic075bc44fc192157cf323a806e1fcd1063411666
Merged-In: Ic075bc44fc192157cf323a806e1fcd1063411666
(cherry picked from commit f7a9b9a878a68638bb07470f70177aee47f580d0)
Snap for 4922203 from 50191247deaa32508a5d230b9124ce9df74e0416 to pi-qpr1-release
Change-Id: I4b58f776f690060aa1032106843449f29ca5dde8
Change-Id: I4b58f776f690060aa1032106843449f29ca5dde8
Merge "Cache CarPropertyConfigs in CarPropertyService" into pi-dev
Snap for 4916303 from a4673b6b5ccbdb09fc65d316497ab39b826fcbfa to pi-qpr1-release
Change-Id: I67bafc194b2562c817f6d3a272aa7e76b3f127e8
Change-Id: I67bafc194b2562c817f6d3a272aa7e76b3f127e8
Fixed package name in mocked car service
Bug: 111373478
Test: atest CarServiceTest
Change-Id: I4a98ca4411f5caa4925acffc7d3630284c7471dd
Bug: 111373478
Test: atest CarServiceTest
Change-Id: I4a98ca4411f5caa4925acffc7d3630284c7471dd
Merge "Expose PortLocationType in car-lib" into pi-dev
Merge "Remove ADJUST_CAR_CABIN permission" into pi-dev
Expose PortLocationType in car-lib
Expose PortLocationType in car-lib
Bug: 111659213
Test: make and flash
Change-Id: If5265fe05b9b8a15fbab8bb69f3ca60cec2bdc23
Expose PortLocationType in car-lib
Bug: 111659213
Test: make and flash
Change-Id: If5265fe05b9b8a15fbab8bb69f3ca60cec2bdc23
Remove ADJUST_CAR_CABIN permission
Remove ADJUST_CAR_CABIN permission.
Bug: 111695778
Test: make and flash
Change-Id: I4bb6a7bcaf5066bf64b14e3318de2f2f094835ea
Remove ADJUST_CAR_CABIN permission.
Bug: 111695778
Test: make and flash
Change-Id: I4bb6a7bcaf5066bf64b14e3318de2f2f094835ea
Cache CarPropertyConfigs in CarPropertyService
Cache CarPropertyConfigs in init().
Bug:111694943
Test: build and logcat
Change-Id: I66713cf7accf4b12279d809a2d77e2e2e69e93d7
Cache CarPropertyConfigs in init().
Bug:111694943
Test: build and logcat
Change-Id: I66713cf7accf4b12279d809a2d77e2e2e69e93d7
Merge "Provide an option to disable UxR change broadcast." into pi-dev
Provide an option to disable UxR change broadcast.
This is an option in debug builds to be able to turn off broadcasting UX
restriction changes, so non-drive-optimized apps will not be blocked by
the system in a restricted state. In other words, this turns off the UX
restriction engine.
Bug: 111515554
Test: Test if previously blocked apps and activities can run when UX
restriction engine is disabled.
Change-Id: I6e6af550bade5fb5e84603e3bf5c962e94a881ef
This is an option in debug builds to be able to turn off broadcasting UX
restriction changes, so non-drive-optimized apps will not be blocked by
the system in a restricted state. In other words, this turns off the UX
restriction engine.
Bug: 111515554
Test: Test if previously blocked apps and activities can run when UX
restriction engine is disabled.
Change-Id: I6e6af550bade5fb5e84603e3bf5c962e94a881ef
Merge "EVS patches from AOSP" into pi-dev
Merge "Expose VehicleLightState and VehicleLightSwitch" into pi-dev
Expose VehicleLightState and VehicleLightSwitch
Bug: 111449581
Test: make and flash into Mojave
Change-Id: I651ee213cf67d68a223727156c6a8b606556d8b3
Bug: 111449581
Test: make and flash into Mojave
Change-Id: I651ee213cf67d68a223727156c6a8b606556d8b3
Merge "Expose accessIds in car-lib" into pi-dev
Expose accessIds in car-lib
Expose accessIds in car-lib.
Bug: 111372110
Test: make and flash into Mojave
Change-Id: I7a9315efc331006197fc45c82bd3b56e0c59ba03
Expose accessIds in car-lib.
Bug: 111372110
Test: make and flash into Mojave
Change-Id: I7a9315efc331006197fc45c82bd3b56e0c59ba03
Merge "Expose VHAL propertyId for CarPropertyManager" into pi-dev
Merge "Change default name of first admin user in headless model." into pi-dev
Expose VHAL propertyId for CarPropertyManager
Expose VHAL propertyid for CarPorertyManger in car-lib.
Bug: 111321976
Test: build and flash into Mojave
Change-Id: I348b727631cfac0cc4121f14fe985acb085ba16b
Expose VHAL propertyid for CarPorertyManger in car-lib.
Bug: 111321976
Test: build and flash into Mojave
Change-Id: I348b727631cfac0cc4121f14fe985acb085ba16b
Fix car service crash. Add needed sepolicy configs
bug: 111399355
Test: lunch gcar & m & emulator
Change-Id: I1ad7cbf0db22460a69f61cff5a46cf7528dab65b
bug: 111399355
Test: lunch gcar & m & emulator
Change-Id: I1ad7cbf0db22460a69f61cff5a46cf7528dab65b
EVS patches from AOSP
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
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
Merge "Cleanup javadoc for CarUxRestrictions." into pi-dev
Cleanup javadoc for CarUxRestrictions.
Bug: 111273021
Test: make and boot
Change-Id: I1732660249c57e95c9128412dd3d54915b05a3ba
Bug: 111273021
Test: make and boot
Change-Id: I1732660249c57e95c9128412dd3d54915b05a3ba
Merge "Fix CarPackageManager reading blacklisted packages." into pi-dev
Fix CarPackageManager reading blacklisted packages.
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
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
Change default name of first admin user in headless model.
Test: Unit test
Bug: 110787654
Change-Id: I0d05b8c13c67de935c15cb7290cf061e02c6ea38
Test: Unit test
Bug: 110787654
Change-Id: I0d05b8c13c67de935c15cb7290cf061e02c6ea38
Update default fallback idling state UX restrictions.
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
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
Merge "Send global type property event in register" into pi-dev
Merge "Init DayNightMode after booting" into pi-dev
Merge "Add connectivity test fragment to KitchenSink" into pi-dev
Send global type property event in register
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
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
Merge "Adding car specific default guest restrictions." into pi-dev
Adding car specific default guest restrictions.
Fixes: 109697763
Test: atest CarUserManagerHelperTest
Change-Id: I6b5c70b9e2975198f5db90604604f68eb4e757bf
Fixes: 109697763
Test: atest CarUserManagerHelperTest
Change-Id: I6b5c70b9e2975198f5db90604604f68eb4e757bf
Merge "Fix setting night mode and change test crashes EKS" into pi-dev
Merge "Fixing a bug in maximum users allowed logic on the device." into pi-dev
Fix setting night mode and change test crashes EKS
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)
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)
Add connectivity test fragment to KitchenSink
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
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
Fixing a bug in maximum users allowed logic on the device.
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
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
Merge "Invoke Assistant via VoiceInteractionSession." into pi-dev
Adding methods for keeping track of user limits on the device.
Bug:80197830
Test: atest CarUserManagerHelperTest
Change-Id: I32f06fdff713c3f0b71e9c39c3a6db8804643b8f
Bug:80197830
Test: atest CarUserManagerHelperTest
Change-Id: I32f06fdff713c3f0b71e9c39c3a6db8804643b8f
Invoke Assistant via VoiceInteractionSession.
bug: 110378156
Test: lunch bat_land-userdbyg && m; deploy and use the input activity in kitchen sink to verify voice.
Change-Id: I96ff5377560a5698290a082eb6eb3b4e8017e3bb
bug: 110378156
Test: lunch bat_land-userdbyg && m; deploy and use the input activity in kitchen sink to verify voice.
Change-Id: I96ff5377560a5698290a082eb6eb3b4e8017e3bb
Disable location for headless system user.
Bug: 79535369
Test: Unit test
Change-Id: If93a9aedd69588dbc939fe7fa1c963ae91a85dc6
Bug: 79535369
Test: Unit test
Change-Id: If93a9aedd69588dbc939fe7fa1c963ae91a85dc6
Init DayNightMode after booting
Get and set DayNightMode after booting.
Bug: 109817929
Test: Flash to Owl and test
Change-Id: Iaca1cb22490899d5e7e3b60aeaa2a45b18e2c7b0
(cherry picked from commit 7644f4826eef7b45dd0528367d56bed7a08c4b96)
Get and set DayNightMode after booting.
Bug: 109817929
Test: Flash to Owl and test
Change-Id: Iaca1cb22490899d5e7e3b60aeaa2a45b18e2c7b0
(cherry picked from commit 7644f4826eef7b45dd0528367d56bed7a08c4b96)
Merge "Enables registering/unregistering multiple update listeners." into pi-dev
Merge "Update last active user." into pi-dev
Enables registering/unregistering multiple update listeners.
Change-Id: I8c59dd8bb675644f4c7bc0e4488a3c3576b01631
Fixes: 110708099
Test: atest CarUserManagerHelperTest
Change-Id: I8c59dd8bb675644f4c7bc0e4488a3c3576b01631
Fixes: 110708099
Test: atest CarUserManagerHelperTest
Update last active user.
Test: Unit test
Bug: 110156344
Change-Id: If8967f3acc434759e4f5b8bc25d6d913c1fa4ee6
Test: Unit test
Bug: 110156344
Change-Id: If8967f3acc434759e4f5b8bc25d6d913c1fa4ee6
Fix bug in CarPropertyUtils.toCarPropertyValue which returns an Integer when an Integer[] is expected.
Bug: 110245496
Change-Id: Ib09593c4b03e65e60208e326e070220223e96550
Fixes: 110245496
Test: runtest -x packages/services/Car/tests/android_car_api_test
Bug: 110245496
Change-Id: Ib09593c4b03e65e60208e326e070220223e96550
Fixes: 110245496
Test: runtest -x packages/services/Car/tests/android_car_api_test
Merge "Associate user id with unlock token handle" into pi-dev
Merge "Update set last active user to exclude ephemeral users." into pi-dev
Associate user id with unlock token handle
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
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
Merge "Return mocked AudioManager in car unit tests" into pi-dev
Update set last active user to exclude ephemeral users.
Bug: 110156344,78908555
Test: Unit test
Change-Id: I4975184ef47adaeb472ea295b7d433cee24ea3a4
Bug: 110156344,78908555
Test: Unit test
Change-Id: I4975184ef47adaeb472ea295b7d433cee24ea3a4
Return mocked AudioManager in car unit tests
Bug: 110532739
Test: atest CarServiceTest
Change-Id: I12d8499e5b3cca6696b934b03d89647a271113c0
Bug: 110532739
Test: atest CarServiceTest
Change-Id: I12d8499e5b3cca6696b934b03d89647a271113c0
Merge "Fix display brightness scaling" into pi-dev
Fix display brightness scaling
Bug: 80498984
Test: Settings app
Change-Id: I009ce2df5f003255c4ebefff6876aa1c38037897
Merged-In: Ifdfb1340ee0236a77664d11676082d60db4b1663
Bug: 80498984
Test: Settings app
Change-Id: I009ce2df5f003255c4ebefff6876aa1c38037897
Merged-In: Ifdfb1340ee0236a77664d11676082d60db4b1663
Merge "Import CarPropertyManager into CarInfoManager" into pi-dev
Import CarPropertyManager into CarInfoManager
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
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
Complete the logic around last active user, including:
- 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
- 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
Removes the test that fails when running it in user 0.
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
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
Merge "Update the CarLocationService to work when the system user is headless." into pi-dev
Merge "Change BASIC_INFO_EV_CONNECTOR_TYPES ValueType" into pi-dev
Merge "Ensure the initial volume when creating audio patch" into pi-dev
Update the CarLocationService to work when the system user is headless.
Bug: b/79772231
Test: Tested on Owl and ran atest CarLocationServiceTest
Change-Id: I1598f0fba0ba5335cb1d9c81e16d1db8d7922df0
Bug: b/79772231
Test: Tested on Owl and ran atest CarLocationServiceTest
Change-Id: I1598f0fba0ba5335cb1d9c81e16d1db8d7922df0
Ensure the initial volume when creating audio patch
Bug: 79984989
Test: Switch audio sources on OWL bench
Change-Id: Ic7320fecfc8a42ff4886099ff7831f85cba146b0
Bug: 79984989
Test: Switch audio sources on OWL bench
Change-Id: Ic7320fecfc8a42ff4886099ff7831f85cba146b0
Merge "Check app install source before checking for DO." into pi-dev
Change BASIC_INFO_EV_CONNECTOR_TYPES ValueType
BASIC_INFO_EV_CONNECTOR_TYPES should be Int32_vec
Bug: 110245496
Test: Build and run Unit Test
Change-Id: I28ee4a379d6c426160da37e59b204a5b17c18c19
BASIC_INFO_EV_CONNECTOR_TYPES should be Int32_vec
Bug: 110245496
Test: Build and run Unit Test
Change-Id: I28ee4a379d6c426160da37e59b204a5b17c18c19
Merge "Making Guest ephemeral for the missed build targets." into pi-dev
Merge "Adjusting restrictions applied to non-admins." into pi-dev
Adjusting restrictions applied to non-admins.
1. Do not apply DISALLOW_REMOVE_USERS restriction. Enforce this in removeUser method to allow users to remove themselves.
2. Remove DISALLOW_SMS and DISALLOW_OUTGOING_CALLS restrictions that are applied by the framework.
Fixes: 110232368
Bug: 109697822
Test: atest CarUserManagerHelperTest; verified restrictions on mojave.
Change-Id: I036e30088ec9febdab87c19006f32772f2a3b1fc
1. Do not apply DISALLOW_REMOVE_USERS restriction. Enforce this in removeUser method to allow users to remove themselves.
2. Remove DISALLOW_SMS and DISALLOW_OUTGOING_CALLS restrictions that are applied by the framework.
Fixes: 110232368
Bug: 109697822
Test: atest CarUserManagerHelperTest; verified restrictions on mojave.
Change-Id: I036e30088ec9febdab87c19006f32772f2a3b1fc
Making Guest ephemeral for the missed build targets.
Bug: 77336441
Test: verified in emulator.
Change-Id: I8ae72f1b21581ae0a07e613ea09edc7c2f61427b
Bug: 77336441
Test: verified in emulator.
Change-Id: I8ae72f1b21581ae0a07e613ea09edc7c2f61427b
Sends KEYCODE_MEDIA_{PLAY,PAUSE} on master mute
Bug: 80080995
Test: Press mute button on OWL
Change-Id: Ie35850893ec2e2b3f36badb25800b6d94f4e3830
Bug: 80080995
Test: Press mute button on OWL
Change-Id: Ie35850893ec2e2b3f36badb25800b6d94f4e3830
Persists master mute state, overlay-able
Bug: 80541413
Test: adb shell input keyevent 164
Change-Id: I1626692885c67a0ff81bf88b57b8d00aad093b01
Bug: 80541413
Test: adb shell input keyevent 164
Change-Id: I1626692885c67a0ff81bf88b57b8d00aad093b01
Check app install source before checking for DO.
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
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
Merge "Fix CarUserManagerHelperTest." into pi-dev
Merge "Only admins or system user car create other admins." into pi-dev
Only admins or system user car create other admins.
Change-Id: Ie67d0a9f7ff70594c075af6bb824e69d85feaf02
Fixes: 109698068
Test: atest CarUserManagerHelperTest
Change-Id: Ie67d0a9f7ff70594c075af6bb824e69d85feaf02
Fixes: 109698068
Test: atest CarUserManagerHelperTest
Fix CarUserManagerHelperTest.
Test: Unit test
Bug: 110165933
Change-Id: I6b286316a3c3b64624f366ad23356a36373ed7a5
Test: Unit test
Bug: 110165933
Change-Id: I6b286316a3c3b64624f366ad23356a36373ed7a5
Merge "Fix typecast" into pi-dev
[Garage Mode: Refactoring] Scoped out GarageModePolicy into separate
class.
Test: JUnit and Manual
Bug: 110113240
Change-Id: If74bf030dcef842eca1f8c0fa8e9758897be0cb9
(cherry picked from commit 06a666831768f85e042c49868e5ed27231ba95d7)
class.
Test: JUnit and Manual
Bug: 110113240
Change-Id: If74bf030dcef842eca1f8c0fa8e9758897be0cb9
(cherry picked from commit 06a666831768f85e042c49868e5ed27231ba95d7)
Merge "Disable add accounts for user 0." into pi-dev
Merge "Clean up for ENV_OUTSIDE_TEMPERATURE" into pi-dev
Disable add accounts for user 0.
Bug: 79535560
Test: Unit test
Change-Id: Ib0f04ee28829c60e46fbc378b04917a04a52c5ae
Bug: 79535560
Test: Unit test
Change-Id: Ib0f04ee28829c60e46fbc378b04917a04a52c5ae
Merge "Fixing tests in CarUserManagerHelperTest." into pi-dev
Clean up for ENV_OUTSIDE_TEMPERATURE
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
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
Fixing tests in CarUserManagerHelperTest.
We cannot rely on foreground user being different than system user. This depends
on which user runs the test.
Since we cannot mock foreground user, test that requires it has been removed. It
will be migrated to robolectric test.
Bug: 110165933
Test: atest CarUserManagerHelperTest
Change-Id: I4b7bab2ea38afd5e3278a735418cfa2dd266ce5a
We cannot rely on foreground user being different than system user. This depends
on which user runs the test.
Since we cannot mock foreground user, test that requires it has been removed. It
will be migrated to robolectric test.
Bug: 110165933
Test: atest CarUserManagerHelperTest
Change-Id: I4b7bab2ea38afd5e3278a735418cfa2dd266ce5a
Merge "Cache property configs for CarSensorManager" into pi-dev
Cache property configs for CarSensorManager
Bug:110049364
Test: Embedded Kitchen Sink + logcat
Change-Id: I02aa0e28894d93fe5fefb3be45008d3db41d4a64
Bug:110049364
Test: Embedded Kitchen Sink + logcat
Change-Id: I02aa0e28894d93fe5fefb3be45008d3db41d4a64
Merge "Adding default user restrictions for non-admin users." into pi-dev
Adding default user restrictions for non-admin users.
When a new non-admin is created, restrictions are applied.
When a non-admin is upgraded to admin status, restrictions are lifted.
Change-Id: I3798ec181cb0752cfb8851815c115bef349b311a
Fixes: 109697822
Test: atest CarUserManagerHelperTest
When a new non-admin is created, restrictions are applied.
When a non-admin is upgraded to admin status, restrictions are lifted.
Change-Id: I3798ec181cb0752cfb8851815c115bef349b311a
Fixes: 109697822
Test: atest CarUserManagerHelperTest
Merge "Make default boot into user and last active user settable." into pi-dev
Make default boot into user and last active user settable.
Bug: 79535271 78908507
Test: Build
Change-Id: Ie30982b9b34a154faa580fff7a025b1d1be88e2d
Bug: 79535271 78908507
Test: Build
Change-Id: Ie30982b9b34a154faa580fff7a025b1d1be88e2d
Merge "Adding API for assigning admin privileges to CarUserManagerHelper." into pi-dev
Merge "Fixing failing tests in CarUserManagerHelperTest." into pi-dev
Adding API for assigning admin privileges to CarUserManagerHelper.
Change-Id: Id413d30f9d75bbf2eaebed784a5164d7b1a24c85
Fixes: 109698105
Test: atest CarUserManagerHelperTest
Change-Id: Id413d30f9d75bbf2eaebed784a5164d7b1a24c85
Fixes: 109698105
Test: atest CarUserManagerHelperTest
Fixing failing tests in CarUserManagerHelperTest.
Annotating the Test with @SmallTest to run it on builds and get code coverage.
Change-Id: I329ad8358b3b15e3333439020b94f8a2a8d32de3
Fixes: 109885930
Test: atest CarUserManagerHelperTest
Annotating the Test with @SmallTest to run it on builds and get code coverage.
Change-Id: I329ad8358b3b15e3333439020b94f8a2a8d32de3
Fixes: 109885930
Test: atest CarUserManagerHelperTest
Change keyguard pattern layout to side by side
Change-Id: I5aaecbedce12e23cdd1ab5c12028671c769453e0
Fixes: 80135373
Test: In head unit
Change-Id: I5aaecbedce12e23cdd1ab5c12028671c769453e0
Fixes: 80135373
Test: In head unit