Home
last modified time | relevance | path

Searched refs:appInfo (Results 1 – 19 of 19) sorted by relevance

/base/sensors/sensor/services/sensor/src/
Dsensor_suspend_policy.cpp68 for (const auto &appInfo : list) { in DoSuspend() local
69 std::vector<uint32_t> sensorIdList = clientInfo_.GetSensorIdByPid(appInfo.pid); in DoSuspend()
73 pidSensorIdMap_.emplace(std::make_pair(appInfo.pid, sensorIdList)); in DoSuspend()
78 auto sensorInfo = clientInfo_.GetCurPidSensorInfo(sensorId, appInfo.pid); in DoSuspend()
80 DisableSensor(sensorId, appInfo.pid); in DoSuspend()
161 for (const auto &appInfo : list) { in DoActive() local
162 sensorIdList = GetSensorIdByPid(appInfo.pid); in DoActive()
172 auto ret = EnableSensor(sensorId, appInfo.pid, samplePeriod, maxReportDelay); in DoActive()
175 sensorId, appInfo.pid, ret); in DoActive()
/base/notification/ans_standard/services/ans/src/
Dbundle_manager_helper.cpp160 AppExecFwk::ApplicationInfo appInfo; in GetDistributedNotificationEnabled() local
162 bundleName, AppExecFwk::ApplicationFlag::GET_BASIC_APPLICATION_INFO, userId, appInfo)) { in GetDistributedNotificationEnabled()
163 …ANS_LOGD("APPLICATION_INFO distributed enabled %{public}d", appInfo.distributedNotificationEnabled… in GetDistributedNotificationEnabled()
164 return appInfo.distributedNotificationEnabled; in GetDistributedNotificationEnabled()
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/
Dhiappevent_config.cpp206 std::shared_ptr<OHOS::AppExecFwk::ApplicationInfo> appInfo = context->GetApplicationInfo(); in GetStorageDir() local
207 if (appInfo == nullptr || appInfo->dataDir.empty()) { in GetStorageDir()
211 std::string dir = appInfo->dataDir + FILES_DIR + APP_EVENT_DIR; in GetStorageDir()
/base/notification/ans_standard/frameworks/ans/test/moduletest/mock/
Dmock_bundle_mgr_proxy.cpp42 …const std::string &appName, const ApplicationFlag flag, const int userId, ApplicationInfo &appInfo) in GetApplicationInfo() argument
44 appInfo.distributedNotificationEnabled = distributedNotificationEnabled; in GetApplicationInfo()
/base/security/access_token/frameworks/com.ohos.permissionmanager/permissionmanager/src/main/ets/MainAbility/pages/
Dauthority-tertiary.ets240 Promise.all([getAppLabel(res.appInfo.labelId, res.name),
241 getAppIcon(res.appInfo.iconId, res.name),
242 verifyAccessToken(res.appInfo.accessTokenId, routerData[0].permission)])
249 res.appInfo.accessTokenId,
258 res.appInfo.accessTokenId,
Dauthority-tertiary-groups.ets268 Promise.all([getAppLabel(res.appInfo.labelId, res.name),
269 getAppIcon(res.appInfo.iconId, res.name)
277 res.appInfo.accessTokenId,
286 res.appInfo.accessTokenId,
300 verifyAccessToken(res.appInfo.accessTokenId, routerData[j].permission).then((access) => {
Dapplication-tertiary.ets183 Promise.all([getAppLabel(res.appInfo.labelId, res.name),
184 getAppIcon(res.appInfo.iconId, res.name)])
194 res.appInfo.accessTokenId,
203 res.appInfo.accessTokenId,
Dauthority-management.ets185 this.updateAppLabel(infoIndex, info.name, info.appInfo.label);
359 'tokenId': info.appInfo.accessTokenId,
360 'iconId': info.appInfo.iconId,
361 'labelId': info.appInfo.labelId,
/base/accessibility/services/aams/test/mock/
Dmock_bundle_manager.cpp89 const ApplicationFlag flag, const int userId, ApplicationInfo &appInfo) in GetApplicationInfo() argument
Dmock_bundle_mgr_proxy.cpp35 …const std::string &appName, const ApplicationFlag flag, const int userId, ApplicationInfo &appInfo) in GetApplicationInfo() argument
41 const std::string &appName, int32_t flags, int32_t userId, ApplicationInfo &appInfo) in GetApplicationInfo() argument
Dmock_bundle_manager.h134 …:string &appName, const ApplicationFlag flag, const int userId, ApplicationInfo &appInfo) override;
/base/telephony/sms_mms/test/unittest/
Dgsm_sms_sender_test.cpp573 …std::shared_ptr<AppExecFwk::ApplicationInfo> appInfo = std::make_shared<AppExecFwk::ApplicationInf… in RequestPermissions() local
575 if (appInfo == nullptr || deal == nullptr) { in RequestPermissions()
582 appInfo->bundleName = name; in RequestPermissions()
589 deal->SetApplicationInfo(appInfo); in RequestPermissions()
/base/accessibility/services/test/mock/
Dmock_bundle_mgr_proxy.cpp35 …const std::string &appName, const ApplicationFlag flag, const int userId, ApplicationInfo &appInfo) in GetApplicationInfo() argument
41 const std::string &appName, int32_t flags, int32_t userId, ApplicationInfo &appInfo) in GetApplicationInfo() argument
Dmock_bundle_manager.cpp92 …const std::string &appName, const ApplicationFlag flag, const int userId, ApplicationInfo &appInfo) in GetApplicationInfo() argument
/base/notification/ans_standard/services/test/moduletest/mock/include/
Dmock_bundle_manager.h50 …::string &appName, const ApplicationFlag flag, const int userId, ApplicationInfo &appInfo) override in GetApplicationInfo() argument
/base/notification/ans_standard/services/test/moduletest/mock/
Dmock_bundle_mgr_proxy.cpp34 …const std::string &appName, const ApplicationFlag flag, const int userId, ApplicationInfo &appInfo) in GetApplicationInfo() argument
/base/notification/ans_standard/frameworks/ans/test/moduletest/mock/include/
Dmock_bundle_manager.h50 …::string &appName, const ApplicationFlag flag, const int userId, ApplicationInfo &appInfo) override in GetApplicationInfo() argument
/base/notification/ces_standard/services/test/mock/include/
Dmock_bundle_manager.h49 …::string &appName, const ApplicationFlag flag, const int userId, ApplicationInfo &appInfo) override in GetApplicationInfo() argument
/base/notification/ces_standard/services/test/unittest/mock/include/
Dmock_bundle_manager.h52 …::string &appName, const ApplicationFlag flag, const int userId, ApplicationInfo &appInfo) override in GetApplicationInfo() argument