aboutsummaryrefslogtreecommitdiff
path: root/apps/test/common/proto/permission_test.proto
blob: d1e2c8ee13aa28c0a57843b92a9a2993b5021be4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
syntax = "proto2";

package permission_test;

option java_package = "com.google.android.chre.nanoapp.proto";
option java_outer_classname = "PermissionTest";

// Nanoapp message type can be either host to chre (H2C) or chre to host (C2H)
enum MessageType {
  // Reserved for corrupted messages
  UNDEFINED = 0;

  // H2C: A message to start the test. No payload.
  TEST_COMMAND = 1;

  // C2H: A message indicating the test result. The ping test nanoapp will only
  // use this message to report a failure.
  // Payload must be chre_test_common.TestResult.
  TEST_RESULT = 2;
}