1/* Note: If making any changes to this file be sure to generate a new
2   compiled *_pb2.py file by running the following command from this
3   directory:
4   $ protoc -I=. --python_out=. telephony_metric.proto
5
6   Be sure that you are compiling with protoc 3.4.0
7
8   More info can be found at:
9   https://developers.google.com/protocol-buffers/docs/pythontutorial
10*/
11
12syntax = "proto2";
13
14package wireless.android.platform.testing.telephony.metrics;
15
16message TelephonyVoiceTestResult {
17
18  enum CallResult {
19    UNAVAILABLE_NETWORK_TYPE = -2;
20    CALL_SETUP_FAILURE = -1;
21    SUCCESS = 0;
22    INITIATE_FAILED = 1;
23    NO_RING_EVENT_OR_ANSWER_FAILED = 2;
24    NO_CALL_ID_FOUND = 3;
25    CALL_STATE_NOT_ACTIVE_DURING_ESTABLISHMENT = 4;
26    AUDIO_STATE_NOT_INCALL_DURING_ESTABLISHMENT = 5;
27    AUDIO_STATE_NOT_INCALL_AFTER_CONNECTED = 6;
28    CALL_DROP_OR_WRONG_STATE_DURING_ESTABLISHMENT = 7;
29    CALL_DROP_OR_WRONG_STATE_AFTER_CONNECTED = 8;
30    CALL_HANGUP_FAIL = 9;
31    CALL_ID_CLEANUP_FAIL = 10;
32}
33
34  optional CallResult result = 1;
35  optional float call_setup_time_latency = 2;
36}
37
38message TelephonyVoiceStressResult {
39  repeated TelephonyVoiceTestResult results = 1;
40}
41
42