Home
last modified time | relevance | path

Searched refs:WorkPolicyInfo (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/privacysources/
DWorkPolicyInfoTest.kt37 import com.android.permissioncontroller.privacysources.WorkPolicyInfo
61 private lateinit var workPolicyInfo: WorkPolicyInfo
104 eq(WorkPolicyInfo.WORK_POLICY_TITLE), in setup()
112 eq(WorkPolicyInfo.WORK_POLICY_SUMMARY), in setup()
120 workPolicyInfo = WorkPolicyInfo(mockWorkPolicyUtils) in setup()
159 WorkPolicyInfo.WORK_POLICY_INFO_SOURCE_ID, in safetyCenterEnabledChanged_safetyCenterEnabled()
184 WorkPolicyInfo.WORK_POLICY_INFO_SOURCE_ID, in safetyCenterEnabledChanged_safetyCenterEnabled_hasWorkPolicyFalse()
229 WorkPolicyInfo.WORK_POLICY_INFO_SOURCE_ID, in rescanAndPushSafetyCenterData_eventRebooted_deviceOwner()
276 WorkPolicyInfo.WORK_POLICY_INFO_SOURCE_ID, in rescanAndPushSafetyCenterData_eventRefresh_deviceOwner()
310 WorkPolicyInfo.WORK_POLICY_INFO_SOURCE_ID, in rescanAndPushSafetyCenterData_eventUnknown_profileOwner()
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/privacysources/
DWorkPolicyInfo.kt44 class WorkPolicyInfo(private val workPolicyUtils: WorkPolicyUtils) : PrivacySource { class
50 fun create(context: Context): WorkPolicyInfo { in create()
52 return WorkPolicyInfo(workPolicyUtils) in create()
DSafetyCenterReceiver.kt39 import com.android.permissioncontroller.privacysources.WorkPolicyInfo.Companion.WORK_POLICY_INFO_SO… in <lambda>()
52 sourceMap[WORK_POLICY_INFO_SOURCE_ID] = WorkPolicyInfo.create(context) in <lambda>()
/packages/modules/Permission/PermissionController/tests/inprocess/src/com/android/permissioncontroller/permission/util/
DUtilsTest.kt46 import com.android.permissioncontroller.privacysources.WorkPolicyInfo
116 WorkPolicyInfo.WORK_POLICY_TITLE, in getEnterpriseString()