Home | History | Annotate | Download | only in tests

Lines Matching refs:state

38 static void BM_AssetManagerLoadAssets(benchmark::State& state) {
40 while (state.KeepRunning()) {
48 static void BM_AssetManagerLoadAssetsOld(benchmark::State& state) {
50 while (state.KeepRunning()) {
61 static void BM_AssetManagerLoadFrameworkAssets(benchmark::State& state) {
63 while (state.KeepRunning()) {
71 static void BM_AssetManagerLoadFrameworkAssetsOld(benchmark::State& state) {
73 while (state.KeepRunning()) {
84 static void BM_AssetManagerGetResource(benchmark::State& state, uint32_t resid) {
85 GetResourceBenchmark({GetTestDataPath() + "/basic/basic.apk"}, nullptr /*config*/, resid, state);
90 static void BM_AssetManagerGetResourceOld(benchmark::State& state, uint32_t resid) {
92 state);
97 static void BM_AssetManagerGetLibraryResource(benchmark::State& state) {
101 nullptr /*config*/, libclient::R::string::foo_one, state);
105 static void BM_AssetManagerGetLibraryResourceOld(benchmark::State& state) {
109 nullptr /*config*/, libclient::R::string::foo_one, state);
115 static void BM_AssetManagerGetResourceFrameworkLocale(benchmark::State& state) {
119 GetResourceBenchmark({kFrameworkPath}, &config, kStringOkId, state);
123 static void BM_AssetManagerGetResourceFrameworkLocaleOld(benchmark::State& state) {
127 GetResourceBenchmarkOld({kFrameworkPath}, &config, kStringOkId, state);
131 static void BM_AssetManagerGetBag(benchmark::State& state) {
134 state.SkipWithError("Failed to load assets");
141 while (state.KeepRunning()) {
154 static void BM_AssetManagerGetBagOld(benchmark::State& state) {
158 state.SkipWithError("Failed to load assets");
164 while (state.KeepRunning()) {
179 static void BM_AssetManagerGetResourceLocales(benchmark::State& state) {
182 state.SkipWithError("Failed to load assets");
189 while (state.KeepRunning()) {
197 static void BM_AssetManagerGetResourceLocalesOld(benchmark::State& state) {
201 state.SkipWithError("Failed to load assets");
207 while (state.KeepRunning()) {
215 static void BM_AssetManagerSetConfigurationFramework(benchmark::State& state) {
218 state.SkipWithError("Failed to load assets");
228 while (state.KeepRunning()) {
235 static void BM_AssetManagerSetConfigurationFrameworkOld(benchmark::State& state) {
239 state.SkipWithError("Failed to load assets");
248 while (state.KeepRunning()) {