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();247 DISALLOW_COPY_AND_ASSIGN(DevicePolicy);
26 PolicyProvider::PolicyProvider(std::unique_ptr<DevicePolicy> device_policy) in PolicyProvider()53 const DevicePolicy& PolicyProvider::GetDevicePolicy() const { in GetDevicePolicy()74 std::unique_ptr<DevicePolicy> device_policy) { in SetDevicePolicyForTesting()
48 class MockDevicePolicy : public DevicePolicy {97 (std::vector<DevicePolicy::UsbDeviceId>*),
25 MOCK_METHOD(const DevicePolicy&, GetDevicePolicy, (), (const, override));
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()