/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ |
D | StubProvider.java | 137 mStorage.put(rootInfo.document.documentId, rootInfo.document); in clearCacheAndBuildRoots() 163 row.add(Root.COLUMN_DOCUMENT_ID, info.document.documentId); in queryRoots() 195 final StubDocument document = StubDocument.createRegularDocument(file, mimeType, parent); in createDocument() local 196 mStorage.put(document.documentId, document); in createDocument() 197 Log.d(TAG, "Created document " + document.documentId); in createDocument() 198 notifyParentChanged(document.parentId); in createDocument() 200 DocumentsContract.buildDocumentUri(mAuthority, document.documentId), in createDocument() 203 return document.documentId; in createDocument() 209 final StubDocument document = mStorage.get(documentId); in deleteDocument() local 210 final long fileSize = document.file.length(); in deleteDocument() [all …]
|
/packages/apps/Test/connectivity/sl4n/rapidjson/example/tutorial/ |
D | tutorial.cpp | 18 Document document; // Default template parameter uses UTF8 and MemoryPoolAllocator. in main() local 22 if (document.Parse(json).HasParseError()) in main() 28 if (document.ParseInsitu(buffer).HasParseError()) in main() 38 …assert(document.IsObject()); // Document is a JSON value represents the root of DOM. Root can b… in main() 40 assert(document.HasMember("hello")); in main() 41 assert(document["hello"].IsString()); in main() 42 printf("hello = %s\n", document["hello"].GetString()); in main() 45 Value::MemberIterator hello = document.FindMember("hello"); in main() 46 assert(hello != document.MemberEnd()); in main() 51 …assert(document["t"].IsBool()); // JSON true/false are bool. Can also uses more specific funct… in main() [all …]
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
D | pointer.h | 443 …ument<EncodingType, typename ValueType::AllocatorType, stackAllocator>& document, bool* alreadyExi… 444 return Create(document, document.GetAllocator(), alreadyExist); 538 …ument<EncodingType, typename ValueType::AllocatorType, stackAllocator>& document, const ValueType&… in GetWithDefault() argument 539 return GetWithDefault(document, defaultValue, document.GetAllocator()); in GetWithDefault() 544 …ument<EncodingType, typename ValueType::AllocatorType, stackAllocator>& document, const Ch* defaul… in GetWithDefault() argument 545 return GetWithDefault(document, defaultValue, document.GetAllocator()); in GetWithDefault() 551 …ument<EncodingType, typename ValueType::AllocatorType, stackAllocator>& document, const std::basic… in GetWithDefault() argument 552 return GetWithDefault(document, defaultValue, document.GetAllocator()); in GetWithDefault() 562 …ument<EncodingType, typename ValueType::AllocatorType, stackAllocator>& document, T defaultValue) … in GetWithDefault() argument 563 return GetWithDefault(document, defaultValue, document.GetAllocator()); in GetWithDefault() [all …]
|
/packages/apps/DocumentsUI/perf-tests/src/com/android/documentsui/ |
D | StressProvider.java | 95 StubDocument document; in onCreate() local 100 document = StubDocument.createDirectory(i); in onCreate() 101 mDocuments.put(document.id, document); in onCreate() 102 children.add(document); in onCreate() 109 document = StubDocument.createFile( in onCreate() 116 mDocuments.put(document.id, document); in onCreate() 117 children.add(document); in onCreate() 144 final StubDocument document = mDocuments.get(documentId); in queryDocument() local 145 includeDocument(result, document); in queryDocument() 156 for (StubDocument document : childDocuments) { in queryChildDocuments() [all …]
|
/packages/apps/UnifiedEmail/assets/ |
D | script.js | 106 processQuotedText(document.documentElement, false /* showElided */); 115 toggleElement = document.createElement("div"); 152 expandedBodyDivs = document.querySelectorAll(".expanded > .mail-message-content"); 160 metaViewport = document.getElementById("meta-viewport"); 185 documentWidth = document.body.offsetWidth; 347 textElement = document.createElement("div"); 455 hideUnsafeImages(document.getElementsByClassName("mail-message-content")); 572 var metaViewport = document.getElementById('meta-viewport'); 578 if (scrollYPercent && document.body.offsetHeight > window.innerHeight) { 579 document.body.scrollTop = Math.floor(scrollYPercent * document.body.offsetHeight); [all …]
|
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/ |
D | tutorial.md | 32 #include "rapidjson/document.h" 37 Document document; 38 document.Parse(json); 41 The JSON is now parsed into `document` as a *DOM tree*: 45 Since the update to RFC 7159, the root of a conforming JSON document can be any JSON value. In ear… 47 assert(document.IsObject()); 52 assert(document.HasMember("hello")); 53 assert(document["hello"].IsString()); 54 printf("hello = %s\n", document["hello"].GetString()); 63 assert(document["t"].IsBool()); [all …]
|
D | faq.md | 105 8. How to clear-and-minimize a document or value? 124 9. How to insert a document node into another document? 134 …Let's assume we want to merge them in such way that the whole `address` document becomes a node of… 143 …The most important requirement to take care of document and value life-cycle as well as consistent… 145 …dress` definition above to initialize it with allocator of the `person` document, then we just add… 157 Second way is to deep-clone the value from the address document:
|
D | dom.md | 132 `kParseErrorDocumentEmpty` | The document is empty. 133 `kParseErrorDocumentRootNotSingular` | The document root must not follow by other values. 155 #include "rapidjson/document.h" 218 2. The source encoding in stream and target encoding in document must be the same. 219 3. The buffer need to be retained until the document is no longer used.
|
D | pointer.md | 5 …ue inside a JSON Document (DOM). This can be analogous to XPath for XML document. However, JSON Po… 149 …ature. One group uses `Document& document` as parameter, another one uses `Value& root`. The first…
|
D | stream.md | 16 #include "rapidjson/document.h" // will include "rapidjson/rapidjson.h" 139 #include "rapidjson/document.h" 192 #include "rapidjson/document.h"
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
D | jsoncheckertest.cpp | 70 …GenericDocument<UTF8<>, CrtAllocator> document; // Use Crt allocator to check exception-safety (no… in TEST() local 71 document.Parse((const char*)json); in TEST() 72 EXPECT_TRUE(document.HasParseError()); in TEST() 74 document.Parse<kParseIterativeFlag>((const char*)json); in TEST() 75 EXPECT_TRUE(document.HasParseError()); in TEST() 90 …GenericDocument<UTF8<>, CrtAllocator> document; // Use Crt allocator to check exception-safety (no… in TEST() local 91 document.Parse((const char*)json); in TEST() 92 EXPECT_FALSE(document.HasParseError()); in TEST() 94 document.Parse<kParseIterativeFlag>((const char*)json); in TEST() 95 EXPECT_FALSE(document.HasParseError()); in TEST()
|
/packages/services/Car/tools/hidl_parser/ |
D | parser.py | 212 def resolve(self, enum, document): argument 222 def resolve(self, enum, document): argument 235 def resolve(self, enum, document): argument 236 return self.value.resolve(enum, document) + 1 245 def resolve(self, enum, document): argument 247 if case.name == self.ref: return case.value.resolve(enum, document) 257 def resolve(self, enum, document): argument 258 base = self.base.resolve(enum, document) 259 offset = self.offset.resolve(enum, document) 270 def resolve(self, enum, document): argument [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | RenameDocumentFragment.java | 65 public static void show(FragmentManager fm, DocumentInfo document) { in show() argument 67 dialog.mDocument = document; in show() 222 protected DocumentInfo doInBackground(DocumentInfo... document) { in doInBackground() argument 223 assert(document.length == 1); in doInBackground() 225 return mActivity.getInjector().actions.renameDocument(mNewDisplayName, document[0]); in doInBackground()
|
/packages/apps/Browser2/test/resources/ |
D | js-test.js | 24 return (typeof document === 'undefined' || 25 typeof document.childNodes === 'undefined') && !!self.importScripts;
|
/packages/apps/DocumentsUI/src/com/android/documentsui/files/ |
D | ActionHandler.java | 165 public @Nullable DocumentInfo renameDocument(String name, DocumentInfo document) { in renameDocument() argument 171 resolver, document.derivedUri.getAuthority()); in renameDocument() 173 client, document.derivedUri, name); in renameDocument()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/ |
D | readme.md | 91 This simple example parses a JSON string into a document (DOM), make a simple modification of the D… 95 #include "rapidjson/document.h"
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | ActionHandler.java | 108 @Nullable DocumentInfo renameDocument(String name, DocumentInfo document); in renameDocument() argument
|
D | AbstractActionHandler.java | 309 public DocumentInfo renameDocument(String name, DocumentInfo document) { in renameDocument() argument
|
/packages/apps/Dialer/java/com/android/dialershared/bubble/g3doc/ |
D | INTEGRATION.md | 10 the user is away from the app. This document details the steps necessary to
|
/packages/apps/Dialer/java/com/android/dialer/about/res/raw/ |
D | third_party_licenses | 27 and distribution as defined by Sections 1 through 9 of this document. 209 and distribution as defined by Sections 1 through 9 of this document. 427 and distribution as defined by Sections 1 through 9 of this document. 621 and distribution as defined by Sections 1 through 9 of this document. 815 and distribution as defined by Sections 1 through 9 of this document. 1009 and distribution as defined by Sections 1 through 9 of this document. 1203 and distribution as defined by Sections 1 through 9 of this document. 1397 and distribution as defined by Sections 1 through 9 of this document. 1589 and distribution as defined by Sections 1 through 9 of this document. 1783 and distribution as defined by Sections 1 through 9 of this document. [all …]
|
/packages/apps/TV/res/raw/ |
D | third_party_licenses | 40 and distribution as defined by Sections 1 through 9 of this document. 245 and distribution as defined by Sections 1 through 9 of this document. 451 and distribution as defined by Sections 1 through 9 of this document. 657 and distribution as defined by Sections 1 through 9 of this document. 863 and distribution as defined by Sections 1 through 9 of this document. 1069 and distribution as defined by Sections 1 through 9 of this document. 1275 and distribution as defined by Sections 1 through 9 of this document. 1482 and distribution as defined by Sections 1 through 9 of this document. 1688 and distribution as defined by Sections 1 through 9 of this document. 1894 and distribution as defined by Sections 1 through 9 of this document. [all …]
|
/packages/apps/Provision/ |
D | NOTICE | 23 and distribution as defined by Sections 1 through 9 of this document.
|
/packages/apps/LegacyCamera/ |
D | NOTICE | 23 and distribution as defined by Sections 1 through 9 of this document.
|
/packages/apps/BasicSmsReceiver/ |
D | NOTICE | 23 and distribution as defined by Sections 1 through 9 of this document.
|
/packages/providers/BlockedNumberProvider/ |
D | NOTICE | 23 and distribution as defined by Sections 1 through 9 of this document.
|