android/platform-hardware-interfaces.git
3 years agoUse -Werror in hardware/interfaces/automotive/vehicle
Chih-Hung Hsieh [Mon, 20 Nov 2017 22:14:27 +0000 (14:14 -0800)]
Use -Werror in hardware/interfaces/automotive/vehicle

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I6a9233b4a2df7b6403dbabffb75cc4905d3da887
Merged-In: I851c9b2ff956b0f6d9d7a6076d495aad9038a66a

3 years agoMerge "Test for references to typedef'd enum."
Treehugger Robot [Tue, 28 Nov 2017 02:02:58 +0000 (02:02 +0000)]
Merge "Test for references to typedef'd enum."

3 years agoTest for references to typedef'd enum.
Steven Moreland [Tue, 28 Nov 2017 00:05:09 +0000 (16:05 -0800)]
Test for references to typedef'd enum.

Allow using an enum even when it is typedef'd.

Test: hidl-gen -Lcheck
Change-Id: I45f8b40d67773c1cd34c9353b847dbae1cc4bdcd

3 years agoMerge "Additional tests for enum iteration."
Treehugger Robot [Mon, 27 Nov 2017 20:17:30 +0000 (20:17 +0000)]
Merge "Additional tests for enum iteration."

3 years agoMerge "DO NOT MERGE: android.hardware.graphics.allocator@2.0 is no longer VNDK-SP"
Treehugger Robot [Wed, 22 Nov 2017 07:52:30 +0000 (07:52 +0000)]
Merge "DO NOT MERGE: android.hardware.graphics.allocator@2.0 is no longer VNDK-SP"

3 years agoMerge "Fix Keymaster VTS for OpenSSL error code change"
Treehugger Robot [Wed, 22 Nov 2017 01:55:27 +0000 (01:55 +0000)]
Merge "Fix Keymaster VTS for OpenSSL error code change"

3 years agoDO NOT MERGE: android.hardware.graphics.allocator@2.0 is no longer VNDK-SP
Jiyong Park [Tue, 21 Nov 2017 01:34:30 +0000 (10:34 +0900)]
DO NOT MERGE: android.hardware.graphics.allocator@2.0 is no longer VNDK-SP

The interface lib has been in VNDK-SP because
android.hardware.graphics.mapper@1.0 was using it. However, since the
dependency has gone [1], there is no need keep it in VNDK-SP. The
VNDK-SP set should be kept as small as possible because libs in VNDK-SP
are subject to double-loading.

Unmark the 'support_system_process' property to exclude the lib from
VNDK-SP.

Bug: 69480083
Test: walleye boots to the UI
Merged-In: I8722c1ac15ddf56a627a12a0c649b4d734e5e5cd
Change-Id: I8722c1ac15ddf56a627a12a0c649b4d734e5e5cd
(cherry picked from commit ec44d18dbe693e86db9ac6e56ab08e415664be56)

3 years agoAdditional tests for enum iteration.
Steven Moreland [Fri, 17 Nov 2017 22:25:32 +0000 (14:25 -0800)]
Additional tests for enum iteration.

Bug: 68715899
Test: hidl_test
Change-Id: I78ca51568a5380839782ead5698f4d0ac0a3a7dd

3 years agoInitialize usb_count in the setup funtion.
Badhri Jagan Sridharan [Thu, 16 Nov 2017 23:13:12 +0000 (15:13 -0800)]
Initialize usb_count in the setup funtion.

Spurious wakeups can cause the test thread to return even if the
callback was not actually called as the usb_count isnt initialized.

Bug: 65469351
Test: mma and pushed locally to the device & tested.
--skip-preconditions --module VtsHalUsbV1_0Target
Change-Id: Ib0e838cf4a44807142eab6aa5e9df0cc462bb973

3 years agoTransfer VTS test ownership.
Ryan Campbell [Thu, 16 Nov 2017 22:24:49 +0000 (14:24 -0800)]
Transfer VTS test ownership.

Remove self from test ownership and transfer to new owners as agreed.

Test: none
Bug: 69425312
Change-Id: I8b189e6f2d7076b9ee7f3bad91445ccf6c5e1767
Merged-In: I8b189e6f2d7076b9ee7f3bad91445ccf6c5e1767

3 years agowifi(vts): Skip tests if feature not supported
Roshan Pius [Wed, 15 Nov 2017 21:35:30 +0000 (13:35 -0800)]
wifi(vts): Skip tests if feature not supported

Bug: 69338713
Test: `make vts -j30 BUILD_GOOGLE_VTS=true TARGET_PRODUCT=aosp_arm64 &&
vts-tradefed run commandAndExit vts --skip-all-system-status-check
--primary-abi-only --skip-preconditions --module VtsHalWifiV1_0Target -l
INFO`
Change-Id: If70050811ce87f8eff32696ecdd4d3f49646bad0

3 years agoMerge "Convert Renderscript Hal test to test against each of the service names."
Zhuoyao Zhang [Wed, 15 Nov 2017 17:34:35 +0000 (17:34 +0000)]
Merge "Convert Renderscript Hal test to test against each of the service names."

3 years agoFix Keymaster VTS for OpenSSL error code change
Iris Chang [Wed, 8 Nov 2017 08:24:45 +0000 (16:24 +0800)]
Fix Keymaster VTS for OpenSSL error code change

OpenSSL changes error code of large RSA data from
KM_ERROR_INVALID_INPUT_LENGTH to KM_ERROR_INVALID_ARGUMENT which causes
HidlHalGTest#EncryptionOperationsTest.RsaOaepTooLarge and
HidlHalGTest#EncryptionOperationsTest.RsaPkcs1TooLarge tests failed.
Fix keymaster VTS to accept both the error codes.

Bug: 68289922
Test: HidlHalGTest#EncryptionOperationsTest.RsaOaepTooLarge and
      HidlHalGTest#EncryptionOperationsTest.RsaPkcs1TooLargeHidlHalGTest#EncryptionOperationsTest.RsaOaepTooLarge
      and HidlHalGTest#EncryptionOperationsTest.RsaPkcs1TooLarge are
      passed after applying this modification and other Keymaster 3.0
      VTS test cases are not affected.
Change-Id: I493bfa1c6e4b69560dfae3585a416b5c3d33e215

3 years agoMerge "VTS: fix RadioHidlTest.getAvailableNetworks issue"
Treehugger Robot [Wed, 15 Nov 2017 04:06:29 +0000 (04:06 +0000)]
Merge "VTS: fix RadioHidlTest.getAvailableNetworks issue"

3 years agoConvert Renderscript Hal test to test against each of the service names.
Zhuoyao Zhang [Tue, 14 Nov 2017 01:42:41 +0000 (17:42 -0800)]
Convert Renderscript Hal test to test against each of the service names.

Bug:64203181
Test: vts-tradefed run vts -m VtsHalRenderscriptV1_0Target
Change-Id: I40bb519f901a553363837a42ee7450db32d22e27

3 years agoConvert GraphicsMapper Hal test to test against each of the service
Zhuoyao Zhang [Mon, 13 Nov 2017 21:50:20 +0000 (13:50 -0800)]
Convert GraphicsMapper Hal test to test against each of the service
names.

Bug:64203181
Test: vts-tradefed run vts -m VtsHalGraphicsMapperV2_0Target
Change-Id: Icbef0f0575183033c069d8ec097ab774207c40de

3 years agoVTS: fix RadioHidlTest.getAvailableNetworks issue
Iris Chang [Mon, 6 Nov 2017 02:40:22 +0000 (10:40 +0800)]
VTS: fix RadioHidlTest.getAvailableNetworks issue

Analysis: VtsHalRadioV1_0Target's timeout is too short for
getAvailableNetworks, because this request duration depends on NW
environment or frequency.

Suggested solution: Add a timeout parameter to wait() and default
timeout value is 5 minutes in order to avoid timeout fail due to NW
environment.

Bug: 68834032
Test: getAvailableNetworks can be passed after we apply this patch and
      test result for all other telephony 1.0 and 1.1 test cases are not
      changed.
Change-Id: Iaae71e0abacd28275d86a19264813ff209ddb79c

3 years agoMerge "Revert "Add micro-vts.sh""
Yifan Hong [Tue, 14 Nov 2017 00:01:39 +0000 (00:01 +0000)]
Merge "Revert "Add micro-vts.sh""

3 years agoRevert "Add micro-vts.sh"
Yifan Hong [Mon, 13 Nov 2017 22:18:38 +0000 (22:18 +0000)]
Revert "Add micro-vts.sh"

This reverts commit 0cfbe287040fedf1b8895899f201244cc0ef67ed.

Reason for revert: Moved to internal master

Change-Id: I4adbc59799c9a6315e2b9dfa76189d22f40b8b32

3 years agoMerge "Fix library loading order in .mk files."
Treehugger Robot [Mon, 13 Nov 2017 21:58:52 +0000 (21:58 +0000)]
Merge "Fix library loading order in .mk files."

3 years agoFix library loading order in .mk files.
Martijn Coenen [Mon, 13 Nov 2017 15:56:42 +0000 (16:56 +0100)]
Fix library loading order in .mk files.

Test: angler boots again
Bug: 69180318
Change-Id: Id71e2348eabf5101d1fd286bbc0076154703d159
Merged-In: Id71e2348eabf5101d1fd286bbc0076154703d159

3 years agoMerge "Add micro-vts.sh"
Yifan Hong [Mon, 13 Nov 2017 19:37:37 +0000 (19:37 +0000)]
Merge "Add micro-vts.sh"

3 years agoMerge changes from topic "hidl-soong-plugin"
Treehugger Robot [Sat, 11 Nov 2017 02:31:20 +0000 (02:31 +0000)]
Merge changes from topic "hidl-soong-plugin"

* changes:
  Update makefiles for hidl_interface.
  Update makefiles for transitive interfaces.

3 years agoAdd micro-vts.sh
Yifan Hong [Wed, 8 Nov 2017 02:01:05 +0000 (18:01 -0800)]
Add micro-vts.sh

Test: ./micro-vts.sh -m VtsHalHealthV2_0TargetTest
Test: ./micro-vts.sh -m VtsHalHealthV2_0TargetTest -j0
Test: ./micro-vts.sh -m VtsHalHealthV2_0TargetTest -j -p
Test: ./micro-vts.sh -p -m VtsHalHealthV2_0TargetTest -m \
      VtsHalLightV2_0TargetTest
Bug: 64541287
Change-Id: Ieedf7d7ec65f43b0325911ae8a78e93af07ee318

3 years agoMerge "Remove strong pointer in contructor to "this""
Treehugger Robot [Fri, 10 Nov 2017 21:44:13 +0000 (21:44 +0000)]
Merge "Remove strong pointer in contructor to "this""

3 years agoMerge "Use -Werror in hardware/interfaces/dumpstate/1.0/default"
Treehugger Robot [Fri, 10 Nov 2017 18:44:26 +0000 (18:44 +0000)]
Merge "Use -Werror in hardware/interfaces/dumpstate/1.0/default"

3 years agoRemove strong pointer in contructor to "this"
Ruchi Kandoi [Fri, 10 Nov 2017 16:22:48 +0000 (08:22 -0800)]
Remove strong pointer in contructor to "this"

Bug: 69110631
Test: NFC on/off
Change-Id: I6c0173df6b6f49e7c07e9670c827b2944c6fe23f

3 years agoUpdate makefiles for hidl_interface.
Steven Moreland [Fri, 10 Nov 2017 03:05:17 +0000 (19:05 -0800)]
Update makefiles for hidl_interface.

Bug: 35570956
Test: manual
Change-Id: I7a220b78ee081240e1dc30ef5672ba39e3e98375

3 years agoUpdate makefiles for transitive interfaces.
Steven Moreland [Wed, 27 Sep 2017 00:59:10 +0000 (17:59 -0700)]
Update makefiles for transitive interfaces.

Transitive includes accidentally added by hidl-gen
were getting added to import lists. This import isn't
actually required and is now properly excluded from
hidl-gen update makefiles.

Bug: 65055216
Test: none
Merged-In: I4fb4de8ef5547a3081cd55b3c75f6288cc518ba6
Change-Id: I4fb4de8ef5547a3081cd55b3c75f6288cc518ba6

3 years agoReplace OUT with OUT_DIR
Dan Willemsen [Thu, 9 Nov 2017 00:05:10 +0000 (16:05 -0800)]
Replace OUT with OUT_DIR

OUT is only defined if some functions in envsetup.sh are run, which is
not the case on the build servers. I'm looking at removing the
environment variable in local builds to keep things consistent.

In this case, OUT_DIR was actually expected, not OUT, which is
equivalent to PRODUCT_OUT.

Test: none
Change-Id: I1e5e9f40727104716212d696927d1a32d7a74fab
Merged-In: I1e5e9f40727104716212d696927d1a32d7a74fab

3 years agoUse -Werror in hardware/interfaces/dumpstate/1.0/default
Chih-Hung Hsieh [Wed, 8 Nov 2017 21:36:57 +0000 (13:36 -0800)]
Use -Werror in hardware/interfaces/dumpstate/1.0/default

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: Ic91f44e7410fd5bd8d1231f886a526a5e21a2eae

3 years agoMerge "Automatic mk -> bp."
Treehugger Robot [Tue, 7 Nov 2017 21:12:59 +0000 (21:12 +0000)]
Merge "Automatic mk -> bp."

3 years agographics: add OWNERS file to default implementations
Chia-I Wu [Tue, 7 Nov 2017 16:48:34 +0000 (08:48 -0800)]
graphics: add OWNERS file to default implementations

Test: none
Change-Id: I76a3c84a1fcb61dffa4641ec2120e484752bdf5b

3 years agographics: support FB HAL using HWC2OnFbAdapter
Chia-I Wu [Thu, 19 Oct 2017 16:49:03 +0000 (09:49 -0700)]
graphics: support FB HAL using HWC2OnFbAdapter

FB (framebuffer) HAL has been replaced by HWC HAL for 5+ years, but
we still support the legacy path in SurfaceFlinger.  Devices using
the legacy path cannot be Treblized.

This change allows such devices to use HIDL IComposer, by adding
support for FB HAL in the default implementation.

Test: boots hikey960
Change-Id: Ie9050bbcaac0fd5b134786f4f9f0f5075f4ebd0c

3 years agographics: require validateDisplay after onRefresh
Chia-I Wu [Fri, 6 Oct 2017 19:29:14 +0000 (12:29 -0700)]
graphics: require validateDisplay after onRefresh

After initialization or onRefresh, we want to make sure
validateDisplay is called before presentDisplay.

Bug: 67505273
Test: manual
Change-Id: Id876d9251586aaaf552ca82c52f8f902af364251

3 years agoGuard against racy ComposerClient reconnection
Steven Thomas [Fri, 7 Jul 2017 19:34:20 +0000 (12:34 -0700)]
Guard against racy ComposerClient reconnection

The hardware composer service has a rule that only one client can be
connected at a time. The surface flinger process, when transitioning
composer ownership from surface flinger to vr flinger, will destroy the
current client on one thread and create a new client on another
thread. Although surface flinger ensures that these events happen in the
expected sequence (delete then create), the requests sometimes land in
the hardware composer service in inverted order, causing the creation
request to fail with an error.

Instead of failing with an error, block for a brief period (1 second)
until the existing client is removed, then proceed to initialize the new
client. This gives us enough time to ensure an inverted
creation/destruction order doesn't cause client creation to fail, while
avoiding a deadlock if the existing client is never destroyed.

Bug: 62925812

Test: - Transitioned to/from vr flinger hundreds of times, and confirmed
I no longer see sporadic composer client creation failure due to an
already existing client.

- Ran the vts graphics composer tests and confirmed they all pass.

Change-Id: I40be1fb0cb3d42ddb5a9fc159188886e9f5b6267

3 years agoMerge "dumpstate mk -> bp"
Treehugger Robot [Mon, 6 Nov 2017 17:56:38 +0000 (17:56 +0000)]
Merge "dumpstate mk -> bp"

3 years agoAutomatic mk -> bp.
Steven Moreland [Thu, 2 Nov 2017 21:16:29 +0000 (14:16 -0700)]
Automatic mk -> bp.

Automatic mk -> bp conversion for all modules here
which can be converted and built automatically.

Test: Soong resolves all dependencies
Bug: 37512442
Change-Id: Ib789212cb88d55731397c600d132e7c672c0d8be

3 years agoMerge "vts test for 1.2"
Sooraj Sasindran [Fri, 3 Nov 2017 00:32:21 +0000 (00:32 +0000)]
Merge "vts test for 1.2"

3 years agodumpstate mk -> bp
Steven Moreland [Thu, 2 Nov 2017 22:23:23 +0000 (15:23 -0700)]
dumpstate mk -> bp

Test: compilation finds dependencies
Bug: 37512442
Change-Id: Ib207c2163a07dea03c096283d10b00af966a1728

3 years agovts test for 1.2
Sooraj Sasindran [Thu, 26 Oct 2017 21:08:55 +0000 (14:08 -0700)]
vts test for 1.2

Add VTS test for 1.2 interface

Test: verfied the test with a dummy radio service

Bug:67750232
Change-Id: Ieac680a303c79a9d4c8b314112121303b3aebcce

3 years agoMerge "Update makefiles after AOSP push."
Treehugger Robot [Thu, 2 Nov 2017 20:39:30 +0000 (20:39 +0000)]
Merge "Update makefiles after AOSP push."

3 years agoMerge "Remove unnecessary Android.mk"
Treehugger Robot [Thu, 2 Nov 2017 04:18:28 +0000 (04:18 +0000)]
Merge "Remove unnecessary Android.mk"

3 years agoRemove unnecessary Android.mk
Steven Moreland [Wed, 1 Nov 2017 23:44:07 +0000 (16:44 -0700)]
Remove unnecessary Android.mk

Doesn't do anything. Just when I thought I get rid of them all.

Test: none
Change-Id: Iac559e41ea5557e99490fa439af9d720e2d9075a

3 years agoUpdate makefiles after AOSP push.
Steven Moreland [Wed, 1 Nov 2017 23:42:15 +0000 (16:42 -0700)]
Update makefiles after AOSP push.

Test: none
Change-Id: If3ce74f4d2250d33820cbd864ff56bba6f9e6b67

3 years agoMerge "Added CellIdentity struct in types.hal"
Treehugger Robot [Wed, 1 Nov 2017 22:30:33 +0000 (22:30 +0000)]
Merge "Added CellIdentity struct in types.hal"

3 years agoAdded CellIdentity struct in types.hal
Cassie [Thu, 26 Oct 2017 22:51:48 +0000 (15:51 -0700)]
Added CellIdentity struct in types.hal

This change was made because the new scan API needs to include the human
readable operator name other than PLMN in the scan results.
In order to let teh operator name used by other structures and APIS, we added
the operator name alphaLong and alphaShort, which were actually included
in the OperatorInfo, into the CellIdentity.

Bug: 63984327
Test: Basic telephony sanity
Change-Id: I498b7f190b739c92975fe797e1c74e96d90ee823

3 years agoAdds test cases to stress marshaling of primitive array types and
Andreas Huber [Tue, 31 Oct 2017 19:54:27 +0000 (12:54 -0700)]
Adds test cases to stress marshaling of primitive array types and

vectors of thereof.

Bug: 68654583
Test: hidl_test_java
Change-Id: Id498fe9b1e153512be294c39aff783f7d0600219

3 years agoFix cpp style cast and variable name
Jae Shin [Fri, 20 Oct 2017 08:28:41 +0000 (17:28 +0900)]
Fix cpp style cast and variable name

Test: run vts -m VtsHalRenderscriptV1_0TargetTest
Change-Id: I0c902aea13da7d4af2357ec42d8f712fda7269d4

3 years agoLoad libRS_internal.so from the rs namespace
Jiyong Park [Wed, 16 Aug 2017 14:30:42 +0000 (23:30 +0900)]
Load libRS_internal.so from the rs namespace

Bug: 64747884
Test: VtsHalRenderscriptV1_0TargetTest successful on the device built
with BOARD_VNDK_VERSION=current and [system] namespace config is applied
to /data/nativetest[64]/* processes.

Merged-In: I9e967c80ac2dba718cd47e1f378bcbf18abe9ad2
Change-Id: I9e967c80ac2dba718cd47e1f378bcbf18abe9ad2
(cherry picked from commit a7ef697a0a520015f961012d53d852a8cece20df)

3 years agoUse -Werror in hardware/interfaces
Chih-Hung Hsieh [Wed, 25 Oct 2017 23:18:46 +0000 (16:18 -0700)]
Use -Werror in hardware/interfaces

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I2b8572a3480434f9dad2ae4f8a608ed82281cc68

3 years agoMerge "Update Light extension example to match docs."
Steven Moreland [Wed, 18 Oct 2017 03:26:39 +0000 (03:26 +0000)]
Merge "Update Light extension example to match docs."
am: fed3134fa0

Change-Id: I5f33d024ab2747a736c39c9cf712c0c52617cf6b

3 years agoMerge "Update Light extension example to match docs."
Treehugger Robot [Wed, 18 Oct 2017 03:22:17 +0000 (03:22 +0000)]
Merge "Update Light extension example to match docs."

3 years agoMerge "Set pipe size to >1MB for debugDump test cases."
Tri Vo [Wed, 18 Oct 2017 02:21:29 +0000 (02:21 +0000)]
Merge "Set pipe size to >1MB for debugDump test cases."
am: d928053397

Change-Id: If7cca83c1da491e5c399170e2669995e878fdc57

3 years agoMerge "Set pipe size to >1MB for debugDump test cases."
Treehugger Robot [Wed, 18 Oct 2017 02:10:42 +0000 (02:10 +0000)]
Merge "Set pipe size to >1MB for debugDump test cases."

3 years agoUpdate Light extension example to match docs.
Steven Moreland [Tue, 17 Oct 2017 01:29:46 +0000 (18:29 -0700)]
Update Light extension example to match docs.

This light extension example was more of a POC. Now it
matches the suggestions for minor version requirements
and vendor extensions that are spelled out in publically
available documentation.

This includes things like:
- taking advantage of namespacing rather than renaming things
- adding documentation when extension differs from what a minor
  version extension should be
- importing things specifically rather than dumping namespaces
  into the types.hal file

Test: compilation only -- it doesn't do anything
Change-Id: Ia1bf9baaddcb630cc1b6cd4fe272def0c7c492e9
Fixes: 67787567

3 years agoUse -Werror in hardware/interfaces
Chih-Hung Hsieh [Wed, 18 Oct 2017 00:17:51 +0000 (00:17 +0000)]
Use -Werror in hardware/interfaces
am: ceb435f2ba

Change-Id: I34ad0374c02d3733e7901a8296d229f74313fb52

3 years agoSet pipe size to >1MB for debugDump test cases.
Tri Vo [Tue, 17 Oct 2017 18:07:29 +0000 (11:07 -0700)]
Set pipe size to >1MB for debugDump test cases.

Test: VtsHalAudioV2_0Target
Change-Id: I2dd43851a43609ad2953030303edaeb684b63096

3 years agoUse -Werror in hardware/interfaces
Chih-Hung Hsieh [Thu, 5 Oct 2017 05:22:46 +0000 (22:22 -0700)]
Use -Werror in hardware/interfaces

* Fix warning of unused result.

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I68e35ddcdeec4290b075ececf14f82335b43e22e

3 years agoMerge "Enhanced network scan request"
Sooraj Sasindran [Tue, 17 Oct 2017 06:11:13 +0000 (06:11 +0000)]
Merge "Enhanced network scan request"
am: 8e5f008ae6

Change-Id: I8903402f50c64b475ccda3839f0175fb2eaa12f6

3 years agoMerge "Enhanced network scan request"
Sooraj Sasindran [Tue, 17 Oct 2017 06:03:31 +0000 (06:03 +0000)]
Merge "Enhanced network scan request"

3 years agoEnhanced network scan request
Sooraj Sasindran [Thu, 20 Jul 2017 09:28:44 +0000 (02:28 -0700)]
Enhanced network scan request

Bug=63865942

Test: Verified by making changes in settings app to call the api
      and confirmed that the new information is delivered to verndor
      code

Change-Id: I38f5e88302268bdda7483f5bc96bf8a72b940208

3 years agoRename libkeymaster to libkeymaster_staging
Janis Danisevskis [Mon, 16 Oct 2017 01:32:50 +0000 (01:32 +0000)]
Rename libkeymaster to libkeymaster_staging
am: 8cd5614c12  -s ours

Change-Id: I46c0d6d745171ee77a74fb4a183b9121be89d12b

3 years agolibkeymaster1 split to libkeymaster and _portable
Janis Danisevskis [Mon, 16 Oct 2017 01:32:45 +0000 (01:32 +0000)]
libkeymaster1 split to libkeymaster and _portable
am: ab887a4433  -s ours

Change-Id: I0e5c0ab09b96bd6888178fbba2148fcb49117cff

3 years agoRename libkeymaster to libkeymaster_staging
Janis Danisevskis [Thu, 4 May 2017 21:05:06 +0000 (14:05 -0700)]
Rename libkeymaster to libkeymaster_staging

Fix a build breakage by renaming libkeymaster to
libkeymaster_staging. fugu's vendor tree already had
a libkeymaster.so which masked system/keymaster/libkeymaster.

Bug: 37997750
Test: mma -j
Merged-In: Ie478726bf81e965be64fb913844b881064e9b66c
Change-Id: Ie478726bf81e965be64fb913844b881064e9b66c
(cherry picked from commit 71ebd5f6b439da81cf43138314814a7d8bd4854a)

3 years agolibkeymaster1 split to libkeymaster and _portable
Janis Danisevskis [Wed, 26 Apr 2017 22:05:37 +0000 (15:05 -0700)]
libkeymaster1 split to libkeymaster and _portable

libkeyamster1 was split into libkeymaster and
libkeymaster_portable.
Also removed UniquePtr usage from keymaster hal.

Bug: 37467707
Test: keymaster vts test and keystore cts test
Merged-In: Ic660586d3d9cfd20022a9c694f276da89e796e5d
(cherry picked from commit 85e15db31987daa6ca36f3f34f13944836822f1b)

Change-Id: I8652f28ac3da1999a774be5e1110c7d2efac5339

3 years agoMerge changes from topic "hidl-test"
Steven Moreland [Sun, 15 Oct 2017 02:57:18 +0000 (02:57 +0000)]
Merge changes from topic "hidl-test"
am: 240f9e1476

Change-Id: Iff52448e0f4f522d5c5cbd59efbd1a734bc95570

3 years agoStatic link test lib shims with test -impl libs.
Zhuoyao Zhang [Sun, 15 Oct 2017 02:57:08 +0000 (02:57 +0000)]
Static link test lib shims with test -impl libs.
am: 38a78e1fa9

Change-Id: I080ccb82bb4b9131e67473b417fefb74e7a65fae

3 years agoMerge "Use a pipe instead of tmp for debugDump tests."
Tri Vo [Sun, 15 Oct 2017 02:56:25 +0000 (02:56 +0000)]
Merge "Use a pipe instead of tmp for debugDump tests."
am: 458b8fa5bd

Change-Id: Ife2cfb8b89c0f550648ea28c339e7278015399c0

3 years agoMerge "Remove invalid annotations from IBaz."
Steven Moreland [Sun, 15 Oct 2017 02:55:32 +0000 (02:55 +0000)]
Merge "Remove invalid annotations from IBaz."
am: e322e7e1aa

Change-Id: I408b9486c4fd801f153d1b2a06559f3882a88a8b

3 years agoMerge "Change tmp dir to /data/system/users/0/fpdata/."
Tri Vo [Sun, 15 Oct 2017 02:54:27 +0000 (02:54 +0000)]
Merge "Change tmp dir to /data/system/users/0/fpdata/."
am: 3f4e982fbc

Change-Id: I7ab1bb0acc25188d8e6ae8b67773d0bcb8eeb1f1

3 years agoMerge "Refactor radio folder for 1.0 and 1.1"
sqian [Sun, 15 Oct 2017 02:54:00 +0000 (02:54 +0000)]
Merge "Refactor radio folder for 1.0 and 1.1"
am: bf758ce382  -s ours

Change-Id: I552ee1e0b8df66d95f4897b5b6663de6ffe0fc3b

3 years agoMerge changes from topic "hidl-test"
Treehugger Robot [Fri, 13 Oct 2017 22:02:31 +0000 (22:02 +0000)]
Merge changes from topic "hidl-test"

* changes:
  Statically link msgq test impl.
  Static link test lib shims with test -impl libs.

3 years agoRefactor radio folder for 1.0 and 1.1
sqian [Tue, 10 Oct 2017 00:16:12 +0000 (17:16 -0700)]
Refactor radio folder for 1.0 and 1.1

Remove unused environment variable.

Test: run vts
Bug: 63760809
Change-Id: Iff7919980d7bbe0e9f8a73a3679d37426faec679
Merged-In: Iff7919980d7bbe0e9f8a73a3679d37426faec679

3 years agoMerge "Use a pipe instead of tmp for debugDump tests."
Treehugger Robot [Fri, 13 Oct 2017 00:31:31 +0000 (00:31 +0000)]
Merge "Use a pipe instead of tmp for debugDump tests."

3 years agoStatically link msgq test impl.
Steven Moreland [Thu, 12 Oct 2017 23:20:53 +0000 (16:20 -0700)]
Statically link msgq test impl.

Also statically include it in the service binary.

Test: fmq_test
Bug: 67500459
Change-Id: Ia8728308dbce9acbdeafa8b2a56fd007be8c0832

3 years agoStatic link test lib shims with test -impl libs.
Zhuoyao Zhang [Wed, 11 Oct 2017 00:53:09 +0000 (17:53 -0700)]
Static link test lib shims with test -impl libs.

* So that vts no longer needs to push the shim libs in hidl test.

Bug: 67500459
Test: make vts
      vts-tradefed run vts -m VtsHidlUnitTest
Change-Id: I52ad066370f08a461b848d7d96dc4a659eb2da4d

3 years agoUse a pipe instead of tmp for debugDump tests.
Tri Vo [Thu, 12 Oct 2017 22:47:32 +0000 (15:47 -0700)]
Use a pipe instead of tmp for debugDump tests.

Audio hal does not have selinux permissions to files under
/data/locat/tmp. We pass an fd to a pipe to the HAL instead.

Bug: 67665722
Test: VtsHalAudioV2_0Target
Change-Id: I695917be1816ba007f48afab5e978ab31024ffba

3 years agoMerge "Remove invalid annotations from IBaz."
Treehugger Robot [Thu, 12 Oct 2017 19:34:34 +0000 (19:34 +0000)]
Merge "Remove invalid annotations from IBaz."

3 years agoMerge "Change tmp dir to /data/system/users/0/fpdata/."
Tri Vo [Thu, 12 Oct 2017 16:08:05 +0000 (16:08 +0000)]
Merge "Change tmp dir to /data/system/users/0/fpdata/."

3 years agoMerge "Refactor radio folder for 1.0 and 1.1"
Treehugger Robot [Thu, 12 Oct 2017 01:57:19 +0000 (01:57 +0000)]
Merge "Refactor radio folder for 1.0 and 1.1"

3 years agoMerge "health@2.0: IHealthInfoCallback expands HealthInfo struct."
Yifan Hong [Thu, 12 Oct 2017 01:56:01 +0000 (01:56 +0000)]
Merge "health@2.0: IHealthInfoCallback expands HealthInfo struct."
am: f2f00cb742

Change-Id: Iad21de674c7dc04a19727adc81ff931923e93e4a

3 years agoMerge "health@2.0: IHealthInfoCallback expands HealthInfo struct."
Treehugger Robot [Thu, 12 Oct 2017 01:47:57 +0000 (01:47 +0000)]
Merge "health@2.0: IHealthInfoCallback expands HealthInfo struct."

3 years agohealth@2.0: IHealthInfoCallback expands HealthInfo struct.
Yifan Hong [Tue, 10 Oct 2017 19:18:53 +0000 (12:18 -0700)]
health@2.0: IHealthInfoCallback expands HealthInfo struct.

IHealthInfoCallback reports more information, so that
BatteryService can send these fields to BatteryManager in framework.

Test: builds
Bug: 62229583
Change-Id: Ieacd4acabc3e0870d0d2fed04dad9d8c3255986b
Merged-In: Ieacd4acabc3e0870d0d2fed04dad9d8c3255986b

3 years agoRemove invalid annotations from IBaz.
Steven Moreland [Thu, 12 Oct 2017 00:21:41 +0000 (17:21 -0700)]
Remove invalid annotations from IBaz.

Test: pass
Change-Id: I8e39b510b724c0415a1cab523623bffd9f07f352

3 years agoRefactor radio folder for 1.0 and 1.1
sqian [Wed, 11 Oct 2017 22:10:14 +0000 (15:10 -0700)]
Refactor radio folder for 1.0 and 1.1

Remove unused environment variable.

Test: run vts
Bug: 63760809
Change-Id: Iff7919980d7bbe0e9f8a73a3679d37426faec679
Merged-In: Iff7919980d7bbe0e9f8a73a3679d37426faec679

3 years agoChange tmp dir to /data/system/users/0/fpdata/.
Tri Vo [Wed, 11 Oct 2017 21:51:56 +0000 (14:51 -0700)]
Change tmp dir to /data/system/users/0/fpdata/.

FP hal service can now access test tmp files without selinux denials.

Bug: 67665189
Test: VtsHalBiometricsFingerprintV2_1Target
Change-Id: Ie0a46513524c27bdb7bb42b08eabb57e943b26c6

3 years agolibhwminijail from hardware/interfaces to libhidl.
Steven Moreland [Wed, 11 Oct 2017 20:20:22 +0000 (20:20 +0000)]
libhwminijail from hardware/interfaces to libhidl.
am: dbdd881240

Change-Id: I0d911cf7ad0cfccac26c13423a447328aa5ac626

3 years agolibhwminijail from hardware/interfaces to libhidl.
Steven Moreland [Wed, 11 Oct 2017 18:18:41 +0000 (11:18 -0700)]
libhwminijail from hardware/interfaces to libhidl.

This library is not a hardware interface, so it doesn't
belong directly in hardware/interfaces. Moving it to
libhidl because it is intended to be a helper library for
hal implementations that want to use minijail/seccomp.

Test: pass
Change-Id: I3f9503f491788492c6692d6584eb088e47862c7a

3 years agoUpdate for Soong java makefiles.
Steven Moreland [Wed, 11 Oct 2017 16:23:54 +0000 (16:23 +0000)]
Update for Soong java makefiles.
am: c3e80fa01e

Change-Id: Ia8835f9c95bd98a96f5fd3aff11191e7d3726fb9

3 years agoUpdate for Soong java makefiles.
Steven Moreland [Tue, 10 Oct 2017 18:05:20 +0000 (11:05 -0700)]
Update for Soong java makefiles.

Test: pass
Bug: 33420795
Change-Id: Id9b1919a19b8ff682738cfb0869a479b4dbb4293

3 years agoMerge "Replace sys_nice capability with rlimit rtprio"
Peng Xu [Fri, 6 Oct 2017 20:19:30 +0000 (20:19 +0000)]
Merge "Replace sys_nice capability with rlimit rtprio"
am: b74728a92e

Change-Id: I6d9146fc90975ec116862cb43a6654786c429503

3 years agoMerge "Replace sys_nice capability with rlimit rtprio"
Peng Xu [Fri, 6 Oct 2017 20:13:35 +0000 (20:13 +0000)]
Merge "Replace sys_nice capability with rlimit rtprio"

3 years agoMerge changes from topic "health2-hal"
Yifan Hong [Fri, 6 Oct 2017 05:09:23 +0000 (05:09 +0000)]
Merge changes from topic "health2-hal"
am: 116fb89f70

Change-Id: Iaf211b338d946619ec6a5daecd02ee85a4648589

3 years agoMerge changes from topic "health2-hal"
Yifan Hong [Fri, 6 Oct 2017 04:56:22 +0000 (04:56 +0000)]
Merge changes from topic "health2-hal"

* changes:
  Revert "health@2.0: Add vts tests."
  Revert "health@2.0 vts: Add missing include"

3 years agoRevert "health@2.0: Add vts tests."
Yifan Hong [Fri, 6 Oct 2017 04:54:17 +0000 (04:54 +0000)]
Revert "health@2.0: Add vts tests."

This reverts commit bb4d60f0ad33f2cfd9a31ee59a8e2f64fc4a1e02.

Reason for revert: break stage aosp master

Change-Id: Ib8678217d34c37d6fff1cc174de3a96295bdeb5f

3 years agoRevert "health@2.0 vts: Add missing include"
Yifan Hong [Fri, 6 Oct 2017 04:54:41 +0000 (04:54 +0000)]
Revert "health@2.0 vts: Add missing include"

This reverts commit b02df7b9e1561018ea249b066eb7a0fe2c30d8ce.

Reason for revert: break stage aosp master

Change-Id: I9c75e24ce2cf9b392bbe4e91446fdc3927e3f5b7

3 years agoMerge "VTS: fix VtsHalKeymasterV3_0Target issue"
Iris Chang [Fri, 6 Oct 2017 01:49:29 +0000 (01:49 +0000)]
Merge "VTS: fix VtsHalKeymasterV3_0Target issue"
am: 1912c73a7f

Change-Id: I781812c77d96a0a7beb832298df8d537ce1d55da

3 years agoMerge "VTS: fix VtsHalKeymasterV3_0Target issue"
Treehugger Robot [Fri, 6 Oct 2017 01:43:54 +0000 (01:43 +0000)]
Merge "VTS: fix VtsHalKeymasterV3_0Target issue"

3 years agohealth@2.0 vts: Add missing include
Yifan Hong [Fri, 6 Oct 2017 01:25:09 +0000 (01:25 +0000)]
health@2.0 vts: Add missing include
am: b02df7b9e1

Change-Id: I5960b19d3e4270589d7980e575029ba89608d7ec