Home
last modified time | relevance | path

Searched refs:Array (Results 1 – 25 of 26) sorted by relevance

12

/hardware/interfaces/identity/support/tests/
Dcppbor_test.cpp290 EXPECT_EQ("\x80"s, details::makeItem(Array())->toString()); in TEST()
295 EXPECT_EQ("\x80"s, Array().toString()); in TEST()
296 Array(Uint(0)).toString(); in TEST()
298 EXPECT_EQ("\x81\x00"s, Array(Uint(0U)).toString()); in TEST()
299 EXPECT_EQ("\x82\x00\x01"s, Array(Uint(0), Uint(1)).toString()); in TEST()
300 EXPECT_EQ("\x83\x00\x01\x38\x62"s, Array(Uint(0), Uint(1), Nint(-99)).toString()); in TEST()
302 EXPECT_EQ("\x81\x00"s, Array(0).toString()); in TEST()
303 EXPECT_EQ("\x82\x00\x01"s, Array(0, 1).toString()); in TEST()
304 EXPECT_EQ("\x83\x00\x01\x38\x62"s, Array(0, 1, -99).toString()); in TEST()
318 Array(Uint(1), Nint(-1), Bstr(vec), Tstr("hello")).toString()); in TEST()
[all …]
DIdentityCredentialSupportTest.cpp85 cppbor::Array array = cppbor::Array("foo", "bar", "baz"); in TEST()
97 cppbor::Array array2 = cppbor::Array(cppbor::Tstr("Some text"), cppbor::Nint(-42)); in TEST()
109 cppbor::Array deeplyNestedArrays = in TEST()
110 cppbor::Array(cppbor::Array(cppbor::Array("a", "b", "c")), in TEST()
111 cppbor::Array(cppbor::Array("d", "e", cppbor::Array("f", "g")))); in TEST()
142 support::cborPrettyPrint(cppbor::Array(cppbor::Bstr(vector<uint8_t>{10, 11}), in TEST()
/hardware/interfaces/identity/support/include/cppbor/
Dcppbor.h63 class Array; variable
121 virtual const Array* asArray() const { return nullptr; } in asArray()
419 class Array : public CompoundItem {
423 Array() = default;
424 Array(const Array& other) = delete;
425 Array(Array&&) = default;
426 Array& operator=(const Array&) = delete;
427 Array& operator=(Array&&) = default;
436 Array(Args&&... args);
442 Array& add(T&& v) &;
[all …]
DREADME.md34 * `Array` corresponds to major type 4, an Array. It holds a
75 "root" data item will be an `Array` or `Map` which contains a more complex structure.For example
79 using cppbor::Array;
82 Map val("key1", Array(Map("key_a", 99 "key_b", vec), "foo"), "key2", true);
88 `Array` containing a `Map` and a `Tstr`. The "Outer2" entry has a
102 using cppbor::Array;
106 val.add("key1", Array().add(Map().add("key_a", 99).add("key_b", vec)).add("foo")).add("key2", true);
/hardware/interfaces/confirmationui/support/include/android/hardware/confirmationui/support/
Dcbor.h64 struct Array;
67 struct Array<Head, Tail...> {
69 Array<Tail...> tail_;
70 Array(const Head& head, const Tail&... tail) : head_(head), tail_(tail...) {}
75 struct Array<> {};
165 Array<Elements...> arr(const Elements&... elements) {
166 return Array<Elements...>(elements...);
311 WriteState write(WriteState wState, const Array<Elems...>& arr) {
/hardware/interfaces/identity/aidl/default/
DWritableIdentityCredential.cpp132 signedDataAccessControlProfiles_ = cppbor::Array(); in startPersonalization()
134 signedDataCurrentNamespace_ = cppbor::Array(); in startPersonalization()
252 signedDataCurrentNamespace_ = cppbor::Array(); in beginAddEntry()
323 cppbor::Array profileIdArray; in addEntryValue()
345 cppbor::Array array; in generateCredentialKeys()
371 cppbor::Array array; in generateCredentialData()
396 cppbor::Array popArray; in finishAddingEntries()
DWritableIdentityCredential.h85 cppbor::Array signedDataAccessControlProfiles_;
87 cppbor::Array signedDataCurrentNamespace_;
DUtil.cpp100 cppbor::Array acpIds; in entryCreateAdditionalData()
DIdentityCredential.cpp52 const cppbor::Array* arrayItem = item->asArray(); in initialize()
93 const cppbor::Array* dckArrayItem = dckItem->asArray(); in initialize()
112 cppbor::Array array = {"ProofOfDeletion", docType_, testCredential_}; in deleteCredential()
320 cppbor::Array() in startRetrieval()
779 cppbor::Array array; in finishRetrieval()
/hardware/interfaces/identity/aidl/vts/
DVtsHalIdentityEndToEndTest.cpp83 const cppbor::Array* arrayItem = item->asArray(); in extractFromTestCredentialData()
113 const cppbor::Array* dckArrayItem = dckItem->asArray(); in extractFromTestCredentialData()
319 cppbor::Array sessionTranscript = cppbor::Array() in TEST_P()
351 cppbor::Array() in TEST_P()
440 cppbor::Array deviceAuthentication; in TEST_P()
487 deviceAuthentication = cppbor::Array(); in TEST_P()
513 deviceAuthentication = cppbor::Array(); in TEST_P()
DReaderAuthTests.cpp264 cppbor::Array sessionTranscript = cppbor::Array() in retrieveData()
293 cppbor::Array() in retrieveData()
519 cppbor::Array sessionTranscript = cppbor::Array() in TEST_P()
535 cppbor::Array() in TEST_P()
DUserAuthTests.cpp209 vector<uint8_t> dataToSign = cppbor::Array() in retrieveData()
/hardware/interfaces/identity/support/src/
Dcppbor.cpp213 std::unique_ptr<Item> Array::clone() const { in clone()
214 auto res = std::make_unique<Array>(); in clone()
DIdentityCredentialSupport.cpp153 const cppbor::Array* array = compoundItem->asArray(); in cborAreAllElementsNonCompound()
242 const cppbor::Array* array = item->asArray(); in cborPrettyPrintInternal()
1487 cppbor::Array sigStructure; in coseBuildToBeSigned()
1599 cppbor::Array certArray; in coseSignEcDsa()
1622 cppbor::Array coseSign1; in coseSignEcDsa()
1645 const cppbor::Array* array = item->asArray(); in coseCheckEcDsaSignature()
1718 const cppbor::Array* array = item->asArray(); in coseSignGetPayload()
1755 const cppbor::Array* array = item->asArray(); in coseSignGetX5Chain()
1784 const cppbor::Array* array = valueItem->asArray(); in coseSignGetX5Chain()
1809 cppbor::Array macStructure; in coseBuildToBeMACed()
[all …]
Dcppbor_parse.cpp112 class IncompleteArray : public Array, public IncompleteItem {
/hardware/interfaces/graphics/allocator/3.0/
DIAllocator.hal48 * @return buffers Array of raw handles to the allocated buffers.
/hardware/interfaces/radio/1.4/
DIRadioIndication.hal83 * @param dcList Array of SetupDataCallResult identical to that returned by
DIRadio.hal101 * @param profiles Array of DataProfile to set.
/hardware/interfaces/radio/1.5/
DIRadioIndication.hal106 * @param dcList Array of SetupDataCallResult identical to that returned by
DIRadio.hal219 * @param profiles Array of DataProfileInfo to set.
/hardware/interfaces/contexthub/1.0/
Dtypes.hal118 vec<PhysicalSensor> connectedSensors; // Array of connected sensors
/hardware/interfaces/radio/1.0/
DIRadioIndication.hal394 * @param configs Array of hardware configs
DIRadio.hal1410 * @param profiles Array of DataProfiles to set.
DIRadioResponse.hal2321 * @param config Array of HardwareConfig of the radio.
/hardware/interfaces/neuralnetworks/1.2/
Dtypes.t183 /** Array of scaling values for each channel. Each value must be greater than zero. */

12