Home
last modified time | relevance | path

Searched refs:queryPackage (Results 1 – 25 of 99) sorted by relevance

1234

/cts/common/device-side/bedstead/testapp/src/library/main/java/com/android/bedstead/testapp/
DTestAppEvents.kt132 ActivityCreatedEvent.queryPackage(mTestApp.packageName()).onUser(mTestApp.user())
135 ActivityDestroyedEvent.queryPackage(mTestApp.packageName()).onUser(mTestApp.user())
138 ActivityPausedEvent.queryPackage(mTestApp.packageName()).onUser(mTestApp.user())
141 ActivityRestartedEvent.queryPackage(mTestApp.packageName()).onUser(mTestApp.user())
144 ActivityResumedEvent.queryPackage(mTestApp.packageName()).onUser(mTestApp.user())
147 ActivityStartedEvent.queryPackage(mTestApp.packageName()).onUser(mTestApp.user())
150 ActivityStoppedEvent.queryPackage(mTestApp.packageName()).onUser(mTestApp.user())
153 BroadcastReceivedEvent.queryPackage(mTestApp.packageName()).onUser(mTestApp.user())
156 DeviceAdminBugreportFailedEvent.queryPackage(mTestApp.packageName()).onUser(mTestApp.user())
159 DeviceAdminBugreportSharedEvent.queryPackage(mTestApp.packageName()).onUser(mTestApp.user())
[all …]
/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/
DEventLogsTest.java86 CustomEvent.queryPackage(sContext.getPackageName()).poll(); in teardown()
90 CustomEvent.queryPackage(TEST_APP_PACKAGE_NAME).poll(); in teardown()
102 EventLogs<CustomEvent> eventLogs = CustomEvent.queryPackage(sContext.getPackageName()); in resetLogs_poll_doesNotReturnLogs()
112 EventLogs<CustomEvent> eventLogs = CustomEvent.queryPackage(TEST_APP_PACKAGE_NAME); in resetLogs_differentPackage_poll_doesNotReturnLogs()
118 EventLogs<CustomEvent> eventLogs = CustomEvent.queryPackage(sContext.getPackageName()) in poll_nothingLogged_returnsNull()
126 EventLogs<CustomEvent> eventLogs = CustomEvent.queryPackage(sContext.getPackageName()) in poll_loggedAfter_returnsNull()
135 EventLogs<CustomEvent> eventLogs = CustomEvent.queryPackage(TEST_APP_PACKAGE_NAME) in poll_differentPackage_nothingLogged_returnsNull()
143 EventLogs<CustomEvent> eventLogs = CustomEvent.queryPackage(TEST_APP_PACKAGE_NAME) in poll_differentPackage_loggedAfter_returnsNull()
155 EventLogs<CustomEvent> eventLogs = CustomEvent.queryPackage(sContext.getPackageName()) in poll_loggedOnTwoPackages_returnsEventFromQueriedPackage()
172 EventLogs<CustomEvent> eventLogs = CustomEvent.queryPackage(sContext.getPackageName()) in poll_alreadyLogged_returnsFirstEvent()
[all …]
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/events/activities/
DActivityEventsImpl.java41 return ActivityCreatedEvent.queryPackage(mComponentName.getPackageName()) in activityCreated()
49 return ActivityDestroyedEvent.queryPackage(mComponentName.getPackageName()) in activityDestroyed()
57 return ActivityPausedEvent.queryPackage(mComponentName.getPackageName()) in activityPaused()
65 return ActivityRestartedEvent.queryPackage(mComponentName.getPackageName()) in activityRestarted()
73 return ActivityResumedEvent.queryPackage(mComponentName.getPackageName()) in activityResumed()
81 return ActivityStartedEvent.queryPackage( in activityStarted()
90 return ActivityStoppedEvent.queryPackage( in activityStopped()
/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/premade/
DEventLibDeviceAdminReceiverTest.java108 DeviceAdminEnabledEvent.queryPackage(sContext.getPackageName()); in enableDeviceOwner_logsEnabledEvent()
124 DeviceAdminEnabledEvent.queryPackage(sContext.getPackageName()); in enableProfileOwner_logsEnabledEvent()
139 DeviceAdminDisableRequestedEvent.queryPackage(sContext.getPackageName()); in disableProfileOwner_logsDisableRequestedEvent()
150 DeviceAdminDisabledEvent.queryPackage(sContext.getPackageName()); in disableProfileOwner_logsDisabledEvent()
161 DeviceAdminPasswordChangedEvent.queryPackage(sContext.getPackageName()); in changePassword_logsPasswordChangedEvent()
172 DeviceAdminPasswordChangedEvent.queryPackage(sContext.getPackageName()); in changePasswordWithUserHandle_logsPasswordChangedEvent()
185 DeviceAdminPasswordFailedEvent.queryPackage(sContext.getPackageName()); in failPassword_logsPasswordFailedEvent()
196 DeviceAdminPasswordFailedEvent.queryPackage(sContext.getPackageName()); in failPasswordWithUserHandle_logsPasswordFailedEvent()
209 DeviceAdminPasswordSucceededEvent.queryPackage(sContext.getPackageName()); in succeedPassword_logsPasswordSucceededEvent()
220 DeviceAdminPasswordSucceededEvent.queryPackage(sContext.getPackageName()); in succeedPasswordWithUserHandle_logsPasswordSucceededEvent()
[all …]
DEventLibActivityTest.java71 .queryPackage(sContext.getPackageName()) in launchEventLibActivity_logsActivityCreatedEvent()
85 .queryPackage(sContext.getPackageName()) in launchEventLibActivity_withGeneratedActivityClass_logsActivityCreatedEventWithCorrectClassName()
102 .queryPackage(sContext.getPackageName()) in startEventLibActivity_logsActivityStartedEvent()
119 .queryPackage(sContext.getPackageName()) in startEventLibActivity_withGeneratedActivityClass_logsActivityStartedEventWithCorrectClassName()
136 .queryPackage(sContext.getPackageName()) in stopEventLibActivity_logsActivityStoppedEvent()
153 .queryPackage(sContext.getPackageName()) in stopEventLibActivity_withGeneratedActivityClass_logsActivityStoppedEventWithCorrectClassName()
170 .queryPackage(sContext.getPackageName()) in destroyEventLibActivity_logsActivityDestroyedEvent()
187 .queryPackage(sContext.getPackageName()) in destroyEventLibActivity_withGeneratedActivityClass_logsActivityDestroyedEventWithCorrectClassName()
206 .queryPackage(sContext.getPackageName()) in pauseEventLibActivity_logsActivityPausedEvent()
225 .queryPackage(sContext.getPackageName()) in pauseEventLibActivity_withGeneratedActivityClass_logsActivityPausedEventWithCorrectClassName()
[all …]
/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/events/
DCustomEventTest.java57 EventLogs<CustomEvent> eventLogs = CustomEvent.queryPackage(sContext.getPackageName()) in whereTag_works()
72 EventLogs<CustomEvent> eventLogs = CustomEvent.queryPackage(sContext.getPackageName()) in whereTag_skipsNonMatching()
84 EventLogs<CustomEvent> eventLogs = CustomEvent.queryPackage(sContext.getPackageName()) in whereData_works()
99 EventLogs<CustomEvent> eventLogs = CustomEvent.queryPackage(sContext.getPackageName()) in whereData_skipsNonMatching()
107 CustomEvent.CustomEventQuery customEvent = CustomEvent.queryPackage("PACKAGE"); in describeQuery_onlyIncludingPackage_isCorrect()
115 CustomEvent.CustomEventQuery customEvent = CustomEvent.queryPackage("PACKAGE") in describeQuery_includesTag_isCorrect()
124 CustomEvent.CustomEventQuery customEvent = CustomEvent.queryPackage("PACKAGE") in describeQuery_includesData_isCorrect()
133 CustomEvent.CustomEventQuery customEvent = CustomEvent.queryPackage("PACKAGE") in describeQuery_includesAllOptions_isCorrect()
/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/events/deviceadminreceivers/
DDeviceAdminChoosePrivateKeyAliasEventTest.java71 DeviceAdminChoosePrivateKeyAliasEvent.queryPackage(sContext.getPackageName()) in whereIntent_works()
88 DeviceAdminChoosePrivateKeyAliasEvent.queryPackage(sContext.getPackageName()) in whereIntent_skipsNonMatching()
102 DeviceAdminChoosePrivateKeyAliasEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_customValueOnLogger_works()
122 DeviceAdminChoosePrivateKeyAliasEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_customValueOnLogger_skipsNonMatching()
136 DeviceAdminChoosePrivateKeyAliasEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_defaultValue_works()
155 DeviceAdminChoosePrivateKeyAliasEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_defaultValue_skipsNonMatching()
170 DeviceAdminChoosePrivateKeyAliasEvent.queryPackage(sContext.getPackageName()) in whereUid_works()
186 DeviceAdminChoosePrivateKeyAliasEvent.queryPackage(sContext.getPackageName()) in whereUid_skipsNonMatching()
199 DeviceAdminChoosePrivateKeyAliasEvent.queryPackage(sContext.getPackageName()) in whereUri_works()
215 DeviceAdminChoosePrivateKeyAliasEvent.queryPackage(sContext.getPackageName()) in whereUri_skipsNonMatching()
[all …]
DDeviceAdminNetworkLogsAvailableEventTest.java68 DeviceAdminNetworkLogsAvailableEvent.queryPackage(sContext.getPackageName()) in whereIntent_works()
85 DeviceAdminNetworkLogsAvailableEvent.queryPackage(sContext.getPackageName()) in whereIntent_skipsNonMatching()
98 DeviceAdminNetworkLogsAvailableEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_customValueOnLogger_works()
118 DeviceAdminNetworkLogsAvailableEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_customValueOnLogger_skipsNonMatching()
132 DeviceAdminNetworkLogsAvailableEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_defaultValue_works()
151 DeviceAdminNetworkLogsAvailableEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_defaultValue_skipsNonMatching()
165 DeviceAdminNetworkLogsAvailableEvent.queryPackage(sContext.getPackageName()) in whereBatchToken_works()
179 DeviceAdminNetworkLogsAvailableEvent.queryPackage(sContext.getPackageName()) in whereBatchToken_skipsNonMatching()
191 DeviceAdminNetworkLogsAvailableEvent.queryPackage(sContext.getPackageName()) in whereNetworkLogsCount_works()
205 DeviceAdminNetworkLogsAvailableEvent.queryPackage(sContext.getPackageName()) in whereNetworkLogsCount_skipsNonMatching()
DDeviceAdminOperationSafetyStateChangedEventTest.java65 DeviceAdminOperationSafetyStateChangedEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_customValueOnLogger_works()
85 DeviceAdminOperationSafetyStateChangedEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_customValueOnLogger_skipsNonMatching()
99 DeviceAdminOperationSafetyStateChangedEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_defaultValue_works()
118 DeviceAdminOperationSafetyStateChangedEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_defaultValue_skipsNonMatching()
132 DeviceAdminOperationSafetyStateChangedEvent.queryPackage(sContext.getPackageName()) in whereReason_works()
146 DeviceAdminOperationSafetyStateChangedEvent.queryPackage(sContext.getPackageName()) in whereReason_skipsNonMatching()
158 DeviceAdminOperationSafetyStateChangedEvent.queryPackage(sContext.getPackageName()) in whereIsSafe_works()
172 DeviceAdminOperationSafetyStateChangedEvent.queryPackage(sContext.getPackageName()) in whereIsSafe_skipsNonMatching()
DDeviceAdminPasswordFailedEventTest.java66 DeviceAdminPasswordFailedEvent.queryPackage(sContext.getPackageName()) in whereIntent_works()
82 DeviceAdminPasswordFailedEvent.queryPackage(sContext.getPackageName()) in whereIntent_skipsNonMatching()
95 DeviceAdminPasswordFailedEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_customValueOnLogger_works()
113 DeviceAdminPasswordFailedEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_customValueOnLogger_skipsNonMatching()
126 DeviceAdminPasswordFailedEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_defaultValue_works()
143 DeviceAdminPasswordFailedEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_defaultValue_skipsNonMatching()
158 DeviceAdminPasswordFailedEvent.queryPackage(sContext.getPackageName()) in whereUserHandle_works()
174 DeviceAdminPasswordFailedEvent.queryPackage(sContext.getPackageName()) in whereUserHandle_skipsNonMatching()
DDeviceAdminBugreportFailedEventTest.java66 DeviceAdminBugreportFailedEvent.queryPackage(sContext.getPackageName()) in whereIntent_works()
83 DeviceAdminBugreportFailedEvent.queryPackage(sContext.getPackageName()) in whereIntent_skipsNonMatching()
97 DeviceAdminBugreportFailedEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_customValueOnLogger_works()
117 DeviceAdminBugreportFailedEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_customValueOnLogger_skipsNonMatching()
131 DeviceAdminBugreportFailedEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_defaultValue_works()
150 DeviceAdminBugreportFailedEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_defaultValue_skipsNonMatching()
164 DeviceAdminBugreportFailedEvent.queryPackage(sContext.getPackageName()) in whereFailureCode_works()
178 DeviceAdminBugreportFailedEvent.queryPackage(sContext.getPackageName()) in whereFailureCode_skipsNonMatching()
DDeviceAdminLockTaskModeEnteringEventTest.java66 DeviceAdminLockTaskModeEnteringEvent.queryPackage(sContext.getPackageName()) in whereIntent_works()
83 DeviceAdminLockTaskModeEnteringEvent.queryPackage(sContext.getPackageName()) in whereIntent_skipsNonMatching()
96 DeviceAdminLockTaskModeEnteringEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_customValueOnLogger_works()
114 DeviceAdminLockTaskModeEnteringEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_customValueOnLogger_skipsNonMatching()
128 DeviceAdminLockTaskModeEnteringEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_defaultValue_works()
145 DeviceAdminLockTaskModeEnteringEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_defaultValue_skipsNonMatching()
159 DeviceAdminLockTaskModeEnteringEvent.queryPackage(sContext.getPackageName()) in wherePkg_works()
174 DeviceAdminLockTaskModeEnteringEvent.queryPackage(sContext.getPackageName()) in wherePkg_skipsNonMatching()
DDeviceAdminBugreportSharedEventTest.java66 DeviceAdminBugreportSharedEvent.queryPackage(sContext.getPackageName()) in whereIntent_works()
83 DeviceAdminBugreportSharedEvent.queryPackage(sContext.getPackageName()) in whereIntent_skipsNonMatching()
97 DeviceAdminBugreportSharedEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_customValueOnLogger_works()
117 DeviceAdminBugreportSharedEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_customValueOnLogger_skipsNonMatching()
131 DeviceAdminBugreportSharedEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_defaultValue_works()
150 DeviceAdminBugreportSharedEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_defaultValue_skipsNonMatching()
164 DeviceAdminBugreportSharedEvent.queryPackage(sContext.getPackageName()) in whereBugreportHash_works()
178 DeviceAdminBugreportSharedEvent.queryPackage(sContext.getPackageName()) in whereBugreportHash_skipsNonMatching()
DDeviceAdminUserRemovedEventTest.java66 DeviceAdminUserRemovedEvent.queryPackage(sContext.getPackageName()) in whereIntent_works()
82 DeviceAdminUserRemovedEvent.queryPackage(sContext.getPackageName()) in whereIntent_skipsNonMatching()
95 DeviceAdminUserRemovedEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_customValueOnLogger_works()
113 DeviceAdminUserRemovedEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_customValueOnLogger_skipsNonMatching()
126 DeviceAdminUserRemovedEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_defaultValue_works()
143 DeviceAdminUserRemovedEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_defaultValue_skipsNonMatching()
158 DeviceAdminUserRemovedEvent.queryPackage(sContext.getPackageName()) in whereRemovedUser_works()
174 DeviceAdminUserRemovedEvent.queryPackage(sContext.getPackageName()) in whereRemovedUser_skipsNonMatching()
DDeviceAdminUserStartedEventTest.java66 DeviceAdminUserStartedEvent.queryPackage(sContext.getPackageName()) in whereIntent_works()
82 DeviceAdminUserStartedEvent.queryPackage(sContext.getPackageName()) in whereIntent_skipsNonMatching()
95 DeviceAdminUserStartedEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_customValueOnLogger_works()
113 DeviceAdminUserStartedEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_customValueOnLogger_skipsNonMatching()
126 DeviceAdminUserStartedEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_defaultValue_works()
143 DeviceAdminUserStartedEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_defaultValue_skipsNonMatching()
158 DeviceAdminUserStartedEvent.queryPackage(sContext.getPackageName()) in whereStartedUser_works()
174 DeviceAdminUserStartedEvent.queryPackage(sContext.getPackageName()) in whereStartedUser_skipsNonMatching()
DDeviceAdminUserAddedEventTest.java67 DeviceAdminUserAddedEvent.queryPackage(sContext.getPackageName()) in whereIntent_works()
84 DeviceAdminUserAddedEvent.queryPackage(sContext.getPackageName()) in whereIntent_skipsNonMatching()
97 DeviceAdminUserAddedEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_customValueOnLogger_works()
115 DeviceAdminUserAddedEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_customValueOnLogger_skipsNonMatching()
129 DeviceAdminUserAddedEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_defaultValue_works()
146 DeviceAdminUserAddedEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_defaultValue_skipsNonMatching()
161 DeviceAdminUserAddedEvent.queryPackage(sContext.getPackageName()) in whereAddedUser_works()
177 DeviceAdminUserAddedEvent.queryPackage(sContext.getPackageName()) in whereAddedUser_skipsNonMatching()
DDeviceAdminSystemUpdatePendingEventTest.java67 DeviceAdminSystemUpdatePendingEvent.queryPackage(sContext.getPackageName()) in whereIntent_works()
85 DeviceAdminSystemUpdatePendingEvent.queryPackage(sContext.getPackageName()) in whereIntent_skipsNonMatching()
99 DeviceAdminSystemUpdatePendingEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_customValueOnLogger_works()
119 DeviceAdminSystemUpdatePendingEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_customValueOnLogger_skipsNonMatching()
134 DeviceAdminSystemUpdatePendingEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_defaultValue_works()
153 DeviceAdminSystemUpdatePendingEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_defaultValue_skipsNonMatching()
169 DeviceAdminSystemUpdatePendingEvent.queryPackage(sContext.getPackageName()) in whereReceivedTime_works()
187 DeviceAdminSystemUpdatePendingEvent.queryPackage(sContext.getPackageName()) in whereReceivedTime_skipsNonMatching()
DDeviceAdminPasswordChangedEventTest.java66 DeviceAdminPasswordChangedEvent.queryPackage(sContext.getPackageName()) in whereIntent_works()
82 DeviceAdminPasswordChangedEvent.queryPackage(sContext.getPackageName()) in whereIntent_skipsNonMatching()
95 DeviceAdminPasswordChangedEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_customValueOnLogger_works()
113 DeviceAdminPasswordChangedEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_customValueOnLogger_skipsNonMatching()
126 DeviceAdminPasswordChangedEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_defaultValue_works()
143 DeviceAdminPasswordChangedEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_defaultValue_skipsNonMatching()
158 DeviceAdminPasswordChangedEvent.queryPackage(sContext.getPackageName()) in whereUserHandle_works()
174 DeviceAdminPasswordChangedEvent.queryPackage(sContext.getPackageName()) in whereUserHandle_skipsNonMatching()
DDeviceAdminUserSwitchedEventTest.java66 DeviceAdminUserSwitchedEvent.queryPackage(sContext.getPackageName()) in whereIntent_works()
82 DeviceAdminUserSwitchedEvent.queryPackage(sContext.getPackageName()) in whereIntent_skipsNonMatching()
95 DeviceAdminUserSwitchedEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_customValueOnLogger_works()
113 DeviceAdminUserSwitchedEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_customValueOnLogger_skipsNonMatching()
126 DeviceAdminUserSwitchedEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_defaultValue_works()
143 DeviceAdminUserSwitchedEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_defaultValue_skipsNonMatching()
158 DeviceAdminUserSwitchedEvent.queryPackage(sContext.getPackageName()) in whereSwitchedUser_works()
174 DeviceAdminUserSwitchedEvent.queryPackage(sContext.getPackageName()) in whereSwitchedUser_skipsNonMatching()
DDeviceAdminPasswordSucceededEventTest.java66 DeviceAdminPasswordSucceededEvent.queryPackage(sContext.getPackageName()) in whereIntent_works()
82 DeviceAdminPasswordSucceededEvent.queryPackage(sContext.getPackageName()) in whereIntent_skipsNonMatching()
95 DeviceAdminPasswordSucceededEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_customValueOnLogger_works()
113 DeviceAdminPasswordSucceededEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_customValueOnLogger_skipsNonMatching()
126 DeviceAdminPasswordSucceededEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_defaultValue_works()
143 DeviceAdminPasswordSucceededEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_defaultValue_skipsNonMatching()
158 DeviceAdminPasswordSucceededEvent.queryPackage(sContext.getPackageName()) in whereUserHandle_works()
174 DeviceAdminPasswordSucceededEvent.queryPackage(sContext.getPackageName()) in whereUserHandle_skipsNonMatching()
DDeviceAdminUserStoppedEventTest.java66 DeviceAdminUserStoppedEvent.queryPackage(sContext.getPackageName()) in whereIntent_works()
82 DeviceAdminUserStoppedEvent.queryPackage(sContext.getPackageName()) in whereIntent_skipsNonMatching()
95 DeviceAdminUserStoppedEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_customValueOnLogger_works()
113 DeviceAdminUserStoppedEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_customValueOnLogger_skipsNonMatching()
126 DeviceAdminUserStoppedEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_defaultValue_works()
143 DeviceAdminUserStoppedEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_defaultValue_skipsNonMatching()
158 DeviceAdminUserStoppedEvent.queryPackage(sContext.getPackageName()) in whereStoppedUser_works()
174 DeviceAdminUserStoppedEvent.queryPackage(sContext.getPackageName()) in whereStoppedUser_skipsNonMatching()
DDeviceAdminPasswordExpiringEventTest.java66 DeviceAdminPasswordExpiringEvent.queryPackage(sContext.getPackageName()) in whereIntent_works()
82 DeviceAdminPasswordExpiringEvent.queryPackage(sContext.getPackageName()) in whereIntent_skipsNonMatching()
95 DeviceAdminPasswordExpiringEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_customValueOnLogger_works()
113 DeviceAdminPasswordExpiringEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_customValueOnLogger_skipsNonMatching()
126 DeviceAdminPasswordExpiringEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_defaultValue_works()
143 DeviceAdminPasswordExpiringEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_defaultValue_skipsNonMatching()
158 DeviceAdminPasswordExpiringEvent.queryPackage(sContext.getPackageName()) in whereUserHandle_works()
174 DeviceAdminPasswordExpiringEvent.queryPackage(sContext.getPackageName()) in whereUserHandle_skipsNonMatching()
DDeviceAdminTransferAffiliatedProfileOwnershipCompleteEventTest.java64 DeviceAdminTransferAffiliatedProfileOwnershipCompleteEvent.queryPackage( in whereDeviceAdminReceiver_customValueOnLogger_works()
86 .queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_customValueOnLogger_skipsNonMatching()
101 .queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_defaultValue_works()
121 .queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_defaultValue_skipsNonMatching()
137 .queryPackage(sContext.getPackageName()) in whereUser_works()
154 .queryPackage(sContext.getPackageName()) in whereUserHandle_skipsNonMatching()
/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/events/delegatedadminreceivers/
DDelegatedAdminNetworkLogsAvailableEventTest.java69 DelegatedAdminNetworkLogsAvailableEvent.queryPackage(sContext.getPackageName()) in whereIntent_works()
86 DelegatedAdminNetworkLogsAvailableEvent.queryPackage(sContext.getPackageName()) in whereIntent_skipsNonMatching()
99 DelegatedAdminNetworkLogsAvailableEvent.queryPackage(sContext.getPackageName()) in whereDelegatedAdminReceiver_customValueOnLogger_works()
119 DelegatedAdminNetworkLogsAvailableEvent.queryPackage(sContext.getPackageName()) in whereDelegatedAdminReceiver_customValueOnLogger_skipsNonMatching()
133 DelegatedAdminNetworkLogsAvailableEvent.queryPackage(sContext.getPackageName()) in whereDelegatedAdminReceiver_defaultValue_works()
152 DelegatedAdminNetworkLogsAvailableEvent.queryPackage(sContext.getPackageName()) in whereDelegatedAdminReceiver_defaultValue_skipsNonMatching()
166 DelegatedAdminNetworkLogsAvailableEvent.queryPackage(sContext.getPackageName()) in whereBatchToken_works()
180 DelegatedAdminNetworkLogsAvailableEvent.queryPackage(sContext.getPackageName()) in whereBatchToken_skipsNonMatching()
192 DelegatedAdminNetworkLogsAvailableEvent.queryPackage(sContext.getPackageName()) in whereNetworkLogsCount_works()
206 DelegatedAdminNetworkLogsAvailableEvent.queryPackage(sContext.getPackageName()) in whereNetworkLogsCount_skipsNonMatching()
/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/events/activities/
DActivityCreatedEventTest.java67 ActivityCreatedEvent.queryPackage(sContext.getPackageName()) in whereSavedInstanceState_works()
88 ActivityCreatedEvent.queryPackage(sContext.getPackageName()) in whereSavedInstanceState_skipsNonMatching()
104 ActivityCreatedEvent.queryPackage(sContext.getPackageName()) in wherePersistentState_works()
126 ActivityCreatedEvent.queryPackage(sContext.getPackageName()) in wherePersistentState_skipsNonMatching()
140 ActivityCreatedEvent.queryPackage(sContext.getPackageName()) in whereActivity_works()
156 ActivityCreatedEvent.queryPackage(sContext.getPackageName()) in whereActivity_skipsNonMatching()
170 ActivityCreatedEvent.queryPackage(sContext.getPackageName()) in whereTaskId_works()
188 ActivityCreatedEvent.queryPackage(sContext.getPackageName()) in whereTaskId_skipsNonMatching()

1234