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.cpp452 status_t Disk::partitionMixed(int8_t ratio) { in partitionMixed() argument
502 if (ratio > 0) { in partitionMixed()
503 if (ratio < 10 || ratio > 90) { in partitionMixed()
508 uint64_t splitMb = ((mSize / 100) * ratio) / 1024 / 1024; in partitionMixed()
DDisk.h80 status_t partitionMixed(int8_t ratio);
/system/core/llkd/tests/
Dllkd_test.cpp208 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/
DREADME59 …"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/vold/binder/android/os/
DIVold.aidl41 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/netd/tests/
Dsock_diag_test.cpp191 using ms = std::chrono::duration<float, std::ratio<1, 1000>>; in TEST_F()
/system/vold/
DVoldNativeService.h52 binder::Status partition(const std::string& diskId, int32_t partitionType, int32_t ratio);
DVoldNativeService.cpp224 int32_t ratio) { in partition() argument
239 return translate(disk->partitionMixed(ratio)); in partition()
/system/netd/server/
DSockDiagTest.cpp470 using ms = std::chrono::duration<float, std::ratio<1, 1000>>; in TEST_P()