Searched refs:vol (Results 1 - 25 of 47) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
H A 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) {
177 onVolumeStateChangedInternal(vol);
272 private void onVolumeStateChangedInternal(VolumeInfo vol) { argument
273 switch (vol
283 onPrivateVolumeStateChangedInternal(VolumeInfo vol) argument
289 onPublicVolumeStateChangedInternal(VolumeInfo vol) argument
333 onVolumeUnmounted(VolumeInfo vol) argument
338 onVolumeChecking(VolumeInfo vol) argument
351 onVolumeMounted(VolumeInfo vol) argument
401 onVolumeFormatting(VolumeInfo vol) argument
406 onVolumeEjecting(VolumeInfo vol) argument
419 onVolumeUnmountable(VolumeInfo vol) argument
432 onVolumeRemoved(VolumeInfo vol) argument
449 onVolumeBadRemoval(VolumeInfo vol) argument
573 buildNotificationBuilder(VolumeInfo vol, CharSequence title, CharSequence text) argument
605 buildInitPendingIntent(VolumeInfo vol) argument
621 buildUnmountPendingIntent(VolumeInfo vol) argument
642 buildBrowsePendingIntent(VolumeInfo vol) argument
650 buildVolumeSettingsPendingIntent(VolumeInfo vol) argument
[all...]
/frameworks/av/media/libaudioprocessing/
H A DAudioMixerOps.h242 * vol: represents a volume array.
252 * vol: represents volume array.
261 * vol: represents a volume array.
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[
275 volumeRampMulti(TO* out, size_t frameCount, const TI* in, TA* aux, TV *vol, const TV *volinc, TAV *vola, TAV volainc) argument
368 volumeMulti(TO* out, size_t frameCount, const TI* in, TA* aux, const TV *vol, TAV vola) argument
[all...]
/frameworks/base/core/java/android/os/storage/
H A DStorageEventListener.java41 public void onVolumeStateChanged(VolumeInfo vol, int oldState, int newState) { argument
H A DIStorageEventListener.aidl50 void onVolumeStateChanged(in VolumeInfo vol, int oldState, int newState) = 2;
H A DStorageManager.java319 public void onVolumeStateChanged(VolumeInfo vol, int oldState, int newState) { argument
321 args.arg1 = vol;
671 for (VolumeInfo vol : getVolumes()) {
672 if (Objects.equals(vol.id, id)) {
673 return vol;
683 for (VolumeInfo vol : getVolumes()) {
684 if (Objects.equals(vol.fsUuid, fsUuid)) {
685 return vol;
750 for (VolumeInfo vol : mStorageManager.getVolumes(0)) {
751 if (vol
806 getBestVolumeDescription(VolumeInfo vol) argument
[all...]
/frameworks/base/media/java/android/media/
H A DIPlayer.aidl28 oneway void setVolume(float vol);
H A DPlayerProxy.java95 * @param vol
98 public void setVolume(float vol) { argument
100 mConf.getIPlayer().setVolume(vol);
/frameworks/base/services/core/java/com/android/server/
H A DStorageManagerService.java360 final VolumeInfo vol = mVolumes.get(id);
361 if (vol != null) {
362 return vol;
371 final VolumeInfo vol = mVolumes.valueAt(i);
372 if (vol.path != null && path.startsWith(vol.path)) {
373 return vol.id;
383 final VolumeInfo vol = mVolumes.valueAt(i);
384 if (vol.path != null && path.startsWith(vol
1285 onVolumeCreatedLocked(VolumeInfo vol) argument
1335 isBroadcastWorthy(VolumeInfo vol) argument
1360 onVolumeStateChangedLocked(VolumeInfo vol, int oldState, int newState) argument
1463 isMountDisallowed(VolumeInfo vol) argument
3912 notifyVolumeStateChanged(VolumeInfo vol, int oldState, int newState) argument
[all...]
/frameworks/av/media/libaudioclient/
H A DPlayerBase.cpp123 void PlayerBase::setVolume(float vol) { argument
126 mVolumeMultiplierL = vol;
127 mVolumeMultiplierR = vol;
/frameworks/base/core/java/android/speech/tts/
H A DAudioPlaybackQueueItem.java100 final float vol = clip(volume, 0.0f, 1.0f);
103 float volLeft = vol, volRight = vol;
H A DBlockingAudioTrack.java319 final float vol = clip(volume, 0.0f, 1.0f);
322 float volLeft = vol;
323 float volRight = vol;
/frameworks/native/include/audiomanager/
H A DIPlayer.h43 virtual void setVolume(float vol) = 0;
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dpvdec_api.cpp106 video->vol = (Vol **) IMEM_VOL;
113 video->vol = (Vol **) oscl_malloc(nLayers * sizeof(Vol *));
115 if (video->vol == NULL) status = PV_FALSE;
185 video->vol[idx] = IMEM_vol[idx];
187 oscl_memset(video->vol[idx], 0, sizeof(Vol));
188 if (video->vol[idx] == NULL) status = PV_FALSE;
191 video->vol[idx] = (Vol *) oscl_malloc(sizeof(Vol));
192 if (video->vol[idx] == NULL)
200 oscl_memset(video->vol[idx], 0, sizeof(Vol));
221 video->vol[id
[all...]
/frameworks/base/cmds/sm/src/com/android/commands/sm/
H A DSm.java128 for (VolumeInfo vol : vols) {
129 if (filterType == -1 || filterType == vol.getType()) {
130 final String envState = VolumeInfo.getEnvironmentForState(vol.getState());
131 System.out.println(vol.getId() + " " + envState + " " + vol.getFsUuid());
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dmp4enc_api.cpp877 video->vol = (Vol **)M4VENC_MALLOC(nLayers * sizeof(Vol *)); /* Memory for VOL pointers */
880 if (video->vol == NULL) goto CLEAN_UP;
887 video->vol[idx] = (Vol *)M4VENC_MALLOC(sizeof(Vol));
888 if (video->vol[idx] == NULL) goto CLEAN_UP;
890 pVol = video->vol[idx];
893 M4VENC_MEMSET(video->vol[idx], 0, sizeof(Vol));
1158 nTotalMB = video->vol[0]->nTotalMB;
1160 if (video->vol[idx]->nTotalMB > nTotalMB)
1161 nTotalMB = video->vol[idx]->nTotalMB;
1253 if (video->vol)
2622 Vol **vol = video->vol; local
2862 Vol **vol = video->vol; local
[all...]
H A Dvop.cpp44 Vol *currVol = video->vol[currLayer];
127 Vol *currVol = video->vol[video->currLayer];
196 Vol *currVol = video->vol[currLayer];
312 Vol *currVol = video->vol[0];
510 Vol *currVol = video->vol[video->currLayer];
H A Dfindhalfpel.cpp81 Int height = video->vol[video->currLayer]->height;
203 height = video->vol[video->currLayer]->height;
/frameworks/av/media/libaudioclient/include/media/
H A DPlayerBase.h39 virtual void setVolume(float vol);
/frameworks/base/services/core/java/com/android/server/storage/
H A DDeviceStorageMonitorService.java192 for (VolumeInfo vol : storage.getWritablePrivateVolumes()) {
193 final File file = vol.getPath();
204 pms.freeStorage(vol.getFsUuid(), lowBytes * 2, 0);
212 final UUID uuid = StorageManager.convert(vol.getFsUuid());
243 updateNotifications(vol, oldLevel, newLevel);
244 updateBroadcasts(vol, oldLevel, newLevel, seq);
455 private void updateNotifications(VolumeInfo vol, int oldLevel, int newLevel) { argument
457 final UUID uuid = StorageManager.convert(vol.getFsUuid());
504 private void updateBroadcasts(VolumeInfo vol, int oldLevel, int newLevel, int seq) { argument
505 if (!Objects.equals(StorageManager.UUID_PRIVATE_INTERNAL, vol
[all...]
/frameworks/base/packages/ExtServices/src/android/ext/services/storage/
H A DCacheQuotaServiceImpl.java127 final VolumeInfo vol = storageManager.findVolumeByUuid(uuid);
128 freeBytes = vol.getPath().getUsableSpace();
/frameworks/native/services/audiomanager/
H A DIPlayer.cpp70 virtual void setVolume(float vol) argument
74 data.writeFloat(vol);
/frameworks/base/services/core/java/com/android/server/pm/
H A DUserDataPreparer.java70 for (VolumeInfo vol : storage.getWritablePrivateVolumes()) {
71 final String volumeUuid = vol.getFsUuid();
118 for (VolumeInfo vol : storage.getWritablePrivateVolumes()) {
119 final String volumeUuid = vol.getFsUuid();
/frameworks/base/core/java/com/android/internal/content/
H A DPackageHelper.java465 for (VolumeInfo vol : storageManager.getVolumes()) {
466 boolean isInternalStorage = ID_PRIVATE_INTERNAL.equals(vol.id);
467 if (vol.type == VolumeInfo.TYPE_PRIVATE && vol.isMountedWritable()
469 final long availBytes = storageManager.getAllocatableBytes(new File(vol.path),
472 allCandidates.add(vol.fsUuid);
475 bestCandidate = vol;
/frameworks/base/core/java/android/app/
H A DApplicationPackageManager.java1893 public int movePackage(String packageName, VolumeInfo vol) { argument
1896 if (VolumeInfo.ID_PRIVATE_INTERNAL.equals(vol.id)) {
1898 } else if (vol.isPrimaryPhysical()) {
1901 volumeUuid = Preconditions.checkNotNull(vol.fsUuid);
1940 for (VolumeInfo vol : vols) {
1941 if (Objects.equals(vol, currentVol)
1942 || isPackageCandidateVolume(mContext, app, vol, pm)) {
1943 candidates.add(vol);
1962 ContextImpl context, ApplicationInfo app, VolumeInfo vol, IPackageManager pm) {
1965 if (VolumeInfo.ID_PRIVATE_INTERNAL.equals(vol
1961 isPackageCandidateVolume( ContextImpl context, ApplicationInfo app, VolumeInfo vol, IPackageManager pm) argument
2004 movePrimaryStorage(VolumeInfo vol) argument
2048 isPrimaryStorageCandidateVolume(VolumeInfo vol) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/app/
H A DApplicationPackageManagerTest.java131 for (VolumeInfo vol : exptectedVols) {
132 if (!actualVols.contains(vol)) {

Completed in 586 milliseconds

12