/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Disk/CdExpressPei/ |
PeiCdExpress.c | 160 EFI_PEI_BLOCK_IO_MEDIA Media;
237 &Media
240 !Media.MediaPresent ||
241 ((Media.DeviceType != IdeCDROM) && (Media.DeviceType != UsbMassStorage)) ||
242 (Media.BlockSize != PEI_CD_BLOCK_SIZE)
246 DEBUG ((EFI_D_INFO, "PeiCdExpress DeviceType is %d\n", Media.DeviceType));
247 DEBUG ((EFI_D_INFO, "PeiCdExpress MediaPresent is %d\n", Media.MediaPresent));
248 DEBUG ((EFI_D_INFO, "PeiCdExpress BlockSize is 0x%x\n", Media.BlockSize));
605 Loads a DXE capsule from some media into memory. [all...] |
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/ |
IsaFloppyCtrl.c | 32 FdcDev->BlkIo.Media = &FdcDev->BlkMedia;
51 and set the media parameters if the driver is present.
81 // Set Media Parameter
83 FdcDev->BlkIo.Media->RemovableMedia = TRUE;
84 FdcDev->BlkIo.Media->MediaPresent = TRUE;
85 FdcDev->BlkIo.Media->MediaId = 0;
88 // Check Media
93 FdcDev->BlkIo.Media->MediaPresent = FALSE;
106 FdcDev->BlkIo.Media->ReadOnly = TRUE;
108 FdcDev->BlkIo.Media->ReadOnly = FALSE; [all...] |
/packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/ |
GalleryGridItemViewTest.java | 19 import android.provider.MediaStore.Images.Media; 80 final String path = (String) cursor.getAt(Media.DATA, 0); 93 final String path = (String) cursor.getAt(Media.DATA, 0); 106 final String path = (String) cursor.getAt(Media.DATA, 0); 135 final String path = (String) cursor.getAt(Media.DATA, 1);
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaDocumentsProvider.java | 17 package com.android.providers.media; 66 private static final String AUTHORITY = "com.android.providers.media.documents"; 194 Images.Media.EXTERNAL_CONTENT_URI, ident.id); 197 Video.Media.EXTERNAL_CONTENT_URI, ident.id); 200 Audio.Media.EXTERNAL_CONTENT_URI, ident.id); 243 cursor = resolver.query(Images.Media.EXTERNAL_CONTENT_URI, 252 cursor = resolver.query(Images.Media.EXTERNAL_CONTENT_URI, 264 cursor = resolver.query(Video.Media.EXTERNAL_CONTENT_URI, 273 cursor = resolver.query(Video.Media.EXTERNAL_CONTENT_URI, 303 cursor = resolver.query(Audio.Media.EXTERNAL_CONTENT_URI [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Audio_Artists_AlbumsTest.java | 25 import android.provider.MediaStore.Audio.Media; 68 // the album item is inserted when inserting audio media 72 Cursor c = mContentResolver.query(audioMediaUri, new String[] { Media.ARTIST_ID }, null, 75 Long artistId = c.getLong(c.getColumnIndex(Media.ARTIST_ID)); 132 // the album items are deleted when deleting the audio media which belongs to the album
|
MediaStore_Audio_AlbumsTest.java | 29 import android.provider.MediaStore.Audio.Media; 83 // the album item is inserted when inserting audio media 158 // the album items are deleted when deleting the audio media which belongs to the album 175 v.put(Media.DATA, path.getAbsolutePath()); 176 v.put(Media.TITLE, "testing"); 178 uri = mContentResolver.insert(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, v); 189 Uri albumart = Uri.parse("content://media/external/audio/albumart/" + aid);
|
MediaStore_Audio_Playlists_MembersTest.java | 25 import android.provider.MediaStore.Audio.Media; 108 long id = c.getLong(c.getColumnIndex(Media._ID)); 127 mContentResolver.delete(Media.EXTERNAL_CONTENT_URI, Media._ID + "=" + mIdOfAudio1, null); 128 mContentResolver.delete(Media.EXTERNAL_CONTENT_URI, Media._ID + "=" + mIdOfAudio2, null); 129 mContentResolver.delete(Media.EXTERNAL_CONTENT_URI, Media._ID + "=" + mIdOfAudio3, null); 130 mContentResolver.delete(Media.EXTERNAL_CONTENT_URI, Media._ID + "=" + mIdOfAudio4, null) [all...] |
/device/linaro/bootloader/edk2/DuetPkg/FvbRuntimeService/ |
FileIo.c | 73 if (!BlkIo->Media->MediaPresent) {
74 DEBUG ((EFI_D_ERROR, "FwhMappedFile: Media not present!\n"));
78 if (BlkIo->Media->ReadOnly) {
79 DEBUG ((EFI_D_ERROR, "FwhMappedFile: Media is read-only!\n"));
86 BlkIo->Media->MediaId,
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/NvmExpressDxe/ |
NvmExpress.c | 129 // Build BlockIo media structure
131 Device->Media.MediaId = 0;
132 Device->Media.RemovableMedia = FALSE;
133 Device->Media.MediaPresent = TRUE;
134 Device->Media.LogicalPartition = FALSE;
135 Device->Media.ReadOnly = FALSE;
136 Device->Media.WriteCaching = FALSE;
141 Device->Media.BlockSize = (UINT32)1 << Lbads;
143 Device->Media.LastBlock = NamespaceData->Nsze - 1;
144 Device->Media.LogicalBlocksPerPhysicalBlock = 1; [all...] |
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/ |
Dblk.c | 55 BufferSize = BlockIo->Media->BlockSize * BlockCount;
59 ShellPrintEx(-1,-1,L" BlockSize: 0x%08x, BlockCount: 0x%08x\r\n", BlockIo->Media->BlockSize, BlockCount);
63 Status = BlockIo->ReadBlocks(BlockIo, BlockIo->Media->MediaId, Lba, BufferSize, Buffer);
|
/external/avb/examples/uefi/ |
uefi_avb_ops.c | 100 block_io->Media->MediaId, 138 block_io->Media->BlockSize * (MAX_GPT_ENTRIES / ENTRIES_PER_BLOCK); 143 block_io->Media->MediaId, 199 data->block_io->Media->BlockSize; 222 data->block_io->Media->MediaId, 223 (partition_entry->first_lba * data->block_io->Media->BlockSize) + 258 data->block_io->Media->BlockSize; 282 data->block_io->Media->MediaId, 283 (partition_entry->first_lba * data->block_io->Media->BlockSize) + 448 if ((*block_io)->Media->LogicalPartition | [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
LocalAlbum.java | 40 // LocalAlbumSet lists all media items in one bucket on local storage. 41 // The media items need to be all images or all videos, but not both. 74 mBaseUri = Images.Media.EXTERNAL_CONTENT_URI; 81 mBaseUri = Video.Media.EXTERNAL_CONTENT_URI; 104 return MediaStore.Images.Media.EXTERNAL_CONTENT_URI.buildUpon() 108 return MediaStore.Video.Media.EXTERNAL_CONTENT_URI.buildUpon() 175 baseUri = Images.Media.EXTERNAL_CONTENT_URI; 179 baseUri = Video.Media.EXTERNAL_CONTENT_URI;
|
/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/ |
ChangeDefaultUris.java | 20 import android.media.RingtoneManager; 54 .insert(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, values); 66 MediaStore.Audio.Media.EXTERNAL_CONTENT_URI,
|
/external/syslinux/efi/ |
diskio.c | 66 disk.disk_number = bio->Media->MediaId; 68 disk.sector_size = bio->Media->BlockSize;
|
/frameworks/av/services/mediaanalytics/ |
Android.mk | 0 # Media Statistics service 34 $(TOP)/frameworks/av/media/libstagefright/include \ 35 $(TOP)/frameworks/av/media/libstagefright/rtsp \ 36 $(TOP)/frameworks/av/media/libstagefright/wifi-display \ 37 $(TOP)/frameworks/av/media/libstagefright/webm \ 38 $(TOP)/frameworks/av/include/media \ 40 $(TOP)/frameworks/native/include/media/openmax \ 41 $(TOP)/frameworks/native/include/media/hardware \
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/ |
PickImageInfo.java | 52 // MediaStore.Images.Media.EXTERNAL_CONTENT_URI requires 57 Cursor cursor = MediaStore.Images.Media.query(context.getContentResolver(), 58 MediaStore.Images.Media.EXTERNAL_CONTENT_URI,
|
/cts/tests/tests/media/src/android/media/cts/ |
AdaptivePlaybackTest.java | 17 package android.media.cts; 19 import android.media.cts.R; 24 import android.media.MediaCodec; 25 import android.media.MediaCodecInfo; 26 import android.media.MediaCodecInfo.CodecCapabilities; 27 import android.media.MediaCodecInfo.CodecProfileLevel; 28 import android.media.MediaCodecList; 29 import android.media.MediaExtractor; 30 import android.media.MediaFormat; 362 configFmt = Media.removeCSD(fmt) 624 Media media = c.mediaList[0]; local [all...] |
/frameworks/base/media/java/android/media/ |
MediaScanner.java | 17 package android.media; 160 private static final String SYSTEM_SOUNDS_DIR = "/system/media/audio"; 419 mAudioUri = Audio.Media.getContentUri(volumeName); 420 mVideoUri = Video.Media.getContentUri(volumeName); 421 mImagesUri = Images.Media.getContentUri(volumeName); 427 // we only support playlists on external media 491 private boolean mNoMedia; // flag to suppress file from appearing in media tables 693 // used to force sorting. The media provider will trim() before 845 * Formats the data into a values array suitable for use with the Media [all...] |
/packages/apps/Music/src/com/android/music/ |
MusicUtils.java | 322 colidx = cursor.getColumnIndexOrThrow(MediaStore.Audio.Media._ID); 332 final String[] ccols = new String[] {MediaStore.Audio.Media._ID}; 333 String where = MediaStore.Audio.Media.ARTIST_ID + "=" + id + " AND " 334 + MediaStore.Audio.Media.IS_MUSIC + "=1"; 335 Cursor cursor = query(context, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, ccols, where, 336 null, MediaStore.Audio.Media.ALBUM_KEY + "," + MediaStore.Audio.Media.TRACK); 347 final String[] ccols = new String[] {MediaStore.Audio.Media._ID}; 348 String where = MediaStore.Audio.Media.ALBUM_ID + "=" + id + " AND " 349 + MediaStore.Audio.Media.IS_MUSIC + "=1" [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/BlockIo/ |
BlockIo.h | 78 MediaId - Id of the media, changes every time the media is replaced.
86 EFI_NO_MEDIA - There is no media in the device.
112 MediaId - Id of the media, changes every time the media is replaced.
121 EFI_NO_MEDIA - There is no media in the device.
147 EFI_NO_MEDIA - There is no media in the device.
156 MediaId - The curent media Id. If the media changes, this value is changed.
157 RemovableMedia - TRUE if the media is removable; otherwise, FALSE. [all...] |
/device/linaro/bootloader/edk2/EmulatorPkg/EmuBlockIoDxe/ |
EmuBlockIo.h | 61 EFI_BLOCK_IO_MEDIA Media;
|
/device/linaro/bootloader/edk2/EmulatorPkg/Include/Protocol/ |
EmuBlockIo.h | 62 @param[in] MediaId Id of the media, changes every time the media is
76 @retval EFI_NO_MEDIA There is no media in the device.
77 @retval EFI_MEDIA_CHANGED The MediaId is not for the current media.
105 @param[in] MediaId The media ID that the write request is for.
117 @retval EFI_NO_MEDIA There is no media in the device.
154 @retval EFI_NO_MEDIA There is no media in the device.
155 @retval EFI_MEDIA_CHANGED The MediaId is not for the current media.
172 IN EFI_BLOCK_IO_MEDIA *Media
|
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/ |
BlockIo.h | 60 @param MediaId Id of the media, changes every time the media is replaced.
68 @retval EFI_NO_MEDIA There is no media in the device.
89 @param MediaId The media ID that the write request is for.
98 @retval EFI_NO_MEDIA There is no media in the device.
122 @retval EFI_NO_MEDIA There is no media in the device.
136 /// The curent media Id. If the media changes, this value is changed.
141 /// TRUE if the media is removable; otherwise, FALSE.
146 /// TRUE if there is a media currently present in the device; [all...] |
BlockIo2.h | 80 @param[in] MediaId Id of the media, changes every time the media is
94 @retval EFI_NO_MEDIA There is no media in the device.
95 @retval EFI_MEDIA_CHANGED The MediaId is not for the current media.
123 @param[in] MediaId The media ID that the write request is for.
135 @retval EFI_NO_MEDIA There is no media in the device.
172 @retval EFI_NO_MEDIA There is no media in the device.
173 @retval EFI_MEDIA_CHANGED The MediaId is not for the current media.
195 EFI_BLOCK_IO_MEDIA *Media;
|
/device/linaro/bootloader/edk2/Vlv2DeviceRefCodePkg/ValleyView2Soc/SouthCluster/Include/Ppi/ |
PeiBlockIo.h | 52 @param MediaId Id of the media, changes every time the media is replaced.
60 @retval EFI_NO_MEDIA There is no media in the device.
82 @param MediaId The media ID that the write request is for.
91 @retval EFI_NO_MEDIA There is no media in the device.
116 @retval EFI_NO_MEDIA There is no media in the device.
130 /// The curent media Id. If the media changes, this value is changed.
135 /// TRUE if the media is removable; otherwise, FALSE.
140 /// TRUE if there is a media currently present in the device; [all...] |