HomeSort by relevance Sort by last modified time
    Searched refs:SessionCallback (Results 1 - 8 of 8) sorted by null

  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowPackageInstallerTest.java 44 PackageInstaller.SessionCallback mockCallback = mock(PackageInstaller.SessionCallback.class);
109 PackageInstaller.SessionCallback mockCallback = mock(PackageInstaller.SessionCallback.class);
128 PackageInstaller.SessionCallback mockCallback = mock(PackageInstaller.SessionCallback.class);
  /cts/tests/tests/media/src/android/media/cts/
MediaSession2ServiceTest.java 148 * {@link MediaSession2.SessionCallback#onConnect(MediaSession2, ControllerInfo)}.
157 .setSessionCallback(sHandlerExecutor, new SessionCallback() {
188 // MediaSession2.SessionCallback#onConnect() should be called.
317 .setSessionCallback(sHandlerExecutor, new SessionCallback())
336 .setSessionCallback(sHandlerExecutor, new SessionCallback())
430 .setSessionCallback(sHandlerExecutor, new SessionCallback())
434 private static class SessionCallback extends MediaSession2.SessionCallback {
StubMediaSession2Service.java 109 .setSessionCallback(sHandlerExecutor, new MediaSession2.SessionCallback() {
MediaController2Test.java 199 .setSessionCallback(sHandlerExecutor, new MediaSession2.SessionCallback() {
396 class Session2Callback extends MediaSession2.SessionCallback {
MediaSessionManagerTest.java 290 Session2Callback sessionCallback = new Session2Callback();
292 .setSessionCallback(handlerExecutor, sessionCallback)
294 assertTrue(sessionCallback.mCountDownLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS));
364 Session2Callback sessionCallback = new Session2Callback();
366 .setSessionCallback(handlerExecutor, sessionCallback)
470 private class Session2Callback extends MediaSession2.SessionCallback {
MediaSession2Test.java 236 Session2Callback sessionCallback = new Session2Callback();
238 .setSessionCallback(sHandlerExecutor, sessionCallback)
250 if (Objects.equals(sessionCallback.mController, controllerInfo)) {
262 Session2Callback sessionCallback = new Session2Callback();
264 .setSessionCallback(sHandlerExecutor, sessionCallback)
273 assertTrue(sessionCallback.awaitOnDisconnect(WAIT_TIME_MS));
277 assertNotEquals(sessionCallback.mController, controllerInfo);
311 Session2Callback sessionCallback = new Session2Callback();
320 .setSessionCallback(sHandlerExecutor, sessionCallback)
373 Session2Callback sessionCallback = new Session2Callback()
    [all...]
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowPackageInstaller.java 36 PackageInstaller.SessionCallback callback;
47 @NonNull PackageInstaller.SessionCallback callback, @NonNull Handler handler) {
  /cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/
StagedInstallTest.java 584 PackageInstaller.SessionCallback callback = new PackageInstaller.SessionCallback() {
    [all...]

Completed in 93 milliseconds