Home
last modified time | relevance | path

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

123456789

/packages/apps/LegacyCamera/jni/feature_stab/doc/
Ddbreg_API_doxyfile9 # 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/
Dfeature_mos_API_doxyfile9 # 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/
DDoxyfile.in12 # 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 …]
Dtutorial.md5 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 …]
Dstream.md53 …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 …]
Dpointer.md5 …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 …]
Dsax.md53 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 …]
Dfaq.md21 …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 …]
Ddom.md30 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 …]
Dfeatures.md25 …* 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…
Dencoding.md13 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…
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallsManagerTest.java559 doReturn(true).when(ongoingCall).can(Connection.CAPABILITY_HOLD); in testUnholdCallWhenOngoingCallCanBeHeld()
560 doReturn(true).when(ongoingCall).can(Connection.CAPABILITY_SUPPORT_HOLD); in testUnholdCallWhenOngoingCallCanBeHeld()
582 doReturn(false).when(ongoingCall).can(Connection.CAPABILITY_HOLD); in testUnholdCallWhenOngoingCallCanNotBeHeldAndFromDifferentConnectionService()
583 doReturn(false).when(ongoingCall).can(Connection.CAPABILITY_SUPPORT_HOLD); in testUnholdCallWhenOngoingCallCanNotBeHeldAndFromDifferentConnectionService()
606 doReturn(false).when(ongoingCall).can(Connection.CAPABILITY_HOLD); in testUnholdCallWhenOngoingEmergCallCanNotBeHeldAndFromDifferentConnectionService()
607 doReturn(false).when(ongoingCall).can(Connection.CAPABILITY_SUPPORT_HOLD); in testUnholdCallWhenOngoingEmergCallCanNotBeHeldAndFromDifferentConnectionService()
629 doReturn(false).when(ongoingCall).can(Connection.CAPABILITY_HOLD); in testUnholdCallWhenOngoingCallCanNotBeHeldAndHasSameConnectionService()
630 doReturn(true).when(ongoingCall).can(Connection.CAPABILITY_SUPPORT_HOLD); in testUnholdCallWhenOngoingCallCanNotBeHeldAndHasSameConnectionService()
669 doReturn(true).when(ongoingCall).can(Connection.CAPABILITY_HOLD); in testAnswerCallWhenOngoingCallCanBeHeld()
670 doReturn(true).when(ongoingCall).can(Connection.CAPABILITY_SUPPORT_HOLD); in testAnswerCallWhenOngoingCallCanBeHeld()
[all …]
/packages/modules/NeuralNetworks/extensions/
DREADME.md5 HAL 1.2 or higher, drivers can provide custom hardware-accelerated operations by
15 Vendor extensions can only be used by explicitly specified Android apps and
17 Apps and native binaries located on the `/system` partition can't use vendor
22 contains a new entry. An entry can be a native binary path that is prefixed with
33 complete example of an extension definition can be found in
82 An extension operation can use any operand type, including nonextension operand
86 Extensions can also declare custom structures to accompany extension operands.
197 runtime can't validate particular extension operations and data types.
199 Extension operands can have associated data in `operand.extraParams.extension`,
210 operation and data types are OEM-specific and can change at any time. The OEM
/packages/apps/TimeZoneData/oem_template/data_app/
DREADME.oem8 For example, you can copy it
17 real version of the app, and some test versions that can be used by the supplied xTS tests.
22 The main, signed .apk can also be uploaded to an app store and used to update existing
25 See oem_template/data_app_prebuilts for rules that can be used to include the prebuilts in
28 See oem_template/xts for rules that can be used for xTS testing.
/packages/modules/NeuralNetworks/tools/test_generator/
DREADME.md10 …t/specs/<version>/` and name it with `.mod.py` suffix, so that other tools can automatically updat…
74 Simple scalar and 1-D vector parameters can now be directly passed to Operation constructor, and te…
105 By default, examples will be attached to the most recent instantiated model. You can explicitly spe…
113 You can add variations to the example so that the test generator can automatically create multiple …
155can create a new model which will do the calculation along axis 0 by transposing input and output …
161 The target axis can also be negative to test the negative indexing
167can also create a new model with input/output of 2D shape [4, 5] by removing the first two dimensi…
203 Each example can have multiple groups of variations, and if so, will take the cartesian product of …
212 … unnamed default variation will be automatically included in the list. You can name the default va…
218 Also, you can choose not to include default by
[all …]
/packages/modules/Wifi/service/tests/wifitests/
DREADME.md15 Tests can be added by adding classes to the src directory. JUnit4 style test cases can
19 If you are trying to debug why tests are not doing what you expected, you can add android log
24 If you would like to collect code coverage information you can run the `coverage.sh` script located
28 for results. By default the results are generated as a set of HTML pages. For example, you can use
/packages/apps/Dialer/java/com/android/incallui/
DConferenceManagerPresenter.java74 details.can(android.telecom.Call.Details.CAPABILITY_DISCONNECT_FROM_CONFERENCE); in onDetailsChanged()
76 details.can(android.telecom.Call.Details.CAPABILITY_SEPARATE_FROM_CONFERENCE); in onDetailsChanged()
78 if (call.can(android.telecom.Call.Details.CAPABILITY_DISCONNECT_FROM_CONFERENCE) in onDetailsChanged()
80 || call.can(android.telecom.Call.Details.CAPABILITY_SEPARATE_FROM_CONFERENCE) in onDetailsChanged()
85 if (!details.can(android.telecom.Call.Details.CAPABILITY_MANAGE_CONFERENCE)) { in onDetailsChanged()
/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/
DREADME.md58 `libFuzzer` can use the coverage from the driver to guide the test
73 fuzzed (for example, if you want to sanitize a shared library), you can build a
77 ### You can build a pre-configured sanitized device image with:
84 ### Alternatively, you can build other (read: non-sanitized) targets with the following command:
115 can be used in place of or in addition to `hwaddress`. More command options for
116 building with other sanitizers can be found [here][7], and they are explained
119 Once the test is built, it can be pushed to the device via:
130 * `dump/` -- sandbox directory used by the fuzz test; this can be ignored
137 The fuzz test can be launched with the following command, and will continue
162 When a crash occurs, the crash test case can be re-run with the following
[all …]
/packages/services/Iwlan/assets/
Ddefaultiwlanerrorconfig.json4 # 1.1. Other than Apn names this can also have "*" value which
5 # represents that this can be used as a generic fallback when no
22 # Note: Array can be a mix of number, range and string formats.
25 # 3.2.3. Any: "*" value represents that this can be applied to all ErrorDetails
45 # 3.4. "UnthrottlingEvents": Events for which the retry time can be unthrottled.
/packages/modules/Virtualization/docs/getting_started/
Dindex.md23 You can build and run them with:
42 You can spawn your own VMs by passing a JSON config file to the Virt Manager via the `vm` tool on a
43 rooted KVM-enabled device. If your device is attached over ADB, you can run:
65 You can update CrosVM and the Virt Manager service by updating the `com.android.virt` APEX. If your
88 Once the APEX is in `/system/apex`, you can use `adb install` to update it
/packages/apps/Test/connectivity/sl4n/rapidjson/
Dreadme.md36 * 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/apps/Bluetooth/src/com/android/bluetooth/telephony/
DBluetoothInCallService.java573 && call.can(Connection.CAPABILITY_CONFERENCE_HAS_NO_CHILDREN))) { in sendListOfCalls()
595 && call.can(Connection.CAPABILITY_CONFERENCE_HAS_NO_CHILDREN); in sendClccForCall()
620 conferenceCall.can(Connection.CAPABILITY_MERGE_CONFERENCE) in sendClccForCall()
621 || (conferenceCall.can(Connection.CAPABILITY_SWAP_CONFERENCE) in sendClccForCall()
636 && conferenceCall.can(Connection.CAPABILITY_MANAGE_CONFERENCE)) { in sendClccForCall()
757 && activeCall.can(Connection.CAPABILITY_SWAP_CONFERENCE)) { in _processChld()
771 && activeCall.can(Connection.CAPABILITY_HOLD)) { in _processChld()
777 if (activeCall.can(Connection.CAPABILITY_MERGE_CONFERENCE)) { in _processChld()
840 && !activeCall.can(Connection.CAPABILITY_CONFERENCE_HAS_NO_CHILDREN)) { in updateHeadsetWithCallState()
841 if (activeCall.can(Connection.CAPABILITY_SWAP_CONFERENCE)) { in updateHeadsetWithCallState()
[all …]
/packages/modules/DnsResolver/
DREADME-DoT.md50 `DnsTlsSocket` can receive queries on any thread, and send them over a
56 socket thread can read the datagram off the other end.
62 threads have to arrive on a socket, so that `poll()` can listen for them.
63 (There can only be a single thread because [you can't use different threads
121 which in production is a `DnsTlsSocketFactory`. However, in unit tests, we can
122 substitute a test factory that returns a fake socket, so that the unit tests can
/packages/modules/NeuralNetworks/tools/api/
DREADME.md39 The "kind" is an arbitrary token that the specification file can reference with
84 Certain regions can enclose certain other regions, but this is very limited:
86 * A conditional region can enclose a section region.
87 * A section region can enclose a conditional region.
91 * A conditional region can be enclosed by a section region.
92 * A section region can be enclosed by a conditional region.
120 and the resulting lines are associated with the section name. They can be
122 `%insert` and `%insert-indented` directives. They can be added to another
/packages/apps/TimeZoneData/oem_template/data_app_prebuilt/
DREADME.oem8 For example, you can copy it
18 The targets define includes the real version of the app, and some test versions that can be
21 See oem_template/xts for rules that can be used for xTS testing.

123456789