Home
last modified time | relevance | path

Searched refs:WorkChain (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/os/
DWorkSourceTest.java19 import android.os.WorkSource.WorkChain;
33 WorkChain wc1 = new WorkChain(); in testWorkChain_add()
50 WorkChain wc1 = new WorkChain(); in testWorkChain_equalsHashCode()
51 WorkChain wc2 = new WorkChain(); in testWorkChain_equalsHashCode()
66 wc1 = new WorkChain(); in testWorkChain_equalsHashCode()
67 wc2 = new WorkChain(); in testWorkChain_equalsHashCode()
73 wc1 = new WorkChain(); in testWorkChain_equalsHashCode()
74 wc2 = new WorkChain(); in testWorkChain_equalsHashCode()
82 WorkChain wc1 = new WorkChain(); in testWorkChain_constructor()
87 WorkChain wc2 = new WorkChain(wc1); in testWorkChain_constructor()
[all …]
DPowerManagerTest.java132 WorkSource.WorkChain workChain = workSource.createWorkChain(); in testWakeLockWithWorkChains()
/frameworks/base/core/java/android/os/
DWorkSource.java35 private ArrayList<WorkChain> mChains;
85 for (WorkChain chain : orig.mChains) { in WorkSource()
86 mChains.add(new WorkChain(chain)); in WorkSource()
123 in.readParcelableList(mChains, WorkChain.class.getClassLoader()); in WorkSource()
317 for (WorkChain chain : other.mChains) { in set()
318 mChains.add(new WorkChain(chain)); in set()
397 for (WorkChain wc : other.mChains) { in add()
399 mChains.add(new WorkChain(wc)); in add()
509 public WorkChain createWorkChain() { in createWorkChain()
514 final WorkChain wc = new WorkChain(); in createWorkChain()
[all …]
DStatsLogEventWrapper.java142 ArrayList<android.os.WorkSource.WorkChain> workChains = mWorkSource.getWorkChains(); in writeToParcel()
146 android.os.WorkSource.WorkChain wc = workChains.get(i); in writeToParcel()
218 android.os.WorkSource.WorkChain workChain = mWorkSource.createWorkChain(); in readFromParcel()
/frameworks/base/libs/services/include/android/os/
DStatsLogEventWrapper.h85 struct WorkChain { struct
109 const std::vector<WorkChain>& getWorkChains() const { return mWorkChains; } in getWorkChains() argument
120 std::vector<WorkChain> mWorkChains;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRILRequest.java24 import android.os.WorkSource.WorkChain;
170 final ArrayList<WorkChain> workChains = mWorkSource.getWorkChains(); in getWorkSourceClientId()
172 final WorkChain workChain = workChains.get(0); in getWorkSourceClientId()
/frameworks/base/core/proto/android/os/
Dworksource.proto34 message WorkChain { message
41 repeated WorkChain work_chains = 2;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiLockManager.java27 import android.os.WorkSource.WorkChain;
451 final List<WorkChain> workChains = ws.getWorkChains(); in addWsToLlWatchList()
454 final WorkChain workChain = workChains.get(i); in addWsToLlWatchList()
468 final List<WorkChain> workChains = ws.getWorkChains(); in removeWsFromLlWatchList()
471 final WorkChain workChain = workChains.get(i); in removeWsFromLlWatchList()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/rtt/
DRttServiceImpl.java53 import android.os.WorkSource.WorkChain;
747 final ArrayList<WorkChain> workChains = rri.workSource.getWorkChains(); in isRequestorSpamming()
762 final ArrayList<WorkChain> workChains = ws.getWorkChains(); in isRequestorSpamming()
902 final ArrayList<WorkChain> workChains = ws.getWorkChains(); in preExecThrottleCheck()
905 final WorkChain wc = workChains.get(i); in preExecThrottleCheck()
935 final WorkChain wc = workChains.get(i); in preExecThrottleCheck()
961 final WorkChain wc = workChains.get(i); in preExecThrottleCheck()
/frameworks/base/libs/services/src/os/
DStatsLogEventWrapper.cpp78 WorkChain wc; in readFromParcel()
/frameworks/base/services/core/java/com/android/server/location/
DGnssLocationProvider.java59 import android.os.WorkSource.WorkChain;
1158 List<WorkChain>[] diffs = WorkSource.diffChains(mClientSource, source); in updateClientUids()
1160 List<WorkChain> newChains = diffs[0]; in updateClientUids()
1161 List<WorkChain> goneChains = diffs[1]; in updateClientUids()
1164 for (WorkChain newChain : newChains) { in updateClientUids()
1171 for (WorkChain goneChain : goneChains) { in updateClientUids()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java56 import android.os.WorkSource.WorkChain;
4100 List<WorkChain> workChains = workSource.getWorkChains(); in noteAlarmStartOrFinishLocked()
4132 ArrayList<WorkChain> workChains = workSource.getWorkChains(); in noteWakupAlarmLocked()
4135 final WorkChain wc = workChains.get(i); in noteWakupAlarmLocked()
4213 public void noteStartWakeLocked(int uid, int pid, WorkChain wc, String name, String historyName, in noteStartWakeLocked()
4277 public void noteStopWakeLocked(int uid, int pid, WorkChain wc, String name, String historyName, in noteStopWakeLocked()
4362 List<WorkChain> wcs = ws.getWorkChains(); in noteStartWakeFromSourceLocked()
4365 final WorkChain wc = wcs.get(i); in noteStartWakeFromSourceLocked()
4378 List<WorkChain>[] wcs = WorkSource.diffChains(ws, newWs); in noteChangeWakelockFromSourceLocked()
4391 List<WorkChain> newChains = wcs[0]; in noteChangeWakelockFromSourceLocked()
[all …]
/frameworks/base/cmds/statsd/src/logd/
DLogEvent.cpp65 const WorkChain& wc = statsLogEventWrapper.getWorkChains()[workChainIndex]; in LogEvent()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java70 import android.os.WorkSource.WorkChain;
1118 private static WorkChain getFirstNonEmptyWorkChain(WorkSource workSource) { in getFirstNonEmptyWorkChain()
1123 for (WorkChain workChain: workSource.getWorkChains()) { in getFirstNonEmptyWorkChain()
1139 WorkChain workChain = getFirstNonEmptyWorkChain(workSource); in applyWakeLockFlagsOnAcquireLocked()
1979 final ArrayList<WorkChain> workChains = wakeLock.mWorkSource.getWorkChains(); in wakeLockAffectsUser()
/frameworks/base/config/
Ddirty-image-objects160 android.os.WorkSource$WorkChain
Dpreloaded-classes2930 android.os.WorkSource$WorkChain$1
2931 android.os.WorkSource$WorkChain
Dboot-image-profile.txt12427 HSPLandroid/os/WorkSource$WorkChain$1;-><init>()V
12428 HPLandroid/os/WorkSource$WorkChain$1;->createFromParcel(Landroid/os/Parcel;)Landroid/os/WorkSource$
12429 HPLandroid/os/WorkSource$WorkChain$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
12430 HSPLandroid/os/WorkSource$WorkChain;->equals(Ljava/lang/Object;)Z
12431 HPLandroid/os/WorkSource$WorkChain;->getAttributionUid()I
12432 HPLandroid/os/WorkSource$WorkChain;->getTags()[Ljava/lang/String;
12433 HPLandroid/os/WorkSource$WorkChain;->getUids()[I
21001 …internal/os/BatteryStatsImpl;->noteBluetoothScanStartedLocked(Landroid/os/WorkSource$WorkChain;IZ)V
21003 …internal/os/BatteryStatsImpl;->noteBluetoothScanStoppedLocked(Landroid/os/WorkSource$WorkChain;IZ)V
21045 HSPLcom/android/internal/os/BatteryStatsImpl;->noteStartGpsLocked(ILandroid/os/WorkSource$WorkChain
[all …]
Dhiddenapi-greylist-max-o.txt54078 Landroid/os/WorkSource$WorkChain;-><init>(Landroid/os/Parcel;)V
54079 Landroid/os/WorkSource$WorkChain;-><init>(Landroid/os/WorkSource$WorkChain;)V
54080 Landroid/os/WorkSource$WorkChain;->getSize()I
54081 Landroid/os/WorkSource$WorkChain;->getTags()[Ljava/lang/String;
54082 Landroid/os/WorkSource$WorkChain;->getUids()[I
54083 Landroid/os/WorkSource$WorkChain;->mSize:I
54084 Landroid/os/WorkSource$WorkChain;->mTags:[Ljava/lang/String;
54085 Landroid/os/WorkSource$WorkChain;->mUids:[I
54086 Landroid/os/WorkSource$WorkChain;->resizeArrays()V
54109 Landroid/os/WorkSourceProto$WorkChain;->NODES:J
[all …]
/frameworks/base/services/core/java/com/android/server/
DLocationManagerService.java82 import android.os.WorkSource.WorkChain;
2252 final ArrayList<WorkChain> workChains = workSource.getWorkChains(); in isValidWorkSource()
/frameworks/base/api/
Dsystem-current.txt6318 method public android.os.WorkSource.WorkChain createWorkChain();
6321 public static final class WorkSource.WorkChain implements android.os.Parcelable {
6322 ctor public WorkSource.WorkChain();
6323 method public android.os.WorkSource.WorkChain addNode(int, @Nullable String);
6328 …NonNull public static final android.os.Parcelable.Creator<android.os.WorkSource.WorkChain> CREATOR;
/frameworks/base/non-updatable-api/
Dsystem-current.txt6224 method public android.os.WorkSource.WorkChain createWorkChain();
6227 public static final class WorkSource.WorkChain implements android.os.Parcelable {
6228 ctor public WorkSource.WorkChain();
6229 method public android.os.WorkSource.WorkChain addNode(int, @Nullable String);
6234 …NonNull public static final android.os.Parcelable.Creator<android.os.WorkSource.WorkChain> CREATOR;