Searched refs:allowInfo (Results 1 - 3 of 3) sorted by relevance
/foundation/resourceschedule/device_standby/interfaces/kits/napi/src/ |
H A D | standby_napi_module.cpp | 158 for (const auto& allowInfo : asyncCallbackInfo->allowInfoArray) { in AddGetAllowListCallbackCompleteCB() 161 Common::SetUint32Value(env, "resourceTypes", static_cast<uint32_t>(allowInfo.GetAllowType()), allowInfoObj); in AddGetAllowListCallbackCompleteCB() 162 Common::SetStringValue(env, "name", allowInfo.GetName(), allowInfoObj); in AddGetAllowListCallbackCompleteCB() 163 Common::SetInt32Value(env, "duration", allowInfo.GetDuration(), allowInfoObj); in AddGetAllowListCallbackCompleteCB()
|
/foundation/resourceschedule/device_standby/services/core/src/ |
H A D | standby_service_impl.cpp | 413 for (auto& [uid, allowInfo] : allowInfoMap_) { in DumpPersistantData() 414 root[uid] = allowInfo->ParseToJson(); in DumpPersistantData() 861 [&allowSet](AllowInfo& allowInfo) { allowSet.insert(allowInfo.GetName()); }); in GetEligiableRestrictSet() 1381 for (const auto& allowInfo : allowInfoList) { in DumpModifyAllowList() 1382 result += "allowType: " + std::to_string(allowInfo.GetAllowType()) + "\n" + in DumpModifyAllowList() 1383 "name: " + allowInfo.GetName() + "\n" + in DumpModifyAllowList() 1384 "duration: " + std::to_string(allowInfo.GetDuration()) + "\n"; in DumpModifyAllowList() 1388 for (const auto& allowInfo : allowInfoList) { in DumpModifyAllowList() 1389 result += "restrictType: " + std::to_string(allowInfo in DumpModifyAllowList() [all...] |
/foundation/resourceschedule/device_standby/interfaces/innerkits/test/unittest/ |
H A D | standby_client_unit_test.cpp | 122 auto allowInfo = std::make_shared<AllowInfo>(); in HWTEST_F() local 124 EXPECT_TRUE(allowInfo->Marshalling(out)); in HWTEST_F()
|
Completed in 4 milliseconds