Rename power exemption reasons for DPC roles

Rename REASON_DEVICE_OWNER to REASON_DEVICE_DPC and REASON_PROFILE_OWNER
to REASON_USER_DPC.

These constants represent power exemption reasons. The previous names
referred to the management modes (Device Owner, Profile Owner). The new
names are more precise, clarifying that the exemption is granted to the
Device Policy Controller (DPC) application that holds these roles.

REASON_DEVICE_DPC is now general enough to be granted not only to the
Device Owner, but also to other device-level DPCs such as the new Device
Controller role for Multiuser Management (MUM).

This is a pure refactoring for improved clarity and does not change
behavior.

Flag: EXEMPT PURE_REFACTOR
Test: refactoring CL. Existing unit tests still pass.
Bug: 481618169
Change-Id: Idcfbdf60b15a734c9c71bd1780aa3cfb2d70bae3
1 file changed
tree: b9fdb18490af7b157e15416d79cf54e600d7332c
  1. stats/
  2. OWNERS