/foundation/multimedia/av_session/services/session/server/test/ |
H A D | avsession_service_proxy_test.cpp | 59 * @tc.desc: Test GetAllSessionDescriptors 94 ret = avSessionServiceProxy->GetAllSessionDescriptors(descriptors); in HWTEST_F()
|
H A D | avsession_service_stub_test.cpp | 103 int32_t GetAllSessionDescriptors(std::vector<AVSessionDescriptor> &descriptors) override { return 0; };
|
H A D | avsession_service_stub_permission_test.cpp | 106 int32_t GetAllSessionDescriptors(std::vector<AVSessionDescriptor> &descriptors) override { return 0; };
|
/foundation/multimedia/av_session/frameworks/native/session/src/ |
H A D | avsession_manager_impl.cpp | 123 int32_t AVSessionManagerImpl::GetAllSessionDescriptors(std::vector<AVSessionDescriptor>& descriptors) in GetAllSessionDescriptors() function in OHOS::AVSession::AVSessionManagerImpl 126 return service ? service->GetAllSessionDescriptors(descriptors) : ERR_SERVICE_NOT_EXIST; in GetAllSessionDescriptors() 132 int32_t ret = GetAllSessionDescriptors(descriptors); in GetActivatedSessionDescriptors() 133 CHECK_AND_RETURN_RET_LOG(ret == AVSESSION_SUCCESS, ret, "GetAllSessionDescriptors failed"); in GetActivatedSessionDescriptors()
|
/foundation/multimedia/av_session/interfaces/inner_api/native/session/include/ |
H A D | avsession_manager.h | 76 virtual int32_t GetAllSessionDescriptors(std::vector<AVSessionDescriptor>& descriptors) = 0;
|
/foundation/multimedia/av_session/services/session/ipc/base/ |
H A D | iavsession_service.h | 46 virtual int32_t GetAllSessionDescriptors(std::vector<AVSessionDescriptor>& descriptors) = 0;
|
/foundation/multimedia/av_session/services/session/server/remote/ |
H A D | remote_session_command_process.h | 42 int32_t GetAllSessionDescriptors(std::vector<AVSessionDescriptor>& descriptors) override
|
/foundation/multimedia/av_session/frameworks/native/session/test/benchmarktest/avsession_manager_test/ |
H A D | avsession_manager_test.cpp | 113 * @tc.name: GetAllSessionDescriptors 118 BENCHMARK_F(AVSessionManagerTest, GetAllSessionDescriptors)(benchmark::State& state) in BENCHMARK_F() 120 SLOGI("BenchMark GetAllSessionDescriptors test begin"); in BENCHMARK_F() 133 auto errCode = AVSessionManager::GetInstance().GetAllSessionDescriptors(descriptors); in BENCHMARK_F() 135 SLOGE("%{public}s error, failed to GetAllSessionDescriptors, error code is %{public}d.", __func__, errCode); in BENCHMARK_F() 136 state.SkipWithError("GetAllSessionDescriptors failed, return error."); in BENCHMARK_F() 142 SLOGI("BenchMark GetAllSessionDescriptors test end"); in BENCHMARK_F()
|
/foundation/multimedia/av_session/services/session/ipc/proxy/ |
H A D | avsession_service_proxy.h | 46 int32_t GetAllSessionDescriptors(std::vector<AVSessionDescriptor>& descriptors) override;
|
H A D | avsession_service_proxy.cpp | 99 int32_t AVSessionServiceProxy::GetAllSessionDescriptors(std::vector<AVSessionDescriptor>& descriptors) in GetAllSessionDescriptors() function in OHOS::AVSession::AVSessionServiceProxy
|
/foundation/multimedia/av_session/frameworks/native/session/include/ |
H A D | avsession_manager_impl.h | 44 int32_t GetAllSessionDescriptors(std::vector<AVSessionDescriptor>& descriptors) override;
|
/foundation/multimedia/av_session/frameworks/native/session/test/unittest/ |
H A D | avsession_permission_test.cpp | 150 auto ret = AVSessionManager::GetInstance().GetAllSessionDescriptors(descriptors); in HWTEST_F() 294 auto ret = AVSessionManager::GetInstance().GetAllSessionDescriptors(descriptors); in HWTEST_F()
|
H A D | avsession_manager_test.cpp | 257 auto ret = AVSessionManager::GetInstance().GetAllSessionDescriptors(descriptors); in HWTEST_F() 269 ret = AVSessionManager::GetInstance().GetAllSessionDescriptors(descriptors); in HWTEST_F() 272 SLOGI("GetAllSessionDescriptors need session in sessionListForFront"); in HWTEST_F()
|
/foundation/multimedia/av_session/frameworks/native/session/test/fuzztest/avsessionmanager_fuzzer/ |
H A D | avsessionmanager_fuzzer.cpp | 137 avSessionManagerImpl.GetAllSessionDescriptors(descriptors); in AVSessionManagerTestClient()
|
/foundation/multimedia/av_session/frameworks/js/napi/session/include/ |
H A D | napi_avsession_manager.h | 38 static napi_value GetAllSessionDescriptors(napi_env env, napi_callback_info info);
|
/foundation/multimedia/av_session/services/session/server/migrate/ |
H A D | migrate_avsession_server.cpp | 59 auto res = servicePtr_->GetAllSessionDescriptors(descriptors);
in ObserveControllerChanged() 61 SLOGW("GetAllSessionDescriptors fail");
in ObserveControllerChanged() 388 auto res = servicePtr_->GetAllSessionDescriptors(descriptors);
in GetBundleName() 390 SLOGW("GetAllSessionDescriptors fail");
in GetBundleName()
|
/foundation/multimedia/av_session/frameworks/native/session/test/fuzztest/avsessionserviceproxy_fuzzer/ |
H A D | avsessionserviceproxy_fuzzer.cpp | 59 avServiceProxy->GetAllSessionDescriptors(descriptors); in FuzzDoProxyTaskOne()
|
/foundation/multimedia/av_session/frameworks/js/napi/session/src/ |
H A D | napi_avsession_manager.cpp | 87 DECLARE_NAPI_STATIC_FUNCTION("getAllSessionDescriptors", GetAllSessionDescriptors), in Init() 172 napi_value NapiAVSessionManager::GetAllSessionDescriptors(napi_env env, napi_callback_info info) in GetAllSessionDescriptors() function in OHOS::AVSession::NapiAVSessionManager 181 int32_t ret = AVSessionManager::GetInstance().GetAllSessionDescriptors(context->descriptors_); in GetAllSessionDescriptors() 184 context->errMessage = "GetAllSessionDescriptors failed : native no permission"; in GetAllSessionDescriptors() 186 context->errMessage = "GetAllSessionDescriptors failed : native permission denied"; in GetAllSessionDescriptors() 188 context->errMessage = "GetAllSessionDescriptors failed : native server exception"; in GetAllSessionDescriptors() 201 return NapiAsyncWork::Enqueue(env, context, "GetAllSessionDescriptors", executor, complete); in GetAllSessionDescriptors()
|
/foundation/multimedia/av_session/services/session/server/ |
H A D | avsession_service.h | 161 int32_t GetAllSessionDescriptors(std::vector<AVSessionDescriptor>& descriptors) override;
|
H A D | avsession_service.cpp | 1270 int32_t AVSessionService::GetAllSessionDescriptors(std::vector<AVSessionDescriptor>& descriptors) in GetAllSessionDescriptors() function in OHOS::AVSession::AVSessionService 1280 SLOGI("GetAllSessionDescriptors with size=%{public}d, topSession:%{public}s", in GetAllSessionDescriptors() 1593 SLOGE("GetAllSessionDescriptors read sort fail! "); in StartDefaultAbilityByCall() 2874 GetAllSessionDescriptors(activeDescriptors); in NotifyDeviceChange()
|
/foundation/multimedia/av_session/services/session/ipc/stub/ |
H A D | avsession_service_stub.cpp | 87 SLOGE("GetAllSessionDescriptors: CheckPermission failed"); in HandleGetAllSessionDescriptors() 94 int32_t ret = GetAllSessionDescriptors(descriptors); in HandleGetAllSessionDescriptors()
|
/foundation/multimedia/av_session/services/session/server/test/fuzztest/avsessionservice_fuzzer/ |
H A D | avsessionservice_fuzzer.cpp | 206 service->GetAllSessionDescriptors(descriptors); in AvSessionServiceGetDescriptorsTest()
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_tg/ |
H A D | avrcp_tg_service.cpp | 608 res = OHOS::AVSession::AVSessionManager::GetInstance().GetAllSessionDescriptors(avSessionDescriptor_); in RegisterAvSessionControl() 610 HILOGE("GetAllSessionDescriptors fail"); in RegisterAvSessionControl()
|