Searched refs:ratio (Results 1 – 13 of 13) 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/vold/model/ |
D | Disk.cpp | 481 status_t Disk::partitionMixed(int8_t ratio) { in partitionMixed() argument 530 if (ratio > 0) { in partitionMixed() 531 if (ratio < 10 || ratio > 90) { in partitionMixed() 536 uint64_t splitMb = ((mSize / 100) * ratio) / 1024 / 1024; in partitionMixed()
|
D | Disk.h | 80 status_t partitionMixed(int8_t ratio);
|
/system/core/llkd/tests/ |
D | llkd_test.cpp | 207 auto ratio = period / sleepfor; in llkd_driver_ABA() local 208 ASSERT_LT(0, ratio); in llkd_driver_ABA() 210 while (--ratio > 0) { in llkd_driver_ABA()
|
/system/netd/libnetdutils/include/netdutils/ |
D | Stopwatch.h | 56 using ms = std::chrono::duration<float, std::ratio<1, 1000>>; in getElapsed()
|
/system/vold/binder/android/os/ |
D | IVold.aidl | 40 void partition(@utf8InCpp String diskId, int partitionType, int ratio); in partition() argument
|
/system/netd/libnetdutils/ |
D | Log.cpp | 163 using ms = std::chrono::duration<float, std::ratio<1, 1000>>; in withAutomaticDuration()
|
/system/vold/ |
D | VoldNativeService.h | 52 binder::Status partition(const std::string& diskId, int32_t partitionType, int32_t ratio);
|
D | VoldNativeService.cpp | 297 int32_t ratio) { in partition() argument 312 return translate(disk->partitionMixed(ratio)); in partition()
|
/system/netd/tests/ |
D | sock_diag_test.cpp | 191 using ms = std::chrono::duration<float, std::ratio<1, 1000>>; in TEST_F()
|
/system/netd/server/ |
D | SockDiagTest.cpp | 469 using ms = std::chrono::duration<float, std::ratio<1, 1000>>; in TEST_P()
|