/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | CachedDeviceStateServiceTest.java | 38 import com.android.internal.os.CachedDeviceState; 85 LocalServices.removeServiceForTest(CachedDeviceState.Readonly.class); in tearDown() 97 CachedDeviceState.Readonly deviceState = in correctlyReportsScreenInteractive() 98 LocalServices.getService(CachedDeviceState.Readonly.class); in correctlyReportsScreenInteractive() 120 CachedDeviceState.Readonly deviceState = in correctlyReportsCharging() 121 LocalServices.getService(CachedDeviceState.Readonly.class); in correctlyReportsCharging() 147 CachedDeviceState.Readonly deviceState = in correctlyTracksTimeOnBattery() 148 LocalServices.getService(CachedDeviceState.Readonly.class); in correctlyTracksTimeOnBattery() 150 CachedDeviceState.TimeInStateStopwatch stopwatch = in correctlyTracksTimeOnBattery()
|
/aosp14/frameworks/base/core/java/com/android/internal/os/ |
H A D | CachedDeviceState.java | 33 public class CachedDeviceState { class 40 public CachedDeviceState() { in CachedDeviceState() method in CachedDeviceState 46 public CachedDeviceState(boolean isCharging, boolean isScreenInteractive) { in CachedDeviceState() method in CachedDeviceState 76 return new CachedDeviceState.Readonly(); in getReadonlyClient()
|
H A D | LooperStats.java | 54 private CachedDeviceState.Readonly mDeviceState; 55 private CachedDeviceState.TimeInStateStopwatch mBatteryStopwatch; 67 public void setDeviceState(@NonNull CachedDeviceState.Readonly deviceState) { in setDeviceState()
|
H A D | BinderCallsStats.java | 117 private CachedDeviceState.Readonly mDeviceState; 118 private CachedDeviceState.TimeInStateStopwatch mBatteryStopwatch; 191 public void setDeviceState(@NonNull CachedDeviceState.Readonly deviceState) { in setDeviceState()
|
/aosp14/frameworks/base/services/core/java/com/android/server/ |
H A D | CachedDeviceStateService.java | 29 import com.android.internal.os.CachedDeviceState; 39 private final CachedDeviceState mDeviceState = new CachedDeviceState(); 66 publishLocalService(CachedDeviceState.Readonly.class, mDeviceState.getReadonlyClient()); in onStart()
|
H A D | LooperStatsService.java | 36 import com.android.internal.os.CachedDeviceState; 221 mStats.setDeviceState(getLocalService(CachedDeviceState.Readonly.class)); in onBootPhase()
|
H A D | BinderCallsStatsService.java | 56 import com.android.internal.os.CachedDeviceState; 287 CachedDeviceState.Readonly deviceState = getLocalService( in onBootPhase() 288 CachedDeviceState.Readonly.class); in onBootPhase()
|
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/os/ |
H A D | BinderCallsStatsPerfTest.java | 27 import com.android.internal.os.CachedDeviceState; 48 setDeviceState(new CachedDeviceState(false, false).getReadonlyClient()); in FakeCpuTimeBinderCallsStats() 67 CachedDeviceState deviceState = new CachedDeviceState(false, false); in setUp()
|
H A D | LooperStatsPerfTest.java | 26 import com.android.internal.os.CachedDeviceState; 46 private CachedDeviceState mDeviceState; 53 mDeviceState = new CachedDeviceState(false, false); in setUp()
|
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
H A D | LooperStatsTest.java | 48 private CachedDeviceState mDeviceState; 64 mDeviceState = new CachedDeviceState(); in setUp() 548 TestableLooperStats(int samplingInterval, int sizeCap, CachedDeviceState deviceState) { in TestableLooperStats()
|
H A D | BinderCallsStatsTest.java | 63 private final CachedDeviceState mDeviceState = new CachedDeviceState(false, true); 1052 TestBinderCallsStats(CachedDeviceState deviceState) { in TestBinderCallsStats()
|
/aosp14/frameworks/base/config/ |
H A D | boot-profile.txt | 789 Lcom/android/internal/os/CachedDeviceState;->access$200(Lcom/android/internal/os/CachedDeviceState;… 792 Lcom/android/internal/os/CachedDeviceState$Readonly;->isCharging()Z
|
H A D | preloaded-classes | 10998 com.android.internal.os.CachedDeviceState$Readonly 10999 com.android.internal.os.CachedDeviceState$TimeInStateStopwatch 11000 com.android.internal.os.CachedDeviceState
|
H A D | boot-image-profile.txt | 21927 HSPLcom/android/internal/os/CachedDeviceState$Readonly;->isCharging()Z 43907 Lcom/android/internal/os/CachedDeviceState$Readonly; 43908 Lcom/android/internal/os/CachedDeviceState$TimeInStateStopwatch; 43909 Lcom/android/internal/os/CachedDeviceState;
|
/aosp14/frameworks/base/boot/ |
H A D | preloaded-classes | 10967 com.android.internal.os.CachedDeviceState$Readonly 10968 com.android.internal.os.CachedDeviceState$TimeInStateStopwatch 10969 com.android.internal.os.CachedDeviceState
|
H A D | boot-image-profile.txt | 21863 HSPLcom/android/internal/os/CachedDeviceState$Readonly;->isCharging()Z 33773 Lcom/android/internal/os/CachedDeviceState$Readonly; 33774 Lcom/android/internal/os/CachedDeviceState$TimeInStateStopwatch; 33775 Lcom/android/internal/os/CachedDeviceState;
|