Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/src/com/android/providers/media/util/
DMimeUtils.java49 final String mimeType = MimeTypeMap.getSingleton() in resolveMimeType()
262 final String extension = MimeTypeMap.getSingleton().getExtensionFromMimeType(mimeType); in getExtensionFromMimeType()
DFileUtils.java721 mimeTypeFromExt = MimeTypeMap.getSingleton().getMimeTypeFromExtension(
737 extFromMimeType = MimeTypeMap.getSingleton().getExtensionFromMimeType(mimeType);
/packages/apps/Messaging/src/com/android/messaging/util/
DContentType.java162 final MimeTypeMap mimeTypeMap = MimeTypeMap.getSingleton(); in getContentTypeFromExtension()
172 final MimeTypeMap mimeTypeMap = MimeTypeMap.getSingleton(); in getExtensionFromMimeType()
/packages/modules/Connectivity/service/src/com/android/server/
DBpfNetMaps.java192 return SingleWriterBpfMap.getSingleton( in getConfigurationMap()
202 return SingleWriterBpfMap.getSingleton( in getUidOwnerMap()
212 return SingleWriterBpfMap.getSingleton( in getUidPermissionMap()
233 return SingleWriterBpfMap.getSingleton( in getDataSaverEnabledMap()
243 return SingleWriterBpfMap.getSingleton(INGRESS_DISCARD_MAP_PATH, in getIngressDiscardMap()
/packages/apps/StorageManager/src/com/android/storagemanager/utils/
DIconProvider.java52 MimeTypeMap.getSingleton().getMimeTypeFromExtension(extension.toLowerCase()); in getMimeType()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DUriSource.java62 String type = MimeTypeMap.getSingleton() in getMimeType()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowLocalBroadcastManager.java46 return ShadowApplication.getInstance().getSingleton(LocalBroadcastManager.class, in getInstance()
/packages/services/Telephony/testapps/TestRcsApp/TestApp/src/com/google/android/sample/rcsclient/
DFileUploadActivity.java282 + "." + MimeTypeMap.getSingleton().getExtensionFromMimeType( in uriToFile()
301 MimeTypeMap mime = MimeTypeMap.getSingleton(); in getContentType()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/
DSingleWriterBpfMap.java96 getSingleton(@NonNull final String path, final Class<KK> key, final Class<VV> value) in getSingleton() method in SingleWriterBpfMap
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestModel.java143 String type = MimeTypeMap.getSingleton().getMimeTypeFromExtension(name); in guessMimeType()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/archives/
DResourcesProvider.java151 final String mimeType = MimeTypeMap.getSingleton().getMimeTypeFromExtension(extension); in includeDocument()
/packages/modules/Connectivity/Tethering/tests/privileged/src/com/android/networkstack/tethering/
DBpfMapTest.java115 ? SingleWriterBpfMap.getSingleton(TETHER2_DOWNSTREAM6_FS_PATH, in openTestMap()
521 final BpfMap cachedMap = SingleWriterBpfMap.getSingleton(TETHER2_DOWNSTREAM6_FS_PATH, in testSingleWriterCacheEffectiveness()
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/
DArchive.java305 final String mimeType = MimeTypeMap.getSingleton().getMimeTypeFromExtension(extension); in getMimeTypeForEntry()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DClatCoordinator.java260 return SingleWriterBpfMap.getSingleton(CLAT_INGRESS6_MAP_PATH, in getBpfIngress6Map()
272 return SingleWriterBpfMap.getSingleton(CLAT_EGRESS4_MAP_PATH, in getBpfEgress4Map()
/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/
DLegacyProviderMigrationTest.java138 + MimeTypeMap.getSingleton().getExtensionFromMimeType(mimeType)); in generateValues()
330 + MimeTypeMap.getSingleton().getExtensionFromMimeType(playlistMimeType)); in testLegacy_PlaylistMap()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DMtpDeviceIndex.java161 final String mime = MimeTypeMap.getSingleton().getMimeTypeFromExtension( in isFormatSupported()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DHelpers.java405 extension = MimeTypeMap.getSingleton().getExtensionFromMimeType(mimeType); in chooseExtensionFromMimeType()
446 String typeFromExt = MimeTypeMap.getSingleton().getMimeTypeFromExtension( in chooseExtensionFromFilename()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/rtt/
DResponderLocationTest.java590 MimeTypeMap mimeTypeMap = MimeTypeMap.getSingleton(); in testLcrCheckMapUriIsValid()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
DImageLoader.java79 ret = MimeTypeMap.getSingleton().getMimeTypeFromExtension(postfix); in getMimeType()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppObexServerSession.java257 MimeTypeMap map = MimeTypeMap.getSingleton(); in onPut()
/packages/modules/Wifi/framework/java/android/net/wifi/rtt/
DResponderLocation.java813 MimeTypeMap mimeTypeMap = MimeTypeMap.getSingleton(); in imageTypeToMime()
/packages/apps/Messaging/src/com/android/messaging/sms/
DDatabaseMessages.java627 final MimeTypeMap mimeTypeMap = MimeTypeMap.getSingleton(); in extractContentType()
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/
DVoicemailPlaybackPresenter.java943 String fileExtension = MimeTypeMap.getSingleton().getExtensionFromMimeType(mimeType); in getFileName()
/packages/apps/DocumentsUI/src/com/android/documentsui/services/
DCopyJob.java413 final String extension = MimeTypeMap.getSingleton(). in byteCopyDocument()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java4411 MimeTypeMap.getSingleton().getExtensionFromMimeType(mimeType) == null) { in ensureFileColumns()