Home
last modified time | relevance | path

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

12

/packages/apps/TV/tuner/src/com/android/tv/tuner/source/
DTunerTsStreamerManager.java63 int sessionId, in createDataSource() argument
68 mStreamerFinder.appendSessionLocked(channel, sessionId); in createDataSource()
71 mListeners.put(sessionId, listener); in createDataSource()
77 mCreators.put(sessionId, creator); in createDataSource()
79 TunerTsStreamer streamer = creator.create(sessionId, reuse); in createDataSource()
81 mCreators.remove(sessionId); in createDataSource()
86 mStreamerFinder.putLocked(channel, sessionId, streamer); in createDataSource()
88 mListeners.put(sessionId, listener); in createDataSource()
97 mTunerHalManager.releaseTunerHal(hal, sessionId, reuse); in createDataSource()
101 synchronized void releaseDataSource(TsDataSource source, int sessionId, boolean reuse) { in releaseDataSource() argument
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/compat/
DPackageInstallerCompatVL.java101 public void onCreated(int sessionId) {
102 SessionInfo sessionInfo = pushSessionDisplayToLauncher(sessionId);
113 public void onFinished(int sessionId, boolean success) {
116 String packageName = mActiveSessions.get(sessionId);
117 mActiveSessions.remove(sessionId);
127 public void onProgressChanged(int sessionId, float progress) {
128 SessionInfo session = verify(mInstaller.getSessionInfo(sessionId));
135 public void onActiveChanged(int sessionId, boolean active) { }
138 public void onBadgingChanged(int sessionId) {
139 pushSessionDisplayToLauncher(sessionId);
[all …]
/packages/apps/Dialer/java/com/android/dialer/enrichedcall/
DEnrichedCallManager.java103 void sendCallComposerData(long sessionId, @NonNull MultimediaData data); in sendCallComposerData() argument
112 void endCallComposerSession(long sessionId); in endCallComposerSession() argument
164 Session getSession(long sessionId); in getSession() argument
250 void onSessionStatusUpdate(long sessionId, @NonNull String number, int state); in onSessionStatusUpdate() argument
260 void onMessageUpdate(long sessionId, @NonNull String messageId, int state); in onMessageUpdate() argument
268 void onIncomingCallComposerData(long sessionId, @NonNull MultimediaData multimediaData); in onIncomingCallComposerData() argument
283 @NonNull PendingResult pendingResult, long sessionId, @NonNull MultimediaData multimediaData); in onIncomingPostCallData() argument
309 boolean onIncomingVideoShareInvite(long sessionId, @NonNull String number); in onIncomingVideoShareInvite() argument
327 boolean acceptVideoShareSession(long sessionId); in acceptVideoShareSession() argument
344 VideoShareSession getVideoShareSession(long sessionId); in getVideoShareSession() argument
[all …]
/packages/apps/Dialer/java/com/android/dialer/enrichedcall/stub/
DEnrichedCallManagerStub.java63 public void sendCallComposerData(long sessionId, @NonNull MultimediaData data) {} in sendCallComposerData() argument
66 public void endCallComposerSession(long sessionId) {} in endCallComposerSession() argument
87 public Session getSession(long sessionId) { in getSession() argument
145 public void onSessionStatusUpdate(long sessionId, @NonNull String number, int state) {} in onSessionStatusUpdate() argument
148 public void onMessageUpdate(long sessionId, @NonNull String messageId, int state) {} in onMessageUpdate() argument
151 public void onIncomingCallComposerData(long sessionId, @NonNull MultimediaData multimediaData) {} in onIncomingCallComposerData() argument
156 long sessionId, in onIncomingPostCallData() argument
168 public boolean onIncomingVideoShareInvite(long sessionId, @NonNull String number) { in onIncomingVideoShareInvite() argument
178 public boolean acceptVideoShareSession(long sessionId) { in acceptVideoShareSession() argument
190 public VideoShareSession getVideoShareSession(long sessionId) { in getVideoShareSession() argument
[all …]
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/
DAppPermissionsFragment.java85 @NonNull UserHandle userHandle, long sessionId) { in newInstance() argument
87 new AppPermissionsFragment(), packageName, userHandle, sessionId); in newInstance()
92 long sessionId) { in setPackageNameAndUserHandleAndSessionId() argument
96 arguments.putLong(EXTRA_SESSION_ID, sessionId); in setPackageNameAndUserHandleAndSessionId()
233 long sessionId = getArguments().getLong(EXTRA_SESSION_ID, INVALID_SESSION_ID); in updatePreferences() local
244 group, AppPermissionsFragment.class.getName(), sessionId); in updatePreferences()
314 long sessionId = getArguments().getLong(EXTRA_SESSION_ID, INVALID_SESSION_ID); in logAppPermissionsFragmentView() local
333 logAppPermissionsFragmentViewEntry(sessionId, viewId, preference.getKey(), category); in logAppPermissionsFragmentView()
345 logAppPermissionsFragmentViewEntry(sessionId, viewId, preference.getKey(), in logAppPermissionsFragmentView()
351 long sessionId, long viewId, String permissionGroupName, int category) { in logAppPermissionsFragmentViewEntry() argument
[all …]
DPermissionAppsFragment.java81 public static PermissionAppsFragment newInstance(String permissionName, long sessionId) { in newInstance() argument
83 new PermissionAppsFragment(), permissionName, sessionId); in newInstance()
87 T fragment, String permissionName, long sessionId) { in setPermissionNameAndSessionId() argument
90 arguments.putLong(EXTRA_SESSION_ID, sessionId); in setPermissionNameAndSessionId()
273 long sessionId = getArguments().getLong(EXTRA_SESSION_ID, INVALID_SESSION_ID); in onPermissionsLoaded() local
328 PermissionAppsFragment.class.getName(), sessionId); in onPermissionsLoaded()
369 getArguments().getString(Intent.EXTRA_PERMISSION_NAME), sessionId); in onPermissionsLoaded()
416 long sessionId = getArguments().getLong(EXTRA_SESSION_ID, 0); in logPermissionAppsFragmentCreated() local
427 PermissionControllerStatsLog.write(PERMISSION_APPS_FRAGMENT_VIEWED, sessionId, viewId, in logPermissionAppsFragmentCreated()
430 Log.v(LOG_TAG, "PermissionAppsFragment created with sessionId=" + sessionId in logPermissionAppsFragmentCreated()
DAppPermissionFragment.java122 @NonNull UserHandle userHandle, @Nullable String caller, long sessionId) { in newInstance() argument
133 arguments.putLong(EXTRA_SESSION_ID, sessionId); in newInstance()
207 long sessionId = getArguments().getLong(EXTRA_SESSION_ID); in onCreateView() local
216 intent.putExtra(EXTRA_SESSION_ID, sessionId); in onCreateView()
226 intent.putExtra(EXTRA_SESSION_ID, sessionId); in onCreateView()
307 long sessionId = getArguments().getLong(EXTRA_SESSION_ID, INVALID_SESSION_ID); in logAppPermissionFragmentViewed() local
308 PermissionControllerStatsLog.write(APP_PERMISSION_FRAGMENT_VIEWED, sessionId, in logAppPermissionFragmentViewed()
310 Log.v(LOG_TAG, "AppPermission fragment viewed with sessionId=" + sessionId + " uid=" in logAppPermissionFragmentViewed()
372 long sessionId = getArguments().getLong(EXTRA_SESSION_ID, INVALID_SESSION_ID); in logPermissionChanges() local
390 logAppPermissionFragmentActionReported(sessionId, changeId, in logPermissionChanges()
[all …]
DManageStandardPermissionsFragment.java43 public static ManageStandardPermissionsFragment newInstance(long sessionId) { in newInstance() argument
46 arguments.putLong(EXTRA_SESSION_ID, sessionId); in newInstance()
103 long sessionId = getArguments().getLong(EXTRA_SESSION_ID); in updatePermissionsUi()
105 ManageCustomPermissionsFragment.newInstance(sessionId); in updatePermissionsUi()
DManageCustomPermissionsFragment.java32 public static ManageCustomPermissionsFragment newInstance(long sessionId) { in newInstance() argument
35 arguments.putLong(EXTRA_SESSION_ID, sessionId); in newInstance()
DPermissionControlPreference.java59 @NonNull AppPermissionGroup group, @NonNull String caller, long sessionId) { in PermissionControlPreference() argument
73 intent.putExtra(EXTRA_SESSION_ID, sessionId); in PermissionControlPreference()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/
DCallComposerActivity.java136 private Long sessionId = Session.NO_SESSION_ID; field in CallComposerActivity
211 sessionId = savedInstanceState.getLong(SESSION_ID_KEY, Session.NO_SESSION_ID); in onCreate()
263 } else if (sessionId == Session.NO_SESSION_ID) { in onResume()
265 sessionId = getEnrichedCallManager().startCallComposerSession(contact.getNumber()); in onResume()
266 } else if (getEnrichedCallManager().getSession(sessionId) == null) { in onResume()
269 sessionId = getEnrichedCallManager().startCallComposerSession(contact.getNumber()); in onResume()
273 if (sessionId == Session.NO_SESSION_ID) { in onResume()
297 Session session = getEnrichedCallManager().getSession(sessionId); in refreshUiForCallComposerState()
434 Session session = getEnrichedCallManager().getSession(sessionId); in sessionReady()
444 getEnrichedCallManager().sendCallComposerData(sessionId, data); in placeRCSCall()
[all …]
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/
DManagePermissionsActivity.java70 long sessionId = getIntent().getLongExtra(Constants.EXTRA_SESSION_ID, INVALID_SESSION_ID); in onCreate() local
71 while (sessionId == INVALID_SESSION_ID) { in onCreate()
72 sessionId = new Random().nextLong(); in onCreate()
85 androidXFragment = ManageStandardPermissionsFragment.newInstance(sessionId); in onCreate()
129 packageName, userHandle, sessionId); in onCreate()
149 .PermissionAppsFragment.newInstance(permissionName, sessionId); in onCreate()
DAppPermissionActivity.java106 long sessionId = getIntent().getLongExtra(Constants.EXTRA_SESSION_ID, in onCreate() local
109 groupName, userHandle, caller, sessionId); in onCreate()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/service/
DLocationAccessCheck.java571 long sessionId = INVALID_SESSION_ID; in createNotificationForLocationUser() local
572 while (sessionId == INVALID_SESSION_ID) { in createNotificationForLocationUser()
573 sessionId = new Random().nextLong(); in createNotificationForLocationUser()
578 deleteIntent.putExtra(EXTRA_SESSION_ID, sessionId); in createNotificationForLocationUser()
585 clickIntent.putExtra(EXTRA_SESSION_ID, sessionId); in createNotificationForLocationUser()
619 PermissionControllerStatsLog.write(LOCATION_ACCESS_CHECK_NOTIFICATION_ACTION, sessionId, in createNotificationForLocationUser()
622 Log.v(LOG_TAG, "Location access check notification shown with sessionId=" + sessionId + "" in createNotificationForLocationUser()
875 long sessionId = intent.getLongExtra(EXTRA_SESSION_ID, INVALID_SESSION_ID); in onReceive() local
878 PermissionControllerStatsLog.write(LOCATION_ACCESS_CHECK_NOTIFICATION_ACTION, sessionId, in onReceive()
882 "Location access check notification declined with sessionId=" + sessionId + "" in onReceive()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppTransferHistory.java191 int sessionId = mTransferCursor.getInt(mIdColumnId); in onContextItemSelected() local
192 Uri contentUri = Uri.parse(BluetoothShare.CONTENT_URI + "/" + sessionId); in onContextItemSelected()
275 int sessionId = mTransferCursor.getInt(mIdColumnId); in clearAllDownloads() local
276 Uri contentUri = Uri.parse(BluetoothShare.CONTENT_URI + "/" + sessionId); in clearAllDownloads()
310 int sessionId = mTransferCursor.getInt(mIdColumnId); in openCompleteTransfer() local
311 Uri contentUri = Uri.parse(BluetoothShare.CONTENT_URI + "/" + sessionId); in openCompleteTransfer()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
DAndroidSpellCheckerService.java174 Integer sessionId = null; in getSuggestionResults() local
177 sessionId = mSessionIdPool.poll(); in getSuggestionResults()
182 sessionId, SuggestedWords.INPUT_STYLE_TYPING); in getSuggestionResults()
184 if (sessionId != null) { in getSuggestionResults()
185 mSessionIdPool.add(sessionId); in getSuggestionResults()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DInstallPackageTask.java144 int sessionId = pi.createSession(params); in run() local
145 try (PackageInstaller.Session session = pi.openSession(sessionId)) { in run()
154 String action = ACTION_INSTALL_DONE + sessionId; in run()
158 PendingIntent pendingIntent = PendingIntent.getBroadcast(mContext, sessionId, in run()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DDictionaryCollection.java65 final int sessionId, final float weightForLocale, in getSuggestions() argument
72 ngramContext, proximityInfoHandle, settingsValuesForSuggestion, sessionId, in getSuggestions()
79 sessionId, weightForLocale, inOutWeightOfLangModelVsSpatialModel); in getSuggestions()
DReadOnlyBinaryDictionary.java56 final int sessionId, final float weightForLocale, in getSuggestions() argument
61 proximityInfoHandle, settingsValuesForSuggestion, sessionId, in getSuggestions()
DDictionary.java102 final int sessionId, final float weightForLocale, in getSuggestions() argument
206 final int sessionId, final float weightForLocale, in getSuggestions() argument
DBinaryDictionary.java271 final int sessionId, final float weightForLocale, in getSuggestions() argument
276 final DicTraverseSession session = getTraverseSession(sessionId); in getSuggestions()
307 getTraverseSession(sessionId).getSession(), inputPointers.getXCoordinates(), in getSuggestions()
DExpandableBinaryDictionary.java431 final SettingsValuesForSuggestion settingsValuesForSuggestion, final int sessionId, in getSuggestions() argument
444 proximityInfoHandle, settingsValuesForSuggestion, sessionId, in getSuggestions()
DDictionaryFacilitator.java162 final SettingsValuesForSuggestion settingsValuesForSuggestion, final int sessionId, in getSuggestionResults() argument
/packages/apps/Dialer/java/com/android/incallui/callpending/
DCallPendingActivity.java100 long sessionId) { in getIntent() argument
108 intent.putExtra(EXTRA_SESSION_ID, sessionId); in getIntent()
/packages/apps/Dialer/java/com/android/dialer/enrichedcall/videoshare/
DVideoShareSession.java24 void setSessionId(long sessionId); in setSessionId() argument

12