Home
last modified time | relevance | path

Searched refs:appType (Results 1 – 25 of 131) sorted by relevance

123456

/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/src/
H A Dsoftbus_proxychannel_listener.c76 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 Dtrans_proxy_channel_test.cpp233 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 Dtrans_proxy_network_test.cpp194 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 Dsoftbus_proxy_network_test.cpp199 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 Dtrans_proxy_message_test.cpp106 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 Dsoftbus_proxychannel_listener_test.cpp195 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 Dsoftbus_proxychannel_message_test.cpp179 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 Dtrans_proxy_manager_test.cpp199 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 Dmock_system_bundle_installer.cpp40 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 Dbms_event_handler_test.cpp280 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 Dsystem_bundle_installer.h37 Constants::AppType appType);
45 …bool InstallSystemSharedBundle(InstallParam &installParam, bool isOTA, Constants::AppType appType);
56 Constants::AppType appType);
69 Constants::AppType appType);
H A Dbundle_mgr_service_event_handler.h110 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 Dhgm_multi_app_strategy.cpp61 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 Dsystem_bundle_installer.cpp37 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 Dresource_manager.cpp82 …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 Dclient_qos_manager.c19 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 Dtrans_channel_manager_mock_test.cpp141 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 Dqosreport_fuzzer.cpp29 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 Dsoftbus_qos_virtual.c43 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 Dclientqosmanager_fuzzer.cpp31 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 Dresource_manager_ext_mgr.h26 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 Dstore_meta_data.cpp47 SetValue(node[GET_NAME(appType)], appType); in Marshal()
87 GetValue(node, GET_NAME(appType), appType); in Unmarshal()
145appType == metaData.appType && bundleName == metaData.bundleName && dataDir == metaData.dataDir && in operator ==()
/ohos5.0/foundation/resourceschedule/resource_schedule_service/ressched/plugins/socperf_plugin/src/
H A Dsocperf_plugin.cpp315 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 Dcontext_container.cpp296 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 Dbasebundleinstallerinstallbundle_fuzzer.cpp33 Constants::AppType appType = Constants::AppType::SYSTEM_APP; in DoSomethingInterestingWithMyAPI() local
34 auto ret1 = basebundleinstall.InstallBundle(bundlePath, installParam, appType); in DoSomethingInterestingWithMyAPI()

123456