Home
last modified time | relevance | path

Searched refs:Null (Results 1 – 18 of 18) sorted by relevance

/system/secretkeeper/comm/src/
Dwire.rs65 Self::DeleteAll => vec![OpCode::DeleteAll.to_cbor_value()?, Value::Null], in to_cbor_value()
197 Self::Empty => Value::Null, in to_cbor_value()
204 Value::Null => Ok(Self::Empty), in from_cbor_value()
223 Value::Null => "null", in cbor_type_error()
/system/libcppbor/tests/
Dcppbor_test.cpp113 EXPECT_EQ("\xf6"s, Null().toString()); in TEST()
226 TEST(MakeEntryTest, Null) { in TEST() argument
634 TEST(EqualityTest, Null) { in TEST() argument
635 Null val; in TEST()
636 EXPECT_EQ(val, Null()); in TEST()
663 EXPECT_NE(val, Null()); in TEST()
678 EXPECT_NE(val, Null()); in TEST()
927 TEST(ConvertTest, Null) { in TEST() argument
928 unique_ptr<Item> item(new Null); in TEST()
1045 Map item("key", Array("value1", "value2", 3), 15, Null(), -5, 45), in TEST()
[all …]
/system/libcppbor/include/cppbor/
Dcppbor.h83 class Null; variable
149 virtual Null* asNull() { return nullptr; } in asNull()
150 const Null* asNull() const { return const_cast<Item*>(this)->asNull(); } in asNull()
909 class Null : public Simple {
913 explicit Null() {} in Null() function
916 Null* asNull() override { return this; } in asNull()
928 std::unique_ptr<Item> clone() const override { return std::make_unique<Null>(); } in clone()
1047 p = new Null();
/system/secretkeeper/comm/tests/
Ddata_types.rs126 *Request::new(vec![Value::Bytes(ex_id_bytes()), Value::Null]).unwrap(); in request_creation()
153 assert!(<GetVersionRequest as Request>::new(vec![Value::Null]).is_err()); in invalid_request_creation()
/system/keymint/wire/src/
Dlib.rs292 Value::Null => "null", in cbor_type_error()
560 cbor::value::Value::Null => Ok(()), in from_cbor_value()
565 Ok(cbor::value::Value::Null) in to_cbor_value()
/system/secretkeeper/comm/src/data_types/
Drequest_response_impl.rs155 self.updated_sealing_policy.as_ref().map_or(Value::Null, |x| x.as_slice().into()); in args()
/system/authgraph/wire/src/
Dcbor.rs90 Value::Null => "null", in cbor_type_error()
/system/keymaster/android_keymaster/
Dremote_provisioning_utils.cpp212 .add(cppbor::Null())); // No ciphertext in buildCertReqRecipients()
Dandroid_keymaster.cpp416 cose_public_key_map.add(CoseKey::TEST_KEY, cppbor::Null()); in GenerateRkpKey()
/system/security/keystore2/src/
Dkey_parameter.rs108 use rusqlite::types::{Null, ToSql, ToSqlOutput};
427 $enum_name::$vname => Ok(ToSqlOutput::from(Null)),
1280 insert_into_keyparameter(&db, 1, Tag::CALLER_NONCE.0, &Null, SecurityLevel::STRONGBOX.0)?; in test_new_from_sql_bool()
1408 insert_into_keyparameter(&db, 1, Tag::ALGORITHM.0, &Null, 1)?; in test_invalid_conversion_from_sql()
Ddatabase.rs378 Self::Password => Ok(ToSqlOutput::Owned(Value::Null)), in to_sql()
387 ValueRef::Null => Ok(Self::Password), in column_result()
/system/security/provisioner/
Drkp_factory_extraction_lib.cpp112 .add(Null()) // nil for the payload in composeCertificateRequestV1()
/system/authgraph/core/src/
Dkey.rs947 (RESETTABLE, Value::Null) => { in from_cbor_value()
956 (RKP_VM_MARKER, Value::Null) => { in from_cbor_value()
/system/libcppbor/src/
Dcppbor_parse.cpp96 std::unique_ptr<Item> item = std::make_unique<Null>(); in handleNull()
Dcppbor.cpp241 const Null* asNull = item->asSimple()->asNull(); in prettyPrintInternal()
/system/keymint/common/src/crypto/
Dec.rs246 builder = builder.param(RKP_TEST_KEY_CBOR_MARKER, coset::cbor::value::Value::Null); in public_cose_key()
/system/chre/platform/shared/idl/
Dhost_messages.fbs195 /// Null-terminated ASCII string containing the file name that contains the
286 /// Null-terminated ASCII string containing debugging information
/system/keymint/ta/src/
Dcert.rs22 asn1::{GeneralizedTime, Null, UtcTime},
703 Null::from_der($tlv_bytes)?;