]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android/platform-packages-services-car.git/log
android/platform-packages-services-car.git
5 years agoMerge pie-platform-release to aosp-master - DO NOT MERGE nougat-iot-release android-n-iot-release-ihome-igv1 android-o-mr1-iot-release-cube-fcs android-o-mr1-iot-release-cube-fsi android-o-mr1-iot-release-cube_r2 android-o-mr1-iot-release-smart-display-r4 android-o-mr1-iot-release-smart-display-r5 android-o-mr1-iot-release-smart-display-r8 android-o-mr1-iot-release-smart-display-r9
Bill Yi [Wed, 24 Oct 2018 21:47:33 +0000 (14:47 -0700)]
Merge pie-platform-release to aosp-master - DO NOT MERGE

Change-Id: I33023427b4e03b6aaf58e5ca50468fe8bc95d925

5 years agocar: Remove explicit libpac dependency.
Colin Cross [Tue, 23 Oct 2018 21:25:24 +0000 (14:25 -0700)]
car: Remove explicit libpac dependency.

Included via PacProcessor's LOCAL_JNI_SHARED_LIBRARIES

Test: m
Change-Id: I87121cc3f1e356d57aa37b055a58ee8f19ee06d9

5 years agoMerge pi-dr1-dev to aosp-master
Bill Yi [Fri, 19 Oct 2018 19:20:52 +0000 (12:20 -0700)]
Merge pi-dr1-dev to aosp-master

Change-Id: Ic3c0e7a78eb6b38b2bc546da2a9ac7daee008a07

5 years agoUse public APIs not internal APIs pie-temp
Neil Fuller [Wed, 10 Oct 2018 23:15:52 +0000 (16:15 -0700)]
Use public APIs not internal APIs
am: 59cc3bcdaf

Change-Id: I1b2fbc29e41a0b6adedfb1f0d12c804305c25ade

5 years agoUse public APIs not internal APIs oreo-mr1-1.2-iot-release android-o-mr1-iot-release-smart-display-r3
Neil Fuller [Wed, 10 Oct 2018 18:22:29 +0000 (19:22 +0100)]
Use public APIs not internal APIs

All Libcore.os calls used in StorageLifetimeFragment
can be replaced with public API usage.

Bug: 113148576
Test: build
Change-Id: I37b7849c983ee3cfb9d1f7142e07de54c7a8ce2a

5 years agoMerge "Add system_file_type"
Nick Kralevich [Fri, 28 Sep 2018 04:14:11 +0000 (21:14 -0700)]
Merge "Add system_file_type"
am: d14b18d80e

Change-Id: Idfc4aeb0f26076c9d77cff80e4906b4cbe807705

5 years agoMerge "Add system_file_type" android-o-mr1-iot-release-1.0.5
Treehugger Robot [Fri, 28 Sep 2018 04:04:55 +0000 (04:04 +0000)]
Merge "Add system_file_type"

5 years agoAdd system_file_type
Nick Kralevich [Fri, 28 Sep 2018 03:18:56 +0000 (20:18 -0700)]
Add system_file_type
am: 708bd3efca

Change-Id: Id93b90d465ffb3a0f3b58450318482e694bc72e8

5 years agoAdd system_file_type
Nick Kralevich [Fri, 28 Sep 2018 00:28:26 +0000 (17:28 -0700)]
Add system_file_type

This file resides on /system, so must be annotated with the
system_file_type attribute.

Test: Policy compiles.
Change-Id: I4a3dc545514f333a3f657a4b0e2bfcde76917f66

5 years agoAdd system_file_type
Nick Kralevich [Thu, 27 Sep 2018 19:29:29 +0000 (12:29 -0700)]
Add system_file_type

This file resides on /system, so must be annotated with the
system_file_type attribute.

Test: Policy compiles.
Change-Id: I4aeacf4033a84ef0b088ae6c92f9531bbbf991b6

5 years agoConvert sysui to bp
Jason Monk [Thu, 16 Aug 2018 17:43:23 +0000 (13:43 -0400)]
Convert sysui to bp

Test: builds gonna build, tests gonna test
Change-Id: Ib31d88d0b1ce9ed61d401756d4b85f7e3ce884cd
Merged-In: Ib31d88d0b1ce9ed61d401756d4b85f7e3ce884cd
(cherry picked from commit 76aff98b2c3b77001c5e075ad9aa5408fb9e0963)
(cherry picked from commit b8fd4e05e549dad6bdea2031effd60d34dd96643)

5 years agoMark update-support-car-proguard-api as PHONY
Dan Willemsen [Sun, 2 Sep 2018 08:16:36 +0000 (01:16 -0700)]
Mark update-support-car-proguard-api as PHONY
am: 910e841ea8

Change-Id: I7babdb9ecb77c0d99b27ca49d8c55b14bf3e3671

5 years agoMark update-support-car-proguard-api as PHONY android-o-mr1-iot-release-1.0.4
Dan Willemsen [Sat, 1 Sep 2018 03:12:51 +0000 (20:12 -0700)]
Mark update-support-car-proguard-api as PHONY

Test: fewer warnings when adding --writable to kati args
Change-Id: Iae9e3091d3822576e1cd8c27ee604e5e89f08863

5 years agoMigrate to androidx namespace for support library.
Anthony Chen [Mon, 16 Apr 2018 23:20:44 +0000 (16:20 -0700)]
Migrate to androidx namespace for support library.

Fixes: 77483560
Test: build KitchenSink, deploy and test through fragments
Test: build and launch UxRestrictionsSample
Change-Id: I539c71464f5a486c9a9373bbbcae8ac14d24e477
Merged-In: I539c71464f5a486c9a9373bbbcae8ac14d24e477
(cherry picked from commit d12cd7712b0498fac816bc1fa10299a1127f711b)

5 years agoPass car API stubs to non-SDK enforcement
David Brazdil [Fri, 24 Aug 2018 16:12:48 +0000 (09:12 -0700)]
Pass car API stubs to non-SDK enforcement
am: 43231d977b

Change-Id: I0fe7d444a91770b024c7f77f3ee43a5ea4f8099b

5 years agoPass car API stubs to non-SDK enforcement
David Brazdil [Fri, 24 Aug 2018 13:36:57 +0000 (14:36 +0100)]
Pass car API stubs to non-SDK enforcement

Restrictions on non-SDK API access need to be given the public API
stubs to mark public vs. private DEX members. Add the necessary
build rules and add the stub packages to the list of parsed stubs.

Bug: 112762570
Test: lunch aosp_car_arm64-userdebug; m appcompat
Change-Id: Ibdd123b756aff5326890b76b94a9bd503e61ab7e

5 years agoMigrate android.car Droiddoc to Soong
Nan Zhang [Thu, 23 Aug 2018 03:08:32 +0000 (20:08 -0700)]
Migrate android.car Droiddoc to Soong
am: 110f615f78

Change-Id: Ibf90824c153b6acfb9e9513302cb1e35be29c47e

5 years agoMigrate android.car Droiddoc to Soong
Nan Zhang [Wed, 15 Aug 2018 19:05:04 +0000 (12:05 -0700)]
Migrate android.car Droiddoc to Soong

Test: Build:
m -j android.car-stubs
m -j android.car-stub-docs
m -j android.support.car-docs
APICheck:
m -j android.car-stubs-docs-check-current-api
m -j android.car-stubs-docs-check-last-released-api
m -j android.car-system-stubs-docs-check-current-api
m -j android.car-system-stubs-docs-check-last-released-api
m -j android.support.car-stubs-docs-check-current-api

Also diff the generated proguard api file between old one and new one.

Bug: b/70351683
Change-Id: I29dd1a53b3b7feee0f708c64005df9ade82a2ed6
Merged-In: I29dd1a53b3b7feee0f708c64005df9ade82a2ed6
(cherry-picked from commit: 6e86569abac63f3567c3a2e2ae80b1341b8421ec)

5 years agoMerge stage-dr1-aosp-master into stage-aosp-master
Xin Li [Mon, 13 Aug 2018 20:01:21 +0000 (13:01 -0700)]
Merge stage-dr1-aosp-master into stage-aosp-master

Bug: 112535855
Change-Id: I029296b42ebe4605eb504a1b68c9ed16634933a1

5 years agoMerge Android Pie into master am: 9a2f9097b5
Xin Li [Wed, 8 Aug 2018 01:54:16 +0000 (18:54 -0700)]
Merge Android Pie into master am: 9a2f9097b5
am: 6b3fa2d865

Change-Id: I405863e674fd500f699689c100d210352466ed5c

5 years agoMerge Android Pie into master
Xin Li [Tue, 7 Aug 2018 22:24:59 +0000 (15:24 -0700)]
Merge Android Pie into master
am: 9a2f9097b5

Change-Id: I2ae84a8e1fc7dc4725bf608c41eaca9934a6296d

5 years agoMerge Android Pie into master android-o-mr1-iot-release-1.0.3
Xin Li [Mon, 6 Aug 2018 23:51:31 +0000 (16:51 -0700)]
Merge Android Pie into master

Bug: 112104996
Change-Id: Ie760d204144a01ad1ad2495c2b9edad71d3ccd37

5 years ago[automerger skipped] Convert android.car to Soong. am: 683e37e879 -s ours
Nan Zhang [Tue, 24 Jul 2018 06:32:34 +0000 (23:32 -0700)]
[automerger skipped] Convert android.car to Soong. am: 683e37e879  -s ours
am: d3cda26c33  -s ours

Change-Id: I36077aa0797cf3cce4bf488a4e96c995e42580eb

5 years ago[automerger skipped] Convert android.car to Soong.
Nan Zhang [Tue, 24 Jul 2018 06:28:19 +0000 (23:28 -0700)]
[automerger skipped] Convert android.car to Soong.
am: 683e37e879  -s ours

Change-Id: Ica2935186bac383861ff2eee116d029d69d518cd

5 years ago[automerger skipped] Convert android.car to Soong.
Nan Zhang [Tue, 24 Jul 2018 00:16:49 +0000 (17:16 -0700)]
[automerger skipped] Convert android.car to Soong.
am: f1544c23aa  -s ours

Change-Id: I6f2d44dee7b18da1210515c58781547d6d97ca0c

5 years agoConvert android.car to Soong.
Nan Zhang [Fri, 20 Jul 2018 00:04:18 +0000 (17:04 -0700)]
Convert android.car to Soong.

In order to mirgrate Car java docs to Soong, we have to convert android.car
first. Synced with people from Car team, the original owner for the
flag:(TARGET_USES_CAR_FUTURE_FEATURES) have changed team. It seems that
currently this flag was set to true by default. So removed this flag,
and always use the future sources as Android.bp doesn't support
if-condition.

Submit this CL first before we make any changes on droiddoc in case we
break too much post-submit targets.

Test: lunch bat_land-userdebug && m -j android.car
Bug: b/70351683
Change-Id: I1135a84b1fd0e684c85a491c3811dd7e62bae721
Merged-In: I1135a84b1fd0e684c85a491c3811dd7e62bae721

5 years agoConvert android.car to Soong. android-n-iot-release-smart-display-r2
Nan Zhang [Fri, 20 Jul 2018 00:04:18 +0000 (17:04 -0700)]
Convert android.car to Soong.

In order to mirgrate Car java docs to Soong, we have to convert android.car
first. Synced with people from Car team, the original owner for the
flag:(TARGET_USES_CAR_FUTURE_FEATURES) have changed team. It seems that
currently this flag was set to true by default. So removed this flag,
and always use the future sources as Android.bp doesn't support
if-condition.

Submit this CL first before we make any changes on droiddoc in case we
break too much post-submit targets.

Test: no bat_land-userdebug Product in AOSP
Bug: b/70351683
Change-Id: I1135a84b1fd0e684c85a491c3811dd7e62bae721
Merged-In: I1135a84b1fd0e684c85a491c3811dd7e62bae721

5 years agoMerge pi-dev-plus-aosp-without-vendor into stage-dr1-aosp-master
Xin Li [Mon, 23 Jul 2018 05:10:26 +0000 (22:10 -0700)]
Merge pi-dev-plus-aosp-without-vendor into stage-dr1-aosp-master

Bug: 111615259
Change-Id: I78f39f6dbf92aab13c829077b1d0fd4e48f7caa2

5 years agoMerge "Fix the broken AAE build" into pi-dev-plus-aosp
Nan Zhang [Fri, 20 Jul 2018 21:46:55 +0000 (21:46 +0000)]
Merge "Fix the broken AAE build" into pi-dev-plus-aosp

5 years agoFix the broken AAE build
Nan Zhang [Fri, 20 Jul 2018 21:25:01 +0000 (14:25 -0700)]
Fix the broken AAE build

Set installable to true for android.car. Otherwise,
ninja reports error:
out/target/common/obj/JAVA_LIBRARIES/android.car_intermediates/javalib.jar',
needed by 'out/target/product/owl/dex_bootjars/system/framework/arm64/boot.art',
missing and no known rule to make it

Test: m clean && m -j PRODUCT-owl-userdebug
Bug: b/111691313, b/70351683
Change-Id: I4ccf518b49e6f33785f4afa757eb4f345e6958db

5 years agoMerge "Convert android.car to Soong." into pi-dev-plus-aosp
TreeHugger Robot [Fri, 20 Jul 2018 19:11:33 +0000 (19:11 +0000)]
Merge "Convert android.car to Soong." into pi-dev-plus-aosp

5 years agoConvert android.car to Soong.
Nan Zhang [Fri, 20 Jul 2018 00:04:18 +0000 (17:04 -0700)]
Convert android.car to Soong.

In order to mirgrate Car java docs to Soong, we have to convert android.car
first. Synced with people from Car team, the original owner for the
flag:(TARGET_USES_CAR_FUTURE_FEATURES) have changed team. It seems that
currently this flag was set to true by default. So removed this flag,
and always use the future sources as Android.bp doesn't support
if-condition.

Submit this CL first before we make any changes on droiddoc in case we
break too much post-submit targets.

Test: lunch bat_land-userdebug && m -j android.car
Bug: b/70351683
Change-Id: I1135a84b1fd0e684c85a491c3811dd7e62bae721

5 years agoMerge pi-dev-plus-aosp-without-vendor into stage-dr1-aosp-master
Xin Li [Fri, 20 Jul 2018 06:46:46 +0000 (23:46 -0700)]
Merge pi-dev-plus-aosp-without-vendor into stage-dr1-aosp-master
am: dba0fffb75

Change-Id: If1eb5e2e582081661e59212ed751d022d0ec927a

5 years agoMerge "Provide an option to disable UxR change broadcast." into pi-dev
Ram Periathiruvadi [Fri, 20 Jul 2018 02:02:06 +0000 (19:02 -0700)]
Merge "Provide an option to disable UxR change broadcast." into pi-dev
am: 90ba1f1362

Change-Id: If9c7609a349ffa788a080d25aca8e394d1417f57

5 years agoMerge "Provide an option to disable UxR change broadcast." into pi-dev pie-dr1-dev
TreeHugger Robot [Thu, 19 Jul 2018 22:29:50 +0000 (22:29 +0000)]
Merge "Provide an option to disable UxR change broadcast." into pi-dev

5 years agoMerge pi-dev-plus-aosp-without-vendor into stage-dr1-aosp-master
Xin Li [Thu, 19 Jul 2018 20:50:35 +0000 (13:50 -0700)]
Merge pi-dev-plus-aosp-without-vendor into stage-dr1-aosp-master

Bug: 111615259
Change-Id: I5a017a0b2aa33a3ed5f2756148ec8c252d3a0e98

5 years agoProvide an option to disable UxR change broadcast.
Ram Periathiruvadi [Wed, 18 Jul 2018 01:01:31 +0000 (18:01 -0700)]
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

5 years agoMerge "EVS patches from AOSP" into pi-dev
Scott Randolph [Tue, 17 Jul 2018 16:09:39 +0000 (09:09 -0700)]
Merge "EVS patches from AOSP" into pi-dev
am: 98563bff3e

Change-Id: Iafa0f550f34fdb4e436597f04e552ff53ae9fb57

5 years agoMerge "EVS patches from AOSP" into pi-dev
TreeHugger Robot [Tue, 17 Jul 2018 15:41:44 +0000 (15:41 +0000)]
Merge "EVS patches from AOSP" into pi-dev

5 years agoMerge "Expose VehicleLightState and VehicleLightSwitch" into pi-dev
Kai [Tue, 17 Jul 2018 02:20:59 +0000 (19:20 -0700)]
Merge "Expose VehicleLightState and VehicleLightSwitch" into pi-dev
am: 8ee9436e54

Change-Id: I3be1ad2222725fe4dc188f5dbcb1b35123e3a55e

5 years agoMerge "Expose VehicleLightState and VehicleLightSwitch" into pi-dev
TreeHugger Robot [Tue, 17 Jul 2018 02:13:22 +0000 (02:13 +0000)]
Merge "Expose VehicleLightState and VehicleLightSwitch" into pi-dev

5 years agoExpose VehicleLightState and VehicleLightSwitch
Kai [Mon, 16 Jul 2018 21:32:50 +0000 (14:32 -0700)]
Expose VehicleLightState and VehicleLightSwitch

Bug: 111449581
Test: make and flash into Mojave
Change-Id: I651ee213cf67d68a223727156c6a8b606556d8b3

5 years agoMerge "Expose accessIds in car-lib" into pi-dev
Kai [Sat, 14 Jul 2018 04:42:11 +0000 (21:42 -0700)]
Merge "Expose accessIds in car-lib" into pi-dev
am: 1b7f18054a

Change-Id: I1e797863f7d9da92a3cb05021ebf3c2364717dff

5 years agoMerge "Expose accessIds in car-lib" into pi-dev
TreeHugger Robot [Sat, 14 Jul 2018 00:26:22 +0000 (00:26 +0000)]
Merge "Expose accessIds in car-lib" into pi-dev

5 years agoExpose accessIds in car-lib
Kai [Fri, 13 Jul 2018 22:07:53 +0000 (15:07 -0700)]
Expose accessIds in car-lib

Expose accessIds in car-lib.

Bug: 111372110
Test: make and flash into Mojave
Change-Id: I7a9315efc331006197fc45c82bd3b56e0c59ba03

5 years agoMerge "Expose VHAL propertyId for CarPropertyManager" into pi-dev
Kai Wang [Fri, 13 Jul 2018 18:27:53 +0000 (11:27 -0700)]
Merge "Expose VHAL propertyId for CarPropertyManager" into pi-dev
am: 575f76483b

Change-Id: Ib4f25c7c3338efd806b5c4e3c3ed5b9f2141c3f7

5 years agoMerge "Expose VHAL propertyId for CarPropertyManager" into pi-dev
Kai Wang [Fri, 13 Jul 2018 18:10:53 +0000 (18:10 +0000)]
Merge "Expose VHAL propertyId for CarPropertyManager" into pi-dev

5 years agoMerge "Change default name of first admin user in headless model." into pi-dev
Ying Zheng [Fri, 13 Jul 2018 17:55:01 +0000 (10:55 -0700)]
Merge "Change default name of first admin user in headless model." into pi-dev
am: 681e112999

Change-Id: Iee14aeb694d6d9af905a484864ed36314bc21a1d

5 years agoMerge "Change default name of first admin user in headless model." into pi-dev
TreeHugger Robot [Fri, 13 Jul 2018 17:35:07 +0000 (17:35 +0000)]
Merge "Change default name of first admin user in headless model." into pi-dev

5 years agoFix car service crash. Add needed sepolicy configs
Nicholas Sauer [Fri, 13 Jul 2018 03:49:04 +0000 (20:49 -0700)]
Fix car service crash. Add needed sepolicy configs
am: d6b4148a24

Change-Id: Id8eb4079d703fa89936540034fd9d99fb9bb3bfd

5 years agoExpose VHAL propertyId for CarPropertyManager
Kai [Wed, 11 Jul 2018 17:45:50 +0000 (10:45 -0700)]
Expose VHAL propertyId for CarPropertyManager

Expose VHAL propertyid for CarPorertyManger in car-lib.

Bug: 111321976
Test: build and flash into Mojave
Change-Id: I348b727631cfac0cc4121f14fe985acb085ba16b

5 years agoFix car service crash. Add needed sepolicy configs
Nicholas Sauer [Thu, 12 Jul 2018 19:23:43 +0000 (12:23 -0700)]
Fix car service crash. Add needed sepolicy configs

bug: 111399355
Test: lunch gcar & m & emulator
Change-Id: I1ad7cbf0db22460a69f61cff5a46cf7528dab65b

5 years agoEVS patches from AOSP
Scott Randolph [Thu, 12 Jul 2018 20:10:36 +0000 (13:10 -0700)]
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

5 years agoevs_manager : Fix state bug that handling multiple requests for same camera am: b96b2...
min.yun [Thu, 12 Jul 2018 17:42:00 +0000 (10:42 -0700)]
evs_manager : Fix state bug that handling multiple requests for same camera am: b96b282bc5
am: a976ef9f85

Change-Id: Ic74052c78ecd6eded534f24fc9fc71e620f2f6c5

5 years agoevs_manager : Fix state bug that handling multiple requests for same camera
min.yun [Thu, 12 Jul 2018 17:23:18 +0000 (10:23 -0700)]
evs_manager : Fix state bug that handling multiple requests for same camera
am: b96b282bc5

Change-Id: I391cd824dd525da54e4670a77624f767cf1330f6

5 years agoMerge "Cleanup javadoc for CarUxRestrictions." into pi-dev
Ram Periathiruvadi [Thu, 12 Jul 2018 17:18:16 +0000 (10:18 -0700)]
Merge "Cleanup javadoc for CarUxRestrictions." into pi-dev
am: cdce23cde4

Change-Id: I532d1e2a695b897418c919f0dfd4195cb09de9e4

5 years agoMerge "Cleanup javadoc for CarUxRestrictions." into pi-dev
Ram Periathiruvadi [Thu, 12 Jul 2018 17:01:54 +0000 (17:01 +0000)]
Merge "Cleanup javadoc for CarUxRestrictions." into pi-dev

5 years agoevs_manager : Fix state bug that handling multiple requests for same camera android-p-preview-5
min.yun [Thu, 12 Jul 2018 05:43:49 +0000 (14:43 +0900)]
evs_manager : Fix state bug that handling multiple requests for same camera

Fix state bug that handling multiple requests for same camera.
When secondary virtual camera calls startVideoStream(),
the hal camera open the real camera whether opened or not.

5 years agoMerge "Fix CarPackageManager reading blacklisted packages." into pi-dev
Ram Periathiruvadi [Thu, 12 Jul 2018 04:11:53 +0000 (21:11 -0700)]
Merge "Fix CarPackageManager reading blacklisted packages." into pi-dev
am: 94b37d8d10

Change-Id: Ie3742f1039ee7e9d4872ac76d815f33eda815619

5 years agoCleanup javadoc for CarUxRestrictions.
Ram Periathiruvadi [Thu, 12 Jul 2018 03:34:14 +0000 (20:34 -0700)]
Cleanup javadoc for CarUxRestrictions.

Bug: 111273021
Test: make and boot
Change-Id: I1732660249c57e95c9128412dd3d54915b05a3ba

5 years agoMerge "Fix CarPackageManager reading blacklisted packages." into pi-dev
Ram Periathiruvadi [Thu, 12 Jul 2018 03:22:36 +0000 (03:22 +0000)]
Merge "Fix CarPackageManager reading blacklisted packages." into pi-dev

5 years agoUpdate default fallback idling state UX restrictions.
Ram Periathiruvadi [Thu, 12 Jul 2018 02:30:10 +0000 (19:30 -0700)]
Update default fallback idling state UX restrictions.
am: 44d57dcc48

Change-Id: I53d0b351273b0c53dbcb2fd2e9fb57f7e1d0c8be

5 years agoFix CarPackageManager reading blacklisted packages.
Ram Periathiruvadi [Thu, 12 Jul 2018 01:31:13 +0000 (18:31 -0700)]
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

5 years agoChange default name of first admin user in headless model.
Ying Zheng [Wed, 11 Jul 2018 23:39:01 +0000 (16:39 -0700)]
Change default name of first admin user in headless model.

Test: Unit test
Bug: 110787654
Change-Id: I0d05b8c13c67de935c15cb7290cf061e02c6ea38

5 years agoUpdate default fallback idling state UX restrictions.
Ram Periathiruvadi [Wed, 11 Jul 2018 23:30:48 +0000 (16:30 -0700)]
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

5 years agoMerge "Send global type property event in register" into pi-dev
Kai Wang [Tue, 10 Jul 2018 17:29:12 +0000 (10:29 -0700)]
Merge "Send global type property event in register" into pi-dev
am: f26773ed52

Change-Id: Ia7fa0840bada956b39da20b97158a8087b74d920

5 years agoMerge "Init DayNightMode after booting" into pi-dev
Kai Wang [Tue, 10 Jul 2018 17:29:01 +0000 (10:29 -0700)]
Merge "Init DayNightMode after booting" into pi-dev
am: bec3d91a12

Change-Id: I555798f3f91e5c2fe238f98851765dd97afecb22

5 years agoMerge "Send global type property event in register" into pi-dev
Kai Wang [Tue, 10 Jul 2018 17:18:13 +0000 (17:18 +0000)]
Merge "Send global type property event in register" into pi-dev

5 years agoMerge "Init DayNightMode after booting" into pi-dev
Kai Wang [Tue, 10 Jul 2018 17:18:13 +0000 (17:18 +0000)]
Merge "Init DayNightMode after booting" into pi-dev

5 years agoMerge "Add connectivity test fragment to KitchenSink" into pi-dev
Pavel Maltsev [Tue, 10 Jul 2018 02:27:15 +0000 (19:27 -0700)]
Merge "Add connectivity test fragment to KitchenSink" into pi-dev
am: bdbf66ece0

Change-Id: I0d58e4d739806eaf2d69e6e4eec113ec35f6c5fa

5 years agoMerge "Add connectivity test fragment to KitchenSink" into pi-dev
TreeHugger Robot [Tue, 10 Jul 2018 01:30:42 +0000 (01:30 +0000)]
Merge "Add connectivity test fragment to KitchenSink" into pi-dev

5 years agoSend global type property event in register
Kai [Fri, 29 Jun 2018 00:24:12 +0000 (17:24 -0700)]
Send global type property event in register

Send global type properties' events sunch as AC_ON, Night_Mode
when we are registering.

Bug: 110899894109817929
Test: Test in OWL and Mojave
Change-Id: If713a18b33361466ab2e7499db48732ff57eb255

5 years agoMerge "Adding car specific default guest restrictions." into pi-dev
Jovana Knezevic [Sat, 30 Jun 2018 23:04:41 +0000 (16:04 -0700)]
Merge "Adding car specific default guest restrictions." into pi-dev
am: f7482de1ce

Change-Id: I26b0303b4cd9be111d918d113aa6fbf66bf0f448

5 years agoMerge "Adding car specific default guest restrictions." into pi-dev
Jovana Knezevic [Sat, 30 Jun 2018 22:56:41 +0000 (22:56 +0000)]
Merge "Adding car specific default guest restrictions." into pi-dev

5 years agoAdding car specific default guest restrictions.
jovanak [Thu, 28 Jun 2018 18:22:14 +0000 (11:22 -0700)]
Adding car specific default guest restrictions.

Fixes: 109697763
Test: atest CarUserManagerHelperTest
Change-Id: I6b5c70b9e2975198f5db90604604f68eb4e757bf

5 years agoMerge "Fix setting night mode and change test crashes EKS" into pi-dev
Kai Wang [Fri, 29 Jun 2018 21:54:28 +0000 (14:54 -0700)]
Merge "Fix setting night mode and change test crashes EKS" into pi-dev
am: 5238ebf05e

Change-Id: I3562149690b040b3a2e75e35d3eb3a19bacb3e79

5 years agoMerge "Fixing a bug in maximum users allowed logic on the device." into pi-dev
Jovana Knezevic [Fri, 29 Jun 2018 21:48:52 +0000 (14:48 -0700)]
Merge "Fixing a bug in maximum users allowed logic on the device." into pi-dev
am: f948e8d286

Change-Id: I2c38cc1053ba516d62da257201508356e2266b88

5 years agoMerge "Fix setting night mode and change test crashes EKS" into pi-dev
Kai Wang [Fri, 29 Jun 2018 21:48:36 +0000 (21:48 +0000)]
Merge "Fix setting night mode and change test crashes EKS" into pi-dev

5 years agoMerge "Fixing a bug in maximum users allowed logic on the device." into pi-dev
Jovana Knezevic [Fri, 29 Jun 2018 20:37:51 +0000 (20:37 +0000)]
Merge "Fixing a bug in maximum users allowed logic on the device." into pi-dev

5 years agoFix setting night mode and change test crashes EKS
Kai [Wed, 20 Jun 2018 19:37:52 +0000 (12:37 -0700)]
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: 110043754110437786
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)

5 years agoAdd connectivity test fragment to KitchenSink
Pavel Maltsev [Fri, 22 Jun 2018 22:45:09 +0000 (15:45 -0700)]
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

5 years agoFixing a bug in maximum users allowed logic on the device.
jovanak [Fri, 29 Jun 2018 18:38:57 +0000 (11:38 -0700)]
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

5 years agoMerge "Invoke Assistant via VoiceInteractionSession." into pi-dev
Nicholas Sauer [Thu, 28 Jun 2018 19:00:14 +0000 (12:00 -0700)]
Merge "Invoke Assistant via VoiceInteractionSession." into pi-dev
am: b1b7956934

Change-Id: Ia137fa48c2850a954016fc8287a7a597d99ac12e

5 years agoMerge "Invoke Assistant via VoiceInteractionSession." into pi-dev
TreeHugger Robot [Thu, 28 Jun 2018 18:41:06 +0000 (18:41 +0000)]
Merge "Invoke Assistant via VoiceInteractionSession." into pi-dev

5 years agoAdding methods for keeping track of user limits on the device.
jovanak [Thu, 28 Jun 2018 18:23:59 +0000 (11:23 -0700)]
Adding methods for keeping track of user limits on the device.
am: 10e6ff0f6c

Change-Id: I3ef708d3b09c0fb342f45298509927b15d4a92a8

5 years agoAdding methods for keeping track of user limits on the device.
jovanak [Wed, 27 Jun 2018 01:45:30 +0000 (18:45 -0700)]
Adding methods for keeping track of user limits on the device.

Bug:80197830
Test: atest CarUserManagerHelperTest
Change-Id: I32f06fdff713c3f0b71e9c39c3a6db8804643b8f

5 years agoInvoke Assistant via VoiceInteractionSession.
Nicholas Sauer [Tue, 19 Jun 2018 22:04:04 +0000 (15:04 -0700)]
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

5 years agoDisable location for headless system user.
Ying Zheng [Wed, 27 Jun 2018 01:57:29 +0000 (18:57 -0700)]
Disable location for headless system user.
am: 1ab32b66ef

Change-Id: If398330a9d20f0ebdd19924433c55e4d95f86d4c

5 years agoDisable location for headless system user.
Ying Zheng [Tue, 26 Jun 2018 19:47:26 +0000 (12:47 -0700)]
Disable location for headless system user.

Bug: 79535369
Test: Unit test
Change-Id: If93a9aedd69588dbc939fe7fa1c963ae91a85dc6

5 years agoInit DayNightMode after booting
Kai [Fri, 22 Jun 2018 21:41:57 +0000 (14:41 -0700)]
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)

5 years agoMerge "Enables registering/unregistering multiple update listeners." into pi-dev
Jovana Knezevic [Mon, 25 Jun 2018 22:28:10 +0000 (15:28 -0700)]
Merge "Enables registering/unregistering multiple update listeners." into pi-dev
am: 4aff01310e

Change-Id: I19142119f20992a788988fe6aef35ec41b10af32

5 years agoMerge "Enables registering/unregistering multiple update listeners." into pi-dev
Jovana Knezevic [Mon, 25 Jun 2018 22:14:32 +0000 (22:14 +0000)]
Merge "Enables registering/unregistering multiple update listeners." into pi-dev

5 years agoMerge "Update last active user." into pi-dev
Ying Zheng [Mon, 25 Jun 2018 20:22:53 +0000 (13:22 -0700)]
Merge "Update last active user." into pi-dev
am: d50321314e

Change-Id: I703c701e55c4279a2b24718eedd24a7d120347a7

5 years agoMerge "Update last active user." into pi-dev
Ying Zheng [Mon, 25 Jun 2018 20:09:05 +0000 (20:09 +0000)]
Merge "Update last active user." into pi-dev

5 years agoEnables registering/unregistering multiple update listeners.
jovanak [Sat, 23 Jun 2018 00:23:43 +0000 (17:23 -0700)]
Enables registering/unregistering multiple update listeners.

Change-Id: I8c59dd8bb675644f4c7bc0e4488a3c3576b01631
Fixes: 110708099
Test: atest CarUserManagerHelperTest

5 years agoUpdate last active user.
Ying Zheng [Fri, 22 Jun 2018 23:54:51 +0000 (16:54 -0700)]
Update last active user.

Test: Unit test
Bug: 110156344
Change-Id: If8967f3acc434759e4f5b8bc25d6d913c1fa4ee6

5 years agoFix bug in CarPropertyUtils.toCarPropertyValue which returns an Integer when an Integ...
Xin Wei Chow [Fri, 22 Jun 2018 21:41:33 +0000 (14:41 -0700)]
Fix bug in CarPropertyUtils.toCarPropertyValue which returns an Integer when an Integer[] is expected.
am: d2335e6a0c

Change-Id: I0a2206e3a2fda66f821bc3264ccdac39af392d8b

5 years agoFix bug in CarPropertyUtils.toCarPropertyValue which returns an Integer when an Integ...
Xin Wei Chow [Wed, 20 Jun 2018 10:20:59 +0000 (20:20 +1000)]
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

5 years agoMerge "Associate user id with unlock token handle" into pi-dev
Hongwei Wang [Thu, 21 Jun 2018 23:07:51 +0000 (16:07 -0700)]
Merge "Associate user id with unlock token handle" into pi-dev
am: 5748e3e917

Change-Id: Ia279a2741af33969a1006893127618054ad5dcc6

5 years agoMerge "Associate user id with unlock token handle" into pi-dev
TreeHugger Robot [Thu, 21 Jun 2018 23:00:15 +0000 (23:00 +0000)]
Merge "Associate user id with unlock token handle" into pi-dev