/aosp12/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()
|
/aosp12/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()
|
/aosp12/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 | BinderCallsStatsService.java | 56 import com.android.internal.os.CachedDeviceState; 287 CachedDeviceState.Readonly deviceState = getLocalService( in onBootPhase() 288 CachedDeviceState.Readonly.class); in onBootPhase()
|
H A D | LooperStatsService.java | 36 import com.android.internal.os.CachedDeviceState; 221 mStats.setDeviceState(getLocalService(CachedDeviceState.Readonly.class)); in onBootPhase()
|
/aosp12/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()
|
/aosp12/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()
|
/aosp12/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 | 9063 com.android.internal.os.CachedDeviceState$Readonly 9064 com.android.internal.os.CachedDeviceState$TimeInStateStopwatch 9065 com.android.internal.os.CachedDeviceState
|
H A D | boot-image-profile.txt | 21775 HSPLcom/android/internal/os/CachedDeviceState$Readonly;->isCharging()Z 21776 HSPLcom/android/internal/os/CachedDeviceState;->access$200(Lcom/android/internal/os/CachedDeviceSta… 21811 …wsCollection()Z+]Lcom/android/internal/os/CachedDeviceState$Readonly;Lcom/android/internal/os/Cach… 42947 Lcom/android/internal/os/CachedDeviceState$Readonly; 42948 Lcom/android/internal/os/CachedDeviceState$TimeInStateStopwatch; 42949 Lcom/android/internal/os/CachedDeviceState;
|
/aosp12/frameworks/base/boot/ |
H A D | preloaded-classes | 9042 com.android.internal.os.CachedDeviceState$Readonly 9043 com.android.internal.os.CachedDeviceState$TimeInStateStopwatch 9044 com.android.internal.os.CachedDeviceState
|
H A D | boot-image-profile.txt | 21728 HSPLcom/android/internal/os/CachedDeviceState$Readonly;->isCharging()Z 21729 HSPLcom/android/internal/os/CachedDeviceState;->access$200(Lcom/android/internal/os/CachedDeviceSta… 21764 …wsCollection()Z+]Lcom/android/internal/os/CachedDeviceState$Readonly;Lcom/android/internal/os/Cach… 33283 Lcom/android/internal/os/CachedDeviceState$Readonly; 33284 Lcom/android/internal/os/CachedDeviceState$TimeInStateStopwatch; 33285 Lcom/android/internal/os/CachedDeviceState;
|
/aosp12/frameworks/base/services/ |
H A D | art-profile | 1220 …g;Ljava/lang/String;]Lcom/android/internal/os/CachedDeviceState;Lcom/android/internal/os/CachedDev… 1222 …ccess$000(Lcom/android/server/CachedDeviceStateService;)Lcom/android/internal/os/CachedDeviceState;
|