Home
last modified time | relevance | path

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

123456

/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/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/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallsManagerTest.java549 doReturn(true).when(ongoingCall).can(Connection.CAPABILITY_HOLD); in testUnholdCallWhenOngoingCallCanBeHeld()
550 doReturn(true).when(ongoingCall).can(Connection.CAPABILITY_SUPPORT_HOLD); in testUnholdCallWhenOngoingCallCanBeHeld()
572 doReturn(false).when(ongoingCall).can(Connection.CAPABILITY_HOLD); in testUnholdCallWhenOngoingCallCanNotBeHeldAndFromDifferentConnectionService()
573 doReturn(false).when(ongoingCall).can(Connection.CAPABILITY_SUPPORT_HOLD); in testUnholdCallWhenOngoingCallCanNotBeHeldAndFromDifferentConnectionService()
596 doReturn(false).when(ongoingCall).can(Connection.CAPABILITY_HOLD); in testUnholdCallWhenOngoingEmergCallCanNotBeHeldAndFromDifferentConnectionService()
597 doReturn(false).when(ongoingCall).can(Connection.CAPABILITY_SUPPORT_HOLD); in testUnholdCallWhenOngoingEmergCallCanNotBeHeldAndFromDifferentConnectionService()
619 doReturn(false).when(ongoingCall).can(Connection.CAPABILITY_HOLD); in testUnholdCallWhenOngoingCallCanNotBeHeldAndHasSameConnectionService()
620 doReturn(true).when(ongoingCall).can(Connection.CAPABILITY_SUPPORT_HOLD); in testUnholdCallWhenOngoingCallCanNotBeHeldAndHasSameConnectionService()
659 doReturn(true).when(ongoingCall).can(Connection.CAPABILITY_HOLD); in testAnswerCallWhenOngoingCallCanBeHeld()
660 doReturn(true).when(ongoingCall).can(Connection.CAPABILITY_SUPPORT_HOLD); in testAnswerCallWhenOngoingCallCanBeHeld()
[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…
Dinternals.md31 …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/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/services/Telecomm/src/com/android/server/telecom/
DBluetoothPhoneServiceImpl.java531 if (activeCall != null && activeCall.can(Connection.CAPABILITY_SWAP_CONFERENCE)) { in processChld()
544 } else if (activeCall != null && activeCall.can(Connection.CAPABILITY_HOLD)) { in processChld()
550 if (activeCall.can(Connection.CAPABILITY_MERGE_CONFERENCE)) { in processChld()
578 .can(Connection.CAPABILITY_CONFERENCE_HAS_NO_CHILDREN))) { in sendListOfCalls()
593 .can(Connection.CAPABILITY_CONFERENCE_HAS_NO_CHILDREN); in sendClccForCall()
615 conferenceCall.can(Connection.CAPABILITY_MERGE_CONFERENCE) || in sendClccForCall()
616 (conferenceCall.can(Connection.CAPABILITY_SWAP_CONFERENCE) && in sendClccForCall()
631 conferenceCall.can(Connection.CAPABILITY_MANAGE_CONFERENCE)) { in sendClccForCall()
743 !activeCall.can(Connection.CAPABILITY_CONFERENCE_HAS_NO_CHILDREN)) { in updateHeadsetWithCallState()
744 if (activeCall.can(Connection.CAPABILITY_SWAP_CONFERENCE)) { in updateHeadsetWithCallState()
[all …]
/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()
DCallButtonPresenter.java455 final boolean showSwap = call.can(android.telecom.Call.Details.CAPABILITY_SWAP_CONFERENCE); in updateButtonsState()
458 && call.can(android.telecom.Call.Details.CAPABILITY_SUPPORT_HOLD) in updateButtonsState()
459 && call.can(android.telecom.Call.Details.CAPABILITY_HOLD); in updateButtonsState()
472 && call.can(android.telecom.Call.Details.CAPABILITY_MERGE_CONFERENCE); in updateButtonsState()
475 final boolean showMute = call.can(android.telecom.Call.Details.CAPABILITY_MUTE); in updateButtonsState()
536 return !call.can(CallCompat.Details.CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIO); in isDowngradeToAudioSupported()
/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/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/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.
/packages/apps/Dialer/java/com/android/dialer/phonelookup/
Dphone_lookup_info.proto53 // The value can be "Home", "Mobile", ect.
79 // Repeated because one phone number can be associated with multiple CP2
85 // The information for this number is incomplete. This can happen when the
137 // A URI that contains encoded JSON about the number so contacts can
/packages/services/Car/tests/CarDeveloperOptions/
DREADME1 This module is used to create a CarDeveloperOptions module which can be accessed via Car Settings
9 Settings project in order to make sure that developer options can still be accessed via Car
/packages/apps/CellBroadcastReceiver/legacy/
DAndroid.bp5 // app they can replace this one. If OEMs don't care about data loss or data
6 // migration complete, OEMs can remove this app going forward.
/packages/apps/Dialer/java/com/android/incallui/videotech/ims/
DImsVideoTech.java81 if (!call.getDetails().can(Call.Details.CAPABILITY_SUPPORTS_VT_LOCAL_TX)) { in isAvailable()
87 if (!call.getDetails().can(Call.Details.CAPABILITY_SUPPORTS_VT_REMOTE_RX)) { in isAvailable()
342 return call.getDetails().can(Details.CAPABILITY_CAN_PAUSE_VIDEO); in canPause()
/packages/apps/Messaging/build/
DREADME3 …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…

123456