Home | History | Annotate | Download | only in watchlist

Lines Matching defs:proto

22 import android.util.proto.ProtoOutputStream;
36 * Helper class to encode and generate serialized DP encoded watchlist proto report.
61 * Convert DP encoded watchlist report into proto format.
64 * @return Watchlist report in proto format, which will be shared in Dropbox. Null if
82 final ProtoOutputStream proto = new ProtoOutputStream(reportOutputStream);
85 proto.write(NetworkWatchlistReportProto.REPORT_VERSION, REPORT_VERSION);
86 proto.write(NetworkWatchlistReportProto.WATCHLIST_CONFIG_HASH,
94 long token = proto.start(NetworkWatchlistReportProto.APP_RESULT);
95 proto.write(NetworkWatchlistAppResultProto.APP_DIGEST, key);
96 proto.write(NetworkWatchlistAppResultProto.ENCODED_RESULT, encodedResult);
97 proto.end(token);
99 proto.flush();