Searched refs:maybe_proto (Results 1 – 2 of 2) sorted by relevance
277 WriteNullableProto(android::Parcel* parcel, const std::unique_ptr<T>& maybe_proto) { in WriteNullableProto()278 bool value = (maybe_proto != nullptr); in WriteNullableProto()291 return WriteProto<T>(parcel, maybe_proto); in WriteNullableProto()
101 std::optional<BinaryWireProtoT> maybe_proto = in ReadProtosFromFileNames() local103 if (!maybe_proto) { in ReadProtosFromFileNames()107 return {{std::move(maybe_proto.value()), file_info.timestamp_limit_ns, file_info.pid}}; in ReadProtosFromFileNames()