Home
last modified time | relevance | path

Searched refs:stateContainer (Results 1 – 2 of 2) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/
DSensorSettingContainer.java56 ISensorTestStateContainer stateContainer, in requestToSetMode() argument
58 if (!isSettingAvailable() || !isSettingUiAvailable(stateContainer)) { in requestToSetMode()
61 trySetMode(stateContainer, modeOn); in requestToSetMode()
63 String message = stateContainer.getString( in requestToSetMode()
65 getSettingName(stateContainer), in requestToSetMode()
71 public synchronized void requestToResetMode(ISensorTestStateContainer stateContainer) in requestToResetMode() argument
73 if (!isSettingAvailable() || !isSettingUiAvailable(stateContainer)) { in requestToResetMode()
76 trySetMode(stateContainer, mCapturedModeOn); in requestToResetMode()
79 private void trySetMode(ISensorTestStateContainer stateContainer, boolean modeOn) in trySetMode() argument
81 BaseSensorTestActivity.SensorTestLogger logger = stateContainer.getTestLogger(); in trySetMode()
[all …]
DSensorFeaturesDeactivator.java49 public SensorFeaturesDeactivator(ISensorTestStateContainer stateContainer) { in SensorFeaturesDeactivator() argument
50 mStateContainer = stateContainer; in SensorFeaturesDeactivator()