summaryrefslogtreecommitdiffstats
path: root/configstore
Commit message (Collapse)AuthorAgeFilesLines
* Rename vts-core to vtsDan Shi2020-04-071-1/+1
| | | | | | | | | | Bug: 151896491 Test: local build Exempt-From-Owner-Approval: This CL update suite name vts-core to vts as the suite name is updated. This CL won't change test logic or behavior. Change-Id: I562b4dc50765e953800a814a8fd84a01c1b9352b Merged-In: I562b4dc50765e953800a814a8fd84a01c1b9352b
* Add disable_configstoreSundong Ahn2020-03-182-0/+30
| | | | | | | | | | | | | The disable_configstore is added to disable configstore when API level is less than or equal to 29. Bug: 150761042 Test: Add disable_configstore to PRODUCT_PACKAGES && build && check configstore service Change-Id: Iac01bb375a5c4080c0e110213c64041ea823ed68 Merged-In: Iac01bb375a5c4080c0e110213c64041ea823ed68 (cherry picked from commit d864334675e83a75c0343510cff3fc90ffb14c51)
* Add gettid() to SELinux policy in prep for GWP-ASan.Mitch Phillips2019-11-131-0/+1
| | | | | | | | | | | | | GWP-ASan is a sampled allocator framework that is planned for rollout in Android R. It instruments the bionic allocator, and requires gettid() during its initialisation. Ensure that we can call gettid() from configstore. Bug: 135634846 Test: N/A Change-Id: I4a92c989ffde9051831e858e805fc20ae993dc01
* [vts-core] add VtsHalConfigstoreV1_0TargetTest to vts-corenelsonli2019-10-242-29/+13
| | | | | | | | | Convert VtsHalConfigstoreV1_0TargetTest to be parameterized test and add it to vts-core Bug: 142397658 Test: $atest VtsHalConfigstoreV1_0TargetTest Change-Id: If65ce7afbe23eca95f62c6b231abf78d9ada616e
* Remove libhwbinder/libhidltransport depsSteven Moreland2019-09-061-1/+0
| | | | | | | | Since these were combined into libhidlbase. Bug: 135686713 Test: build only (libhwbinder/libhidltransport are empty) Change-Id: I075670b64eebbbbd6a6ae0e84ad51bf1c6f5ba36
* Merge "Add interface info to .rc files"Felix2019-07-081-0/+2
|\ | | | | | | | | | | am: 98d0f4d52c Change-Id: Ie6cfbacd523c4b09f77bee3369ec8e88b3fa0419
| * Add interface info to .rc filesFelix2019-06-251-0/+2
| | | | | | | | | | Signed-off-by: Felix <google@ix5.org> Change-Id: I6d70bbdb66c3dce280bf6908c3750316a6f6cf70
* | Merge "Update hidl makefiles for bpfmt" am: ff0bd741caSteven Moreland2019-04-182-2/+0
|\| | | | | | | | | | | am: 96f40f7b02 Change-Id: Idbf030e4993067bdb8181321bca2de00c9b6f7ef
| * Update hidl makefiles for bpfmtSteven Moreland2019-04-172-2/+0
| | | | | | | | | | | | | | | | hidl-generated makefiles are now generated such that bpfmt(file) == file. Bug: 67417008 Test: enable bpfmt hook Change-Id: I1f69d292bc23a7cc293a66110cb02d597e1019ad
* | Merge "Update makefies: no 'types'" am: 4ee5ec1469 am: bab622f6a6Steven Moreland2019-03-042-12/+0
|\| | | | | | | | | | | am: 7224bc9bcf Change-Id: I434939e0770afa436c532a945542fce30a71ef7d
| * Update makefies: no 'types'Steven Moreland2019-03-042-12/+0
| | | | | | | | | | | | Bug: 123976090 Test: N/A Change-Id: I30fb04c81889b62775e1b764b965fdb0f893de17
* | Remove configstore 1.2Sundong Ahn2019-02-2715-632/+82
| | | | | | | | | | | | | | | | | | | | the configstore functionality was added in Q. But The configstore will be deleted. So additional function is deleted. Bug: 124531214 Test: build & boot Test: adb shell lshal | grep configstore & check configstore 1.2 Change-Id: Idbb00b972bc082bd75bba94dbff9cee19df48b89
* | Merge "[ConfigStore] Slient log spam." am: 925f06e87b am: 30e7ab464dPeiyong Lin2019-02-062-8/+8
|\| | | | | | | | | | | am: 0525e64e7a Change-Id: I68717d4526035119a03ded21ac1cc83942cdec31
| * [ConfigStore] Slient log spam.Peiyong Lin2019-02-062-8/+8
| | | | | | | | | | | | | | | | | | Previously ConfigStore keeps logging info of each function, this patch moves it to verbose to avoid log spam. BUG: 123312783 Test: Build, flash and boot. Verify with adb logcat Change-Id: I8dce745122ca05d18cd899c536342521432f5325
| * pack VTS cc_test binaries as general-testsKeun Soo YIM2018-12-071-0/+1
| | | | | | | | | | | | | | Test: make general-tests Bug: 120093339 Merged-In: I363450d205868f900e4925ccff1430e2a569f2a4 Change-Id: I363450d205868f900e4925ccff1430e2a569f2a4
| * [ConfigStore] Clarify hasHDRDisplay spec.Peiyong Lin2018-08-221-3/+8
| | | | | | | | | | | | | | | | BUG: 111505327 Test: Build, flash and boot Change-Id: Ie22d4c7b069a918f039a60317a213dc6a7efb205 Merged-In: Ie22d4c7b069a918f039a60317a213dc6a7efb205
* | graphics.common: add HSV format definition to 1.2Kevin DuBois2019-01-253-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds HSV format used in some color sampling engines to the list of pixel formats. Rev the sampling engine in composer to reference the new format revision. Test: built image, with new format reported in vendor code. Test: VtsHalGraphicsComposerV2_3TargetTest Fixes: 122943743 Roll-forward of build-breaking topic commit. No changes were needed in this patch. see bug 123404649 for breakage details. This reverts commit e2f69f22289ffadc8dcfdbb476422e194442253a. Change-Id: I38ac5cafeb6a07e683352c8d297892a681e24702
* | Revert "graphics.common: add HSV format definition to 1.2"Kevin DuBois2019-01-253-4/+4
| | | | | | | | | | | | | | | | This reverts commit 97e1a932ec52ce49e4c51527a6fce78bfa810294. Reason for revert: broke build Change-Id: Ib264957e9a1de83c37e4129471b3c75522e21d08
* | graphics.common: add HSV format definition to 1.2Kevin DuBois2019-01-243-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | Adds HSV format used in some color sampling engines to the list of pixel formats. Rev the sampling engine in composer to reference the new format revision. Test: built image, with new format reported in vendor code. Test: VtsHalGraphicsComposerV2_3TargetTest Fixes: 122943743 Change-Id: I1b454a86f464f38e3c2cbeef5379a187ff38ab06
* | [ConfigStore] Add get display primary interfacelinpeter2019-01-167-0/+208
| | | | | | | | | | | | | | | | | | | | Implement get display native primaries and vts Bug: 118515855 Test: run vts-hal -m VtsHalConfigstoreV1_2Target -t ConfigstoreHidlTest.TestGetDisplayNativePrimaries Change-Id: I8391fe2eaf32a2aa6dfe6eb741baa97629f00f55
* | pack VTS cc_test binaries as general-testsKeun Soo YIM2018-11-271-0/+1
| | | | | | | | | | | | Test: make general-tests Bug: 120093339 Change-Id: I363450d205868f900e4925ccff1430e2a569f2a4
* | [ConfigStore] Add VTSPeiyong Lin2018-11-064-0/+190
| | | | | | | | | | | | BUG: 113800257 Test: run VtsHalConfigstoreV1_2TargetTest/VtsHalConfigstoreV1_2TargetTest Change-Id: I1444a4d1fe54fbcdce68aa3a1c39dbf541cfab66
* | Merge "[ConfigStore] Return data space and pixel format for wide color gamut."TreeHugger Robot2018-11-023-21/+62
|\ \
| * | [ConfigStore] Return data space and pixel format for wide color gamut.Peiyong Lin2018-10-313-21/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To proceed down to the route where default composition preference and wide color gamut composition preference are different, we want to return the configuration for wide color gamut composition preference. This patch extends the previous composition preference API to return wide color gamut composition preference. BUG: 111436479 Test: Build, flash and run tests. Change-Id: I88b22c01d9d9ec75f4bb7f4ef477d3eae0e0db87
* | | Update Android.bp to reflect graphics.common@1.2Valerie Hau2018-10-311-1/+4
|/ / | | | | | | | | | | Bug: 115335239 Test: ./libsurfaceflinger_unittest Change-Id: I0a89bbbc078ef60a9c4247b7600366aff688d805
* | Adding Dataspace BT2020_SRGB and ColorMode BT2020_SRGBValerie Hau2018-10-223-4/+4
| | | | | | | | | | | | | | | | | | BT2020_SRGB is BT2020 with SRGB transfer function. Adding to types V1.2 and upgrading methods that utilize Dataspace and ColorMode Bug: 115335239 Test: ./libsurfaceflinger_unittest --gtest_filter=GetBestColorMode.* Change-Id: Ic807183ae2bd0212cd8c5d7a24c93db0a1bc28fb
* | configstore: make consistent with AOSPSteven Moreland2018-09-251-1/+1
| | | | | | | | | | | | | | | | | | 'rd' -> 'RD' to avoid having a different hash/merge conflicts. Bug: N/A Test: hidl-gen -Lcheck android.hardware.configstore@1.0 Test: manually check the hash is the same on AOSP Change-Id: Id57f21d25bc905859c43f229b9d5b66c0c9d2cfc
* | [ConfigStore] Add getCompositionPreference.Peiyong Lin2018-09-065-0/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to tell renderer to render into the best color space with the right pixel format. We need to expose it as a composition preference. This patch adds ConfigStore API to query such preference. Typically, this API will return the default data space of a color space that the panel is calibrated to, with the default pixel format that hardware composer can composite to efficiently. However, devices can make tradeoff between data space and pixel format. BUG: 113530681 Test: Build, flash, boot Change-Id: I0ea09e21e70843b50157ec617c87a42bb4ff7332
* | Merge "[ConfigStore] Add useColorManagement method."Peiyong Lin2018-08-2210-37/+116
|\ \
| * | [ConfigStore] Add useColorManagement method.Peiyong Lin2018-08-2110-37/+116
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we couple wide color gamut display and color management together, which is because we only do color management when we have wide color gamut display. However, we would also want display that doesn't support wide color gamut but is calibrated and is capable of managing sRGB gamut to have color management. This means we will decouple wide color gamut display from color management, a device can indicate that it's color managed without having wide color gamut display and only manage color within sRGB gamut. BUG: 111505327 Test: BUild, flash and check Natural/Boosted mode. Change-Id: If1241ce040a6f691609d8f8d72a2d6f3141557cf
* / [ConfigStore] Clarify hasHDRDisplay spec.Peiyong Lin2018-08-211-3/+8
|/ | | | | | | BUG: 111505327 Test: Build, flash and boot Change-Id: Ie22d4c7b069a918f039a60317a213dc6a7efb205
* Merge "Revert "configstore: include crash_dump seccomp policy""Jeffrey Vander Stoep2018-06-151-2/+0
|\ | | | | | | | | | | am: aeb792be28 Change-Id: I636f1db4864b0c20a113f7a82e4ecda5ee253f40
| * Merge "Revert "configstore: include crash_dump seccomp policy""Treehugger Robot2018-06-151-2/+0
| |\
| | * Revert "configstore: include crash_dump seccomp policy"Jeffrey Vander Stoep2018-06-151-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 1ca0e947a49a8c9624d83dc4947c101ba7fc3eb6. Reason for revert: This change caused a configstore crash on Hikey Change-Id: Ied327b331ac084349bf4d10c34f5702b4da7aab0
* | | Merge "configstore: include crash_dump seccomp policy"Jeff Vander Stoep2018-06-131-0/+2
|\| | | | | | | | | | | | | | | | | am: 25080b1fff Change-Id: I54535004faf8beebef7222989d025fa0b999f9a6
| * | Merge "configstore: include crash_dump seccomp policy"Treehugger Robot2018-06-131-0/+2
| |\|
| | * configstore: include crash_dump seccomp policyJeff Vander Stoep2018-06-131-0/+2
| | | | | | | | | | | | | | | | | | Change-Id: I37ebd0da5747c7c475e9d2d63dc5f9fdc511f8e7 Fixes: 78776142 Test: Crash configstore, verify useful crash info in the logs.
* | | Add explicit README for configstore future goals. am: 31f5143c23Steven Moreland2018-06-071-0/+1
|\| | | | | | | | | | | | | | | | | am: 3542341bbb Change-Id: Icc3df703fc7ca9c79551ed7fc9ea47e40d3f0991
| * | Add explicit README for configstore future goals.Steven Moreland2018-06-061-0/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, supposedly, each individual client of configstore was supposed to add the add_hwservice attribute itself to get ahold of the specific sub-interface of configstore relevant to it. However, there is only one configstore interface, ISurfaceFlingerConfigs. From this point onward, the configstore hal is to be thought of as specifically relating to surface flinger. Other properties may be added as other attributes/packages. For instance, if we want a configstore entry for 'IFooConfig', then we would add the configuration to one of the following packages: - android.hardware.foo@X.Y (to the interface itself) - android.hardware.foo.config@X.Y (to a configuration of the interface) - android.hardware.configstore.foo@X.Y (as a sub-interface of configstore) and then it could be associated with the sepolicy attributes (respectively): - hal_foo - hal_foo_config (or just hal_foo if they are 1-1) - hal_configstore_foo The specific pattern to be followed irrelevant to this CL and subject to future discussion, the point being that we're going to have a separate sepolicy attribute (and package, although this isn't strictly necessary) for each separate domain's configuration. Bug: 109806245 Test: N/A Change-Id: I837e0bdd11e028265756a905c234e087924c1d6b
* | Merge "configstore: configstore HAL uprev'ed to 1.1" into pi-devJaesoo Lee2018-05-2313-27/+186
|\ \ | | | | | | | | | | | | | | | am: ce7d394935 Change-Id: I610b46eb5a8d959e7ebacbc2beecb953b9e5383c
| * | configstore: configstore HAL uprev'ed to 1.1Jaesoo Lee2018-05-2313-27/+186
| | | | | | | | | | | | | | | | | | | | | | | | | | | This change provides a reference implementation of the configstore HAL v1.1. Bug: 69691076 Test: tested on walleye-userdebug Change-Id: I68ee224bcbda64f6fef91e8a0f95adb32d504aad
* | | configstore: remove references to board platforms am: 3f221a835bSteven Moreland2018-05-071-8/+0
|\ \ \ | | |/ | |/| | | | | | | | | | am: 03464d7674 Change-Id: I61827f9a18337accb46f1f71d91cc29f6451dba9
| * | configstore: remove references to board platformsSteven Moreland2018-05-071-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | These platforms should set TARGET_USE_CONTEXT_PRIORITY. Change-Id: I9cd1984437996405c057246f383d6cf5327667e6 Fixes: 74082983 Test: m only (sanity, these boards aren't in tree for me)
* | | Merge "Mark configstore-utils as double_loadable" am: a7b9291b82Jiyong Park2018-04-201-0/+1
|\| | | | | | | | | | | | | | | | | am: eba42a4d6b Change-Id: I02a99829a260941216c7365b350d159ae83fd79d
| * | Mark configstore-utils as double_loadableJiyong Park2018-04-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | configstore-utils is explicitly marked as double_loadable since it is one of the (indirect) dependencies of the LLNDK library libvulkan and at the same time the lib itself is marked as VNDK. Such lib can be double loaded inside a vendor process. Note: even without this change, the library is already capable of being double loaded due to the dependency graph around it. This change is to make it explicit so that double loading of a library is carefully tracked and signed-off by the owner of the lib. Bug: 77155589 Test: m -j Merged-In: Ibece0476b819e3387836305ee3b1c9dbf614920b Change-Id: Ibece0476b819e3387836305ee3b1c9dbf614920b (cherry picked from commit 9fb3c20bc62a3b2977cf2028cfa1c8c4938ee5b2)
* | | Merge "configstore policy: add dgetdents64" into pi-devSteven Moreland2018-04-091-0/+1
|\ \ \ | | |/ | |/| | | | | | | | | | am: a484609378 Change-Id: Id704b57924206c73cc12103790aba37c8cbc0b90
| * | configstore policy: add dgetdents64Steven Moreland2018-04-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Required for libhidltransport to be able to update process name. Bug: 77696368 Bug: 77654200 Test: boot device and configstore doesn't crash Change-Id: I6574cf1c21465c5eae901015da2564b64b6a40d2
* | | configstore: whitelist getpid call for arm64 am: 0979cc5dd9Jeff Vander Stoep2018-03-191-0/+1
|\ \ \ | |/ / |/| / | |/ | | | | am: e3804803d4 Change-Id: Ic68c63ce824cdb024dde673015f1f23f8b1703cc
| * configstore: whitelist getpid call for arm64Jeff Vander Stoep2018-03-191-0/+1
| | | | | | | | | | | | | | | | | | | | Addresses: 01-01 00:00:03.416 964 964 E /vendor/bin/hw/android.hardware.configstore@1.0-service: libminijail[964]: blocked syscall: getpid Bug: 74394073 Test: weipingliao@ to test Change-Id: Iaa836d1f0b3595a66dfb6af2dd78fdddb9d7272e
* | Merge "configstore: allow to USE_CONTEXT_PRIORITY by device." am: cd712b0e8f ↵chenhg2018-03-021-0/+4
|\ \ | | | | | | | | | | | | | | | | | | | | | am: 301951f8a4 am: f6f9837522 Change-Id: I830441c02b1cfba9a3f61f1510d3bca307a2b233