| /cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/metrics/ |
| D | DevicePolicyEventLogVerifier.java | 44 DevicePolicyEventWrapper... expectedLogs) throws Exception { in assertMetricsLogged() 54 for (DevicePolicyEventWrapper expectedLog : expectedLogs) { in assertMetricsLogged() 67 DevicePolicyEventWrapper... expectedLogs) throws Exception { in assertMetricsNotLogged() 77 for (DevicePolicyEventWrapper expectedLog : expectedLogs) { in assertMetricsNotLogged() 86 DevicePolicyEventWrapper expectedLog) { in assertExpectedMetricLogged() 92 DevicePolicyEventWrapper expectedLog) { in assertExpectedMetricNotLogged() 98 DevicePolicyEventWrapper expectedLog) { in isExpectedMetricLogged() 99 final List<DevicePolicyEventWrapper> closestMatches = new ArrayList<>(); in isExpectedMetricLogged() 101 final DevicePolicyEventWrapper actualLog = in isExpectedMetricLogged() 102 DevicePolicyEventWrapper.fromDevicePolicyAtom(atom.getDevicePolicyEvent()); in isExpectedMetricLogged()
|
| 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()
|
| /cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
| D | DeviceAndProfileOwnerTest.java | 37 import com.android.cts.devicepolicy.metrics.DevicePolicyEventWrapper; 222 }, new DevicePolicyEventWrapper.Builder(EventId.CHOOSE_PRIVATE_KEY_ALIAS_VALUE) in testDelegationCertSelection() 361 }, new DevicePolicyEventWrapper.Builder(EventId.SET_ALWAYS_ON_VPN_PACKAGE_VALUE) in testAlwaysOnVpnPackageLogged() 459 }, new DevicePolicyEventWrapper.Builder(EventId.SET_CERT_INSTALLER_PACKAGE_VALUE) in testDelegatedCertInstaller() 660 }, new DevicePolicyEventWrapper.Builder(EventId.SET_MASTER_VOLUME_MUTED_VALUE) in testDisallowAdjustVolumeMutedLogged() 664 new DevicePolicyEventWrapper.Builder(EventId.SET_MASTER_VOLUME_MUTED_VALUE) in testDisallowAdjustVolumeMutedLogged() 729 }, new DevicePolicyEventWrapper.Builder(EventId.SET_PACKAGES_SUSPENDED_VALUE) in testSuspendPackage() 830 }, new DevicePolicyEventWrapper.Builder(EventId.GENERATE_KEY_PAIR_VALUE) in testGenerateKeyPairLogged() 836 new DevicePolicyEventWrapper.Builder(EventId.GENERATE_KEY_PAIR_VALUE) in testGenerateKeyPairLogged() 849 }, new DevicePolicyEventWrapper.Builder(EventId.SET_KEY_PAIR_CERTIFICATE_VALUE) in testSetKeyPairCertificateLogged() [all …]
|
| D | OrgOwnedProfileOwnerTest.java | 32 import com.android.cts.devicepolicy.metrics.DevicePolicyEventWrapper; 149 }, new DevicePolicyEventWrapper.Builder(EventId.ADD_USER_RESTRICTION_VALUE) in testUserRestrictionSetOnParentLogged() 153 new DevicePolicyEventWrapper.Builder(EventId.REMOVE_USER_RESTRICTION_VALUE) in testUserRestrictionSetOnParentLogged() 209 }, new DevicePolicyEventWrapper.Builder(EventId.SET_CAMERA_DISABLED_VALUE) in testCameraDisabledOnParentLogged() 214 new DevicePolicyEventWrapper.Builder(EventId.SET_CAMERA_DISABLED_VALUE) in testCameraDisabledOnParentLogged() 365 new DevicePolicyEventWrapper.Builder(EventId.SET_PERMITTED_INPUT_METHODS_VALUE) in testPermittedInputMethodsLogged() 369 new DevicePolicyEventWrapper.Builder(EventId.SET_PERMITTED_INPUT_METHODS_VALUE) in testPermittedInputMethodsLogged() 407 }, new DevicePolicyEventWrapper.Builder(EventId.SET_PERSONAL_APPS_SUSPENDED_VALUE) in testSetPersonalAppsSuspendedLogged() 411 new DevicePolicyEventWrapper.Builder(EventId.SET_PERSONAL_APPS_SUSPENDED_VALUE) in testSetPersonalAppsSuspendedLogged() 422 }, new DevicePolicyEventWrapper.Builder( in testSetManagedProfileMaximumTimeOffLogged() [all …]
|
| D | DeviceOwnerTest.java | 34 import com.android.cts.devicepolicy.metrics.DevicePolicyEventWrapper; 437 }, new DevicePolicyEventWrapper.Builder(EventId.SET_SYSTEM_UPDATE_POLICY_VALUE) in testSetSystemUpdatePolicyLogged() 443 }, new DevicePolicyEventWrapper.Builder(EventId.SET_SYSTEM_UPDATE_POLICY_VALUE) in testSetSystemUpdatePolicyLogged() 449 }, new DevicePolicyEventWrapper.Builder(EventId.SET_SYSTEM_UPDATE_POLICY_VALUE) in testSetSystemUpdatePolicyLogged() 455 }, new DevicePolicyEventWrapper.Builder(EventId.SET_SYSTEM_UPDATE_POLICY_VALUE) in testSetSystemUpdatePolicyLogged() 562 }, new DevicePolicyEventWrapper.Builder(EventId.RETRIEVE_SECURITY_LOGS_VALUE) in testAdminActionBookkeeping() 565 new DevicePolicyEventWrapper.Builder(EventId.RETRIEVE_PRE_REBOOT_SECURITY_LOGS_VALUE) in testAdminActionBookkeeping() 645 }, new DevicePolicyEventWrapper.Builder(EventId.SET_KEEP_UNINSTALLED_PACKAGES_VALUE) in testPackageInstallCache() 659 }, new DevicePolicyEventWrapper.Builder(EventId.INSTALL_EXISTING_PACKAGE_VALUE) in testPackageInstallCache() 751 }, new DevicePolicyEventWrapper.Builder(EventId.SET_KEYGUARD_DISABLED_VALUE) in testSetKeyguardDisabledLogged() [all …]
|
| D | MixedDeviceOwnerTest.java | 31 import com.android.cts.devicepolicy.metrics.DevicePolicyEventWrapper; 151 }, new DevicePolicyEventWrapper.Builder(EventId.SET_DEVICE_OWNER_LOCK_SCREEN_INFO_VALUE) in testLockScreenInfo() 186 }, new DevicePolicyEventWrapper.Builder(EventId.INSTALL_SYSTEM_UPDATE_VALUE) in testInstallUpdateLogged() 190 new DevicePolicyEventWrapper.Builder(EventId.INSTALL_SYSTEM_UPDATE_ERROR_VALUE) in testInstallUpdateLogged() 251 }, new DevicePolicyEventWrapper.Builder(EventId.SET_SECURITY_LOGGING_ENABLED_VALUE) in testSecurityLoggingEnabledLogged() 255 new DevicePolicyEventWrapper.Builder(EventId.SET_SECURITY_LOGGING_ENABLED_VALUE) in testSecurityLoggingEnabledLogged()
|
| D | ManagedProfileContactsTest.java | 25 import com.android.cts.devicepolicy.metrics.DevicePolicyEventWrapper; 99 }, new DevicePolicyEventWrapper in testManagedContactsPolicies() 104 new DevicePolicyEventWrapper in testManagedContactsPolicies() 112 }, new DevicePolicyEventWrapper in testManagedContactsPolicies() 117 new DevicePolicyEventWrapper in testManagedContactsPolicies()
|
| D | ManagedProfileWipeTest.java | 26 import com.android.cts.devicepolicy.metrics.DevicePolicyEventWrapper; 89 }, new DevicePolicyEventWrapper.Builder(EventId.WIPE_DATA_WITH_REASON_VALUE) in testWipeDataLogged()
|
| D | DeviceAndProfileOwnerHostSideTransferTest.java | 9 import com.android.cts.devicepolicy.metrics.DevicePolicyEventWrapper; 47 }, new DevicePolicyEventWrapper.Builder(EventId.TRANSFER_OWNERSHIP_VALUE) in testTransferOwnership()
|
| D | MixedManagedProfileOwnerTest.java | 29 import com.android.cts.devicepolicy.metrics.DevicePolicyEventWrapper; 131 }, new DevicePolicyEventWrapper.Builder( in testSetPreferentialNetworkServiceStatusLogged() 135 new DevicePolicyEventWrapper.Builder( in testSetPreferentialNetworkServiceStatusLogged()
|
| D | ManagedProfileCrossProfileTest.java | 34 import com.android.cts.devicepolicy.metrics.DevicePolicyEventWrapper; 268 }, new DevicePolicyEventWrapper in testCrossProfileWidgetsLogged() 272 new DevicePolicyEventWrapper in testCrossProfileWidgetsLogged() 288 }, new DevicePolicyEventWrapper.Builder(SET_CROSS_PROFILE_CALENDAR_PACKAGES_VALUE) in testCrossProfileCalendarPackage() 351 new DevicePolicyEventWrapper.Builder(SET_CROSS_PROFILE_PACKAGES_VALUE) in testSetCrossProfilePackages_isLogged() 430 new DevicePolicyEventWrapper.Builder(SET_INTERACT_ACROSS_PROFILES_APP_OP_VALUE) in testSetCrossProfilePackages_resetsAppOps_isLogged()
|
| D | DeviceOwnerPlusProfileOwnerTest.java | 33 import com.android.cts.devicepolicy.metrics.DevicePolicyEventWrapper; 34 import com.android.cts.devicepolicy.metrics.DevicePolicyEventWrapper.Builder; 65 private static final DevicePolicyEventWrapper WIPE_DATA_WITH_REASON_DEVICE_POLICY_EVENT =
|
| D | ManagedProfilePasswordTest.java | 26 import com.android.cts.devicepolicy.metrics.DevicePolicyEventWrapper; 205 }, new DevicePolicyEventWrapper.Builder(EventId.SEPARATE_PROFILE_CHALLENGE_CHANGED_VALUE) in testCreateSeparateChallengeChangedLogged()
|
| D | ManagedProfileTest.java | 27 import com.android.cts.devicepolicy.metrics.DevicePolicyEventWrapper; 151 }, new DevicePolicyEventWrapper.Builder(EventId.SET_ORGANIZATION_COLOR_VALUE) in testOrganizationInfo() 332 }, new DevicePolicyEventWrapper.Builder(EventId.SET_PROFILE_NAME_VALUE) in testSetProfileNameLogged()
|
| /cts/hostsidetests/accounts/src/android/host/accounts/ |
| D | AccountManagerHostSideTest.java | 30 import com.android.cts.devicepolicy.metrics.DevicePolicyEventWrapper; 128 }, new DevicePolicyEventWrapper.Builder(EventId.ADD_ACCOUNT_VALUE) in tesAddAccount_logsMetrics() 150 }, new DevicePolicyEventWrapper.Builder(EventId.ADD_ACCOUNT_EXPLICITLY_VALUE) in tesAddAccountExplicitly_logsMetrics() 170 }, new DevicePolicyEventWrapper.Builder(EventId.GET_ACCOUNT_AUTH_TOKEN_VALUE) in tesGetAuthToken_logsMetrics()
|
| /cts/hostsidetests/content/src/android/content/cts/ |
| D | ContextCrossProfileHostTest.java | 30 import com.android.cts.devicepolicy.metrics.DevicePolicyEventWrapper; 477 }, new DevicePolicyEventWrapper.Builder(EventId.BIND_CROSS_PROFILE_SERVICE_VALUE) in testBindServiceAsUser_sameProfileGroup_reportsMetric() 513 }, new DevicePolicyEventWrapper.Builder(EventId.BIND_CROSS_PROFILE_SERVICE_VALUE) in testBindServiceAsUser_differentProfileGroup_doesNotReportMetric() 533 }, new DevicePolicyEventWrapper.Builder(EventId.BIND_CROSS_PROFILE_SERVICE_VALUE) in testBindServiceAsUser_sameUser_doesNotReportMetric()
|