Home
last modified time | relevance | path

Searched refs:EnterpriseMetricsRecorder (Results 1 – 25 of 30) sorted by relevance

12

/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DAdbProvisioningTest.java28 import com.android.bedstead.metricsrecorder.EnterpriseMetricsRecorder;
60 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in setDeviceOwnerUsingAdb_isLogged()
87 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in setProfileOwnerUsingAdb_isLogged()
DMtePolicyTest.java38 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()
DTimeTest.java44 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()
DSystemAppTest.java33 import com.android.bedstead.metricsrecorder.EnterpriseMetricsRecorder;
87 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in enableSystemApp_isLogged()
DSupportMessageTest.java33 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()
DScreenCaptureDisabledTest.java58 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()
DAccessibilityServicesTest.java36 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()
DFactoryResetProtectionTest.java38 import com.android.bedstead.metricsrecorder.EnterpriseMetricsRecorder;
117 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in setFactoryResetProtectionPolicy_isLogged()
DLockTest.java44 import com.android.bedstead.metricsrecorder.EnterpriseMetricsRecorder;
82 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in lockNow_logsMetric()
DPersistentIntentResolvingTest.java32 import com.android.bedstead.metricsrecorder.EnterpriseMetricsRecorder;
136 EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in addPersistentPreferredActivity_metricLogged()
DCaCertManagementTest.java39 import com.android.bedstead.metricsrecorder.EnterpriseMetricsRecorder;
185 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in installCaCert_logsEvent()
243 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in uninstallCaCert_logsEvent()
DNetworkLoggingTest.kt31 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>()
DCameraTest.java53 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()
DBlockUninstallTest.java54 import com.android.bedstead.metricsrecorder.EnterpriseMetricsRecorder;
187 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in setUninstallBlocked_logged()
DApplicationHiddenTest.java53 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()
DCrossProfileAppsTest.java71 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()
DPasswordTest.kt43 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>()
DPersistentPreferredActivitiesTest.java54 import com.android.bedstead.metricsrecorder.EnterpriseMetricsRecorder;
199 EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in addPersistentPreferredActivity_metricLogged()
DCrossProfileIntentFiltersTest.java47 import com.android.bedstead.metricsrecorder.EnterpriseMetricsRecorder;
221 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create(); in addCrossProfileIntentFilter_logsMetric()
DBugReportTest.kt32 import com.android.bedstead.metricsrecorder.EnterpriseMetricsRecorder in <lambda>()
216 EnterpriseMetricsRecorder.create().use { metrics -> in <lambda>()
DApplicationExemptionsTest.java61 import com.android.bedstead.metricsrecorder.EnterpriseMetricsRecorder;
328 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create(); in setApplicationExemptions_validExemptionSet_logsEvent()
DUserControlDisabledPackagesTest.java60 import com.android.bedstead.metricsrecorder.EnterpriseMetricsRecorder;
111 try (EnterpriseMetricsRecorder metrics = EnterpriseMetricsRecorder.create()) { in setUserControlDisabledPackages_verifyMetricIsLogged()
DAccountManagementTest.java59 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/
DEnterpriseMetricsRecorder.java56 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
DMetricQueryBuilder.java43 private final EnterpriseMetricsRecorder mRecorder;
60 MetricQueryBuilder(EnterpriseMetricsRecorder recorder) { in MetricQueryBuilder()

12