/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/src/ |
H A D | softbus_proxychannel_listener.c | 59 info->isEncrypt = appInfo->appType != APP_TYPE_AUTH; in GetProxyChannelInfo() 70 info->businessType = (int32_t)(appInfo->appType == APP_TYPE_AUTH ? BUSINESS_TYPE_NOT_CARE : appInfo->businessType); in GetProxyChannelInfo() 76 if (appInfo->appType == APP_TYPE_AUTH) { in GetProxyChannelInfo() 93 if (appInfo->appType != APP_TYPE_AUTH) { in NotifyNormalChannelOpened() 125 if (appInfo->appType == APP_TYPE_AUTH && strlen(appInfo->peerVersion) == 0) { in FillExtraByProxyChannelErrorEnd() 141 TRANS_LOGI(TRANS_CTRL, "proxy channel opened: channelId=%{public}d, appType=%{public}d, isServer=%{public}d", in OnProxyChannelOpened() 142 channelId, appInfo->appType, isServer); in OnProxyChannelOpened() 144 switch (appInfo->appType) { in OnProxyChannelOpened() 170 extra.peerUdid = appInfo->appType == APP_TYPE_AUTH ? appInfo->peerData.deviceId : extra.peerUdid; in OnProxyChannelOpened() 202 const AppInfo *appInfo, AppType appType, int32_ in TransProxyNotifyOpenFailedByType() 201 TransProxyNotifyOpenFailedByType( const AppInfo *appInfo, AppType appType, int32_t channelId, int32_t errCode) TransProxyNotifyOpenFailedByType() argument [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_event_handler_test/ |
H A D | mock_system_bundle_installer.cpp | 40 Constants::AppType appType) in InstallSystemBundle() 52 ErrCode result = InstallBundle(filePath, installParam, appType); in InstallSystemBundle() 63 Constants::AppType appType) in OTAInstallSystemBundle() 74 ErrCode result = InstallBundle(filePaths, installParam, appType); in OTAInstallSystemBundle() 191 Constants::AppType appType) in InstallSystemSharedBundle() 195 ErrCode result = InstallBundle(bundlePaths, installParam, appType); in InstallSystemSharedBundle() 207 Constants::AppType appType) in OTAInstallSystemBundleNeedCheckUser() 209 return OTAInstallSystemBundle(filePaths, installParam, appType); in OTAInstallSystemBundleNeedCheckUser() 37 InstallSystemBundle( const std::string &filePath, InstallParam &installParam, Constants::AppType appType) InstallSystemBundle() argument 60 OTAInstallSystemBundle( const std::vector<std::string> &filePaths, InstallParam &installParam, Constants::AppType appType) OTAInstallSystemBundle() argument 188 InstallSystemSharedBundle( InstallParam &installParam, bool isOTA, Constants::AppType appType) InstallSystemSharedBundle() argument 203 OTAInstallSystemBundleNeedCheckUser( const std::vector<std::string> &filePaths, InstallParam &installParam, const std::string &bundleName, Constants::AppType appType) OTAInstallSystemBundleNeedCheckUser() argument
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | system_bundle_installer.h | 31 * @param appType Indicates the bundle type. 37 Constants::AppType appType); 42 * @param appType Indicates the bundle type. 45 bool InstallSystemSharedBundle(InstallParam &installParam, bool isOTA, Constants::AppType appType); 50 * @param appType Indicates the bundle type. 56 Constants::AppType appType); 62 * @param appType Indicates the bundle type. 69 Constants::AppType appType);
|
H A D | bundle_mgr_service_event_handler.h | 128 Constants::AppType appType, 301 * @param appType Indicates the bundle type. 307 Constants::AppType appType, 312 * @param appType Indicates the bundle type. 315 void ProcessSystemSharedBundleInstall(const std::string &sharedBundlePath, Constants::AppType appType); 349 * @param appType Indicates the bundle type. 353 const std::list<std::string> &bundleList, Constants::AppType appType); 357 * @param appType Indicates the bundle type. 360 void InnerProcessRebootSharedBundleInstall(const std::list<std::string> &bundleList, Constants::AppType appType); 422 * @param appType Indicate [all...] |
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/proxy_channel/ |
H A D | trans_proxy_channel_test.cpp | 136 chan->appInfo.appType = APP_TYPE_NORMAL; in TestAddTestProxyChannel() 164 chan->appInfo.appType = APP_TYPE_NORMAL; in HWTEST_F() 186 chan->appInfo.appType = APP_TYPE_NORMAL; in HWTEST_F() 207 info.appInfo.appType = APP_TYPE_NORMAL; in HWTEST_F() 233 info.appInfo.appType = APP_TYPE_AUTH; in HWTEST_F() 250 info.appInfo.appType = APP_TYPE_NORMAL; in HWTEST_F() 267 info.appInfo.appType = APP_TYPE_AUTH; in HWTEST_F() 278 info.appInfo.appType = APP_TYPE_NORMAL; in HWTEST_F() 294 info.appInfo.appType = APP_TYPE_AUTH; in HWTEST_F() 317 info.appInfo.appType in HWTEST_F() [all...] |
H A D | trans_proxy_network_test.cpp | 194 appInfo.appType = APP_TYPE_NOT_CARE; in HWTEST_F() 198 appInfo.appType = APP_TYPE_NORMAL; in HWTEST_F() 206 appInfo.appType = APP_TYPE_INNER; in HWTEST_F() 226 appInfo.appType = APP_TYPE_NOT_CARE; in HWTEST_F() 246 appInfo.appType = APP_TYPE_NOT_CARE; in HWTEST_F() 250 appInfo.appType = APP_TYPE_INNER; in HWTEST_F() 276 appInfo.appType = APP_TYPE_NOT_CARE; in HWTEST_F() 280 appInfo.appType = APP_TYPE_INNER; in HWTEST_F() 284 appInfo.appType = APP_TYPE_AUTH; in HWTEST_F() 288 appInfo.appType in HWTEST_F() [all...] |
H A D | softbus_proxy_network_test.cpp | 199 appInfo.appType = APP_TYPE_NOT_CARE; in HWTEST_F() 203 appInfo.appType = APP_TYPE_NORMAL; in HWTEST_F() 209 appInfo.appType = APP_TYPE_INNER; in HWTEST_F() 229 appInfo.appType = APP_TYPE_NOT_CARE; in HWTEST_F() 249 appInfo.appType = APP_TYPE_NOT_CARE; in HWTEST_F() 253 appInfo.appType = APP_TYPE_INNER; in HWTEST_F() 279 appInfo.appType = APP_TYPE_NOT_CARE; in HWTEST_F() 283 appInfo.appType = APP_TYPE_INNER; in HWTEST_F() 287 appInfo.appType = APP_TYPE_AUTH; in HWTEST_F() 291 appInfo.appType in HWTEST_F() [all...] |
H A D | softbus_proxychannel_listener_test.cpp | 195 appInfo->appType = APP_TYPE_AUTH; in HWTEST_F() 198 appInfo->appType = APP_TYPE_NORMAL; in HWTEST_F() 215 appInfo->appType = APP_TYPE_AUTH; in HWTEST_F() 236 appInfo->appType = APP_TYPE_AUTH; in HWTEST_F() 256 appInfo->appType = APP_TYPE_AUTH; in HWTEST_F() 278 appInfo->appType = APP_TYPE_AUTH; in HWTEST_F() 346 appInfo.appType = APP_TYPE_NORMAL; in HWTEST_F()
|
H A D | trans_proxy_message_test.cpp | 83 void TestMessageAddProxyChannel(int32_t channelId, AppType appType, const char *identity, ProxyChannelStatus status) in TestMessageAddProxyChannel() argument 106 appInfo.appType = appType; in TestMessageAddProxyChannel() 175 chan.appInfo.appType = APP_TYPE_NOT_CARE; in HWTEST_F() 179 chan.appInfo.appType = APP_TYPE_AUTH; in HWTEST_F() 207 chan.appInfo.appType = APP_TYPE_NORMAL; in HWTEST_F() 235 info.appInfo.appType = APP_TYPE_NORMAL; in HWTEST_F() 266 info.appInfo.appType = APP_TYPE_AUTH; in HWTEST_F() 298 info.appInfo.appType = APP_TYPE_INNER; in HWTEST_F() 574 /* test appType n in HWTEST_F() [all...] |
H A D | softbus_proxychannel_message_test.cpp | 165 void TestMessageAddProxyChannel(int32_t channelId, AppType appType, const char *identity, ProxyChannelStatus status) in TestMessageAddProxyChannel() argument 179 appInfo.appType = appType; in TestMessageAddProxyChannel() 250 chan.appInfo.appType = APP_TYPE_NOT_CARE; in HWTEST_F() 254 chan.appInfo.appType = APP_TYPE_AUTH; in HWTEST_F() 283 chan.appInfo.appType = APP_TYPE_NORMAL; in HWTEST_F() 304 info.appInfo.appType = APP_TYPE_NORMAL; in HWTEST_F() 330 info.appInfo.appType = APP_TYPE_AUTH; in HWTEST_F() 357 info.appInfo.appType = APP_TYPE_INNER; in HWTEST_F() 601 info.appInfo.appType in HWTEST_F() [all...] |
H A D | trans_proxy_manager_test.cpp | 199 appInfo.appType = APP_TYPE_AUTH; in TestTransProxyAddAuthChannel() 227 appInfo.appType = APP_TYPE_NORMAL; in TestTransProxyAddNormalChannel() 298 appInfo.appType = APP_TYPE_AUTH; in HWTEST_F() 336 appInfo.appType = APP_TYPE_AUTH; in HWTEST_F() 357 appInfo.appType = APP_TYPE_NORMAL; in HWTEST_F() 540 appInfo.appType = APP_TYPE_AUTH; in HWTEST_F() 616 appInfo.appType = APP_TYPE_AUTH; in HWTEST_F() 626 appInfo.appType = APP_TYPE_INNER; in HWTEST_F() 658 info.appInfo.appType = APP_TYPE_AUTH; in HWTEST_F() 694 chan.appInfo.appType in HWTEST_F() [all...] |
/foundation/communication/dsoftbus/sdk/transmission/trans_channel/qos/src/ |
H A D | client_qos_manager.c | 19 int32_t ClientQosReport(int32_t channelId, int32_t chanType, int32_t appType, int32_t quality) in ClientQosReport() argument 21 return ServerIpcQosReport(channelId, chanType, appType, quality); in ClientQosReport()
|
/foundation/graphic/graphic_2d/rosen/modules/hyper_graphic_manager/core/frame_rate_manager/ |
H A D | hgm_multi_app_strategy.cpp | 58 auto [pkgName, pid, appType] = AnalyzePkgParam(param); in HandlePkgsEvent() 59 pidAppTypeMap_[pkgName] = { pid, appType }; in HandlePkgsEvent() 61 foregroundPidAppMap_[pid] = { appType, pkgName }; in HandlePkgsEvent() 82 auto [focusPkgName, pid, appType] = AnalyzePkgParam(pkgs_.front()); in HandleTouchInfo() 169 auto &appType = pidAppTypeMap_.at(pkgName).second; in GetAppStrategyConfigName() local 171 if (appTypes.find(appType) != appTypes.end()) { in GetAppStrategyConfigName() 172 return appTypes.at(appType); in GetAppStrategyConfigName() 181 auto [pkgName, pid, appType] = AnalyzePkgParam(pkgs_.empty() ? "" : pkgs_.front()); in GetFocusAppStrategyConfig() 293 auto [pkgName, pid, appType] = AnalyzePkgParam(pkgs_.empty() ? "" : pkgs_.front()); in FollowFocus() 307 auto [pkgName, pid, appType] in UseMax() 331 int32_t appType = DEFAULT_APP_TYPE; AnalyzePkgParam() local [all...] |
/foundation/communication/dsoftbus/core/transmission/trans_channel/qos/ |
H A D | softbus_qos_virtual.c | 43 int32_t QosReportExecute(int channelId, int chanType, int appType, int quality) in QosReportExecute() argument 47 (void)appType; in QosReportExecute()
|
/foundation/communication/dsoftbus/tests/sdk/transmission/fuzztest/qosreport_fuzzer/ |
H A D | qosreport_fuzzer.cpp | 29 int32_t appType = 1; in QosReportTest() local 31 QosReport(size, appType, quality); in QosReportTest()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | system_bundle_installer.cpp | 38 Constants::AppType appType) in InstallSystemBundle() 41 ErrCode result = InstallBundle(filePath, installParam, appType); in InstallSystemBundle() 54 Constants::AppType appType) in InstallSystemSharedBundle() 58 ErrCode result = InstallBundle(bundlePaths, installParam, appType); in InstallSystemSharedBundle() 69 Constants::AppType appType) in OTAInstallSystemBundle() 82 ErrCode errCode = InstallBundle(filePaths, installParam, appType); in OTAInstallSystemBundle() 100 Constants::AppType appType) in OTAInstallSystemBundleNeedCheckUser() 126 ErrCode errCode = InstallBundle(filePaths, installParam, appType); in OTAInstallSystemBundleNeedCheckUser() 35 InstallSystemBundle( const std::string &filePath, InstallParam &installParam, Constants::AppType appType) InstallSystemBundle() argument 51 InstallSystemSharedBundle( InstallParam &installParam, bool isOTA, Constants::AppType appType) InstallSystemSharedBundle() argument 66 OTAInstallSystemBundle( const std::vector<std::string> &filePaths, InstallParam &installParam, Constants::AppType appType) OTAInstallSystemBundle() argument 96 OTAInstallSystemBundleNeedCheckUser( const std::vector<std::string> &filePaths, InstallParam &installParam, const std::string &bundleName, Constants::AppType appType) OTAInstallSystemBundleNeedCheckUser() argument
|
/foundation/communication/dsoftbus/tests/sdk/transmission/fuzztest/clientqosmanager_fuzzer/ |
H A D | clientqosmanager_fuzzer.cpp | 31 int32_t appType = *(reinterpret_cast<const int32_t*>(data)); in ClientQosReportTest() local 34 ClientQosReport(channelId, chanType, appType, quality); in ClientQosReportTest()
|
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/basebundleinstallerinstallbundlevector_fuzzer/ |
H A D | basebundleinstallerinstallbundlevector_fuzzer.cpp | 33 Constants::AppType appType = Constants::AppType::SYSTEM_APP; in DoSomethingInterestingWithMyAPI() local 34 auto ret1 = basebundleinstall.InstallBundle(bundlePaths, installParam, appType); in DoSomethingInterestingWithMyAPI()
|
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/basebundleinstallerprocessbundleinstall_fuzzer/ |
H A D | basebundleinstallerprocessbundleinstall_fuzzer.cpp | 33 Constants::AppType appType = Constants::AppType::SYSTEM_APP; in DoSomethingInterestingWithMyAPI() local 35 auto ret1 = basebundleinstall.ProcessBundleInstall(bundlePaths, installParam, appType, uid); in DoSomethingInterestingWithMyAPI()
|
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/basebundleinstallerinstallbundle_fuzzer/ |
H A D | basebundleinstallerinstallbundle_fuzzer.cpp | 33 Constants::AppType appType = Constants::AppType::SYSTEM_APP; in DoSomethingInterestingWithMyAPI() local 34 auto ret1 = basebundleinstall.InstallBundle(bundlePath, installParam, appType); in DoSomethingInterestingWithMyAPI()
|
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/manager/trans_channel_manager_mock_test/ |
H A D | trans_channel_manager_mock_test.cpp | 141 int32_t appType = 1; in HWTEST_F() local 144 int32_t ret = TransRequestQos(channelId, chanType, appType, QOS_IMPROVE); in HWTEST_F() 226 int32_t appType = 1; in HWTEST_F() local 230 int32_t ret = TransRequestQos(channelId, chanType, appType, QOS_IMPROVE); in HWTEST_F()
|
/foundation/communication/dsoftbus/sdk/transmission/trans_channel/qos/include/ |
H A D | client_qos_manager.h | 24 int32_t ClientQosReport(int32_t channelId, int32_t chanType, int32_t appType, int32_t quality);
|
/foundation/communication/dsoftbus/core/transmission/trans_channel/qos/interface/ |
H A D | softbus_qos.h | 27 int32_t QosReportExecute(int channelId, int chanType, int appType, int quality);
|
/foundation/communication/dsoftbus/sdk/transmission/session/include/ |
H A D | client_trans_session_service.h | 26 int32_t QosReport(int32_t sessionId, int32_t appType, int32_t quality);
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/ |
H A D | bundle_mgr_service_event_handler.cpp | 388 const PreScanInfo& preScanInfo, Constants::AppType appType, int32_t userId) in ProcessSystemBundleInstall() 392 const std::string& bundleDir, Constants::AppType appType, int32_t userId) in ProcessSystemBundleInstall() 395 void BMSEventHandler::ProcessSystemSharedBundleInstall(const std::string& sharedBundlePath, Constants::AppType appType) in ProcessSystemSharedBundleInstall() argument 466 const std::list<std::string>& scanPathList, Constants::AppType appType) in InnerProcessRebootBundleInstall() 475 const std::list<std::string>& scanPathList, Constants::AppType appType) in InnerProcessRebootSharedBundleInstall() 554 const std::vector<std::string>& filePaths, Constants::AppType appType, bool removable) in OTAInstallSystemBundle() 560 const std::string& bundleName, Constants::AppType appType, bool removable) in OTAInstallSystemBundleNeedCheckUser() 566 const std::vector<std::string>& filePaths, Constants::AppType appType, bool removable) in OTAInstallSystemSharedBundle() 387 ProcessSystemBundleInstall( const PreScanInfo& preScanInfo, Constants::AppType appType, int32_t userId) ProcessSystemBundleInstall() argument 391 ProcessSystemBundleInstall( const std::string& bundleDir, Constants::AppType appType, int32_t userId) ProcessSystemBundleInstall() argument 465 InnerProcessRebootBundleInstall( const std::list<std::string>& scanPathList, Constants::AppType appType) InnerProcessRebootBundleInstall() argument 474 InnerProcessRebootSharedBundleInstall( const std::list<std::string>& scanPathList, Constants::AppType appType) InnerProcessRebootSharedBundleInstall() argument 553 OTAInstallSystemBundle( const std::vector<std::string>& filePaths, Constants::AppType appType, bool removable) OTAInstallSystemBundle() argument 559 OTAInstallSystemBundleNeedCheckUser(const std::vector<std::string>& filePaths, const std::string& bundleName, Constants::AppType appType, bool removable) OTAInstallSystemBundleNeedCheckUser() argument 565 OTAInstallSystemSharedBundle( const std::vector<std::string>& filePaths, Constants::AppType appType, bool removable) OTAInstallSystemSharedBundle() argument
|