Searched refs:mapToReason (Results 1 – 1 of 1) sorted by relevance
91 getEnabledByUser(user).mapToReason(DISABLED_REASON_USER_SETTING), in getEnabledState()92 getAllowedByDevicePolicy(user).mapToReason(DISABLED_REASON_DEVICE_POLICY), in getEnabledState()171 private fun Flow<Boolean>.mapToReason(reason: DisabledReason) = map { enabled -> in DevicePolicyManager() method