Searched refs:WakeupPolicy (Results 1 – 4 of 4) sorted by relevance
37 WakeupPolicy policy; in testPolicyParser()39 policy = new WakeupPolicy(null); in testPolicyParser()42 policy = new WakeupPolicy(new String[] {}); in testPolicyParser()45 policy = new WakeupPolicy(new String[] {""}); in testPolicyParser()48 policy = new WakeupPolicy(new String[] {"15,1"}); in testPolicyParser()51 policy = new WakeupPolicy(new String[] {"15y,1"}); in testPolicyParser()54 policy = new WakeupPolicy(new String[] {"15m"}); in testPolicyParser()57 policy = new WakeupPolicy(new String[] {"15m,Q"}); in testPolicyParser()60 policy = new WakeupPolicy(new String[] {"15m,-1"}); in testPolicyParser()63 policy = new WakeupPolicy(new String[] {",1"}); in testPolicyParser()[all …]
86 private WakeupPolicy mWakeupPolicy;92 mWakeupPolicy = new WakeupPolicy(sTemplateWakeupSchedule); in setUp()
34 class WakeupPolicy { class46 WakeupPolicy(String[] policy) { in WakeupPolicy() method in WakeupPolicy56 public static WakeupPolicy initFromResources(Context context) { in initFromResources()58 return new WakeupPolicy( in initFromResources()
40 @VisibleForTesting final WakeupPolicy mWakeupPolicy;53 WakeupPolicy wakeupPolicy, in Controller()59 (wakeupPolicy == null ? WakeupPolicy.initFromResources(context) : wakeupPolicy); in Controller()