Home
last modified time | relevance | path

Searched refs:mZoneId (Results 1 – 11 of 11) sorted by relevance

/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/volume/
DCarAudioZoneVolumeFragment.java57 private final int mZoneId; field in CarAudioZoneVolumeFragment
81 Log.d(TAG, "zone " + mZoneId + " handleMessage : " + getMessageName(msg)); in handleMessage()
118 mZoneId = zoneId; in CarAudioZoneVolumeFragment()
127 Log.d(TAG, "onCreateView " + mZoneId); in onCreateView()
141 int volumeGroupCount = mCarAudioManager.getVolumeGroupCount(mZoneId); in initVolumeInfo()
156 int current = mCarAudioManager.getGroupVolume(mZoneId, groupId); in initVolumeInfo()
157 int max = mCarAudioManager.getGroupMaxVolume(mZoneId, groupId); in initVolumeInfo()
160 volumeInfo.isMuted = mCarAudioManager.isVolumeGroupMuted(mZoneId, groupId); in initVolumeInfo()
178 int current = mCarAudioManager.getGroupVolume(mZoneId, groupId); in adjustVolumeByOne()
180 mCarAudioManager.setGroupVolume(mZoneId, groupId, volume, AudioManager.FLAG_SHOW_UI); in adjustVolumeByOne()
[all …]
/packages/services/Car/service/src/com/android/car/audio/
DCarVolumeGroup.java61 private final int mZoneId; field in CarVolumeGroup
82 mZoneId = zoneId; in CarVolumeGroup()
96 mStoredGainIndex = mSettingsManager.getStoredVolumeGainIndexForUser(mUserId, mZoneId, mId); in init()
205 writer.printf("Zone Id(%b)\n", mZoneId); in dump()
246 mSettingsManager.storeVolumeGroupMuteForUser(mUserId, mZoneId, mId, mute); in setMute()
275 int gainIndexForUser = mSettingsManager.getStoredVolumeGainIndexForUser(mUserId, mZoneId, in getCurrentGainIndexForUserLocked()
308 mZoneId, mId, gainIndex); in storeGainIndexForUserLocked()
328 mIsMuted = mSettingsManager.getVolumeGroupMuteForUser(mUserId, mZoneId, mId); in updateGroupMuteLocked()
335 private final int mZoneId; field in CarVolumeGroup.Builder
353 mZoneId = zoneId; in Builder()
[all …]
DCarDuckingInfo.java35 public final int mZoneId; field in CarDuckingInfo
42 mZoneId = zoneId; in CarDuckingInfo()
55 duckingInfo.zoneId = mZoneId; in generateDuckingInfo()
69 writer.printf("Ducking Info for zone %d \n", mZoneId); in dump()
DCarDucking.java104 int zoneId = oldDuckingInfo.mZoneId; in generateNewDuckingInfoLocked()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryHistEntry.java58 public final String mZoneId; field in BatteryHistEntry
85 mZoneId = getString(values, KEY_ZONE_ID); in BatteryHistEntry()
106 mZoneId = getString(cursor, KEY_ZONE_ID); in BatteryHistEntry()
135 mZoneId = fromEntry.mZoneId; in BatteryHistEntry()
195 recordAtDateTime, mZoneId, Duration.ofMillis(mBootTimestamp).getSeconds())) in toString()
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarAudioZonesValidatorTest.java115 private int mZoneId = 0; field in CarAudioZonesValidatorTest.MockBuilder
120 when(zoneMock.getId()).thenReturn(mZoneId); in build()
132 mZoneId = zoneId; in withZoneId()
/packages/services/Car/car-lib/src/android/car/media/
DCarAudioManager.java806 handleOnGroupVolumeChanged(volumeInfo.mZoneId, volumeInfo.mGroupId, in handleMessage()
811 handleOnGroupMuteChanged(muteInfo.mZoneId, muteInfo.mGroupId, muteInfo.mFlags); in handleMessage()
837 public int mZoneId; field in CarAudioManager.EventHandler.VolumeGroupChangeInfo
842 mZoneId = zoneId; in VolumeGroupChangeInfo()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarVolumeGroupUnitTest.java548 private final int mZoneId; field in CarVolumeGroupUnitTest.SettingsBuilder
554 mZoneId = zoneId; in SettingsBuilder()
578 .getStoredVolumeGainIndexForUser(gainUserId, mZoneId, in build()
584 when(settingsMock.getVolumeGroupMuteForUser(muteUserId, mZoneId, mGroupId)) in build()
DCarDuckingInfoTest.java65 assertThat(duckingInfo.mZoneId).isEqualTo(ZONE_ID); in constructor_validInputs_succeeds()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/hal/
DAudioControlWrapperAidlTest.java461 private final int mZoneId; field in AudioControlWrapperAidlTest.MutingInfoBuilder
466 mZoneId = zoneId; in MutingInfoBuilder()
481 info.zoneId = mZoneId; in build()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryHistEntryTest.java283 assertThat(entry.mZoneId).isEqualTo(TimeZone.getDefault().getID()); in assertBatteryHistEntry()