/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | AdbProvisioningTest.java | 28 import com.android.bedstead.metricsrecorder.EnterpriseMetricsRecorder; 60 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in setDeviceOwnerUsingAdb_isLogged() 87 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in setProfileOwnerUsingAdb_isLogged()
|
D | MtePolicyTest.java | 38 import com.android.bedstead.metricsrecorder.EnterpriseMetricsRecorder; 83 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in setMtePolicy_MTE_ENABLED_logsEvent() 121 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in setMtePolicy_MTE_DISABLED_logsEvent()
|
D | TimeTest.java | 44 import com.android.bedstead.metricsrecorder.EnterpriseMetricsRecorder; 130 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in setAutoTimeRequired_true_logsEvent() 149 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in setAutoTimeRequired_false_logsEvent() 169 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in setAutoTimeEnabled_true_logsEvent() 190 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in setAutoTimeEnabled_false_logsEvent() 331 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in setAutoTimeZoneEnabled_true_logsEvent() 351 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in setAutoTimeZoneEnabled_false_logsEvent() 450 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in setTime_logsEvent() 560 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in setTimeZone_logsEvent()
|
D | SystemAppTest.java | 33 import com.android.bedstead.metricsrecorder.EnterpriseMetricsRecorder; 87 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in enableSystemApp_isLogged()
|
D | SupportMessageTest.java | 33 import com.android.bedstead.metricsrecorder.EnterpriseMetricsRecorder; 203 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in setShortSupportMessage_validText_logged() 217 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in setLongSupportMessage_validText_logged()
|
D | ScreenCaptureDisabledTest.java | 58 import com.android.bedstead.metricsrecorder.EnterpriseMetricsRecorder; 247 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in setScreenCaptureDisabled_true_metricsLogged() 266 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in setScreenCaptureDisabled_false_metricsLogged() 437 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in setScreenCaptureDisabled_true_wasLogged() 461 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in setScreenCaptureDisabled_false_wasLogged()
|
D | AccessibilityServicesTest.java | 36 import com.android.bedstead.metricsrecorder.EnterpriseMetricsRecorder; 121 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in setPermittedAccessibilityServices_nullPackageNames_isLogged() 194 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in setPermittedAccessibilityServices_isLogged()
|
D | FactoryResetProtectionTest.java | 38 import com.android.bedstead.metricsrecorder.EnterpriseMetricsRecorder; 117 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in setFactoryResetProtectionPolicy_isLogged()
|
D | LockTest.java | 44 import com.android.bedstead.metricsrecorder.EnterpriseMetricsRecorder; 82 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in lockNow_logsMetric()
|
D | PersistentIntentResolvingTest.java | 32 import com.android.bedstead.metricsrecorder.EnterpriseMetricsRecorder; 136 EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in addPersistentPreferredActivity_metricLogged()
|
D | CaCertManagementTest.java | 39 import com.android.bedstead.metricsrecorder.EnterpriseMetricsRecorder; 185 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in installCaCert_logsEvent() 243 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in uninstallCaCert_logsEvent()
|
D | NetworkLoggingTest.kt | 31 import com.android.bedstead.metricsrecorder.EnterpriseMetricsRecorder in <lambda>() 200 EnterpriseMetricsRecorder.create().use { metrics -> in <lambda>() 230 EnterpriseMetricsRecorder.create().use { metrics -> in <lambda>() 256 EnterpriseMetricsRecorder.create().use { metrics -> in <lambda>()
|
D | CameraTest.java | 53 import com.android.bedstead.metricsrecorder.EnterpriseMetricsRecorder; 315 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in setCameraDisabled_true_wasLogged() 342 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in setCameraDisabled_false_wasLogged()
|
D | BlockUninstallTest.java | 54 import com.android.bedstead.metricsrecorder.EnterpriseMetricsRecorder; 187 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in setUninstallBlocked_logged()
|
D | ApplicationHiddenTest.java | 53 import com.android.bedstead.metricsrecorder.EnterpriseMetricsRecorder; 391 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in setApplicationHidden_true_logsEvent() 413 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in setApplicationHidden_false_logsEvent()
|
D | CrossProfileAppsTest.java | 71 import com.android.bedstead.metricsrecorder.EnterpriseMetricsRecorder; 189 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in getTargetUserProfiles_logged() 323 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in startMainActivity_logged() 692 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in startActivity_byIntent_logged() 713 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in startActivity_byIntent_fromWorkProfile_logged()
|
D | PasswordTest.kt | 43 import com.android.bedstead.metricsrecorder.EnterpriseMetricsRecorder in <lambda>() 1236 EnterpriseMetricsRecorder.create().use { metrics -> in <lambda>() 1274 EnterpriseMetricsRecorder.create().use { metrics -> in <lambda>() 1313 EnterpriseMetricsRecorder.create().use { metrics -> in <lambda>() 1352 EnterpriseMetricsRecorder.create().use { metrics -> in <lambda>() 1391 EnterpriseMetricsRecorder.create().use { metrics -> in <lambda>() 1430 EnterpriseMetricsRecorder.create().use { metrics -> in <lambda>() 1469 EnterpriseMetricsRecorder.create().use { metrics -> in <lambda>() 1502 EnterpriseMetricsRecorder.create().use { metrics -> in <lambda>()
|
D | PersistentPreferredActivitiesTest.java | 54 import com.android.bedstead.metricsrecorder.EnterpriseMetricsRecorder; 199 EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in addPersistentPreferredActivity_metricLogged()
|
D | CrossProfileIntentFiltersTest.java | 47 import com.android.bedstead.metricsrecorder.EnterpriseMetricsRecorder; 221 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create(); in addCrossProfileIntentFilter_logsMetric()
|
D | BugReportTest.kt | 32 import com.android.bedstead.metricsrecorder.EnterpriseMetricsRecorder in <lambda>() 216 EnterpriseMetricsRecorder.create().use { metrics -> in <lambda>()
|
D | ApplicationExemptionsTest.java | 61 import com.android.bedstead.metricsrecorder.EnterpriseMetricsRecorder; 328 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create(); in setApplicationExemptions_validExemptionSet_logsEvent()
|
D | UserControlDisabledPackagesTest.java | 60 import com.android.bedstead.metricsrecorder.EnterpriseMetricsRecorder; 111 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in setUserControlDisabledPackages_verifyMetricIsLogged()
|
D | AccountManagementTest.java | 59 import com.android.bedstead.metricsrecorder.EnterpriseMetricsRecorder; 488 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in startAddAccountSession_isLogged()
|
/cts/common/device-side/bedstead/metricsrecorder/src/main/java/com/android/bedstead/metricsrecorder/ |
D | EnterpriseMetricsRecorder.java | 56 public class EnterpriseMetricsRecorder implements AutoCloseable { class 59 public static EnterpriseMetricsRecorder create() { in create() 60 EnterpriseMetricsRecorder r = new EnterpriseMetricsRecorder(); in create() 70 private EnterpriseMetricsRecorder() { in EnterpriseMetricsRecorder() method in EnterpriseMetricsRecorder
|
D | MetricQueryBuilder.java | 43 private final EnterpriseMetricsRecorder mRecorder; 60 MetricQueryBuilder(EnterpriseMetricsRecorder recorder) { in MetricQueryBuilder()
|