/packages/modules/SdkExtensions/ |
D | README.md | 3 SdkExtensions is a module that decides the extension SDK level of the device, 4 and provides APIs for applications to query the extension SDK level. 11 extension SDK (for instance `build.version.extensions.r`). 13 exposes APIs to applications to query the extension SDK level. 15 ## Deriving extension SDK level 19 exact steps for converting a set of metadata files to actual extension versions 22 ## Reading extension SDK level 25 read the version of a particular sdk extension, e.g.
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | Helpers.java | 383 String extension = null; in chooseExtensionFromMimeType() local 385 extension = MimeTypeMap.getSingleton().getExtensionFromMimeType(mimeType); in chooseExtensionFromMimeType() 386 if (extension != null) { in chooseExtensionFromMimeType() 390 extension = "." + extension; in chooseExtensionFromMimeType() 397 if (extension == null) { in chooseExtensionFromMimeType() 403 extension = Constants.DEFAULT_DL_HTML_EXTENSION; in chooseExtensionFromMimeType() 408 extension = Constants.DEFAULT_DL_TEXT_EXTENSION; in chooseExtensionFromMimeType() 414 extension = Constants.DEFAULT_DL_BINARY_EXTENSION; in chooseExtensionFromMimeType() 417 return extension; in chooseExtensionFromMimeType() 422 String extension = null; in chooseExtensionFromFilename() local [all …]
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | MediaScratchFileProvider.java | 68 public static Uri buildMediaScratchSpaceUri(final String extension) { in buildMediaScratchSpaceUri() argument 69 final Uri uri = FileProvider.buildFileUri(AUTHORITY, extension); in buildMediaScratchSpaceUri() 70 final File file = getFileWithExtension(uri.getPath(), extension); in buildMediaScratchSpaceUri() 87 File getFile(final String path, final String extension) { in getFile() argument 88 return getFileWithExtension(path, extension); in getFile() 91 private static File getFileWithExtension(final String path, final String extension) { in getFileWithExtension() argument 94 TextUtils.isEmpty(extension) ? path : path + "." + extension); in getFileWithExtension()
|
D | FileProvider.java | 39 abstract File getFile(final String path, final String extension); in getFile() argument 82 protected static Uri buildFileUri(final String authority, final String extension) { in buildFileUri() argument 87 if (!TextUtils.isEmpty(extension)) { in buildFileUri() 88 builder.appendQueryParameter(FILE_EXTENSION_PARAM_KEY, extension); in buildFileUri()
|
/packages/apps/Nfc/src/com/android/nfc/beam/ |
D | MimeTypeUtil.java | 38 String extension = null; in getMimeTypeForUri() local 42 extension = filePath.substring(index + 1); in getMimeTypeForUri() 44 if (extension != null) { in getMimeTypeForUri() 45 return MimeTypeMap.getSingleton().getMimeTypeFromExtension(extension); in getMimeTypeForUri()
|
D | BeamTransferManager.java | 520 String extension = null; in generateUniqueDestination() local 523 extension = ""; in generateUniqueDestination() 526 extension = fileName.substring(dotIndex); in generateUniqueDestination() 533 Integer.toString(count) + extension); in generateUniqueDestination()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/inspector/ |
D | HeaderTextSelectorTest.java | 56 String extension = ".txt"; in testSimpleFileName() local 57 String testSequence = fileName + extension; in testSimpleFileName() 72 String extension = ".jpg.zip.pdf.txt"; in testLotsOfPeriodsInFileName() local 73 String testSequence = fileName + extension; in testLotsOfPeriodsInFileName()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | ContentType.java | 163 final String extension = MimeTypeMap.getFileExtensionFromUrl(fileName); in getContentTypeFromExtension() local 164 String contentType = mimeTypeMap.getMimeTypeFromExtension(extension); in getContentTypeFromExtension() 173 final String extension = mimeTypeMap.getExtensionFromMimeType(mimeType); in getExtensionFromMimeType() local 174 return extension; in getExtensionFromMimeType()
|
D | FileUtil.java | 37 private static synchronized File getNewFile(File directory, String extension, in getNewFile() argument 41 final String numberedFileNameFormat = dateFormat.format(date) + "_%02d" + "." + extension; in getNewFile()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/logging/ |
D | StatsLogCompatManager.java | 106 public static boolean fillInLauncherExtension(View v, LauncherExtension extension) { in fillInLauncherExtension() argument 123 extension.srcTarget[0] = new LauncherTarget(); in fillInLauncherExtension() 124 extension.srcTarget[1] = new LauncherTarget(); in fillInLauncherExtension() 125 copy(child, extension.srcTarget[0]); in fillInLauncherExtension() 126 copy(parent, extension.srcTarget[1]); in fillInLauncherExtension()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppReceiveFileInfo.java | 122 String extension = null; in generateFileInfo() local 129 extension = ""; in generateFileInfo() 132 extension = filename.substring(dotIndex); in generateFileInfo() 163 String fullfilename = filename + extension; in generateFileInfo()
|
D | BluetoothOppObexServerSession.java | 235 String extension, type; in onPut() local 243 extension = name.substring(dotIndex + 1).toLowerCase(); in onPut() 245 type = map.getMimeTypeFromExtension(extension); in onPut() 247 Log.v(TAG, "Mimetype guessed from extension " + extension + " is " + type); in onPut()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
D | MtpDeviceIndex.java | 155 final String extension = name.substring(lastDot + 1); in isFormatSupported() local 157 Boolean result = sCachedSupportedExtenstions.get(extension); in isFormatSupported() 162 extension.toLowerCase(Locale.US)); in isFormatSupported() 166 sCachedSupportedExtenstions.put(extension, result); in isFormatSupported()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/ |
D | LegacyPartnerWallpaperInfo.java | 94 String extension = ""; in getAll() local 96 extension = name.substring(dotPos); in getAll() 105 String thumbName = name + "_small" + extension; in getAll()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | Storage.java | 383 String extension = null; in generateFilepath() local 385 extension = JPEG_POSTFIX; in generateFilepath() 387 extension = GIF_POSTFIX; in generateFilepath() 391 return (new File(directory, title + extension)).getAbsolutePath(); in generateFilepath()
|
/packages/apps/StorageManager/src/com/android/storagemanager/utils/ |
D | IconProvider.java | 50 final String extension = name.substring(lastDot + 1); in getMimeType() local 52 MimeTypeMap.getSingleton().getMimeTypeFromExtension(extension.toLowerCase()); in getMimeType()
|
/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/ |
D | StructInetDiagReqV2.java | 58 @Nullable InetSocketAddress remote, int family, int pad, int extension, int state) in StructInetDiagReqV2() argument 69 mIdiagExt = (byte) extension; in StructInetDiagReqV2()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | TransformingTouchDelegate.java | 56 public void extendTouchBounds(float extension) { in extendTouchBounds() argument 57 mTouchExtension = extension; in extendTouchBounds()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | UriSource.java | 60 String extension = in getMimeType() local 63 .getMimeTypeFromExtension(extension.toLowerCase()); in getMimeType()
|
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/ |
D | DownloadServiceTest.kt | 190 private fun createTestFile(extension: String = ".png"): File { in createTestFile() 195 return File.createTempFile("test", extension, testFilePath) in createTestFile() 288 val testFile = createTestFile(extension = ".testtxtfile") in testTapDoneNotification()
|
/packages/apps/Launcher3/src/com/android/launcher3/logging/ |
D | LoggerUtils.java | 207 public static Target newTarget(int targetType, TargetExtension extension) { in newTarget() argument 210 t.extension = extension; in newTarget()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/ |
D | ResourcesProvider.java | 153 final String extension = documentId.substring(lastDot + 1).toLowerCase(); in includeDocument() local 154 final String mimeType = MimeTypeMap.getSingleton().getMimeTypeFromExtension(extension); in includeDocument()
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | DatabaseMessages.java | 628 String extension = MimeTypeMap.getFileExtensionFromUrl(path); in extractContentType() local 629 if (TextUtils.isEmpty(extension)) { in extractContentType() 634 extension = path.substring(dotPos + 1); in extractContentType() 637 return mimeTypeMap.getMimeTypeFromExtension(extension); in extractContentType()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/ |
D | Archive.java | 304 final String extension = entry.getName().substring(lastDot + 1).toLowerCase(Locale.US); in getMimeTypeForEntry() local 305 final String mimeType = MimeTypeMap.getSingleton().getMimeTypeFromExtension(extension); in getMimeTypeForEntry()
|
/packages/apps/Launcher3/protos/ |
D | launcher_log.proto | 57 optional TargetExtension extension = 16; field 202 optional LauncherEventExtension extension = 9; field
|