/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | PublicVolumeSettings.java | 60 private VolumeInfo mVolume; field in PublicVolumeSettings 64 new UnmountTask(getActivity(), mVolume).execute(); 75 if (Objects.equals(mVolume.getId(), vol.getId())) { 76 mVolume = vol; 83 if (Objects.equals(mVolume.getFsUuid(), rec.getFsUuid())) { 84 mVolume = mStorageManager.findVolumeById(mVolumeId); 92 return (mVolume != null) && (mVolume.getType() == VolumeInfo.TYPE_PUBLIC) in isVolumeValid() 93 && mVolume.isMountedReadable(); in isVolumeValid() 116 mVolume = mStorageManager.findVolumeByUuid(fsUuid); in onCreate() 120 mVolume = mStorageManager.findVolumeById(volId); in onCreate() [all …]
|
D | StorageWizardMigrateConfirm.java | 53 if (mVolume == null) { in onCreate() 54 mVolume = findFirstVolume(VolumeInfo.TYPE_PRIVATE); in onCreate() 58 if (sourceVol == null || mVolume == null) { in onCreate() 132 moveId = getPackageManager().movePrimaryStorage(mVolume); in onNavigateNext() 136 if (Objects.equals(mVolume.getFsUuid(), sm.getPrimaryStorageVolume().getUuid())) { in onNavigateNext() 159 intent.putExtra(VolumeInfo.EXTRA_VOLUME_ID, mVolume.getId()); in onNavigateNext()
|
D | StorageWizardMoveConfirm.java | 51 if (mVolume == null) { in onCreate() 67 getPackageManager().getPackageCandidateVolumes(mApp).contains(mVolume)); in onCreate() 70 final String volumeName = mStorage.getBestVolumeDescription(mVolume); in onCreate() 113 final int moveId = getPackageManager().movePackage(mPackageName, mVolume); in onNavigateNext() 118 intent.putExtra(EXTRA_VOLUME_ID, mVolume.getId()); in onNavigateNext()
|
D | StorageWizardBase.java | 68 protected VolumeInfo mVolume; field in StorageWizardBase 94 mVolume = mStorage.findVolumeById(volumeId); in onCreate() 100 } else if (mVolume != null) { in onCreate() 101 mDisk = mVolume.getDisk(); in onCreate() 288 } else if (mVolume != null) { in getDiskDescription() 289 return mVolume.getDescription(); in getDiskDescription() 299 } else if (mVolume != null) { in getDiskShortDescription() 300 return mVolume.getDescription(); in getDiskShortDescription()
|
D | PrivateVolumeUnmount.java | 38 private VolumeInfo mVolume; field in PrivateVolumeUnmount 58 mVolume = storage.findVolumeById(volumeId); in onCreateView() 59 mDisk = storage.findDiskById(mVolume.getDiskId()); in onCreateView() 75 new UnmountTask(getActivity(), mVolume).execute();
|
D | PrivateVolumeFormat.java | 42 private VolumeInfo mVolume; field in PrivateVolumeFormat 55 mVolume = storage.findVolumeById(volumeId); in onCreateView() 56 mDisk = storage.findDiskById(mVolume.getDiskId()); in onCreateView() 75 intent.putExtra(EXTRA_FORMAT_FORGET_UUID, mVolume.getFsUuid());
|
D | StorageWizardMoveProgress.java | 42 if (mVolume == null) { in onCreate() 50 final String volumeName = mStorage.getBestVolumeDescription(mVolume); in onCreate()
|
D | StorageWizardMigrateProgress.java | 46 if (mVolume == null) { in onCreate()
|
/packages/apps/TV/tests/robotests/src/com/android/tv/audio/ |
D | AudioManagerHelperTest.java | 61 assertThat(mTvView.mVolume).isZero(); in onAudioFocusChange_none_noTimeShift() 71 assertThat(mTvView.mVolume).isNull(); in onAudioFocusChange_none_TimeShift() 81 assertThat(mTvView.mVolume).isEqualTo(1.0f); in onAudioFocusChange_gain_noTimeShift() 91 assertThat(mTvView.mVolume).isNull(); in onAudioFocusChange_gain_timeShift() 101 assertThat(mTvView.mVolume).isEqualTo(0.0f); in onAudioFocusChange_loss_noTimeShift() 111 assertThat(mTvView.mVolume).isNull(); in onAudioFocusChange_loss_timeShift() 121 assertThat(mTvView.mVolume).isEqualTo(0.0f); in onAudioFocusChange_lossTransient_noTimeShift() 131 assertThat(mTvView.mVolume).isNull(); in onAudioFocusChange_lossTransient_timeShift() 141 assertThat(mTvView.mVolume).isEqualTo(0.3f); in onAudioFocusChange_lossTransientCanDuck_noTimeShift() 151 assertThat(mTvView.mVolume).isNull(); in onAudioFocusChange_lossTransientCanDuck_timeShift() [all …]
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/settingslib/ |
D | StorageMeasurement.java | 103 private final VolumeInfo mVolume; field in StorageMeasurement 111 mVolume = volume; in StorageMeasurement() 154 if (mVolume == null) return details; in measureExactStorage() 156 if (mVolume.getType() == VolumeInfo.TYPE_PUBLIC in measureExactStorage() 157 || mVolume.getType() == VolumeInfo.TYPE_STUB) { in measureExactStorage() 158 details.totalSize = mVolume.getPath().getTotalSpace(); in measureExactStorage() 159 details.availSize = mVolume.getPath().getUsableSpace(); in measureExactStorage() 164 details.totalSize = mStats.getTotalBytes(mVolume.fsUuid); in measureExactStorage() 165 details.availSize = mStats.getFreeBytes(mVolume.fsUuid); in measureExactStorage() 205 if ((mVolume.getType() == VolumeInfo.TYPE_PRIVATE) && mVolume.isMountedReadable()) { in measureExactStorage() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/ |
D | StorageItemPreferenceControllerTest.java | 78 private VolumeInfo mVolume; field in StorageItemPreferenceControllerTest 100 mVolume = spy(new VolumeInfo("id", 0, null, "id")); in setUp() 103 mController = new StorageItemPreferenceController(mContext, mFragment, mVolume, mSvp, in setUp() 175 when(mVolume.buildBrowseIntent()).thenReturn(fakeBrowseIntent); in launchPublicStorageIntent_nonNullBrowseIntent_settingsIntent() 190 mController = new StorageItemPreferenceController(mockContext, mFragment, mVolume, in launchImagesIntent_resolveActionViewNull_settingsIntent() 207 mController = new StorageItemPreferenceController(mockContext, mFragment, mVolume, in launchAudioIntent_resolveActionViewNull_settingsIntent() 259 mController = new FakeStorageItemPreferenceController(mContext, mFragment, mVolume, mSvp, in launchAppsIntent_forWork_settingsIntent() 289 mController = new StorageItemPreferenceController(mockContext, mFragment, mVolume, in launchDocumentsIntent_resolveActionViewNull_settingsIntent() 306 mController = new StorageItemPreferenceController(mockContext, mFragment, mVolume, in launchOtherIntent_resolveActionViewNull_settingsIntent() 341 mController = new StorageItemPreferenceController(mockContext, mFragment, mVolume, in launchVideosIntent_resolveActionViewNull_settingsIntent() [all …]
|
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/ |
D | HydrationRecord.java | 45 private final Volume mVolume; field in HydrationRecord 76 mVolume = volume; in HydrationRecord() 84 return mVolume; in getVolume() 117 private final Volume mVolume; field in HydrationRecord.Builder 138 mVolume = volume; in Builder() 187 mVolume, in buildWithoutValidation() 202 mVolume, in build() 227 recordInternal.setVolume(mVolume.getInLiters()); in toRecordInternal()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/ |
D | HydrationRecordInternal.java | 31 private double mVolume; field in HydrationRecordInternal 34 return mVolume; in getVolume() 40 this.mVolume = volume; in setVolume() 59 mVolume = parcel.readDouble(); in populateIntervalRecordFrom() 64 parcel.writeDouble(mVolume); in populateIntervalRecordTo()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/ |
D | StorageItemPreferenceController.java | 126 @Nullable private VolumeInfo mVolume; field in StorageItemPreferenceController 181 mVolume = volume; in StorageItemPreferenceController() 271 mVolume = volume; in setVolume() 290 return mVolume != null in isValidPrivateVolume() 291 && mVolume.getType() == VolumeInfo.TYPE_PRIVATE in isValidPrivateVolume() 292 && (mVolume.getState() == VolumeInfo.STATE_MOUNTED in isValidPrivateVolume() 293 || mVolume.getState() == VolumeInfo.STATE_MOUNTED_READ_ONLY); in isValidPrivateVolume() 299 return mVolume != null in isValidPublicVolume() 300 && (mVolume.getType() == VolumeInfo.TYPE_PUBLIC in isValidPublicVolume() 301 || mVolume.getType() == VolumeInfo.TYPE_STUB) in isValidPublicVolume() [all …]
|
D | VolumeSizesLoader.java | 34 private VolumeInfo mVolume; field in VolumeSizesLoader 44 mVolume = volume; in VolumeSizesLoader() 54 volumeSizes = getVolumeSize(mVolumeProvider, mStats, mVolume); in loadInBackground()
|
/packages/apps/Car/Settings/src/com/android/car/settings/storage/ |
D | VolumeSizesLoader.java | 35 private final VolumeInfo mVolume; field in VolumeSizesLoader 42 mVolume = volume; in VolumeSizesLoader() 57 long privateTotalBytes = mVolumeProvider.getTotalBytes(mStats, mVolume); in getVolumeSize() 58 long privateFreeBytes = mVolumeProvider.getFreeBytes(mStats, mVolume); in getVolumeSize()
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/nodes/ |
D | DtmfEncoderNode.cpp | 38 mVolume = DTMF_DEFAULT_VOLUME; in DtmfEncoderNode() 87 mVolume = DTMF_DEFAULT_VOLUME; in SetConfig() 171 nPayloadSize = MakeDTMFPayload(pbPayload, mListDtmfDigit.front(), false, mVolume, nPeriod); in run() 182 MakeDTMFPayload(pbPayload, mListDtmfDigit.front(), true, mVolume, nPeriod); in run() 254 nPayloadSize = MakeDTMFPayload(pbPayload, digit, false, mVolume, nPeriod); in SendDTMFEvent() 262 nPayloadSize = MakeDTMFPayload(pbPayload, digit, true, mVolume, nPeriod); in SendDTMFEvent()
|
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/ |
D | StorageWizardTest.java | 57 private String mVolume; field in StorageWizardTest 67 mVolume = getPublicVolume(); in setUp() 187 intent.putExtra(VolumeInfo.EXTRA_VOLUME_ID, mVolume); in buildInitIntent()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/ |
D | MpegTsPlayer.java | 144 private float mVolume; field in MpegTsPlayer 419 mVolume = volume; in setVolume() 444 enable ? mVolume : 0.0f); in setAudioTrackAndClosedCaption()
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/audio/nodes/ |
D | DtmfEncoderNode.h | 57 uint32_t mVolume; // Volume of DTMF, 0~63, default value is 10. variable
|
/packages/apps/TV/src/com/android/tv/ui/ |
D | TunableTvView.java | 164 private float mVolume; field in TunableTvView 743 mVolume = volume; in setStreamVolume() 753 : mVolume; in getStreamVolume() 1249 mTvView.setStreamVolume(mVolume); in updateMuteStatus()
|
/packages/providers/MediaProvider/src/com/android/providers/media/scan/ |
D | ModernMediaScanner.java | 300 if (volume.equals(scan.mVolume)) { in onDetachVolume() 357 private final MediaVolume mVolume; field in ModernMediaScanner.Scan 400 mVolume = MediaVolume.fromStorageVolume(FileUtils.getStorageVolume(mContext, root)); in Scan() 402 mVolume = MediaVolume.fromInternal(); in Scan() 404 mVolumeName = mVolume.getName(); in Scan()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/ |
D | TunerSessionWorkerExoV2.java | 197 private volatile float mVolume = 1.0f; field in TunerSessionWorkerExoV2 391 mVolume = volume; in setStreamVolume() 1165 mPlayer.setVolume(mVolume); in handleMessageSetStreamVolume() 1685 mPlayer.setVolume(mVolume); in startPlayback()
|
D | TunerSessionWorker.java | 198 private volatile float mVolume = 1.0f; field in TunerSessionWorker 391 mVolume = volume; in setStreamVolume() 1225 mPlayer.setVolume(mVolume); in handleMessageSetStreamVolume() 1763 mPlayer.setVolume(mVolume); in startPlayback()
|