/packages/services/Car/car-lib/src/android/car/media/ |
D | CarAudioZoneConfigInfo.java | 49 private final int mZoneId; field in CarAudioZoneConfigInfo 88 mZoneId = zoneId; in CarAudioZoneConfigInfo() 103 mZoneId = in.readInt(); in CarAudioZoneConfigInfo() 147 return mZoneId; in getZoneId() 162 .append(", zone id = ").append(mZoneId) in toString() 179 dest.writeInt(mZoneId); in writeToParcel() 236 return Objects.hash(mName, mZoneId, mConfigId, mIsConfigActive, mIsConfigSelected, in hashCode() 239 return Objects.hash(mName, mZoneId, mConfigId); in hashCode() 308 return info == null ? false : (mName.equals(info.mName) && mZoneId == info.mZoneId in hasSameConfigInfoInternal() 323 private final int mZoneId; field in CarAudioZoneConfigInfo.Builder [all …]
|
D | CarVolumeGroupInfo.java | 50 private final int mZoneId; field in CarVolumeGroupInfo 82 mZoneId = zoneId; in CarVolumeGroupInfo() 124 this.mZoneId = zoneId; in CarVolumeGroupInfo() 172 return mZoneId; in getZoneId() 274 .append(mName).append(", zone id = ").append(mZoneId).append(" id = ").append(mId) in toString() 297 dest.writeInt(mZoneId); in writeToParcel() 320 return group != null && mZoneId == group.mZoneId && mId == group.mId in isSameVolumeGroup() 350 int hash = Objects.hash(mName, mZoneId, mId, mVolumeGainIndex, mMaxVolumeGainIndex, in hashCode() 394 private int mZoneId; field in CarVolumeGroupInfo.Builder 412 mZoneId = zoneId; in Builder() [all …]
|
D | CarAudioManager.java | 1968 handleOnGroupVolumeChanged(volumeInfo.mZoneId, volumeInfo.mGroupId, in handleMessage() 1973 handleOnGroupMuteChanged(muteInfo.mZoneId, muteInfo.mGroupId, muteInfo.mFlags); in handleMessage() 2006 public int mZoneId; field in CarAudioManager.EventHandler.VolumeGroupChangeInfo 2011 mZoneId = zoneId; in VolumeGroupChangeInfo()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/volume/ |
D | CarAudioZoneVolumeFragment.java | 66 private final int mZoneId; field in CarAudioZoneVolumeFragment 103 Log.d(TAG, "zone " + mZoneId + " handleMessage : " + getMessageName(msg)); in handleMessage() 147 mZoneId = zoneId; in CarAudioZoneVolumeFragment() 156 Log.d(TAG, "onCreateView " + mZoneId); in onCreateView() 170 int volumeGroupCount = mCarAudioManager.getVolumeGroupCount(mZoneId); in initVolumeInfo() 180 CarVolumeGroupInfo groupInfo = mCarAudioManager.getVolumeGroupInfo(mZoneId, groupId); in initVolumeInfo() 220 int current = mCarAudioManager.getGroupVolume(mZoneId, groupId); in adjustVolumeByOne() 237 mCarAudioManager.setGroupVolume(mZoneId, groupId, volume, /* flags= */ 0); in adjustVolumeByOne() 240 + mCarAudioManager.getGroupVolume(mZoneId, groupId) in adjustVolumeByOne() 241 + " in audio zone " + mZoneId); in adjustVolumeByOne() [all …]
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/statusicon/ui/ |
D | MediaVolumeStatusIconController.java | 60 private int mZoneId; field in MediaVolumeStatusIconController 65 updateStatus(mZoneId, mGroupId); 80 mZoneId = 86 mGroupId = mCarAudioManager.getVolumeGroupIdForUsage(mZoneId, USAGE_MEDIA); 87 mMaxMediaVolume = mCarAudioManager.getGroupMaxVolume(mZoneId, mGroupId); 88 mMinMediaVolume = mCarAudioManager.getGroupMinVolume(mZoneId, mGroupId); 89 updateStatus(mZoneId, mGroupId); 136 if (mZoneId != zoneId || mGroupId != groupId) { in updateStatus() 140 int currentMediaVolumeLevel = mCarAudioManager.getGroupVolume(mZoneId, mGroupId); in updateStatus()
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarDuckingInfo.java | 41 public final int mZoneId; field in CarDuckingInfo 51 mZoneId = zoneId; in CarDuckingInfo() 58 return mZoneId; in getZoneId() 75 writer.printf("Ducking Info for zone %d \n", mZoneId); in dump() 103 proto.write(CarDuckingInfoProto.ZONE_ID, mZoneId); in dumpProto()
|
D | CarVolumeGroupFactory.java | 32 private final int mZoneId; field in CarVolumeGroupFactory 55 mZoneId = zoneId; in CarVolumeGroupFactory() 70 mContextToDeviceInfo, mZoneId, mConfigId, mId, mName, mUseCarVolumeGroupMute, in getCarVolumeGroup() 74 mContextToDeviceInfo, mZoneId, mConfigId, mId, mName, mStepSize, mDefaultGain, in getCarVolumeGroup()
|
D | CarAudioZoneConfig.java | 65 private final int mZoneId; field in CarAudioZoneConfig 88 mZoneId = zoneId; in CarAudioZoneConfig() 101 return mZoneId; in getZoneId() 346 mZoneId, mIsDefault); in dump() 377 proto.write(CarAudioZoneConfigProto.ZONE_ID, mZoneId); in dumpProto() 496 return new CarAudioZoneConfigInfo.Builder(mName, mZoneId, mZoneConfigId) in getCarAudioZoneConfigInfo() 501 return new CarAudioZoneConfigInfo(mName, mZoneId, mZoneConfigId); in getCarAudioZoneConfigInfo() 587 private final int mZoneId; field in CarAudioZoneConfig.Builder 602 mZoneId = zoneId; in Builder() 637 return mZoneId; in getZoneId() [all …]
|
D | CarVolumeGroup.java | 104 protected final int mZoneId; field in CarVolumeGroup 181 mZoneId = zoneId; in CarVolumeGroup() 207 mUserId, mZoneId, mConfigId, mId); in init() 607 writer.printf("Zone Id(%d)\n", mZoneId); in dump() 664 proto.write(CarVolumeGroupProto.ZONE_ID, mZoneId); in dumpProto() 761 mSettingsManager.storeVolumeGroupMuteForUser(mUserId, mZoneId, mConfigId, mId, mute); in setMuteLocked() 809 int gainIndexForUser = mSettingsManager.getStoredVolumeGainIndexForUser(mUserId, mZoneId, in getCurrentGainIndexForUserLocked() 840 mZoneId, mConfigId, mId, gainIndex); in storeGainIndexForUserLocked() 852 mIsMuted = mSettingsManager.getVolumeGroupMuteForUser(mUserId, mZoneId, mConfigId, mId); in updateGroupMuteLocked() 948 CarVolumeGroupInfo.Builder builder = new CarVolumeGroupInfo.Builder(name, mZoneId, mId) in getCarVolumeGroupInfo()
|
D | CarDucking.java | 123 int zoneId = oldDuckingInfo.mZoneId; in generateNewDuckingInfoLocked()
|
/packages/services/Car/libs/car-test-lib/src/android/car/testapi/ |
D | CarAudioZoneConfigInfoTestBuilder.java | 28 private int mZoneId; field in CarAudioZoneConfigInfoTestBuilder 48 mZoneId = zoneId; in setZoneId() 62 return new CarAudioZoneConfigInfo(mName, mZoneId, mConfigId); in build()
|
D | OccupantZoneInfoTestBuilder.java | 31 private int mZoneId; field in OccupantZoneInfoTestBuilder 47 mZoneId = zoneId; in setZoneId() 72 return new OccupantZoneInfo(mZoneId, mOccupantType, mSeat); in build()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarVolumeCallbackHandlerTest.java | 67 .that(mCallback1.mZoneId).isEqualTo(ZONE_ID); in onVolumeGroupChange_callsAllRegisteredCallbacks() 77 .that(mCallback2.mZoneId).isEqualTo(ZONE_ID); in onVolumeGroupChange_callsAllRegisteredCallbacks() 208 int mZoneId = -1; field in CarVolumeCallbackHandlerTest.TestCarVolumeCallback 222 mZoneId = zoneId; in onGroupVolumeChanged() 233 mZoneId = zoneId; in onGroupMuteChanged() 244 mZoneId = zoneId; in onMasterMuteChanged()
|
D | VolumeGroupBuilder.java | 60 private int mZoneId; field in VolumeGroupBuilder 109 mZoneId = zoneId; in setZoneId() 172 "Name: " + mName, mZoneId, mId).setMinVolumeGainIndex(TEST_MIN_VOLUME) in build()
|
D | CarDuckingInfoTest.java | 84 assertThat(duckingInfo.mZoneId).isEqualTo(ZONE_ID); in constructor_validInputs_succeeds()
|
D | CarAudioVolumeGroupTest.java | 723 private final int mZoneId; field in CarAudioVolumeGroupTest.SettingsBuilder 730 mZoneId = zoneId; in SettingsBuilder() 745 .getStoredVolumeGainIndexForUser(gainUserId, mZoneId, mConfigId, in build() 751 when(settingsMock.getVolumeGroupMuteForUser(muteUserId, mZoneId, mConfigId, in build()
|
D | CarAudioZoneUnitTest.java | 934 int mZoneId; field in CarAudioZoneUnitTest.TestCarAudioZoneConfigBuilder 940 mZoneId = zoneId; in TestCarAudioZoneConfigBuilder() 959 when(zoneConfig.getZoneId()).thenReturn(mZoneId); in build() 972 .thenReturn(new CarAudioZoneConfigInfo(mName, mZoneId, mConfigId)); in build()
|
D | CarVolumeGroupUnitTest.java | 2254 private final int mZoneId; field in CarVolumeGroupUnitTest.SettingsBuilder 2261 mZoneId = zoneId; in SettingsBuilder() 2286 .getStoredVolumeGainIndexForUser(gainUserId, mZoneId, mConfigId, in build() 2292 when(settingsMock.getVolumeGroupMuteForUser(muteUserId, mZoneId, mConfigId, in build()
|
D | CarAudioServiceUnitTest.java | 6768 .that(duckingInfo.mZoneId).isEqualTo(zoneId); in verifyMediaDuckingInfoInZone()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/ |
D | AudioConfigurationInformationTabs.java | 35 private final int mZoneId; field in AudioConfigurationInformationTabs 40 mZoneId = zoneId; in AudioConfigurationInformationTabs() 59 if (info.getZoneId() != mZoneId) { in updateConfigs()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/ |
D | BatteryHistEntry.java | 48 public final String mZoneId; field in BatteryHistEntry 81 mZoneId = batteryInformation.getZoneId(); in BatteryHistEntry() 111 mZoneId = batteryInformation.getZoneId(); in BatteryHistEntry() 151 mZoneId = fromEntry.mZoneId; in BatteryHistEntry() 205 mZoneId, in toString()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/ |
D | CarAudioZonesValidatorTest.java | 227 private int mZoneId = PRIMARY_AUDIO_ZONE; field in CarAudioZonesValidatorTest.MockBuilder 234 when(zoneMock.getId()).thenReturn(mZoneId); in build() 250 mZoneId = zoneId; in withZoneId()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/hal/ |
D | AudioControlWrapperAidlTest.java | 959 private final int mZoneId; field in AudioControlWrapperAidlTest.MutingInfoBuilder 964 mZoneId = zoneId; in MutingInfoBuilder() 979 info.zoneId = mZoneId; in build()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/ |
D | BatteryHistEntryTest.java | 356 assertThat(entry.mZoneId).isEqualTo(TimeZone.getDefault().getID()); in assertBatteryHistEntry()
|
D | ConvertUtilsTest.java | 329 assertThat(batteryHistEntry.mZoneId).isEqualTo(TimeZone.getDefault().getID()); in convertToBatteryHistEntry_returnsExpectedResult() 356 assertThat(batteryHistEntry.mZoneId).isEqualTo(TimeZone.getDefault().getID()); in convertToBatteryHistEntry_nullBatteryEntry_returnsExpectedResult()
|