History log of /external/libbrillo/policy/device_policy.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a749d0b68c84ac8f9b6579c43aaa9d3993e08b43 20-Sep-2017 Igor <igorcov@chromium.org> libbrillo: policy: Increase resilience for policy read

The policy files will be stored with indexes as suffix to improve
resilience to disk corruptions. This change makes it possible to
read the policy data from new files and validate them.

Design doc:
https://docs.google.com/document/d/1RdUKb-deQCBiyc6Dpdf4RDBEPV-feb5WHu7uzY1YozQ/edit#heading=h.h0q5njx6l4xf

BUG=chromium:764337
TEST=Manual
CQ-DEPEND=CL:681939, CL:819250, CL:819353, CL:819412

Change-Id: I10f31d307925c6ccef3cfd0887a71b7c774139e2
Reviewed-on: https://chromium-review.googlesource.com/674935
Commit-Ready: Igor <igorcov@chromium.org>
Tested-by: Igor <igorcov@chromium.org>
Reviewed-by: Maksim Ivanov <emaxx@chromium.org>
Reviewed-by: Dan Erat <derat@chromium.org>
(cherry picked from commit d213a401f639649b3e38f6def5782ae2f1322fce)
/external/libbrillo/policy/device_policy.h
b91af3b238d0e3dc69a736f4977b65ce6bb264ff 22-Apr-2017 Rahul Chaturvedi <rkc@google.com> libbrillo: Add functionality to get the app id of a kiosk app.

This CL adds the functionality to libpolicy to return the ID of the
auto-launched kiosk app, if one exists in the device policy.

BUG=chromium:707892
TEST=automated

Change-Id: Ia8fd1836c288be8a12a7b3fbd2e064e71cd118fe
Reviewed-on: https://chromium-review.googlesource.com/486241
Commit-Ready: Rahul Chaturvedi <rkc@chromium.org>
Tested-by: Rahul Chaturvedi <rkc@chromium.org>
Reviewed-by: Rahul Chaturvedi <rkc@chromium.org>
(cherry picked from commit d6d6f31b3988e21d0a5b50977ef7befedf339b55)
/external/libbrillo/policy/device_policy.h
31dae171b3ce58d168e91294c3daca70198ba732 18-Feb-2016 Vincent Palatin <vpalatin@google.com> libbrillo: policy: Add GetUsbDetachableWhitelist for new USB policy

The newly added device policy setting |usb_detachable_whitelist| contains
a list of USB devices (identified by their USB VID:PID pairs) which can be
detached from the kernel drivers in order to use them in web application.
Add a GetUsbDetachableWhitelist method to retrieve this list of devices.
(as used by the permission_broker daemon)

The policy_all file was updated to include a usb_detachable_whitelist
policy with a couple of USB devices with VID:PID 0403:6001 and
413c:2105.

BUG=chrome-os-partner:50249
TEST=`FEATURES=test emerge-samus libbrillo permission_broker`

Change-Id: If4b06a85ab0b9641e615692449d434e41bd457e6
/external/libbrillo/policy/device_policy.h
b2f006fbe5e66bfb135383b6d72b441934913b83 04-Feb-2016 Xiyuan Xia <xiyuan@google.com> policy: Expose allow_kiosk_app_control_chrome_version policy

Expose allow_kiosk_app_control_chrome_version policy. Kiosk apps
can declare a "required_platform_version" manifest key. The policy
controls whether the value of the key should be used. When the
policy is set to true, the value is used as target version prefix
in the AU ping. When the policy is not configured or set to false,
the manifest key is ignored and AU works as normal. The policy
defaults to false.

BUG=chromium:577765
TEST=libpolicy_unittest

Change-Id: I8889f27497e806cdc71e7da743474d402a89efd5
/external/libbrillo/policy/device_policy.h
b2e83208f8e974ad7ee726332fd471c8852057a3 29-Jan-2016 Xiyuan Xia <xiyuan@google.com> Remove deprecated policy DeviceProxySettingsProto

BUG=chromium:442466
TEST=none

Change-Id: I39f474bc5a53f0a9b199ea557924726bb988e58a
/external/libbrillo/policy/device_policy.h
fed60b0c640828b320f56293c8bebc43fd2b1da8 27-Oct-2015 Alex Vakulenko <avakulenko@google.com> Rename "libchromeos" into "libbrillo"

Renamed libchromeos[-.*] libraries into libbrillo-...

BUG: 24872993
Change-Id: Ibab1623b6a08a55cae3662e941d0d6644ff14df4
/external/libbrillo/policy/device_policy.h
9ed0cab99f18acb3570a35e9408f24355f6b8324 13-Oct-2015 Alex Vakulenko <avakulenko@google.com> Move chromeos symbols into brillo namespace

And move the include files into "brillo" directory instead of "chromeos"

BUG: 24872993
TEST=built aosp and brillo and unit tests pass on dragonoboard

Change-Id: Ieb979d1ebd3152921d36cd15acbd6247f02aae69
/external/libbrillo/policy/device_policy.h
3c8d4abaa4b4798a7dbc49f5317c76b1b6332ab0 03-Sep-2015 Alex Deymo <deymo@google.com> Add libpolicy stub-implementation to Android.mk

libpolicy is installed directly as "policy" in Chrome OS, so this patch
moves the chromeos/policy directory one level up to match what users will
see in installed Chrome OS include dir. A new libchromeos-policy shared
library is included in the Android.mk.

BUG: 23555535
TEST=emerge-link libchromeos; `mm` in aosp.

Change-Id: I0d62a1651632242a08309ca2c00056837a5280a6
/external/libbrillo/policy/device_policy.h