Home
last modified time | relevance | path

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

/aosp12/frameworks/native/cmds/installd/tests/
H A Dinstalld_dexopt_test.cpp384 int expected_access = should_dex_be_compiled ? 0 : -1; in CompileSecondaryDex() local
388 ASSERT_EQ(expected_access, access(odex.c_str(), R_OK)); in CompileSecondaryDex()
389 ASSERT_EQ(expected_access, access(vdex.c_str(), R_OK)); in CompileSecondaryDex()
417 int expected_access = should_dex_be_deleted ? -1 : 0; in reconcile_secondary_dex() local
421 ASSERT_EQ(expected_access, access(odex.c_str(), F_OK)); in reconcile_secondary_dex()
422 ASSERT_EQ(expected_access, access(vdex.c_str(), F_OK)); in reconcile_secondary_dex()