/ohos5.0/foundation/distributedhardware/distributed_input/services/sink/transport/test/sinktransunittest/ |
H A D | distributed_input_sinktrans_test.cpp | 72 int32_t sessionId = 1; variable 94 int32_t sessionId = 0; variable 102 int32_t sessionId = 1; variable 110 int32_t sessionId = 1; variable 122 int32_t sessionId = 1; variable 149 int32_t sessionId = 0; variable 157 int32_t sessionId = 1; variable 165 int32_t sessionId = 1; variable 177 int32_t sessionId = 1; variable 217 int32_t sessionId = 0; variable [all …]
|
/aosp14/frameworks/base/core/java/android/service/appprediction/ |
H A D | IPredictionService.aidl | 34 in AppPredictionSessionId sessionId); in onCreatePredictionSession() 36 void notifyAppTargetEvent(in AppPredictionSessionId sessionId, in AppTargetEvent event); in notifyAppTargetEvent() 38 void notifyLaunchLocationShown(in AppPredictionSessionId sessionId, in String launchLocation, in notifyLaunchLocationShown() 41 void sortAppTargets(in AppPredictionSessionId sessionId, in ParceledListSlice targets, in sortAppTargets() 44 void registerPredictionUpdates(in AppPredictionSessionId sessionId, in registerPredictionUpdates() 47 void unregisterPredictionUpdates(in AppPredictionSessionId sessionId, in unregisterPredictionUpdates() 50 void requestPredictionUpdate(in AppPredictionSessionId sessionId); in requestPredictionUpdate() 52 void onDestroyPredictionSession(in AppPredictionSessionId sessionId); in onDestroyPredictionSession()
|
H A D | AppPredictionService.java | 160 public abstract void onAppTargetEvent(@NonNull AppPredictionSessionId sessionId, in onAppTargetEvent() 167 public abstract void onLaunchLocationShown(@NonNull AppPredictionSessionId sessionId, in onLaunchLocationShown() 171 @NonNull AppPredictionSessionId sessionId) { in doCreatePredictionSession() 183 @NonNull AppPredictionSessionId sessionId) {} in onCreatePredictionSession() 189 public abstract void onSortAppTargets(@NonNull AppPredictionSessionId sessionId, in onSortAppTargets() 193 private void doRegisterPredictionUpdates(@NonNull AppPredictionSessionId sessionId, in doRegisterPredictionUpdates() 218 private void doUnregisterPredictionUpdates(@NonNull AppPredictionSessionId sessionId, in doUnregisterPredictionUpdates() 248 private void doRequestPredictionUpdate(@NonNull AppPredictionSessionId sessionId) { in doRequestPredictionUpdate() 265 private void doDestroyPredictionSession(@NonNull AppPredictionSessionId sessionId) { in doDestroyPredictionSession() 277 public void onDestroyPredictionSession(@NonNull AppPredictionSessionId sessionId) {} in onDestroyPredictionSession() [all …]
|
/aosp14/frameworks/base/core/java/android/app/prediction/ |
H A D | IPredictionManager.aidl | 32 in AppPredictionSessionId sessionId, in IBinder token); in createPredictionSession() 34 void notifyAppTargetEvent(in AppPredictionSessionId sessionId, in AppTargetEvent event); in notifyAppTargetEvent() 36 void notifyLaunchLocationShown(in AppPredictionSessionId sessionId, in String launchLocation, in notifyLaunchLocationShown() 39 void sortAppTargets(in AppPredictionSessionId sessionId, in ParceledListSlice targets, in sortAppTargets() 42 void registerPredictionUpdates(in AppPredictionSessionId sessionId, in registerPredictionUpdates() 45 void unregisterPredictionUpdates(in AppPredictionSessionId sessionId, in unregisterPredictionUpdates() 48 void requestPredictionUpdate(in AppPredictionSessionId sessionId); in requestPredictionUpdate() 50 void onDestroyPredictionSession(in AppPredictionSessionId sessionId); in onDestroyPredictionSession()
|
/aosp14/frameworks/base/core/java/android/service/textclassifier/ |
H A D | ITextClassifierService.aidl | 38 in TextClassificationSessionId sessionId, in onSuggestSelection() 43 in TextClassificationSessionId sessionId, in onClassifyText() 48 in TextClassificationSessionId sessionId, in onGenerateLinks() 54 in TextClassificationSessionId sessionId, in onSelectionEvent() 58 in TextClassificationSessionId sessionId, in onTextClassifierEvent() 63 in TextClassificationSessionId sessionId); in onCreateTextClassificationSession() 66 in TextClassificationSessionId sessionId); in onDestroyTextClassificationSession() 69 in TextClassificationSessionId sessionId, in onDetectLanguage() 74 in TextClassificationSessionId sessionId, in onSuggestConversationActions()
|
/aosp14/frameworks/base/core/java/android/service/smartspace/ |
H A D | ISmartspaceService.aidl | 33 void onCreateSmartspaceSession(in SmartspaceConfig context, in SmartspaceSessionId sessionId); in onCreateSmartspaceSession() 35 void notifySmartspaceEvent(in SmartspaceSessionId sessionId, in SmartspaceTargetEvent event); in notifySmartspaceEvent() 37 void requestSmartspaceUpdate(in SmartspaceSessionId sessionId); in requestSmartspaceUpdate() 39 void registerSmartspaceUpdates(in SmartspaceSessionId sessionId, in registerSmartspaceUpdates() 42 void unregisterSmartspaceUpdates(in SmartspaceSessionId sessionId, in unregisterSmartspaceUpdates() 45 void onDestroySmartspaceSession(in SmartspaceSessionId sessionId); in onDestroySmartspaceSession()
|
H A D | SmartspaceService.java | 146 @NonNull SmartspaceSessionId sessionId) { in doCreateSmartspaceSession() 158 @NonNull SmartspaceSessionId sessionId); in onCreateSmartspaceSession() 164 public abstract void notifySmartspaceEvent(@NonNull SmartspaceSessionId sessionId, in notifySmartspaceEvent() 171 public abstract void onRequestSmartspaceUpdate(@NonNull SmartspaceSessionId sessionId); in onRequestSmartspaceUpdate() 173 private void doRegisterSmartspaceUpdates(@NonNull SmartspaceSessionId sessionId, in doRegisterSmartspaceUpdates() 193 private void doUnregisterSmartspaceUpdates(@NonNull SmartspaceSessionId sessionId, in doUnregisterSmartspaceUpdates() 208 private void doRequestPredictionUpdate(@NonNull SmartspaceSessionId sessionId) { in doRequestPredictionUpdate() 244 public abstract void onDestroySmartspaceSession(@NonNull SmartspaceSessionId sessionId); in onDestroySmartspaceSession() 246 private void doDestroy(@NonNull SmartspaceSessionId sessionId) { in doDestroy() 262 public final void updateSmartspaceTargets(@NonNull SmartspaceSessionId sessionId, in updateSmartspaceTargets() [all …]
|
/aosp14/frameworks/base/tests/StagedInstallTest/app/src/com/android/tests/stagedinstallinternal/ |
H A D | StagedInstallInternalTest.java | 187 int sessionId = retrieveLastSessionId(); in testDuplicateApkInApexShouldFail_Verify() local 204 int sessionId = retrieveLastSessionId(); in testSystemServerRestartDoesNotAffectStagedSessions_Verify() local 244 int sessionId = retrieveLastSessionId(); in testStagedSessionShouldCleanUpOnOnSuccess_Verify() local 278 int sessionId = retrieveLastSessionId(); in testFailStagedSessionIfStagingDirectoryDeleted_Verify() local 293 int sessionId = retrieveLastSessionId(); in testApexActivationFailureIsCapturedInSession_Verify() local 307 int sessionId = retrieveLastSessionId(); in testActiveApexIsRevertedOnCheckpointRollback_Commit() local 318 int sessionId = retrieveLastSessionId(); in testActiveApexIsRevertedOnCheckpointRollback_VerifyPostReboot() local 333 int sessionId = retrieveLastSessionId(); in testApexIsNotActivatedIfNotInCheckpointMode_VerifyPostReboot() local 426 int sessionId = in testVendorApexCorrectInstaller_staged() local 631 private static void assertSessionFailed(int sessionId) { in assertSessionFailed() [all …]
|
/ohos5.0/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/test/unittest/src/ |
H A D | object_store_test.cpp | 129 std::string sessionId = "123456"; variable 147 std::string sessionId = "123456"; variable 163 std::string sessionId = "123456"; variable 185 std::string sessionId = "123456"; variable 206 std::string sessionId = "123456"; variable 240 std::string sessionId = ""; variable 1223 std::string sessionId = ""; variable 1239 std::string sessionId = ""; variable 1253 std::string sessionId = ""; variable 1269 std::string sessionId = ""; variable [all …]
|
/aosp14/frameworks/base/core/java/android/app/smartspace/ |
H A D | ISmartspaceManager.aidl | 31 void createSmartspaceSession(in SmartspaceConfig config, in SmartspaceSessionId sessionId, in createSmartspaceSession() 34 void notifySmartspaceEvent(in SmartspaceSessionId sessionId, in SmartspaceTargetEvent event); in notifySmartspaceEvent() 36 void requestSmartspaceUpdate(in SmartspaceSessionId sessionId); in requestSmartspaceUpdate() 38 void registerSmartspaceUpdates(in SmartspaceSessionId sessionId, in registerSmartspaceUpdates() 41 void unregisterSmartspaceUpdates(in SmartspaceSessionId sessionId, in unregisterSmartspaceUpdates() 44 void destroySmartspaceSession(in SmartspaceSessionId sessionId); in destroySmartspaceSession()
|
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/demo/transport/ |
H A D | sendfile_demo.c | 44 static int OnSessionOpened(int sessionId, int result) in OnSessionOpened() 51 static void OnSessionClosed(int sessionId) in OnSessionClosed() 62 static int OnSendFileProcess(int sessionId, uint64_t bytesUpload, uint64_t bytesTotal) in OnSendFileProcess() 69 static int OnSendFileFinished(int sessionId, const char *firstFile) in OnSendFileFinished() 75 static void OnFileTransError(int sessionId) in OnFileTransError() 107 …int sessionId = OpenSession(g_sessionNameA, g_sessionNameB, g_networkidB, g_groupid, &g_sessionAtt… in main() local 140 static int OnSessionOpened(int sessionId, int result) in OnSessionOpened() 146 static void OnSessionClosed(int sessionId) in OnSessionClosed() 156 static int OnReceiveFileStarted(int sessionId, const char *files, int fileCnt) in OnReceiveFileStarted() 169 static void OnReceiveFileFinished(int sessionId, const char *files, int fileCnt) in OnReceiveFileFinished() [all …]
|
H A D | openauthsession_demo.c | 36 static int OnSessionOpened(int sessionId, int result) in OnSessionOpened() 43 static void OnSessionClosed(int sessionId) in OnSessionClosed() 49 static void OnBytesReceived(int sessionId, const void *data, unsigned int len) in OnBytesReceived() 55 static void OnMessageReceived(int sessionId, const void *data, unsigned int len) in OnMessageReceived() 81 int sessionId = OpenAuthSession(g_sessionNameA, &(g_addrInfo), 1, NULL); in main() local 104 static int OnSessionOpened(int sessionId, int result) in OnSessionOpened() 110 static void OnSessionClosed(int sessionId) in OnSessionClosed() 115 static void OnBytesReceived(int sessionId, const void *data, unsigned int len) in OnBytesReceived() 120 static void OnMessageReceived(int sessionId, const void *data, unsigned int len) in OnMessageReceived()
|
H A D | sendbytes_message_demo.c | 42 static int OnSessionOpened(int sessionId, int result) in OnSessionOpened() 49 static void OnSessionClosed(int sessionId) in OnSessionClosed() 55 static void OnBytesReceived(int sessionId, const void *data, unsigned int len) in OnBytesReceived() 61 static void OnMessageReceived(int sessionId, const void *data, unsigned int len) in OnMessageReceived() 89 …int sessionId = OpenSession(g_sessionNameA, g_sessionNameB, g_networkidB, g_groupid, &g_sessionAtt… in main() local 120 static int OnSessionOpened(int sessionId, int result) in OnSessionOpened() 126 static void OnSessionClosed(int sessionId) in OnSessionClosed() 131 static void OnBytesReceived(int sessionId, const void *data, unsigned int len) in OnBytesReceived() 136 static void OnMessageReceived(int sessionId, const void *data, unsigned int len) in OnMessageReceived()
|
/aosp14/frameworks/base/core/java/android/service/search/ |
H A D | ISearchUiService.aidl | 34 void onCreateSearchSession(in SearchContext context, in SearchSessionId sessionId); in onCreateSearchSession() 36 void onQuery(in SearchSessionId sessionId, in Query input, in ISearchCallback callback); in onQuery() 38 void onNotifyEvent(in SearchSessionId sessionId, in Query input, in SearchTargetEvent event); in onNotifyEvent() 40 …void onRegisterEmptyQueryResultUpdateCallback (in SearchSessionId sessionId, in ISearchCallback ca… in onRegisterEmptyQueryResultUpdateCallback() 42 …void onUnregisterEmptyQueryResultUpdateCallback(in SearchSessionId sessionId, in ISearchCallback c… in onUnregisterEmptyQueryResultUpdateCallback() 44 void onDestroy(in SearchSessionId sessionId); in onDestroy()
|
/aosp14/frameworks/base/core/java/android/content/pm/ |
H A D | IPackageInstallerCallback.aidl | 22 void onSessionCreated(int sessionId); in onSessionCreated() 24 void onSessionBadgingChanged(int sessionId); in onSessionBadgingChanged() 26 void onSessionActiveChanged(int sessionId, boolean active); in onSessionActiveChanged() 28 void onSessionProgressChanged(int sessionId, float progress); in onSessionProgressChanged() 30 void onSessionFinished(int sessionId, boolean success); in onSessionFinished()
|
/aosp14/frameworks/base/core/java/android/app/search/ |
H A D | ISearchUiManager.aidl | 32 void createSearchSession(in SearchContext context, in SearchSessionId sessionId, in createSearchSession() 35 void query(in SearchSessionId sessionId, in Query input, in ISearchCallback callback); in query() 37 void notifyEvent(in SearchSessionId sessionId, in Query input, in SearchTargetEvent event); in notifyEvent() 39 …void registerEmptyQueryResultUpdateCallback(in SearchSessionId sessionId, in ISearchCallback callb… in registerEmptyQueryResultUpdateCallback() 41 …void unregisterEmptyQueryResultUpdateCallback(in SearchSessionId sessionId, in ISearchCallback cal… in unregisterEmptyQueryResultUpdateCallback() 43 void destroySearchSession(in SearchSessionId sessionId); in destroySearchSession()
|
/ohos5.0/foundation/distributedhardware/distributed_input/services/sink/transport/src/ |
H A D | distributed_input_sink_transport.cpp | 91 int32_t sessionId = DistributedInputSinkSwitch::GetInstance().GetSwitchOpenedSession(); in ProcessEvent() local 133 const int32_t sessionId, std::string &smsg) in RespPrepareRemoteInput() 165 int32_t DistributedInputSinkTransport::RespStartRemoteInput(const int32_t sessionId, std::string &s… in RespStartRemoteInput() 181 int32_t DistributedInputSinkTransport::RespStopRemoteInput(const int32_t sessionId, std::string &sm… in RespStopRemoteInput() 197 int32_t DistributedInputSinkTransport::RespLatency(const int32_t sessionId, std::string &smsg) in RespLatency() 235 void DistributedInputSinkTransport::SendKeyStateNodeMsgBatch(const int32_t sessionId, in SendKeyStateNodeMsgBatch() 316 int32_t DistributedInputSinkTransport::SendMessage(int32_t sessionId, std::string &message) in SendMessage() 403 void DistributedInputSinkTransport::NotifyLatency(int32_t sessionId, const nlohmann::json &recMsg) in NotifyLatency() 574 …id DistributedInputSinkTransport::DInputTransbaseSinkListener::HandleSessionData(int32_t sessionId, in HandleSessionData() 580 void DistributedInputSinkTransport::HandleEventInner(int32_t sessionId, const nlohmann::json &recMs… in HandleEventInner() [all …]
|
/aosp14/frameworks/base/core/java/android/view/autofill/ |
H A D | IAutoFillManagerClient.aidl | 54 void autofillContent(int sessionId, in AutofillId id, in ClipData content); in autofillContent() 59 void authenticate(int sessionId, int authenticationId, in IntentSender intent, in authenticate() 66 void setTrackedViews(int sessionId, in @nullable AutofillId[] savableIds, in setTrackedViews() 73 void requestShowFillUi(int sessionId, in AutofillId id, int width, int height, in requestShowFillUi() 79 void requestHideFillUi(int sessionId, in AutofillId id); in requestHideFillUi() 84 void requestHideFillUiWhenDestroyed(int sessionId, in AutofillId id); in requestHideFillUiWhenDestroyed() 90 void notifyNoFillUi(int sessionId, in AutofillId id, int sessionFinishedState); in notifyNoFillUi() 95 void notifyFillUiShown(int sessionId, in AutofillId id); in notifyFillUiShown() 102 void notifyFillUiHidden(int sessionId, in AutofillId id); in notifyFillUiHidden() 109 void dispatchUnhandledKey(int sessionId, in AutofillId id, in KeyEvent keyEvent); in dispatchUnhandledKey() [all …]
|
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/session/ |
H A D | client_trans_session_test.cpp | 109 static int OnSessionOpened(int sessionId, int result) in OnSessionOpened() 115 static void OnSessionClosed(int sessionId) in OnSessionClosed() 120 static void OnBytesReceived(int sessionId, const void *data, unsigned int len) in OnBytesReceived() 140 static int OnSessionOpenedErr(int sessionId, int result) in OnSessionOpenedErr() 163 void OnFileTransError(int sessionId) in OnFileTransError() 174 int OnSendFileFinished(int sessionId, const char *firstFile) in OnSendFileFinished() 266 int32_t sessionId = 0; in AddSessionServerAndSession() local 393 int32_t sessionId = 0; variable 533 int32_t sessionId = 0; variable 569 int32_t sessionId = 0; variable [all …]
|
/ohos5.0/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/src/adaptor/ |
H A D | flat_object_store.cpp | 54 uint32_t FlatObjectStore::CreateObject(const std::string &sessionId) in CreateObject() 77 void FlatObjectStore::ResumeObject(const std::string &sessionId) in ResumeObject() 102 void FlatObjectStore::SubscribeDataChange(const std::string &sessionId) in SubscribeDataChange() 127 uint32_t FlatObjectStore::Delete(const std::string &sessionId) in Delete() 156 uint32_t FlatObjectStore::UnWatch(const std::string &sessionId) in UnWatch() 196 uint32_t FlatObjectStore::Save(const std::string &sessionId, const std::string &deviceId) in Save() 214 uint32_t FlatObjectStore::RevokeSave(const std::string &sessionId) in RevokeSave() 240 void FlatObjectStore::CheckRetrieveCache(const std::string &sessionId) in CheckRetrieveCache() 250 void FlatObjectStore::FilterData(const std::string &sessionId, in FilterData() 336 uint32_t FlatObjectStore::PutComplex(const std::string &sessionId, const std::string &key, in PutComplex() [all …]
|
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/session/cpp/src/ |
H A D | session_mock.cpp | 48 void CloseSessionInner(int sessionId) in CloseSessionInner() 63 int32_t SendBytesInner(int32_t sessionId, const void *data, uint32_t len) in SendBytesInner() 68 int32_t GetPeerUidInner(int32_t sessionId, int *data) in GetPeerUidInner() 73 int32_t GetPeerPidInner(int32_t sessionId, int *data) in GetPeerPidInner() 78 int32_t IsServerSideInner(int32_t sessionId, int *data) in IsServerSideInner() 83 int32_t GetMySessionNameInner(int32_t sessionId, char *data, uint16_t len) in GetMySessionNameInner() 88 int32_t GetPeerSessionNameInner(int32_t sessionId, char *data, uint16_t len) in GetPeerSessionNameInner() 93 int32_t GetPeerDeviceIdInner(int32_t sessionId, char *data, uint16_t len) in GetPeerDeviceIdInner() 98 int32_t GetPkgNameInner(int32_t sessionId, char *data, uint16_t len) in GetPkgNameInner()
|
/ohos5.0/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/network/softbus/ |
H A D | softbus_file_send_listener.cpp | 54 std::string SoftBusFileSendListener::GetLocalSessionName(int32_t sessionId) in GetLocalSessionName() 61 void SoftBusFileSendListener::OnSendFileProcess(int32_t sessionId, uint64_t bytesUpload, uint64_t b… in OnSendFileProcess() 67 void SoftBusFileSendListener::OnSendFileFinished(int32_t sessionId) in OnSendFileFinished() 78 void SoftBusFileSendListener::OnFileTransError(int32_t sessionId, int32_t errorCode) in OnFileTransError() 89 void SoftBusFileSendListener::OnSendFileReport(int32_t sessionId, FileStatusList statusList, int32_… in OnSendFileReport() 94 void SoftBusFileSendListener::OnSendFileShutdown(int32_t sessionId, ShutdownReason reason) in OnSendFileShutdown()
|
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/fuzztest/clienttranssessionmanager_fuzzer/ |
H A D | clienttranssessionmanager_fuzzer.cpp | 24 static int OnSessionOpened(int sessionId, int result) in OnSessionOpened() 28 static void OnSessionClosed(int sessionId) {} in OnSessionClosed() 30 static void OnBytesReceived(int sessionId, const void* data, unsigned int len) {} in OnBytesReceived() 57 int32_t sessionId; in ClientAddAuthSessionTest() local 66 int32_t sessionId = *(reinterpret_cast<const int32_t*>(data)); in ClientDeleteSessionTest() local 75 int32_t sessionId = *(reinterpret_cast<const int32_t*>(data)); in ClientGetSessionDataTest() local 88 int32_t sessionId = *(reinterpret_cast<const int32_t*>(data)); in ClientSetChannelBySessionIdTest() local 102 int32_t sessionId = *(reinterpret_cast<const int32_t*>(data)); in ClientGetSessionCallbackTest() local 133 int32_t sessionId = *(reinterpret_cast<const int32_t*>(data)); in ClientGetFileConfigInfoByIdTest() local 156 int32_t sessionId; in ClientGetSessionIdByChannelIdTest() local [all …]
|
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/tcp_direct/ |
H A D | trans_session_test.cpp | 74 static void OnSessionClosed(int sessionId) in OnSessionClosed() 93 int32_t sessionId = 1; variable 119 int32_t sessionId = 1; variable 136 int32_t sessionId = 1; variable 155 int32_t sessionId = 1; variable 185 int32_t sessionId = 1; variable 235 int32_t sessionId = 1; variable 247 int32_t sessionId = 1; variable 284 int32_t sessionId = INVALID_SESSION_ID; variable 301 int32_t sessionId = 1; variable [all …]
|
/ohos5.0/foundation/distributedhardware/distributed_input/services/source/transport/test/sourcetransunittest/ |
H A D | distributed_input_sourcetrans_test.cpp | 86 int32_t sessionId = 1; variable 285 int32_t sessionId = 2; variable 295 int32_t sessionId = 2; variable 305 int32_t sessionId = 2; variable 316 int32_t sessionId = 2; variable 424 int32_t sessionId = 2; variable 488 int32_t sessionId = 0; variable 500 int32_t sessionId = 0; variable 512 int32_t sessionId = 0; variable 531 int32_t sessionId = 0; variable [all …]
|