/frameworks/base/media/java/android/mtp/ |
H A D | MtpStorage.java | 38 public MtpStorage(StorageVolume volume, Context context) { argument 39 mStorageId = volume.getStorageId(); 40 mPath = volume.getPath(); 41 mDescription = volume.getDescription(context); 42 mReserveSpace = volume.getMtpReserveSpace() * 1024L * 1024L; 43 mRemovable = volume.isRemovable(); 44 mMaxFileSize = volume.getMaxFileSize();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | D.java | 17 package com.android.systemui.volume; 22 public static boolean BUG = Log.isLoggable("volume", Log.DEBUG);
|
H A D | VolumeComponent.java | 17 package com.android.systemui.volume;
|
/frameworks/support/media-compat/api21/android/support/v4/media/ |
H A D | VolumeProviderCompatApi21.java | 28 public void onSetVolumeTo(int volume) { 29 delegate.onSetVolumeTo(volume); 44 void onSetVolumeTo(int volume); argument
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/ |
H A D | StorageManagerVolumeProvider.java | 53 public long getTotalBytes(StorageStatsManager stats, VolumeInfo volume) throws IOException { argument 54 return stats.getTotalBytes(volume.getFsUuid()); 58 public long getFreeBytes(StorageStatsManager stats, VolumeInfo volume) throws IOException { argument 59 return stats.getFreeBytes(volume.getFsUuid());
|
H A D | StorageVolumeProvider.java | 41 * Returns the emulated volume for a given private volume. 46 * Returns the total bytes for a given storage volume. 48 * @pre The volume is a private volume and is readable. 50 long getTotalBytes(StorageStatsManager stats, VolumeInfo volume) throws IOException; argument 53 * Returns the free bytes for a given storage volume. 55 * @pre The volume is a private volume and is readable. 57 long getFreeBytes(StorageStatsManager stats, VolumeInfo volume) throw argument [all...] |
/frameworks/av/media/libaudioprocessing/ |
H A D | AudioMixerOps.h | 39 * by a volume gain, with the formula: 43 * The output, input, and volume may have different types. 60 TO MixMul(TI value, TV volume); 63 inline int32_t MixMul<int32_t, int16_t, int16_t>(int16_t value, int16_t volume) { argument 64 return value * volume; 68 inline int32_t MixMul<int32_t, int32_t, int16_t>(int32_t value, int16_t volume) { argument 69 return (value >> 12) * volume; 73 inline int32_t MixMul<int32_t, int16_t, int32_t>(int16_t value, int32_t volume) { argument 74 return value * (volume >> 16); 78 inline int32_t MixMul<int32_t, int32_t, int32_t>(int32_t value, int32_t volume) { argument 83 MixMul(float value, int16_t volume) argument 89 MixMul(float value, int32_t volume) argument 95 MixMul(float value, int16_t volume) argument 100 MixMul(float value, int32_t volume) argument 105 MixMul(int16_t value, int16_t volume) argument 111 MixMul(int16_t value, int32_t volume) argument 117 MixMul(int16_t value, int16_t volume) argument 122 MixMul(int32_t value, int16_t volume) argument 127 MixMul(int16_t value, int32_t volume) argument 132 MixMul(int32_t value, int32_t volume) argument 141 MixMul(float value, float volume) argument 146 MixMul(int16_t value, float volume) argument 152 MixMul(int32_t value, float volume) argument 158 MixMul(int16_t value, float volume) argument 165 MixMul(int16_t value, float volume) argument 171 MixMul(float value, float volume) argument 216 MixMulAux(TI value, TV volume, TA *auxaccum) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | PackageHelperTests.java | 237 String volume = null; 238 volume = PackageHelper.resolveInstallVolume(getContext(), "package.name", 240 assertEquals(StorageManager.UUID_PRIVATE_INTERNAL, volume); 244 volume = PackageHelper.resolveInstallVolume(getContext(), "package.name", 246 assertEquals(StorageManager.UUID_PRIVATE_INTERNAL, volume); 250 volume = PackageHelper.resolveInstallVolume(getContext(), "package.name", 252 assertEquals(StorageManager.UUID_PRIVATE_INTERNAL, volume); 256 volume = PackageHelper.resolveInstallVolume(getContext(), "package.name", 258 assertEquals(StorageManager.UUID_PRIVATE_INTERNAL, volume); 306 // Existing apps always stay on the same volume [all...] |
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
H A D | vr.rs | 96 rs_allocation volume;
121 short pix = rsGetElementAt_short(volume, ip.x, ip.y, ip.z);
141 // short2 tmps = rsAllocationVLoadX_short2(volume, ip.x + 0, ip.y + 0, ip.z + 0);
143 float v_0_0_0 = (float) rsGetElementAt_short(volume, ip.x + 0, ip.y + 0, ip.z + 0);
144 float v_0_0_1 = (float) rsGetElementAt_short(volume, ip.x + 1, ip.y + 0, ip.z + 0);
146 float v_0_1_0 = (float) rsGetElementAt_short(volume, ip.x + 0, ip.y + 1, ip.z + 0);
147 float v_0_1_1 = (float) rsGetElementAt_short(volume, ip.x + 1, ip.y + 1, ip.z + 0);
148 float v_1_0_0 = (float) rsGetElementAt_short(volume, ip.x + 0, ip.y + 0, ip.z + 1);
149 float v_1_0_1 = (float) rsGetElementAt_short(volume, ip.x + 1, ip.y + 0, ip.z + 1);
150 float v_1_1_0 = (float) rsGetElementAt_short(volume, i [all...] |
H A D | bricked.rs | 24 rs_allocation volume;
27 // output a single bit per pixel volume based on opacity
47 if (pz >= rsAllocationGetDimZ(volume)) {
50 if (py >= rsAllocationGetDimY(volume)) {
57 int intensity = 0xFFFF & rsGetElementAt_short(volume, px, py, pz);
102 } else {// edge of volume
149 rsSetElementAt_short(volume, in, x, y, z);
|
/frameworks/av/services/oboeservice/ |
H A D | AAudioMixer.h | 37 * @param volume 40 bool mix(android::FifoBuffer *fifo, float volume); 42 void mixPart(float *destination, float *source, int32_t numFrames, float volume);
|
H A D | AAudioMixer.cpp | 44 bool AAudioMixer::mix(FifoBuffer *fifo, float volume) { argument 61 mixPart(destination, (float *)wrappingBuffer.data[partIndex], framesToMix, volume); 76 void AAudioMixer::mixPart(float *destination, float *source, int32_t numFrames, float volume) { argument 80 *destination++ += *source++ * volume;
|
/frameworks/base/media/java/android/media/ |
H A D | IRemoteDisplayProvider.aidl | 29 void setVolume(String id, int volume);
|
H A D | IRingtonePlayer.aidl | 29 oneway void play(IBinder token, in Uri uri, in AudioAttributes aa, float volume, boolean looping); 32 oneway void setPlaybackProperties(IBinder token, float volume, boolean looping);
|
H A D | MediaRouterClientState.java | 103 public int volume; field in class:MediaRouterClientState.RouteInfo 129 volume = other.volume; 145 volume = in.readInt(); 167 dest.writeInt(volume); 184 + ", volume=" + volume
|
H A D | RemoteDisplayState.java | 107 public int volume; field in class:RemoteDisplayState.RemoteDisplayInfo 124 volume = other.volume; 135 volume = in.readInt(); 156 dest.writeInt(volume); 168 + ", volume=" + volume
|
/frameworks/wilhelm/src/itf/ |
H A D | IDeviceVolume.cpp | 49 static SLresult IDeviceVolume_SetVolume(SLDeviceVolumeItf self, SLuint32 deviceID, SLint32 volume) argument 64 thiz->mVolume[~deviceID] = volume; 96 SLint32 volume = thiz->mVolume[~deviceID]; local 98 *pVolume = volume;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/ |
H A D | AppCollectorTest.java | 93 VolumeInfo volume = new VolumeInfo("testuuid", 0, null, null); 94 volume.fsUuid = "testuuid"; 95 AppCollector collector = new AppCollector(mContext, volume); 103 VolumeInfo volume = new VolumeInfo("testuuid", 0, null, null); 104 volume.fsUuid = "testuuid"; 105 AppCollector collector = new AppCollector(mContext, volume); 113 VolumeInfo volume = new VolumeInfo("testuuid", 0, null, null); 114 volume.fsUuid = "testuuid"; 115 AppCollector collector = new AppCollector(mContext, volume); 130 VolumeInfo volume [all...] |
/frameworks/base/media/lib/remotedisplay/java/com/android/media/remotedisplay/ |
H A D | RemoteDisplay.java | 58 * Volume handling: Output volume can be changed. 64 * Volume handling: Output volume is fixed. 118 return mMutableInfo.volume; 121 public void setVolume(int volume) { argument 122 if (mMutableInfo.volume != volume) { 123 mMutableInfo.volume = volume;
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | VolumeControlAction.java | 27 * Feature action that transmits volume change to Audio Receiver. 29 * This action is created when a user pressed volume up/down. However, Android only provides a 30 * listener for delta of some volume change instead of individual key event. Also it's hard to know 31 * Audio Receiver's number of volume steps for a single volume control key. Because of this, it 33 * volume change happens; otherwise, it will send again key-down as press and hold feature does. 38 // State that wait for next volume press. 52 * Scale a custom volume value to cec volume scale. 54 * @param volume volum 58 scaleToCecVolume(int volume, int scale) argument [all...] |
/frameworks/base/media/java/android/media/tv/ |
H A D | ITvInputHardware.aidl | 38 * Set volume for this stream via AudioGain. 40 void setStreamVolume(float volume);
|
/frameworks/av/include/media/ |
H A D | AudioResampler.h | 147 inline float clampFloatVol(float volume) { argument 148 if (volume > UNITY_GAIN_FLOAT) { 150 } else if (volume >= 0.) { 151 return volume; 153 return 0.; // NaN or negative volume maps to 0.
|
/frameworks/av/media/libaudioprocessing/include/ |
H A D | AudioResampler.h | 147 inline float clampFloatVol(float volume) { argument 148 if (volume > UNITY_GAIN_FLOAT) { 150 } else if (volume >= 0.) { 151 return volume; 153 return 0.; // NaN or negative volume maps to 0.
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
H A D | RemoteControlClientCompat.java | 62 * Sets a callback to receive volume change requests from the remote control client. 64 * @param callback The volume callback to use or null if none. 74 public int volume; field in class:RemoteControlClientCompat.PlaybackInfo 82 * Called when volume updates are requested by the remote control client. 86 * Called when the volume should be increased or decreased. 88 * @param direction An integer indicating whether the volume is to be increased 91 * in the same direction, e.g. +3 corresponds to three "volume up" changes. 96 * Called when the volume for the route should be set to the given value. 98 * @param volume An integer indicating the new volume valu 101 onVolumeSetRequest(int volume) argument 182 onVolumeSetRequest(Object routeObj, int volume) argument [all...] |
/frameworks/av/include/media/audiohal/ |
H A D | DeviceHalInterface.h | 39 // Set the audio volume of a voice call. Range is between 0.0 and 1.0. 40 virtual status_t setVoiceVolume(float volume) = 0; 42 // Set the audio volume for all audio activities other than voice call. 43 virtual status_t setMasterVolume(float volume) = 0; 45 // Get the current master volume value for the HAL. 46 virtual status_t getMasterVolume(float *volume) = 0;
|