android/platform-packages-services-car.git
20 months agoMark libcarpowermanager as vendor_available master
Hyejin Kim [Fri, 9 Aug 2019 09:13:33 +0000 (18:13 +0900)]
Mark libcarpowermanager as vendor_available

libcarpowermanager can be used by vendor module.
Mark libcarpowermanager as vendor_available.

Bug: 139171860
Test: Compile and boot successfully
Change-Id: Ie042fe9ad2b441f6f841b22af5f2ef1bebec62a0

Change-Id: I8cccae9bc83c638e650f50d016aae220f50acf0d

22 months agoMerge "Create fake CarPropertyValue for an error event" android-o-mr1-iot-release-1.0.13 android-o-mr1-iot-release-1.0.14
Kai Wang [Fri, 7 Jun 2019 18:37:04 +0000 (18:37 +0000)]
Merge "Create fake CarPropertyValue for an error event"

22 months agoCreate fake CarPropertyValue for an error event
Kai [Wed, 5 Jun 2019 22:03:28 +0000 (15:03 -0700)]
Create fake CarPropertyValue for an error event

Instead of create a CarPropertyValue with NULL value, we create
it with a default fake value. CarPropertyManager drops the value
of CarPropertyValue, when it has the ERROR flag as eventType.
Add a adb command to inject an error event. Use it to test.
For exmaple:
dumpsys activity service com.android.car inject-error-event 354419977 12 3

Bug: 134441058
Test: inject an error event for VHAL
Change-Id: I6d2f0523a3c57ee252b777e6d79c8d7e6de322a4
Merged-In: I6d2f0523a3c57ee252b777e6d79c8d7e6de322a4
(cherry picked from commit 4b098cf1b9e347805a6fc4308549104491f1dbcb)

22 months agoMatch src paths with aidl package name
Dan Willemsen [Thu, 6 Jun 2019 20:38:12 +0000 (13:38 -0700)]
Match src paths with aidl package name

In order for the build system to track updates to the header files
during incremental builds, always specify the src files using the same
path as the package for C++ compilations.

Bug: 112114177
Test: treehugger
Change-Id: I333743c2b5399e96c7d9cbcb8da28126da2d43ea

22 months agoExport some api files for use by cts/tests/signature tests
Paul Duffin [Thu, 30 May 2019 14:42:41 +0000 (15:42 +0100)]
Export some api files for use by cts/tests/signature tests

Creates a filegroup for each of these files:
* api/system-current.txt
* api/system-removed.txt

Bug: 122332514
Test: atest -p cts/tests/signature
Change-Id: Ib1c45dd788f2c9c3771eac958ac2d2c892cdbf86

22 months agoRemove references to non-existant directories
Dan Willemsen [Tue, 28 May 2019 20:38:18 +0000 (13:38 -0700)]
Remove references to non-existant directories

frameworks/base/include does not exist.

Test: treehugger
Change-Id: I05a472b821a384a9f9920f6a25ace562686e334d

23 months agoAdd common sepolicy required by AOSP Auto devices
Chao Yan [Fri, 26 Apr 2019 00:11:57 +0000 (17:11 -0700)]
Add common sepolicy required by AOSP Auto devices
am: ed16d9e28a

Change-Id: I57e4e724a8b71c6f5a2657f14315165bb5e5f101

23 months agoAdd common sepolicy required by AOSP Auto devices oreo-mr1-iot-release android-o-mr1-iot-release-1.0.12
Chao Yan [Wed, 24 Apr 2019 21:31:45 +0000 (14:31 -0700)]
Add common sepolicy required by AOSP Auto devices

Bug: 131230835
Test: lunch aosp_cf_x86_auto-userdebug && m dist -j48 && launch and
check selinux denials.

Change-Id: I6086eabd2533148ff2c8c5f84294de4c715baab5

23 months agoFixed car_product resource overlay reference
Chao Yan [Wed, 24 Apr 2019 05:14:00 +0000 (22:14 -0700)]
Fixed car_product resource overlay reference
am: 21aac0aa41

Change-Id: Ic3647751f71044177c913f0249ce46764783ee11

23 months agoFixed car_product resource overlay reference
Chao Yan [Tue, 23 Apr 2019 23:18:09 +0000 (16:18 -0700)]
Fixed car_product resource overlay reference

This is a temporary fix only for Automotive target on AOSP. It should be
overridden by latest changes from internal repo after merge. Please do
not merge this change to internal branches

Bug: 130915274
Test: lunch aosp_cf_x86_auto-userdebug && m dist -j

Change-Id: Ib213bfc093e5452d6c99e4fe7cbaa3c344f5d027
Merged-In: Icede2b0a3bbb84226e811d6fadaf44da5f6d5e76

2 years agoUpdates EVS sepolicies
Changyeon Jo [Tue, 5 Mar 2019 17:22:48 +0000 (09:22 -0800)]
Updates EVS sepolicies
am: d6dad36401

Change-Id: I6474fff593042bcf3d4ad49da1b3d6196df7ed3c

2 years agoUpdates EVS sepolicies android-o-mr1-iot-release-1.0.10 android-q-preview-1 android-q-preview-2.5 android-q-preview-4 android-q-preview-5 android-q-preview-6
Changyeon Jo [Mon, 4 Mar 2019 20:19:41 +0000 (12:19 -0800)]
Updates EVS sepolicies

Adds more permissions based on audit results.

Change-Id: Ia34a1581fd47dcb8dd3a12eaf62293f914ef0d4a
Signed-off-by: Changyeon Jo <changyeon@google.com>
2 years agoMerge "DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master" into stage-aosp...
Xin Li [Thu, 21 Feb 2019 07:04:14 +0000 (07:04 +0000)]
Merge "DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master" into stage-aosp-master

2 years agoMerge "Car Service : Enable sepolicy for HFP feature"
Xavier, BrunoX [Thu, 21 Feb 2019 02:43:09 +0000 (18:43 -0800)]
Merge "Car Service : Enable sepolicy for HFP feature"
am: d81057e6b2

Change-Id: Ieacca65d7ffa454dfb96e91a319fb7c2cdad432e

2 years agoMerge "Car Service : Enable sepolicy for HFP feature"
Treehugger Robot [Thu, 21 Feb 2019 02:33:28 +0000 (02:33 +0000)]
Merge "Car Service : Enable sepolicy for HFP feature"

2 years agoDO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master
Xin Li [Thu, 21 Feb 2019 00:19:54 +0000 (16:19 -0800)]
DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master

Bug: 120848293
Change-Id: Id40dd7bc0c358a489750f01c26f642576a503a9e

2 years agoCar Service : Enable sepolicy for HFP feature
Xavier, BrunoX [Tue, 18 Dec 2018 03:44:45 +0000 (09:14 +0530)]
Car Service : Enable sepolicy for HFP feature

It helps to pick the bluetooth call by CANBOX button

Bug: 121168506
Test: BT connected with a phone & make an incoming call.
      Not able to receive call.

Change-Id: Idc83838d4e103c46c167e201a36d119b3e713ac2
Signed-off-by: Ramesh Babu B <ramesh.babu.b@intel.com>
2 years agoMerge "Fix operators priority to prevent NullPointerException"
Oleh Cherpak [Tue, 19 Feb 2019 21:55:05 +0000 (13:55 -0800)]
Merge "Fix operators priority to prevent NullPointerException"
am: 3f5d2dea40

Change-Id: I312e74cf955c36f23936b86fe59fbcae3096edf9

2 years agoMerge "Fix operators priority to prevent NullPointerException"
Treehugger Robot [Tue, 19 Feb 2019 21:32:44 +0000 (21:32 +0000)]
Merge "Fix operators priority to prevent NullPointerException"

2 years agoFix operators priority to prevent NullPointerException
Oleh Cherpak [Tue, 12 Feb 2019 13:43:33 +0000 (15:43 +0200)]
Fix operators priority to prevent NullPointerException

test: run cts -m CtsIncidentHostTestCases

Signed-off-by: Oleh Cherpak <oleh.cherpak@globallogic.com>
Change-Id: Icfe1f40051fa084b248153f29d1bf0359eea8b61
Merged-In: Icfe1f40051fa084b248153f29d1bf0359eea8b61

2 years agoAdd binder_service() to procfsinspector
Changyeon Jo [Fri, 15 Feb 2019 01:38:35 +0000 (17:38 -0800)]
Add binder_service() to procfsinspector
am: f097cd4c8d

Change-Id: Icf1db8b7d8b80d895f5b5fb90f9f03ede6823318

2 years agoAdd binder_service() to procfsinspector
Changyeon Jo [Thu, 14 Feb 2019 19:09:03 +0000 (19:09 +0000)]
Add binder_service() to procfsinspector

Bug: 124210553
Test: m selinux_policy -j
Change-Id: Idde6b12766d6d8786ede747df1ed388c2f07b14a
Signed-off-by: Changyeon Jo <changyeon@google.com>
2 years agoAdd an empty 3.txt to prevent last-released-api check errors
Selim Gurun [Sun, 3 Feb 2019 00:39:01 +0000 (16:39 -0800)]
Add an empty 3.txt to prevent last-released-api check errors
am: 6a5c1b5cdd

Change-Id: Ief23ee547ff19c1bd03cab8cf7d68d5bf9b7d770

2 years agoAdd an empty 3.txt to prevent last-released-api check errors
Selim Gurun [Thu, 31 Jan 2019 22:54:30 +0000 (14:54 -0800)]
Add an empty 3.txt to prevent last-released-api check errors

There is work going on to re-enable linter checks for errors from last
api release. Android automotive APIs are going through an intentional
set of breaking changes. This change adds an empty released API
file to prevent the linter check to detect breaking changes as errors.
This CL also fixes some warning cases.

Test: make android.car-stubs-docs-check-last-released-api

Change-Id: I1a28d20ace58283fd360a26e4233805808723727

2 years agoAdd default code reviewers into OWNERS
Chih-Hung Hsieh [Tue, 22 Jan 2019 21:54:01 +0000 (13:54 -0800)]
Add default code reviewers into OWNERS
am: 28ad67a72f

Change-Id: I5e63a1a17453cfe561302da61f485f44acc9c00e

2 years agoAdd default code reviewers into OWNERS
Chih-Hung Hsieh [Fri, 18 Jan 2019 18:44:55 +0000 (10:44 -0800)]
Add default code reviewers into OWNERS

Bug: 33166666
Test: gerrit uploader
Change-Id: Ie61f478d356c8e17d3af4e6ad7100fc052f497f4

2 years agoUpdate signature files to the new format
Tor Norbye [Sun, 20 Jan 2019 15:26:34 +0000 (07:26 -0800)]
Update signature files to the new format
am: 1eb03e4be2

Change-Id: I1552f61ba9fc588830f89f244e684149f15ecbd9

2 years agoUpdate signature files to the new format
Tor Norbye [Sat, 12 Jan 2019 01:40:20 +0000 (17:40 -0800)]
Update signature files to the new format

The new format is described in tools/metalava/FORMAT.md.

Change-Id: Ib452b5c37e1d2668ac4fedc900501e8528161c6b
Fixes: 116589402 Switch signature files over to the v2 format
Fixes: 112626813 Drop "synchronized" modifier from the signature format
Fixes: 122358225 Omit overriding methods that only differ in final [...]
Fixes: 73088715 API Review: Need doclava to output nullability
Fixes: 79739773 API Review: Metalava enforcing constants are constant
Exempt-From-Owner-Approval: Large-scale tooling change
Test: make sdk, make update-api, make checkapi
Merged-In: I60f800e4a4e4659ac122c3f8ffb91e64e6339b4c

2 years agocar-lib: Fix metalava arguments am: 5b707a4a5e
Luca Stefani [Sun, 13 Jan 2019 18:23:40 +0000 (10:23 -0800)]
car-lib: Fix metalava arguments am: 5b707a4a5e
am: fe3b40edaa

Change-Id: If8e488c9d878cf5107afed4eb0175d634323fb51

2 years agocar-lib: Fix metalava arguments
Luca Stefani [Sun, 13 Jan 2019 18:18:36 +0000 (10:18 -0800)]
car-lib: Fix metalava arguments
am: 5b707a4a5e

Change-Id: I31d4871ef378e214e4dfa7f0a37071423f37215d

2 years agocar-lib: Fix metalava arguments
Luca Stefani [Sun, 13 Jan 2019 10:53:14 +0000 (11:53 +0100)]
car-lib: Fix metalava arguments

Merged-In: Ib7cab01e85e7032ffbc7cf03771a59b8f2bfd46d
Change-Id: I8a1e5970bd3b9c148715fc032fe36156ec82339c

2 years agoSwitch car-lib over from doclava to metalava am: 517e7d161c
Tor Norbye [Sun, 13 Jan 2019 04:11:48 +0000 (20:11 -0800)]
Switch car-lib over from doclava to metalava am: 517e7d161c
am: e859d9af9c

Change-Id: I5951401462ca0b09fdc14bb72f0d5d04e3f4ad51

2 years agoSwitch car-lib over from doclava to metalava
Tor Norbye [Sun, 13 Jan 2019 04:07:42 +0000 (20:07 -0800)]
Switch car-lib over from doclava to metalava
am: 517e7d161c

Change-Id: Id955715010dbd55bbf5b98d92652cb3e45aa1004

2 years agoSwitch car-lib over from doclava to metalava
Tor Norbye [Sat, 5 Jan 2019 05:03:51 +0000 (21:03 -0800)]
Switch car-lib over from doclava to metalava

The platform API files are about to switch to signature file format
v2, which doclava cannot parse, so updating this build to using API
check via metalava instead of doclava.

Note: Metalava checks for additional API and docs problems which
doclava did not; some of these are errors which would fail the
build. Therefore, we turn off these warnings until the source
code is fixed.

Test: make docs
Change-Id: Ic66e24c0af5794f4136d5680ff83d0171ea01af2
Exempt-From-Owner-Approval: Large-scale tooling change
Merged-In: Ib7cab01e85e7032ffbc7cf03771a59b8f2bfd46d

2 years ago[automerger skipped] Push cameraserver downstream from base_system.mk. am: 75add9d313
Patrik Fimml [Fri, 21 Dec 2018 13:22:58 +0000 (05:22 -0800)]
[automerger skipped] Push cameraserver downstream from base_system.mk. am: 75add9d313
am: 0d80a9505c  -s ours

Change-Id: I3ce0a8a5100b10d5305a80c4992990e9c19fa811

2 years agoPush cameraserver downstream from base_system.mk.
Patrik Fimml [Fri, 21 Dec 2018 13:18:08 +0000 (05:18 -0800)]
Push cameraserver downstream from base_system.mk.
am: 75add9d313

Change-Id: I486c53118a538a0995b127cb07770888ffed9b03

2 years agoPush cameraserver downstream from base_system.mk. android-o-mr1-iot-release-1.0.8
Patrik Fimml [Wed, 21 Nov 2018 14:39:13 +0000 (15:39 +0100)]
Push cameraserver downstream from base_system.mk.

Some non-phone form factors don't want cameraserver to save storage and RAM.
Pushing it down to handheld and other build files allows selective inclusion to
happen there.

Intended to be a no-op refactoring, will disable for ATV in a follow-up CL.

Bug: 118369095
Test: built system image for random device as smoke test
Change-Id: I585155ad5d9c04a3de8b8de85c470e85e4f3be95
Merged-In: I585155ad5d9c04a3de8b8de85c470e85e4f3be95

2 years agoMerge "Schematize Car system properties" am: 45e78cc5ee
Inseob Kim [Fri, 14 Dec 2018 02:02:32 +0000 (18:02 -0800)]
Merge "Schematize Car system properties" am: 45e78cc5ee
am: f877f3a482

Change-Id: I0e5162053c753d57f2d7364df3a07a040602d313

2 years agoMerge "Schematize Car system properties"
Inseob Kim [Fri, 14 Dec 2018 01:51:53 +0000 (17:51 -0800)]
Merge "Schematize Car system properties"
am: 45e78cc5ee

Change-Id: I3d19dcb35afe04fa51d6be28c992be9d547cde9a

2 years agoMerge "Schematize Car system properties"
Treehugger Robot [Fri, 14 Dec 2018 01:31:29 +0000 (01:31 +0000)]
Merge "Schematize Car system properties"

2 years ago[automerger skipped] Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.181205...
Xin Li [Thu, 13 Dec 2018 21:22:30 +0000 (13:22 -0800)]
[automerger skipped] Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into master" am: 1d5c584ad9  -s ours
am: 182903f61e  -s ours

Change-Id: Ib4ae91765830f8345c755198b9375e8826bf4f58

2 years ago[automerger skipped] Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.181205...
Xin Li [Thu, 13 Dec 2018 21:15:33 +0000 (13:15 -0800)]
[automerger skipped] Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into master"
am: 1d5c584ad9  -s ours

Change-Id: I8a832840df2a9e222dc74126f28fb96f3a659120

2 years ago[automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001)...
Xin Li [Thu, 13 Dec 2018 20:20:14 +0000 (12:20 -0800)]
[automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into master am: 7ebbf2cfc2  -s ours
am: 551999e4d2  -s ours

Change-Id: Ib459b5abd13e81f59684069cac3c43f62b88552b

2 years ago[automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001)...
Xin Li [Thu, 13 Dec 2018 19:24:45 +0000 (11:24 -0800)]
[automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into master
am: 7ebbf2cfc2  -s ours

Change-Id: I65545eb14c562a6418bf7eacf03131b75f2eb809

2 years agoMerge "DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into master" android-o-mr1-iot-release-1.0.7
Treehugger Robot [Thu, 13 Dec 2018 05:45:20 +0000 (05:45 +0000)]
Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into master"

2 years agoRemove config_noHomeScreen since Home app is back in P.Car. am: b505859ee5
Yan, WalterX [Wed, 12 Dec 2018 00:33:57 +0000 (16:33 -0800)]
Remove config_noHomeScreen since Home app is back in P.Car. am: b505859ee5
am: 9ecdb9aed2

Change-Id: Ie437f3c9d7efe6d586f2a48caf19949428aa5bb8

2 years ago[automerger skipped] Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.181205...
Xin Li [Tue, 11 Dec 2018 23:57:21 +0000 (15:57 -0800)]
[automerger skipped] Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into stage-aosp-master" into stage-aosp-master
am: 4447dca734  -s ours

Change-Id: Ia038e531542ccf7532345d39a7019245b0c43693

2 years agoRemove config_noHomeScreen since Home app is back in P.Car.
Yan, WalterX [Tue, 11 Dec 2018 23:17:22 +0000 (15:17 -0800)]
Remove config_noHomeScreen since Home app is back in P.Car.
am: b505859ee5

Change-Id: I37ced04a0b25ea4738ae08ece8a3c70f8137351c

2 years ago[automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001)...
Xin Li [Tue, 11 Dec 2018 23:08:20 +0000 (15:08 -0800)]
[automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into stage-aosp-master
am: 31b42740be  -s ours

Change-Id: Iecd9e2eb77007f27fe611714c9de195837581464

2 years agoDO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into master
Xin Li [Tue, 11 Dec 2018 21:59:33 +0000 (13:59 -0800)]
DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into master

Bug: 120502534
Change-Id: Ia67bedf5ff0b2e0aedaa38439dc7215a47d6833e

2 years agoMerge "DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into stage-aosp...
TreeHugger Robot [Tue, 11 Dec 2018 21:49:24 +0000 (21:49 +0000)]
Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into stage-aosp-master" into stage-aosp-master

2 years agoDO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into stage-aosp-master
Xin Li [Mon, 10 Dec 2018 18:05:08 +0000 (10:05 -0800)]
DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into stage-aosp-master

Bug: 120502534
Change-Id: I497758165668796a4c618d7839b8bed4a5ecc05d

2 years agoMerge "Add cleanup upon disconnect of CarService" am: 6379090b6e
rleix [Mon, 10 Dec 2018 23:55:25 +0000 (15:55 -0800)]
Merge "Add cleanup upon disconnect of CarService" am: 6379090b6e
am: 07d16e3cdc

Change-Id: I254fec3c34e91ec82a6f1167a76b4b1df3918625

2 years agoMerge "Add cleanup upon disconnect of CarService"
rleix [Mon, 10 Dec 2018 23:39:15 +0000 (15:39 -0800)]
Merge "Add cleanup upon disconnect of CarService"
am: 6379090b6e

Change-Id: Ie16e3f39eb1c7791348812ba69e847fe665f8a2d

2 years agoRemove config_noHomeScreen since Home app is back in P.Car.
Yan, WalterX [Mon, 15 Oct 2018 09:57:33 +0000 (17:57 +0800)]
Remove config_noHomeScreen since Home app is back in P.Car.

Incorrect configuration will fail CTS tests below

Test: run cts -m CtsAppTestCases -t \
Test:     android.app.cts.ActivityManagerTest#testTimeTrackingAPI_SimpleStartExit
Test: run cts -m CtsAppTestCases -t \
Test:     android.app.cts.ActivityManagerTest#testTimeTrackingAPI_ChainedActivityExit

bug: 120172044

Change-Id: I47ff02981d4d5b1aaef8583a7ee099c69effaef5
Signed-off-by: Yan, WalterX <walterx.yan@intel.com>
Signed-off-by: Guobin Zhang <guobin.zhang@intel.com>
2 years agoMerge "Add cleanup upon disconnect of CarService"
Treehugger Robot [Mon, 10 Dec 2018 23:01:54 +0000 (23:01 +0000)]
Merge "Add cleanup upon disconnect of CarService"

2 years agoSchematize Car system properties
Inseob Kim [Wed, 21 Nov 2018 05:20:58 +0000 (14:20 +0900)]
Schematize Car system properties

Properties accessed across partitions are now schematized and will
become APIs to make explicit interfaces among partitions.

Bug: 117924132
Test: mma -j
Change-Id: I738be670644d80d7d738456304a6661eabbe2fc2
Merged-In: I738be670644d80d7d738456304a6661eabbe2fc2

2 years agoMerge "Push cameraserver downstream from base_system.mk." into pi-dev-plus-aosp
Patrik Fimml [Thu, 6 Dec 2018 17:53:27 +0000 (17:53 +0000)]
Merge "Push cameraserver downstream from base_system.mk." into pi-dev-plus-aosp

2 years agoC++17 is the default now. am: fcb4afc887
Elliott Hughes [Mon, 3 Dec 2018 23:10:09 +0000 (15:10 -0800)]
C++17 is the default now. am: fcb4afc887
am: d9892c1ce6

Change-Id: Ie6d2ba1934bbdbdd09ccf15e638bce256669d013

2 years agoC++17 is the default now.
Elliott Hughes [Mon, 3 Dec 2018 22:49:35 +0000 (14:49 -0800)]
C++17 is the default now.
am: fcb4afc887

Change-Id: Icadbbf358f60fb6af51fa0e5ac14aeef09daac09

2 years agoC++17 is the default now. android-wear-8.0.0_r2
Elliott Hughes [Mon, 3 Dec 2018 17:31:36 +0000 (09:31 -0800)]
C++17 is the default now.

Test: builds
Change-Id: I0a571168203ddca52e6e79eeea5acc92e2ef6091

2 years agoAdd cleanup upon disconnect of CarService
rleix [Thu, 18 Oct 2018 08:36:56 +0000 (16:36 +0800)]
Add cleanup upon disconnect of CarService

Cleanup in client side is needed upon reboot of CarService.
Otherwise the client will crash due to below error:
IllegalStateException("Client callback is already configured.")

Test: 1. Launch the VmsSubscriberClientSample app
Test: 2. Crash the CarService with adb shell (kill com.android.car)
Test: 3. The sample app will crash

bug: 120159496

Change-Id: Iba5c8da7533a2b77042fa095a5e6f2c03f46785b
Signed-off-by: Lei,RayX <rayx.lei@intel.com>
Signed-off-by: Guobin Zhang <guobin.zhang@intel.com>
2 years agoMerge pi-qpr1-release PQ1A.181105.017.A1 to pi-platform-release pie-cuttlefish-testing pie-platform-release
Bill Yi [Thu, 29 Nov 2018 02:35:00 +0000 (18:35 -0800)]
Merge pi-qpr1-release PQ1A.181105.017.A1 to pi-platform-release

Change-Id: Ibafbc25e1d704d7e84a168b32d35a165dd41e06f

2 years agoPush cameraserver downstream from base_system.mk.
Patrik Fimml [Wed, 21 Nov 2018 14:39:13 +0000 (15:39 +0100)]
Push cameraserver downstream from base_system.mk.

Some non-phone form factors don't want cameraserver to save storage and RAM.
Pushing it down to handheld and other build files allows selective inclusion to
happen there.

Intended to be a no-op refactoring, will disable for ATV in a follow-up CL.

Bug: 118369095
Test: built system image for random device as smoke test
Change-Id: I585155ad5d9c04a3de8b8de85c470e85e4f3be95

2 years ago[automerger skipped] Merge pie-platform-release to aosp-master - DO NOT MERGE am...
Bill Yi [Thu, 25 Oct 2018 01:56:45 +0000 (18:56 -0700)]
[automerger skipped] Merge pie-platform-release to aosp-master - DO NOT MERGE am: e9312bd9a7  -s ours
am: 5affc6d6c6  -s ours

Change-Id: I45f2491e6b54c16ea08caddb868c3cac23aae06f

2 years ago[automerger skipped] Merge pie-platform-release to aosp-master - DO NOT MERGE
Bill Yi [Wed, 24 Oct 2018 22:51:06 +0000 (15:51 -0700)]
[automerger skipped] Merge pie-platform-release to aosp-master - DO NOT MERGE
am: e9312bd9a7  -s ours

Change-Id: I2f6eab8726d7b058584fe2843f979beae13c69d3

2 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

2 years ago[automerger skipped] Merge pi-platform-release to stage-aosp-master - DO NOT MERGE
Bill Yi [Wed, 24 Oct 2018 16:21:05 +0000 (09:21 -0700)]
[automerger skipped] Merge pi-platform-release to stage-aosp-master - DO NOT MERGE
am: 41332321af  -s ours

Change-Id: I13bbecfe12a0512995dbdfb86a5d6f1040a16346

2 years agoMerge pi-platform-release to stage-aosp-master - DO NOT MERGE
Bill Yi [Wed, 24 Oct 2018 16:07:19 +0000 (09:07 -0700)]
Merge pi-platform-release to stage-aosp-master - DO NOT MERGE

Change-Id: If7dd8b444286f6442f942c968630f63861aaf5e0

2 years agocar: Remove explicit libpac dependency. am: cefc31f389
Colin Cross [Wed, 24 Oct 2018 01:18:39 +0000 (18:18 -0700)]
car: Remove explicit libpac dependency. am: cefc31f389
am: bced86df3a

Change-Id: Ib6ec98672d42cc263a0105813b93896143f6c645

2 years agocar: Remove explicit libpac dependency.
Colin Cross [Wed, 24 Oct 2018 01:15:58 +0000 (18:15 -0700)]
car: Remove explicit libpac dependency.
am: cefc31f389

Change-Id: I3e35ea819813b922eea21b6f1576833af2804b5c

2 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

2 years agoMerge pi-dr1-dev to aosp-master am: 55ebcc5e97
Bill Yi [Fri, 19 Oct 2018 22:37:25 +0000 (15:37 -0700)]
Merge pi-dr1-dev to aosp-master am: 55ebcc5e97
am: c4d201f782

Change-Id: I5c36a74789d3c3737399bc7624ed9fd912924f20

2 years agoMerge pi-dr1-dev to aosp-master
Bill Yi [Fri, 19 Oct 2018 22:13:18 +0000 (15:13 -0700)]
Merge pi-dr1-dev to aosp-master
am: 55ebcc5e97

Change-Id: I0012c808ab240b84cc00c906752bf47c61589c66

2 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

2 years agoUse public APIs not internal APIs am: 59cc3bcdaf
Neil Fuller [Thu, 11 Oct 2018 00:21:28 +0000 (17:21 -0700)]
Use public APIs not internal APIs am: 59cc3bcdaf
am: 1b474f8bb7

Change-Id: Ie6b0c70fc70f87ba317542580466b4848e7a54cd

2 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

2 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

2 years agoMerge "Add system_file_type" am: d14b18d80e
Nick Kralevich [Fri, 28 Sep 2018 04:17:12 +0000 (21:17 -0700)]
Merge "Add system_file_type" am: d14b18d80e
am: 956e842405

Change-Id: I15ab70cd9db254b9d60fa7f176e1443f3902638c

2 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

2 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"

2 years agoAdd system_file_type am: 708bd3efca
Nick Kralevich [Fri, 28 Sep 2018 03:22:12 +0000 (20:22 -0700)]
Add system_file_type am: 708bd3efca
am: f7f501becb

Change-Id: Ic0484d6e44c19862cdad984311e4bf8e75571f43

2 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

2 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

2 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

2 years ago[automerger skipped] Convert sysui to bp
Jason Monk [Wed, 5 Sep 2018 21:14:19 +0000 (14:14 -0700)]
[automerger skipped] Convert sysui to bp
am: 9c635580a7  -s ours

Change-Id: I61ca99c0c845a2ed9bfcb39459faa6c143e2b8cd

2 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)

2 years agoMerge "Convert sysui to bp" into pi-dev-plus-aosp
TreeHugger Robot [Tue, 4 Sep 2018 18:27:37 +0000 (18:27 +0000)]
Merge "Convert sysui to bp" into pi-dev-plus-aosp

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

Change-Id: I04b553a33d262ba2e115f335c455fdf589fc88b8

2 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

2 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

2 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)

2 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)

2 years ago[automerger skipped] Migrate to androidx namespace for support library.
Anthony Chen [Wed, 29 Aug 2018 23:20:58 +0000 (16:20 -0700)]
[automerger skipped] Migrate to androidx namespace for support library.
am: fdffbbe49e  -s ours

Change-Id: I6907e1bb124addcc8db2e2d928e16b0e7fd34425

2 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)

2 years agoPass car API stubs to non-SDK enforcement am: 43231d977b
David Brazdil [Fri, 24 Aug 2018 16:15:49 +0000 (09:15 -0700)]
Pass car API stubs to non-SDK enforcement am: 43231d977b
am: 068566892d

Change-Id: Id63dce0443ab0da5f0457eb1d97e940fd2f6dccb

2 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

2 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

2 years agoMigrate android.car Droiddoc to Soong am: 110f615f78
Nan Zhang [Thu, 23 Aug 2018 04:05:29 +0000 (21:05 -0700)]
Migrate android.car Droiddoc to Soong am: 110f615f78
am: 3a799f755a

Change-Id: Ic622d2dd59932204f540271c71b692c9ac265a2b

2 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