/base/useriam/user_auth_framework/test/unittest/services/src/ |
H A D | widget_json_test.cpp | 158 std::vector<std::string> typeList; in HWTEST_F() local 162 typeList.push_back(AuthType2Str(at)); in HWTEST_F() 175 widgetCommand.typeList = typeList; in HWTEST_F() 191 std::vector<std::string> typeList; in HWTEST_F() local 194 typeList.push_back(AuthType2Str(at)); in HWTEST_F() 205 widgetCommand.typeList = typeList; in HWTEST_F() 227 std::vector<std::string> typeList; in HWTEST_F() local 231 typeList in HWTEST_F() 261 std::vector<std::string> typeList; HWTEST_F() local [all...] |
H A D | widget_client_test.cpp | 206 widgetNotice.typeList.push_back("all"); in HWTEST_F() 222 widgetNotice.typeList.push_back("pin"); in HWTEST_F() 238 widgetNotice.typeList.push_back("pin"); in HWTEST_F() 254 widgetNotice.typeList.push_back("all"); in HWTEST_F() 270 widgetNotice.typeList.push_back("pin"); in HWTEST_F() 287 widgetNotice.typeList.push_back("pin"); in HWTEST_F() 288 widgetNotice.typeList.push_back("face"); in HWTEST_F() 306 widgetNotice.typeList.push_back("pin"); in HWTEST_F() 322 widgetNotice.typeList.push_back("pin"); in HWTEST_F() 338 widgetNotice.typeList in HWTEST_F() [all...] |
/base/powermgr/thermal_manager/test/unittest/src/ |
H A D | thermal_mock_proxy_test.cpp | 75 std::vector<std::string> typeList; in HWTEST_F() local 78 EXPECT_FALSE(srvProxy->SubscribeThermalTempCallback(typeList, tempCallback)); in HWTEST_F() 84 EXPECT_FALSE(srvProxy->SubscribeThermalActionCallback(typeList, desc, actionCallback)); in HWTEST_F() 89 EXPECT_TRUE(srvProxy->SubscribeThermalTempCallback(typeList, tempCallback)); in HWTEST_F() 97 EXPECT_TRUE(srvProxy->SubscribeThermalActionCallback(typeList, desc, actionCallback)); in HWTEST_F()
|
H A D | thermal_mock_proxy_remote_test.cpp | 49 std::vector<std::string> typeList {}; in HWTEST_F() 53 EXPECT_FALSE(thermalMgrClient.SubscribeThermalTempCallback(typeList, tempCallback)); in HWTEST_F() 61 EXPECT_FALSE(thermalMgrClient.SubscribeThermalActionCallback(typeList, desc, actionCallback)); in HWTEST_F() 112 std::vector<std::string> typeList; in HWTEST_F() local 115 EXPECT_FALSE(srvProxy->SubscribeThermalTempCallback(typeList, tempCallback)); in HWTEST_F() 121 EXPECT_FALSE(srvProxy->SubscribeThermalActionCallback(typeList, desc, actionCallback)); in HWTEST_F()
|
H A D | thermal_mock_proxy_writeremoteobject_test.cpp | 47 std::vector<std::string> typeList {}; in HWTEST_F() 51 EXPECT_FALSE(thermalMgrClient.SubscribeThermalTempCallback(typeList, tempCallback)); in HWTEST_F() 59 EXPECT_FALSE(thermalMgrClient.SubscribeThermalActionCallback(typeList, desc, actionCallback)); in HWTEST_F() 116 std::vector<std::string> typeList; in HWTEST_F() local 120 EXPECT_FALSE(srvProxy->SubscribeThermalTempCallback(typeList, tempCallback)); in HWTEST_F() 128 EXPECT_FALSE(srvProxy->SubscribeThermalActionCallback(typeList, desc, actionCallback)); in HWTEST_F()
|
H A D | thermal_observer_test.cpp | 104 std::vector<std::string> typeList; in HWTEST_F() local 107 observer->SubscribeThermalTempCallback(typeList, tempCallback); in HWTEST_F() 109 observer->SubscribeThermalTempCallback(typeList, tempCb); in HWTEST_F() 112 observer->SubscribeThermalActionCallback(typeList, "desc", actionCb); in HWTEST_F() 114 observer->SubscribeThermalActionCallback(typeList, "desc", actionCb); in HWTEST_F() 118 observer->DecisionActionValue(typeList, actionCbMap); in HWTEST_F() 119 typeList.push_back("cpu_big"); in HWTEST_F() 120 typeList.push_back("cpu_med"); in HWTEST_F() 121 typeList.push_back("cpu_lit"); in HWTEST_F() 122 observer->DecisionActionValue(typeList, actionCbMa in HWTEST_F() [all...] |
H A D | thermal_client_test.cpp | 99 std::vector<std::string> typeList; in HWTEST_F() local 101 EXPECT_FALSE(client.SubscribeThermalTempCallback(typeList, tempCallback)); in HWTEST_F() 107 EXPECT_TRUE(client.SubscribeThermalTempCallback(typeList, tempCallback)); in HWTEST_F() 118 EXPECT_FALSE(client.SubscribeThermalActionCallback(typeList, actionList, actionCallback)); in HWTEST_F() 122 EXPECT_TRUE(client.SubscribeThermalActionCallback(typeList, actionList, actionCallback)); in HWTEST_F()
|
H A D | thermal_mock_proxy_writevector_test.cpp | 55 std::vector<std::string> typeList; in HWTEST_F() local 59 EXPECT_FALSE(srvProxy->SubscribeThermalTempCallback(typeList, tempCallback)); in HWTEST_F() 67 EXPECT_FALSE(srvProxy->SubscribeThermalActionCallback(typeList, desc, actionCallback)); in HWTEST_F()
|
H A D | thermal_mock_proxy_sendrequest_test.cpp | 55 std::vector<std::string> typeList; in HWTEST_F() local 59 EXPECT_FALSE(srvProxy->SubscribeThermalTempCallback(typeList, tempCallback)); in HWTEST_F() 67 EXPECT_FALSE(srvProxy->SubscribeThermalActionCallback(typeList, desc, actionCallback)); in HWTEST_F()
|
H A D | thermal_mock_proxy_writeinterfacetoken_test.cpp | 45 std::vector<std::string> typeList; in HWTEST_F() local 49 EXPECT_FALSE(srvProxy->SubscribeThermalTempCallback(typeList, tempCallback)); in HWTEST_F() 57 EXPECT_FALSE(srvProxy->SubscribeThermalActionCallback(typeList, desc, actionCallback)); in HWTEST_F()
|
/base/hiviewdfx/hiview/base/test/unittest/common/ |
H A D | dispatch_rule_parser_test.cpp | 106 ASSERT_EQ(rules->typeList.size(), TYPE_SIZE); in HWTEST_F() 124 ASSERT_EQ(rules->typeList.size(), 0); in HWTEST_F() 154 ASSERT_EQ(rules->typeList.size(), 0); in HWTEST_F() 171 ASSERT_EQ(rules->typeList.size(), 0); in HWTEST_F()
|
/base/account/os_account/frameworks/ohosaccount/native/src/ |
H A D | distributed_account_event_service.cpp | 55 void DistributedAccountEventService::GetAllType(std::vector<DISTRIBUTED_ACCOUNT_SUBSCRIBE_TYPE> &typeList) in GetAllType() argument 59 typeList.push_back(it); in GetAllType()
|
H A D | ohos_account_kits_impl.cpp | 326 std::vector<DISTRIBUTED_ACCOUNT_SUBSCRIBE_TYPE> typeList;
in RestoreSubscribe() local 327 it->second->GetAllType(typeList);
in RestoreSubscribe() 328 for (auto type : typeList) {
in RestoreSubscribe()
|
/base/account/os_account/services/accountmgr/src/osaccount/ |
H A D | os_account_file_operator.cpp | 68 std::vector<std::string> typeList; in GetConstraintsByType() local 70 constraintsConfig_, constraintsConfig_.end(), Constants::TYPE_LIST, typeList, OHOS::AccountSA::JsonType::ARRAY); in GetConstraintsByType() 71 if (std::find(typeList.begin(), typeList.end(), std::to_string(type)) == typeList.end()) { in GetConstraintsByType()
|
/base/powermgr/thermal_manager/services/native/src/thermal_observer/ |
H A D | thermal_observer.cpp | 56 auto typeList = baseInfo->GetSensorsType(); in InitSensorTypeMap() 58 THERMAL_HILOGD(COMP_SVC, "sensorType size = %{public}zu", typeList.size()); in InitSensorTypeMap() 59 if (typeList.size() <= TYPE_MAX_SIZE) { in InitSensorTypeMap() 60 typeList.resize(TYPE_MAX_SIZE); in InitSensorTypeMap() 65 if (!typeList.empty()) { in InitSensorTypeMap() 66 for (uint32_t i = 0; i < typeList.size(); i++) { in InitSensorTypeMap() 67 THERMAL_HILOGI(COMP_SVC, "InitSensorTypeMap id=%{public}u sensorType=%{public}s", i, typeList[i].c_str()); in InitSensorTypeMap() 68 sensorType[i] = typeList[i]; in InitSensorTypeMap() 89 void ThermalObserver::SubscribeThermalTempCallback(const std::vector<std::string>& typeList, in SubscribeThermalTempCallback() argument 99 callbackTypeMap_.insert(std::make_pair(callback, typeList)); in SubscribeThermalTempCallback() [all...] |
/base/useriam/user_auth_framework/services/context/inc/ |
H A D | widget_json.h | 49 std::vector<std::string> typeList {}; 80 std::vector<std::string> typeList {};
|
/base/useriam/user_auth_framework/services/context/src/ |
H A D | widget_json.cpp | 116 {JSON_AUTH_TYPE, command.typeList}, in GetJsonCmd() 202 for (const auto &type : typeList) { in AuthTypeList() 245 auto type = nlohmann::json({{JSON_AUTH_TYPE, notice.typeList}, in to_json() 292 notice.typeList.clear(); in from_json() 295 notice.typeList.emplace_back(jsonNotice[JSON_AUTH_PAYLOAD][JSON_AUTH_TYPE].at(index).get<std::string>()); in from_json()
|
/base/account/os_account/frameworks/ohosaccount/native/include/ |
H A D | distributed_account_event_service.h | 33 void GetAllType(std::vector<DISTRIBUTED_ACCOUNT_SUBSCRIBE_TYPE> &typeList);
|
/base/hiviewdfx/hiview/base/include/ |
H A D | defines.h | 87 std::unordered_set<uint8_t> typeList;
member
|
/base/powermgr/thermal_manager/interfaces/inner_api/native/include/ |
H A D | ithermal_srv.h | 31 const std::vector<std::string>& typeList, const sptr<IThermalTempCallback>& callback) = 0;
|
H A D | thermal_mgr_client.h | 33 const std::vector<std::string>& typeList, const sptr<IThermalTempCallback>& callback);
|
/base/powermgr/thermal_manager/services/zidl/src/ |
H A D | thermal_srv_stub.cpp | 106 std::vector<std::string> typeList; in SubscribeThermalTempCallbackStub() local 107 if (!data.ReadStringVector(&typeList)) { in SubscribeThermalTempCallbackStub() 111 SubscribeThermalTempCallback(typeList, callback); in SubscribeThermalTempCallbackStub()
|
/base/powermgr/thermal_manager/services/zidl/include/ |
H A D | thermal_srv_proxy.h | 43 const std::vector<std::string>& typeList, const sptr<IThermalTempCallback>& callback) override;
|
/base/powermgr/thermal_manager/frameworks/native/ |
H A D | thermal_mgr_client.cpp | 98 const std::vector<std::string>& typeList, const sptr<IThermalTempCallback>& callback) in SubscribeThermalTempCallback() 102 thermalSrv_->SubscribeThermalTempCallback(typeList, callback); in SubscribeThermalTempCallback() 97 SubscribeThermalTempCallback( const std::vector<std::string>& typeList, const sptr<IThermalTempCallback>& callback) SubscribeThermalTempCallback() argument
|
/base/security/dlp_permission_service/services/dlp_permission/sa/sa_main/ |
H A D | dlp_permission_service.h | 97 void GetConfigFileValue(const std::string& cfgFile, std::vector<std::string>& typeList); 98 void InitConfig(std::vector<std::string>& typeList);
|