Home
last modified time | relevance | path

Searched refs:eventOccurred (Results 1 – 22 of 22) sorted by relevance

/cts/common/device-side/bedstead/testapp/src/test/java/com/android/bedstead/testapp/
DTestAppAppComponentFactoryTest.java79 .isEqualTo(DECLARED_ACTIVITY_WITH_NO_CLASS)).eventOccurred(); in startActivity_activityDoesNotExist_startsLoggingActivity()
92 .isEqualTo(GENERATED_RECEIVER_CLASS_NAME)).eventOccurred(); in sendBroadcast_receiverDoesNotExist_launchesBroadcastReceiver()
105 .isEqualTo(GENERATED_SERVICE_CLASS_NAME)).eventOccurred(); in startService_serviceDoesNotExist_startsLoggingService()
DTestAppInstanceTest.java200 .eventOccurred(); in registerReceiver_receivesBroadcast()
215 .eventOccurred(); in registerReceiver_multipleIntentFilters_receivesAllMatchingBroadcasts()
218 .eventOccurred(); in registerReceiver_multipleIntentFilters_receivesAllMatchingBroadcasts()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DPendingSystemUpdateTest.kt62 ).eventOccurred() in notifyPendingSystemUpdate_unknownIfSecurityPatch_dpcReceivesCallback()
78 ).eventOccurred() in notifyPendingSystemUpdate_forSecurityPatch_dpcReceivesCallback()
95 ).eventOccurred() in notifyPendingSystemUpdate_forNonSecurityPatch_dpcReceivesCallback()
DUserTest.kt258 .eventOccurred() in <lambda>()
272 .eventOccurred() in <lambda>()
287 .eventOccurred() in <lambda>()
302 .eventOccurred() in <lambda>()
315 ).eventOccurred() in <lambda>()
DDevicePolicyManagementRoleHolderTest.java146 .eventOccurred(); in profileRemoved_roleHolderReceivesBroadcast()
163 .eventOccurred(); in profileEntersQuietMode_roleHolderReceivesBroadcast()
183 .eventOccurred(); in profileStarted_roleHolderReceivesBroadcast()
DActivityTest.java83 assertThat(activityReference.events().activityStarted()).eventOccurred(); in startActivityForResultAsUser_differentUser_startedSuccessfully()
163 assertThat(activityReference.events().activityStarted()).eventOccurred(); in startActivityAsUser_differentUser_startedSuccessfully()
DBugReportTest.kt79 assertThat(deviceState.dpc().events().bugReportShared()).eventOccurred() in <lambda>()
100 assertThat(deviceState.dpc().events().bugReportSharingDeclined()).eventOccurred() in <lambda>()
DManagedProfileTest.java74 assertThat(activity.events().activityCreated()).eventOccurred(); in startActivityInManagedProfile_activityStarts()
DCrossProfileAppsTest.java313 ).eventOccurred(); in startMainActivity_launches()
479 ).eventOccurred(); in startActivity_byIntent_withPermission_startsActivity()
514 ).eventOccurred(); in startActivity_byComponent_withPermission_startsActivity()
536 ).eventOccurred(); in startActivity_byIntent_withOptionsBundle_startsActivity()
557 ).eventOccurred(); in startActivity_byIntent_notExported_startsActivity()
1045 .eventOccurred(); in setCrossProfilePackages_packageRemoved_packageReceivesBroadcast()
1048 .eventOccurred(); in setCrossProfilePackages_packageRemoved_packageReceivesBroadcast()
DCrossProfileIntentFiltersTest.java179 ).get().events().activityStarted()).eventOccurred(); in startActivity_intentFilterIsSet_startsAppInOtherUser()
208 ).get().events().activityStarted()).eventOccurred(); in startActivity_intentFilterIsSet_startsAppInOwnUser()
DCheckFinancedTest.java159 .eventOccurred(); in deviceFinancingStateChanged_roleAdded_ReceivesBroadcast()
DLockTaskTest.kt559 assertThat(activity.activity().events().activityDestroyed()).eventOccurred() in <lambda>()
589 assertThat(activity.activity().events().activityDestroyed()).eventOccurred() in <lambda>()
634 .activityDestroyed()).eventOccurred() in <lambda>()
676 assertThat(secondActivity.events().activityStarted()).eventOccurred() in <lambda>()
1055 ).eventOccurred() in <lambda>()
DApplicationRestrictionsTest.java307 ACTION_APPLICATION_RESTRICTIONS_CHANGED)).eventOccurred(); in setApplicationRestrictions_restrictionsChangedBroadcastIsReceived()
481 ACTION_APPLICATION_RESTRICTIONS_CHANGED)).eventOccurred(); in roleHolderSetApplicationRestrictionsOnParent_successWithBroadcastSent()
DTransferOwnershipTest.kt284 … .whereBundle().key(KEY).booleanValue().isEqualTo(bundle.getBoolean(KEY))).eventOccurred() in <lambda>()
DProfileOwnerTest.kt301 EventLogsSubject.assertThat(it.events().deviceAdminEnabled()).eventOccurred() in <lambda>()
DSecurityLoggingTest.kt168 assertThat(dpc.events().securityLogsAvailable()).eventOccurred() in <lambda>()
664 assertThat(dpc.events().securityLogsAvailable()).eventOccurred() in <lambda>()
DDeviceOwnerTest.kt444 assertThat(it.events().deviceAdminEnabled()).eventOccurred() in <lambda>()
DDelegationScopesTest.java478 .eventOccurred(); in setDelegatedScopes_delegatedPackageReceivesScopesFromBroadcast()
DProvisioningTest.kt138 assertThat(deviceState.dpc().events().profileProvisioningComplete()).eventOccurred() in <lambda>()
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/truth/
DEventLogsSubject.java59 public E eventOccurred() { in eventOccurred() method in EventLogsSubject
/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/truth/
DEventLogsSubjectTest.java57 assertThat(eventLogs).eventOccurred(); in eventOccurred_eventDidOccur_passes()
/cts/tests/devicepolicy/telephony/src/android/devicepolicy/cts/telephony/
DWorkProfileTelephonyTest.java188 Activity.RESULT_OK)).eventOccurred(); in sendTextMessage_fromWorkProfile_allManagedSubscriptions_smsSentSuccessfully()
247 .eventOccurred(); in sendTextMessage_fromPersonalProfile_allManagedSubscriptions_errorUserNotAllowed()
385 InCallService.SERVICE_INTERFACE)).eventOccurred(); in placeCall_fromWorkProfile_allManagedSubscriptions_works()