/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/ |
D | mimetypes.py | 1 """Guess the MIME type of a file. 5 guess_type(url, strict=True) -- guess the MIME type and encoding of a URL. 7 guess_extension(type, strict=True) -- guess the extension for a given MIME type. 13 knownfiles -- list of files to parse 14 inited -- flag set when init() has been called 15 suffix_map -- dictionary mapping suffixes to suffixes 16 encodings_map -- dictionary mapping suffixes to encodings 17 types_map -- dictionary mapping suffixes to types 21 init([files]) -- parse a list of files, default knownfiles (on Windows, the 23 read_mime_types(file) -- parse one file, return a dictionary or None [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/ |
D | mimetypes.py | 1 """Guess the MIME type of a file. 5 guess_type(url, strict=True) -- guess the MIME type and encoding of a URL. 7 guess_extension(type, strict=True) -- guess the extension for a given MIME type. 13 knownfiles -- list of files to parse 14 inited -- flag set when init() has been called 15 suffix_map -- dictionary mapping suffixes to suffixes 16 encodings_map -- dictionary mapping suffixes to encodings 17 types_map -- dictionary mapping suffixes to types 21 init([files]) -- parse a list of files, default knownfiles (on Windows, the 23 read_mime_types(file) -- parse one file, return a dictionary or None [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/ |
D | mimetypes.py | 1 """Guess the MIME type of a file. 5 guess_type(url, strict=True) -- guess the MIME type and encoding of a URL. 7 guess_extension(type, strict=True) -- guess the extension for a given MIME type. 13 knownfiles -- list of files to parse 14 inited -- flag set when init() has been called 15 suffix_map -- dictionary mapping suffixes to suffixes 16 encodings_map -- dictionary mapping suffixes to encodings 17 types_map -- dictionary mapping suffixes to types 21 init([files]) -- parse a list of files, default knownfiles (on Windows, the 23 read_mime_types(file) -- parse one file, return a dictionary or None [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/ |
D | mimetypes.py | 1 """Guess the MIME type of a file. 5 guess_type(url, strict=True) -- guess the MIME type and encoding of a URL. 7 guess_extension(type, strict=True) -- guess the extension for a given MIME type. 13 knownfiles -- list of files to parse 14 inited -- flag set when init() has been called 15 suffix_map -- dictionary mapping suffixes to suffixes 16 encodings_map -- dictionary mapping suffixes to encodings 17 types_map -- dictionary mapping suffixes to types 21 init([files]) -- parse a list of files, default knownfiles (on Windows, the 23 read_mime_types(file) -- parse one file, return a dictionary or None [all …]
|
/aosp_15_r20/external/python/cpython3/Lib/ |
D | mimetypes.py | 1 """Guess the MIME type of a file. 5 guess_type(url, strict=True) -- guess the MIME type and encoding of a URL. 7 guess_extension(type, strict=True) -- guess the extension for a given MIME type. 13 knownfiles -- list of files to parse 14 inited -- flag set when init() has been called 15 suffix_map -- dictionary mapping suffixes to suffixes 16 encodings_map -- dictionary mapping suffixes to encodings 17 types_map -- dictionary mapping suffixes to types 21 init([files]) -- parse a list of files, default knownfiles (on Windows, the 23 read_mime_types(file) -- parse one file, return a dictionary or None [all …]
|
/aosp_15_r20/prebuilts/build-tools/common/py3-stdlib/ |
H A D | mimetypes.py | 1 """Guess the MIME type of a file. 5 guess_type(url, strict=True) -- guess the MIME type and encoding of a URL. 7 guess_extension(type, strict=True) -- guess the extension for a given MIME type. 13 knownfiles -- list of files to parse 14 inited -- flag set when init() has been called 15 suffix_map -- dictionary mapping suffixes to suffixes 16 encodings_map -- dictionary mapping suffixes to encodings 17 types_map -- dictionary mapping suffixes to types 21 init([files]) -- parse a list of files, default knownfiles (on Windows, the 23 read_mime_types(file) -- parse one file, return a dictionary or None [all …]
|
/aosp_15_r20/external/python/cpython2/Lib/ |
D | mimetypes.py | 1 """Guess the MIME type of a file. 5 guess_type(url, strict=1) -- guess the MIME type and encoding of a URL. 7 guess_extension(type, strict=1) -- guess the extension for a given MIME type. 13 knownfiles -- list of files to parse 14 inited -- flag set when init() has been called 15 suffix_map -- dictionary mapping suffixes to suffixes 16 encodings_map -- dictionary mapping suffixes to encodings 17 types_map -- dictionary mapping suffixes to types 21 init([files]) -- parse a list of files, default knownfiles (on Windows, the 23 read_mime_types(file) -- parse one file, return a dictionary or None [all …]
|
/aosp_15_r20/development/samples/NotePad/src/com/example/android/notepad/ |
H A D | NotePadProvider.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 61 private static final String DATABASE_NAME = "note_pad.db"; 167 public void onCreate(SQLiteDatabase db) { in onCreate() argument 168 db.execSQL("CREATE TABLE " + NotePad.Notes.TABLE_NAME + " (" in onCreate() 185 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 192 db.execSQL("DROP TABLE IF EXISTS notes"); in onUpgrade() 195 onCreate(db); in onUpgrade() 234 * Choose the projection and adjust the "where" clause based on URI pattern-matching. in query() 271 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query() local 279 db, // The database to query in query() [all …]
|
/aosp_15_r20/development/samples/training/threadsample/src/com/example/android/threadsample/ |
H A D | DataProvider.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 44 public static final int INVALID_URI = -1; 76 // Defines a helper object that matches content URIs to table-specific parameters 79 // Stores the MIME types served by this provider 83 * Initializes meta-data used by the content provider: 84 * - UriMatcher that maps content URIs to codes 85 * - MimeType array that returns the custom MIME type of a table 93 * Sets up an array that maps content URIs to MIME types, via a mapping between the 94 * URIs and an integer code. These are custom MIME types that apply to tables and rows 111 // Specifies a custom MIME type for the picture URL table [all …]
|
/aosp_15_r20/external/python/cpython3/Lib/test/ |
D | test_mimetypes.py | 34 self.db = mimetypes.MimeTypes() 38 eq(self.db.guess_type("foobar.HTML"), self.db.guess_type("foobar.html")) 39 eq(self.db.guess_type("foobar.TGZ"), self.db.guess_type("foobar.tgz")) 40 eq(self.db.guess_type("foobar.tar.Z"), ("application/x-tar", "compress")) 41 eq(self.db.guess_type("foobar.tar.z"), (None, None)) 45 eq(self.db.guess_type("foo.html"), ("text/html", None)) 46 eq(self.db.guess_type("foo.HTML"), ("text/html", None)) 47 eq(self.db.guess_type("foo.tgz"), ("application/x-tar", "gzip")) 48 eq(self.db.guess_type("foo.tar.gz"), ("application/x-tar", "gzip")) 49 eq(self.db.guess_type("foo.tar.Z"), ("application/x-tar", "compress")) [all …]
|
/aosp_15_r20/external/skia/tools/run-wasm-gm-tests/ |
H A D | package-lock.json | 2 "name": "run-wasm-gm-tests", 9 "resolved": "https://registry.npmjs.org/@types/node/-/node-14.11.8.tgz", 10 …"integrity": "sha512-KPcKqKm5UKDkaYPTuXSx8wEP7vE9GnuaXIZKijwRYcePpZFDVuy2a57LarFKiORbHOuTOOwYzxVxc… 15 "resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.9.1.tgz", 16 …"integrity": "sha512-A1b8SU4D10uoPjwb0lnHmmu8wZhR9d+9o2PKBQT2jU5YPTKsxac6M2qGAdY7VcL+dHHhARVUDmeg0… 24 "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", 25 …"integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwa… 27 "mime-types": "~2.1.34", 31 "mime-db": { object 33 "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", [all …]
|
/aosp_15_r20/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/ |
D | AudioPlayerActivity.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 36 import com.android.pump.db.Album; 37 import com.android.pump.db.Artist; 38 import com.android.pump.db.Audio; 39 import com.android.pump.db.Genre; 40 import com.android.pump.db.Playlist; 66 // TODO Should the mime type be MediaStore.Audio.Albums.ENTRY_CONTENT_TYPE? in start() 77 // TODO Should the mime type be MediaStore.Audio.Artists.ENTRY_CONTENT_TYPE? in start() 88 // TODO Should the mime type be MediaStore.Audio.Genres.ENTRY_CONTENT_TYPE? in start() 99 // TODO Should the mime type be MediaStore.Audio.Playlists.ENTRY_CONTENT_TYPE? in start() [all …]
|
/aosp_15_r20/external/cldr/tools/st-prom-exporter/ |
H A D | package-lock.json | 2 "name": "@unicode-org/st-prom-exporter", 9 "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", 10 …"integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwa… 12 "mime-types": "~2.1.34", 16 "array-flatten": { 18 "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", 19 …"integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmh… 23 "resolved": "https://registry.npmjs.org/bent/-/bent-7.3.10.tgz", 24 …"integrity": "sha512-X2P2nGRWejGn6IjJfL4usOuAVMng1DdyuRhXLGOcUvEblBcLZenrSjlkgS8ob1s3tbq3mo1FDxKhC… 28 "is-stream": "^2.0.0" [all …]
|
/aosp_15_r20/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastContentProvider.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 59 public static final String CB_AUTHORITY = "cellbroadcasts-app"; 62 static final Uri CONTENT_URI = Uri.parse("content://cellbroadcasts-app/"); 70 /** MIME type for the list of all cell broadcasts. */ 73 /** MIME type for an individual cell broadcast. */ 76 public static final String CALL_MIGRATION_METHOD = "migrate-legacy-data"; 102 // trigger this to create database explicitly. Otherwise the db will be created only after in onCreate() 103 // the first query/update/insertion. Data migration is done inside db creation and we want in onCreate() 104 // to migrate data from cellbroadcast-legacy immediately when upgrade to the mainline module in onCreate() 106 // getReadable database will also call tryToMigrateV13 which copies the DB file to allow in onCreate() [all …]
|
/aosp_15_r20/external/angle/third_party/spirv-tools/src/tools/sva/ |
H A D | yarn.lock | 5 "@eslint-community/eslint-utils@^4.2.0": 7 …resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz#a23… 8 …integrity sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9… 10 eslint-visitor-keys "^3.3.0" 12 "@eslint-community/regexpp@^4.4.0": 14 …resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.5.1.tgz#cdd35dce4fa1a… 15 …integrity sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6F… 19 …resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.0.3.tgz#4910db5505f4d503f2777… 20 …integrity sha512-+5gy6OQfk+xx3q0d6jGZZC3f3KzAkXc/IanVxd1is/VIIziRqqt3ongQz0FiTUXqTk0c7aDB3OaFuKnuS… 27 import-fresh "^3.2.1" [all …]
|
/aosp_15_r20/external/swiftshader/third_party/SPIRV-Tools/tools/sva/ |
H A D | yarn.lock | 5 "@eslint-community/eslint-utils@^4.2.0": 7 …resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz#a23… 8 …integrity sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9… 10 eslint-visitor-keys "^3.3.0" 12 "@eslint-community/regexpp@^4.4.0": 14 …resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.5.1.tgz#cdd35dce4fa1a… 15 …integrity sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6F… 19 …resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.0.3.tgz#4910db5505f4d503f2777… 20 …integrity sha512-+5gy6OQfk+xx3q0d6jGZZC3f3KzAkXc/IanVxd1is/VIIziRqqt3ongQz0FiTUXqTk0c7aDB3OaFuKnuS… 27 import-fresh "^3.2.1" [all …]
|
/aosp_15_r20/external/deqp-deps/SPIRV-Tools/tools/sva/ |
D | yarn.lock | 5 "@eslint-community/eslint-utils@^4.2.0": 7 …resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz#a23… 8 …integrity sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9… 10 eslint-visitor-keys "^3.3.0" 12 "@eslint-community/regexpp@^4.4.0": 14 …resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.5.1.tgz#cdd35dce4fa1a… 15 …integrity sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6F… 19 …resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.0.3.tgz#4910db5505f4d503f2777… 20 …integrity sha512-+5gy6OQfk+xx3q0d6jGZZC3f3KzAkXc/IanVxd1is/VIIziRqqt3ongQz0FiTUXqTk0c7aDB3OaFuKnuS… 27 import-fresh "^3.2.1" [all …]
|
/aosp_15_r20/external/curl/lib/ |
H A D | mime.c | 21 * SPDX-License-Identifier: curl 31 #include "mime.h" 61 #define READ_ERROR ((size_t) -1) 62 #define STOP_FILLING ((size_t) -2) 86 {"quoted-printable", encoder_qp_read, encoder_qp_size}, 94 /* Quoted-printable character class table. 96 * We cannot rely on ctype functions since quoted-printable input data 97 * is assumed to be ASCII-compatible, even on non-ASCII platforms. */ 101 #define QP_LF 4 /* Line-feed. */ 103 0, 0, 0, 0, 0, 0, 0, 0, /* 00 - 07 */ [all …]
|
/aosp_15_r20/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/ |
D | ContactAggregator.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 60 private static final int RE_AGGREGATE = -1; 77 synchronized void aggregateContact(TransactionContext txContext, SQLiteDatabase db, in aggregateContact() argument 92 long contactId = -1; // Best matching contact ID. in aggregateContact() 102 contactId = pickBestMatchBasedOnExceptions(db, rawContactId, matcher); in aggregateContact() 103 if (contactId == -1) { in aggregateContact() 108 || mDbHelper.isContactInDefaultDirectory(db, currentContactId)) { in aggregateContact() 109 contactId = pickBestMatchBasedOnData(db, rawContactId, candidates, matcher); in aggregateContact() 114 if (contactId != -1 && contactId != currentContactId) { in aggregateContact() 123 final Cursor rawContactsToAccountsCursor = db.rawQuery( in aggregateContact() [all …]
|
D | ContactAggregator2.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 75 private static final int RE_AGGREGATE = -1; 89 * Given a specific raw contact, finds all matching raw contacts and re-aggregate them 92 synchronized void aggregateContact(TransactionContext txContext, SQLiteDatabase db, in aggregateContact() argument 96 if (!needAggregate(db, rawContactId)) { in aggregateContact() 120 || mDbHelper.isContactInDefaultDirectory(db, currentContactId)) { in aggregateContact() 122 matchingCandidates = findRawContactMatchingCandidates(db, rawContactId, candidates, in aggregateContact() 139 // Set aggregation operation, i.e., re-aggregate, keep intact, or create new contact based in aggregateContact() 170 markAggregated(db, String.valueOf(rawContactId)); in aggregateContact() 176 createContactForRawContacts(db, txContext, Sets.newHashSet(rawContactId), null); in aggregateContact() [all …]
|
/aosp_15_r20/external/cldr/tools/scripts/tr-archive/ |
H A D | package-lock.json | 2 "name": "tr-archive", 8 "name": "tr-archive", 10 "license": "Unicode-3.0", 12 "@not-dalia/gfm-toc": "github:not-dalia/gfm-toc", 13 "anchor-js": "^5.0.0", 17 "marked-alert": "^2.0.1" 20 "node_modules/@not-dalia/gfm-toc": { 22 …"resolved": "git+ssh://[email protected]/not-dalia/gfm-toc.git#68f2db628606366b51b51a071c8bb87f490575… 25 "escape-html": "^1.0.3", 30 "gfm-toc": "bin/gfm-toc" [all …]
|
/aosp_15_r20/development/samples/ApiDemos/src/com/example/android/apis/app/ |
H A D | LoaderThrottle.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 93 * The MIME type of {@link #CONTENT_URI}. 96 = "vnd.android.cursor.dir/vnd.example.api-demos-throttle"; 99 * The MIME type of a {@link #CONTENT_URI} sub-directory of a single row. 102 = "vnd.android.cursor.item/vnd.example.api-demos-throttle"; 120 private static final String DATABASE_NAME = "loader_throttle.db"; 135 public void onCreate(SQLiteDatabase db) { in onCreate() argument 136 db.execSQL("CREATE TABLE " + MainTable.TABLE_NAME + " (" in onCreate() 150 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 157 db.execSQL("DROP TABLE IF EXISTS notes"); in onUpgrade() [all …]
|
/aosp_15_r20/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | CellBroadcastProvider.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 54 private static final String DATABASE_NAME = "cellbroadcasts.db"; 75 * URI matcher type for update message which are being displayed to end-users. 79 /** MIME type for the list of all cell broadcasts. */ 156 * Return the MIME type of the data at the specified URI. 159 * @return a MIME type string, or null if there is no type. 304 // mark message was displayed to the end-users. in update() 337 * can construct its own in-memory database to match the cell broadcast db. 365 + CellBroadcasts.LOCATION_CHECK_TIME + " BIGINT DEFAULT -1," in getStringForCellBroadcastTableCreation() 413 public void onCreate(SQLiteDatabase db) { in onCreate() argument [all …]
|
/aosp_15_r20/external/cronet/net/base/ |
H A D | platform_mime_util_fuchsia.cc | 2 // Use of this source code is governed by a BSD-style license that can be 16 // TODO(fuchsia): Integrate with MIME DB when Fuchsia provides an API. in GetPlatformMimeTypeFromExtension() 23 // TODO(fuchsia): Integrate with MIME DB when Fuchsia provides an API. in GetPlatformPreferredExtensionForMimeType() 30 // TODO(fuchsia): Integrate with MIME DB when Fuchsia provides an API. in GetPlatformExtensionsForMimeType()
|
/aosp_15_r20/packages/apps/TV/common/src/com/android/tv/common/ |
D | CommonPreferenceProvider.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 39 private static final String DATABASE_NAME = "usbtuner_preferences.db"; 70 /** The MIME type of a directory of preferences. */ 73 /** The MIME type of a single preference. */ 79 * <p>This is auto-incremented. 108 public void onCreate(SQLiteDatabase db) { in onCreate() argument 109 db.execSQL( in onCreate() 122 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 123 // No-op in onUpgrade() 144 SQLiteDatabase db = mDatabaseOpenHelper.getReadableDatabase(); in query() local [all …]
|