Searched refs:DevicePolicy (Results 1 – 8 of 8) sorted by relevance
19 class DevicePolicy; variable32 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_;
9 DevicePolicy::DevicePolicy() { in DevicePolicy() function in policy::DevicePolicy12 DevicePolicy::~DevicePolicy() { in ~DevicePolicy()
29 class DevicePolicy {65 DevicePolicy();66 virtual ~DevicePolicy();231 DISALLOW_COPY_AND_ASSIGN(DevicePolicy);
25 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()
48 class MockDevicePolicy : public DevicePolicy {101 bool(std::vector<DevicePolicy::UsbDeviceId>*));
25 MOCK_CONST_METHOD0(GetDevicePolicy, const DevicePolicy&(void));
31 class DevicePolicyImpl : public DevicePolicy {
59 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()