• Home
  • Raw
  • Download

Lines Matching refs:string

44 Result<ResourceMapping> TestGetResourceMapping(const std::string& local_target_path,  in TestGetResourceMapping()
45 const std::string& local_overlay_path, in TestGetResourceMapping()
46 const std::string& overlay_name, in TestGetResourceMapping()
49 const std::string target_path = (local_target_path[0] == '/') in TestGetResourceMapping()
57 const std::string overlay_path = (local_overlay_path[0] == '/') in TestGetResourceMapping()
144 MappingExists(res, R::target::string::str1, R::overlay::string::str1, false /* rewrite */)); in TEST()
146 MappingExists(res, R::target::string::str3, R::overlay::string::str3, false /* rewrite */)); in TEST()
148 MappingExists(res, R::target::string::str4, R::overlay::string::str4, false /* rewrite */)); in TEST()
160 MappingExists(res, R::target::string::str1, R::overlay::string::str4, true /* rewrite */)); in TEST()
162 MappingExists(res, R::target::string::str3, R::overlay::string::str1, true /* rewrite */)); in TEST()
164 MappingExists(res, R::target::string::str4, R::overlay::string::str3, true /* rewrite */)); in TEST()
176 ASSERT_RESULT(MappingExists(res, R::target::string::str1, 0x0104000a, in TEST()
179 MappingExists(res, R::target::string::str3, R::overlay::string::str3, true /* rewrite */)); in TEST()
191 ASSERT_RESULT(MappingExists(res, R::target::string::str1, Res_value::TYPE_STRING, in TEST()
216 ASSERT_RESULT(MappingExists(res, R::target::string::str1, Res_value::TYPE_REFERENCE, 0x7f010000)); in TEST()
229 ASSERT_RESULT(MappingExists(res, R::target::string::policy_public, in TEST()
230 R::overlay::string::policy_public, true /* rewrite */)); in TEST()
231 ASSERT_RESULT(MappingExists(res, R::target::string::policy_system, in TEST()
232 R::overlay::string::policy_system, true /* rewrite */)); in TEST()
233 ASSERT_RESULT(MappingExists(res, R::target::string::policy_system_vendor, in TEST()
234 R::overlay::string::policy_system_vendor, true /* rewrite */)); in TEST()
248 ASSERT_RESULT(MappingExists(res, R::target::string::policy_public, in TEST()
249 R::overlay::string::policy_public, true /* rewrite */)); in TEST()
250 ASSERT_RESULT(MappingExists(res, R::target::string::policy_system, in TEST()
251 R::overlay::string::policy_system, true /* rewrite */)); in TEST()
252 ASSERT_RESULT(MappingExists(res, R::target::string::policy_system_vendor, in TEST()
253 R::overlay::string::policy_system_vendor, true /* rewrite */)); in TEST()
268 ASSERT_RESULT(MappingExists(res, R::target::string::not_overlayable, in TEST()
269 R::overlay::string::not_overlayable, true /* rewrite */)); in TEST()
271 MappingExists(res, R::target::string::other, R::overlay::string::other, true /* rewrite */)); in TEST()
272 ASSERT_RESULT(MappingExists(res, R::target::string::policy_actor, in TEST()
273 R::overlay::string::policy_actor, true /* rewrite */)); in TEST()
274 ASSERT_RESULT(MappingExists(res, R::target::string::policy_odm, R::overlay::string::policy_odm, in TEST()
276 ASSERT_RESULT(MappingExists(res, R::target::string::policy_oem, R::overlay::string::policy_oem, in TEST()
278 ASSERT_RESULT(MappingExists(res, R::target::string::policy_product, in TEST()
279 R::overlay::string::policy_product, true /* rewrite */)); in TEST()
280 ASSERT_RESULT(MappingExists(res, R::target::string::policy_public, in TEST()
281 R::overlay::string::policy_public, true /* rewrite */)); in TEST()
282 ASSERT_RESULT(MappingExists(res, R::target::string::policy_config_signature, in TEST()
283 R::overlay::string::policy_config_signature, true /* rewrite */)); in TEST()
284 ASSERT_RESULT(MappingExists(res, R::target::string::policy_signature, in TEST()
285 R::overlay::string::policy_signature, true /* rewrite */)); in TEST()
286 ASSERT_RESULT(MappingExists(res, R::target::string::policy_system, in TEST()
287 R::overlay::string::policy_system, true /* rewrite */)); in TEST()
288 ASSERT_RESULT(MappingExists(res, R::target::string::policy_system_vendor, in TEST()
289 R::overlay::string::policy_system_vendor, true /* rewrite */)); in TEST()
305 MappingExists(res, R::target::string::str1, R::overlay::string::str1, false /* rewrite */)); in TEST()
307 MappingExists(res, R::target::string::str3, R::overlay::string::str3, false /* rewrite */)); in TEST()
309 MappingExists(res, R::target::string::str4, R::overlay::string::str4, false /* rewrite */)); in TEST()
336 ASSERT_RESULT(MappingExists(res, R::target::string::not_overlayable, in TEST()
337 R::overlay::string::not_overlayable, true /* rewrite */)); in TEST()
338 ASSERT_RESULT(MappingExists(res, R::target::string::other, R::overlay::string::other, in TEST()
340 ASSERT_RESULT(MappingExists(res, R::target::string::policy_actor, in TEST()
341 R::overlay::string::policy_actor, true /* rewrite */)); in TEST()
342 ASSERT_RESULT(MappingExists(res, R::target::string::policy_odm, R::overlay::string::policy_odm, in TEST()
344 ASSERT_RESULT(MappingExists(res, R::target::string::policy_oem, R::overlay::string::policy_oem, in TEST()
346 ASSERT_RESULT(MappingExists(res, R::target::string::policy_product, in TEST()
347 R::overlay::string::policy_product, true /* rewrite */)); in TEST()
348 ASSERT_RESULT(MappingExists(res, R::target::string::policy_public, in TEST()
349 R::overlay::string::policy_public, true /* rewrite */)); in TEST()
350 ASSERT_RESULT(MappingExists(res, R::target::string::policy_config_signature, in TEST()
351 R::overlay::string::policy_config_signature, true /* rewrite */)); in TEST()
352 ASSERT_RESULT(MappingExists(res, R::target::string::policy_signature, in TEST()
353 R::overlay::string::policy_signature, true /* rewrite */)); in TEST()
354 ASSERT_RESULT(MappingExists(res, R::target::string::policy_system, in TEST()
355 R::overlay::string::policy_system, true /* rewrite */)); in TEST()
356 ASSERT_RESULT(MappingExists(res, R::target::string::policy_system_vendor, in TEST()
357 R::overlay::string::policy_system_vendor, true /* rewrite */)); in TEST()