]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android/platform-packages-services-car.git/log
android/platform-packages-services-car.git
6 years agoSnap for 4407597 from 9076a39ba3e851edd74be918f50d8aba70396324 to oc-mr1-release oreo-m4-s1-release oreo-mr1-cts-release oreo-mr1-cuttlefish-testing oreo-mr1-release oreo-mr1-s1-release oreo-mr1-security-release oreo-mr1-vts-release oreo-mr1-wear-release android-8.1.0_r1 android-8.1.0_r10 android-8.1.0_r11 android-8.1.0_r12 android-8.1.0_r15 android-8.1.0_r16 android-8.1.0_r19 android-8.1.0_r23 android-8.1.0_r3 android-8.1.0_r4 android-8.1.0_r5 android-8.1.0_r6 android-8.1.0_r66 android-cts-8.1_r1 android-cts-8.1_r10 android-cts-8.1_r11 android-cts-8.1_r12 android-cts-8.1_r13 android-cts-8.1_r14 android-cts-8.1_r15 android-cts-8.1_r16 android-cts-8.1_r2 android-cts-8.1_r3 android-cts-8.1_r4 android-cts-8.1_r5 android-cts-8.1_r6 android-cts-8.1_r7 android-cts-8.1_r8 android-cts-8.1_r9 android-vts-8.1_r3 android-vts-8.1_r4 android-vts-8.1_r5 android-vts-8.1_r6 android-vts-8.1_r7 android-vts-8.1_r8 android-vts-8.1_r9 android-wear-8.1.0_r1
android-build-team Robot [Fri, 20 Oct 2017 07:13:02 +0000 (07:13 +0000)]
Snap for 4407597 from 9076a39ba3e851edd74be918f50d8aba70396324 to oc-mr1-release

Change-Id: I5f01ff0bbb446a98dd9303ab32e2718d998b60ea

6 years agoFix incremental build issue
Colin Cross [Fri, 20 Oct 2017 03:13:10 +0000 (20:13 -0700)]
Fix incremental build issue

Removing aidl files located in a src/ directory broke incremental
builds.

Bug: 36698184
Bug: 68015571
Test: none
Change-Id: If348a96af420905fccfe8c043d271eae3e6a9a28

6 years agoRemoving VMS from O.MR1
Asaf Rosenfeld [Tue, 17 Oct 2017 20:55:16 +0000 (13:55 -0700)]
Removing VMS from O.MR1

This CL removes the VMS code from O.MR1.

Test: All the VMS tests were removed.
Bug: 67997810
Change-Id: I0e10d41e47103aa5bbd04f3ee576c7b482b25f92

6 years agoSnap for 4380782 from 3cf436b313d39240f80f39944df6e5ef634cdc5c to oc-mr1-release
android-build-team Robot [Fri, 6 Oct 2017 07:27:05 +0000 (07:27 +0000)]
Snap for 4380782 from 3cf436b313d39240f80f39944df6e5ef634cdc5c to oc-mr1-release

Change-Id: Ia61372d3db6d7378042fc8e993c11eeab7061842

6 years agoFix breaking VMS tests in O.MR1. oreo-mr1-dev
Asaf Rosenfeld [Wed, 4 Oct 2017 20:58:19 +0000 (13:58 -0700)]
Fix breaking VMS tests in O.MR1.

Make one test not try to run, and another fix flakiness.

Test: all tests pass.
Bug:66690076
Bug:65682115
Bug:64892875

Change-Id: Iad9400d467007bbdaaa4cf3620f87547aead1279

6 years agoSnap for 4373604 from 7402d55747c0914eddd49719b980668234b9cdb5 to oc-mr1-release
android-build-team Robot [Tue, 3 Oct 2017 07:28:22 +0000 (07:28 +0000)]
Snap for 4373604 from 7402d55747c0914eddd49719b980668234b9cdb5 to oc-mr1-release

Change-Id: If1293816a8cf90aac81c0c09686e086b69b85cf6

6 years agoFixing noHomeScreen caused cts fails on Car device
xianhaox [Tue, 5 Sep 2017 06:51:52 +0000 (14:51 +0800)]
Fixing noHomeScreen caused cts fails on Car device

The CTS case will be passed in handheld device(like Nexus device) with
Launcher/Home screen in it;
But for Automotive product, the ui behavior is different and has no
similar Home screen, the case will failed if we don't configure the
device as no home screen(currently config_noHomeScreen is false by
default)

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

Bug: 66938358
Change-Id: I96bae7fb942554de835126b776aa78c8dfb78386
Signed-off-by: xianhaox <xianhaox.qing@intel.com>
Signed-off-by: Bing Deng <bing.deng@intel.com>
6 years agorelease-request-2950741e-0b24-4d70-b748-67bb2b5435b5-for-git_oc-mr1-release-4357583...
android-build-team Robot [Sun, 24 Sep 2017 07:44:32 +0000 (07:44 +0000)]
release-request-2950741e-0b24-4d70-b748-67bb2b5435b5-for-git_oc-mr1-release-4357583 snap-temp-L55500000105655441

Change-Id: Ia9772b6d5b88d75bd1e28c395beee82067dad408

6 years agoRemove type opengles_prop from car_product.
Nicholas Sauer [Sun, 17 Sep 2017 20:47:00 +0000 (13:47 -0700)]
Remove type opengles_prop from car_product.

This should be defined by the actual product instead.
It conflicts with the definition in the emulator too.

bug: 65801015
Test: lunch aosp_car_emu_x86-userdebug && m -j
Change-Id: I69adfd559b142d980607c4acdb659a6c047bf01a

6 years agorelease-request-ad401328-e365-4073-9b7c-44f7fc79185b-for-git_oc-mr1-release-4329935...
android-build-team Robot [Tue, 12 Sep 2017 07:29:01 +0000 (07:29 +0000)]
release-request-ad401328-e365-4073-9b7c-44f7fc79185b-for-git_oc-mr1-release-4329935 snap-temp-L86100000101558881

Change-Id: I424ca857b41172cc55b61fbbc05418a7767e08b7

6 years agoMerge "Allow customization to the default car settings" into oc-mr1-dev
TreeHugger Robot [Tue, 12 Sep 2017 03:13:09 +0000 (03:13 +0000)]
Merge "Allow customization to the default car settings" into oc-mr1-dev

6 years agoAllow customization to the default car settings
Guobin Zhang [Fri, 25 Aug 2017 07:54:48 +0000 (15:54 +0800)]
Allow customization to the default car settings

For example, both multi-window and activity_on_2nd_display are disabled
with setting in package/services/Car/car_product/overlay/.../config.xml
<bool name="config_supportsMultiWindow">false</bool>

With this CL, OEM can enable multi-window by adding OEM overlay before
the default overlay above. Otherwise, they need to modify the config.xml
directly for customization.

Bug: 65256710
Test: add OEM overlay to PRODUCT_PACKAGE_OVERLAYS before car_base.mk

Change-Id: Id92186b385ffc0b750fbf600eaa62f07ff3dd097
Signed-off-by: Guobin Zhang <guobin.zhang@intel.com>
6 years agorelease-request-946c768b-83eb-4b7b-83e7-5737856fa8ec-for-git_oc-mr1-release-4326576...
android-build-team Robot [Sun, 10 Sep 2017 07:28:27 +0000 (07:28 +0000)]
release-request-946c768b-83eb-4b7b-83e7-5737856fa8ec-for-git_oc-mr1-release-4326576 snap-temp-L80300000101054689

Change-Id: I43314824ea52773a44068aa78bc1b6c79819dbec

6 years agoMerge "Fix boot animation" into oc-mr1-dev
Nicholas Sauer [Fri, 8 Sep 2017 21:26:05 +0000 (21:26 +0000)]
Merge "Fix boot animation" into oc-mr1-dev

6 years agorelease-request-8cd2a23c-f767-488e-8139-390d1636483f-for-git_oc-mr1-release-4323561...
android-build-team Robot [Fri, 8 Sep 2017 07:36:13 +0000 (07:36 +0000)]
release-request-8cd2a23c-f767-488e-8139-390d1636483f-for-git_oc-mr1-release-4323561 snap-temp-L80400000100600189

Change-Id: Ic9f726e9be2a2b463a404c6989f145a7fcdf5eec

6 years agoFix boot animation
Nicholas Sauer [Fri, 8 Sep 2017 01:17:24 +0000 (18:17 -0700)]
Fix boot animation

bug: 65264088
Test: local build
Change-Id: I77d58662ae525abd3022cf468cef31ac7020a37e

6 years agoadd bugreport_analyze
Keun-young Park [Thu, 7 Sep 2017 21:54:58 +0000 (14:54 -0700)]
add bugreport_analyze

- extract boot timing information similar to bootanalyze.py from
  unzipped bugreport txt.
- Can be useful for initial investigtion of boot-up issue.
- Print all java / native crashes so that crash during boot-up can
  be easily identified.
- also update config.yaml: StartPackageManagerService time was located
  in two places and were not counted as timing event.

bug: 64143231
Test: python packages/services/Car/tools/bootanalyze/bugreport_anayze.py -c packages/services/Car/tools/bootanalyze/config.yaml bugreport.tx

Change-Id: I2244074e9f2cdea01e632570c25909f6cd199a43

6 years agoMerge "pre-grant permssion for Messenger app" into oc-mr1-dev
TreeHugger Robot [Thu, 7 Sep 2017 22:58:42 +0000 (22:58 +0000)]
Merge "pre-grant permssion for Messenger app" into oc-mr1-dev

6 years agopre-grant permssion for Messenger app
Lujiang Xue [Thu, 7 Sep 2017 16:26:13 +0000 (09:26 -0700)]
pre-grant permssion for Messenger app

Bug: 65368524
Test: build, flash

Change-Id: If7550a9415d7dafec8e76e4e9d7cfdf3ec64bf2b

6 years agorelease-request-108343c4-ad88-44f9-aaa2-24d8b8a5c176-for-git_oc-mr1-release-4321077...
android-build-team Robot [Thu, 7 Sep 2017 07:44:54 +0000 (07:44 +0000)]
release-request-108343c4-ad88-44f9-aaa2-24d8b8a5c176-for-git_oc-mr1-release-4321077 snap-temp-L97000000100182150

Change-Id: Ided74c61c7a761fa3434fdabecc5bac2773bcd76

6 years agoMerge "Add docs on permissions and configs." into oc-mr1-dev
TreeHugger Robot [Thu, 7 Sep 2017 03:14:02 +0000 (03:14 +0000)]
Merge "Add docs on permissions and configs." into oc-mr1-dev

6 years agoMerge "improve I/O analysys script further" into oc-mr1-dev
TreeHugger Robot [Thu, 7 Sep 2017 01:05:22 +0000 (01:05 +0000)]
Merge "improve I/O analysys script further" into oc-mr1-dev

6 years agoMerge "Fix a multi device Bluetooth connection scenario." into oc-mr1-dev
Ram Periathiruvadi [Wed, 6 Sep 2017 23:25:06 +0000 (23:25 +0000)]
Merge "Fix a multi device Bluetooth connection scenario." into oc-mr1-dev

6 years agoAdd docs on permissions and configs.
Bryan Eyler [Wed, 6 Sep 2017 21:11:44 +0000 (14:11 -0700)]
Add docs on permissions and configs.

Adds documentation for system config and permissions that are needed to
run this sample correctly.

Bug: 33458687
Tested with javadoc tool.

Change-Id: I2e3846015eb825931d723b9dcf2228e89ef26945

6 years agoimprove I/O analysys script further
Keun-young Park [Thu, 24 Aug 2017 17:48:22 +0000 (10:48 -0700)]
improve I/O analysys script further

- add IO wait histogram for check_io_trace_all
- Check block level acces for check_file_read. Even if it is a single
  block read in ext4 level, block level can be more efficient
  or inefficient depending on I/O scheduler. Total read is coming from
  block layer while ext4 layer can have more access when another read request
  is made while similar read is still pending.
- add separate accounting for write

bug: 64810855
Test: run scripts and check results
Change-Id: I302d6e8661eec689bc2adb5ab608319b48acefd1

6 years agoFix a multi device Bluetooth connection scenario.
Ram Periathiruvadi [Wed, 6 Sep 2017 08:08:23 +0000 (01:08 -0700)]
Fix a multi device Bluetooth connection scenario.

The Car policy failed to connect to a second device on a vehicle event
when it was already connected to one device.
1. While updating a disconnect status for a device, check if there are
other devices in the middle of a connection.
2. Before sendign a connect request to a device, check if it is not
already connected.

Bug: b/63444771
Test: Tested manually and also with a new unit test.
Change-Id: If68e070b7737db07484ad5fe09391a90881855e5

6 years agorelease-request-ee600ee1-fadc-4a92-9feb-e22548c84a75-for-git_oc-mr1-release-4318546...
android-build-team Robot [Wed, 6 Sep 2017 07:29:38 +0000 (07:29 +0000)]
release-request-ee600ee1-fadc-4a92-9feb-e22548c84a75-for-git_oc-mr1-release-4318546 snap-temp-L23800000099760172

Change-Id: Ia27b2566f0b97da30c945187dc0178e896baad9b

6 years agoMinor cleanup to go along with matching vhal update
Scott Randolph [Thu, 3 Aug 2017 22:07:38 +0000 (15:07 -0700)]
Minor cleanup to go along with matching vhal update

Standardize a few constant names, and a few miscellanious clean ups (but
not net functionality change).

Test:  runtest -x
packages/services/Car/tests/carservice_test/src/com/android/car/test/CarAudioFocusTest.java
(plus 3 others) on Mojave

Change-Id: I70c73f511a63aa714414acaca5bdc4e929946959
Bug: 65384336

6 years agoMerge "Cherry-pick and manually resolved the conflicts." into oc-mr1-dev
Hongwei Wang [Tue, 5 Sep 2017 21:59:25 +0000 (21:59 +0000)]
Merge "Cherry-pick and manually resolved the conflicts." into oc-mr1-dev

6 years agoMerge "Add RINGTONE" into oc-mr1-dev
Scott Randolph [Tue, 5 Sep 2017 21:51:35 +0000 (21:51 +0000)]
Merge "Add RINGTONE" into oc-mr1-dev

6 years agoMerge "Fix VMS public API based on API review (ag/2593725)." into oc-mr1-dev
Asaf Rosenfeld [Tue, 5 Sep 2017 19:56:48 +0000 (19:56 +0000)]
Merge "Fix VMS public API based on API review (ag/2593725)." into oc-mr1-dev

6 years agoAdd RINGTONE
Scott Randolph [Fri, 4 Aug 2017 03:15:10 +0000 (20:15 -0700)]
Add RINGTONE

Test: wip
Change-Id: Ifa560fdd2b4a4e3c17deadcd9cc0dd4769c90274
Bug: 64729839

6 years agoFix VMS public API based on API review (ag/2593725).
Asaf Rosenfeld [Fri, 1 Sep 2017 06:51:12 +0000 (23:51 -0700)]
Fix VMS public API based on API review (ag/2593725).

Test: All tests were adjusted and pass.
Bug: 65115457
Change-Id: Id271170d2d67706d243817c556e294faad672631

6 years agoCherry-pick and manually resolved the conflicts.
Yao Chen [Wed, 16 Aug 2017 23:03:41 +0000 (16:03 -0700)]
Cherry-pick and manually resolved the conflicts.

Note that this is a cherry-pick of ag/2745105 and there is no intent to
modify the original CL except for conflicts resolving.

Map the VehicleAudioContextFlag.UNKNOWN_FLAG to current context.

    + When vehicle hal is reporting volume change on unknown context, we
      will map it to the current context. This makes partner's
      implementation easier and our volume handling more robust.

    + Added test.

Bug: 62064580
Test: runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/test/CarVolumeServiceTest.java

Change-Id: I488967e48e96f15f0094337282ef0b6f25465754

6 years agorelease-request-957cd691-fb71-4770-8ff7-a3b9602655a5-for-git_oc-mr1-release-4314464...
android-build-team Robot [Sun, 3 Sep 2017 07:30:39 +0000 (07:30 +0000)]
release-request-957cd691-fb71-4770-8ff7-a3b9602655a5-for-git_oc-mr1-release-4314464 snap-temp-L54400000099147910

Change-Id: I18baf950c1fd84068f9dc93a6fa2547e131d401b

6 years agoMerge "Replace test music with something easier to hear" into oc-mr1-dev
TreeHugger Robot [Fri, 1 Sep 2017 00:03:26 +0000 (00:03 +0000)]
Merge "Replace test music with something easier to hear" into oc-mr1-dev

6 years agoMerge "fix sensor type comparison between car lib and support lib" into oc-mr1-dev
Keun-young Park [Thu, 31 Aug 2017 22:55:16 +0000 (22:55 +0000)]
Merge "fix sensor type comparison between car lib and support lib" into oc-mr1-dev

6 years agoReplace test music with something easier to hear
Scott Randolph [Fri, 4 Aug 2017 18:48:44 +0000 (11:48 -0700)]
Replace test music with something easier to hear

Use a track with less dynamic range so that it is easy to detect volume
changes, etc.  The preivous classical track started with a significant
amount of silence, and frequent dramatic volume changes making it harder
to use for diagnostic purposes.
Track is from youtube music library and is noted as free for any use and
not requiring attribution.

Test:   Tap "Media Play" button on the Audio panel of kitchensink.
Change-Id: I0a41675c9d4dbfa81f6f35f5c746d2a4c5207853
Bug: 38389934

6 years agofix sensor type comparison between car lib and support lib
Keun-young Park [Thu, 31 Aug 2017 17:46:05 +0000 (10:46 -0700)]
fix sensor type comparison between car lib and support lib

- Handle snesors defined only in car lib while it is reserved in support lib

bug: 65125210
Test: the test
Change-Id: I002fe8e6fdccdaf2ae85f4d495b4689f0d19b321

6 years agoFix subscribers notifications and listener to callback
Asaf Rosenfeld [Fri, 25 Aug 2017 18:11:37 +0000 (11:11 -0700)]
Fix subscribers notifications and listener to callback

This CL fixes the VMS subscriber manager so that clients with no active subscriptions
will get notifications. Also this CL changes the name listener to callback per the API review.

Test: tests were adjusted to verify that notifications are received also when not subscribed.
Change-Id: I734879533c09c41e517f9bfb8df0f6f80aec7fda
Bug: 64700153
Bug: 65115457

6 years agoCar Bluetooth policy - option to tag a device for autoconnect
Ram Periathiruvadi [Fri, 28 Jul 2017 01:10:35 +0000 (18:10 -0700)]
Car Bluetooth policy - option to tag a device for autoconnect

Provide an option to tag a device with a priority for auto connection.
If a device is tagged as a Primary device for example, then the auto
connect policy will always try to connect to that device first
regardless of which device connected last (which is the default policy)

Bug: b/34722344
Test: Unit test
Change-Id: Ie364a4fbf5b29bc3f6cca7433ead2ed4b4debc9e

6 years agorelease-request-81b48854-d0e0-49af-bcf2-857273cbb8dc-for-git_oc-mr1-release-4306444...
android-build-team Robot [Wed, 30 Aug 2017 07:24:26 +0000 (07:24 +0000)]
release-request-81b48854-d0e0-49af-bcf2-857273cbb8dc-for-git_oc-mr1-release-4306444 snap-temp-L17300000097872583

Change-Id: Ibe64b821deb28e887a9841ae034b57f3a3ee1a84

6 years agooverlay UI for pull down volume control
Lujiang Xue [Tue, 22 Aug 2017 21:51:23 +0000 (14:51 -0700)]
overlay UI for pull down volume control

Bug: 63716325

Test: make, flash
Change-Id: I6aaedcf4d3bf1d3dcd48caa61ea459e57b3fbd4e
(cherry picked from commit 2beb09971204a52a0ad89d2374f7510983d208ed)

6 years agorelease-request-c924aaac-f0a2-4215-8dc4-e314f22460d9-for-git_oc-mr1-release-4301796...
android-build-team Robot [Mon, 28 Aug 2017 07:29:51 +0000 (07:29 +0000)]
release-request-c924aaac-f0a2-4215-8dc4-e314f22460d9-for-git_oc-mr1-release-4301796 snap-temp-L23200000097143969

Change-Id: I160ac31367c4e501d7ec34229b0f8187f15a22ec

6 years agoMerge Vehicle HAL 2.1 iface to 2.0
Pavel Maltsev [Thu, 24 Aug 2017 22:15:05 +0000 (15:15 -0700)]
Merge Vehicle HAL 2.1 iface to 2.0

Vehicle HAL is property based and all properties are considered
optional. It is quite a bit of pain to create new versions of VHAL only
to extend properties.

Bug: 64303350

Test: verified system works stable

Change-Id: I4c5c891236912651ca1341f7fd515e533a6b4506

6 years agoMerge "add dimen value for car status bar" into oc-mr1-dev
TreeHugger Robot [Thu, 24 Aug 2017 19:33:54 +0000 (19:33 +0000)]
Merge "add dimen value for car status bar" into oc-mr1-dev

6 years agorelease-request-6c9f747d-7df5-465f-8bde-1149394b99b4-for-git_oc-mr1-release-4296189...
android-build-team Robot [Thu, 24 Aug 2017 07:30:24 +0000 (07:30 +0000)]
release-request-6c9f747d-7df5-465f-8bde-1149394b99b4-for-git_oc-mr1-release-4296189 snap-temp-L54400000096309002

Change-Id: Iddde4c71501db5b9e7871992edc3aa8d60255e0d

6 years agoadd dimen value for car status bar
Lujiang Xue [Wed, 23 Aug 2017 18:58:50 +0000 (11:58 -0700)]
add dimen value for car status bar

Bug: 64818339

Test: make, flash on phone and headunit
Change-Id: I1bd96c4bd0237c5c980e3949e34d6d41857145f3

6 years agoadd sched trace to check_io_trace_all
Keun-young Park [Tue, 22 Aug 2017 18:16:45 +0000 (11:16 -0700)]
add sched trace to check_io_trace_all

- For all processes, calculate execution time and wait time due to I/O.

bug: 64810855
Test: python packages/services/Car/tools/io_analysis/check_io_trace_all.py kernel_trace_file

Change-Id: Iea53b8de0f7e63806082fbab53e0fb7c4c43ffa4

6 years agorelease-request-369362fc-cc6c-4cb1-95c0-90b5ac7c52cb-for-git_oc-mr1-release-4288633...
android-build-team Robot [Sun, 20 Aug 2017 07:36:53 +0000 (07:36 +0000)]
release-request-369362fc-cc6c-4cb1-95c0-90b5ac7c52cb-for-git_oc-mr1-release-4288633 snap-temp-L81700000095141745

Change-Id: Ib5ea0ecbcd499420dc8236ae7d37584c74d2e2a4

6 years agoMerge "Add intent action and extra for car media template app." into oc-mr1-dev
TreeHugger Robot [Fri, 18 Aug 2017 22:55:30 +0000 (22:55 +0000)]
Merge "Add intent action and extra for car media template app." into oc-mr1-dev

6 years agoimprove io analysis log
Keun-young Park [Thu, 17 Aug 2017 01:22:06 +0000 (18:22 -0700)]
improve io analysis log

- add fresh read list as histogram alone was confusing / misleading due to re-read which will
  mostly hit cache.

bug: 64810855
Test: capture boot time IO trace and run the script

Change-Id: I616642159a6b71cfe431b589e52576f17b5cbc08

6 years agoAdd intent action and extra for car media template app.
Yao Chen [Thu, 17 Aug 2017 16:52:40 +0000 (09:52 -0700)]
Add intent action and extra for car media template app.

Bug: 63672321
Test: builds
Change-Id: I7f5a5effd0bf3db61c39876b38153f655bfd765b

6 years agoMerge "Create Subscribe to layer from publisher surfaces" into oc-mr1-dev
Asaf Rosenfeld [Thu, 17 Aug 2017 15:23:58 +0000 (15:23 +0000)]
Merge "Create Subscribe to layer from publisher surfaces" into oc-mr1-dev

6 years agorelease-request-edd71ba9-6f93-47be-957d-774c9d43a2dc-for-git_oc-mr1-release-4281935...
android-build-team Robot [Thu, 17 Aug 2017 07:31:40 +0000 (07:31 +0000)]
release-request-edd71ba9-6f93-47be-957d-774c9d43a2dc-for-git_oc-mr1-release-4281935 snap-temp-L68100000094184972

Change-Id: Ia4e79096948df7f4a6019cc563f9b6555aa09929

6 years agoMerge "Call CarVolumeService.release() in CarAudioService's release()" into oc-mr1-dev
TreeHugger Robot [Wed, 16 Aug 2017 23:24:54 +0000 (23:24 +0000)]
Merge "Call CarVolumeService.release() in CarAudioService's release()" into oc-mr1-dev

6 years agoCreate Subscribe to layer from publisher surfaces
Asaf Rosenfeld [Sun, 23 Jul 2017 22:48:09 +0000 (15:48 -0700)]
Create Subscribe to layer from publisher surfaces

Allows APKs and HAL clients to subscribe and unsubscribe to a layer
from a specific publisher ID.

Test: All tests pass and added new test for added functionality
Bug: 6276440162764401
Change-Id: I39370be6fbb632b65c7ae880a4dd88ee5012738d

6 years agoCall CarVolumeService.release() in CarAudioService's release()
Yao Chen [Wed, 16 Aug 2017 20:16:51 +0000 (13:16 -0700)]
Call CarVolumeService.release() in CarAudioService's release()

Bug: 64762648
Test: runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/test/CarVolumeServiceTest.java
      And now release() is called after every test case.
Change-Id: Ie8e53c1ac8aad214283561b636041a7a9f31ea8a

6 years agoag/2650405 removed a resource name we rely on. Fix this by using the new resource...
Enrico Granata [Tue, 15 Aug 2017 23:55:41 +0000 (16:55 -0700)]
ag/2650405 removed a resource name we rely on. Fix this by using the new resource name.

Change-Id: Id0787ddfd4423ce1220ced3da1db0a8889249852
Fixes: 64727453
Test: build

6 years agorelease-request-e73a0a41-91c3-4249-808e-8d196d54a344-for-git_oc-mr1-release-4273744...
android-build-team Robot [Tue, 15 Aug 2017 07:30:04 +0000 (07:30 +0000)]
release-request-e73a0a41-91c3-4249-808e-8d196d54a344-for-git_oc-mr1-release-4273744 snap-temp-L04700000093069831

Change-Id: I888696f7555504ccfcfe68cc8cfa0ed587dc24c2

6 years agoMerge "reflect rename of TimingsTraceLog" into oc-mr1-dev
Fyodor Kupolov [Mon, 14 Aug 2017 20:55:13 +0000 (20:55 +0000)]
Merge "reflect rename of TimingsTraceLog" into oc-mr1-dev

6 years agoMerge "Fix activity monitoring test" into oc-mr1-dev
TreeHugger Robot [Mon, 14 Aug 2017 17:41:37 +0000 (17:41 +0000)]
Merge "Fix activity monitoring test" into oc-mr1-dev

6 years agoFix activity monitoring test
Pavel Maltsev [Tue, 25 Jul 2017 21:57:08 +0000 (14:57 -0700)]
Fix activity monitoring test

Test: runtest -x
packages/services/Car/tests/carservice_test/src/com/android/car/test/SystemActivityMonitoringServiceTest.java

Change-Id: Id6ca97f14f9b46186b4d1f2d3e34849207615d05
Fix: b/62224020
(cherry picked from commit 3ae759551710424c01c2e985bfc13e7e3d4ee1cb)

6 years agorelease-request-68cc9b2a-98ae-4fbf-8b56-3e535855f399-for-git_oc-mr1-release-4269864...
android-build-team Robot [Sun, 13 Aug 2017 07:34:07 +0000 (07:34 +0000)]
release-request-68cc9b2a-98ae-4fbf-8b56-3e535855f399-for-git_oc-mr1-release-4269864 snap-temp-L25700000092502312

Change-Id: I63b68c8d352e9f0cd3149b76b9351a8bcfae231e

6 years agoKitchenSink Bluetooth Hold call button
Agranee [Fri, 11 Aug 2017 19:45:56 +0000 (12:45 -0700)]
KitchenSink Bluetooth Hold call button

Add hold call button to bluetooth headset fragment
Bug: 63412812
Test: Start a Call with a phone/telco that supports hold and hold a call

Change-Id: I8132a20bf7ff1f28b077880fc2e90602b3e7abd7

6 years agoreflect rename of TimingsTraceLog
Keun-young Park [Fri, 11 Aug 2017 01:19:14 +0000 (18:19 -0700)]
reflect rename of TimingsTraceLog

bug: 64569080
Test: build
Change-Id: I6f1c4547645761cd613b4fe6158fb600c7c4026c

6 years agoMerge "bootanalyze: add shutdown events" into oc-mr1-dev am: d61cbe5cb5
Keun-young Park [Fri, 11 Aug 2017 00:24:10 +0000 (00:24 +0000)]
Merge "bootanalyze: add shutdown events" into oc-mr1-dev am: d61cbe5cb5
am: 0a3bc4a95a

Change-Id: I1eceb0f8a6c443984e5357b3de09a3a585b799b6

6 years agoMerge "bootanalyze: add shutdown events" into oc-mr1-dev
Keun-young Park [Fri, 11 Aug 2017 00:19:25 +0000 (00:19 +0000)]
Merge "bootanalyze: add shutdown events" into oc-mr1-dev
am: d61cbe5cb5

Change-Id: Ia1aa3b868f470ab680565fe0f1631a77c1948a64

6 years agoMerge "bootanalyze: add shutdown events" into oc-mr1-dev
Keun-young Park [Fri, 11 Aug 2017 00:10:24 +0000 (00:10 +0000)]
Merge "bootanalyze: add shutdown events" into oc-mr1-dev

6 years agoremove Map monitoring from kitchenSink am: 72f390a506
Lujiang Xue [Thu, 10 Aug 2017 21:35:48 +0000 (21:35 +0000)]
remove Map monitoring from kitchenSink am: 72f390a506
am: 974fa6457e

Change-Id: I27d24af3100532b79b885916c2b15e7cd0516efe

6 years agoremove Map monitoring from kitchenSink
Lujiang Xue [Thu, 10 Aug 2017 21:16:21 +0000 (21:16 +0000)]
remove Map monitoring from kitchenSink
am: 72f390a506

Change-Id: I12857f669eee94c4ebc1edd64e34be60ff6965b4

6 years agobootanalyze: add shutdown events
Keun-young Park [Sat, 5 Aug 2017 01:16:23 +0000 (18:16 -0700)]
bootanalyze: add shutdown events

- will capture logcat if Timeout event happens during shutdown.
- -m option can be used to capture shutdown event taking over certain time like
  -m ShutdownBtDuration=2.0,ShutdownStorageManagerSerivceDuration=3.0,ShutdownInitFsShutdown=5.0
- Duration for interval with items with Xyz and XyzDone
- Shutdown time is counted from the point where shutdown starts.

bug: 64568026
Test: python packages/services/Car/tools/bootanalyze/bootanalyze.py -r -c packages/services/Car/tools/bootanalyze/config.yaml -n 2 -m ShutdownBtDuration=5.0,ShutdownStorageManagerSerivceDuration=5.0
Change-Id: I32919c665c74e9a57308264ecc7cbde93106134c

6 years agoremove Map monitoring from kitchenSink
Lujiang Xue [Mon, 7 Aug 2017 21:18:32 +0000 (14:18 -0700)]
remove Map monitoring from kitchenSink

Bug: 64391322

Test: build and flash
Change-Id: Ie99928fc9ec7e6b5a063e6afae406ba42b5d8295
(cherry picked from commit bb9ebde20c351863a04190896142c63be88284fb)

6 years agoBluetooth: move AIDL files related to bluetooth into system/bt (3/3) am: 3c6e344ebf...
Jakub Pawlowski [Thu, 10 Aug 2017 03:03:43 +0000 (03:03 +0000)]
Bluetooth: move AIDL files related to bluetooth into system/bt (3/3) am: 3c6e344ebf am: 70437a168b
am: 4b9d3242b5

Change-Id: Icd0a929a533fc1df8514b9364064c262e3e4833f

6 years agoBluetooth: move AIDL files related to bluetooth into system/bt (3/3) am: 3c6e344ebf
Jakub Pawlowski [Thu, 10 Aug 2017 00:09:44 +0000 (00:09 +0000)]
Bluetooth: move AIDL files related to bluetooth into system/bt (3/3) am: 3c6e344ebf
am: 70437a168b

Change-Id: I1a858878b552da01535b892fa40224724050aaed

6 years agoBluetooth: move AIDL files related to bluetooth into system/bt (3/3)
Jakub Pawlowski [Wed, 9 Aug 2017 21:57:54 +0000 (21:57 +0000)]
Bluetooth: move AIDL files related to bluetooth into system/bt (3/3)
am: 3c6e344ebf

Change-Id: I365a3a345e080264d5a7cf7d6a796e74c7cdfc0f

6 years agoBluetooth: move AIDL files related to bluetooth into system/bt (3/3)
Jakub Pawlowski [Tue, 8 Aug 2017 14:48:36 +0000 (07:48 -0700)]
Bluetooth: move AIDL files related to bluetooth into system/bt (3/3)

This patch moves *.aidl files from
frameworks/base/core/java/android/bluetooth into system/bt/binder. This
is in preparation to convert the Bluetooth deamon into native
implementation piece by piece.
In order to do that, one must have C++ header files, and paths to them
with AIDL files, and */java/* folder didn't seem as proper place for
that. Additionally, keeping AIDL files out of framework/base will not
require creating dependency on this huge project, which should help
keeping the compilation fast.

Test: compilation test
Change-Id: I75b898380bd0a2f22a8495d8e10156f1efa64495

6 years agoolve merge conflicts of d7870ff24679b22e33afc9f8a6180b0504afb8eb to stage-aosp-master...
Jakub Pawlowski [Wed, 9 Aug 2017 21:23:25 +0000 (21:23 +0000)]
olve merge conflicts of d7870ff24679b22e33afc9f8a6180b0504afb8eb to stage-aosp-master am: 39cfdea181  -s ours am: 18e2f6946a  -s ours am: 017e490690  -s ours
am: 92d5d6c9d2  -s ours

Change-Id: I3393abcbc14c9b011c2729c14245973fdc65a832

6 years agoBluetooth: move AIDL files related to Bluetooth into system/bt (3/3) am: d7870ff246...
Jakub Pawlowski [Wed, 9 Aug 2017 20:34:06 +0000 (20:34 +0000)]
Bluetooth: move AIDL files related to Bluetooth into system/bt (3/3) am: d7870ff246  -s ours am: 8b7068ed54 am: fcde72b007 am: 8109504c81
am: 020999c354  -s ours

Change-Id: I5ea79ebf9a0830b9f22ea29a6a94db47065e5f7e

6 years agoolve merge conflicts of d7870ff24679b22e33afc9f8a6180b0504afb8eb to stage-aosp-master...
Jakub Pawlowski [Wed, 9 Aug 2017 20:29:13 +0000 (20:29 +0000)]
olve merge conflicts of d7870ff24679b22e33afc9f8a6180b0504afb8eb to stage-aosp-master am: 39cfdea181  -s ours am: 18e2f6946a  -s ours
am: 017e490690  -s ours

Change-Id: I121431e1719454db14dfc158e49e98b8347d4638

6 years agoBluetooth: move AIDL files related to Bluetooth into system/bt (3/3) am: d7870ff246...
Jakub Pawlowski [Wed, 9 Aug 2017 19:50:13 +0000 (19:50 +0000)]
Bluetooth: move AIDL files related to Bluetooth into system/bt (3/3) am: d7870ff246  -s ours am: 8b7068ed54 am: fcde72b007
am: 8109504c81

Change-Id: Ic2139d438dab0de3d5386da3d19d9b66075f6f5d

6 years agoolve merge conflicts of d7870ff24679b22e33afc9f8a6180b0504afb8eb to stage-aosp-master...
Jakub Pawlowski [Wed, 9 Aug 2017 16:19:38 +0000 (16:19 +0000)]
olve merge conflicts of d7870ff24679b22e33afc9f8a6180b0504afb8eb to stage-aosp-master am: 39cfdea181  -s ours
am: 18e2f6946a  -s ours

Change-Id: Ie4de6b6b6123e7b58af86b342f47f1c6228950ad

6 years agoolve merge conflicts of d7870ff24679b22e33afc9f8a6180b0504afb8eb to stage-aosp-master
Jakub Pawlowski [Wed, 9 Aug 2017 16:06:52 +0000 (16:06 +0000)]
olve merge conflicts of d7870ff24679b22e33afc9f8a6180b0504afb8eb to stage-aosp-master
am: 39cfdea181  -s ours

Change-Id: I054f75e2445c0ca0d683f53a142a7bc36f9f947c

6 years agoolve merge conflicts of d7870ff24679b22e33afc9f8a6180b0504afb8eb to stage-aosp-master android-o-mr1-preview-1 android-o-mr1-preview-2
Jakub Pawlowski [Tue, 8 Aug 2017 14:48:36 +0000 (07:48 -0700)]
olve merge conflicts of d7870ff24679b22e33afc9f8a6180b0504afb8eb to stage-aosp-master

Test: this fixes merge conflict that I skipped
Change-Id: I75b898380bd0a2f22a8495d8e10156f1efa64496
Merged-In: I75b898380bd0a2f22a8495d8e10156f1efa64495

6 years agoBluetooth: move AIDL files related to Bluetooth into system/bt (3/3) am: d7870ff246...
Jakub Pawlowski [Wed, 9 Aug 2017 07:36:33 +0000 (07:36 +0000)]
Bluetooth: move AIDL files related to Bluetooth into system/bt (3/3) am: d7870ff246  -s ours am: 8b7068ed54
am: fcde72b007

Change-Id: I29feee78adb52b2db34925c1589a1baed2c97fb0

6 years agoBluetooth: move AIDL files related to Bluetooth into system/bt (3/3) am: d7870ff246...
Jakub Pawlowski [Wed, 9 Aug 2017 07:25:25 +0000 (07:25 +0000)]
Bluetooth: move AIDL files related to Bluetooth into system/bt (3/3) am: d7870ff246  -s ours
am: 8b7068ed54

Change-Id: I61b48d3a5998c6bf81481edfb4ce8c0a4b1effdf

6 years agoBluetooth: move AIDL files related to Bluetooth into system/bt (3/3)
Jakub Pawlowski [Wed, 9 Aug 2017 07:13:39 +0000 (07:13 +0000)]
Bluetooth: move AIDL files related to Bluetooth into system/bt (3/3)
am: d7870ff246  -s ours

Change-Id: Ia70ed2e23d05016a11dd8aee255698b6317ae5c9

6 years agoBluetooth: move AIDL files related to Bluetooth into system/bt (3/3) o-iot-preview-5 android-o-iot-preview-5
Jakub Pawlowski [Tue, 8 Aug 2017 14:48:36 +0000 (07:48 -0700)]
Bluetooth: move AIDL files related to Bluetooth into system/bt (3/3)

This patch moves *.aidl files from
frameworks/base/core/java/android/bluetooth into system/bt/binder. This
is in preparation to convert the Bluetooth deamon into native
implementation piece by piece.
In order to do that, one must have C++ header files, and paths to them
with AIDL files, and */java/* folder didn't seem as proper place for
that. Additionally, keeping AIDL files out of framework/base will not
require creating dependency on this huge project, which should help
keeping the compilation fast.

Test: compilation test
Change-Id: I75b898380bd0a2f22a8495d8e10156f1efa64495
Merged-In: I75b898380bd0a2f22a8495d8e10156f1efa64495
(cherry picked from commit b4dc215271f5eaa2fe14af42aabf00e925a8ebf5)

6 years agoMerge "Bluetooth: move AIDL files related to bluetooth into system/bt (3/3)"
Jakub Pawlowski [Tue, 8 Aug 2017 19:10:52 +0000 (19:10 +0000)]
Merge "Bluetooth: move AIDL files related to bluetooth into system/bt (3/3)"

6 years agoBluetooth: move AIDL files related to bluetooth into system/bt (3/3)
Jakub Pawlowski [Tue, 8 Aug 2017 14:48:36 +0000 (07:48 -0700)]
Bluetooth: move AIDL files related to bluetooth into system/bt (3/3)

This patch moves *.aidl files from
frameworks/base/core/java/android/bluetooth into system/bt/binder. This
is in preparation to convert the Bluetooth deamon into native
implementation piece by piece.
In order to do that, one must have C++ header files, and paths to them
with AIDL files, and */java/* folder didn't seem as proper place for
that. Additionally, keeping AIDL files out of framework/base will not
require creating dependency on this huge project, which should help
keeping the compilation fast.

Test: compilation test
Change-Id: I75b898380bd0a2f22a8495d8e10156f1efa64495

6 years agoremove Map monitoring from kitchenSink
Lujiang Xue [Mon, 7 Aug 2017 21:18:32 +0000 (14:18 -0700)]
remove Map monitoring from kitchenSink

Bug: 64391322

Test: build and flash
Change-Id: Ie99928fc9ec7e6b5a063e6afae406ba42b5d8295

6 years agorelease-request-d642586e-3e25-49f4-8b4c-acad0e3f63d8-for-git_oc-mr1-release-4249777...
android-build-team Robot [Sun, 6 Aug 2017 07:34:16 +0000 (07:34 +0000)]
release-request-d642586e-3e25-49f4-8b4c-acad0e3f63d8-for-git_oc-mr1-release-4249777 snap-temp-L81500000089724408

Change-Id: Ib3bfff7fa8de8bd1b8215e048015cc4c0f844c9e

6 years agoMerge "Add log to confirm VHAL is ready" into oc-mr1-dev am: 138288a041
Steve Paik [Sat, 5 Aug 2017 04:30:27 +0000 (04:30 +0000)]
Merge "Add log to confirm VHAL is ready" into oc-mr1-dev am: 138288a041
am: 04fbc19689

Change-Id: Icd3ac5dce466e4d3f480084d8f616bf416057b5a

6 years agoMerge "Add log to confirm VHAL is ready" into oc-mr1-dev
Steve Paik [Sat, 5 Aug 2017 04:23:28 +0000 (04:23 +0000)]
Merge "Add log to confirm VHAL is ready" into oc-mr1-dev
am: 138288a041

Change-Id: I25ab387afa1d163e837c4b12dbb1dc28da2b63b4

6 years agoMerge "Add log to confirm VHAL is ready" into oc-mr1-dev
TreeHugger Robot [Sat, 5 Aug 2017 04:15:32 +0000 (04:15 +0000)]
Merge "Add log to confirm VHAL is ready" into oc-mr1-dev

6 years agoFix CarDiagnosticConstantsTest to workaround an issue in generated HAL code am: 64fb5...
Enrico Granata [Fri, 4 Aug 2017 23:52:37 +0000 (23:52 +0000)]
Fix CarDiagnosticConstantsTest to workaround an issue in generated HAL code am: 64fb54b08e
am: 5a90e25454

Change-Id: Id578d978712f275317c10e2a143979632b0197d5

6 years agoFix CarDiagnosticConstantsTest to workaround an issue in generated HAL code
Enrico Granata [Fri, 4 Aug 2017 23:46:07 +0000 (23:46 +0000)]
Fix CarDiagnosticConstantsTest to workaround an issue in generated HAL code
am: 64fb54b08e

Change-Id: I8aa936037239d80cffcc84b962cfe27f838976ba

6 years agoMerge "Add getConfigForSensor to CarSensorManager"
TreeHugger Robot [Fri, 4 Aug 2017 22:00:40 +0000 (22:00 +0000)]
Merge "Add getConfigForSensor to CarSensorManager"

6 years agoAdd log to confirm VHAL is ready
Steve Paik [Fri, 4 Aug 2017 21:01:58 +0000 (14:01 -0700)]
Add log to confirm VHAL is ready

Bug: 62354776
Test:  Confirm log is generated
Change-Id: I2aa44f2c3c199e83c3a5755a7e186825e1b82c5a

6 years agoAdd getConfigForSensor to CarSensorManager
Steve Paik [Tue, 18 Jul 2017 22:51:26 +0000 (15:51 -0700)]
Add getConfigForSensor to CarSensorManager

Bug: 62876582
Test: Embedded Kitchen Sink works with VHAL emulator
Change-Id: Ice937cbb8c207cae0cab7e5417c1a4c93e00171b