/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 | 276 const TI* in, TA* aux, TV *vol, const TV *volinc, TAV *vola, TAV volainc) 287 *out++ += MixMulAux<TO, TI, TV, TA>(*in++, vol[i], &auxaccum); 288 vol[i] += volinc[i]; 293 *out++ += MixMulAux<TO, TI, TV, TA>(*in, vol[i], &auxaccum); 294 vol[i] += volinc[i]; 300 *out++ = MixMulAux<TO, TI, TV, TA>(*in++, vol[i], &auxaccum); 301 vol[i] += volinc[i]; 306 *out++ += MixMulAux<TO, TI, TV, TA>(*in++, vol[0], &auxaccum); 308 vol[0] += volinc[0]; 312 *out++ = MixMulAux<TO, TI, TV, TA>(*in++, vol[0], &auxaccum); [all …]
|
D | AudioMixer.cpp | 1703 const TI* in, TA* aux, TV *vol, const TV *volinc, TAV *vola, TAV volainc) in volumeRampMulti() argument 1707 volumeRampMulti<MIXTYPE, 1>(out, frameCount, in, aux, vol, volinc, vola, volainc); in volumeRampMulti() 1710 volumeRampMulti<MIXTYPE, 2>(out, frameCount, in, aux, vol, volinc, vola, volainc); in volumeRampMulti() 1714 frameCount, in, aux, vol, volinc, vola, volainc); in volumeRampMulti() 1718 frameCount, in, aux, vol, volinc, vola, volainc); in volumeRampMulti() 1722 frameCount, in, aux, vol, volinc, vola, volainc); in volumeRampMulti() 1726 frameCount, in, aux, vol, volinc, vola, volainc); in volumeRampMulti() 1730 frameCount, in, aux, vol, volinc, vola, volainc); in volumeRampMulti() 1734 frameCount, in, aux, vol, volinc, vola, volainc); in volumeRampMulti() 1747 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 | 360 final VolumeInfo vol = mVolumes.get(id); in findVolumeByIdOrThrow() local 361 if (vol != null) { in findVolumeByIdOrThrow() 362 return vol; in findVolumeByIdOrThrow() 371 final VolumeInfo vol = mVolumes.valueAt(i); in findVolumeIdForPathOrThrow() local 372 if (vol.path != null && path.startsWith(vol.path)) { in findVolumeIdForPathOrThrow() 373 return vol.id; in findVolumeIdForPathOrThrow() 383 final VolumeInfo vol = mVolumes.valueAt(i); in findRecordForPath() local 384 if (vol.path != null && path.startsWith(vol.path)) { in findRecordForPath() 385 return mRecords.get(vol.fsUuid); in findRecordForPath() 427 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() 113 video->vol = (Vol **) oscl_malloc(nLayers * sizeof(Vol *)); in PVInitVideoDecoder() 115 if (video->vol == NULL) status = PV_FALSE; in PVInitVideoDecoder() 185 video->vol[idx] = IMEM_vol[idx]; in PVInitVideoDecoder() 187 oscl_memset(video->vol[idx], 0, sizeof(Vol)); in PVInitVideoDecoder() 188 if (video->vol[idx] == NULL) status = PV_FALSE; in PVInitVideoDecoder() 191 video->vol[idx] = (Vol *) oscl_malloc(sizeof(Vol)); in PVInitVideoDecoder() 192 if (video->vol[idx] == NULL) in PVInitVideoDecoder() 200 oscl_memset(video->vol[idx], 0, sizeof(Vol)); in PVInitVideoDecoder() 221 video->vol[idx]->bitstream = stream; in PVInitVideoDecoder() [all …]
|
/frameworks/base/core/java/android/os/storage/ |
D | StorageManager.java | 319 public void onVolumeStateChanged(VolumeInfo vol, int oldState, int newState) { in onVolumeStateChanged() argument 321 args.arg1 = vol; in onVolumeStateChanged() 671 for (VolumeInfo vol : getVolumes()) { in findVolumeById() 672 if (Objects.equals(vol.id, id)) { in findVolumeById() 673 return vol; in findVolumeById() 683 for (VolumeInfo vol : getVolumes()) { in findVolumeByUuid() 684 if (Objects.equals(vol.fsUuid, fsUuid)) { in findVolumeByUuid() 685 return vol; in findVolumeByUuid() 750 for (VolumeInfo vol : mStorageManager.getVolumes(0)) { in getUuidForPath() 751 if (vol.path != null && FileUtils.contains(vol.path, pathString)) { in getUuidForPath() [all …]
|
D | StorageEventListener.java | 41 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()
|
/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/services/core/java/com/android/server/storage/ |
D | DeviceStorageMonitorService.java | 192 for (VolumeInfo vol : storage.getWritablePrivateVolumes()) { in check() 193 final File file = vol.getPath(); in check() 204 pms.freeStorage(vol.getFsUuid(), lowBytes * 2, 0); in check() 212 final UUID uuid = StorageManager.convert(vol.getFsUuid()); in check() 243 updateNotifications(vol, oldLevel, newLevel); in check() 244 updateBroadcasts(vol, oldLevel, newLevel, seq); in check() 455 private void updateNotifications(VolumeInfo vol, int oldLevel, int newLevel) { in updateNotifications() argument 457 final UUID uuid = StorageManager.convert(vol.getFsUuid()); in updateNotifications() 504 private void updateBroadcasts(VolumeInfo vol, int oldLevel, int newLevel, int seq) { in updateBroadcasts() argument 505 if (!Objects.equals(StorageManager.UUID_PRIVATE_INTERNAL, vol.getFsUuid())) { in updateBroadcasts()
|
/frameworks/base/cmds/sm/src/com/android/commands/sm/ |
D | Sm.java | 128 for (VolumeInfo vol : vols) { in runListVolumes() 129 if (filterType == -1 || filterType == vol.getType()) { in runListVolumes() 130 final String envState = VolumeInfo.getEnvironmentForState(vol.getState()); in runListVolumes() 131 System.out.println(vol.getId() + " " + envState + " " + vol.getFsUuid()); in runListVolumes()
|
/frameworks/av/media/libaudioclient/ |
D | PlayerBase.cpp | 123 void PlayerBase::setVolume(float vol) { in setVolume() argument 126 mVolumeMultiplierL = vol; in setVolume() 127 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 | IPlayer.aidl | 28 oneway void setVolume(float vol); in setVolume() argument
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 1893 public int movePackage(String packageName, VolumeInfo vol) { in movePackage() argument 1896 if (VolumeInfo.ID_PRIVATE_INTERNAL.equals(vol.id)) { in movePackage() 1898 } else if (vol.isPrimaryPhysical()) { in movePackage() 1901 volumeUuid = Preconditions.checkNotNull(vol.fsUuid); in movePackage() 1940 for (VolumeInfo vol : vols) { in getPackageCandidateVolumes() 1941 if (Objects.equals(vol, currentVol) in getPackageCandidateVolumes() 1942 || isPackageCandidateVolume(mContext, app, vol, pm)) { in getPackageCandidateVolumes() 1943 candidates.add(vol); in getPackageCandidateVolumes() 1962 ContextImpl context, ApplicationInfo app, VolumeInfo vol, IPackageManager pm) { in isPackageCandidateVolume() argument 1965 if (VolumeInfo.ID_PRIVATE_INTERNAL.equals(vol.getId())) { in isPackageCandidateVolume() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserDataPreparer.java | 70 for (VolumeInfo vol : storage.getWritablePrivateVolumes()) { in prepareUserData() 71 final String volumeUuid = vol.getFsUuid(); in prepareUserData() 118 for (VolumeInfo vol : storage.getWritablePrivateVolumes()) { in destroyUserData() 119 final String volumeUuid = vol.getFsUuid(); in destroyUserData()
|
/frameworks/base/core/java/com/android/internal/content/ |
D | PackageHelper.java | 465 for (VolumeInfo vol : storageManager.getVolumes()) { in resolveInstallVolume() 466 boolean isInternalStorage = ID_PRIVATE_INTERNAL.equals(vol.id); in resolveInstallVolume() 467 if (vol.type == VolumeInfo.TYPE_PRIVATE && vol.isMountedWritable() in resolveInstallVolume() 469 final long availBytes = storageManager.getAllocatableBytes(new File(vol.path), in resolveInstallVolume() 472 allCandidates.add(vol.fsUuid); in resolveInstallVolume() 475 bestCandidate = vol; in resolveInstallVolume()
|
/frameworks/base/packages/ExtServices/src/android/ext/services/storage/ |
D | CacheQuotaServiceImpl.java | 127 final VolumeInfo vol = storageManager.findVolumeByUuid(uuid); in getReservedCacheSize() local 128 freeBytes = vol.getPath().getUsableSpace(); in getReservedCacheSize()
|
/frameworks/native/services/audiomanager/ |
D | IPlayer.cpp | 70 virtual void setVolume(float vol) in setVolume() argument 74 data.writeFloat(vol); in setVolume()
|
/frameworks/native/include/audiomanager/ |
D | IPlayer.h | 43 virtual void setVolume(float vol) = 0;
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | StorageStatsService.java | 119 public void onVolumeStateChanged(VolumeInfo vol, int oldState, int newState) { in StorageStatsService() 120 switch (vol.type) { in StorageStatsService() 173 final VolumeInfo vol = mStorage.findVolumeByUuid(volumeUuid); in getTotalBytes() local 174 if (vol == null) { in getTotalBytes() 178 return FileUtils.roundStorageSize(vol.disk.size); in getTotalBytes()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | PlayerBase.h | 39 virtual void setVolume(float vol);
|