Home
last modified time | relevance | path

Searched refs:DevicePolicy (Results 1 – 8 of 8) sorted by relevance

/external/libbrillo/policy/
Dlibpolicy.h19 class DevicePolicy; variable
32 explicit PolicyProvider(std::unique_ptr<DevicePolicy> device_policy);
41 virtual const DevicePolicy& GetDevicePolicy() const;
49 std::unique_ptr<DevicePolicy> device_policy);
54 std::unique_ptr<DevicePolicy> device_policy_;
Ddevice_policy.cc9 DevicePolicy::DevicePolicy() { in DevicePolicy() function in policy::DevicePolicy
12 DevicePolicy::~DevicePolicy() { in ~DevicePolicy()
Ddevice_policy.h29 class DevicePolicy {
65 DevicePolicy();
66 virtual ~DevicePolicy();
231 DISALLOW_COPY_AND_ASSIGN(DevicePolicy);
Dlibpolicy.cc25 PolicyProvider::PolicyProvider(std::unique_ptr<DevicePolicy> device_policy) in PolicyProvider()
52 const DevicePolicy& PolicyProvider::GetDevicePolicy() const { in GetDevicePolicy()
73 std::unique_ptr<DevicePolicy> device_policy) { in SetDevicePolicyForTesting()
Dmock_device_policy.h48 class MockDevicePolicy : public DevicePolicy {
101 bool(std::vector<DevicePolicy::UsbDeviceId>*));
Dmock_libpolicy.h25 MOCK_CONST_METHOD0(GetDevicePolicy, const DevicePolicy&(void));
Ddevice_policy_impl.h31 class DevicePolicyImpl : public DevicePolicy {
/external/libbrillo/policy/tests/
Dlibpolicy_unittest.cc59 const DevicePolicy& policy = provider.GetDevicePolicy(); in TEST()
166 std::vector<DevicePolicy::UsbDeviceId> list_device; in TEST()
181 std::vector<DevicePolicy::WeeklyTimeInterval> intervals; in TEST()
219 const DevicePolicy& policy = provider.GetDevicePolicy(); in TEST()
227 std::vector<DevicePolicy::UsbDeviceId> list_device; in TEST()
228 std::vector<DevicePolicy::WeeklyTimeInterval> intervals; in TEST()