Searched refs:ratio (Results 1 – 14 of 14) sorted by relevance
/system/media/audio_utils/tests/ |
D | sample_tests.cpp | 63 float ratio = curr / prev; in TEST() local 74 ASSERT_GE(ratio, lower) << "prev " << prev << " curr " << curr; in TEST() 75 ASSERT_LE(ratio, upper) << "prev " << prev << " curr " << curr; in TEST()
|
/system/media/audio_utils/ |
D | limiter.c | 46 static const float ratio = 1.0 / factor; in limiter() local 47 out = crossover + atan_approximation((in_abs - crossover)*factor)*ratio; in limiter()
|
/system/tools/hidl/c2hal/test/ |
D | build_all.py | 37 ratio = len(success) / (len(success) + len(failure)) 39 print("%% success = %.2f" % (100 * ratio))
|
/system/extras/perf2cfg/perf2cfg/ |
D | edit.py | 431 ratio = 0 435 ratio = int(self.basic_block_event_counts[self.primary_event] / 439 if start <= ratio < end: 542 ratio = 0.0 544 ratio = event_count / total_event_count
|
/system/vold/model/ |
D | Disk.cpp | 482 status_t Disk::partitionMixed(int8_t ratio) { in partitionMixed() argument 532 if (ratio > 0) { in partitionMixed() 533 if (ratio < 10 || ratio > 90) { in partitionMixed() 538 uint64_t splitMb = ((mSize / 100) * ratio) / 1024 / 1024; in partitionMixed()
|
D | Disk.h | 90 status_t partitionMixed(int8_t ratio);
|
/system/core/llkd/tests/ |
D | llkd_test.cpp | 208 auto ratio = period / sleepfor; in llkd_driver_ABA() local 209 ASSERT_LT(0, ratio); in llkd_driver_ABA() 211 while (--ratio > 0) { in llkd_driver_ABA()
|
/system/teeui/test/example_config/ |
D | README | 59 …"native-test-flag": "--dp2px=<pixel per density independent pixel (px/dp) ratio of the device. Typ… 62 "native-test-flag": "--mm2px=<pixel per millimeter (px/mm) ratio>"
|
/system/netd/libnetdutils/ |
D | Log.cpp | 163 using ms = std::chrono::duration<float, std::ratio<1, 1000>>; in withAutomaticDuration()
|
/system/vold/binder/android/os/ |
D | IVold.aidl | 43 void partition(@utf8InCpp String diskId, int partitionType, int ratio); in partition() argument
|
/system/netd/tests/ |
D | sock_diag_test.cpp | 191 using ms = std::chrono::duration<float, std::ratio<1, 1000>>; in TEST_F()
|
/system/vold/ |
D | VoldNativeService.h | 53 binder::Status partition(const std::string& diskId, int32_t partitionType, int32_t ratio);
|
D | VoldNativeService.cpp | 236 int32_t ratio) { in partition() argument 251 return translate(disk->partitionMixed(ratio)); in partition()
|
/system/netd/server/ |
D | SockDiagTest.cpp | 470 using ms = std::chrono::duration<float, std::ratio<1, 1000>>; in TEST_P()
|