Searched refs:DevicePolicyEventWrapper (Results 1 – 11 of 11) sorted by relevance
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | DeviceAndProfileOwnerTest.java | 25 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 …]
|
D | MixedDeviceOwnerTest.java | 23 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()
|
D | DeviceOwnerTest.java | 22 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 …]
|
D | AdbProvisioningTests.java | 23 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()
|
D | PasswordComplexityTest.java | 7 import com.android.cts.devicepolicy.metrics.DevicePolicyEventWrapper; 52 new DevicePolicyEventWrapper in testGetPasswordComplexity()
|
D | CrossProfileAppsHostSideTest.java | 7 import com.android.cts.devicepolicy.metrics.DevicePolicyEventWrapper; 120 new DevicePolicyEventWrapper in testStartMainActivity_logged() 139 new DevicePolicyEventWrapper in testGetTargetUserProfiles_logged()
|
D | ManagedProfileTest.java | 24 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 …]
|
D | DeviceAndProfileOwnerHostSideTransferTest.java | 5 import com.android.cts.devicepolicy.metrics.DevicePolicyEventWrapper; 42 }, new DevicePolicyEventWrapper.Builder(EventId.TRANSFER_OWNERSHIP_VALUE) in testTransferOwnership()
|
D | DeviceOwnerPlusProfileOwnerTest.java | 21 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/ |
D | DevicePolicyEventLogVerifier.java | 43 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()
|
D | DevicePolicyEventWrapper.java | 30 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()
|