]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android/platform-packages-services-car.git/log
android/platform-packages-services-car.git
7 years agofix build nougat-mr1-cts-release nougat-mr1-flounder-release nougat-mr1-release nougat-mr1-security-release nougat-mr1-volantis-release nougat-mr1.1-release nougat-mr1.2-release nougat-mr1.3-release nougat-mr1.4-release nougat-mr1.5-release nougat-mr1.6-release nougat-mr1.7-release nougat-mr1.8-release android-7.1.1_r10 android-7.1.1_r11 android-7.1.1_r12 android-7.1.1_r13 android-7.1.1_r14 android-7.1.1_r15 android-7.1.1_r16 android-7.1.1_r17 android-7.1.1_r2 android-7.1.1_r20 android-7.1.1_r21 android-7.1.1_r22 android-7.1.1_r23 android-7.1.1_r24 android-7.1.1_r25 android-7.1.1_r26 android-7.1.1_r27 android-7.1.1_r28 android-7.1.1_r3 android-7.1.1_r31 android-7.1.1_r32 android-7.1.1_r33 android-7.1.1_r35 android-7.1.1_r38 android-7.1.1_r39 android-7.1.1_r4 android-7.1.1_r40 android-7.1.1_r41 android-7.1.1_r42 android-7.1.1_r43 android-7.1.1_r44 android-7.1.1_r45 android-7.1.1_r46 android-7.1.1_r47 android-7.1.1_r48 android-7.1.1_r49 android-7.1.1_r50 android-7.1.1_r51 android-7.1.1_r52 android-7.1.1_r53 android-7.1.1_r54 android-7.1.1_r55 android-7.1.1_r56 android-7.1.1_r57 android-7.1.1_r58 android-7.1.1_r59 android-7.1.1_r6 android-7.1.1_r7 android-7.1.1_r8 android-7.1.1_r9 android-cts-7.1_r1 android-cts-7.1_r10 android-cts-7.1_r11 android-cts-7.1_r12 android-cts-7.1_r13 android-cts-7.1_r14 android-cts-7.1_r15 android-cts-7.1_r16 android-cts-7.1_r17 android-cts-7.1_r18 android-cts-7.1_r19 android-cts-7.1_r2 android-cts-7.1_r20 android-cts-7.1_r21 android-cts-7.1_r22 android-cts-7.1_r23 android-cts-7.1_r24 android-cts-7.1_r25 android-cts-7.1_r26 android-cts-7.1_r27 android-cts-7.1_r28 android-cts-7.1_r3 android-cts-7.1_r4 android-cts-7.1_r5 android-cts-7.1_r6 android-cts-7.1_r7 android-cts-7.1_r8 android-cts-7.1_r9
Keun-young Park [Fri, 4 Nov 2016 02:33:22 +0000 (19:33 -0700)]
fix build

- doclava has changed signature for generic types

Test: build
Change-Id: I5309bcbcd160ae900ab07edbcee91332e01677dc
(cherry picked from commit 69bc432bacb8609fbe518988c1783839209593b9)

7 years agoMark CarAppContextManager as @hide. nougat-dr1-release nougat-mr1-dev android-7.1.0_r1 android-7.1.0_r2 android-7.1.0_r3 android-7.1.0_r4 android-7.1.0_r5 android-7.1.0_r6 android-7.1.0_r7 android-7.1.1_r1
Vitalii Tomkiv [Sat, 21 May 2016 00:25:51 +0000 (00:25 +0000)]
Mark CarAppContextManager as @hide.
am: 724d95ba5f

* commit '724d95ba5fda4bef577e1d97574c89077e447702':
  Mark CarAppContextManager as @hide.

Change-Id: I0ff0f0a7fd76f94cc603d6405e9e5b3a5b8e1d99

7 years agoMark CarAppContextManager as @hide. nougat-dev
Vitalii Tomkiv [Fri, 20 May 2016 22:40:58 +0000 (15:40 -0700)]
Mark CarAppContextManager as @hide.

For N release we'll mark it as @hide, to refactor and finalized for next
release.

Bug: 28886557
Change-Id: Id80e8bd8c4ec768c69e2cd65c487cb948ff7e3fc

7 years agoupdating the sensor constants to be the same as projected
Jason Tholstrup [Fri, 20 May 2016 19:24:59 +0000 (19:24 +0000)]
updating the sensor constants to be the same as projected
am: 9eae32f8c0

* commit '9eae32f8c09816d35ef28c14ed1f0c5fa39c21f1':
  updating the sensor constants to be the same as projected

Change-Id: I79843a583a346558070b307bec1d25c1f278fb26

7 years agoupdating the sensor constants to be the same as projected
Jason Tholstrup [Tue, 10 May 2016 21:39:05 +0000 (14:39 -0700)]
updating the sensor constants to be the same as projected

Change-Id: Ic109a442da2345ef88a5dc803d089c01858004a7

7 years agoAllow early start of CarService.
Vitalii Tomkiv [Fri, 6 May 2016 20:15:08 +0000 (20:15 +0000)]
Allow early start of CarService.
am: 106f3c4703

* commit '106f3c4703d8000d4e3f97e18455ca07e82fd5bb':
  Allow early start of CarService.

Change-Id: Ia4ddf08b24708b842523b3a043d3a98f64a108a4

7 years agoAllow early start of CarService.
Vitalii Tomkiv [Fri, 6 May 2016 18:47:36 +0000 (11:47 -0700)]
Allow early start of CarService.

Bug: 28620395
Change-Id: Ib9e841e702020f0c4a81e3189e3485ad54bc14fb

7 years agocheck bind failure to car service and retry
Keun-young Park [Fri, 6 May 2016 01:37:49 +0000 (01:37 +0000)]
check bind failure to car service and retry
am: 44241ffb07

* commit '44241ffb0717f22650bbcef19c9b68c1f56cac10':
  check bind failure to car service and retry

Change-Id: I7ea787315955a756d746b5bfa7abc4cc07b7ee40

7 years agocheck bind failure to car service and retry
Keun-young Park [Fri, 6 May 2016 00:43:35 +0000 (17:43 -0700)]
check bind failure to car service and retry

- sysui cannot bind to car service until system user is ready
- add retry logic to retry it.

bug: 28620395
Change-Id: Ib909fb4bf271956b5f689a3afdfca3ed86a8de62

7 years agochange some HVAC properties to be zoned
Keun-young Park [Sat, 23 Apr 2016 05:18:28 +0000 (05:18 +0000)]
change some HVAC properties to be zoned
am: 4fff3d5

* commit '4fff3d5cc4112a341c331688bda9fcb65ed9016a':
  change some HVAC properties to be zoned

Change-Id: I4d711ef01cce39ab81baf8990b8e2d8f4435c0da

7 years agochange some HVAC properties to be zoned
Keun-young Park [Fri, 22 Apr 2016 23:39:24 +0000 (16:39 -0700)]
change some HVAC properties to be zoned

bug: 28285692
Change-Id: I0cadb4604b596c4ddb4d59cac56477c9f0c14c13

8 years agoSome cleanup in Car Ui Apis
Yao Chen [Wed, 13 Apr 2016 18:56:15 +0000 (11:56 -0700)]
Some cleanup in Car Ui Apis

+ Remove setBackgroundResource() api in CarUiEntry
The current implementation is using the wrong Context, and this API
is not necessary as apps can set the background in their main layout or
passing a bitmap using setBackground().

+ Add proper error message for CarUiProvider signature check.

+ fix an error in the car-support.mk

Bug: 28170802
Change-Id: Ida964b5378efaa2e4a1bd0713195fab0c8c619fd

8 years agoFix setLightMode/setDarkMode.
Rakesh Iyer [Wed, 13 Apr 2016 03:00:36 +0000 (20:00 -0700)]
Fix setLightMode/setDarkMode.

Replace incorrect call to resetViewFader with updateViewFader.

Bug: 28165372
Change-Id: I71f1ec95f6bb07830900838e4299d4c15bf02e28

8 years agoMerge "Fix adp_car build breakage" into nyc-dev
Pavel Maltsev [Tue, 12 Apr 2016 22:27:03 +0000 (22:27 +0000)]
Merge "Fix adp_car build breakage" into nyc-dev

8 years agoFix adp_car build breakage
Pavel Maltsev [Tue, 12 Apr 2016 22:24:37 +0000 (15:24 -0700)]
Fix adp_car build breakage

Bug:27814691
Change-Id: I897f5b313e301863624d9f2f8fb727ad93e45a77

8 years agoMerge "Implement changes from car api review of CarHvacManager" into nyc-dev
Pavel Maltsev [Tue, 12 Apr 2016 21:25:30 +0000 (21:25 +0000)]
Merge "Implement changes from car api review of CarHvacManager" into nyc-dev

8 years agoImplement changes from car api review of CarHvacManager
Steve Paik [Mon, 28 Mar 2016 17:31:25 +0000 (10:31 -0700)]
Implement changes from car api review of CarHvacManager

- Add @IntDef for all enums
- Split CarHvacProperty into corresponding Config and Value classes;
- Use java types to represent vehicle value type in API;
- Use generics for different property types;
- Add documentation to clarify behavior
- Allow multiple listeners to register for callbacks
- Remove @SystemApi tag from CarHvacEvent class
- fixed CarHvacManagerTest and vehicle hal mocking
- Added unit tests for CarPropertyConfig and CarPropertyValue

BUG: 278146912790079727142682
Change-Id: Ic860b4ef4ff87db1babde21226ec35ac81f77cea

8 years agoremove permissionGroup from system permissions
Keun-young Park [Mon, 11 Apr 2016 22:02:57 +0000 (15:02 -0700)]
remove permissionGroup from system permissions

- CAR_INFORMATION group is only for information kind things.
  System permission does not belong to here.

bug: 28120471
Change-Id: I5c40623df254af293ae6dd41d8e472abbf3e6ccb

8 years agoAPI review: Add CarNotConnectedException to APIs.
Vitalii Tomkiv [Mon, 4 Apr 2016 18:26:49 +0000 (11:26 -0700)]
API review: Add CarNotConnectedException to APIs.

Bug: 27378263
Change-Id: I73192458847c31c726ee63bbece32f4ca2815e2e

8 years agoRemove dependency on jsr305 from car.support lib
Vitalii Tomkiv [Thu, 31 Mar 2016 17:57:40 +0000 (10:57 -0700)]
Remove dependency on jsr305 from car.support lib

Bug: 27810246

Change-Id: Iacc8a20caec569952e27dd8510f28d935167ed9c

8 years agoMerge "Fixed typos in API and minor cleanup" into nyc-dev
Pavel Maltsev [Thu, 31 Mar 2016 00:30:12 +0000 (00:30 +0000)]
Merge "Fixed typos in API and minor cleanup" into nyc-dev

8 years agoFix car-api-update to include top level android.support.car.* classes.
Vitalii Tomkiv [Wed, 30 Mar 2016 22:59:01 +0000 (15:59 -0700)]
Fix car-api-update to include top level android.support.car.* classes.

Change-Id: I6b03133aede7145ae08acd2d77d60b27a5a85379
Bug: 27930211

8 years agoAdd prebuilt versions of android.car and android.support.car to
Vitalii Tomkiv [Wed, 30 Mar 2016 20:05:59 +0000 (13:05 -0700)]
Add prebuilt versions of android.car and android.support.car to
build-server artifacts.

We had to add joint rule for support.car lib to include both java files
and resources to get aar file correctly generated.

Bug: 27679078
Change-Id: I09b6433665048f77a4aef042eb48b3b82617163b

8 years agoMerge "Add car common product config" into nyc-dev
Sam Hurst [Wed, 30 Mar 2016 18:19:38 +0000 (18:19 +0000)]
Merge "Add car common product config" into nyc-dev

8 years agoAdd car common product config
Sam Hurst [Fri, 18 Mar 2016 16:42:02 +0000 (09:42 -0700)]
Add car common product config

Accumulate common car configuration files
into one location. All car products will base
their configurations on these files.

bug: 27486470
Change-Id: Id0daabc83e0805b50de6d1a48dbcf1396bf2e4b0

8 years agoFixed typos in API and minor cleanup
Pavel Maltsev [Tue, 29 Mar 2016 00:24:07 +0000 (17:24 -0700)]
Fixed typos in API and minor cleanup

Bug:27814691
Change-Id: Ie612105fb6c5b140076a02e327b168cbf92f4a4e

8 years agoRevert "fix build: update api.txt"
Keun-young Park [Fri, 25 Mar 2016 19:59:33 +0000 (19:59 +0000)]
Revert "fix build: update api.txt"

This reverts commit 430009180d57f8d16919b248542520331e77215c.

Change-Id: I1dfe9ccb6740bcddf5e73ab51d857e0c2750496e

8 years agofix build: update api.txt
Keun-young Park [Fri, 25 Mar 2016 19:55:20 +0000 (12:55 -0700)]
fix build: update api.txt

Change-Id: Iba33bccc85228add1d24a0aa5c127f9cf956a6f4

8 years agoMerge "Revert "Fixed typos in API and minor cleanup"" into nyc-dev
Pavel Maltsev [Fri, 25 Mar 2016 19:46:52 +0000 (19:46 +0000)]
Merge "Revert "Fixed typos in API and minor cleanup"" into nyc-dev

8 years agoRevert "Fixed typos in API and minor cleanup"
Pavel Maltsev [Fri, 25 Mar 2016 19:46:38 +0000 (19:46 +0000)]
Revert "Fixed typos in API and minor cleanup"

This reverts commit cde2a7ea6e78aa25919cd2bd5ba36536d9915ad3.

Change-Id: I71d87949246dad51e93e137183094419bddbad16

8 years agoMerge "Fixed typos in API and minor cleanup" into nyc-dev
Pavel Maltsev [Fri, 25 Mar 2016 18:04:22 +0000 (18:04 +0000)]
Merge "Fixed typos in API and minor cleanup" into nyc-dev

8 years agoMerge "Revert "Handle music key event in CarInputService"" into nyc-dev
Pavel Maltsev [Fri, 25 Mar 2016 17:35:08 +0000 (17:35 +0000)]
Merge "Revert "Handle music key event in CarInputService"" into nyc-dev

8 years agoRevert "Handle music key event in CarInputService"
Pavel Maltsev [Fri, 25 Mar 2016 17:33:50 +0000 (17:33 +0000)]
Revert "Handle music key event in CarInputService"

This reverts commit 6651818271c0b63087b52cc4be8ab46969ad1c87.

Change-Id: Id27d7a58509a0da7613e23bb7be7dfaa9978d3a5

8 years agoMerge "Handle music key event in CarInputService" into nyc-dev
Pavel Maltsev [Fri, 25 Mar 2016 17:31:18 +0000 (17:31 +0000)]
Merge "Handle music key event in CarInputService" into nyc-dev

8 years agoFixed typos in API and minor cleanup
Pavel Maltsev [Thu, 24 Mar 2016 19:15:55 +0000 (12:15 -0700)]
Fixed typos in API and minor cleanup

Bug:27814691

Change-Id: I84158df741862e72979cd120296b1d6fbc8258b8

8 years agoMerge "API review: CarAppContextManager. - Separate context change listener from...
Vitalii Tomkiv [Fri, 25 Mar 2016 15:40:53 +0000 (15:40 +0000)]
Merge "API review: CarAppContextManager. - Separate context change listener from ownership listener. Some apps     may just want to monitor the state." into nyc-dev

8 years agochange -EAGAIN to throw ServiceSpecificException
Keun-young Park [Thu, 24 Mar 2016 20:24:31 +0000 (13:24 -0700)]
change -EAGAIN to throw ServiceSpecificException

- -EAGAIN state should not persist and if it persists,
  it is system wide error.
- For now, check exception and return default value when
  get fails. This fixes car service crash in some cases.
- also increase retry timeout for EAGAIN to 5 secs.
- TODO: needs to add persistent failure check and if that
  happens, error state should be reported to user.

bug: 27834209
Change-Id: Idf55b8a2e5d4d5b8edeb806c7962ce04e4a35dda

8 years agoAPI review: CarAppContextManager.
Vitalii Tomkiv [Thu, 24 Mar 2016 22:17:17 +0000 (15:17 -0700)]
API review: CarAppContextManager.
- Separate context change listener from ownership listener. Some apps
    may just want to monitor the state.

Bug: 27598924
Change-Id: I496596b04273e943489e424760fff6764009f959

8 years agoMerge "Add test size annotation to car tests" into nyc-dev
Pavel Maltsev [Thu, 24 Mar 2016 17:43:17 +0000 (17:43 +0000)]
Merge "Add test size annotation to car tests" into nyc-dev

8 years agoMerge "Fixed drawer menu click listener behaviour" into nyc-dev
Aidan Snoswell [Thu, 24 Mar 2016 04:25:06 +0000 (04:25 +0000)]
Merge "Fixed drawer menu click listener behaviour" into nyc-dev

8 years agoFixed drawer menu click listener behaviour
Aidan Snoswell [Wed, 23 Mar 2016 05:32:42 +0000 (16:32 +1100)]
Fixed drawer menu click listener behaviour

Bug: 27811077

Change-Id: Ifd005f88f278122df5d4c99af8aad16d92be6b08

8 years agoAdd test size annotation to car tests
Pavel Maltsev [Wed, 23 Mar 2016 23:32:17 +0000 (16:32 -0700)]
Add test size annotation to car tests

Bug:26873938
Change-Id: Ie0d0cb1ea41d77756ac6f88d27d2487245c7957d

8 years agoMove A2dpSinkService to Bluetooth stack.
Sanket Agarwal [Wed, 23 Mar 2016 00:52:14 +0000 (17:52 -0700)]
Move A2dpSinkService to Bluetooth stack.

Bug: b/27744764
Change-Id: Ie0db9d2b379dd0786e54330e72f018b6bd94c574

8 years agoMerge "Fix failing CarNavigationManager test" into nyc-dev
Pavel Maltsev [Tue, 22 Mar 2016 19:20:55 +0000 (19:20 +0000)]
Merge "Fix failing CarNavigationManager test" into nyc-dev

8 years agoHandle music key event in CarInputService
Pavel Maltsev [Tue, 22 Mar 2016 04:01:33 +0000 (21:01 -0700)]
Handle music key event in CarInputService

- handle music key event by openning default music activity in Car Service;
- add HAL emulator to Input fragment in Kitchen sink;
- fixed instrument cluster fragment issue (it was sticky);
- fixed Audio Focus HAL emulation (had a wrong data type);

Bug: 26961808
Change-Id: Ic205bb44fd8b11d6ad29a2c4a3e917729ce6e862

8 years agoupdate VehicleZoneUtil to be more restrictive
Keun-young Park [Thu, 17 Mar 2016 17:14:23 +0000 (10:14 -0700)]
update VehicleZoneUtil to be more restrictive

- works only for valid zones and zone flag.

bug: 27687346
Change-Id: I2ff252c909585ee96694e5f7f416d566eddeed6a

8 years agoFix failing CarNavigationManager test
Pavel Maltsev [Sat, 19 Mar 2016 02:02:29 +0000 (19:02 -0700)]
Fix failing CarNavigationManager test

We can not run this test if we don't have secondary (virtual) display connected.
Potentially we could implemented fake renderer that will work as meta-data,
but let's at least ignore test failings for now.

Bug:27720793
Change-Id: If246fd3ba747d5c282039071e5fe2da97507dbac

8 years agoAdd car API checks.
Vitalii Tomkiv [Thu, 17 Mar 2016 23:17:21 +0000 (16:17 -0700)]
Add car API checks.

Bug: 27705308
Change-Id: I9826211e2ae3287eb19cf96d57dbff150b208eb2

8 years agoRevert car API checks to fix update-api build
Alan Viverette [Thu, 17 Mar 2016 20:55:49 +0000 (16:55 -0400)]
Revert car API checks to fix update-api build

Change-Id: I6e4442a1645afddee8dd1d186a23963a37b5d722

8 years agoModifying car api check:
Vitalii Tomkiv [Thu, 17 Mar 2016 17:07:13 +0000 (10:07 -0700)]
Modifying car api check:
- remove system-api from car.support.lib
- ensure api-check is run on 'make' command for system image.

Bug: 27705308
Change-Id: I5e68898ca648b4432f4bc935a7defae990a0b891

8 years agoadd missing permission to KS
Keun-young Park [Thu, 17 Mar 2016 00:34:08 +0000 (17:34 -0700)]
add missing permission to KS

- also rename permission (remove PERMISSION_)

bug: 27705642
Change-Id: If2ad4a3fa4af824e88fc2cfc0a2ecf0b8d4b32da

8 years agofix hvac min/max check
Keun-young Park [Wed, 16 Mar 2016 21:10:44 +0000 (14:10 -0700)]
fix hvac min/max check

- convering zone to index was wrong
- moved all zone manipulation into VehicleZoneUtil
- added tests to check basic functionality

bug: 27687346

Change-Id: I044cb88419dc788273391b31bdc3241c63c59391

8 years agoMerge "Adding api current.txt for android.car and android.support.car library APIs...
Keun-young Park [Wed, 16 Mar 2016 23:05:08 +0000 (23:05 +0000)]
Merge "Adding api current.txt for android.car and android.support.car library APIs to ensure compatibility is not broken by API changes." into nyc-dev

8 years agoMove Media Status Service logic to sample renderer
Pavel Maltsev [Tue, 15 Mar 2016 18:23:43 +0000 (11:23 -0700)]
Move Media Status Service logic to sample renderer

Also, implement crossfade animation between phone and media cards.

Bug:27695164
Change-Id: Iad6d31f563aa34df557caadd9b2f3fc304ca5af4

8 years agoAdding api current.txt for android.car and android.support.car library
Vitalii Tomkiv [Tue, 15 Mar 2016 21:04:45 +0000 (14:04 -0700)]
Adding api current.txt for android.car and android.support.car library
APIs to ensure compatibility is not broken by API changes.

Bug: 27081644
Change-Id: I41657d060f1272031c45a8b56a891421293c7d52

8 years agoMerge "Handle phone status changes in cluster demo renderer" into nyc-dev
Pavel Maltsev [Wed, 16 Mar 2016 21:24:56 +0000 (21:24 +0000)]
Merge "Handle phone status changes in cluster demo renderer" into nyc-dev

8 years agoMerge "Car support lib changes for shared support lib" into nyc-dev
Jason Tholstrup [Wed, 16 Mar 2016 20:42:58 +0000 (20:42 +0000)]
Merge "Car support lib changes for shared support lib" into nyc-dev

8 years agoHandle phone status changes in cluster demo renderer
Pavel Maltsev [Tue, 15 Mar 2016 03:14:56 +0000 (20:14 -0700)]
Handle phone status changes in cluster demo renderer

Bug:27695164
Change-Id: Ia8c3a285208524f2288f36397e1296ab80b83d46

8 years agoCar support lib changes for shared support lib
Jason Tholstrup [Tue, 15 Mar 2016 21:02:58 +0000 (14:02 -0700)]
Car support lib changes for shared support lib

- remove IBinder from onServiceConnected
- Add CarNotConnected exceptions to android.car.support methods
- various type cleanup

bug: 27679766

Change-Id: I58335da8296ec83ad2d6ffe76ba18d54ea8563a0

8 years agoMerge "PBAP migration to BT Profile" into nyc-dev
Joseph Pirozzo [Tue, 15 Mar 2016 23:21:10 +0000 (23:21 +0000)]
Merge "PBAP migration to BT Profile" into nyc-dev

8 years agoMerge "vehicle hal refactoring from hal review" into nyc-dev
Keun-young Park [Tue, 15 Mar 2016 22:08:29 +0000 (22:08 +0000)]
Merge "vehicle hal refactoring from hal review" into nyc-dev

8 years agovehicle hal refactoring from hal review
Keun-young Park [Fri, 11 Mar 2016 02:44:40 +0000 (18:44 -0800)]
vehicle hal refactoring from hal review

- call release_memory_from_get for freeing memory allocated
  from get call
- add retry for NOT_READY error which can happen at initial
  stage
- simplify zoned properties with missing multiple mins/maxs for
  zoned properties
- update HVAC API to return min/max values per each zone
- change HVACV API to return all zones available
  (renamed to getZones())
- fix missing write permision to property 0 which
  is used to gatekeep hal mocking

bug: 2759733827596281

Change-Id: I353acc0398f62c4933491e43592ea598d17d2422

8 years agoFix car service crashing
Pavel Maltsev [Thu, 10 Mar 2016 23:39:46 +0000 (15:39 -0800)]
Fix car service crashing

Let car service be more tolerant to instrument cluster configuration until
it is stabilzed.

Bug: 27599329
Change-Id: Id1f31084aa27057de1eac2e7e8a03a17c97d7b6f

8 years agoAdd access permission for CarNavigationManager
Pavel Maltsev [Wed, 9 Mar 2016 18:56:23 +0000 (10:56 -0800)]
Add access permission for CarNavigationManager

Bug:27547330
Change-Id: I79966b078631b98902dadaeaecbfea2604ffe1a9

8 years agoMerge "Add CarProjectionManager and CarProjectionService." into nyc-dev
Vitalii Tomkiv [Tue, 15 Mar 2016 00:18:55 +0000 (00:18 +0000)]
Merge "Add CarProjectionManager and CarProjectionService." into nyc-dev

8 years agoRevert "Updates to the car-support-lib in support of projected."
Jason Tholstrup [Mon, 14 Mar 2016 23:51:28 +0000 (23:51 +0000)]
Revert "Updates to the car-support-lib in support of projected."

This reverts commit 0d3b6b2cefae2927343cb4f80c9ebac628276ea7.

Change-Id: I764758d9fd1ffa64b88cb9a2bdffd60a8924623c

8 years agoUpdates to the car-support-lib in support of projected.
Jason Tholstrup [Fri, 11 Mar 2016 20:55:16 +0000 (12:55 -0800)]
Updates to the car-support-lib in support of projected.

Change-Id: I4a4d34de7453bb979831b53fbce6f24bad2f9884

8 years agoAdd CarProjectionManager and CarProjectionService.
Vitalii Tomkiv [Wed, 9 Mar 2016 22:57:32 +0000 (14:57 -0800)]
Add CarProjectionManager and CarProjectionService.

- Allows to bind back to projected app service to boost its prioirity
- Allows to handle voice search requests.

Bug: 1973068227107725

Change-Id: Ib5d816964f4329eb21b19f64b50dee4322f187fb

8 years agoMerge "Fix bugs in CarUiResourceLoader." into nyc-dev
Yao Chen [Mon, 14 Mar 2016 19:13:20 +0000 (19:13 +0000)]
Merge "Fix bugs in CarUiResourceLoader." into nyc-dev

8 years agoFix bugs in CarUiResourceLoader.
Yao Chen [Fri, 11 Mar 2016 00:03:43 +0000 (16:03 -0800)]
Fix bugs in CarUiResourceLoader.

+ fix the car ui provider package name
+ update the file using the latest code from GearHeadResourceLoader.java

Bug: 26750551
Change-Id: Idbf36096ad3ba692cf9e42b35c9e4f4adaab4176

8 years agoMerge "Clean up listener when car disconnected" into nyc-dev
Steve Paik [Mon, 14 Mar 2016 17:39:53 +0000 (17:39 +0000)]
Merge "Clean up listener when car disconnected" into nyc-dev

8 years agoClean up listener when car disconnected
Steve Paik [Thu, 10 Mar 2016 02:26:11 +0000 (18:26 -0800)]
Clean up listener when car disconnected

Also remove queueing of events when there is no listener.

BUG: 26794947
Change-Id: I25e65ebedf1c3f4656370249da9366c99fd6cd43

8 years agoMerge "Added VNS unit Tests" into nyc-dev
Sam Hurst [Fri, 11 Mar 2016 17:54:22 +0000 (17:54 +0000)]
Merge "Added VNS unit Tests" into nyc-dev

8 years agoAdded VNS unit Tests
Sam Hurst [Fri, 11 Mar 2016 00:33:41 +0000 (16:33 -0800)]
Added VNS unit Tests

Tests the methods in the VehiclePropertyAccessControl class

bug: 27207225
Change-Id: I6be71dc408ce07f2b874a1b158b04fd5d3526732

8 years agoPBAP migration to BT Profile
Joseph Pirozzo [Wed, 9 Mar 2016 23:23:40 +0000 (15:23 -0800)]
PBAP migration to BT Profile

Remove Car specific service that synchronizes phone book in favor of
performing steps within the bluetooth stack upon autoconnect.

Bug: 27490041
Change-Id: If3f51057f206c7f7f3560506b2dc8b5f6d1580fd

8 years agoMerge "Replace ZONE_ALL with ZONE_ROW_1_ALL for HVAC" into nyc-dev
Steve Paik [Wed, 9 Mar 2016 20:59:21 +0000 (20:59 +0000)]
Merge "Replace ZONE_ALL with ZONE_ROW_1_ALL for HVAC" into nyc-dev

8 years agoReplace ZONE_ALL with ZONE_ROW_1_ALL for HVAC
Steve Paik [Wed, 9 Mar 2016 00:08:08 +0000 (16:08 -0800)]
Replace ZONE_ALL with ZONE_ROW_1_ALL for HVAC

BUG: 27257473

Change-Id: I6baceb70362a8fd3c3aacebded4e49e0adf0c974

8 years agoupdate vns_policy
Keun-young Park [Wed, 9 Mar 2016 01:59:17 +0000 (17:59 -0800)]
update vns_policy

- make all read only items as r
- more access to audio for focus handling

bug: 27207225
Change-Id: I3679aa6c32ac433e309f71eab4d62c8d791eef37

8 years agoMerge "Fix car service crashing" into nyc-dev
Pavel Maltsev [Wed, 9 Mar 2016 00:52:41 +0000 (00:52 +0000)]
Merge "Fix car service crashing" into nyc-dev

8 years agoFix car service crashing
Pavel Maltsev [Wed, 9 Mar 2016 00:47:01 +0000 (16:47 -0800)]
Fix car service crashing

Let car service be more tolerant to instrument cluster configuration until
it is stabilzed.
Bug:27555151

Change-Id: Icfcd1e99d269997dd416179831b3a66d689d5730

8 years agoMerge "rename to GEAR_LOW" into nyc-dev
Keun-young Park [Tue, 8 Mar 2016 23:34:51 +0000 (23:34 +0000)]
Merge "rename to GEAR_LOW" into nyc-dev

8 years agorename to GEAR_LOW
Keun-young Park [Tue, 8 Mar 2016 23:06:59 +0000 (15:06 -0800)]
rename to GEAR_LOW

bug: 27549456
Change-Id: Ifc64f6d898ebf6b51b991982edfe54fa94e9e9ea

8 years agoMerge "Load VNS property access gatekeeping from file" into nyc-dev
Sam Hurst [Tue, 8 Mar 2016 22:36:24 +0000 (22:36 +0000)]
Merge "Load VNS property access gatekeeping from file" into nyc-dev

8 years agoLoad VNS property access gatekeeping from file
Sam Hurst [Mon, 29 Feb 2016 17:35:22 +0000 (09:35 -0800)]
Load VNS property access gatekeeping from file

VNS property access permissions are loaded from an xml
configuration file.

Bug: 27207225
Change-Id: I14ba85f3c0f5cccb319e8d58afe5ef814ecc4003

8 years agoMerge "rename to GEAR_PARK" into nyc-dev
Keun-young Park [Tue, 8 Mar 2016 20:02:41 +0000 (20:02 +0000)]
Merge "rename to GEAR_PARK" into nyc-dev

8 years agorename to GEAR_PARK
Keun-young Park [Tue, 8 Mar 2016 19:59:23 +0000 (11:59 -0800)]
rename to GEAR_PARK

- from GEAR_PARKING

bug: 27549456
Change-Id: Ic61d6ed05b1374918640de2cd8584a77dd22f354

8 years agoMerge "car api review: remove sensor types not relevant for embedded" into nyc-dev
Keun-young Park [Tue, 8 Mar 2016 19:30:12 +0000 (19:30 +0000)]
Merge "car api review: remove sensor types not relevant for embedded" into nyc-dev

8 years agoMerge "Add short voice search button handler to Input service." into nyc-dev
Vitalii Tomkiv [Tue, 8 Mar 2016 19:22:17 +0000 (19:22 +0000)]
Merge "Add short voice search button handler to Input service." into nyc-dev

8 years agoAdd short voice search button handler to Input service.
Vitalii Tomkiv [Tue, 8 Mar 2016 18:48:51 +0000 (10:48 -0800)]
Add short voice search button handler to Input service.

- CarInputService allows to set listener for short VOICE_ASSISTANT key
  press along with handler for long press events.

Bug: 19730682
Change-Id: Ia5bac58859f31e291595e58ae27adbed8ef9ddce

8 years agoHandle cases of connect and disconnect and show dummy UI to play.
Sanket Agarwal [Fri, 12 Feb 2016 22:57:45 +0000 (14:57 -0800)]
Handle cases of connect and disconnect and show dummy UI to play.

Currently on connect with bluetooth we sometimes end up with no UI to
play if AVRCP has not sent the right metadata. We should always allow
the user to press something so that it can avoid first connect jitter.

Bug: b/26928143
Change-Id: I4c351a4d9a885ab690ea0619c26d1aac13fe21cf

8 years agocar api review: remove sensor types not relevant for embedded
Keun-young Park [Sat, 5 Mar 2016 02:18:19 +0000 (18:18 -0800)]
car api review: remove sensor types not relevant for embedded

- For embedded, sensor data like GPS, accelerometer, compass
  should be coming from SensorManager api.
- For support lib, embedded wrapper should proxy to SensorManager
  for these removed sensors
- also add support for low fuel warning.
- duplicated carapi_test into android_car_apitest and
  android_support_car_apitest.

bug: 27411121
Change-Id: Idf261b0793ed5debd1d0f4ac84372ea2b7614a63

8 years agoMerge "Adding MediaStatusService to Inst Cluster API" into nyc-dev
Pavel Maltsev [Mon, 7 Mar 2016 21:59:48 +0000 (21:59 +0000)]
Merge "Adding MediaStatusService to Inst Cluster API" into nyc-dev

8 years agoAdding MediaStatusService to Inst Cluster API
Pavel Maltsev [Thu, 3 Mar 2016 00:33:44 +0000 (16:33 -0800)]
Adding MediaStatusService to Inst Cluster API

Added InstrumentClusterService for all interactions with instrument cluster;
Added MediaStatusService that listens for current media being played and
      pushed this changes to inst cluster renderer.
Major refactoring of Renderer - now almost all methods in renderer are runs
      in UI thread, had to add thread-safe wrappers to renderer classes;

Bug:27313264
Change-Id: I989cdf61529f885d2eebd3afbd416a35c59a9527

8 years agocar api review: remove car connection listener from android.car
Keun-young Park [Sat, 5 Mar 2016 00:49:41 +0000 (16:49 -0800)]
car api review: remove car connection listener from android.car

- For embedded, car is always connected as long as service
  is connected.
- Remove that API from android.car
- android.support.car still needs the API. So Embedded wrapper
  will send connection notification immediately as long as
  service is connected.

bug: 27374331
Change-Id: Iae6df76795c724b9365c64fefc971b98238aee27

8 years agofix wrong warning from audio hal service
Keun-young Park [Sat, 5 Mar 2016 00:21:19 +0000 (16:21 -0800)]
fix wrong warning from audio hal service

- internally tagged type does not have any audio context type associated

Change-Id: Idda725f01394fa3a6559f89c135c1b26a24efd61

8 years agoincrease default focus wait timeout to 1 sec
Keun-young Park [Fri, 4 Mar 2016 02:45:11 +0000 (18:45 -0800)]
increase default focus wait timeout to 1 sec

- some car can take up to a sec.

bug: 27487050
Change-Id: I9adffdb6c533bf7c6ee1a1fb6d14cc96dd799999

8 years agofix nav focus handling while radio is active
Keun-young Park [Fri, 4 Mar 2016 01:16:51 +0000 (17:16 -0800)]
fix nav focus handling while radio is active

- stream to play nav was cleared when radio is active.
  fix it to stop radio when primary stream is conflicting
  with radio.
- extend kitchensink audio test to have more focus test
- extend bottom buttons to handle app context and radio
- add radio start / stop which only controls focus
- change nav play to use GAIN_TR_MAY_DOCK

bug: 27475946

Change-Id: I82d63306fb15c84c7e9b0eef51cc25eb18f42660

8 years agoadd input service
Keun-young Park [Tue, 1 Mar 2016 00:54:29 +0000 (16:54 -0800)]
add input service

- CarInputService monitors input event through vehicle hal
  and handle it by itself (for now, VOICE_ASSITANT only),
  deliver it to other relevant component,
  or inject as android key event into kernel input device.
- renamed jni to jni_car_service
- added kitchensink input test.
- From kitchensink test, single touch of volume key does not work
  as touch event in other window mess things up. But long press should
  work. It will work in real physical keys.
- TODO: android key to linux key mapping should be expanded
  for all possible keys.

bug: 27461452

Change-Id: I51e4b64bcd3c745f27ebb089fafce536be91f04d

8 years agoadd kitchensink test app
Keun-young Park [Wed, 2 Mar 2016 03:08:40 +0000 (19:08 -0800)]
add kitchensink test app

bug: 27443255
Change-Id: I763de96c7463d37b3e68413994b470083b5f5ba6

8 years agoAdd requestAudioFocus and abandonAudioFocus to CarAutioManager.
Vitalii Tomkiv [Tue, 1 Mar 2016 00:14:51 +0000 (16:14 -0800)]
Add requestAudioFocus and abandonAudioFocus to CarAutioManager.

This allows to expose hidden api from AudioManager.
Bug: 19730682
Change-Id: I9c4a2cef2ba53a9ca06cf1a50336c11183334bc0