Home
last modified time | relevance | path

Searched refs:proto_file (Results 1 – 4 of 4) sorted by relevance

/tools/test/connectivity/tools/
Dproto_check.py30 def proto_generates_gen_file(proto_file, proto_gen_file): argument
41 module_name = proto_utils.compile_proto(proto_file, tmp_dir)
59 for proto_file in proto_files:
60 gen_filename = os.path.basename(proto_file).replace('.proto', '_pb2.py')
65 and path.startswith(os.path.dirname(proto_file))):
71 for root, _, filenames in os.walk(os.path.dirname(proto_file)):
80 if gen_file and not proto_generates_gen_file(proto_file, gen_file):
82 % (proto_file, gen_file))
86 protoc, '-I=%s' % os.path.dirname(proto_file),
87 '--python_out=%s' % os.path.dirname(gen_file), proto_file])
/tools/test/connectivity/acts/framework/acts/test_utils/instrumentation/
Dinstrumentation_proto_parser.py63 def get_session_from_local_file(proto_file): argument
72 with open(proto_file, 'rb') as f:
76 def get_session_from_device(ad, proto_file=None): argument
88 pulled_proto = pull_proto(ad, tmp_dir, proto_file)
/tools/test/connectivity/acts/framework/tests/test_utils/instrumentation/
Dinstrumentation_proto_parser_test.py64 proto_file = os.path.join(os.path.dirname(__file__), SAMPLE_PROTO)
65 self.assertIsInstance(parser.get_session_from_local_file(proto_file),
69 proto_file = os.path.join(os.path.dirname(__file__),
71 session = parser.get_session_from_local_file(proto_file)
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/
Dplugin.proto58 // descriptor will be included in proto_file, below.
75 repeated FileDescriptorProto proto_file = 15; field