Searched refs:createPolicy (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Wifi/framework/tests/src/android/net/wifi/hotspot2/pps/ |
D | PolicyTest.java | 50 private static Policy createPolicy() { in createPolicy() method in PolicyTest 124 verifyParcel(createPolicy()); in verifyParcelWithFullPolicy() 134 Policy policy = createPolicy(); in verifyParcelWithoutProtoPortMap() 146 Policy policy = createPolicy(); in verifyParcelWithoutPreferredRoamingPartnerList() 158 Policy policy = createPolicy(); in verifyParcelWithoutPolicyUpdate() 184 Policy policy = createPolicy(); in verifyCopyConstructionWithFullPolicy() 208 assertTrue(createPolicy().validate()); in validatePolicyWithFullPolicy() 218 Policy policy = createPolicy(); in validatePolicyWithoutPolicyUpdate() 230 Policy policy = createPolicy(); in validatePolicyWithInvalidPolicyUpdate() 242 Policy policy = createPolicy(); in validatePolicyWithRoamingPartnerWithoutFQDN() [all …]
|
/packages/services/Car/cpp/powerpolicy/server/tests/ |
D | PowerComponentHandlerTest.cpp | 36 CarPowerPolicyPtr createPolicy(const std::string& policyId, in createPolicy() function 73 createPolicy("test_policy", {PowerComponent::WIFI, PowerComponent::NFC}, in TEST_F() 96 createPolicy("test_policy4", in TEST_F() 107 CarPowerPolicyPtr policy = createPolicy(policyId, enabledComponents, disabledComponents); in TEST_F()
|
/packages/services/Car/cpp/powerpolicy/server/src/ |
D | PolicyManager.cpp | 418 CarPowerPolicyPtr createPolicy(const char* policyId, in createPolicy() function 606 createPolicy(kSystemPolicyIdAllOn, kAllComponents, in initRegularPowerPolicy() 617 createPolicy(kSystemPolicyIdInitialOn, kInitialOnComponents, in initRegularPowerPolicy() 624 createPolicy(kSystemPolicyIdNoUserInteraction, in initPreemptivePowerPolicy() 628 createPolicy(kSystemPolicyIdSuspendToRam, kNoComponents, in initPreemptivePowerPolicy()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/hotspot2/ |
D | PasspointTestUtils.java | 72 private static Policy createPolicy() { in createPolicy() method in PasspointTestUtils 140 config.setPolicy(createPolicy()); in createConfig()
|