Home
last modified time | relevance | path

Searched refs:try_from_binary_proto (Results 1 – 5 of 5) sorted by relevance

/aosp_15_r20/build/make/tools/aconfig/aconfig_storage_file/src/
H A Dprotos.rs60 pub fn try_from_binary_proto(bytes: &[u8]) -> Result<ProtoStorageFiles> { in try_from_binary_proto() function
128 let storage_files = storage_record_pb::try_from_binary_proto(&binary_proto_bytes).unwrap(); in test_parse_storage_record_pb()
160 let err = storage_record_pb::try_from_binary_proto(&binary_proto_bytes).unwrap_err(); in test_parse_invalid_storage_record_pb()
178 let err = storage_record_pb::try_from_binary_proto(&binary_proto_bytes).unwrap_err(); in test_parse_invalid_storage_record_pb()
196 let err = storage_record_pb::try_from_binary_proto(&binary_proto_bytes).unwrap_err(); in test_parse_invalid_storage_record_pb()
/aosp_15_r20/build/make/tools/aconfig/aconfig/src/
H A Dtest.rs272 aconfig_protos::parsed_flags::try_from_binary_proto(&bytes).unwrap() in parse_read_only_test_flags()
297 aconfig_protos::parsed_flags::try_from_binary_proto(&bytes).unwrap() in parse_test_flags()
316 aconfig_protos::parsed_flags::try_from_binary_proto(&bytes).unwrap() in parse_second_package_flags()
H A Dcommands.rs49 aconfig_protos::parsed_flags::try_from_binary_proto(&buffer) in try_parse_flags()
609 aconfig_protos::parsed_flags::try_from_binary_proto(&flags_bytes).unwrap(); in test_parse_flags_setting_default()
788 aconfig_protos::parsed_flags::try_from_binary_proto(&flags_bytes).unwrap(); in test_parse_flags_no_allow_read_write_success()
868 aconfig_protos::parsed_flags::try_from_binary_proto(&flags_bytes).unwrap(); in test_parse_flags_metadata()
/aosp_15_r20/build/make/tools/aconfig/aconfig_protos/src/
H A Dlib.rs342 pub fn try_from_binary_proto(bytes: &[u8]) -> Result<ProtoParsedFlags> { in try_from_binary_proto() function
698 parsed_flags::try_from_binary_proto(&binary_proto) in try_from_binary_proto_from_text_proto()
/aosp_15_r20/build/make/tools/aconfig/aconfig/src/storage/
H A Dmod.rs189 aconfig_protos::parsed_flags::try_from_binary_proto(&bytes).unwrap() in parse_all_test_flags()