Home
last modified time | relevance | path

Searched refs:ARRAY_SIZE (Results 1 – 10 of 10) sorted by relevance

/aosp14/frameworks/base/startop/apps/test/src/
H A DCPUIntensiveBenchmarks.java26 public static final int ARRAY_SIZE = 30000; field in CPUIntensiveBenchmarks
50 mArray = new int[threadCount][ARRAY_SIZE]; in doSomeWork()
/aosp14/frameworks/base/core/java/com/android/internal/app/procstats/
H A DSparseMappingTable.java50 public static final int ARRAY_SIZE = 4096; field in SparseMappingTable
135 array = new long[ARRAY_SIZE]; in getOrAddKey()
480 mLongs.add(new long[ARRAY_SIZE]); in SparseMappingTable()
489 mLongs.add(new long[ARRAY_SIZE]); in reset()
H A DProcessStats.java869 out.writeInt(SparseMappingTable.ARRAY_SIZE); in writeToParcel()
1102 if (!readCheckedInt(in, SparseMappingTable.ARRAY_SIZE, "longs size")) { in readFromParcel()
/aosp14/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_utils_SurfaceUtils.cpp44 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(*(a))) macro
161 env->SetIntArrayRegion(dimens, /*start*/ 0, /*length*/ ARRAY_SIZE(dimenBuf), dimenBuf); in SurfaceUtils_nativeDetectSurfaceDimens()
/aosp14/system/core/fs_mgr/
H A Dfs_mgr.cpp95 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(*(a))) macro
245 ret = logwrap_fork_execvp(ARRAY_SIZE(e2fsck_forced_argv), e2fsck_forced_argv, in check_fs()
249 ret = logwrap_fork_execvp(ARRAY_SIZE(e2fsck_argv), e2fsck_argv, &status, false, in check_fs()
281 ret = logwrap_fork_execvp(ARRAY_SIZE(f2fs_fsck_argv), f2fs_fsck_argv, &status, in check_fs()
404 if (!run_command(argv, ARRAY_SIZE(argv))) { in tune_quota()
446 if (!run_command(argv, ARRAY_SIZE(argv))) { in tune_reserved_size()
491 if (!run_command(argv, ARRAY_SIZE(argv))) { in tune_encrypt()
528 if (!run_command(argv, ARRAY_SIZE(argv))) { in tune_verity()
564 if (!run_command(argv, ARRAY_SIZE(argv))) { in tune_casefold()
603 if (!run_command(tune2fs_args, ARRAY_SIZE(tune2fs_args))) { in tune_metadata_csum()
[all …]
/aosp14/system/core/storaged/include/
H A Dstoraged.h37 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) macro
/aosp14/system/core/trusty/storage/tests/
H A Dmain.cpp25 #define ARRAY_SIZE(x) (sizeof(x)/sizeof((x)[0])) macro
543 for (uint i = 0; i < ARRAY_SIZE(handles); ++i) { in TEST_P()
551 for (uint i = 0; i < ARRAY_SIZE(handles)-1; i++) { in TEST_P()
552 for (uint j = i+1; j < ARRAY_SIZE(handles); j++) { in TEST_P()
558 for (uint i = 0; i < ARRAY_SIZE(handles); ++i) { in TEST_P()
563 for (uint i = 0; i < ARRAY_SIZE(handles); ++i) { in TEST_P()
570 for (uint i = 0; i < ARRAY_SIZE(handles)-1; i++) { in TEST_P()
571 for (uint j = i+1; j < ARRAY_SIZE(handles); j++) { in TEST_P()
577 for (uint i = 0; i < ARRAY_SIZE(handles); ++i) { in TEST_P()
/aosp14/system/core/storaged/
H A Dstoraged_info.cpp255 rev < 7 || rev > ARRAY_SIZE(emmc_ver_str)) { in report_sysfs()
/aosp14/system/core/llkd/
H A Dlibllkd.cpp54 #define ARRAY_SIZE(x) (sizeof(x) / sizeof(*(x))) macro
415 for (size_t state = 0; state < ARRAY_SIZE(llkStateTimeoutMs); ++state) { in llkValidate()
/aosp14/system/core/healthd/
H A Dhealthd_mode_charger.cpp82 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) macro