Searched refs:protoDescriptor (Results 1 – 2 of 2) sorted by relevance
230 ConfigurationDescription.Descriptor protoDescriptor) { in fromProto() argument233 configDescriptor.mSuiteTags.addAll(protoDescriptor.getTestSuiteTagList()); in fromProto()235 for (Metadata meta : protoDescriptor.getMetadataList()) { in fromProto()241 configDescriptor.mNotShardable = !protoDescriptor.getShardable(); in fromProto()243 configDescriptor.mNotStrictShardable = !protoDescriptor.getStrictShardable(); in fromProto()245 configDescriptor.mUseSandboxing = protoDescriptor.getUseSandboxing(); in fromProto()247 if (!protoDescriptor.getModuleName().isEmpty()) { in fromProto()248 configDescriptor.mModuleName = protoDescriptor.getModuleName(); in fromProto()251 if (protoDescriptor.hasAbi()) { in fromProto()252 configDescriptor.mAbi = Abi.fromProto(protoDescriptor.getAbi()); in fromProto()
93 Descriptor protoDescriptor = descriptor.toProto(); in testProtoSerialization() local94 assertTrue(protoDescriptor.getUseSandboxing()); in testProtoSerialization()95 assertTrue(protoDescriptor.getShardable()); in testProtoSerialization()96 assertTrue(protoDescriptor.getStrictShardable()); in testProtoSerialization()98 ConfigurationDescriptor deserialized = ConfigurationDescriptor.fromProto(protoDescriptor); in testProtoSerialization()