/base/notification/distributed_notification_service/services/ans/test/unittest/ |
D | reminder_data_manager_test.cpp | 35 static auto manager = std::make_shared<ReminderDataManager>(); variable 54 manager->PublishReminder(reminder, option); in HWTEST_F() 55 manager->CancelReminder(-1, option); in HWTEST_F() 56 manager->CancelAllReminders("", -1); in HWTEST_F() 57 manager->CancelAllReminders(-1); in HWTEST_F() 58 manager->IsMatched(reminder, "", -1); in HWTEST_F() 60 EXPECT_TRUE(manager != nullptr); in HWTEST_F() 73 manager->GetValidReminders(option, vec); in HWTEST_F() 75 manager->CheckReminderLimitExceededLocked(option, reminder); in HWTEST_F() 76 manager->CancelNotification(reminder); in HWTEST_F() [all …]
|
/base/notification/common_event_service/services/test/unittest/static_subscriber_manager_unit_test/ |
D | static_subscriber_manager_unit_test.cpp | 92 std::shared_ptr<StaticSubscriberManager> manager = std::make_shared<StaticSubscriberManager>(); variable 93 ASSERT_NE(nullptr, manager); 94 bool initResult = manager->InitAllowList(); 98 EXPECT_TRUE(manager->hasInitAllowList_); 113 std::shared_ptr<StaticSubscriberManager> manager = std::make_shared<StaticSubscriberManager>(); variable 114 ASSERT_NE(nullptr, manager); 133 manager->staticSubscribers_.emplace(testExtensionBundleName, subscribers); 135 …manager->ParseEvents(testExtensionName, testExtensionBundleName, testExtensionUserId, testProfile); 137 EXPECT_EQ(1, manager->validSubscribers_.size()); 139 auto it = manager->validSubscribers_.find(expectEventName); [all …]
|
/base/telephony/ril_adapter/test/unittest/ril_adapter_gtest/ |
D | zero_branch_test.cpp | 71 bool TestCallInterface(std::shared_ptr<HRilManager> manager) in TestCallInterface() argument 74 EXPECT_NE(HDF_SUCCESS, manager->SetEmergencyCallList(0, 0, emergencyInfoList)); in TestCallInterface() 75 EXPECT_NE(HDF_SUCCESS, manager->GetEmergencyCallList(0, 0)); in TestCallInterface() 76 EXPECT_NE(HDF_SUCCESS, manager->GetCallList(0, 0)); in TestCallInterface() 78 EXPECT_NE(HDF_SUCCESS, manager->Dial(0, 0, dialInfo)); in TestCallInterface() 79 EXPECT_NE(HDF_SUCCESS, manager->Reject(0, 0)); in TestCallInterface() 80 EXPECT_NE(HDF_SUCCESS, manager->Hangup(0, 0, 0)); in TestCallInterface() 81 EXPECT_NE(HDF_SUCCESS, manager->Answer(0, 0)); in TestCallInterface() 82 EXPECT_NE(HDF_SUCCESS, manager->HoldCall(0, 0)); in TestCallInterface() 83 EXPECT_NE(HDF_SUCCESS, manager->UnHoldCall(0, 0)); in TestCallInterface() [all …]
|
/base/update/updater/interfaces/kits/packages/ |
D | package.cpp | 127 PkgManager::PkgManagerPtr manager = PkgManager::CreatePackageInstance(); in CreatePackage() local 128 if (pkgInfoExt == nullptr || path == nullptr || keyPath == nullptr || manager == nullptr) { in CreatePackage() 140 ret = manager->CreatePackage(path, keyPath, &upgradePackageInfo.pkgInfo, files); in CreatePackage() 150 ret = manager->CreatePackage(path, keyPath, &info, files); in CreatePackage() 159 ret = manager->CreatePackage(path, keyPath, &info, files); in CreatePackage() 167 PkgManager::ReleasePackageInstance(manager); in CreatePackage() 177 PkgManager::PkgManagerPtr manager = PkgManager::CreatePackageInstance(); in VerifyPackage() local 178 if (packagePath == nullptr || keyPath == nullptr || version == nullptr || manager == nullptr) { in VerifyPackage() 183 int32_t ret = manager->VerifyPackage(packagePath, keyPath, version, digestBuffer, in VerifyPackage() 185 PkgManager::ReleasePackageInstance(manager); in VerifyPackage() [all …]
|
/base/update/updater/services/package/pkg_package/ |
D | packages_info.cpp | 75 std::vector<std::string> PackagesInfo::GetOTAVersion(Hpackage::PkgManager::PkgManagerPtr manager, in GetOTAVersion() argument 79 if (manager == nullptr) { in GetOTAVersion() 86 const FileInfo *info = manager->GetFileInfo(versionList); in GetOTAVersion() 91 int32_t ret = manager->CreatePkgStream(outStream, versionList, info->unpackedSize, in GetOTAVersion() 97 ret = manager->ExtractFile(versionList, outStream); in GetOTAVersion() 100 manager->ClosePkgStream(outStream); in GetOTAVersion() 107 manager->ClosePkgStream(outStream); in GetOTAVersion() 112 manager->ClosePkgStream(outStream); in GetOTAVersion() 116 std::vector<std::string> PackagesInfo::GetBoardID(Hpackage::PkgManager::PkgManagerPtr manager, in GetBoardID() argument 120 if (manager == nullptr) { in GetBoardID() [all …]
|
D | pkg_lz4file.h | 56 …explicit Lz4PkgFile(PkgManager::PkgManagerPtr manager, PkgStreamPtr stream, PkgInfoPtr header = nu… 57 : PkgFileImpl(manager, stream, PkgFile::PKG_TYPE_LZ4) in PkgFileImpl() argument
|
/base/update/updater/services/script/script_manager/ |
D | script_managerImpl.cpp | 106 PkgManager::PkgManagerPtr manager = scriptEnv_->GetPkgManager(); in Init() local 107 if (manager == nullptr) { in Init() 114 const FileInfo *info = manager->GetFileInfo(REGISTER_CMD_SCRIPT_NAME); in Init() 116 ret = ExtractAndExecuteScript(manager, REGISTER_CMD_SCRIPT_NAME); in Init() 124 ret = ExtractAndExecuteScript(manager, LOAD_SCRIPT_NAME); in Init() 157 int32_t ScriptManagerImpl::ExtractAndExecuteScript(PkgManager::PkgManagerPtr manager, in ExtractAndExecuteScript() argument 163 const FileInfo *info = manager->GetFileInfo(scriptName); in ExtractAndExecuteScript() 169 int32_t ret = manager->CreatePkgStream(outStream, path + "/" + scriptName, in ExtractAndExecuteScript() 176 ret = manager->ExtractFile(scriptName, outStream); in ExtractAndExecuteScript() 178 manager->ClosePkgStream(outStream); in ExtractAndExecuteScript() [all …]
|
/base/useriam/fingerprint_auth/test/unittest/ |
D | fingerprint_auth_sensor_illumination_test.cpp | 103 auto manager = SensorIlluminationManager::GetInstance(); variable 104 EXPECT_TRUE(manager != nullptr); 109 manager->ProcessSaCommand(executor, enableCommand); 113 manager->ProcessSaCommand(executor, turnOnCommand); 116 manager->ProcessSaCommand(executor, turnOffCommand); 120 manager->ProcessSaCommand(executor, turnOnCommand); 123 manager->ProcessSaCommand(executor, turnOffCommand); 127 manager->ProcessSaCommand(executor, disableCommand);
|
/base/customization/enterprise_device_management/test/unittest/src/ |
D | enterprise_conn_manager_test.cpp | 64 …std::shared_ptr<EnterpriseConnManager> manager = DelayedSingleton<EnterpriseConnManager>::GetInsta… variable 65 sptr<IEnterpriseConnection> connection = manager->CreateAdminConnection(connectWant, 67 bool ret = manager->ConnectAbility(connection); 85 …std::shared_ptr<EnterpriseConnManager> manager = DelayedSingleton<EnterpriseConnManager>::GetInsta… variable 86 sptr<IEnterpriseConnection> connection = manager->CreateBundleConnection(connectWant, 88 bool ret = manager->ConnectAbility(connection); 91 ret = manager->ConnectAbility(nullptr);
|
/base/web/webview/ohos_adapter/ohos_resource_adapter/src/ |
D | ohos_resource_adapter_impl.cpp | 205 bool OhosResourceAdapterImpl::HasEntry(const std::shared_ptr<OHOS::AbilityBase::Extractor>& manager, in HasEntry() argument 208 if (!manager) { in HasEntry() 211 return manager->HasEntry(rawFile); in HasEntry() 214 … OhosResourceAdapterImpl::GetFileInfo(const std::shared_ptr<OHOS::AbilityBase::Extractor>& manager, in GetFileInfo() argument 217 if (!manager) { in GetFileInfo() 220 return manager->GetFileInfo(rawFile, info); in GetFileInfo() 247 std::string OhosResourceAdapterImpl::ParseModuleName(const std::shared_ptr<Extractor> &manager) in ParseModuleName() argument 249 if (manager == nullptr) { in ParseModuleName() 254 bool ret = manager->ExtractToBufByName("config.json", configBuf, len); in ParseModuleName() 268 bool OhosResourceAdapterImpl::GetRawFileData(const std::shared_ptr<Extractor>& manager, in GetRawFileData() argument [all …]
|
/base/useriam/face_auth/services/src/ |
D | screen_brightness_manager.cpp | 33 auto manager = Common::MakeShared<ScreenBrightnessManager>(); in CreateScreenBrightnessManager() local 34 IF_FALSE_LOGE_AND_RETURN_VAL(manager != nullptr, nullptr); in CreateScreenBrightnessManager() 38 SaCommandManager::GetInstance().RegisterSaCommandProcessor(commandIds, manager); in CreateScreenBrightnessManager() 39 return manager; in CreateScreenBrightnessManager() 45 static auto manager = CreateScreenBrightnessManager(); in GetInstance() local 46 if (manager == nullptr) { in GetInstance() 49 return manager; in GetInstance()
|
D | service_ex_manager.cpp | 36 static ServiceExManager manager; in GetInstance() local 37 return manager; in GetInstance()
|
/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/ |
D | peer_binder_catcher.cpp | 107 std::map<int, std::list<BinderInfo>> manager; in BinderInfoParser() local 153 manager[info.client].push_back(info); in BinderInfoParser() 160 HIVIEW_LOGI("manager size: %{public}zu", manager.size()); in BinderInfoParser() 161 return manager; in BinderInfoParser() 177 std::map<int, std::list<PeerBinderCatcher::BinderInfo>> manager = BinderInfoParser(fin, fd); in GetBinderPeerPids() local 180 if (manager.size() == 0 || manager.find(pid_) == manager.end()) { in GetBinderPeerPids() 185 for (auto each : manager[pid_]) { in GetBinderPeerPids() 189 ParseBinderCallChain(manager, pids, pid_); in GetBinderPeerPids() 194 …nderCatcher::ParseBinderCallChain(std::map<int, std::list<PeerBinderCatcher::BinderInfo>>& manager, in ParseBinderCallChain() argument 197 for (auto& each : manager[pid]) { in ParseBinderCallChain() [all …]
|
/base/useriam/face_auth/test/unittest/ |
D | face_auth_screen_brightness_test.cpp | 77 auto manager = ScreenBrightnessManager::GetInstance(); variable 78 EXPECT_TRUE(manager != nullptr); 84 auto result = manager->ProcessSaCommand(executor, beginCommand); 87 result = manager->ProcessSaCommand(executor, endCommand);
|
/base/location/frameworks/native/source/ |
D | country_code_manager.cpp | 283 auto manager = DelayedSingleton<CountryCodeManager>::GetInstance(); in SubscribeLocaleConfigEvent() local 284 if (manager == nullptr) { in SubscribeLocaleConfigEvent() 288 manager->GetIsoCountryCode(); in SubscribeLocaleConfigEvent() 319 auto manager = DelayedSingleton<CountryCodeManager>::GetInstance(); in OnLocationReport() local 320 if (manager == nullptr) { in OnLocationReport() 328 std::string code = manager->GetCountryCodeByLocation(location); in OnLocationReport() 333 if (manager->UpdateCountryCodeByLocation(code, COUNTRY_CODE_FROM_LOCATION)) { in OnLocationReport() 335 manager->GetIsoCountryCode(); in OnLocationReport() 356 auto manager = DelayedSingleton<CountryCodeManager>::GetInstance(); in OnReceiveEvent() local 357 if (manager == nullptr) { in OnReceiveEvent() [all …]
|
/base/web/webview/ohos_adapter/ohos_resource_adapter/include/ |
D | ohos_resource_adapter_impl.h | 75 … static std::string ParseModuleName(const std::shared_ptr<OHOS::AbilityBase::Extractor> &manager); 77 static bool GetRawFileData(const std::shared_ptr<OHOS::AbilityBase::Extractor>& manager, 80 static bool HasEntry(const std::shared_ptr<OHOS::AbilityBase::Extractor>& manager, 83 static bool GetFileInfo(const std::shared_ptr<OHOS::AbilityBase::Extractor>& manager, 86 static bool GetRawFileMapper(const std::shared_ptr<OHOS::AbilityBase::Extractor>& manager,
|
/base/telephony/cellular_call/ |
D | BUILD.gn | 39 "services/manager/src/cellular_call_callback.cpp", 40 "services/manager/src/cellular_call_handler.cpp", 41 "services/manager/src/cellular_call_register.cpp", 42 "services/manager/src/cellular_call_service.cpp", 43 "services/manager/src/cellular_call_stub.cpp", 49 "services/manager/include",
|
/base/useriam/fingerprint_auth/services/src/ |
D | sensor_illumination_manager.cpp | 35 auto manager = Common::MakeShared<SensorIlluminationManager>(); in CreateSensorIlluminationManager() local 36 IF_FALSE_LOGE_AND_RETURN_VAL(manager != nullptr, nullptr); in CreateSensorIlluminationManager() 41 SaCommandManager::GetInstance().RegisterSaCommandProcessor(commandIds, manager); in CreateSensorIlluminationManager() 42 return manager; in CreateSensorIlluminationManager() 48 static auto manager = CreateSensorIlluminationManager(); in GetInstance() local 49 if (manager == nullptr) { in GetInstance() 52 return manager; in GetInstance()
|
D | service_ex_manager.cpp | 37 static ServiceExManager manager; in GetInstance() local 38 return manager; in GetInstance()
|
/base/update/updater/services/include/package/ |
D | packages_info.h | 47 std::vector<std::string> GetOTAVersion(Hpackage::PkgManager::PkgManagerPtr manager, 56 …std::vector<std::string> GetBoardID(Hpackage::PkgManager::PkgManagerPtr manager, const std::string…
|
/base/update/updater/test/unittest/script/ |
D | script_unittest.cpp | 229 ScriptManager *manager = ScriptManager::GetScriptManager(env, &verifier); in TestUscriptExecute() local 230 if (manager == nullptr) { in TestUscriptExecute() 236 ret = manager->ExecuteScript(priority); in TestUscriptExecute() 240 ret = manager->ExecuteScript(priority); in TestUscriptExecute() 242 ret = manager->ExecuteScript(priority); in TestUscriptExecute() 244 ret = manager->ExecuteScript(priority); in TestUscriptExecute()
|
/base/update/updater/test/unittest/package/ |
D | pkg_test.h | 117 … void ExtractFile(PkgManager::PkgManagerPtr manager, std::vector<std::string> components, size_t i) in ExtractFile() argument 121 …manager->CreatePkgStream(outStream, TEST_PATH_TO + components[i], 0, PkgStream::PkgStreamType_Writ… in ExtractFile() 126 int ret = manager->ExtractFile(components[i], outStream); in ExtractFile() 128 manager->ClosePkgStream(outStream); in ExtractFile() 129 const FileInfo *info = manager->GetFileInfo(components[i]); in ExtractFile() 132 … const ComponentInfo* compInfo = (const ComponentInfo*)manager->GetFileInfo(components[i]); in ExtractFile()
|
/base/startup/init/services/param/liteos/ |
D | BUILD.gn | 75 "//base/startup/init/services/param/manager/param_manager.c", 76 "//base/startup/init/services/param/manager/param_persist.c", 85 "//base/startup/init/services/param/manager/param_manager.c", 86 "//base/startup/init/services/param/manager/param_server.c", 96 "//base/startup/init/services/param/manager/param_persist.c", 138 "//base/startup/init/services/param/manager/param_server.c",
|
/base/update/updater/test/fuzztest/extractandexecutescript_fuzzer/ |
D | extractandexecutescript_fuzzer.cpp | 159 ScriptManager* manager = ScriptManager::GetScriptManager(env, &scriptVerifier); in TestUscriptExecute() local 160 if (manager == nullptr) { in TestUscriptExecute() 166 ret = manager->ExecuteScript(priority); in TestUscriptExecute() 169 ret = manager->ExecuteScript(priority); in TestUscriptExecute() 172 ret = manager->ExecuteScript(priority); in TestUscriptExecute() 174 ret = manager->ExecuteScript(priority); in TestUscriptExecute()
|
/base/security/device_auth/services/session_manager/src/session/v2/ |
D | dev_session_util.c | 66 PseudonymManager *manager = GetPseudonymInstance(); in GetPdidByContext() local 67 if (manager == NULL) { in GetPdidByContext() 73 int32_t res = manager->getPseudonymId(osAccountId, userId, &pdid); in GetPdidByContext() 136 PseudonymManager *manager = GetPseudonymInstance(); in GetRealPkInfoJson() local 137 if (manager == NULL) { in GetRealPkInfoJson() 142 int32_t res = manager->getRealInfo(osAccountId, pdid, &peerInfo); in GetRealPkInfoJson() 411 PseudonymManager *manager = GetPseudonymInstance(); in CheckPeerPkInfoForPdid() local 412 if (manager == NULL) { in CheckPeerPkInfoForPdid() 418 int32_t res = manager->getRealInfo(osAccountId, pdid, &peerInfo); in CheckPeerPkInfoForPdid()
|