Home
last modified time | relevance | path

Searched refs:allowInfo (Results 1 - 3 of 3) sorted by relevance

/foundation/resourceschedule/device_standby/interfaces/kits/napi/src/
H A Dstandby_napi_module.cpp158 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 Dstandby_service_impl.cpp413 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 Dstandby_client_unit_test.cpp122 auto allowInfo = std::make_shared<AllowInfo>(); in HWTEST_F() local
124 EXPECT_TRUE(allowInfo->Marshalling(out)); in HWTEST_F()

Completed in 4 milliseconds