/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/src/ |
H A D | softbus_proxychannel_listener.c | 76 if (appInfo->appType == APP_TYPE_AUTH) { in GetProxyChannelInfo() 93 if (appInfo->appType != APP_TYPE_AUTH) { in NotifyNormalChannelOpened() 143 channelId, appInfo->appType, isServer); in OnProxyChannelOpened() 145 switch (appInfo->appType) { in OnProxyChannelOpened() 205 switch (appType) { in TransProxyNotifyOpenFailedByType() 226 switch (appInfo->appType) { in OnProxyChannelBind() 260 if (appInfo->appType == APP_TYPE_INNER) { in TransProxyReportOpenChannelFailEvent() 324 switch (appInfo->appType) { in OnProxyChannelClosed() 347 switch (appInfo->appType) { in OnProxyChannelMsgReceived() 368 appInfo->appType = APP_TYPE_INNER; in TransProxyGetAppInfo() [all …]
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/proxy_channel/ |
H A D | trans_proxy_channel_test.cpp | 233 info.appInfo.appType = APP_TYPE_AUTH; 267 info.appInfo.appType = APP_TYPE_AUTH; 294 info.appInfo.appType = APP_TYPE_AUTH; 317 info.appInfo.appType = APP_TYPE_AUTH; 348 info.appInfo.appType = APP_TYPE_AUTH; 372 info.appInfo.appType = APP_TYPE_AUTH; 394 info.appInfo.appType = APP_TYPE_AUTH; 444 info.appInfo.appType = APP_TYPE_AUTH; 476 info.appInfo.appType = APP_TYPE_AUTH; 514 appInfo.appType = APP_TYPE_NORMAL; [all …]
|
H A D | trans_proxy_network_test.cpp | 194 appInfo.appType = APP_TYPE_NOT_CARE; 198 appInfo.appType = APP_TYPE_NORMAL; 206 appInfo.appType = APP_TYPE_INNER; 226 appInfo.appType = APP_TYPE_NOT_CARE; 246 appInfo.appType = APP_TYPE_NOT_CARE; 250 appInfo.appType = APP_TYPE_INNER; 276 appInfo.appType = APP_TYPE_NOT_CARE; 280 appInfo.appType = APP_TYPE_INNER; 284 appInfo.appType = APP_TYPE_AUTH; 288 appInfo.appType = APP_TYPE_NORMAL;
|
H A D | softbus_proxy_network_test.cpp | 199 appInfo.appType = APP_TYPE_NOT_CARE; 203 appInfo.appType = APP_TYPE_NORMAL; 209 appInfo.appType = APP_TYPE_INNER; 229 appInfo.appType = APP_TYPE_NOT_CARE; 249 appInfo.appType = APP_TYPE_NOT_CARE; 253 appInfo.appType = APP_TYPE_INNER; 279 appInfo.appType = APP_TYPE_NOT_CARE; 283 appInfo.appType = APP_TYPE_INNER; 287 appInfo.appType = APP_TYPE_AUTH; 291 appInfo.appType = APP_TYPE_NORMAL;
|
H A D | trans_proxy_message_test.cpp | 106 appInfo.appType = appType; in TestMessageAddProxyChannel() 175 chan.appInfo.appType = APP_TYPE_NOT_CARE; 179 chan.appInfo.appType = APP_TYPE_AUTH; 207 chan.appInfo.appType = APP_TYPE_NORMAL; 235 info.appInfo.appType = APP_TYPE_NORMAL; 266 info.appInfo.appType = APP_TYPE_AUTH; 298 info.appInfo.appType = APP_TYPE_INNER; 575 info.appInfo.appType = APP_TYPE_INNER; 605 info.appInfo.appType = APP_TYPE_INNER; 716 chanInfo.appInfo.appType = APP_TYPE_AUTH; [all …]
|
H A D | softbus_proxychannel_listener_test.cpp | 195 appInfo->appType = APP_TYPE_AUTH; 198 appInfo->appType = APP_TYPE_NORMAL; 215 appInfo->appType = APP_TYPE_AUTH; 236 appInfo->appType = APP_TYPE_AUTH; 256 appInfo->appType = APP_TYPE_AUTH; 278 appInfo->appType = APP_TYPE_AUTH; 346 appInfo.appType = APP_TYPE_NORMAL;
|
H A D | softbus_proxychannel_message_test.cpp | 179 appInfo.appType = appType; in TestMessageAddProxyChannel() 250 chan.appInfo.appType = APP_TYPE_NOT_CARE; 254 chan.appInfo.appType = APP_TYPE_AUTH; 283 chan.appInfo.appType = APP_TYPE_NORMAL; 304 info.appInfo.appType = APP_TYPE_NORMAL; 330 info.appInfo.appType = APP_TYPE_AUTH; 357 info.appInfo.appType = APP_TYPE_INNER; 601 info.appInfo.appType = APP_TYPE_INNER; 673 chanInfo.appInfo.appType = APP_TYPE_INNER; 679 chanInfo.appInfo.appType = APP_TYPE_AUTH; [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; 336 appInfo.appType = APP_TYPE_AUTH; 357 appInfo.appType = APP_TYPE_NORMAL; 540 appInfo.appType = APP_TYPE_AUTH; 616 appInfo.appType = APP_TYPE_AUTH; 626 appInfo.appType = APP_TYPE_INNER; 658 info.appInfo.appType = APP_TYPE_AUTH; 694 chan.appInfo.appType = APP_TYPE_AUTH; [all …]
|
/ohos5.0/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() argument 52 ErrCode result = InstallBundle(filePath, installParam, appType); in InstallSystemBundle() 63 Constants::AppType appType) in OTAInstallSystemBundle() argument 74 ErrCode result = InstallBundle(filePaths, installParam, appType); in OTAInstallSystemBundle() 191 Constants::AppType appType) in InstallSystemSharedBundle() argument 195 ErrCode result = InstallBundle(bundlePaths, installParam, appType); in InstallSystemSharedBundle() 207 Constants::AppType appType) in OTAInstallSystemBundleNeedCheckUser() argument 209 return OTAInstallSystemBundle(filePaths, installParam, appType); in OTAInstallSystemBundleNeedCheckUser()
|
H A D | bms_event_handler_test.cpp | 280 Constants::AppType appType = Constants::AppType::SYSTEM_APP; variable 281 handler->ProcessSystemBundleInstall(bundleDir, appType, userId); 295 Constants::AppType appType = Constants::AppType::SYSTEM_APP; variable 296 handler->ProcessSystemBundleInstall(bundleDir, appType, userId); 311 Constants::AppType appType = Constants::AppType::SYSTEM_APP; variable 327 Constants::AppType appType = Constants::AppType::SYSTEM_APP; variable 514 Constants::AppType appType = Constants::AppType::THIRD_PARTY_APP; variable 630 auto appType = Constants::AppType::SYSTEM_APP; variable 644 auto appType = Constants::AppType::SYSTEM_APP; variable 809 Constants::AppType appType = Constants::AppType::SYSTEM_APP; variable [all …]
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | system_bundle_installer.h | 37 Constants::AppType appType); 45 …bool InstallSystemSharedBundle(InstallParam &installParam, bool isOTA, Constants::AppType appType); 56 Constants::AppType appType); 69 Constants::AppType appType);
|
H A D | bundle_mgr_service_event_handler.h | 110 Constants::AppType appType, 289 Constants::AppType appType, 297 … ProcessSystemSharedBundleInstall(const std::string &sharedBundlePath, Constants::AppType appType); 335 const std::list<std::string> &bundleList, Constants::AppType appType); 342 …essRebootSharedBundleInstall(const std::list<std::string> &bundleList, Constants::AppType appType); 406 Constants::AppType appType, 420 Constants::AppType appType, 431 Constants::AppType appType, 487 Constants::AppType appType);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/hyper_graphic_manager/core/frame_rate_manager/ |
H A D | hgm_multi_app_strategy.cpp | 61 auto [pkgName, pid, appType] = AnalyzePkgParam(param); in HandlePkgsEvent() 62 pidAppTypeMap_[pkgName] = { pid, appType }; in HandlePkgsEvent() 64 foregroundPidAppMap_[pid] = { appType, pkgName }; in HandlePkgsEvent() 192 auto &appType = pidAppTypeMap_.at(pkgName).second; in GetAppStrategyConfigName() local 194 if (appTypes.find(appType) != appTypes.end()) { in GetAppStrategyConfigName() 195 return appTypes.at(appType); in GetAppStrategyConfigName() 370 int32_t appType = DEFAULT_APP_TYPE; in AnalyzePkgParam() local 374 return { pkgName, pid, appType }; in AnalyzePkgParam() 385 return { pkgName, pid, appType }; in AnalyzePkgParam() 396 appType = std::stoi(appTypeStr); in AnalyzePkgParam() [all …]
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | system_bundle_installer.cpp | 37 Constants::AppType appType) in InstallSystemBundle() argument 40 ErrCode result = InstallBundle(filePath, installParam, appType); in InstallSystemBundle() 53 Constants::AppType appType) in InstallSystemSharedBundle() argument 57 ErrCode result = InstallBundle(bundlePaths, installParam, appType); in InstallSystemSharedBundle() 68 Constants::AppType appType) in OTAInstallSystemBundle() argument 81 ErrCode errCode = InstallBundle(filePaths, installParam, appType); in OTAInstallSystemBundle() 99 Constants::AppType appType) in OTAInstallSystemBundleNeedCheckUser() argument 125 ErrCode errCode = InstallBundle(filePaths, installParam, appType); in OTAInstallSystemBundleNeedCheckUser()
|
/ohos5.0/base/global/resource_management/frameworks/resmgr/src/ |
H A D | resource_manager.cpp | 82 …ptr<ResourceManager> CreateResourceManagerExt(const std::string &bundleName, const int32_t appType) in CreateResourceManagerExt() argument 90 if (!resMgrExtMgr->Init(resMgrExt, bundleName, appType) || resMgrExt == nullptr) { in CreateResourceManagerExt() 100 ResConfig &resConfig, int32_t appType, int32_t userId) in CreateResourceManager() argument 102 if (appType == 0) { in CreateResourceManager() 106 return CreateResourceManagerExt(bundleName, appType); in CreateResourceManager()
|
/ohos5.0/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()
|
/ohos5.0/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; variable 144 int32_t ret = TransRequestQos(channelId, chanType, appType, QOS_IMPROVE); 226 int32_t appType = 1; variable 230 int32_t ret = TransRequestQos(channelId, chanType, appType, QOS_IMPROVE);
|
/ohos5.0/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()
|
/ohos5.0/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()
|
/ohos5.0/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()
|
/ohos5.0/base/global/resource_management/frameworks/resmgr/include/ |
H A D | resource_manager_ext_mgr.h | 26 const int32_t appType); 31 …std::shared_ptr<ResourceManager> &resMgrExt, const std::string &bundleName, const int32_t appType);
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/metadata/ |
H A D | store_meta_data.cpp | 47 SetValue(node[GET_NAME(appType)], appType); in Marshal() 87 GetValue(node, GET_NAME(appType), appType); in Unmarshal() 145 … appType == metaData.appType && bundleName == metaData.bundleName && dataDir == metaData.dataDir && in operator ==()
|
/ohos5.0/foundation/resourceschedule/resource_schedule_service/ressched/plugins/socperf_plugin/src/ |
H A D | socperf_plugin.cpp | 315 int32_t appType = INVALID_VALUE; in HandleAppAbilityStart() local 318 appType = reqAppTypeFunc_(bundleName); in HandleAppAbilityStart() 320 if (appType == APP_TYPE_GAME) { in HandleAppAbilityStart() 324 UpdateUidToAppTypeMap(data, appType); in HandleAppAbilityStart() 331 bool SocPerfPlugin::UpdateUidToAppTypeMap(const std::shared_ptr<ResData>& data, int32_t appType) in UpdateUidToAppTypeMap() argument 334 if (appType != INVALID_VALUE && appType != INVALID_APP_TYPE && uid != INVALID_VALUE) { in UpdateUidToAppTypeMap() 335 uidToAppTypeMap_[uid] = appType; in UpdateUidToAppTypeMap() 641 int32_t appType = reqAppTypeFunc_(bundleName); in UpdateUidToAppTypeMap() local 642 if (appType != INVALID_VALUE && appType != INVALID_APP_TYPE) { in UpdateUidToAppTypeMap() 643 uidToAppTypeMap_[uid] = appType; in UpdateUidToAppTypeMap()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/appkit/app/ |
H A D | context_container.cpp | 296 int32_t appType; in InitResourceManager() local 298 appType = TYPE_RESERVE; in InitResourceManager() 300 appType = TYPE_OTHERS; in InitResourceManager() 302 appType = 0; in InitResourceManager() 307 bundleInfo.name, moduleName, hapPath, overlayPaths, *resConfig, appType)); in InitResourceManager() 317 bundleInfo.name, moduleName, hapPath, overlayPaths, *resConfig, appType)); in InitResourceManager()
|
/ohos5.0/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()
|