Merge "Details about metrics origins into schema."
diff --git a/test/memoryadvice/memoryadvice_common/src/main/resources/schemas/metricsSpecs.schema.json b/test/memoryadvice/memoryadvice_common/src/main/resources/schemas/metricsSpecs.schema.json
index aa8a9ee..1292d82 100644
--- a/test/memoryadvice/memoryadvice_common/src/main/resources/schemas/metricsSpecs.schema.json
+++ b/test/memoryadvice/memoryadvice_common/src/main/resources/schemas/metricsSpecs.schema.json
@@ -9,22 +9,52 @@
"$ref": "metricsSpecGroup.schema.json"
},
"debug": {
- "$ref": "metricsSpecGroup.schema.json"
+ "description": "Metrics obtained from android.os.debug.",
+ "allOf": [
+ {
+ "$ref": "metricsSpecGroup.schema.json"
+ }
+ ]
},
"meminfo": {
- "$ref": "metricsSpecGroup.schema.json"
+ "description": "Metrics obtained from `/proc/meminfo`.",
+ "allOf": [
+ {
+ "$ref": "metricsSpecGroup.schema.json"
+ }
+ ]
},
"MemoryInfo": {
- "$ref": "metricsSpecGroup.schema.json"
+ "description": "Metrics obtained from `android.app.ActivityManager.MemoryInfo`.",
+ "allOf": [
+ {
+ "$ref": "metricsSpecGroup.schema.json"
+ }
+ ]
},
"proc": {
- "$ref": "metricsSpecGroup.schema.json"
+ "description": "Metrics obtained from `proc` folder",
+ "allOf": [
+ {
+ "$ref": "metricsSpecGroup.schema.json"
+ }
+ ]
},
"status": {
- "$ref": "metricsSpecGroup.schema.json"
+ "description": "Metrics obtained from `/proc/(pid)/status`.",
+ "allOf": [
+ {
+ "$ref": "metricsSpecGroup.schema.json"
+ }
+ ]
},
"summary": {
- "$ref": "metricsSpecGroup.schema.json"
+ "description": "From `android.os.Debug.MemoryInfo[]`.",
+ "allOf": [
+ {
+ "$ref": "metricsSpecGroup.schema.json"
+ }
+ ]
},
"canaryProcessTester": {
"$ref": "canaryProcessTesterSpec.schema.json"