Searched refs:pvalues (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/libs/androidfw/tests/ |
D | ResourceTimer_test.cpp | 50 ASSERT_THAT(timer.pvalues.p50.floor, 0); in TEST() 51 ASSERT_THAT(timer.pvalues.p50.nominal, 0); in TEST() 58 ASSERT_THAT(timer.pvalues.p50.floor, US(49)); in TEST() 59 ASSERT_THAT(timer.pvalues.p50.nominal, US(50)); in TEST() 60 ASSERT_THAT(timer.pvalues.p90.floor, US(89)); in TEST() 61 ASSERT_THAT(timer.pvalues.p90.nominal, US(90)); in TEST() 62 ASSERT_THAT(timer.pvalues.p95.floor, US(94)); in TEST() 63 ASSERT_THAT(timer.pvalues.p95.nominal, US(95)); in TEST() 64 ASSERT_THAT(timer.pvalues.p99.floor, US(98)); in TEST() 65 ASSERT_THAT(timer.pvalues.p99.nominal, US(99)); in TEST() [all …]
|
/frameworks/base/libs/androidfw/ |
D | ResourceTimer.cpp | 140 memset(&pvalues, 0, sizeof(pvalues)); in reset() 221 memset(&pvalues, 0, sizeof(pvalues)); in compute() 238 if (sum >= l50 && pvalues.p50.nominal == 0) { in compute() 239 pvalues.p50.compute(sum, buckets[d][j], count, width[d], j * width[d]); in compute() 241 if (sum >= l90 && pvalues.p90.nominal == 0) { in compute() 242 pvalues.p90.compute(sum, buckets[d][j], count, width[d], j * width[d]); in compute() 244 if (sum >= l95 && pvalues.p95.nominal == 0) { in compute() 245 pvalues.p95.compute(sum, buckets[d][j], count, width[d], j * width[d]); in compute() 247 if (sum >= l99 && pvalues.p99.nominal == 0) { in compute() 248 pvalues.p99.compute(sum, buckets[d][j], count, width[d], j * width[d]); in compute()
|
/frameworks/base/core/jni/ |
D | android_content_res_ResourceTimer.cpp | 67 env->SetIntArrayRegion(percentile, 0, 1, &src.pvalues.p50.nominal); in NativeGetTimers() 68 env->SetIntArrayRegion(percentile, 1, 1, &src.pvalues.p90.nominal); in NativeGetTimers() 69 env->SetIntArrayRegion(percentile, 2, 1, &src.pvalues.p95.nominal); in NativeGetTimers() 70 env->SetIntArrayRegion(percentile, 3, 1, &src.pvalues.p99.nominal); in NativeGetTimers()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | ResourceTimer.h | 122 } pvalues; member
|