Home
last modified time | relevance | path

Searched refs:is_empty (Results 1 – 25 of 67) sorted by relevance

123

/system/security/keystore2/src/crypto/
Dzvec.rs79 if !self.elems.is_empty() { in drop()
107 if self.elems.is_empty() { in fmt()
120 if !v.is_empty() { in try_from()
137 if !b.is_empty() { in try_from()
/system/secretkeeper/comm/src/data_types/
Dpacket.rs51 if self.0.is_empty() { in opcode()
93 if self.0.is_empty() { in response_type()
Dresponse.rs73 if res.is_empty() { in deserialize_from_packet()
Derror.rs55 if response_cbor.is_empty() || response_cbor.len() > 2 { in new()
/system/extras/pinner/
Dmeminspect.cpp32 if (!intersect_res.is_empty()) { in compute_coverage()
38 bool VmaRange::is_empty() const { in is_empty() function in VmaRange
61 if (result.is_empty()) { in union_merge()
101 if (!merged.is_empty()) { in merge_ranges()
/system/security/keystore2/test_utils/
Dffi_test_utils.rs74 if !result.error && !result.data.is_empty() { in get_result()
125 if !result.error && !result.data.is_empty() { in get_value_from_attest_record()
/system/security/keystore2/src/
Dgc.rs103 if self.superseded_blobs.is_empty() { in process_one_key()
142 if !self.deleted_blob_ids.is_empty() { in step()
Dasync_task.rs209 if !done_idle && state.hi_prio_req.is_empty() && state.lo_prio_req.is_empty() { in spawn_thread()
216 state.hi_prio_req.is_empty() && state.lo_prio_req.is_empty() in spawn_thread()
221 state.lo_prio_req.is_empty(), in spawn_thread()
Dlegacy_blob.rs967 pub fn is_empty(&self) -> Result<bool> { in is_empty() method
1789 assert!(legacy_blob_loader.is_empty().expect("Should succeed and be empty.")); in test_is_empty()
1794 assert!(legacy_blob_loader.is_empty().expect("Should succeed and still be empty.")); in test_is_empty()
1798 assert!(!legacy_blob_loader.is_empty().expect("Should succeed but not be empty.")); in test_is_empty()
1802 assert!(!legacy_blob_loader.is_empty().expect("Should succeed but still not be empty.")); in test_is_empty()
1807 assert!(!legacy_blob_loader.is_empty().expect("Should succeed but still not be empty.")); in test_is_empty()
1812 assert!(legacy_blob_loader.is_empty().expect("Should succeed and be empty again.")); in test_is_empty()
1920 assert!(!legacy_blob_loader.is_empty()?); in test_legacy_blobs()
1930 assert!(legacy_blob_loader.is_empty()?); in test_legacy_blobs()
2022 assert!(!legacy_blob_loader.is_empty().unwrap()); in test_with_encrypted_characteristics()
[all …]
Dentropy.rs52 if km_devs.is_empty() { in feed_devices()
Denforcements.rs563 if !user_secure_ids.is_empty() && no_auth_required { in authorize_create()
569 if (user_auth_type.is_some() && user_secure_ids.is_empty()) in authorize_create()
570 || (user_auth_type.is_none() && !user_secure_ids.is_empty()) in authorize_create()
603 let (hat, state) = if user_secure_ids.is_empty() { in authorize_create()
648 let has_sids = !user_secure_ids.is_empty(); in authorize_create()
/system/authgraph/wire/src/
Dfragmentation.rs45 if self.data.is_empty() { in next()
72 } else if self.0.is_empty() { in accumulate()
90 if data.is_empty() { in split_msg()
/system/keymint/boringssl/src/
Dlib.rs54 if errors.is_empty() { in map_openssl_errstack()
107 let errcode = if errors.is_empty() {
/system/nfc/src/rust/nci/
Dnci.rs200 while !conn_params.sendq.is_empty() && conn_params.nfcc_credits_avail > 0 { in add_credits()
224 if !p.is_empty() { in send_packet()
238 while conn_params.nfcc_credits_avail > 0 && !conn_params.sendq.is_empty() { in send_packet()
255 if !done && conn_params.recvq.is_empty() { in send_callback()
269 while !conn_params.recvq.is_empty() { in send_callback()
/system/keymint/hal/src/
Dtests.rs82 assert!(result.keyCharacteristics.is_empty()); in test_method_roundtrip()
83 assert!(result.certificateChain.is_empty()); in test_method_roundtrip()
/system/security/keystore2/tests/
Dkeystore2_client_list_entries_tests.rs212 if !key_descriptors.is_empty() { in keystore2_list_entries_with_long_aliases_success()
239 while !imported_key_aliases.is_empty() { in keystore2_list_entries_with_long_aliases_success()
254 assert!(imported_key_aliases.is_empty()); in keystore2_list_entries_with_long_aliases_success()
291 while !imported_key_aliases.is_empty() { in keystore2_list_entries_batched_with_long_aliases_success()
308 assert!(imported_key_aliases.is_empty()); in keystore2_list_entries_batched_with_long_aliases_success()
/system/extras/pinner/include/
Dmeminspect.h33 bool is_empty() const;
/system/security/mls/mls-rs-crypto-boringssl/src/
Dkdf.rs80 if ikm.is_empty() { in extract()
84 let salt = if salt.is_empty() { Salt::None } else { Salt::NonEmpty(salt) }; in extract()
/system/librustutils/system_properties/
Dparsers_formatters.rs34 if s.is_empty() { in parse_list_with()
/system/security/keystore2/rkpd_client/src/
Dlib.rs562 assert!(!key.keyBlob.is_empty()); in test_get_rkpd_attestation_key()
563 assert!(!key.encodedCertChain.is_empty()); in test_get_rkpd_attestation_key()
630 assert!(!key.keyBlob.is_empty()); in test_stress_get_rkpd_attestation_key()
631 assert!(!key.encodedCertChain.is_empty()); in test_stress_get_rkpd_attestation_key()
/system/keymint/common/src/tag/
Dtests.rs61 assert!(data.is_empty(), "data left: {}", hex::encode(data)); in test_legacy_serialization()
/system/secretkeeper/dice_policy/src/
Dlib.rs145 if res.is_empty() { in from_cbor_value()
280 if constraint_path.is_empty() { in lookup_in_nested_container()
/system/keymint/wire/src/
Dlegacy.rs317 if data.is_empty() { in deserialize()
576 if !rest.is_empty() {
720 assert!(rest.is_empty()); in test_inner_serialize()
733 assert!(rest.is_empty()); in test_get_version_serialize()
/system/extras/libatrace_rust/src/
Dtracing_subscriber.rs101 if !self.should_record_fields || attrs.fields().is_empty() || !self.should_process_event() { in on_new_span()
126 if span.fields().is_empty() || !self.should_record_fields { in on_enter()
207 if !self.s.is_empty() { in add_delimeter_if_needed()
/system/secretkeeper/core/src/ta/
Dbootloader.rs61 if !remainder.is_empty() { in from_slice()

123