Searched refs:EventCallback (Results 1 – 2 of 2) sorted by relevance
311 private EventCallback mCallback = new EventCallback();313 private class EventCallback extends AudioTrack.StreamEventCallback { class in AudioTrackOffloadTest
4256 EventCallback callback = new EventCallback(); in testActivityStartFromRetrievedNotification_isBlocked()4266 return callback.waitFor(EventCallback.NOTIFICATION_CLICKED, /* timeoutMs */ 1); in testActivityStartFromRetrievedNotification_isBlocked()4270 callback.waitFor(EventCallback.ACTIVITY_STARTED, TIMEOUT_MS)); in testActivityStartFromRetrievedNotification_isBlocked()4277 EventCallback callback = new EventCallback(); in testActivityStartOnBroadcastTrampoline_isBlocked()4288 callback.waitFor(EventCallback.BROADCAST_RECEIVED, TIMEOUT_LONG_MS)); in testActivityStartOnBroadcastTrampoline_isBlocked()4290 callback.waitFor(EventCallback.ACTIVITY_STARTED, TIMEOUT_MS)); in testActivityStartOnBroadcastTrampoline_isBlocked()4297 EventCallback callback = new EventCallback(); in testActivityStartOnServiceTrampoline_isBlocked()4308 callback.waitFor(EventCallback.SERVICE_STARTED, TIMEOUT_MS)); in testActivityStartOnServiceTrampoline_isBlocked()4310 callback.waitFor(EventCallback.ACTIVITY_STARTED, TIMEOUT_MS)); in testActivityStartOnServiceTrampoline_isBlocked()4317 EventCallback callback = new EventCallback(); in testActivityStartOnBroadcastTrampoline_whenApi30_isAllowed()[all …]