Age | Commit message (Collapse) | Author |
|
The test setup was using a async call that would not finish before the first
assert. This will not block until the test environment is ready.
Bug:79152037
Test: run the test
Change-Id: I3914769b437e44e31b7799c7d28a9a7c5d440bbb
|
|
SENSOR_TYPE_DRIVING_STATUS is not supported in AAE, hence if the test is
running in an AAE environment, don't run testDrivignStatus().
Bug: 77340835
Test: runtest -x CarSensorManagerTest.java
Change-Id: Id78b09fbc6bd1a5c35f49753cc8ab29549188e48
|
|
This change sets LOCAL_SDK_VERSION for all packages where
this is possible without breaking the build, and
LOCAL_PRIVATE_PLATFORM_APIS := true otherwise.
Setting one of these two will be made required soon, and this
is a change in preparation for that. Not setting LOCAL_SDK_VERSION
makes the app implicitly depend on the bootclasspath, which is
often not required. This change effectively makes depending on
private apis opt-in rather than opt-out.
Test: make relevant packages
Bug: 73535841
Change-Id: I1e77ed30aa2b67a6b8640a23fc42c28b0445bf29
|
|
Also removed some now-redundant methods. Since these methods were
previously @hide, there should be no harm in removing them as we
un-@hide onEvent.
Test: make update-car-api
Change-Id: I28d4621b3bcae01489dceea487d15878bbbeaa6b
|
|
Statically including legacy-android-test leads to duplicate classes
which causes build time problems (with Proguard) and runtime problems on
older SDK versions. This change:
* Stops statically including legacy-android-test.
* Adds compile time dependencies on andoid.test.base, android.test.mock
and android.test.runner where necessary.
* Adds <uses-library android:name="android.test.runner"/> to any
affected package to ensure that the classes that were included by
legacy-android-test are still available at runtime. That also adds a
dependency on android.test.base and android.test.mock.
The following change descriptions were generated automatically and so
may be a little repetitive. They are provided to give the reviewer
enough information to check the comments match what has actually been
changed and check the reasoning behind the changes.
* service/Android.mk
Removed legacy-android-test from LOCAL_STATIC_JAVA_LIBRARIES
because statically including the classes in CarService results in
duplicate classes which leads to build time and compile time
issues.
* service/AndroidManifest.xml
Add uses-library for android.test.runner because otherwise this
change would change the set of files available to CarService at
runtime.
* tests/CarDiagnosticVerifier/Android.mk
Removed legacy-android-test from LOCAL_STATIC_JAVA_LIBRARIES
because statically including the classes in CarDiagnosticVerifier
results in duplicate classes which leads to build time and compile
time issues.
* tests/CarDiagnosticVerifier/AndroidManifest.xml
Add uses-library for android.test.runner because otherwise this
change would change the set of files available to
CarDiagnosticVerifier at runtime.
* tests/EmbeddedKitchenSinkApp/Android.mk
Removed legacy-android-test from LOCAL_STATIC_JAVA_LIBRARIES
because statically including the classes in EmbeddedKitchenSinkApp
results in duplicate classes which leads to build time and compile
time issues. It is also unnecessary as EmbeddedKitchenSinkApp
targets SDK version 25 which provides all the classes at runtime.
* tests/EmbeddedKitchenSinkApp/AndroidManifest.xml
Add uses-library for android.test.runner because otherwise this
change would change the set of files available to
EmbeddedKitchenSinkApp at runtime.
* tests/android_car_api_test/Android.mk
Removed legacy-android-test from LOCAL_STATIC_JAVA_LIBRARIES
because statically including the classes in AndroidCarApiTest
results in duplicate classes which leads to build time and compile
time issues.
Added 'android.test.base' to LOCAL_JAVA_LIBRARIES because
AndroidCarApiTest's source depends on its classes and because of
these changes they are no longer present on the compilation path.
* tests/android_support_car_api_test/Android.mk
Removed legacy-android-test from LOCAL_STATIC_JAVA_LIBRARIES
because statically including the classes in
AndroidSupportCarApiTest results in duplicate classes which leads
to build time and compile time issues. It is also unnecessary as
AndroidSupportCarApiTest targets SDK version 23 which provides all
the classes at runtime.
Added 'android.test.base' to LOCAL_JAVA_LIBRARIES because
AndroidSupportCarApiTest's source depends on its classes and
because of these changes they are no longer present on the
compilation path.
* tests/carservice_test/Android.mk
Removed legacy-android-test from LOCAL_STATIC_JAVA_LIBRARIES
because statically including the classes in CarServiceTest results
in duplicate classes which leads to build time and compile time
issues.
Added 'android.test.base' to LOCAL_JAVA_LIBRARIES because
CarServiceTest's source depends on its classes and because of these
changes they are no longer present on the compilation path.
* tests/carservice_unit_test/Android.mk
Added 'android.test.base' to LOCAL_JAVA_LIBRARIES because
CarServiceUnitTest's source depends on its classes and because of
these changes they are no longer present on the compilation path.
Removed legacy-android-test from LOCAL_STATIC_JAVA_LIBRARIES
because statically including the classes in CarServiceUnitTest
results in duplicate classes which leads to build time and compile
time issues.
* tests/obd2_app/Android.mk
Removed legacy-android-test from LOCAL_STATIC_JAVA_LIBRARIES
because statically including the classes in Obd2App results in
duplicate classes which leads to build time and compile time
issues.
* tests/obd2_app/AndroidManifest.xml
Add uses-library for android.test.runner because otherwise this
change would change the set of files available to Obd2App at
runtime.
* tests/usb/AoapHostApp/Android.mk
Removed legacy-android-test from LOCAL_STATIC_JAVA_LIBRARIES
because statically including the classes in AoapHostApp results in
duplicate classes which leads to build time and compile time
issues.
* tests/usb/AoapHostApp/AndroidManifest.xml
Add uses-library for android.test.runner because otherwise this
change would change the set of files available to AoapHostApp at
runtime.
Bug: 30188076
Test: make checkbuild
Change-Id: I97bfbbfe7587e9e4ba6df2102e96e9ed3868cb90
|
|
- Handle snesors defined only in car lib while it is reserved in support lib
bug: 65125210
Test: the test
Change-Id: I002fe8e6fdccdaf2ae85f4d495b4689f0d19b321
|
|
Test: Tested running it locally.
Change-Id: I45c142d0c3fe4b5984d3d79bc75542ef406f2805
|
|
Remove the ui resources since all of them have been migrated
to car-stream-ui-lib and car-apps-common.
Bug: 33210228
Test: Booted and did a sanity pass through all the apps.
Change-Id: If8351d849797da6a707529d4d2c910052cdc5c11
|
|
In preparation for removing junit classes from the Android API
the legacy-test target will be removed from the
TARGET_DEFAULT_JAVA_LIBRARIES. This change adds explicit
dependencies on junit and/or legacy-android-test to ensure that
modules will compile properly once it is removed.
Bug: 30188076
Test: make checkbuild
Change-Id: I0b573e69af8827d6068ba5217c85d7707597caf5
|
|
ServiceConnectionCallback into one.
Test: make -j64 dist (batland)
Change-Id: I6037c1cb0fba71e558f70187790cb085289baf17
|
|
Change-Id: Ic24958b06b622f28dc5473e116d1f4c3074c9808
|
|
- more @IntDef
- *Listener to *Callback when multiple methods are there.
- replace HvacPropertyId into CarHvacManager.ID_*
- replace CabinPropertyId into CarCabinManager.ID_*
- hide ValueTypeDef
- also fix failing CarNavigationStatusManagerTest
bug: 31930987
Change-Id: If8e8304a62f4f5d7d6f2d5d811bd65691370216e
|
|
- String to CharSequence for event name
- @IntDef clean ups
- void for set* APIs
App will lose app focus and will know it anyway.
bug: 31930987
Change-Id: Ic84c0a0bbe2980f51c3c260f5aa1181bf1b9bbe3
|
|
bug: 31867090
Test: run tests
Change-Id: I5ea7719460ee29934efde8aa77c7a367bc86eb12
|
|
bug: 31913591
Change-Id: I3a0f9a57ecdccdae6c0b3b98b5bbf9b31733933b
|
|
Change-Id: Ie6cf991cda144fb456da1650d67e146c0003a9cb
|
|
Change-Id: Ia537b4075af5846436a0754481c8622cc7b1dca7
|
|
Change-Id: Id8eceac2322564da8a5fd3f882574041a0b97704
|
|
Change-Id: I88aadf3d80e1da06b976d752912a4cf1682bb257
|
|
Change-Id: I0baf0d77ba2ec076e2e16849b11944907416066b
|
|
core changes.
Change-Id: I023fda74ae70d48519f22746d8aa182f6e0ee624
|
|
Changes include:
- rename to CarAppFocusManager
- allow multiple client listener for listening and setting.
- change name for set / reset to requestAppFocus, abandonAppFocus
- rename all APIs to use focus instead of context
Bug: 28886557
Change-Id: I5e5285c104435dbd2eea43c4b0e43ae5ead81218
|
|
requested and renamed to CarNavigationStatusListener.
Change-Id: I2e525d716b51a4f418af5e85aa445a0afa0ee1ca
|
|
Bug: 28767566
Change-Id: I8e53ccc94fa5f1b5578cbb8bd28629a3bfe2056c
|
|
- both support.car and android.car should use the same enums.
- use reflection to make sure that they are the same.
bug: 28677436
Change-Id: Icfb68d62d76e3b1e9cbe2f1dc48e8b72bf1c0fb7
|
|
- Separate context change listener from ownership listener. Some apps
may just want to monitor the state.
Bug: 27598924
Change-Id: I496596b04273e943489e424760fff6764009f959
|
|
Bug:26873938
Change-Id: Ie0d0cb1ea41d77756ac6f88d27d2487245c7957d
|
|
- remove IBinder from onServiceConnected
- Add CarNotConnected exceptions to android.car.support methods
- various type cleanup
bug: 27679766
Change-Id: I58335da8296ec83ad2d6ffe76ba18d54ea8563a0
|
|
This reverts commit 0d3b6b2cefae2927343cb4f80c9ebac628276ea7.
Change-Id: I764758d9fd1ffa64b88cb9a2bdffd60a8924623c
|
|
Change-Id: I4a4d34de7453bb979831b53fbce6f24bad2f9884
|
|
- 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
|