/foundation/arkui/ace_engine_lite/frameworks/src/core/directive/ |
H A D | descriptor_utils.cpp | 29 const char * const DescriptorUtils::WATCHER_OPTION_DESCRIPTOR = "descriptor"; 41 JSValue DescriptorUtils::CreateDescriptorWatcher(JSValue element, JSValue descriptor) in CreateDescriptorWatcher() argument 43 JSValue getter = JSObject::Get(descriptor, DESCRIPTOR_ATTR_GETTER); in CreateDescriptorWatcher() 47 // We should know which descriptor condition is changed. in CreateDescriptorWatcher() 48 JSObject::Set(options, WATCHER_OPTION_DESCRIPTOR, descriptor); in CreateDescriptorWatcher() 57 bool DescriptorUtils::IsIfDescriptor(JSValue descriptor) in IsIfDescriptor() argument 59 return IsDescriptor(DESCRIPTOR_ATTR_IF, descriptor); in IsIfDescriptor() 62 bool DescriptorUtils::IsForDescriptor(JSValue descriptor) in IsForDescriptor() argument 64 return IsDescriptor(DESCRIPTOR_ATTR_FOR, descriptor); in IsForDescriptor() 67 bool DescriptorUtils::IsIfDescriptorShown(JSValue descriptor) in IsIfDescriptorShown() argument 77 RenderIfDescriptor(JSValue descriptor) RenderIfDescriptor() argument 86 RenderForDescriptor(JSValue descriptor) RenderForDescriptor() argument 107 GetDescriptorRendered(JSValue descriptor) GetDescriptorRendered() argument 112 DelIfDescriptorRendered(JSValue descriptor) DelIfDescriptorRendered() argument 125 DelForDescriptorRendered(JSValue descriptor) DelForDescriptorRendered() argument 161 ReleaseForDescriptor(JSValue descriptor) ReleaseForDescriptor() argument 170 ReleaseIfDescriptor(JSValue descriptor) ReleaseIfDescriptor() argument 225 JSValue descriptor = JSObject::Create(); CreateDescriptor() local 236 IsDescriptor(const char * const type, JSValue descriptor) IsDescriptor() argument [all...] |
H A D | descriptor_utils.h | 31 * @brief Create a descriptor object of if directive, which like { if: true, getter, render }. 34 * @return The descriptor object of if directive. 39 * @brief Create a descriptor object of for directive, which like { for: true, getter, render }. 42 * @return The descriptor object of for directive. 47 * @brief Create a descriptor watcher. 48 * @param element The parent element of descriptor object. 49 * @param descriptor The descriptor object. 50 * @return The descriptor watcher instance. 52 static JSValue CreateDescriptorWatcher(JSValue element, JSValue descriptor); [all...] |
/foundation/multimedia/av_session/services/session/server/test/ |
H A D | remote_utils_test.cpp | 55 AVSessionDescriptor descriptor; in HWTEST_F() local 58 descriptor.sessionId_ = "123"; in HWTEST_F() 59 descriptor.sessionType_ = AVSession::SESSION_TYPE_AUDIO; in HWTEST_F() 60 descriptor.elementName_.SetBundleName("test.ohos.avsession"); in HWTEST_F() 61 descriptor.elementName_.SetAbilityName("test.ability"); in HWTEST_F() 62 descriptor.sessionTag_ = "tag"; in HWTEST_F() 63 descriptor.isThirdPartyApp_ = false; in HWTEST_F() 65 EXPECT_EQ(JsonUtils::SetSessionDescriptor(sessionInfo, descriptor), AVSESSION_SUCCESS); in HWTEST_F() 80 AVSessionDescriptor descriptor; in HWTEST_F() local 83 descriptor in HWTEST_F() 105 AVSessionDescriptor descriptor; HWTEST_F() local [all...] |
H A D | bkgr_audio_controller_test.cpp | 50 * @tc.desc: descriptor.isThirdPartyApp_ = false 57 AVSessionDescriptor descriptor; in HWTEST() local 58 descriptor.isThirdPartyApp_ = false; in HWTEST() 60 bkgraudiocontroller.OnSessionRelease(descriptor); in HWTEST() 61 EXPECT_EQ(descriptor.isThirdPartyApp_, false); in HWTEST() 67 * @tc.desc: descriptor.isThirdPartyApp_ = true&&descriptor.uid_ = -1 74 AVSessionDescriptor descriptor; in HWTEST() local 75 descriptor.isThirdPartyApp_ = true; in HWTEST() 76 descriptor in HWTEST() 92 AVSessionDescriptor descriptor; HWTEST() local [all...] |
/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/test/unittest/ |
H A D | utd_client_test.cpp | 69 std::shared_ptr<TypeDescriptor> descriptor; in HWTEST_F() local 71 auto status = UtdClient::GetInstance().GetTypeDescriptor(typeId, descriptor); in HWTEST_F() 73 EXPECT_EQ(descriptor->GetTypeId(), typeId); in HWTEST_F() 74 EXPECT_EQ(*(descriptor->GetBelongingToTypes().begin()), "general.ebook"); in HWTEST_F() 75 EXPECT_EQ(descriptor->GetDescription(), "AZW3 ebook."); in HWTEST_F() 76 EXPECT_EQ(descriptor->GetIconFile(), ""); in HWTEST_F() 77 EXPECT_EQ(*(descriptor->GetFilenameExtensions().begin()), ".azw3"); in HWTEST_F() 78 EXPECT_EQ(*(descriptor->GetMimeTypes().begin()), "application/vnd.amazon.mobi8-ebook"); in HWTEST_F() 91 std::shared_ptr<TypeDescriptor> descriptor; in HWTEST_F() local 93 auto status = UtdClient::GetInstance().GetTypeDescriptor(typeId, descriptor); in HWTEST_F() 108 std::shared_ptr<TypeDescriptor> descriptor; HWTEST_F() local 125 std::shared_ptr<TypeDescriptor> descriptor; HWTEST_F() local 145 std::shared_ptr<TypeDescriptor> descriptor; HWTEST_F() local 162 std::shared_ptr<TypeDescriptor> descriptor; HWTEST_F() local 314 std::shared_ptr<TypeDescriptor> descriptor; HWTEST_F() local 438 std::shared_ptr<TypeDescriptor> descriptor; HWTEST_F() local 459 std::shared_ptr<TypeDescriptor> descriptor; HWTEST_F() local 479 std::shared_ptr<TypeDescriptor> descriptor; HWTEST_F() local 499 std::shared_ptr<TypeDescriptor> descriptor; HWTEST_F() local 519 std::shared_ptr<TypeDescriptor> descriptor; HWTEST_F() local 539 std::shared_ptr<TypeDescriptor> descriptor; HWTEST_F() local 559 std::shared_ptr<TypeDescriptor> descriptor; HWTEST_F() local 579 std::shared_ptr<TypeDescriptor> descriptor; HWTEST_F() local 599 std::shared_ptr<TypeDescriptor> descriptor; HWTEST_F() local 619 std::shared_ptr<TypeDescriptor> descriptor; HWTEST_F() local 639 std::shared_ptr<TypeDescriptor> descriptor; HWTEST_F() local 659 std::shared_ptr<TypeDescriptor> descriptor; HWTEST_F() local 679 std::shared_ptr<TypeDescriptor> descriptor; HWTEST_F() local 699 std::shared_ptr<TypeDescriptor> descriptor; HWTEST_F() local 761 std::shared_ptr<TypeDescriptor> descriptor; HWTEST_F() local 783 std::shared_ptr<TypeDescriptor> descriptor; HWTEST_F() local 805 std::shared_ptr<TypeDescriptor> descriptor; HWTEST_F() local 827 std::shared_ptr<TypeDescriptor> descriptor; HWTEST_F() local 849 std::shared_ptr<TypeDescriptor> descriptor; HWTEST_F() local 878 std::shared_ptr<TypeDescriptor> descriptor; HWTEST_F() local 953 std::shared_ptr<TypeDescriptor> descriptor; HWTEST_F() local 986 std::shared_ptr<TypeDescriptor> descriptor; HWTEST_F() local 1018 std::shared_ptr<TypeDescriptor> descriptor; HWTEST_F() local 1084 std::shared_ptr<TypeDescriptor> descriptor; HWTEST_F() local 1116 std::shared_ptr<TypeDescriptor> descriptor; HWTEST_F() local 1148 std::shared_ptr<TypeDescriptor> descriptor; HWTEST_F() local 1215 std::shared_ptr<TypeDescriptor> descriptor; HWTEST_F() local 1405 std::shared_ptr<TypeDescriptor> descriptor; HWTEST_F() local 1434 std::shared_ptr<TypeDescriptor> descriptor; HWTEST_F() local 1547 std::shared_ptr<TypeDescriptor> descriptor; HWTEST_F() local 1742 std::shared_ptr<TypeDescriptor> descriptor = nullptr; HWTEST_F() local [all...] |
/foundation/resourceschedule/resource_schedule_service/ressched/sched_controller/observer/src/ |
H A D | av_session_state_listener.cpp | 24 void AvSessionStateListener::MarshallingAVSessionDescriptor(const AVSession::AVSessionDescriptor& descriptor, in MarshallingAVSessionDescriptor() argument 27 payload["sessionId_"] = descriptor.sessionId_; in MarshallingAVSessionDescriptor() 28 payload["pid_"] = descriptor.pid_; in MarshallingAVSessionDescriptor() 29 payload["uid_"] = descriptor.uid_; in MarshallingAVSessionDescriptor() 32 void AvSessionStateListener::OnSessionCreate(const AVSession::AVSessionDescriptor& descriptor) in OnSessionCreate() argument 36 MarshallingAVSessionDescriptor(descriptor, payload); in OnSessionCreate() 40 void AvSessionStateListener::OnSessionRelease(const AVSession::AVSessionDescriptor& descriptor) in OnSessionRelease() argument 44 MarshallingAVSessionDescriptor(descriptor, payload); in OnSessionRelease() 48 void AvSessionStateListener::OnTopSessionChange(const AVSession::AVSessionDescriptor& descriptor) in OnTopSessionChange() argument 52 MarshallingAVSessionDescriptor(descriptor, payloa in OnTopSessionChange() [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_resource_test/ |
H A D | bms_bundle_mgr_host_unit_test.cpp | 54 std::u16string descriptor = BundleMgrHost::GetDescriptor(); in HWTEST_F() local 55 data.WriteInterfaceToken(descriptor); in HWTEST_F() 72 std::u16string descriptor = BundleMgrHost::GetDescriptor(); in HWTEST_F() local 73 data.WriteInterfaceToken(descriptor); in HWTEST_F() 90 std::u16string descriptor = BundleMgrHost::GetDescriptor(); in HWTEST_F() local 91 data.WriteInterfaceToken(descriptor); in HWTEST_F() 108 std::u16string descriptor = BundleMgrHost::GetDescriptor(); in HWTEST_F() local 109 data.WriteInterfaceToken(descriptor); in HWTEST_F() 126 std::u16string descriptor = BundleMgrHost::GetDescriptor(); in HWTEST_F() local 127 data.WriteInterfaceToken(descriptor); in HWTEST_F() 144 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 162 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 180 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 198 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 216 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 234 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 252 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 270 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 288 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 306 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 324 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 342 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 360 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 378 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 396 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 414 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 432 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 450 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 468 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 486 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 504 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 522 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 540 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 558 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 576 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 594 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 612 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 630 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 648 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 666 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 684 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 702 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 720 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 738 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 756 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 774 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 792 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 810 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 828 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 846 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 864 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 882 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 900 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 918 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 936 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 954 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 972 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 990 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1008 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1026 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1044 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1062 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1080 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1098 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1116 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1134 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1152 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1170 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1188 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1206 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1224 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1242 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1260 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1278 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1296 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1314 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1332 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1350 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1368 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1386 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1404 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1422 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1440 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1458 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1476 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1494 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1512 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1530 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1548 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1566 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1584 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1602 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1620 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1638 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1656 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1674 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1692 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1710 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1728 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1746 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1764 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1782 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1801 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1820 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1838 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1856 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1874 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1893 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1912 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1930 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1948 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1966 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 1984 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2003 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2022 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2040 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2058 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2076 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2094 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2112 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2130 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2148 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2166 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2184 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2202 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2220 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2238 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2256 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2274 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2292 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2310 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2328 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2346 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2364 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2382 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2400 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2418 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2436 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2454 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2472 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2490 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2508 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2526 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2544 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2562 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2580 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2598 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2616 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2634 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2652 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2670 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2688 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2706 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2724 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2742 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2760 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2778 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2796 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2814 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2832 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2850 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2868 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2886 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2904 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2922 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2940 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2958 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2976 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 2994 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local 3012 std::u16string descriptor = BundleMgrHost::GetDescriptor(); HWTEST_F() local [all...] |
/foundation/CastEngine/castengine_wifi_display/services/common/ |
H A D | reflect_registration.cpp | 22 std::shared_ptr<void> ReflectRegistration::CreateObject(const std::string &descriptor) in CreateObject() argument 25 if (creators_.find(descriptor) == creators_.end()) { in CreateObject() 29 return creators_[descriptor](); in CreateObject() 32 bool ReflectRegistration::Register(const std::string &descriptor, Constructor creator) in Register() argument 34 if (descriptor.empty()) { in Register() 39 auto it = creators_.find(descriptor); in Register() 41 return creators_.insert({descriptor, creator}).second; in Register() 47 void ReflectRegistration::Unregister(const std::string &descriptor) in Unregister() argument 50 if (!descriptor.empty()) { in Unregister() 51 auto it = creators_.find(descriptor); in Unregister() [all...] |
/foundation/multimedia/av_session/frameworks/native/session/test/fuzztest/avsessionmanager_fuzzer/ |
H A D | avsessionmanager_fuzzer.h | 29 void OnSessionCreate(const AVSessionDescriptor &descriptor) override 31 SLOGI("sessionId=%{public}s created", descriptor.sessionId_.c_str()); 32 descriptor_ = descriptor; 35 void OnSessionRelease(const AVSessionDescriptor &descriptor) override 37 SLOGI("sessionId=%{public}s released", descriptor.sessionId_.c_str()); 38 descriptor_ = descriptor; 41 void OnTopSessionChange(const AVSessionDescriptor &descriptor) override 43 SLOGI("sessionId=%{public}s be top session", descriptor.sessionId_.c_str());
|
/foundation/communication/netstack/utils/http_over_curl/include/ |
H A D | epoller.h | 42 void RegisterMe(FileDescriptor descriptor) const in RegisterMe() 44 RegisterMe(descriptor, EPOLLIN); in RegisterMe() 47 void RegisterMe(FileDescriptor descriptor, uint32_t flags) const in RegisterMe() 51 ev.data.fd = descriptor; in RegisterMe() 52 epoll_ctl(underlying_, EPOLL_CTL_ADD, descriptor, &ev); in RegisterMe() 55 void UnregisterMe(FileDescriptor descriptor) const in UnregisterMe() 57 if (descriptor) { in UnregisterMe() 58 epoll_ctl(underlying_, EPOLL_CTL_DEL, descriptor, nullptr); in UnregisterMe()
|
/foundation/multimedia/audio_framework/frameworks/native/ohaudio/test/unittest/oh_audio_device_change_test/src/ |
H A D | oh_audio_device_change_unit_test.cpp | 386 OH_AudioDeviceDescriptor *descriptor = array->descriptors[i]; in HWTEST() local 387 EXPECT_NE(descriptor, nullptr); in HWTEST() 389 result = OH_AudioDeviceDescriptor_GetDeviceType(descriptor, &deviceType); in HWTEST() 419 OH_AudioDeviceDescriptor *descriptor = array->descriptors[i]; in HWTEST() local 420 EXPECT_NE(descriptor, nullptr); in HWTEST() 422 result = OH_AudioDeviceDescriptor_GetDeviceType(descriptor, &deviceType); in HWTEST() 452 OH_AudioDeviceDescriptor *descriptor = array->descriptors[i]; in HWTEST() local 453 EXPECT_NE(descriptor, nullptr); in HWTEST() 455 result = OH_AudioDeviceDescriptor_GetDeviceType(descriptor, &deviceType); in HWTEST() 485 OH_AudioDeviceDescriptor *descriptor in HWTEST() local 501 OH_AudioDeviceDescriptor *descriptor = nullptr; HWTEST() local 528 OH_AudioDeviceDescriptor *descriptor = array->descriptors[i]; HWTEST() local 561 OH_AudioDeviceDescriptor *descriptor = array->descriptors[i]; HWTEST() local 594 OH_AudioDeviceDescriptor *descriptor = array->descriptors[i]; HWTEST() local 627 OH_AudioDeviceDescriptor *descriptor = array->descriptors[i]; HWTEST() local 643 OH_AudioDeviceDescriptor *descriptor = nullptr; HWTEST() local 670 OH_AudioDeviceDescriptor *descriptor = array->descriptors[i]; HWTEST() local 703 OH_AudioDeviceDescriptor *descriptor = array->descriptors[i]; HWTEST() local 736 OH_AudioDeviceDescriptor *descriptor = array->descriptors[i]; HWTEST() local 769 OH_AudioDeviceDescriptor *descriptor = array->descriptors[i]; HWTEST() local 785 OH_AudioDeviceDescriptor *descriptor = nullptr; HWTEST() local 812 OH_AudioDeviceDescriptor *descriptor = array->descriptors[i]; HWTEST() local 845 OH_AudioDeviceDescriptor *descriptor = array->descriptors[i]; HWTEST() local 878 OH_AudioDeviceDescriptor *descriptor = array->descriptors[i]; HWTEST() local 911 OH_AudioDeviceDescriptor *descriptor = array->descriptors[i]; HWTEST() local 927 OH_AudioDeviceDescriptor *descriptor = nullptr; HWTEST() local 954 OH_AudioDeviceDescriptor *descriptor = array->descriptors[i]; HWTEST() local 987 OH_AudioDeviceDescriptor *descriptor = array->descriptors[i]; HWTEST() local 1020 OH_AudioDeviceDescriptor *descriptor = array->descriptors[i]; HWTEST() local 1053 OH_AudioDeviceDescriptor *descriptor = array->descriptors[i]; HWTEST() local 1069 OH_AudioDeviceDescriptor *descriptor = nullptr; HWTEST() local 1096 OH_AudioDeviceDescriptor *descriptor = array->descriptors[i]; HWTEST() local 1130 OH_AudioDeviceDescriptor *descriptor = array->descriptors[i]; HWTEST() local 1164 OH_AudioDeviceDescriptor *descriptor = array->descriptors[i]; HWTEST() local 1198 OH_AudioDeviceDescriptor *descriptor = array->descriptors[i]; HWTEST() local 1228 OH_AudioDeviceDescriptor *descriptor = array->descriptors[i]; HWTEST() local 1245 OH_AudioDeviceDescriptor *descriptor = nullptr; HWTEST() local 1273 OH_AudioDeviceDescriptor *descriptor = array->descriptors[i]; HWTEST() local 1307 OH_AudioDeviceDescriptor *descriptor = array->descriptors[i]; HWTEST() local 1341 OH_AudioDeviceDescriptor *descriptor = array->descriptors[i]; HWTEST() local 1375 OH_AudioDeviceDescriptor *descriptor = array->descriptors[i]; HWTEST() local 1405 OH_AudioDeviceDescriptor *descriptor = array->descriptors[i]; HWTEST() local 1422 OH_AudioDeviceDescriptor *descriptor = nullptr; HWTEST() local 1451 OH_AudioDeviceDescriptor *descriptor = array->descriptors[i]; HWTEST() local 1484 OH_AudioDeviceDescriptor *descriptor = array->descriptors[i]; HWTEST() local 1517 OH_AudioDeviceDescriptor *descriptor = array->descriptors[i]; HWTEST() local 1550 OH_AudioDeviceDescriptor *descriptor = array->descriptors[i]; HWTEST() local 1566 OH_AudioDeviceDescriptor *descriptor = nullptr; HWTEST() local 1593 OH_AudioDeviceDescriptor *descriptor = array->descriptors[i]; HWTEST() local 1627 OH_AudioDeviceDescriptor *descriptor = array->descriptors[i]; HWTEST() local 1661 OH_AudioDeviceDescriptor *descriptor = array->descriptors[i]; HWTEST() local 1695 OH_AudioDeviceDescriptor *descriptor = array->descriptors[i]; HWTEST() local 1725 OH_AudioDeviceDescriptor *descriptor = array->descriptors[i]; HWTEST() local 1742 OH_AudioDeviceDescriptor *descriptor = nullptr; HWTEST() local [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/ |
H A D | bms_bundle_installer_ipc_test.cpp | 523 std::u16string descriptor = BundleInstallerHost::GetDescriptor();
in HWTEST_F() local 524 datas.WriteInterfaceToken(descriptor);
in HWTEST_F() 544 std::u16string descriptor = BundleInstallerHost::GetDescriptor();
in HWTEST_F() local 545 datas.WriteInterfaceToken(descriptor);
in HWTEST_F() 565 std::u16string descriptor = BundleInstallerHost::GetDescriptor();
in HWTEST_F() local 566 datas.WriteInterfaceToken(descriptor);
in HWTEST_F() 586 std::u16string descriptor = BundleInstallerHost::GetDescriptor();
in HWTEST_F() local 587 datas.WriteInterfaceToken(descriptor);
in HWTEST_F() 607 std::u16string descriptor = BundleInstallerHost::GetDescriptor();
in HWTEST_F() local 608 datas.WriteInterfaceToken(descriptor);
in HWTEST_F() 628 std::u16string descriptor = BundleInstallerHost::GetDescriptor(); HWTEST_F() local 649 std::u16string descriptor = BundleInstallerHost::GetDescriptor(); HWTEST_F() local 670 std::u16string descriptor = BundleInstallerHost::GetDescriptor(); HWTEST_F() local 691 std::u16string descriptor = BundleInstallerHost::GetDescriptor(); HWTEST_F() local 712 std::u16string descriptor = BundleInstallerHost::GetDescriptor(); HWTEST_F() local 733 std::u16string descriptor = BundleInstallerHost::GetDescriptor(); HWTEST_F() local 754 std::u16string descriptor = BundleInstallerHost::GetDescriptor(); HWTEST_F() local 774 std::u16string descriptor = InstalldHost::GetDescriptor(); HWTEST_F() local 794 std::u16string descriptor = InstalldHost::GetDescriptor(); HWTEST_F() local 814 std::u16string descriptor = InstalldHost::GetDescriptor(); HWTEST_F() local 834 std::u16string descriptor = InstalldHost::GetDescriptor(); HWTEST_F() local 854 std::u16string descriptor = InstalldHost::GetDescriptor(); HWTEST_F() local 874 std::u16string descriptor = InstalldHost::GetDescriptor(); HWTEST_F() local 894 std::u16string descriptor = InstalldHost::GetDescriptor(); HWTEST_F() local 914 std::u16string descriptor = InstalldHost::GetDescriptor(); HWTEST_F() local 934 std::u16string descriptor = InstalldHost::GetDescriptor(); HWTEST_F() local 954 std::u16string descriptor = InstalldHost::GetDescriptor(); HWTEST_F() local 974 std::u16string descriptor = InstalldHost::GetDescriptor(); HWTEST_F() local 994 std::u16string descriptor = InstalldHost::GetDescriptor(); HWTEST_F() local 1014 std::u16string descriptor = InstalldHost::GetDescriptor(); HWTEST_F() local 1034 std::u16string descriptor = InstalldHost::GetDescriptor(); HWTEST_F() local 1054 std::u16string descriptor = InstalldHost::GetDescriptor(); HWTEST_F() local 1074 std::u16string descriptor = InstalldHost::GetDescriptor(); HWTEST_F() local 1094 std::u16string descriptor = InstalldHost::GetDescriptor(); HWTEST_F() local 1115 std::u16string descriptor = InstalldHost::GetDescriptor(); HWTEST_F() local 1135 std::u16string descriptor = InstalldHost::GetDescriptor(); HWTEST_F() local 1155 std::u16string descriptor = InstalldHost::GetDescriptor(); HWTEST_F() local 1175 std::u16string descriptor = InstalldHost::GetDescriptor(); HWTEST_F() local 1193 std::u16string descriptor = InstalldHost::GetDescriptor(); HWTEST_F() local 1211 std::u16string descriptor = InstalldHost::GetDescriptor(); HWTEST_F() local 1229 std::u16string descriptor = InstalldHost::GetDescriptor(); HWTEST_F() local 1247 std::u16string descriptor = InstalldHost::GetDescriptor(); HWTEST_F() local 1266 std::u16string descriptor = InstalldHost::GetDescriptor(); HWTEST_F() local 1292 std::u16string descriptor = InstalldHost::GetDescriptor(); HWTEST_F() local 1310 std::u16string descriptor = InstalldHost::GetDescriptor(); HWTEST_F() local 1328 std::u16string descriptor = InstalldHost::GetDescriptor(); HWTEST_F() local 1346 std::u16string descriptor = InstalldHost::GetDescriptor(); HWTEST_F() local 1364 std::u16string descriptor = InstalldHost::GetDescriptor(); HWTEST_F() local [all...] |
/foundation/communication/ipc/ipc/native/src/core/source/ |
H A D | iremote_broker.cpp | 51 bool BrokerRegistration::Register(const std::u16string &descriptor, const Constructor &creator, in Register() argument 54 if (descriptor.empty()) { in Register() 63 auto it = creators_.find(descriptor); in Register() 66 ret = creators_.insert({ descriptor, creator }).second; in Register() 78 if (object->descriptor_ == descriptor) { in Register() 94 void BrokerRegistration::Unregister(const std::u16string &descriptor) in Unregister() argument 101 if (descriptor.empty()) { in Unregister() 104 auto it = creators_.find(descriptor); in Unregister() 117 if (object->descriptor_ == descriptor) { in Unregister() 125 sptr<IRemoteBroker> BrokerRegistration::NewInstance(const std::u16string &descriptor, cons argument [all...] |
/foundation/systemabilitymgr/safwk/services/safwk/src/ |
H A D | api_cache_manager.cpp | 33 void ApiCacheManager::AddCacheApi(const std::u16string& descriptor, uint32_t apiCode, int64_t expireTimeSec) in AddCacheApi() argument 36 auto apiPair = std::make_pair(descriptor, apiCode); in AddCacheApi() 46 HILOGD(TAG, "Cache api(%{public}s, apiCode:%{public}u) already exists", Str16ToStr8(descriptor).c_str(), apiCode); in AddCacheApi() 50 void ApiCacheManager::DelCacheApi(const std::u16string& descriptor, uint32_t apiCode) in DelCacheApi() argument 52 auto apiPair = std::make_pair(descriptor, apiCode); in DelCacheApi() 60 HILOGD(TAG, "Delete cache api(%{public}s, apiCode:%{public}u)", Str16ToStr8(descriptor).c_str(), apiCode); in DelCacheApi() 79 void ApiCacheManager::ClearCache(const std::u16string& descriptor) in ClearCache() argument 83 if ((iter.first.first == descriptor) && (iter.second != nullptr)) { in ClearCache() 85 Str16ToStr8(descriptor).c_str(), iter.first.second); in ClearCache() 92 void ApiCacheManager::ClearCache(const std::u16string& descriptor, int32_ argument 105 PreSendRequest(const std::u16string& descriptor, uint32_t apiCode, const MessageParcel& data, MessageParcel& reply) PreSendRequest() argument 132 PostSendRequest(const std::u16string& descriptor, uint32_t apiCode, const MessageParcel& data, MessageParcel& reply) PostSendRequest() argument [all...] |
/foundation/multimedia/av_session/services/session/server/ |
H A D | background_audio_controller.cpp | 48 void BackgroundAudioController::OnSessionCreate(const AVSessionDescriptor& descriptor) in OnSessionCreate() argument 51 sessionUIDs_.insert(descriptor.uid_); in OnSessionCreate() 52 SLOGI("OnSessionCreate remove observe for uid %{public}d", descriptor.uid_); in OnSessionCreate() 53 AppManagerAdapter::GetInstance().RemoveObservedApp(descriptor.uid_); in OnSessionCreate() 56 void BackgroundAudioController::OnSessionRelease(const AVSessionDescriptor& descriptor) in OnSessionRelease() argument 60 sessionUIDs_.erase(descriptor.uid_); in OnSessionRelease() 63 if (descriptor.isThirdPartyApp_) { in OnSessionRelease() 64 SLOGI("OnSessionRelease add observe for uid %{public}d", descriptor.uid_); in OnSessionRelease() 65 AppManagerAdapter::GetInstance().AddObservedApp(descriptor.uid_); in OnSessionRelease() 66 int32_t uid = descriptor in OnSessionRelease() [all...] |
/foundation/multimedia/av_session/frameworks/native/session/src/ |
H A D | session_listener_client.cpp | 26 void SessionListenerClient::OnSessionCreate(const AVSessionDescriptor& descriptor) in OnSessionCreate() argument 30 SLOGI("on session create for bundle %{public}s", descriptor.elementName_.GetBundleName().c_str()); in OnSessionCreate() 31 copiedListener->OnSessionCreate(descriptor); in OnSessionCreate() 37 void SessionListenerClient::OnSessionRelease(const AVSessionDescriptor& descriptor) in OnSessionRelease() argument 41 copiedListener->OnSessionRelease(descriptor); in OnSessionRelease() 45 void SessionListenerClient::OnTopSessionChange(const AVSessionDescriptor& descriptor) in OnTopSessionChange() argument 49 copiedListener->OnTopSessionChange(descriptor); in OnTopSessionChange()
|
/foundation/multimedia/player_framework/services/services/player/avsession_background/ |
H A D | avsession_background.h | 38 void OnSessionCreate(const AVSession::AVSessionDescriptor &descriptor) override 40 (void)descriptor; variable 42 void OnSessionRelease(const AVSession::AVSessionDescriptor &descriptor) override 44 (void)descriptor; variable 46 void OnTopSessionChange(const AVSession::AVSessionDescriptor &descriptor) override 48 (void)descriptor; variable
|
/foundation/barrierfree/accessibility/common/interface/test/fuzztest/accessibleabilitymanagerservicestub_fuzzer/ |
H A D | accessibleabilitymanagerservicestub_fuzzer_back.cpp | 74 std::u16string descriptor = AccessibleAbilityManagerServiceStub::GetDescriptor(); in HandleRegisterStateCallbackTest() local 75 request.WriteInterfaceToken(descriptor); in HandleRegisterStateCallbackTest() 76 if (!request.WriteInterfaceToken(descriptor)) { in HandleRegisterStateCallbackTest() 100 std::u16string descriptor = AccessibleAbilityManagerServiceStub::GetDescriptor(); in HandleGetAbilityListTest() local 101 request.WriteInterfaceToken(descriptor); in HandleGetAbilityListTest() 102 if (!request.WriteInterfaceToken(descriptor)) { in HandleGetAbilityListTest() 130 std::u16string descriptor = AccessibleAbilityManagerServiceStub::GetDescriptor(); in HandleRegisterAccessibilityElementOperatorTest() local 131 request.WriteInterfaceToken(descriptor); in HandleRegisterAccessibilityElementOperatorTest() 132 if (!request.WriteInterfaceToken(descriptor)) { in HandleRegisterAccessibilityElementOperatorTest() 166 std::u16string descriptor in HandleMultiRegisterAccessibilityElementOperatorTest() local 214 std::u16string descriptor = AccessibleAbilityManagerServiceStub::GetDescriptor(); HandleDeregisterAccessibilityElementOperatorTest() local 238 std::u16string descriptor = AccessibleAbilityManagerServiceStub::GetDescriptor(); HandleSendEventTest() local 258 std::u16string descriptor = AccessibleAbilityManagerServiceStub::GetDescriptor(); HandleSetDaltonizationStateTest() local 277 std::u16string descriptor = AccessibleAbilityManagerServiceStub::GetDescriptor(); HandleRemoveRequestIdTest() local [all...] |
/foundation/distributedhardware/distributed_input/services/state/src/ |
H A D | dinput_sink_state.cpp | 145 event.path.c_str(), GetAnonyString(event.descriptor).c_str()); in SimulateKeyDownEvents() 183 keyDownStateMap_[event.descriptor].push_back(event); in AddKeyDownState() 189 auto iter = keyDownStateMap_.find(event.descriptor); in RemoveKeyDownState() 194 auto evIter = std::find(keyDownStateMap_[event.descriptor].begin(), in RemoveKeyDownState() 195 keyDownStateMap_[event.descriptor].end(), event); in RemoveKeyDownState() 196 if (evIter == keyDownStateMap_[event.descriptor].end()) { in RemoveKeyDownState() 200 keyDownStateMap_[event.descriptor].erase(evIter); in RemoveKeyDownState() 201 if (keyDownStateMap_[event.descriptor].empty()) { in RemoveKeyDownState() 202 keyDownStateMap_.erase(event.descriptor); in RemoveKeyDownState() 209 auto iter = keyDownStateMap_.find(event.descriptor); in CheckAndSetLongPressedKeyOrder() [all...] |
/foundation/arkui/ace_engine/interfaces/native/ |
H A D | native_styled_string_descriptor.cpp | 30 void OH_ArkUI_StyledString_Descriptor_Destroy(ArkUI_StyledString_Descriptor* descriptor) in OH_ArkUI_StyledString_Descriptor_Destroy() argument 33 OHOS::Ace::NodeModel::GetFullImpl()->getStyledStringAPI()->destroyArkUIStyledStringDescriptor(descriptor); in OH_ArkUI_StyledString_Descriptor_Destroy() 37 uint8_t* buffer, size_t bufferSize, ArkUI_StyledString_Descriptor* descriptor) in OH_ArkUI_UnmarshallStyledStringDescriptor() 42 buffer, bufferSize, descriptor); in OH_ArkUI_UnmarshallStyledStringDescriptor() 46 uint8_t* buffer, size_t bufferSize, ArkUI_StyledString_Descriptor* descriptor, size_t* resultSize) in OH_ArkUI_MarshallStyledStringDescriptor() 51 buffer, bufferSize, descriptor, resultSize); in OH_ArkUI_MarshallStyledStringDescriptor() 54 const char* OH_ArkUI_ConvertToHtml(ArkUI_StyledString_Descriptor* descriptor) in OH_ArkUI_ConvertToHtml() argument 58 return OHOS::Ace::NodeModel::GetFullImpl()->getStyledStringAPI()->convertToHtml(descriptor); in OH_ArkUI_ConvertToHtml() 36 OH_ArkUI_UnmarshallStyledStringDescriptor( uint8_t* buffer, size_t bufferSize, ArkUI_StyledString_Descriptor* descriptor) OH_ArkUI_UnmarshallStyledStringDescriptor() argument 45 OH_ArkUI_MarshallStyledStringDescriptor( uint8_t* buffer, size_t bufferSize, ArkUI_StyledString_Descriptor* descriptor, size_t* resultSize) OH_ArkUI_MarshallStyledStringDescriptor() argument
|
/foundation/distributeddatamgr/data_share/frameworks/native/common/src/ |
H A D | ishared_result_set_proxy.cpp | 57 std::u16string descriptor = ISharedResultSetProxy::GetDescriptor(); in GetAllColumnNames() local 58 if (!request.WriteInterfaceToken(descriptor)) { in GetAllColumnNames() 59 LOG_ERROR("WriteDescriptor is failed, WriteDescriptor = %{public}s", Str16ToStr8(descriptor).c_str()); in GetAllColumnNames() 89 std::u16string descriptor = ISharedResultSetProxy::GetDescriptor(); in GetRowCount() local 90 if (!request.WriteInterfaceToken(descriptor)) { in GetRowCount() 91 LOG_ERROR("WriteDescriptor is failed, WriteDescriptor = %{public}s", Str16ToStr8(descriptor).c_str()); in GetRowCount() 116 std::u16string descriptor = ISharedResultSetProxy::GetDescriptor(); in OnGo() local 117 if (!request.WriteInterfaceToken(descriptor)) { in OnGo() 118 LOG_ERROR("WriteDescriptor is failed, WriteDescriptor = %{public}s", Str16ToStr8(descriptor).c_str()); in OnGo() 145 std::u16string descriptor in Close() local [all...] |
/foundation/systemabilitymgr/safwk/interfaces/innerkits/safwk/ |
H A D | api_cache_manager.h | 28 void AddCacheApi(const std::u16string& descriptor, uint32_t apiCode, int64_t expireTimeSec); 30 void DelCacheApi(const std::u16string& descriptor, uint32_t apiCode); 34 void ClearCache(const std::u16string& descriptor); 36 void ClearCache(const std::u16string& descriptor, int32_t apiCode); 38 bool PreSendRequest(const std::u16string& descriptor, uint32_t apiCode, const MessageParcel &data, 40 bool PostSendRequest(const std::u16string& descriptor, uint32_t apiCode, const MessageParcel &data,
|
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/routers/ |
H A D | stream_filter_router.cpp | 32 if (routingInfo.descriptor != nullptr) { in GetMediaRenderDevice() 33 sptr<AudioDeviceDescriptor> deviceDescriptor = routingInfo.descriptor; in GetMediaRenderDevice() 78 if (routingInfo.descriptor != nullptr) { in GetCallRenderDevice() 79 sptr<AudioDeviceDescriptor> deviceDescriptor = routingInfo.descriptor; in GetCallRenderDevice() 119 if (routingInfo.descriptor != nullptr) { in GetCallCaptureDevice() 120 sptr<AudioDeviceDescriptor> deviceDescriptor = routingInfo.descriptor; in GetCallCaptureDevice() 166 if (routingInfo.descriptor != nullptr) { in GetRecordCaptureDevice() 167 sptr<AudioDeviceDescriptor> deviceDescriptor = routingInfo.descriptor; in GetRecordCaptureDevice() 235 for (auto &descriptor : descriptors) { in SelectRemoteCaptureDevice() 236 if (descriptor ! in SelectRemoteCaptureDevice() [all...] |
/foundation/multimedia/av_session/frameworks/native/session/test/unittest/ |
H A D | session_listener_client_test.cpp | 47 void OnSessionCreate(const AVSessionDescriptor& descriptor) override {} 48 void OnSessionRelease(const AVSessionDescriptor& descriptor) override {} 49 void OnTopSessionChange(const AVSessionDescriptor& descriptor) override {} 67 AVSessionDescriptor descriptor; in HWTEST_F() local 68 sessionListenerClient->OnSessionRelease(descriptor); in HWTEST_F() 82 AVSessionDescriptor descriptor; in HWTEST_F() local 83 sessionListenerClient->OnSessionRelease(descriptor); in HWTEST_F() 97 AVSessionDescriptor descriptor; in HWTEST_F() local 98 sessionListenerClient->OnTopSessionChange(descriptor); in HWTEST_F() 112 AVSessionDescriptor descriptor; in HWTEST_F() local [all...] |
/foundation/multimedia/av_session/services/session/ipc/stub/ |
H A D | session_listener_stub.cpp | 48 AVSessionDescriptor descriptor; in HandleOnSessionCreate() local 49 CHECK_AND_RETURN_RET_LOG(descriptor.ReadFromParcel(data), ERR_NONE, "read descriptor failed"); in HandleOnSessionCreate() 50 OnSessionCreate(descriptor); in HandleOnSessionCreate() 56 AVSessionDescriptor descriptor; in HandleOnSessionRelease() local 57 CHECK_AND_RETURN_RET_LOG(descriptor.ReadFromParcel(data), ERR_NONE, "read descriptor failed"); in HandleOnSessionRelease() 58 OnSessionRelease(descriptor); in HandleOnSessionRelease() 65 AVSessionDescriptor descriptor; in HandleOnTopSessionChange() local 66 CHECK_AND_RETURN_RET_LOG(descriptor in HandleOnTopSessionChange() [all...] |