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;
220 }, new DevicePolicyEventWrapper.Builder(EventId.INSTALL_CA_CERT_VALUE) in testInstallCaCertLogged()
224 new DevicePolicyEventWrapper.Builder(EventId.UNINSTALL_CA_CERTS_VALUE) in testInstallCaCertLogged()
284 }, new DevicePolicyEventWrapper.Builder(EventId.SET_APPLICATION_RESTRICTIONS_VALUE) in testApplicationRestrictions()
298 private Map<String, DevicePolicyEventWrapper[]> getDelegationTests() { in getDelegationTests()
299 final Map<String, DevicePolicyEventWrapper[]> result = new HashMap<>(); in getDelegationTests()
310 Map<String, DevicePolicyEventWrapper[]> getAdditionalDelegationTests() { in getAdditionalDelegationTests()
311 return Collections.<String, DevicePolicyEventWrapper[]>emptyMap(); in getAdditionalDelegationTests()
373 final Map<String, DevicePolicyEventWrapper[]> delegationTests = getDelegationTests(); in testDelegation()
408 }, new DevicePolicyEventWrapper.Builder(EventId.CHOOSE_PRIVATE_KEY_ALIAS_VALUE) in testDelegationCertSelection()
[all …]
DMixedDeviceOwnerTest.java21 import com.android.cts.devicepolicy.metrics.DevicePolicyEventWrapper;
102 Map<String, DevicePolicyEventWrapper[]> getAdditionalDelegationTests() { in getAdditionalDelegationTests()
103 final Map<String, DevicePolicyEventWrapper[]> result = new HashMap<>(); in getAdditionalDelegationTests()
104 DevicePolicyEventWrapper[] expectedMetrics = new DevicePolicyEventWrapper[] { in getAdditionalDelegationTests()
105 new DevicePolicyEventWrapper.Builder(EventId.SET_NETWORK_LOGGING_ENABLED_VALUE) in getAdditionalDelegationTests()
110 new DevicePolicyEventWrapper.Builder(EventId.RETRIEVE_NETWORK_LOGS_VALUE) in getAdditionalDelegationTests()
114 new DevicePolicyEventWrapper.Builder(EventId.SET_NETWORK_LOGGING_ENABLED_VALUE) in getAdditionalDelegationTests()
DDeviceOwnerTest.java24 import com.android.cts.devicepolicy.metrics.DevicePolicyEventWrapper;
148 }, new DevicePolicyEventWrapper.Builder(EventId.SET_DEVICE_OWNER_LOCK_SCREEN_INFO_VALUE) in testLockScreenInfo()
160 }, new DevicePolicyEventWrapper.Builder(EventId.GET_WIFI_MAC_ADDRESS_VALUE) in testWifi()
500 }, new DevicePolicyEventWrapper.Builder(EventId.SET_SECURITY_LOGGING_ENABLED_VALUE) in testSecurityLoggingEnabledLogged()
504 new DevicePolicyEventWrapper.Builder(EventId.SET_SECURITY_LOGGING_ENABLED_VALUE) in testSecurityLoggingEnabledLogged()
712 }, new DevicePolicyEventWrapper.Builder(EventId.RETRIEVE_SECURITY_LOGS_VALUE) in testAdminActionBookkeeping()
715 new DevicePolicyEventWrapper.Builder(EventId.RETRIEVE_PRE_REBOOT_SECURITY_LOGS_VALUE) in testAdminActionBookkeeping()
720 }, new DevicePolicyEventWrapper.Builder(EventId.REQUEST_BUGREPORT_VALUE) in testAdminActionBookkeeping()
818 }, new DevicePolicyEventWrapper.Builder(EventId.SET_KEEP_UNINSTALLED_PACKAGES_VALUE) in testPackageInstallCache()
832 }, new DevicePolicyEventWrapper.Builder(EventId.INSTALL_EXISTING_PACKAGE_VALUE) in testPackageInstallCache()
[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()
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;
199 }, new DevicePolicyEventWrapper.Builder(EventId.WIPE_DATA_WITH_REASON_VALUE) in testWipeDataLogged()
433 }, new DevicePolicyEventWrapper.Builder(EventId.ADD_CROSS_PROFILE_INTENT_FILTER_VALUE) in testCrossProfileIntentFilters()
851 }, new DevicePolicyEventWrapper in testManagedContactsPolicies()
856 new DevicePolicyEventWrapper in testManagedContactsPolicies()
864 }, new DevicePolicyEventWrapper in testManagedContactsPolicies()
869 new DevicePolicyEventWrapper in testManagedContactsPolicies()
898 }, new DevicePolicyEventWrapper.Builder(EventId.SET_ORGANIZATION_COLOR_VALUE) in testOrganizationInfo()
926 }, new DevicePolicyEventWrapper in testBluetoothContactSharingDisabled()
931 new DevicePolicyEventWrapper in testBluetoothContactSharingDisabled()
[all …]
DPasswordComplexityTest.java7 import com.android.cts.devicepolicy.metrics.DevicePolicyEventWrapper;
52 new DevicePolicyEventWrapper in testGetPasswordComplexity()
DDeviceAndProfileOwnerHostSideTransferTest.java5 import com.android.cts.devicepolicy.metrics.DevicePolicyEventWrapper;
48 }, 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()