Home
last modified time | relevance | path

Searched refs:DevicePolicyEventWrapper (Results 1 – 11 of 11) sorted by relevance

/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceAndProfileOwnerTest.java25 import com.android.cts.devicepolicy.metrics.DevicePolicyEventWrapper;
218 }, new DevicePolicyEventWrapper.Builder(EventId.INSTALL_CA_CERT_VALUE) in testInstallCaCertLogged()
222 new DevicePolicyEventWrapper.Builder(EventId.UNINSTALL_CA_CERTS_VALUE) in testInstallCaCertLogged()
282 }, new DevicePolicyEventWrapper.Builder(EventId.SET_APPLICATION_RESTRICTIONS_VALUE) in testApplicationRestrictions()
296 private Map<String, DevicePolicyEventWrapper[]> getDelegationTests() { in getDelegationTests()
297 final Map<String, DevicePolicyEventWrapper[]> result = new HashMap<>(); in getDelegationTests()
308 Map<String, DevicePolicyEventWrapper[]> getAdditionalDelegationTests() { in getAdditionalDelegationTests()
309 return Collections.<String, DevicePolicyEventWrapper[]>emptyMap(); in getAdditionalDelegationTests()
371 final Map<String, DevicePolicyEventWrapper[]> delegationTests = getDelegationTests(); in testDelegation()
406 }, new DevicePolicyEventWrapper.Builder(EventId.CHOOSE_PRIVATE_KEY_ALIAS_VALUE) in testDelegationCertSelection()
[all …]
DMixedDeviceOwnerTest.java23 import com.android.cts.devicepolicy.metrics.DevicePolicyEventWrapper;
80 Map<String, DevicePolicyEventWrapper[]> getAdditionalDelegationTests() { in getAdditionalDelegationTests()
81 final Map<String, DevicePolicyEventWrapper[]> result = new HashMap<>(); in getAdditionalDelegationTests()
82 DevicePolicyEventWrapper[] expectedMetrics = new DevicePolicyEventWrapper[] { in getAdditionalDelegationTests()
83 new DevicePolicyEventWrapper.Builder(EventId.SET_NETWORK_LOGGING_ENABLED_VALUE) in getAdditionalDelegationTests()
88 new DevicePolicyEventWrapper.Builder(EventId.RETRIEVE_NETWORK_LOGS_VALUE) in getAdditionalDelegationTests()
92 new DevicePolicyEventWrapper.Builder(EventId.SET_NETWORK_LOGGING_ENABLED_VALUE) in getAdditionalDelegationTests()
DDeviceOwnerTest.java22 import com.android.cts.devicepolicy.metrics.DevicePolicyEventWrapper;
152 }, new DevicePolicyEventWrapper.Builder(EventId.SET_DEVICE_OWNER_LOCK_SCREEN_INFO_VALUE) in testLockScreenInfo()
164 }, new DevicePolicyEventWrapper.Builder(EventId.GET_WIFI_MAC_ADDRESS_VALUE) in testWifi()
495 }, new DevicePolicyEventWrapper.Builder(EventId.SET_SECURITY_LOGGING_ENABLED_VALUE) in testSecurityLoggingEnabledLogged()
499 new DevicePolicyEventWrapper.Builder(EventId.SET_SECURITY_LOGGING_ENABLED_VALUE) in testSecurityLoggingEnabledLogged()
581 }, new DevicePolicyEventWrapper.Builder(EventId.SET_LOCKTASK_MODE_ENABLED_VALUE) in testLockTask_deviceOwnerUser()
691 }, new DevicePolicyEventWrapper.Builder(EventId.SET_SYSTEM_UPDATE_POLICY_VALUE) in testSetSystemUpdatePolicyLogged()
697 }, new DevicePolicyEventWrapper.Builder(EventId.SET_SYSTEM_UPDATE_POLICY_VALUE) in testSetSystemUpdatePolicyLogged()
703 }, new DevicePolicyEventWrapper.Builder(EventId.SET_SYSTEM_UPDATE_POLICY_VALUE) in testSetSystemUpdatePolicyLogged()
709 }, new DevicePolicyEventWrapper.Builder(EventId.SET_SYSTEM_UPDATE_POLICY_VALUE) in testSetSystemUpdatePolicyLogged()
[all …]
DAdbProvisioningTests.java23 import com.android.cts.devicepolicy.metrics.DevicePolicyEventWrapper;
56 }, new DevicePolicyEventWrapper.Builder(EventId.PROVISIONING_ENTRY_POINT_ADB_VALUE) in testAdbDeviceOwnerLogged()
70 }, new DevicePolicyEventWrapper.Builder(EventId.PROVISIONING_ENTRY_POINT_ADB_VALUE) in testAdbProfileOwnerLogged()
DPasswordComplexityTest.java7 import com.android.cts.devicepolicy.metrics.DevicePolicyEventWrapper;
52 new DevicePolicyEventWrapper in testGetPasswordComplexity()
DCrossProfileAppsHostSideTest.java7 import com.android.cts.devicepolicy.metrics.DevicePolicyEventWrapper;
120 new DevicePolicyEventWrapper in testStartMainActivity_logged()
139 new DevicePolicyEventWrapper in testGetTargetUserProfiles_logged()
DManagedProfileTest.java24 import com.android.cts.devicepolicy.metrics.DevicePolicyEventWrapper;
197 }, new DevicePolicyEventWrapper.Builder(EventId.WIPE_DATA_WITH_REASON_VALUE) in testWipeDataLogged()
431 }, new DevicePolicyEventWrapper.Builder(EventId.ADD_CROSS_PROFILE_INTENT_FILTER_VALUE) in testCrossProfileIntentFilters()
861 }, new DevicePolicyEventWrapper in testManagedContactsPolicies()
866 new DevicePolicyEventWrapper in testManagedContactsPolicies()
874 }, new DevicePolicyEventWrapper in testManagedContactsPolicies()
879 new DevicePolicyEventWrapper in testManagedContactsPolicies()
908 }, new DevicePolicyEventWrapper.Builder(EventId.SET_ORGANIZATION_COLOR_VALUE) in testOrganizationInfo()
936 }, new DevicePolicyEventWrapper in testBluetoothContactSharingDisabled()
941 new DevicePolicyEventWrapper in testBluetoothContactSharingDisabled()
[all …]
DDeviceAndProfileOwnerHostSideTransferTest.java5 import com.android.cts.devicepolicy.metrics.DevicePolicyEventWrapper;
42 }, new DevicePolicyEventWrapper.Builder(EventId.TRANSFER_OWNERSHIP_VALUE) in testTransferOwnership()
DDeviceOwnerPlusProfileOwnerTest.java21 import com.android.cts.devicepolicy.metrics.DevicePolicyEventWrapper;
22 import com.android.cts.devicepolicy.metrics.DevicePolicyEventWrapper.Builder;
50 private static final DevicePolicyEventWrapper WIPE_DATA_WITH_REASON_DEVICE_POLICY_EVENT =
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/metrics/
DDevicePolicyEventLogVerifier.java43 DevicePolicyEventWrapper... expectedLogs) throws Exception { in assertMetricsLogged()
56 for (DevicePolicyEventWrapper expectedLog : expectedLogs) { in assertMetricsLogged()
65 DevicePolicyEventWrapper expectedLog) { in assertExpectedMetricLogged()
66 final List<DevicePolicyEventWrapper> closestMatches = new ArrayList<>(); in assertExpectedMetricLogged()
68 final DevicePolicyEventWrapper actualLog = in assertExpectedMetricLogged()
69 DevicePolicyEventWrapper.fromDevicePolicyAtom(atom.getDevicePolicyEvent()); in assertExpectedMetricLogged()
DDevicePolicyEventWrapper.java30 public final class DevicePolicyEventWrapper { class
38 private DevicePolicyEventWrapper(Builder builder) { in DevicePolicyEventWrapper() method in DevicePolicyEventWrapper
50 static DevicePolicyEventWrapper fromDevicePolicyAtom(DevicePolicyEvent atom) { in fromDevicePolicyAtom()
81 if (!(obj instanceof DevicePolicyEventWrapper)) { in equals()
84 final DevicePolicyEventWrapper other = (DevicePolicyEventWrapper) obj; in equals()
164 public DevicePolicyEventWrapper build() { in build()
165 return new DevicePolicyEventWrapper(this); in build()