Home
last modified time | relevance | path

Searched refs:ratio (Results 1 – 13 of 13) sorted by relevance

/system/media/audio_utils/tests/
Dsample_tests.cpp63 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/
Dlimiter.c46 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/
Dbuild_all.py37 ratio = len(success) / (len(success) + len(failure))
39 print("%% success = %.2f" % (100 * ratio))
/system/vold/model/
DDisk.cpp481 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()
DDisk.h80 status_t partitionMixed(int8_t ratio);
/system/core/llkd/tests/
Dllkd_test.cpp207 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/
DStopwatch.h56 using ms = std::chrono::duration<float, std::ratio<1, 1000>>; in getElapsed()
/system/vold/binder/android/os/
DIVold.aidl40 void partition(@utf8InCpp String diskId, int partitionType, int ratio); in partition() argument
/system/netd/libnetdutils/
DLog.cpp163 using ms = std::chrono::duration<float, std::ratio<1, 1000>>; in withAutomaticDuration()
/system/vold/
DVoldNativeService.h52 binder::Status partition(const std::string& diskId, int32_t partitionType, int32_t ratio);
DVoldNativeService.cpp297 int32_t ratio) { in partition() argument
312 return translate(disk->partitionMixed(ratio)); in partition()
/system/netd/tests/
Dsock_diag_test.cpp191 using ms = std::chrono::duration<float, std::ratio<1, 1000>>; in TEST_F()
/system/netd/server/
DSockDiagTest.cpp469 using ms = std::chrono::duration<float, std::ratio<1, 1000>>; in TEST_P()