Home
last modified time | relevance | path

Searched refs:getSettingsInt (Results 1 – 8 of 8) sorted by relevance

/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
H A DCarAudioSettingsUnitTest.java89 .that(getSettingsInt(TEST_GAIN_INDEX_KEY)).isEqualTo(TEST_GAIN_INDEX); in storedVolumeGainIndexForUser_savesValue()
99 .that(getSettingsInt(TEST_MUTE_KEY)).isEqualTo(0); in storeVolumeGroupMuteForUser_withUnMutedState_savesValue()
109 .that(getSettingsInt(TEST_MUTE_KEY)).isEqualTo(1); in storeVolumeGroupMuteForUser_withMutedState_savesValue()
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
H A DInitialUserSetterTest.java860 assertThat(getSettingsInt(CarSettings.Global.LAST_ACTIVE_USER_ID)) in testGetInitialUser_WithNonExistLastActiveUser_ReturnsLastPersistentUser()
873 assertThat(getSettingsInt(CarSettings.Global.LAST_ACTIVE_USER_ID)) in testGetInitialUser_WithNonExistLastActiveAndPersistentUsers_ReturnsSmallestUser()
875 assertThat(getSettingsInt(CarSettings.Global.LAST_ACTIVE_PERSISTENT_USER_ID)) in testGetInitialUser_WithNonExistLastActiveAndPersistentUsers_ReturnsSmallestUser()
986 assertThat(getSettingsInt(CarSettings.Global.LAST_ACTIVE_USER_ID)) in testSetLastActiveUser_nonHeadlessSystem()
988 assertThat(getSettingsInt(CarSettings.Global.LAST_ACTIVE_PERSISTENT_USER_ID)) in testSetLastActiveUser_nonHeadlessSystem()
997 assertThat(getSettingsInt(CarSettings.Global.LAST_ACTIVE_USER_ID)).isEqualTo(42); in testSetLastActiveUser_nonExistingUser()
1011 assertThat(getSettingsInt(CarSettings.Global.LAST_ACTIVE_USER_ID)) in testSetLastActiveUser_ephemeralUser()
1013 assertThat(getSettingsInt(CarSettings.Global.LAST_ACTIVE_PERSISTENT_USER_ID)) in testSetLastActiveUser_ephemeralUser()
1023 assertThat(getSettingsInt(CarSettings.Global.LAST_ACTIVE_USER_ID)).isEqualTo(42); in testSetLastActiveUser_nonEphemeralUser()
1024 assertThat(getSettingsInt(CarSettings.Global.LAST_ACTIVE_PERSISTENT_USER_ID)).isEqualTo(42); in testSetLastActiveUser_nonEphemeralUser()
H A DCarUserServiceTest.java487 assertThat(getSettingsInt(CarSettings.Global.DEFAULT_USER_RESTRICTIONS_SET)).isEqualTo(1); in testInitializeGuestRestrictions_IfNotAlreadySet()
/aosp12/frameworks/base/services/core/java/com/android/server/
H A DBluetoothAirplaneModeListener.java96 mToastCount = mAirplaneHelper.getSettingsInt(TOAST_COUNT); in start()
H A DBluetoothModeChangeHelper.java111 public int getSettingsInt(String name) { in getSettingsInt() method in BluetoothModeChangeHelper
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DBluetoothAirplaneModeListenerTest.java51 when(mHelper.getSettingsInt(BluetoothAirplaneModeListener.TOAST_COUNT)) in setUp()
/aosp12/packages/services/Car/car-test-lib/src/android/car/test/mocks/
H A DAbstractExtendedMockitoTestCase.java188 protected int getSettingsInt(@NonNull String key) { in getSettingsInt() method in AbstractExtendedMockitoTestCase
/aosp12/frameworks/base/services/
H A Dart-profile1201 HSPLcom/android/server/BluetoothModeChangeHelper;->getSettingsInt(Ljava/lang/String;)I