Home
last modified time | relevance | path

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

/platform_testing/tests/functional/devicehealthtests/src/com/android/devicehealth/tests/
DSensorsBootCheck.java66 StringBuilder errorDetails = new StringBuilder("Error details: \n"); in checkSensors() local
68 Sensor.TYPE_ACCELEROMETER, errorDetails) ? 1 : 0; in checkSensors()
70 Sensor.TYPE_AMBIENT_TEMPERATURE, errorDetails) ? 1 : 0; in checkSensors()
72 Sensor.TYPE_PRESSURE, errorDetails) ? 1 : 0; in checkSensors()
74 Sensor.TYPE_MAGNETIC_FIELD, errorDetails) ? 1 : 0; in checkSensors()
76 Sensor.TYPE_GYROSCOPE, errorDetails) ? 1 : 0; in checkSensors()
78 Sensor.TYPE_LIGHT, errorDetails) ? 1 : 0; in checkSensors()
80 Sensor.TYPE_PROXIMITY, errorDetails) ? 1 : 0; in checkSensors()
82 Sensor.TYPE_RELATIVE_HUMIDITY, errorDetails) ? 1 : 0; in checkSensors()
84 Sensor.TYPE_STEP_COUNTER, errorDetails) ? 1 : 0; in checkSensors()
[all …]
DHealthCheckBase.java57 StringBuilder errorDetails = new StringBuilder("Error details:\n"); in checkCrash() local
72 errorDetails.append(label); in checkCrash()
73 errorDetails.append(": "); in checkCrash()
74 errorDetails.append(dropboxSnippet.substring(0, 70)); in checkCrash()
75 errorDetails.append(" ...\n"); in checkCrash()
79 Assert.assertEquals(errorDetails.toString(), 0, crashCount); in checkCrash()
/platform_testing/tests/functional/devicehealthchecks/src/com/android/devicehealthchecks/
DSensorsBootCheck.java66 StringBuilder errorDetails = new StringBuilder("Error details: \n"); in checkSensors() local
68 Sensor.TYPE_ACCELEROMETER, errorDetails) ? 1 : 0; in checkSensors()
70 Sensor.TYPE_AMBIENT_TEMPERATURE, errorDetails) ? 1 : 0; in checkSensors()
72 Sensor.TYPE_PRESSURE, errorDetails) ? 1 : 0; in checkSensors()
74 Sensor.TYPE_MAGNETIC_FIELD, errorDetails) ? 1 : 0; in checkSensors()
76 Sensor.TYPE_GYROSCOPE, errorDetails) ? 1 : 0; in checkSensors()
78 Sensor.TYPE_LIGHT, errorDetails) ? 1 : 0; in checkSensors()
80 Sensor.TYPE_PROXIMITY, errorDetails) ? 1 : 0; in checkSensors()
82 Sensor.TYPE_RELATIVE_HUMIDITY, errorDetails) ? 1 : 0; in checkSensors()
84 Sensor.TYPE_STEP_COUNTER, errorDetails) ? 1 : 0; in checkSensors()
[all …]
DCrashCheckBase.java77 StringBuilder errorDetails = new StringBuilder("\nPlease triage this boot crash:\n"); in checkCrash() local
78 errorDetails.append("go/how-to-triage-devicehealthchecks\n"); in checkCrash()
79 errorDetails.append("Error Details:\n"); in checkCrash()
94 errorDetails.append(label); in checkCrash()
95 errorDetails.append(": (missing details)\n"); in checkCrash()
107 errorDetails.append(label); in checkCrash()
108 errorDetails.append(": "); in checkCrash()
116 errorDetails.append(line); in checkCrash()
118 errorDetails.append(scanner.nextLine()); in checkCrash()
127 errorDetails.append(truncate(dropboxSnippet, MAX_CRASH_SNIPPET_LINES)); in checkCrash()
[all …]