/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | StorageNotification.java | 75 public void onVolumeStateChanged(VolumeInfo vol, int oldState, int newState) { 76 onVolumeStateChangedInternal(vol); 84 final VolumeInfo vol = mStorageManager.findVolumeByUuid(rec.getFsUuid()); 85 if (vol != null && vol.isMountedReadable()) { 86 onVolumeStateChangedInternal(vol); 176 for (VolumeInfo vol : vols) { in start() 177 onVolumeStateChangedInternal(vol); in start() 272 private void onVolumeStateChangedInternal(VolumeInfo vol) { in onVolumeStateChangedInternal() argument 273 switch (vol.getType()) { in onVolumeStateChangedInternal() 275 onPrivateVolumeStateChangedInternal(vol); in onVolumeStateChangedInternal() [all …]
|
/frameworks/av/media/libaudioprocessing/ |
D | AudioMixerOps.h | 279 const TI* in, TA* aux, TV *vol, const TV *volinc, TAV *vola, TAV volainc) 290 *out++ += MixMulAux<TO, TI, TV, TA>(*in++, vol[i], &auxaccum); 291 vol[i] += volinc[i]; 296 *out++ += MixMulAux<TO, TI, TV, TA>(*in, vol[i], &auxaccum); 297 vol[i] += volinc[i]; 303 *out++ = MixMulAux<TO, TI, TV, TA>(*in++, vol[i], &auxaccum); 304 vol[i] += volinc[i]; 309 *out++ += MixMulAux<TO, TI, TV, TA>(*in++, vol[0], &auxaccum); 311 vol[0] += volinc[0]; 315 *out++ = MixMulAux<TO, TI, TV, TA>(*in++, vol[0], &auxaccum); [all …]
|
D | AudioMixer.cpp | 1676 const TI* in, TA* aux, TV *vol, const TV *volinc, TAV *vola, TAV volainc) in volumeRampMulti() argument 1680 volumeRampMulti<MIXTYPE, 1>(out, frameCount, in, aux, vol, volinc, vola, volainc); in volumeRampMulti() 1683 volumeRampMulti<MIXTYPE, 2>(out, frameCount, in, aux, vol, volinc, vola, volainc); in volumeRampMulti() 1687 frameCount, in, aux, vol, volinc, vola, volainc); in volumeRampMulti() 1691 frameCount, in, aux, vol, volinc, vola, volainc); in volumeRampMulti() 1695 frameCount, in, aux, vol, volinc, vola, volainc); in volumeRampMulti() 1699 frameCount, in, aux, vol, volinc, vola, volainc); in volumeRampMulti() 1703 frameCount, in, aux, vol, volinc, vola, volainc); in volumeRampMulti() 1707 frameCount, in, aux, vol, volinc, vola, volainc); in volumeRampMulti() 1720 const TI* in, TA* aux, const TV *vol, TAV vola) in volumeMulti() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | StorageManagerService.java | 361 final VolumeInfo vol = mVolumes.get(id); in findVolumeByIdOrThrow() local 362 if (vol != null) { in findVolumeByIdOrThrow() 363 return vol; in findVolumeByIdOrThrow() 372 final VolumeInfo vol = mVolumes.valueAt(i); in findVolumeIdForPathOrThrow() local 373 if (vol.path != null && path.startsWith(vol.path)) { in findVolumeIdForPathOrThrow() 374 return vol.id; in findVolumeIdForPathOrThrow() 384 final VolumeInfo vol = mVolumes.valueAt(i); in findRecordForPath() local 385 if (vol.path != null && path.startsWith(vol.path)) { in findRecordForPath() 386 return mRecords.get(vol.fsUuid); in findRecordForPath() 428 final VolumeInfo vol = mVolumes.valueAt(i); in shouldBenchmark() local [all …]
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
D | pvdec_api.cpp | 106 video->vol = (Vol **) IMEM_VOL; in PVInitVideoDecoder() 114 video->vol = (Vol **) oscl_malloc(nLayers * sizeof(Vol *)); in PVInitVideoDecoder() 116 if (video->vol == NULL) status = PV_FALSE; in PVInitVideoDecoder() 187 video->vol[idx] = IMEM_vol[idx]; in PVInitVideoDecoder() 189 if (video->vol[idx] == NULL) status = PV_FALSE; in PVInitVideoDecoder() 190 else oscl_memset(video->vol[idx], 0, sizeof(Vol)); in PVInitVideoDecoder() 193 video->vol[idx] = (Vol *) oscl_malloc(sizeof(Vol)); in PVInitVideoDecoder() 194 if (video->vol[idx] == NULL) in PVInitVideoDecoder() 202 oscl_memset(video->vol[idx], 0, sizeof(Vol)); in PVInitVideoDecoder() 224 video->vol[idx]->bitstream = stream; in PVInitVideoDecoder() [all …]
|
/frameworks/base/core/java/android/os/storage/ |
D | StorageManager.java | 367 public void onVolumeStateChanged(VolumeInfo vol, int oldState, int newState) { in onVolumeStateChanged() argument 369 args.arg1 = vol; in onVolumeStateChanged() 741 for (VolumeInfo vol : getVolumes()) { in findVolumeById() 742 if (Objects.equals(vol.id, id)) { in findVolumeById() 743 return vol; in findVolumeById() 754 for (VolumeInfo vol : getVolumes()) { in findVolumeByUuid() 755 if (Objects.equals(vol.fsUuid, fsUuid)) { in findVolumeByUuid() 756 return vol; in findVolumeByUuid() 822 for (VolumeInfo vol : mStorageManager.getVolumes(0)) { in getUuidForPath() 823 if (vol.path != null && FileUtils.contains(vol.path, pathString) in getUuidForPath() [all …]
|
D | StorageEventListener.java | 46 public void onVolumeStateChanged(VolumeInfo vol, int oldState, int newState) { in onVolumeStateChanged() argument
|
D | IStorageEventListener.aidl | 50 void onVolumeStateChanged(in VolumeInfo vol, int oldState, int newState) = 2; in onVolumeStateChanged() argument
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
D | mp4enc_api.cpp | 877 video->vol = (Vol **)M4VENC_MALLOC(nLayers * sizeof(Vol *)); /* Memory for VOL pointers */ in PVInitVideoEncoder() 880 if (video->vol == NULL) goto CLEAN_UP; in PVInitVideoEncoder() 887 video->vol[idx] = (Vol *)M4VENC_MALLOC(sizeof(Vol)); in PVInitVideoEncoder() 888 if (video->vol[idx] == NULL) goto CLEAN_UP; in PVInitVideoEncoder() 890 pVol = video->vol[idx]; in PVInitVideoEncoder() 893 M4VENC_MEMSET(video->vol[idx], 0, sizeof(Vol)); in PVInitVideoEncoder() 1158 nTotalMB = video->vol[0]->nTotalMB; in PVCleanUpVideoEncoder() 1160 if (video->vol[idx]->nTotalMB > nTotalMB) in PVCleanUpVideoEncoder() 1161 nTotalMB = video->vol[idx]->nTotalMB; in PVCleanUpVideoEncoder() 1253 if (video->vol) in PVCleanUpVideoEncoder() [all …]
|
D | vop.cpp | 44 Vol *currVol = video->vol[currLayer]; in EncodeVop() 127 Vol *currVol = video->vol[video->currLayer]; in EncodeVop_NoME() 196 Vol *currVol = video->vol[currLayer]; in EncodeSlice() 312 Vol *currVol = video->vol[0]; in EncodeVopNotCoded() 510 Vol *currVol = video->vol[video->currLayer]; in EncodeVideoPacketHeader()
|
D | findhalfpel.cpp | 81 Int height = video->vol[video->currLayer]->height; in FindHalfPelMB() 203 height = video->vol[video->currLayer]->height; in FindHalfPelBlk()
|
/frameworks/base/services/core/java/com/android/server/storage/ |
D | DeviceStorageMonitorService.java | 181 for (VolumeInfo vol : storage.getWritablePrivateVolumes()) { in check() 182 final File file = vol.getPath(); in check() 193 pms.freeStorage(vol.getFsUuid(), lowBytes * 2, 0); in check() 201 final UUID uuid = StorageManager.convert(vol.getFsUuid()); in check() 232 updateNotifications(vol, oldLevel, newLevel); in check() 233 updateBroadcasts(vol, oldLevel, newLevel, seq); in check() 458 private void updateNotifications(VolumeInfo vol, int oldLevel, int newLevel) { in updateNotifications() argument 460 final UUID uuid = StorageManager.convert(vol.getFsUuid()); in updateNotifications() 502 Objects.toString(vol.getDescription()), in updateNotifications() 508 Objects.toString(vol.getDescription()), in updateNotifications() [all …]
|
/frameworks/base/core/java/android/speech/tts/ |
D | AudioPlaybackQueueItem.java | 100 final float vol = clip(volume, 0.0f, 1.0f); in setupVolume() local 103 float volLeft = vol, volRight = vol; in setupVolume()
|
D | BlockingAudioTrack.java | 319 final float vol = clip(volume, 0.0f, 1.0f); in setupVolume() local 322 float volLeft = vol; in setupVolume() 323 float volRight = vol; in setupVolume()
|
/frameworks/base/core/java/com/android/internal/content/ |
D | PackageHelper.java | 186 for (VolumeInfo vol : storageManager.getVolumes()) { in resolveInstallVolume() 187 if (vol.type == VolumeInfo.TYPE_PRIVATE && vol.isMountedWritable()) { in resolveInstallVolume() 188 final boolean isInternalStorage = ID_PRIVATE_INTERNAL.equals(vol.id); in resolveInstallVolume() 189 final UUID target = storageManager.getUuidForPath(new File(vol.path)); in resolveInstallVolume() 197 allCandidates.add(vol.fsUuid); in resolveInstallVolume() 200 bestCandidate = vol; in resolveInstallVolume()
|
/frameworks/base/cmds/sm/src/com/android/commands/sm/ |
D | Sm.java | 137 for (VolumeInfo vol : vols) { in runListVolumes() 138 if (filterType == -1 || filterType == vol.getType()) { in runListVolumes() 139 final String envState = VolumeInfo.getEnvironmentForState(vol.getState()); in runListVolumes() 140 System.out.println(vol.getId() + " " + envState + " " + vol.getFsUuid()); in runListVolumes()
|
/frameworks/av/media/libaudioclient/ |
D | PlayerBase.cpp | 141 binder::Status PlayerBase::setVolume(float vol) { in setVolume() argument 145 mVolumeMultiplierL = vol; in setVolume() 146 mVolumeMultiplierR = vol; in setVolume()
|
/frameworks/base/media/java/android/media/ |
D | PlayerProxy.java | 98 public void setVolume(float vol) { in setVolume() argument 100 mConf.getIPlayer().setVolume(vol); in setVolume()
|
D | PlayerBase.java | 226 void setVolumeMultiplier(float vol) { in setVolumeMultiplier() argument 228 this.mVolMultiplier = vol; in setVolumeMultiplier() 497 public void setVolume(float vol) { in setVolume() argument 500 pb.setVolumeMultiplier(vol); in setVolume()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserDataPreparer.java | 72 for (VolumeInfo vol : storage.getWritablePrivateVolumes()) { in prepareUserData() 73 final String volumeUuid = vol.getFsUuid(); in prepareUserData() 128 for (VolumeInfo vol : storage.getWritablePrivateVolumes()) { in destroyUserData() 129 final String volumeUuid = vol.getFsUuid(); in destroyUserData()
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 2098 public int movePackage(String packageName, VolumeInfo vol) { in movePackage() argument 2101 if (VolumeInfo.ID_PRIVATE_INTERNAL.equals(vol.id)) { in movePackage() 2103 } else if (vol.isPrimaryPhysical()) { in movePackage() 2106 volumeUuid = Preconditions.checkNotNull(vol.fsUuid); in movePackage() 2144 for (VolumeInfo vol : vols) { in getPackageCandidateVolumes() 2145 if (Objects.equals(vol, currentVol) in getPackageCandidateVolumes() 2146 || isPackageCandidateVolume(mContext, app, vol, pm)) { in getPackageCandidateVolumes() 2147 candidates.add(vol); in getPackageCandidateVolumes() 2166 ContextImpl context, ApplicationInfo app, VolumeInfo vol, IPackageManager pm) { in isPackageCandidateVolume() argument 2169 if (VolumeInfo.ID_PRIVATE_INTERNAL.equals(vol.getId())) { in isPackageCandidateVolume() [all …]
|
/frameworks/av/media/libaudioclient/aidl/android/media/ |
D | IPlayer.aidl | 29 oneway void setVolume(float vol); in setVolume() argument
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | StorageStatsService.java | 121 public void onVolumeStateChanged(VolumeInfo vol, int oldState, int newState) { in StorageStatsService() 122 switch (vol.type) { in StorageStatsService() 184 final VolumeInfo vol = mStorage.findVolumeByUuid(volumeUuid); in getTotalBytes() local 185 if (vol == null) { in getTotalBytes() 189 return FileUtils.roundStorageSize(vol.disk.size); in getTotalBytes()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | PlayerBase.h | 39 virtual binder::Status setVolume(float vol) override;
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | ApplicationPackageManagerTest.java | 134 for (VolumeInfo vol : exptectedVols) { in verifyReturnedVolumes() 135 if (!actualVols.contains(vol)) { in verifyReturnedVolumes()
|