/packages/services/Car/car_product/sepolicy/ |
D | can.te | 2 type can, domain; 6 init_daemon_domain(can) 8 allow can self:capability net_admin; 10 allow can self:netlink_route_socket nlmsg_write; 12 allow can shell_exec:file r_file_perms; 15 allow can system_file:file rx_file_perms; 17 # Allow can operations 18 allow can self:capability { net_raw };
|
/packages/apps/LegacyCamera/jni/feature_stab/doc/ |
D | dbreg_API_doxyfile | 9 # For lists items can also be appended using: 30 # The PROJECT_NUMBER tag can be used to enter a project or revision number. 46 # Enabling this option can be useful when feeding doxygen a huge amount of 121 # can be used to strip a user-defined part of the path. Stripping is 123 # the path. The tag can be used to show relative paths in the file list. 129 # The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of 139 # (but less readable) file names. This can be useful is your file systems 160 # The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen 180 # The TAB_SIZE tag can be used to set the number of spaces in a tab. 185 # This tag can be used to specify a number of aliases that acts [all …]
|
/packages/apps/LegacyCamera/jni/feature_mos/doc/ |
D | feature_mos_API_doxyfile | 9 # For lists items can also be appended using: 30 # The PROJECT_NUMBER tag can be used to enter a project or revision number. 46 # Enabling this option can be useful when feeding doxygen a huge amount of 121 # can be used to strip a user-defined part of the path. Stripping is 123 # the path. The tag can be used to show relative paths in the file list. 129 # The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of 139 # (but less readable) file names. This can be useful is your file systems 160 # The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen 180 # The TAB_SIZE tag can be used to set the number of spaces in a tab. 185 # This tag can be used to specify a number of aliases that acts [all …]
|
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/ |
D | Doxyfile.in | 12 # For lists, items can also be appended using: 37 # The PROJECT_NUMBER tag can be used to enter a project or revision number. This 43 # Using the PROJECT_BRIEF tag one can provide an optional one line description 49 # With the PROJECT_LOGO tag one can specify an logo or icon that is included in 66 # option can be useful when feeding doxygen a huge amount of source files, where 155 # The STRIP_FROM_PATH tag can be used to strip a user-defined part of the path. 157 # part of the path. The tag can be used to show relative paths in the file list. 161 # Note that you can specify absolute paths here, but also relative paths, which 167 # The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of the 177 # less readable) file names. This can be useful is your file systems doesn't [all …]
|
D | tutorial.md | 5 As shown in [Usage at a glance](@ref index), a JSON can be parsed into DOM, and then the DOM can be… 45 Since the update to RFC 7159, the root of a conforming JSON document can be any JSON value. In ear… 50 Let's query whether a `"hello"` member exists in the root object. Since a `Value` can contain diffe… 71 JSON null can be queryed by `IsNull()`. 138 Similar to array, we can access all object members by iterator: 164 …ver, this incurs two lookup. A better way is to call `FindMember()`, which can check the existence… 174 JSON provide a single numerical type called Number. Number can be integer or real numbers. RFC 4627… 188 When querying a number, you can check whether the number can be obtained as target type: 201 …rnal integer representation to a `double`. Note that, `int` and `unsigned` can be safely convert t… 207 According to RFC 4627, JSON strings can contain Unicode character `U+0000`, which must be escaped a… [all …]
|
D | pointer.md | 5 …dized ([RFC6901]) way to select a value inside a JSON Document (DOM). This can be analogous to XPa… 7 Using RapidJSON's implementation of JSON Pointer can simplify some manipulations of the DOM. 13 A JSON Pointer is a list of zero-to-many tokens, each prefixed by `/`. Each token can be a string o… 110 … If the tokens cannot match a value in the DOM, it returns `nullptr`. User can use this to check w… 112 Note that, numerical tokens can represent an array index or member name. The resolving process will… 136 …()` only treats this token as a member name '"-"'. Yet the other functions can resolve this for ar… 147 …`GetValueByPointer(root, p)`, `root` is a (const) `Value&`. That means, it can be a subtree of the… 182 …or. If there is parsing error, `Pointer::IsValid()` returns false. And you can use `Pointer::GetPa… 205 You may also stringify a `Pointer` to a string or other output streams. This can be done by: 214 It can also stringify to URI fragment reprsentation by `StringifyUriFragment()`. [all …]
|
D | stream.md | 53 …ty is 256 characters (256 bytes for UTF8, 512 bytes for UTF16, etc.). User can provide an allocato… 68 However, if the JSON is big, or memory is limited, you can use `FileReadStream`. It only read a par… 91 …m. It does not handle encodings. If the file is not UTF-8, the byte stream can be wrapped in a `En… 93 Apart from reading file, user can also use `FileReadStream` to read `stdin`. 120 It can also directs the output to `stdout`. 126 As mentioned above, UTF-8 byte streams can be read directly. However, UTF-16 and UTF-32 have endian… 128 …etect or just consume the BOM if exists. When writing to a byte stream, it can optionally write BO… 130 … you may use `EncodedInputStream` and `EncodedOutputStream`. If the stream can be UTF-8, UTF-16LE,… 132 Note that, these encoded streams can be applied to streams other than file. For example, you may ha… 189 …it, 16-bit or 32-bit. `AutoUTFInputStream` requires a character type which can hold at least 32-bi… [all …]
|
D | sax.md | 53 These events can be easily matched with the JSON, except some event parameters need further explana… 94 …handler type, instead of using class with virtual functions. This paradigm can improve the perform… 130 … Normally it should returns `true`. If the handler encounters an error, it can return `false` to n… 132 …ed that the JSON does not conform to the required schema, then the handler can return `false` and … 151 … For example, to parse a UTF-8 stream and outputs UTF-16 string events, you can define a reader by: 174 If an error occurs during parsing, it will return `false`. User can also calls `bool HasParseEror()… 224 …loads. One is the same as defined in handler concept with 3 parameters. It can handle string with … 226 …s not pass any parameters in `EndArray()` and `EndObject()`. An `SizeType` can be passed but it wi… 232 2. `Writer::String()` can handle string escaping (e.g. converting code point `U+000A` to `\n`) and … 234 4. `Writer` implements the event handler concept. It can be used to handle events from `Reader`, `D… [all …]
|
D | faq.md | 21 …Yes, it is free under MIT license. It can be used in commercial applications. Please check the det… 35 …pilers and CPU architecture by the community. But we cannot ensure that it can be run on your part… 61 …terchange format. It uses human readable text format. More details of JSON can be referred to [RFC… 69 …http://www.ecma-international.org/publications/standards/Ecma-404.htm). It can handle corner cases… 91 …e JSON strings directly into the input JSON. This is an optimization which can reduce memory consu… 95 …The parser generates an error when the input JSON contains invalid syntax, or a value can not be r… 99 …d offset (number of characters from the beginning of JSON). The error code can be translated into … 151 Alternatively, if we don't want to explicitly refer to the root value of `address` by name, we can … 179 …Also, RapidJSON can handle `\u0000` (null character) within a string. If a string contains null ch… 187 … lose precision. A number with fraction, or an integer larger than 64-bit, can only be obtained by… [all …]
|
D | features.md | 25 …* For example, `["Hello\u0000World"]` can be parsed and handled gracefully. There is API for getti… 33 …* For example, you can read a UTF-8 file and let RapidJSON transcode the JSON strings into UTF-16 … 35 …* For example, you can read a UTF-8 file, and let RapidJSON check whether all JSON strings are val… 45 …* Similar to [DOM](http://en.wikipedia.org/wiki/Document_Object_Model) for HTML/XML, RapidJSON can… 46 …pidjson::GenericReader`). SAX is faster but sometimes DOM is easier. Users can pick their choices … 88 …* User can provide a pre-allocated buffer. (Possible to parse a number of JSONs without any CRT al…
|
D | dom.md | 30 User can customize these template parameters. 36 …de character) encoding. No matter what encoding was used in JSON files, we can store the strings i… 119 By using a non-type template parameter, instead of a function parameter, C++ compiler can generate … 121 The `SourceEncoding` parameter defines what encoding is in the stream. This can be differed to the … 127 … an error, the original DOM is *unchanged*. And the error state of parsing can be obtained by `boo… 150 To get an error message, RapidJSON provided a English messages in `rapidjson/error/en.h`. User can … 226 … Format) internally. During DOM parsing, the source encoding of the stream can be different from t… 228 When writing a JSON from DOM to output stream, transcoding can also be used. An example is in [Enco… 248 …his design, `Value` and `Writer` are decoupled. `Value` can generate SAX events, and `Writer` can … 258 `MemoryPoolAllocator` can support this by letting user to provide a buffer. The buffer can be on th… [all …]
|
D | encoding.md | 13 RapidJSON supports various encodings. It can also validate the encodings of JSON, and transconding … 84 Note that C++11 introduces `char16_t` and `char32_t`, which can be used for `UTF16` and `UTF32` res… 94 …that cannot handle UTF-8. Since any JSON can represent unicode characters in escaped sequence `\uX… 108 ASCII can be used in input stream. If the input stream contains bytes with values above 127, it wil… 114 …pidJSON parses a JSON, it can validate the input JSON, whether it is a valid sequence of a specifi…
|
D | internals.md | 31 …dia.org/wiki/Variant_type). In RapidJSON's context, an instance of `Value` can contain 1 of 6 JSON… 113 Number is a bit more complicated. For normal integer values, it can contains `kIntFlag`, `kUintFlag… 117 …pace internally. For encoding with 1-byte character type (e.g. `char`), it can store maximum 11 or… 127 This optimization can reduce memory usage for copy-string. It can also improve cache-coherence thus… 143 …(Design issue: since some allocator may not book-keep this, explicitly pass to it can save memory.) 188 …_SSE2` or `RAPIDJSON_SSE42` before including `rapidjson.h`. Some compilers can detect the setting,… 204 …r some stream types, making a copy of the stream and used it in inner-loop can improve performance… 221 Parsing string into `double` is difficult. The standard library function `strtod()` can do the job … 278 Based on the grammar, we can construct the FIRST and FOLLOW set. 312 Finally the parsing table can be constructed from FIRST and FOLLOW set:
|
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
D | ConferenceManagerPresenter.java | 78 boolean canDisconnect = details.can( in onDetailsChanged() 80 boolean canSeparate = details.can( in onDetailsChanged() 83 if (call.can(android.telecom.Call.Details.CAPABILITY_DISCONNECT_FROM_CONFERENCE) in onDetailsChanged() 85 || call.can(android.telecom.Call.Details.CAPABILITY_SEPARATE_FROM_CONFERENCE) in onDetailsChanged() 90 if (!details.can( in onDetailsChanged()
|
D | CallButtonPresenter.java | 376 final boolean showSwap = call.can( in updateButtonsState() 379 && call.can(android.telecom.Call.Details.CAPABILITY_SUPPORT_HOLD) in updateButtonsState() 380 && call.can(android.telecom.Call.Details.CAPABILITY_HOLD); in updateButtonsState() 385 final boolean showMerge = call.can( in updateButtonsState() 389 final boolean showMute = call.can(android.telecom.Call.Details.CAPABILITY_MUTE); in updateButtonsState() 409 return call.can(android.telecom.Call.Details.CAPABILITY_SUPPORTS_VT_LOCAL_TX) in hasVideoCallCapabilities() 410 && call.can(android.telecom.Call.Details.CAPABILITY_SUPPORTS_VT_REMOTE_RX); in hasVideoCallCapabilities() 413 return call.can(android.telecom.Call.Details.CAPABILITY_SUPPORTS_VT_LOCAL_TX); in hasVideoCallCapabilities() 424 return !call.can(CallSdkCompat.Details.CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIO); in isDowngradeToAudioSupported()
|
D | TelecomAdapter.java | 138 … if (call.getDetails().can(android.telecom.Call.Details.CAPABILITY_MERGE_CONFERENCE)) { in merge() 150 if (call.getDetails().can(android.telecom.Call.Details.CAPABILITY_SWAP_CONFERENCE)) { in swap()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | BluetoothPhoneServiceImpl.java | 496 if (activeCall != null && activeCall.can(Connection.CAPABILITY_SWAP_CONFERENCE)) { in processChld() 509 } else if (activeCall != null && activeCall.can(Connection.CAPABILITY_HOLD)) { in processChld() 515 if (activeCall.can(Connection.CAPABILITY_MERGE_CONFERENCE)) { in processChld() 543 .can(Connection.CAPABILITY_CONFERENCE_HAS_NO_CHILDREN))) { in sendListOfCalls() 558 .can(Connection.CAPABILITY_CONFERENCE_HAS_NO_CHILDREN); in sendClccForCall() 580 conferenceCall.can(Connection.CAPABILITY_MERGE_CONFERENCE) || in sendClccForCall() 581 (conferenceCall.can(Connection.CAPABILITY_SWAP_CONFERENCE) && in sendClccForCall() 689 !activeCall.can(Connection.CAPABILITY_CONFERENCE_HAS_NO_CHILDREN)) { in updateHeadsetWithCallState() 690 if (activeCall.can(Connection.CAPABILITY_SWAP_CONFERENCE)) { in updateHeadsetWithCallState() 694 } else if (activeCall.can(Connection.CAPABILITY_MERGE_CONFERENCE)) { in updateHeadsetWithCallState()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/ |
D | readme.md | 36 * RapidJSON is fast. Its performance can be comparable to `strlen()`. It also optionally supports S… 42 …d their detection, validation and transcoding internally. For example, you can read a UTF-8 file a… 44 More features can be read [here](doc/features.md). 46 …should be in fully compliance with RFC7159/ECMA-404. More information about JSON can be obtained at 59 Users can build and run the unit tests on their platform/compiler. 74 …irectory and run `cmake ..` command to configure your build. Windows users can do the same with cm… 80 test` or `ctest` from your build tree. You can get detailed output using `ctest
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | ImsConference.java | 295 can(capabilities, Connection.CAPABILITY_SUPPORTS_VT_LOCAL_BIDIRECTIONAL)); in applyHostCapabilities() 299 can(capabilities, Connection.CAPABILITY_SUPPORTS_VT_REMOTE_BIDIRECTIONAL)); in applyHostCapabilities() 303 can(capabilities, Connection.CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIO)); in applyHostCapabilities() 307 can(capabilities, Connection.CAPABILITY_CAN_UPGRADE_TO_VIDEO)); in applyHostCapabilities() 322 can(properties, Connection.PROPERTY_HIGH_DEF_AUDIO)); in applyHostProperties() 326 can(properties, Connection.PROPERTY_WIFI)); in applyHostProperties() 330 can(properties, Connection.PROPERTY_IS_EXTERNAL_CALL)); in applyHostProperties() 526 boolean couldManageConference = can(Connection.CAPABILITY_MANAGE_CONFERENCE); in updateManageConference()
|
D | TelephonyConnection.java | 1115 return can(mOriginalConnectionCapabilities, Capability.SUPPORTS_VT_LOCAL_BIDIRECTIONAL) in isVideoCapable() 1116 && can(mOriginalConnectionCapabilities, in isVideoCapable() 1129 return can(mOriginalConnectionCapabilities, Capability.IS_EXTERNAL_CONNECTION) in isExternalConnection() 1130 && can(mOriginalConnectionCapabilities, in isExternalConnection() 1143 return can(mOriginalConnectionCapabilities, Capability.IS_EXTERNAL_CONNECTION) in isPullable() 1144 && can(mOriginalConnectionCapabilities, Capability.IS_PULLABLE); in isPullable() 1192 boolean supportsDowngradeToAudio = can(mOriginalConnectionCapabilities, in applyOriginalConnectionCapabilities() 1199 can(mOriginalConnectionCapabilities, Capability.SUPPORTS_VT_REMOTE_BIDIRECTIONAL)); in applyOriginalConnectionCapabilities() 1202 can(mOriginalConnectionCapabilities, Capability.SUPPORTS_VT_LOCAL_BIDIRECTIONAL)); in applyOriginalConnectionCapabilities()
|
/packages/services/Car/ |
D | apicheck_msg_current.txt | 6 1) You can add "@hide" javadoc comments to the methods, etc. listed in the 9 2) You can update current.txt by executing the following command:
|
/packages/apps/Messaging/build/ |
D | README | 3 …to validate java from google3. The config file is baked into the jar, but can be updated with a l… 8 …a/ro/teams/devtools/glint/linters/live/google-style-checker_deploy.jar and can be pulled from ther…
|
/packages/apps/ManagedProvisioning/tests/ |
D | README | 1 To build the tests you can use the following command at the root of your android source tree 16 More general information can be found at
|
/packages/apps/Settings/tests/unit/ |
D | README | 1 To build the tests you can use the following command at the root of your android source tree 16 More general information can be found at
|
/packages/apps/Launcher3/WallpaperPicker/ |
D | README | 3 a manifest so that a separate Eclipse project can exist for the wallpaper
|