/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/ |
D | AudioManager.cpp | 50 int AudioManager::getState(int sessionId) in getState() argument 52 auto session = mSessions.find(sessionId); in getState() 63 ImsMediaResult AudioManager::openSession(int sessionId, int rtpFd, int rtcpFd, AudioConfig* config) in openSession() argument 65 IMLOGI1("[openSession] sessionId[%d]", sessionId); in openSession() 72 if (!mSessions.count(sessionId)) in openSession() 75 session->setSessionId(sessionId); in openSession() 83 mSessions.insert(std::make_pair(sessionId, std::move(session))); in openSession() 93 ImsMediaResult AudioManager::closeSession(int sessionId) in closeSession() argument 95 IMLOGI1("[closeSession] sessionId[%d]", sessionId); in closeSession() 96 if (mSessions.count(sessionId)) in closeSession() [all …]
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/video/ |
D | VideoManager.cpp | 47 int VideoManager::getState(int sessionId) in getState() argument 49 auto session = mSessions.find(sessionId); in getState() 62 const int sessionId, const int rtpFd, const int rtcpFd, VideoConfig* config) in openSession() argument 64 IMLOGI1("[openSession] sessionId[%d]", sessionId); in openSession() 71 if (!mSessions.count(sessionId)) in openSession() 74 session->setSessionId(sessionId); in openSession() 82 mSessions.insert(std::make_pair(sessionId, std::move(session))); in openSession() 92 ImsMediaResult VideoManager::closeSession(const int sessionId) in closeSession() argument 94 IMLOGI1("[closeSession] sessionId[%d]", sessionId); in closeSession() 96 if (mSessions.count(sessionId)) in closeSession() [all …]
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/text/ |
D | TextManager.cpp | 47 int TextManager::getState(int sessionId) in getState() argument 49 auto session = mSessions.find(sessionId); in getState() 62 const int sessionId, const int rtpFd, const int rtcpFd, TextConfig* config) in openSession() argument 64 IMLOGI1("[openSession] sessionId[%d]", sessionId); in openSession() 71 if (!mSessions.count(sessionId)) in openSession() 74 session->setSessionId(sessionId); in openSession() 82 mSessions.insert(std::make_pair(sessionId, std::move(session))); in openSession() 92 ImsMediaResult TextManager::closeSession(const int sessionId) in closeSession() argument 94 IMLOGI1("[closeSession] sessionId[%d]", sessionId); in closeSession() 96 if (mSessions.count(sessionId)) in closeSession() [all …]
|
/packages/modules/Uwb/service/java/com/android/server/uwb/jni/ |
D | NativeUwbManager.java | 203 public byte initSession(int sessionId, byte sessionType, String chipId) { in initSession() argument 205 return nativeSessionInit(sessionId, sessionType, chipId); in initSession() 216 public byte deInitSession(int sessionId, String chipId) { in deInitSession() argument 218 return nativeSessionDeInit(sessionId, chipId); in deInitSession() 254 public byte getSessionState(int sessionId, String chipId) { in getSessionState() argument 256 return nativeGetSessionState(sessionId, chipId); in getSessionState() 267 public byte startRanging(int sessionId, String chipId) { in startRanging() argument 269 return nativeRangingStart(sessionId, chipId); in startRanging() 280 public byte stopRanging(int sessionId, String chipId) { in stopRanging() argument 282 return nativeRangingStop(sessionId, chipId); in stopRanging() [all …]
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/source/ |
D | TunerTsStreamerManager.java | 63 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/modules/Uwb/indev_uwb_adaptation/java/com/android/server/uwb/indev/ |
D | UwbServiceCore.java | 80 public void onSessionStatusNotificationReceived(long sessionId, int state, int reasonCode) { in onSessionStatusNotificationReceived() argument 81 Log.d(TAG, "onSessionStatusNotificationReceived(" + sessionId + ", " + state + ", " in onSessionStatusNotificationReceived() 84 mUwbServiceListener.onSessionStatusNotificationReceived(sessionId, state, reasonCode); in onSessionStatusNotificationReceived() 93 public void onRangeDataNotificationReceived(long sessionId, UwbRangingData rangeData) { in onRangeDataNotificationReceived() argument 94 Log.d(TAG, "onRangeDataNotificationReceived(" + sessionId + ", " + rangeData + ")"); in onRangeDataNotificationReceived() 95 mUwbServiceListener.onRangeDataNotificationReceived(sessionId, rangeData); in onRangeDataNotificationReceived() 152 public boolean initSession(int sessionId, byte sessionType, Params appConfigParams) { in initSession() argument 153 return nativeInitSession(sessionId, sessionType, appConfigParams); in initSession() 162 public boolean deinitSession(int sessionId) { in deinitSession() argument 163 return nativeDeinitSession(sessionId); in deinitSession() [all …]
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/audio/ |
D | AudioManager.h | 42 uint32_t event, uint64_t sessionId, uint64_t paramA, uint64_t paramB); 52 uint32_t event, uint64_t sessionId, uint64_t paramA, uint64_t paramB); 56 virtual int getState(int sessionId); 57 virtual void sendMessage(const int sessionId, const android::Parcel& parcel); 62 ImsMediaResult openSession(int sessionId, int rtpFd, int rtcpFd, AudioConfig* config); 63 ImsMediaResult closeSession(int sessionId); 64 ImsMediaResult modifySession(int sessionId, AudioConfig* config); 65 ImsMediaResult addConfig(int sessionId, AudioConfig* config); 66 virtual ImsMediaResult deleteConfig(int sessionId, AudioConfig* config); 67 ImsMediaResult confirmConfig(int sessionId, AudioConfig* config); [all …]
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/video/ |
D | VideoManager.h | 42 uint32_t event, uint64_t sessionId, uint64_t paramA, uint64_t paramB); 52 uint32_t event, uint64_t sessionId, uint64_t paramA, uint64_t paramB); 56 virtual int getState(int sessionId); 57 virtual void sendMessage(const int sessionId, const android::Parcel& parcel); 65 void setPreviewSurface(const int sessionId, ANativeWindow* surface); 73 void setDisplaySurface(const int sessionId, ANativeWindow* surface); 82 uint32_t event, uint64_t sessionId, uint64_t paramA = 0, uint64_t paramB = 0); 88 const int sessionId, const int rtpFd, const int rtcpFd, VideoConfig* config); 89 ImsMediaResult closeSession(const int sessionId); 90 virtual ImsMediaResult setPreviewSurfaceToSession(const int sessionId, ANativeWindow* surface); [all …]
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/ |
D | ImsMediaController.java | 62 final int sessionId = mSessionId.getAndIncrement(); in openSession() local 65 Log.d(TAG, "openSession: sessionId = " + sessionId in openSession() 70 session = new AudioSession(sessionId, in openSession() 75 session = new VideoSession(sessionId, in openSession() 79 session = new TextSession(sessionId, in openSession() 87 mSessions.append(sessionId, session); in openSession() 191 int sessionId = mSessions.keyAt(i); in dump() local 192 writer.println("\tSession Id: " + sessionId in dump() 193 + "\tObj:" + mSessions.get(sessionId)); in dump() 203 private IMediaSession getSession(int sessionId) { in getSession() argument [all …]
|
D | JNIImsMediaService.java | 56 public static native void sendMessage(long nativeObject, int sessionId, byte[] baData); in sendMessage() argument 65 public static native void setPreviewSurface(long nativeObject, int sessionId, Surface surface); in setPreviewSurface() argument 74 public static native void setDisplaySurface(long nativeObject, int sessionId, Surface surface); in setDisplaySurface() argument 119 public static void setListener(final int sessionId, final JNIImsMediaListener listener) { in setListener() argument 120 Log.d(TAG, "setListener() - sessionId=" + sessionId); in setListener() 126 sListeners.put(sessionId, listener); in setListener() 136 public static JNIImsMediaListener getListener(final int sessionId) { in getListener() argument 139 listener = sListeners.get(sessionId); in getListener() 166 public static int sendData2Java(final int sessionId, final byte[] baData) { in sendData2Java() argument 167 Log.dc(TAG, "sendData2Java() - sessionId=" + sessionId); in sendData2Java() [all …]
|
D | AudioOffloadService.java | 82 public void openSession(int sessionId, OpenSessionParams sessionParams) { in openSession() argument 99 getIImsMedia().openSession(sessionId, lep, rtpConfig); in openSession() 105 public void closeSession(int sessionId) { in closeSession() argument 107 getIImsMedia().closeSession(sessionId); in closeSession() 126 public void onOpenSessionSuccess(int sessionId, IImsMediaSession session) { in onOpenSessionSuccess() argument 127 mMediaControllerCallback.onOpenSessionSuccess(sessionId, session); in onOpenSessionSuccess() 131 public void onOpenSessionFailure(int sessionId, int error) { in onOpenSessionFailure() argument 132 mMediaControllerCallback.onOpenSessionFailure(sessionId, error); in onOpenSessionFailure() 136 public void onSessionClosed(int sessionId) { in onSessionClosed() argument 137 mMediaControllerCallback.onSessionClosed(sessionId); in onSessionClosed()
|
/packages/providers/MediaProvider/src/com/android/providers/media/fuse/ |
D | ExternalStorageServiceImpl.java | 59 public void onStartSession(@NonNull String sessionId, /* @SessionFlag */ int flag, in onStartSession() argument 62 Objects.requireNonNull(sessionId); in onStartSession() 81 if (sFuseDaemons.containsKey(sessionId)) { in onStartSession() 82 Log.w(TAG, "Session already started with id: " + sessionId); in onStartSession() 84 Log.i(TAG, "Starting session for id: " + sessionId); in onStartSession() 92 FuseDaemon daemon = new FuseDaemon(mediaProvider, this, deviceFd, sessionId, in onStartSession() 96 sFuseDaemons.put(sessionId, daemon); in onStartSession() 128 public void onEndSession(@NonNull String sessionId) { in onEndSession() argument 129 Objects.requireNonNull(sessionId); in onEndSession() 131 FuseDaemon daemon = onExitSession(sessionId); in onEndSession() [all …]
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/text/ |
D | TextManager.h | 42 uint32_t event, uint64_t sessionId, uint64_t paramA, uint64_t paramB); 52 uint32_t event, uint64_t sessionId, uint64_t paramA, uint64_t paramB); 56 virtual int getState(int sessionId); 57 virtual void sendMessage(const int sessionId, const android::Parcel& parcel); 63 const int sessionId, const int rtpFd, const int rtcpFd, TextConfig* config); 64 ImsMediaResult closeSession(const int sessionId); 65 virtual bool deactivateOtherSessionIfActive(const int sessionId); 66 ImsMediaResult modifySession(const int sessionId, TextConfig* config); 67 virtual void setMediaQualityThreshold(const int sessionId, MediaQualityThreshold* threshold); 68 virtual ImsMediaResult sendRtt(const int sessionId, const android::String8* text);
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | ExternalScoreUpdateObserverProxy.java | 82 public void notifyScoreUpdate(int sessionId, int score) { in notifyScoreUpdate() argument 89 mCallback.notifyScoreUpdate(sessionId, score); in notifyScoreUpdate() 94 public void triggerUpdateOfWifiUsabilityStats(int sessionId) { in triggerUpdateOfWifiUsabilityStats() argument 102 mCallback.triggerUpdateOfWifiUsabilityStats(sessionId); in triggerUpdateOfWifiUsabilityStats() 107 public void notifyStatusUpdate(int sessionId, boolean isUsable) { in notifyStatusUpdate() argument 117 mCallback.notifyStatusUpdate(sessionId, isUsable); in notifyStatusUpdate() 122 public void requestNudOperation(int sessionId) { in requestNudOperation() argument 132 mCallback.requestNudOperation(sessionId); in requestNudOperation() 137 public void blocklistCurrentBssid(int sessionId) { in blocklistCurrentBssid() argument 147 mCallback.blocklistCurrentBssid(sessionId); in blocklistCurrentBssid()
|
D | WifiScoreReport.java | 138 public void notifyScoreUpdate(int sessionId, int score) { in notifyScoreUpdate() argument 140 || sessionId == INVALID_SESSION_ID in notifyScoreUpdate() 141 || sessionId != getCurrentSessionId()) { in notifyScoreUpdate() 143 + " sessionId=" + sessionId in notifyScoreUpdate() 190 public void triggerUpdateOfWifiUsabilityStats(int sessionId) { in triggerUpdateOfWifiUsabilityStats() argument 192 || sessionId == INVALID_SESSION_ID in triggerUpdateOfWifiUsabilityStats() 193 || sessionId != getCurrentSessionId() in triggerUpdateOfWifiUsabilityStats() 196 + " sessionId=" + sessionId in triggerUpdateOfWifiUsabilityStats() 250 public void notifyStatusUpdate(int sessionId, boolean isUsable) { in notifyStatusUpdate() argument 252 || sessionId == INVALID_SESSION_ID in notifyStatusUpdate() [all …]
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/privacysources/ |
D | NotificationListenerCheck.kt | 286 var sessionId = Constants.INVALID_SESSION_ID in getEnabledNotificationListenersAndNotifyIfNeededLocked() variable 287 while (sessionId == Constants.INVALID_SESSION_ID) { in getEnabledNotificationListenersAndNotifyIfNeededLocked() 288 sessionId = random.nextLong() in getEnabledNotificationListenersAndNotifyIfNeededLocked() 295 "unnotified, sessionId = $sessionId" in getEnabledNotificationListenersAndNotifyIfNeededLocked() 301 postSystemNotificationIfNeeded(unNotifiedComponents, sessionId) in getEnabledNotificationListenersAndNotifyIfNeededLocked() 302 sendIssuesToSafetyCenter(enabledComponents, sessionId) in getEnabledNotificationListenersAndNotifyIfNeededLocked() 427 sessionId: Long in postSystemNotificationIfNeeded() 486 createNotificationForNotificationListener(componentToNotifyFor, pkgInfo, sessionId) in postSystemNotificationIfNeeded() 517 sessionId: Long in createNotificationForNotificationListener() 523 getNotificationDeletePendingIntent(parentUserContext, componentName, uid, sessionId) in createNotificationForNotificationListener() [all …]
|
D | AccessibilitySourceService.kt | 124 var sessionId = Constants.INVALID_SESSION_ID in processAccessibilityJob() variable 125 while (sessionId == Constants.INVALID_SESSION_ID) { in processAccessibilityJob() 126 sessionId = random.nextLong() in processAccessibilityJob() 160 sendNotification(serviceToBeNotified, sessionId) in processAccessibilityJob() 165 sendIssuesToSafetyCenter(a11yServiceList, sessionId) in processAccessibilityJob() 182 sessionId: Long in sendNotification() 191 putExtra(Constants.EXTRA_SESSION_ID, sessionId) in sendNotification() 228 getSafetyCenterActivityIntent(context, uid, sessionId, componentName) in sendNotification() 250 Log.d(LOG_TAG, "NOTIF_INTERACTION SEND metric, uid $uid session $sessionId") in sendNotification() 257 sessionId in sendNotification() [all …]
|
/packages/apps/OnDeviceAppPrediction/src/com/android/apppredictionservice/ |
D | PredictionService.java | 135 private void postPredictionUpdate(AppPredictionSessionId sessionId) { in postPredictionUpdate() argument 136 updatePredictions(sessionId, mAppSuggestionsEnabled ? predictionList : emptyList()); in postPredictionUpdate() 147 AppPredictionContext context, AppPredictionSessionId sessionId) { in onCreatePredictionSession() argument 151 activeLauncherSessions.add(sessionId); in onCreatePredictionSession() 152 postPredictionUpdate(sessionId); in onCreatePredictionSession() 157 public void onAppTargetEvent(AppPredictionSessionId sessionId, AppTargetEvent event) { in onAppTargetEvent() argument 159 if (!activeLauncherSessions.contains(sessionId)) { in onAppTargetEvent() 200 AppPredictionSessionId sessionId, String launchLocation, List<AppTargetId> targetIds) { in onLaunchLocationShown() argument 206 AppPredictionSessionId sessionId, in onSortAppTargets() argument 212 if (!activeLauncherSessions.contains(sessionId)) { in onSortAppTargets() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/pm/ |
D | InstallSessionTracker.java | 71 public void onCreated(final int sessionId) { in onCreated() argument 77 SessionInfo sessionInfo = pushSessionDisplayToLauncher(sessionId, helper, callback); in onCreated() 93 public void onFinished(final int sessionId, final boolean success) { in onFinished() argument 102 PackageUserKey key = activeSessions.get(sessionId); in onFinished() 103 activeSessions.remove(sessionId); in onFinished() 112 if (!success && helper.promiseIconAddedForId(sessionId)) { in onFinished() 115 helper.removePromiseIconId(sessionId); in onFinished() 121 public void onProgressChanged(final int sessionId, final float progress) { in onProgressChanged() argument 127 SessionInfo session = helper.getVerifiedSessionInfo(sessionId); in onProgressChanged() 134 public void onActiveChanged(final int sessionId, final boolean active) { } in onActiveChanged() argument [all …]
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/ |
D | ManagePermissionsActivity.java | 186 long sessionId = getIntent().getLongExtra(Constants.EXTRA_SESSION_ID, INVALID_SESSION_ID); in onCreate() local 187 while (sessionId == INVALID_SESSION_ID) { in onCreate() 188 sessionId = new Random().nextLong(); in onCreate() 210 arguments.putLong(EXTRA_SESSION_ID, sessionId); in onCreate() 233 PermissionControllerStatsLog.write(PERMISSION_USAGE_FRAGMENT_INTERACTION, sessionId, in onCreate() 238 androidXFragment = WearPermissionUsageFragment.newInstance(sessionId); in onCreate() 241 Long.MAX_VALUE, sessionId); in onCreate() 259 groupName, showSystem, sessionId); in onCreate() 265 .newInstance(groupName, Long.MAX_VALUE, showSystem, sessionId, in onCreate() 313 groupName, userHandle, caller, sessionId, null); in onCreate() [all …]
|
/packages/modules/Uwb/service/support_lib/test/ |
D | OemExtensionTests.java | 67 long sessionId = 1; in testSessionStatus() local 74 .setSessionId(sessionId) in testSessionStatus() 81 assertEquals(sessionStatus.getSessionId(), sessionId); in testSessionStatus() local 89 assertEquals(fromBundle.getSessionId(), sessionId); in testSessionStatus() local 99 long sessionId = 3; in testRangingReportMetadata() local 101 .setSessionId(sessionId) in testRangingReportMetadata() 110 assertEquals(fromBundle.getSessionId(), sessionId); in testRangingReportMetadata() local 136 long sessionId = 100; in testSessionConfigParams() local 140 .setSessionId((int) sessionId) in testSessionConfigParams() 154 .setSessionId(sessionId) in testSessionConfigParams() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/enrichedcall/ |
D | EnrichedCallManager.java | 103 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/services/Car/service/src/com/android/car/telemetry/sessioncontroller/ |
D | SessionAnnotation.java | 32 public final int sessionId; field in SessionAnnotation 42 int sessionId, in SessionAnnotation() argument 48 this.sessionId = sessionId; in SessionAnnotation() 59 return Objects.hash(sessionId, sessionState, createdAtSinceBootMillis, createdAtMillis, in hashCode() 68 .append(sessionId).append(", ") in toString() 97 return sessionId == other.sessionId in equals() 111 bundle.putInt(Constants.ANNOTATION_BUNDLE_KEY_SESSION_ID, sessionId); in addAnnotationsToBundle()
|
/packages/apps/Dialer/java/com/android/dialer/enrichedcall/stub/ |
D | EnrichedCallManagerStub.java | 63 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/modules/Wifi/framework/java/android/net/wifi/aware/ |
D | WifiAwareManager.java | 665 public void updatePublish(int clientId, int sessionId, PublishConfig publishConfig) { in updatePublish() argument 667 Log.v(TAG, "updatePublish(): clientId=" + clientId + ",sessionId=" + sessionId in updatePublish() 672 mService.updatePublish(clientId, sessionId, publishConfig); in updatePublish() 708 public void updateSubscribe(int clientId, int sessionId, SubscribeConfig subscribeConfig) { in updateSubscribe() argument 710 Log.v(TAG, "updateSubscribe(): clientId=" + clientId + ",sessionId=" + sessionId in updateSubscribe() 715 mService.updateSubscribe(clientId, sessionId, subscribeConfig); in updateSubscribe() 722 public void terminateSession(int clientId, int sessionId) { in terminateSession() argument 725 "terminateSession(): clientId=" + clientId + ", sessionId=" + sessionId); in terminateSession() 729 mService.terminateSession(clientId, sessionId); in terminateSession() 736 public void sendMessage(int clientId, int sessionId, PeerHandle peerHandle, byte[] message, in sendMessage() argument [all …]
|