Home
last modified time | relevance | path

Searched refs:ActionBill (Results 1 – 9 of 9) sorted by relevance

/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
H A DTareBill.java35 import com.android.server.tare.EconomyManagerInternal.ActionBill;
46 static final ActionBill ALARM_CLOCK = new ActionBill(List.of(
51 static final ActionBill NONWAKEUP_INEXACT_ALARM = new ActionBill(List.of(
53 static final ActionBill NONWAKEUP_INEXACT_ALLOW_WHILE_IDLE_ALARM = new ActionBill(List.of(
56 static final ActionBill NONWAKEUP_EXACT_ALARM = new ActionBill(List.of(
58 static final ActionBill NONWAKEUP_EXACT_ALLOW_WHILE_IDLE_ALARM = new ActionBill(List.of(
61 static final ActionBill WAKEUP_INEXACT_ALARM = new ActionBill(List.of(
63 static final ActionBill WAKEUP_INEXACT_ALLOW_WHILE_IDLE_ALARM = new ActionBill(List.of(
66 static final ActionBill WAKEUP_EXACT_ALARM = new ActionBill(List.of(
68 static final ActionBill WAKEUP_EXACT_ALLOW_WHILE_IDLE_ALARM = new ActionBill(List.of(
[all …]
H A DAlarmManagerService.java285 private final SparseArrayMap<String, ArrayMap<EconomyManagerInternal.ActionBill, Boolean>>
2673 final EconomyManagerInternal.ActionBill bill = TareBill.getAppropriateBill(alarm); in maybeUnregisterTareListenerLocked()
2685 ArrayMap<EconomyManagerInternal.ActionBill, Boolean> actionAffordability = in maybeUnregisterTareListenerLocked()
4966 @NonNull EconomyManagerInternal.ActionBill bill) { in canAffordBillLocked()
4969 ArrayMap<EconomyManagerInternal.ActionBill, Boolean> actionAffordability = in canAffordBillLocked()
5424 @NonNull EconomyManagerInternal.ActionBill bill, boolean canAfford) {
5432 ArrayMap<EconomyManagerInternal.ActionBill, Boolean> actionAffordability =
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
H A DTareController.java62 new ActionBill(List.of(
75 new ActionBill(List.of(
87 new ActionBill(List.of(
100 new ActionBill(List.of(
110 new ActionBill(List.of(
123 new ActionBill(List.of(
133 new ActionBill(List.of(
146 new ActionBill(List.of(
159 new ActionBill(List.of(
173 new ActionBill(List.of(
[all …]
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/tare/
H A DEconomyManagerInternal.java80 final class ActionBill { class
87 public ActionBill(@NonNull List<AnticipatedAction> anticipatedActions) { in ActionBill() method in EconomyManagerInternal.ActionBill
107 ActionBill that = (ActionBill) o; in equals()
119 void onAffordabilityChanged(int userId, @NonNull String pkgName, @NonNull ActionBill bill, in onAffordabilityChanged()
131 boolean canPayFor(int userId, @NonNull String pkgName, @NonNull ActionBill bill); in canPayFor()
137 long getMaxDurationMs(int userId, @NonNull String pkgName, @NonNull ActionBill bill); in getMaxDurationMs()
152 @NonNull AffordabilityChangeListener listener, @NonNull ActionBill bill); in registerAffordabilityChangeListener()
159 @NonNull AffordabilityChangeListener listener, @NonNull ActionBill bill); in unregisterAffordabilityChangeListener()
H A DAgent.java1104 @NonNull EconomyManagerInternal.ActionBill bill) { in registerAffordabilityChangeListenerLocked()
1136 @NonNull EconomyManagerInternal.ActionBill bill) { in unregisterAffordabilityChangeListenerLocked()
1151 private final EconomyManagerInternal.ActionBill mActionBill;
1158 ActionAffordabilityNote(@NonNull EconomyManagerInternal.ActionBill bill, in ActionAffordabilityNote()
1179 EconomyManagerInternal.ActionBill getActionBill() { in getActionBill()
H A DInternalResourceService.java1381 @NonNull AffordabilityChangeListener listener, @NonNull ActionBill bill) { in registerAffordabilityChangeListener()
1393 @NonNull AffordabilityChangeListener listener, @NonNull ActionBill bill) { in unregisterAffordabilityChangeListener()
1429 public boolean canPayFor(int userId, @NonNull String pkgName, @NonNull ActionBill bill) { in canPayFor()
1457 @NonNull ActionBill bill) { in getMaxDurationMs()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/tare/
H A DAgentTrendCalculatorTest.java35 import com.android.server.tare.EconomyManagerInternal.ActionBill;
130 affordabilityNotes.add(new ActionAffordabilityNote(new ActionBill(List.of( in testNoOngoingEvents()
185 affordabilityNotes.add(new ActionAffordabilityNote(new ActionBill(List.of( in testNoTrendToThreshold()
234 affordabilityNotes.add(new ActionAffordabilityNote(new ActionBill(List.of( in testSimpleTrendToThreshold_Balance()
282 affordabilityNotes.add(new ActionAffordabilityNote(new ActionBill(List.of( in testSelectCorrectThreshold_Balance()
285 affordabilityNotes.add(new ActionAffordabilityNote(new ActionBill(List.of( in testSelectCorrectThreshold_Balance()
288 affordabilityNotes.add(new ActionAffordabilityNote(new ActionBill(List.of( in testSelectCorrectThreshold_Balance()
291 affordabilityNotes.add(new ActionAffordabilityNote(new ActionBill(List.of( in testSelectCorrectThreshold_Balance()
330 affordabilityNotes.add(new ActionAffordabilityNote(new ActionBill(List.of( in testTrendsToBothThresholds_Balance()
333 affordabilityNotes.add(new ActionAffordabilityNote(new ActionBill(List.of( in testTrendsToBothThresholds_Balance()
[all …]
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/
H A DAlarmManagerServiceTest.java2106 final ArgumentCaptor<EconomyManagerInternal.ActionBill> billCaptor =
2107 ArgumentCaptor.forClass(EconomyManagerInternal.ActionBill.class);
2117 final EconomyManagerInternal.ActionBill bill = billCaptor.getValue();
/aosp14/frameworks/base/services/
H A Dart-profile4692 …droid/server/job/controllers/JobStatus;)Lcom/android/server/tare/EconomyManagerInternal$ActionBill;
9972ActionBill;Lcom/android/server/tare/EconomyManagerInternal$AffordabilityChangeListener;Lcom/androi…
9973 …ndroid/server/tare/EconomyManagerInternal$ActionBill;Lcom/android/server/tare/EconomyManagerIntern…
9974 …ndroid/server/tare/EconomyManagerInternal$ActionBill;Lcom/android/server/tare/EconomyManagerIntern…
9976 …dabilityChangeListener;Lcom/android/server/tare/EconomyManagerInternal$ActionBill;)V+]Landroid/uti…
9978 …rInternal$AffordabilityChangeListener;Lcom/android/server/tare/EconomyManagerInternal$ActionBill;)V
9980 …yManagerInternal$ActionBill;->equals(Ljava/lang/Object;)Z+]Ljava/lang/Object;Lcom/android/server/t…
9981 HSPLcom/android/server/tare/EconomyManagerInternal$ActionBill;->getAnticipatedActions()Ljava/util/L…
9982 HSPLcom/android/server/tare/EconomyManagerInternal$ActionBill;->hashCode()I
9986 …dabilityChangeListener;Lcom/android/server/tare/EconomyManagerInternal$ActionBill;)V+]Lcom/android…
[all …]