Home
last modified time | relevance | path

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

/cts/tests/app/src/android/app/cts/
DActivityManagerTest.java358 for (RunningAppProcessInfo ra : list) {
359 if (ra.processName.equals(SYSTEM_PROCESS)) {
363 assertTrue(ra.importance >= RunningAppProcessInfo.IMPORTANCE_FOREGROUND);
364 assertTrue(ra.importance < RunningAppProcessInfo.IMPORTANCE_GONE);
365 } else if (ra.processName.equals(TEST_PROCESS)) {
374 for (RunningAppProcessInfo ra : list) {
375 if (ra.processName.equals("android.app.stubs:remote")) {
389 for (RunningAppProcessInfo ra : listNew) {
390 if (ra.processName.equals("android.app.stubs:remote")) {
398 final RunningAppProcessInfo ra = new RunningAppProcessInfo();
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVXCheckAnalyzer.java625 private double calcMaxErr(ArrayList<AttitudeRec> ra, ArrayList<AttitudeRec> rb, int axis) { in calcMaxErr() argument
627 if (ra.size() != rb.size()) { in calcMaxErr()
638 for(i=0; i<ra.size(); ++i) { in calcMaxErr()
640 if (ra.get(i).time != rb.get(i).time) { in calcMaxErr()
646 diff = ra.get(i).roll - rb.get(i).roll; // they always opposite of each other.. in calcMaxErr()
649 diff = ra.get(i).pitch - rb.get(i).pitch; in calcMaxErr()
652 diff = Math.abs(((4*Math.PI + ra.get(i).yaw - rb.get(i).yaw)%(2*Math.PI)) in calcMaxErr()
673 private double calcSqrErr(ArrayList<AttitudeRec> ra, ArrayList<AttitudeRec> rb, int axis) { in calcSqrErr() argument
675 if (ra.size() != rb.size()) { in calcSqrErr()
686 for(i=0; i<ra.size(); ++i) { in calcSqrErr()
[all …]
/cts/tests/sensor/src/android/hardware/cts/
DSensorManagerStaticTest.java598 private static void assertRotationAnglesValid(String message, float[] ra) { in assertRotationAnglesValid() argument
600 assertTrue(message, ra.length == 3 && in assertRotationAnglesValid()
601 ra[0] >= -FLOAT_PI && ra[0] <= FLOAT_PI && // azimuth in assertRotationAnglesValid()
602 ra[1] >= -FLOAT_PI / 2.f && ra[1] <= FLOAT_PI / 2.f && // pitch in assertRotationAnglesValid()
603 ra[2] >= -FLOAT_PI && ra[2] <= FLOAT_PI); // roll in assertRotationAnglesValid()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DAdaptiveIconDrawableTest.java361 int ra = (a.getPixel(i, j) >> 16) & 0xff; in equalBitmaps() local