Home
last modified time | relevance | path

Searched refs:ratio (Results 1 – 14 of 14) 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/extras/perf2cfg/perf2cfg/
Dedit.py431 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/
DDisk.cpp482 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()
DDisk.h90 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/netd/libnetdutils/
DLog.cpp163 using ms = std::chrono::duration<float, std::ratio<1, 1000>>; in withAutomaticDuration()
/system/vold/binder/android/os/
DIVold.aidl43 void partition(@utf8InCpp String diskId, int partitionType, int ratio); in partition() argument
/system/netd/tests/
Dsock_diag_test.cpp191 using ms = std::chrono::duration<float, std::ratio<1, 1000>>; in TEST_F()
/system/vold/
DVoldNativeService.h53 binder::Status partition(const std::string& diskId, int32_t partitionType, int32_t ratio);
DVoldNativeService.cpp236 int32_t ratio) { in partition() argument
251 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()