Home
last modified time | relevance | path

Searched refs:monitor (Results 1 – 25 of 46) sorted by relevance

12

/cts/hostsidetests/backup/RestoreSessionTest/src/android/cts/backup/restoresessionapp/
DRestoreSessionTest.java157 testRestorePackagesInternal((BackupManagerMonitor monitor) -> { in testRestorePackage() argument
171 testRestorePackagesInternal((BackupManagerMonitor monitor) -> { in testRestorePackageWithMonitorParam() argument
175 monitor); in testRestorePackageWithMonitorParam() local
186 testRestorePackagesInternal((BackupManagerMonitor monitor) -> { in testRestorePackages() argument
201 testRestorePackagesInternal((BackupManagerMonitor monitor) -> { in testRestorePackagesWithMonitorParam() argument
206 monitor); in testRestorePackagesWithMonitorParam()
232 private void loadAvailableRestoreSets(@Nullable BackupManagerMonitor monitor) in loadAvailableRestoreSets() argument
236 BackupManager.SUCCESS, monitor == null in loadAvailableRestoreSets()
238 : mRestoreSession.getAvailableRestoreSets(mRestoreObserver, monitor)); in loadAvailableRestoreSets()
294 void runRestore(BackupManagerMonitor monitor) throws InterruptedException; in runRestore() argument
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/monitor_enter/d/
DT_monitor_enter_2.smali38 monitor-enter v8
40 monitor-enter v8
46 monitor-exit v8
63 monitor-exit v8
74 monitor-exit v8
DT_monitor_enter_1.smali34 monitor-enter v7
47 monitor-exit v7
53 monitor-exit v7
58 monitor-exit v7
DT_monitor_enter_3.smali31 monitor-enter v5
32 monitor-exit v5
/cts/tests/tests/display/src/android/display/cts/
DTestBase.java46 Instrumentation.ActivityMonitor monitor = in launchScreenOnActivity() local
48 InstrumentationRegistry.getInstrumentation().addMonitor(monitor); in launchScreenOnActivity()
50 mScreenOnActivity = monitor.waitForActivity(); in launchScreenOnActivity()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/monitor_exit/d/
DT_monitor_exit_3.smali30 monitor-enter v3
34 monitor-exit v1
39 monitor-exit v3
DT_monitor_exit_5.smali30 monitor-enter v3
32 monitor-exit v3
DT_monitor_exit_8.smali30 monitor-enter v3
32 monitor-exit v0
DT_monitor_exit_4.smali30 monitor-enter v3
31 monitor-exit v4
DT_monitor_exit_6.smali34 monitor-enter p0
38 monitor-exit p0
DT_monitor_exit_7.smali34 monitor-enter p0
38 monitor-exit v0
DT_monitor_exit_1.smali37 monitor-enter v2
38 monitor-exit v3
/cts/tests/tests/os/src/android/os/health/cts/
DPowerMonitorsTest.java108 for (PowerMonitor monitor : selectedMonitors) { in testGetPowerMonitorsAsync()
109 assertThat(mReadings.getConsumedEnergy(monitor)).isAtLeast(0); in testGetPowerMonitorsAsync()
110 assertThat(mReadings.getTimestampMillis(monitor)).isGreaterThan(0); in testGetPowerMonitorsAsync()
/cts/tests/tests/virtualdevice/applaunch/src/android/virtualdevice/cts/applaunch/
DDeviceAssociationTest.java254 ActivityMonitor monitor = new ActivityMonitor(EmptyActivity.class.getName(), in applicationContext_recreateActivity_returnsDeviceIdOfActivity() local
256 getInstrumentation().addMonitor(monitor); in applicationContext_recreateActivity_returnsDeviceIdOfActivity()
259 monitor.waitForActivity(); in applicationContext_recreateActivity_returnsDeviceIdOfActivity()
260 getInstrumentation().removeMonitor(monitor); in applicationContext_recreateActivity_returnsDeviceIdOfActivity()
269 ActivityMonitor monitor = new ActivityMonitor(EmptyActivity.class.getName(), in applicationContext_recreateFirstActivity_returnsDeviceOfLastCreatedActivity() local
271 getInstrumentation().addMonitor(monitor); in applicationContext_recreateFirstActivity_returnsDeviceOfLastCreatedActivity()
274 monitor.waitForActivity(); in applicationContext_recreateFirstActivity_returnsDeviceOfLastCreatedActivity()
275 getInstrumentation().removeMonitor(monitor); in applicationContext_recreateFirstActivity_returnsDeviceOfLastCreatedActivity()
/cts/tests/backup/src/android/backup/cts/
DBackupRestoreEventLoggerTest.java122 private void assertLoggingResultsAreCorrect(TestBackupManagerMonitor monitor) { in assertLoggingResultsAreCorrect() argument
123 assertThat(monitor.mAgentBundle).isNotNull(); in assertLoggingResultsAreCorrect()
124 List<DataTypeResult> dataTypeList = monitor.mAgentBundle.getParcelableArrayList( in assertLoggingResultsAreCorrect()
/cts/tests/tests/notification/src/android/app/notification/current/cts/
DNotificationManagerBubbleTest.java252 Instrumentation.ActivityMonitor monitor = in startSendBubbleActivity() local
254 InstrumentationRegistry.getInstrumentation().addMonitor(monitor); in startSendBubbleActivity()
261 SendBubbleActivity sendBubbleActivity = (SendBubbleActivity) monitor.waitForActivity(); in startSendBubbleActivity()
274 Instrumentation.ActivityMonitor monitor = in startBubbledActivityMonitor() local
276 InstrumentationRegistry.getInstrumentation().addMonitor(monitor); in startBubbledActivityMonitor()
277 return monitor; in startBubbledActivityMonitor()
288 Instrumentation.ActivityMonitor monitor = startBubbledActivityMonitor(); in startBubbleActivity() local
300 BubbledActivity bubbledActivity = (BubbledActivity) monitor.waitForActivity(); in startBubbleActivity()
565 Instrumentation.ActivityMonitor monitor = startBubbledActivityMonitor(); in testNotificationManagerBubble_checkActivityFlagsDocumentLaunchMode() local
573 BubbledActivity activity = (BubbledActivity) monitor.waitForActivityWithTimeout( in testNotificationManagerBubble_checkActivityFlagsDocumentLaunchMode()
[all …]
/cts/tests/app/app/src/android/app/stubs/
DIHeartbeat.aidl24 void monitor(in Messenger messenger); in monitor() method
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/opc_throw/d/
DT_opc_throw_5.smali38 monitor-enter v2
40 monitor-exit p0
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/return_void/d/
DT_return_void_3.smali36 monitor-enter v0
38 monitor-exit p0
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/return_wide/d/
DT_return_wide_3.smali36 monitor-enter v2
38 monitor-exit p0
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/opc_return/d/
DT_opc_return_3.smali36 monitor-enter v2
38 monitor-exit p0
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/return_object/d/
DT_return_object_8.smali36 monitor-enter v2
38 monitor-exit p0
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DNotificationTest.java273 AnrMonitor monitor = AnrMonitor.start(InstrumentationRegistry.getInstrumentation(), in testNotification_userInitiated_anrWhenNotProvided() argument
292 monitor.waitForAnrAndReturnUptime(30_000); in testNotification_userInitiated_anrWhenNotProvided()
303 AnrMonitor monitor = AnrMonitor.start(InstrumentationRegistry.getInstrumentation(), in testNotification_userInitiated_noAnrWhenProvided() argument
322 monitor.assertNoAnr(25_000); in testNotification_userInitiated_noAnrWhenProvided()
333 AnrMonitor monitor = AnrMonitor.start(InstrumentationRegistry.getInstrumentation(), in testNotification_regular_noAnrWhenNotProvided() argument
348 monitor.assertNoAnr(25_000); in testNotification_regular_noAnrWhenNotProvided()
/cts/tests/tests/security/src/android/security/cts/
DPackageInstallerTest.java141 final ActivityMonitor monitor = instrumentation.addMonitor( in commitSessionInBackground_withActivityIntentSender_doesNotLaunchActivity() local
148 final Activity activity = monitor.waitForActivityWithTimeout(DEFAULT_TIMEOUT_MS); in commitSessionInBackground_withActivityIntentSender_doesNotLaunchActivity()
154 instrumentation.removeMonitor(monitor); in commitSessionInBackground_withActivityIntentSender_doesNotLaunchActivity()
/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/
DLaunchRunner.java261 Instrumentation.ActivityMonitor monitor = getInstrumentation() in launchFromContext() local
265 Activity activity = monitor.waitForActivityWithTimeout(ACTIVITY_LAUNCH_TIMEOUT); in launchFromContext()
277 Instrumentation.ActivityMonitor monitor = getInstrumentation() in launch() local
286 Activity activity = monitor.waitForActivityWithTimeout(ACTIVITY_LAUNCH_TIMEOUT); in launch()

12