Home
last modified time | relevance | path

Searched refs:setDeviceState (Results 1 – 14 of 14) sorted by relevance

/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/
DUceDeviceState.java261 setDeviceState(DEVICE_STATE_PROVISION_ERROR); in refreshDeviceState()
273 setDeviceState(DEVICE_STATE_PROVISION_ERROR); in refreshDeviceState()
284 setDeviceState(DEVICE_STATE_BAD_EVENT); in refreshDeviceState()
307 setDeviceState(DEVICE_STATE_NO_RETRY); in refreshDeviceState()
350 setDeviceState(DEVICE_STATE_OK); in resetInternal()
356 private void setDeviceState(@DeviceStateType int latestState) { in setDeviceState() method in UceDeviceState
/frameworks/base/apct-tests/perftests/core/src/android/os/
DBinderCallsStatsPerfTest.java48 setDeviceState(new CachedDeviceState(false, false).getReadonlyClient()); in FakeCpuTimeBinderCallsStats()
68 mBinderCallsStats.setDeviceState(deviceState.getReadonlyClient()); in setUp()
DLooperStatsPerfTest.java54 mStats.setDeviceState(mDeviceState.getReadonlyClient()); in setUp()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DPhoneCallPowerStatsProcessorTest.java180 aggregatedPowerStats.setDeviceState(STATE_POWER, POWER_STATE_OTHER, 0); in copyEstimatesFromMobileRadioPowerStats()
181 aggregatedPowerStats.setDeviceState(STATE_SCREEN, SCREEN_STATE_ON, 0); in copyEstimatesFromMobileRadioPowerStats()
193 aggregatedPowerStats.setDeviceState(STATE_SCREEN, SCREEN_STATE_OTHER, 2500); in copyEstimatesFromMobileRadioPowerStats()
DAggregatedPowerStatsTest.java106 stats.setDeviceState(AggregatedPowerStatsConfig.STATE_SCREEN, in prepareAggregatePowerStats()
124 stats.setDeviceState(AggregatedPowerStatsConfig.STATE_SCREEN, in prepareAggregatePowerStats()
/frameworks/base/services/core/java/com/android/server/power/stats/
DPowerStatsAggregator.java103 mStats.setDeviceState(AggregatedPowerStatsConfig.STATE_POWER, batteryState, in aggregatePowerStats()
113 mStats.setDeviceState(AggregatedPowerStatsConfig.STATE_SCREEN, screenState, in aggregatePowerStats()
DAggregatedPowerStats.java131 void setDeviceState(@AggregatedPowerStatsConfig.TrackedState int stateId, int state, in setDeviceState() method in AggregatedPowerStats
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DCentralSurfacesImplTest.java1034 setDeviceState(FOLD_STATE_UNFOLDED); in deviceStateChange_unfolded_shadeOpen_setsLeaveOpenOnKeyguardHide()
1046 setDeviceState(FOLD_STATE_UNFOLDED); in deviceStateChange_unfolded_shadeOpen_onKeyguard_doesNotSetLeaveOpenOnKeyguardHide()
1059 setDeviceState(FOLD_STATE_UNFOLDED); in deviceStateChange_unfolded_shadeClose_doesNotSetLeaveOpenOnKeyguardHide()
1071 setDeviceState(FOLD_STATE_UNFOLDED); in deviceStateChange_unfolded_shadeExpanding_onKeyguard_closesQS()
1084 setDeviceState(FOLD_STATE_UNFOLDED); in deviceStateChange_unfolded_shadeExpanded_onKeyguard_closesQS()
1405 private void setDeviceState(int state) { in setDeviceState() method in CentralSurfacesImplTest
/frameworks/base/services/core/java/com/android/server/
DLooperStatsService.java221 mStats.setDeviceState(getLocalService(CachedDeviceState.Readonly.class)); in onBootPhase()
DBinderCallsStatsService.java289 mBinderCallsStats.setDeviceState(deviceState); in onBootPhase()
/frameworks/base/core/java/com/android/internal/os/
DLooperStats.java68 public void setDeviceState(@NonNull CachedDeviceState.Readonly deviceState) { in setDeviceState() method in LooperStats
DBinderCallsStats.java191 public void setDeviceState(@NonNull CachedDeviceState.Readonly deviceState) { in setDeviceState() method in BinderCallsStats
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBinderCallsStatsTest.java452 bcs.setDeviceState(mDeviceState.getReadonlyClient()); in testNoDataCollectedBeforeInitialDeviceStateSet()
1105 setDeviceState(deviceState.getReadonlyClient()); in TestBinderCallsStats()
DLooperStatsTest.java559 setDeviceState(deviceState.getReadonlyClient()); in TestableLooperStats()