Home
last modified time | relevance | path

Searched refs:SessionCallback (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/base/apct-tests/perftests/packagemanager/src/android/content/pm/
DPackageInstallerBenchmark.java69 private static class SessionCallback extends PackageInstaller.SessionCallback { class in PackageInstallerBenchmark
74 SessionCallback(boolean expectedSuccess, List<Integer> expectedSessions, in SessionCallback() method in PackageInstallerBenchmark.SessionCallback
102 private SessionCallback mSessionCallback;
149 mSessionCallback = new SessionCallback(expectedResult, mExpectedSessionIds, in createSinglePackageSessions()
175 mSessionCallback = new SessionCallback(expectedSuccess, mExpectedSessionIds, in createMultiplePackageSessions()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/common/data/repository/
DPackageInstallerMonitorTest.kt127 withArgCaptor<PackageInstaller.SessionCallback> { in <lambda>()
151 withArgCaptor<PackageInstaller.SessionCallback> { in <lambda>()
175 withArgCaptor<PackageInstaller.SessionCallback> { in <lambda>()
198 withArgCaptor<PackageInstaller.SessionCallback> { in <lambda>()
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DPlayerController.java51 private SessionCallback mControllerCb;
65 mControllerCb = new SessionCallback(); in PlayerController()
204 private class SessionCallback extends MediaController.Callback { class in PlayerController
/frameworks/base/core/java/android/view/inputmethod/
DInputMethod.java98 public interface SessionCallback { interface
254 public void createSession(SessionCallback callback); in createSession()
/frameworks/base/core/java/android/content/pm/
DPackageInstaller.java1348 public static abstract class SessionCallback { class in PackageInstaller
1401 final SessionCallback mCallback;
1404 SessionCallbackDelegate(SessionCallback callback, Executor executor) { in SessionCallbackDelegate()
1411 mExecutor.execute(PooledLambda.obtainRunnable(SessionCallback::onCreated, mCallback, in onSessionCreated()
1417 mExecutor.execute(PooledLambda.obtainRunnable(SessionCallback::onBadgingChanged, in onSessionBadgingChanged()
1423 mExecutor.execute(PooledLambda.obtainRunnable(SessionCallback::onActiveChanged, in onSessionActiveChanged()
1429 mExecutor.execute(PooledLambda.obtainRunnable(SessionCallback::onProgressChanged, in onSessionProgressChanged()
1435 mExecutor.execute(PooledLambda.obtainRunnable(SessionCallback::onFinished, in onSessionFinished()
1442 public void addSessionCallback(@NonNull SessionCallback callback) { in addSessionCallback()
1450 public void registerSessionCallback(@NonNull SessionCallback callback) { in registerSessionCallback()
[all …]
DLauncherApps.java46 import android.content.pm.PackageInstaller.SessionCallback;
2364 @NonNull @CallbackExecutor Executor executor, @NonNull SessionCallback callback) { in registerPackageInstallerSessionCallback()
2388 public void unregisterPackageInstallerSessionCallback(@NonNull SessionCallback callback) { in unregisterPackageInstallerSessionCallback()
/frameworks/base/media/java/android/media/tv/ad/
DTvAdManager.java520 @NonNull final TvAdManager.SessionCallback callback, in createSession()
526 TvAdManager.SessionCallback callback, Handler handler) { in createSessionInternal()
1148 public abstract static class SessionCallback { class in TvAdManager
1274 private final SessionCallback mSessionCallback;
1278 SessionCallbackRecord(SessionCallback sessionCallback, Handler handler) { in SessionCallbackRecord()
DTvAdView.java671 private class MySessionCallback extends TvAdManager.SessionCallback {
/frameworks/base/media/java/android/media/tv/
DTvRecordingClient.java401 public TvInputManager.SessionCallback getSessionCallback() { in getSessionCallback()
473 private class MySessionCallback extends TvInputManager.SessionCallback {
DTvInputManager.java865 public abstract static class SessionCallback { class in TvInputManager
1155 private final SessionCallback mSessionCallback;
1159 SessionCallbackRecord(SessionCallback sessionCallback, in SessionCallbackRecord()
2493 @NonNull final SessionCallback callback, @NonNull Handler handler) { in createSession()
2569 @NonNull final SessionCallback callback, @NonNull Handler handler) { in createRecordingSession()
2574 boolean isRecordingSession, SessionCallback callback, Handler handler) { in createSessionInternal()
DTvView.java40 import android.media.tv.TvInputManager.SessionCallback;
1359 private class MySessionCallback extends SessionCallback {
DTvInputService.java2759 private final TvInputManager.SessionCallback mHardwareSessionCallback =
2760 new TvInputManager.SessionCallback() {
/frameworks/base/media/java/android/media/session/
DMediaSessionLegacyHelper.java422 public SessionCallback mCb;
436 mCb = new SessionCallback(); in update()
442 private class SessionCallback extends MediaSession.Callback { class in MediaSessionLegacyHelper.SessionHolder
/frameworks/base/packages/SystemUI/src/com/android/systemui/common/data/repository/
DPackageInstallerMonitor.kt48 ) : PackageInstaller.SessionCallback() { in <lambda>()
/frameworks/base/core/java/android/inputmethodservice/
DAbstractInputMethodService.java108 public void createSession(SessionCallback callback) { in createSession()
DIInputMethodWrapper.java117 static final class InputMethodSessionCallbackWrapper implements InputMethod.SessionCallback {
/frameworks/base/media/java/android/media/tv/interactive/
DTvInteractiveAppManager.java934 @NonNull final SessionCallback callback, @NonNull Handler handler) { in createSession()
938 private void createSessionInternal(String iAppServiceId, int type, SessionCallback callback, in createSessionInternal()
2053 private final SessionCallback mSessionCallback;
2057 SessionCallbackRecord(SessionCallback sessionCallback, Handler handler) { in SessionCallbackRecord()
2375 public abstract static class SessionCallback { class in TvInteractiveAppManager
DTvInteractiveAppView.java37 import android.media.tv.interactive.TvInteractiveAppManager.SessionCallback;
1485 private class MySessionCallback extends SessionCallback {
/frameworks/base/services/core/java/com/android/server/rollback/
DRollbackManagerServiceImpl.java346 .registerSessionCallback(new SessionCallback(), getHandler()); in registerUserCallbacks()
1153 private class SessionCallback extends PackageInstaller.SessionCallback {
/frameworks/base/core/tests/PackageInstallerSessions/src/android/content/pm/
DPackageSessionTests.kt104 class SessionStatusTrackerCallback : PackageInstaller.SessionCallback { in <lambda>()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java225 private final MediaCommunicationManager.SessionCallback mSession2TokenCallback =
226 new MediaCommunicationManager.SessionCallback() {
/frameworks/base/services/core/java/com/android/server/tv/interactive/
DTvInteractiveAppManagerService.java3013 ITvInteractiveAppSessionCallback callback = new SessionCallback(sessionState, channels); in createSessionInternalLocked()
3772 private final class SessionCallback extends ITvInteractiveAppSessionCallback.Stub { class in TvInteractiveAppManagerService
3776 SessionCallback(SessionState sessionState, InputChannel[] channels) { in SessionCallback() method in TvInteractiveAppManagerService.SessionCallback
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputManagerService.java839 ITvInputSessionCallback callback = new SessionCallback(sessionState, channels); in createSessionInternalLocked()
3789 private final class SessionCallback extends ITvInputSessionCallback.Stub { class in TvInputManagerService
3793 SessionCallback(SessionState sessionState, InputChannel[] channels) { in SessionCallback() method in TvInputManagerService.SessionCallback
/frameworks/base/core/api/
Dlint-baseline.txt644 …essionCallback(java.util.concurrent.Executor, android.content.pm.PackageInstaller.SessionCallback):
654 …t.pm.PackageInstaller#registerSessionCallback(android.content.pm.PackageInstaller.SessionCallback):
Dmodule-lib-lint-baseline.txt844 …essionCallback(java.util.concurrent.Executor, android.content.pm.PackageInstaller.SessionCallback):
854 …t.pm.PackageInstaller#registerSessionCallback(android.content.pm.PackageInstaller.SessionCallback):

12