/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarAudioSettingsUnitTest.java | 60 private MockSettings mMockSettings; field in CarAudioSettingsUnitTest 68 mMockSettings = new MockSettings(session); in onSessionBuilder() 113 .that(mMockSettings.getInt(TEST_GAIN_INDEX_KEY)).isEqualTo(TEST_GAIN_INDEX); in storedVolumeGainIndexForUser_savesValue() 123 .that(mMockSettings.getInt(TEST_MUTE_KEY)).isEqualTo(0); in storeVolumeGroupMuteForUser_withUnMutedState_savesValue() 133 .that(mMockSettings.getInt(TEST_MUTE_KEY)).isEqualTo(1); in storeVolumeGroupMuteForUser_withMutedState_savesValue() 179 mMockSettings.putInt(TEST_GAIN_INDEX_KEY, gainIndexForUser); in setStoredVolumeGainIndexForUser() 183 mMockSettings.putInt(TEST_MUTE_KEY, volumeSetting); in setStoredVolumeMuteForUser() 187 mMockSettings.putInt(CarSettings.Secure.KEY_AUDIO_FOCUS_NAVIGATION_REJECTED_DURING_CALL, in setRejectNavigationOnCallSettingsValues() 192 mMockSettings.putInt(CarSettings.Secure.KEY_AUDIO_PERSIST_VOLUME_GROUP_MUTE_STATES, in setPersistVolumeGroupMuteSettingsValues()
|
D | CarAudioServiceUnitTest.java | 483 private MockSettings mMockSettings; field in CarAudioServiceUnitTest 536 mMockSettings = new MockSettings(session); in onSessionBuilder()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/wifi/ |
D | CarWifiServiceUnitTest.java | 89 private MockSettings mMockSettings; field in CarWifiServiceUnitTest 96 mMockSettings = new MockSettings(builder); in onSessionBuilder() 121 mMockSettings.putString(CarSettings.Global.ENABLE_PERSISTENT_TETHERING, "false"); in setUp() 161 mMockSettings.putString(CarSettings.Global.ENABLE_PERSISTENT_TETHERING, "true"); in testPersistCarSettingOn_userUnlockBeforePowerOn_tetheringOn() 178 mMockSettings.putString(CarSettings.Global.ENABLE_PERSISTENT_TETHERING, "true"); in testPersistCarSettingOn_notOnLast_noTethering() 192 mMockSettings.putString(CarSettings.Global.ENABLE_PERSISTENT_TETHERING, "true"); in testPersistCarSettingOn_tetheringAlreadyEnabled_noTethering() 207 mMockSettings.putString(CarSettings.Global.ENABLE_PERSISTENT_TETHERING, "true"); in testPersistCarSettingOn_powerOnBeforeUserUnlock_tetheringOn() 253 mMockSettings.putString(CarSettings.Global.ENABLE_PERSISTENT_TETHERING, "true"); in testPersistCarSettingChange_withCapability_autoShutdownFalse()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
D | InitialUserSetterTest.java | 99 private MockSettings mMockSettings; field in InitialUserSetterTest 112 mMockSettings = new MockSettings(session); in onSessionBuilder() 890 assertThat(mMockSettings.getInt(CarSettings.Global.LAST_ACTIVE_USER_ID)) in testGetInitialUser_WithNonExistLastActiveUser_ReturnsLastPersistentUser() 903 assertThat(mMockSettings.getInt(CarSettings.Global.LAST_ACTIVE_USER_ID)) in testGetInitialUser_WithNonExistLastActiveAndPersistentUsers_ReturnsSmallestUser() 905 assertThat(mMockSettings.getInt(CarSettings.Global.LAST_ACTIVE_PERSISTENT_USER_ID)) in testGetInitialUser_WithNonExistLastActiveAndPersistentUsers_ReturnsSmallestUser() 1014 mMockSettings.assertDoesNotContainsKey(CarSettings.Global.LAST_ACTIVE_USER_ID); in testSetLastActiveUser_headlessSystem() 1015 mMockSettings.assertDoesNotContainsKey(CarSettings.Global.LAST_ACTIVE_PERSISTENT_USER_ID); in testSetLastActiveUser_headlessSystem() 1025 assertThat(mMockSettings.getInt(CarSettings.Global.LAST_ACTIVE_USER_ID)) in testSetLastActiveUser_nonHeadlessSystem() 1027 assertThat(mMockSettings.getInt(CarSettings.Global.LAST_ACTIVE_PERSISTENT_USER_ID)) in testSetLastActiveUser_nonHeadlessSystem() 1036 assertThat(mMockSettings.getInt(CarSettings.Global.LAST_ACTIVE_USER_ID)).isEqualTo(42); in testSetLastActiveUser_nonExistingUser() [all …]
|
D | CarUserNoticeServiceTest.java | 109 private MockSettings mMockSettings; field in CarUserNoticeServiceTest 117 mMockSettings = new MockSettings(session); in onSessionBuilder() 134 mMockSettings.putInt(CarSettings.Secure.KEY_ENABLE_INITIAL_NOTICE_SCREEN_TO_USER, 1); in setUpMocks() 250 mMockSettings.putInt(CarSettings.Secure.KEY_ENABLE_INITIAL_NOTICE_SCREEN_TO_USER, 0); in uiNotShownIfSettingsDisabled()
|
D | CarUserServiceTest.java | 147 private MockSettings mMockSettings; field in CarUserServiceTest 157 mMockSettings = new MockSettings(builder); in onSessionBuilder() 685 assertThat(mMockSettings.getInt(CarSettings.Global.DEFAULT_USER_RESTRICTIONS_SET)) in testInitializeGuestRestrictions_IfNotAlreadySet()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/cluster/ |
D | InstrumentClusterServiceTest.java | 87 private MockSettings mMockSettings; field in InstrumentClusterServiceTest 129 mMockSettings = new MockSettings(builder); in onSessionBuilder() 141 mMockSettings.putString(DISABLE_INSTRUMENTATION_SERVICE, "false"); in setUp()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarNightServiceTest.java | 80 private MockSettings mMockSettings; field in CarNightServiceTest 87 mMockSettings = new MockSettings(session); in onSessionBuilder()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/ |
D | ScreenOffHandlerUnitTest.java | 95 private MockSettings mMockSettings; field in ScreenOffHandlerUnitTest 99 mMockSettings = new MockSettings(session); in onSessionBuilder()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/ |
D | CarTelemetryServiceTest.java | 101 private MockSettings mMockSettings; field in CarTelemetryServiceTest 124 mMockSettings = new MockSettings(session); in onSessionBuilder()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/ |
D | CarWatchdogServiceUnitTest.java | 217 private MockSettings mMockSettings; field in CarWatchdogServiceUnitTest 240 mMockSettings = new MockSettings(builder); in onSessionBuilder()
|
D | WatchdogPerfHandlerUnitTest.java | 246 private MockSettings mMockSettings; field in WatchdogPerfHandlerUnitTest 272 mMockSettings = new MockSettings(builder); in onSessionBuilder()
|