Home
last modified time | relevance | path

Searched refs:vol (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DStorageNotification.java75 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/
DAudioMixerOps.h279 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 …]
DAudioMixerBase.cpp1290 const TI* in, TA* aux, TV *vol, const TV *volinc, TAV *vola, TAV volainc) in volumeRampMulti() argument
1294 volumeRampMulti<MIXTYPE, 1>(out, frameCount, in, aux, vol, volinc, vola, volainc); in volumeRampMulti()
1297 volumeRampMulti<MIXTYPE, 2>(out, frameCount, in, aux, vol, volinc, vola, volainc); in volumeRampMulti()
1301 frameCount, in, aux, vol, volinc, vola, volainc); in volumeRampMulti()
1305 frameCount, in, aux, vol, volinc, vola, volainc); in volumeRampMulti()
1309 frameCount, in, aux, vol, volinc, vola, volainc); in volumeRampMulti()
1313 frameCount, in, aux, vol, volinc, vola, volainc); in volumeRampMulti()
1317 frameCount, in, aux, vol, volinc, vola, volainc); in volumeRampMulti()
1321 frameCount, in, aux, vol, volinc, vola, volainc); in volumeRampMulti()
1334 const TI* in, TA* aux, const TV *vol, TAV vola) in volumeMulti() argument
[all …]
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java361 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/
Dpvdec_api.cpp106 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/
DStorageManager.java367 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 …]
DStorageEventListener.java51 public void onVolumeStateChanged(VolumeInfo vol, int oldState, int newState) { in onVolumeStateChanged() argument
DIStorageEventListener.aidl50 void onVolumeStateChanged(in VolumeInfo vol, int oldState, int newState) = 2; in onVolumeStateChanged() argument
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dmp4enc_api.cpp877 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 …]
Dvop.cpp44 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()
Dfindhalfpel.cpp81 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/
DDeviceStorageMonitorService.java178 for (VolumeInfo vol : storage.getWritablePrivateVolumes()) { in check()
179 final File file = vol.getPath(); in check()
190 pms.freeStorage(vol.getFsUuid(), lowBytes * 2, 0); in check()
198 final UUID uuid = StorageManager.convert(vol.getFsUuid()); in check()
229 updateNotifications(vol, oldLevel, newLevel); in check()
230 updateBroadcasts(vol, oldLevel, newLevel, seq); in check()
446 private void updateNotifications(VolumeInfo vol, int oldLevel, int newLevel) { in updateNotifications() argument
448 final UUID uuid = StorageManager.convert(vol.getFsUuid()); in updateNotifications()
483 Objects.toString(vol.getDescription()), in updateNotifications()
489 Objects.toString(vol.getDescription()), in updateNotifications()
[all …]
/frameworks/base/core/java/android/speech/tts/
DAudioPlaybackQueueItem.java100 final float vol = clip(volume, 0.0f, 1.0f); in setupVolume() local
103 float volLeft = vol, volRight = vol; in setupVolume()
DBlockingAudioTrack.java319 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/
DPackageHelper.java186 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/av/media/libaudioclient/
DPlayerBase.cpp141 binder::Status PlayerBase::setVolume(float vol) { in setVolume() argument
145 mVolumeMultiplierL = vol; in setVolume()
146 mVolumeMultiplierR = vol; in setVolume()
/frameworks/base/cmds/sm/src/com/android/commands/sm/
DSm.java141 for (VolumeInfo vol : vols) { in runListVolumes()
142 if (filterType == -1 || filterType == vol.getType()) { in runListVolumes()
143 final String envState = VolumeInfo.getEnvironmentForState(vol.getState()); in runListVolumes()
144 System.out.println(vol.getId() + " " + envState + " " + vol.getFsUuid()); in runListVolumes()
/frameworks/base/media/java/android/media/
DPlayerProxy.java98 public void setVolume(float vol) { in setVolume() argument
100 mConf.getIPlayer().setVolume(vol); in setVolume()
DPlayerBase.java226 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/
DUserDataPreparer.java72 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/
DApplicationPackageManager.java2098 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/
DIPlayer.aidl29 oneway void setVolume(float vol); in setVolume() argument
/frameworks/base/services/usage/java/com/android/server/usage/
DStorageStatsService.java121 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/
DPlayerBase.h39 virtual binder::Status setVolume(float vol) override;
/frameworks/base/core/tests/coretests/src/android/app/
DApplicationPackageManagerTest.java134 for (VolumeInfo vol : exptectedVols) { in verifyReturnedVolumes()
135 if (!actualVols.contains(vol)) { in verifyReturnedVolumes()

12