1syntax = "proto3"; 2 3package com.android.bedstead.testapp; 4 5message TestAppIndex { 6 repeated AndroidApp apps = 1; 7} 8 9message AndroidApp { 10 string apk_name = 1; 11 string package_name = 2; 12 UsesSdk uses_sdk = 3; 13 repeated Permission permissions = 4; 14 repeated Activity activities = 5; 15 repeated Service services = 6; 16 bool test_only = 7; 17 repeated Metadata metadata = 8; 18 string sharedUserId = 9; 19} 20 21message UsesSdk { 22 uint32 minSdkVersion = 1; 23 uint32 targetSdkVersion = 2; 24 uint32 maxSdkVersion = 3; 25} 26 27message Permission { 28 string name = 1; 29} 30 31message Activity { 32 string name = 1; 33 bool exported = 2; 34 repeated IntentFilter intent_filters = 3; 35} 36 37message IntentFilter { 38 repeated string actions = 1; 39 repeated string categories = 2; 40} 41 42message Service { 43 string name = 1; 44 bool exported = 2; 45 repeated IntentFilter intent_filters = 3; 46} 47 48message Metadata { 49 string name = 1; 50 string value = 2; 51}