Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/pm/
DInstallSessionHelper.java23 import android.content.pm.PackageInstaller.SessionInfo;
106 for (SessionInfo info : getActiveSessions().values()) { in getPromiseIconIds()
123 public HashMap<PackageUserKey, SessionInfo> getActiveSessions() { in getActiveSessions()
124 HashMap<PackageUserKey, SessionInfo> activePackages = new HashMap<>(); in getActiveSessions()
125 for (SessionInfo info : getAllVerifiedSessions()) { in getActiveSessions()
133 public SessionInfo getActiveSessionInfo(UserHandle user, String pkg) { in getActiveSessionInfo()
134 for (SessionInfo info : getAllVerifiedSessions()) { in getActiveSessionInfo()
152 SessionInfo getVerifiedSessionInfo(final int sessionId) { in getVerifiedSessionInfo()
157 private SessionInfo verify(@Nullable final SessionInfo sessionInfo) { in verify()
183 public List<SessionInfo> getAllVerifiedSessions() { in getAllVerifiedSessions()
[all …]
DInstallSessionTracker.java25 import android.content.pm.PackageInstaller.SessionInfo;
77 SessionInfo sessionInfo = pushSessionDisplayToLauncher(sessionId, helper, callback); in onCreated()
127 SessionInfo session = helper.getVerifiedSessionInfo(sessionId); in onProgressChanged()
143 SessionInfo sessionInfo = pushSessionDisplayToLauncher(sessionId, helper, callback); in onBadgingChanged()
150 private SessionInfo pushSessionDisplayToLauncher(final int sessionId, in pushSessionDisplayToLauncher()
152 SessionInfo session = helper.getVerifiedSessionInfo(sessionId); in pushSessionDisplayToLauncher()
195 void onUpdateSessionDisplay(@NonNull PackageUserKey key, @NonNull SessionInfo info); in onUpdateSessionDisplay()
DPackageInstallInfo.java38 private PackageInstallInfo(@NonNull PackageInstaller.SessionInfo info) { in PackageInstallInfo()
54 public static PackageInstallInfo fromInstallingState(PackageInstaller.SessionInfo info) { in fromInstallingState()
/packages/modules/Connectivity/remoteauth/tests/unit/src/com/android/server/remoteauth/ranging/
DSessionInfoTest.java39 final SessionInfo sessionInfo = in testBuildingSessionInfo_success()
40 new SessionInfo.Builder() in testBuildingSessionInfo_success()
51 final SessionInfo.Builder builder = in testBuildingSessionInfo_invalidDeviceId()
52 new SessionInfo.Builder().setRangingMethod(TEST_RANGING_METHOD); in testBuildingSessionInfo_invalidDeviceId()
59 final SessionInfo.Builder builder = new SessionInfo.Builder().setDeviceId(TEST_DEVICE_ID); in testBuildingSessionInfo_invalidRangingMethod()
DUwbRangingSessionTest.java280 ArgumentCaptor<SessionInfo> captor = ArgumentCaptor.forClass(SessionInfo.class); in testStart_initiatorWithoutADFailed()
335 ArgumentCaptor<SessionInfo> captor2 = ArgumentCaptor.forClass(SessionInfo.class); in testStart_initiatorWithADSucceed()
370 ArgumentCaptor<SessionInfo> captor = ArgumentCaptor.forClass(SessionInfo.class); in testStop_failed()
/packages/modules/Connectivity/remoteauth/service/java/com/android/server/remoteauth/ranging/
DSessionInfo.java25 public class SessionInfo { class
39 private SessionInfo(String deviceId, @RangingMethod int rangingMethod) { in SessionInfo() method in SessionInfo
72 public SessionInfo build() { in build()
76 return new SessionInfo(mDeviceId, mRangingMethod); in build()
DRangingSession.java99 @NonNull SessionInfo sessionInfo, @NonNull RangingReport rangingReport); in onRangingReport()
107 void onError(@NonNull SessionInfo sessionInfo, @RangingError int rangingError); in onError()
111 protected SessionInfo mSessionInfo;
129 new SessionInfo.Builder() in RangingSession()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DFirstScreenBroadcast.java31 import android.content.pm.PackageInstaller.SessionInfo;
79 private final HashMap<PackageUserKey, SessionInfo> mSessionInfoForPackage;
81 public FirstScreenBroadcast(HashMap<PackageUserKey, SessionInfo> sessionInfoForPackage) { in FirstScreenBroadcast()
96 .collect(groupingBy(SessionInfo::getInstallerPackageName, in sendBroadcasts()
97 mapping(SessionInfo::getAppPackageName, Collectors.toSet()))) in sendBroadcasts()
DFirstScreenBroadcastHelper.kt21 import android.content.pm.PackageInstaller.SessionInfo in <lambda>()
82 userKeyToSessionMap: Map<PackageUserKey, SessionInfo>, in <lambda>()
174 userKeyToSessionMap: Map<PackageUserKey, SessionInfo> in <lambda>()
DLoaderTask.java43 import android.content.pm.PackageInstaller.SessionInfo;
150 private HashMap<PackageUserKey, SessionInfo> mInstallingPkgsCached;
440 final HashMap<PackageUserKey, SessionInfo> installingPkgs = in loadWorkspaceImpl()
722 SessionInfo si = mInstallingPkgsCached != null ? mInstallingPkgsCached.get( in loadAllApps()
744 for (PackageInstaller.SessionInfo info : in loadAllApps()
DAddWorkspaceItemsTask.java22 import android.content.pm.PackageInstaller.SessionInfo;
154 SessionInfo sessionInfo = packageInstaller.getActiveSessionInfo(item.user, in execute()
DWorkspaceItemProcessor.kt73 private val installingPkgs: HashMap<PackageUserKey, PackageInstaller.SessionInfo>,
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
DFirstScreenBroadcastHelperTest.kt22 import android.content.pm.PackageInstaller.SessionInfo
73 SessionInfo().apply { in Broadcast Models are created with Pending Items from first screen()
78 SessionInfo().apply { in Broadcast Models are created with Pending Items from first screen()
82 val sessionInfoMap: HashMap<PackageUserKey, SessionInfo> = in Broadcast Models are created with Pending Items from first screen()
196 SessionInfo().apply { in Broadcast Models are created with Pending Items in Collections from the first screen()
201 SessionInfo().apply { in Broadcast Models are created with Pending Items in Collections from the first screen()
205 val sessionInfoMap: HashMap<PackageUserKey, SessionInfo> = in Broadcast Models are created with Pending Items in Collections from the first screen()
DWorkspaceItemProcessorTest.kt99 private var mInstallingPkgs: HashMap<PackageUserKey, PackageInstaller.SessionInfo> = hashMapOf()
194 installingPkgs: HashMap<PackageUserKey, PackageInstaller.SessionInfo> = mInstallingPkgs, in createWorkspaceItemProcessorUnderTest()
558 mInstallingPkgs[packageUserKey] = PackageInstaller.SessionInfo() in When valid TYPE_REAL App Widget then add item()
715 mInstallingPkgs[packageUserKey] = PackageInstaller.SessionInfo() in When Pending App Widget has not started restore then update db and add item()
/packages/modules/Uwb/service/java/com/android/server/uwb/pm/
DRangingSessionController.java51 public SessionInfo mSessionInfo;
99 mSessionInfo = new SessionInfo(attributionSource, sessionHandle, in RangingSessionController()
208 public static class SessionInfo { class in RangingSessionController
225 public SessionInfo(AttributionSource attributionSource, SessionHandle sessionHandle, in SessionInfo() method in RangingSessionController.SessionInfo
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbShellCommand.java231 private static final Map<Integer, SessionInfo> sSessionIdToInfo = new ArrayMap<>();
269 private final SessionInfo mSessionInfo;
277 UwbRangingCallbacks(@NonNull SessionInfo sessionInfo, @NonNull PrintWriter pw, in UwbRangingCallbacks()
416 private class SessionInfo { class in UwbShellCommand
434 SessionInfo(int sessionId, SessionHandle sessionHandle, @NonNull Params openRangingParams, in SessionInfo() method in UwbShellCommand.SessionInfo
892 SessionInfo sessionInfo = in startRangingSession()
893 new SessionInfo(sessionId, sessionHandle, openRangingSessionParams, pw, false); in startRangingSession()
965 SessionInfo sessionInfo = sSessionIdToInfo.get(sessionId); in stopRangingSession()
1057 SessionInfo sessionInfo = sSessionIdToInfo.get(sessionId); in reconfigureFiraRangingSession()
1158 SessionInfo sessionInfo = in startRadarSession()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DSessionCommitReceiver.java23 import android.content.pm.PackageInstaller.SessionInfo;
61 SessionInfo info = intent.getParcelableExtra(PackageInstaller.EXTRA_SESSION); in processIntent()
DLauncherModel.java508 @NonNull final PackageInstaller.SessionInfo info) { in onUpdateSessionDisplay()
/packages/services/Car/car-lib/src/android/car/watchdog/
DCarWatchdogManager.java105 private final SessionInfo mSession = new SessionInfo(INVALID_SESSION_ID, INVALID_SESSION_ID);
1019 private static final class SessionInfo { class in CarWatchdogManager
1023 SessionInfo(int currentId, int lastReportedId) { in SessionInfo() method in CarWatchdogManager.SessionInfo
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DItemClickHandler.java34 import android.content.pm.PackageInstaller.SessionInfo;
249 CompletableFuture<SessionInfo> siFuture; in onClickPendingAppItem()
254 Consumer<SessionInfo> marketLaunchAction = sessionInfo -> { in onClickPendingAppItem()
/packages/modules/Virtualization/virtualizationmanager/src/
Daidl.rs58 Key::Key, PubKey::PubKey, SessionIdSignature::SessionIdSignature, SessionInfo::SessionInfo,
1703 ) -> binder::Result<SessionInfo> { in finish() argument
/packages/modules/Uwb/service/java/com/android/server/uwb/data/
DUwbConfig.java542 RangingSessionController.SessionInfo sessionInfo, UwbConfig uwbConfig) { in getOpenSessionParams()
/packages/apps/Launcher3/src/com/android/launcher3/icons/
DIconCache.java627 public void updateSessionCache(PackageUserKey key, PackageInstaller.SessionInfo info) { in updateSessionCache()
/packages/modules/Uwb/service/uci/jni/src/
Dnotification_manager_android.rs1084 SessionNotification::SessionInfo(range_data) => { in on_session_notification()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java200 import android.content.pm.PackageInstaller.SessionInfo;
1598 for (SessionInfo si : pm.getPackageInstaller().getAllSessions()) { in isPackageKnown()