Lines Matching refs:instances
272 set<string> instances; in TEST_F() local
275 "nonexistent", {1, 0}, "None", Arch::ARCH_32, &instances)); in TEST_F()
276 EXPECT_TRUE(instances.empty()); in TEST_F()
279 "android.hardware.nfc", {2, 0}, "INfc", Arch::ARCH_32, &instances)); in TEST_F()
280 EXPECT_TRUE(instances.empty()); in TEST_F()
283 "android.hardware.nfc", {1, 0}, "INfcTest", Arch::ARCH_32, &instances)); in TEST_F()
284 EXPECT_TRUE(instances.empty()); in TEST_F()
287 "android.hardware.audio", {1, 0}, "IAudio", Arch::ARCH_64, &instances)); in TEST_F()
288 EXPECT_TRUE(instances.empty()); in TEST_F()
291 "android.hardware.light", {2, 0}, "ILight", Arch::ARCH_32, &instances)); in TEST_F()
292 EXPECT_TRUE(instances.empty()); in TEST_F()
296 "android.hardware.drm", {1, 0}, "IDrmTest", Arch::ARCH_32, &instances)); in TEST_F()
297 EXPECT_TRUE(instances.empty()); in TEST_F()
300 instances.clear(); in TEST_F()
303 Arch::ARCH_32, &instances)); in TEST_F()
304 EXPECT_THAT(instances, ContainerEq(set<string>({"default"}))); in TEST_F()
307 instances.clear(); in TEST_F()
310 &instances)); in TEST_F()
311 EXPECT_THAT(instances, ContainerEq(set<string>({"default"}))); in TEST_F()
314 instances.clear(); in TEST_F()
317 Arch::ARCH_32, &instances)); in TEST_F()
318 EXPECT_THAT(instances, ContainerEq(set<string>({"default"}))); in TEST_F()
321 instances.clear(); in TEST_F()
323 "android.hardware.camera", {2, 2}, "ICamera", Arch::ARCH_32, &instances)); in TEST_F()
324 EXPECT_THAT(instances, ContainerEq(set<string>({"legacy/0"}))); in TEST_F()
327 instances.clear(); in TEST_F()
330 Arch::ARCH_32, &instances)); in TEST_F()
331 EXPECT_THAT(instances, ContainerEq(set<string>({"default", "camera"}))); in TEST_F()
334 instances.clear(); in TEST_F()
336 "android.hardware.nfc", {1, 0}, "INfc", Arch::ARCH_32, &instances)); in TEST_F()
337 EXPECT_THAT(instances, ContainerEq(set<string>({"default", "fnfc"}))); in TEST_F()
340 instances.clear(); in TEST_F()
342 "android.hardware.drm", {2, 0}, "IDrm", Arch::ARCH_32, &instances)); in TEST_F()
343 EXPECT_THAT(instances, ContainerEq(set<string>({"default"}))); in TEST_F()
346 instances.clear(); in TEST_F()
349 &instances)); in TEST_F()
350 EXPECT_TRUE(instances.empty()); in TEST_F()
354 set<string> instances; in TEST_F() local
378 "non-existent", {1, 0}, "None", Arch::ARCH_32, &instances)); in TEST_F()
379 EXPECT_TRUE(instances.empty()); in TEST_F()
382 "android.hardware.nfc", {2, 0}, "INfc", Arch::ARCH_32, &instances)); in TEST_F()
383 EXPECT_TRUE(instances.empty()); in TEST_F()
386 "android.hardware.nfc", {1, 0}, "INfcTest", Arch::ARCH_32, &instances)); in TEST_F()
387 EXPECT_TRUE(instances.empty()); in TEST_F()
390 "android.hardware.audio", {1, 0}, "IAudio", Arch::ARCH_64, &instances)); in TEST_F()
391 EXPECT_TRUE(instances.empty()); in TEST_F()
394 "android.hardware.light", {2, 0}, "ILight", Arch::ARCH_32, &instances)); in TEST_F()
395 EXPECT_TRUE(instances.empty()); in TEST_F()
399 "android.hardware.drm", {1, 0}, "IDrmTest", Arch::ARCH_32, &instances)); in TEST_F()
400 EXPECT_TRUE(instances.empty()); in TEST_F()
403 instances.clear(); in TEST_F()
406 &instances)); in TEST_F()
407 EXPECT_THAT(instances, ContainerEq(set<string>({"default"}))); in TEST_F()
410 instances.clear(); in TEST_F()
413 &instances)); in TEST_F()
414 EXPECT_THAT(instances, ContainerEq(set<string>({"default"}))); in TEST_F()
417 instances.clear(); in TEST_F()
420 &instances)); in TEST_F()
421 EXPECT_THAT(instances, ContainerEq(set<string>({"default"}))); in TEST_F()
424 instances.clear(); in TEST_F()
426 "android.hardware.camera", {2, 2}, "ICamera", Arch::ARCH_32, &instances)); in TEST_F()
427 EXPECT_THAT(instances, ContainerEq(set<string>({"legacy/0"}))); in TEST_F()
430 instances.clear(); in TEST_F()
433 &instances)); in TEST_F()
434 EXPECT_THAT(instances, ContainerEq(set<string>({"default", "camera"}))); in TEST_F()
437 instances.clear(); in TEST_F()
439 "android.hardware.nfc", {1, 0}, "INfc", Arch::ARCH_32, &instances)); in TEST_F()
440 EXPECT_THAT(instances, ContainerEq(set<string>({"default"}))); in TEST_F()
443 instances.clear(); in TEST_F()
446 &instances)); in TEST_F()
447 EXPECT_TRUE(instances.empty()); in TEST_F()
450 instances.clear(); in TEST_F()
452 "android.hardware.foo", {1, 0}, "IFoo", Arch::ARCH_EMPTY, &instances)); in TEST_F()
453 EXPECT_THAT(instances, ContainerEq(set<string>({"default", "footest"}))); in TEST_F()
456 instances.clear(); in TEST_F()
458 "android.hardware.nfc", {3, 0}, "INfc", Arch::ARCH_EMPTY, &instances)); in TEST_F()
459 EXPECT_THAT(instances, ContainerEq(set<string>({"default"}))); in TEST_F()
462 instances.clear(); in TEST_F()
464 "android.hardware.drm", {2, 0}, "IDrm", Arch::ARCH_EMPTY, &instances)); in TEST_F()
465 EXPECT_THAT(instances, ContainerEq(set<string>({"default", "drmtest"}))); in TEST_F()
467 instances.clear(); in TEST_F()
469 "android.hardware.foo", {1, 0}, "", Arch::ARCH_EMPTY, &instances)); in TEST_F()
470 EXPECT_TRUE(instances.empty()); in TEST_F()
474 set<string> instances; in TEST_F() local
477 "nonexistent", {1, 0}, "None", Arch::ARCH_EMPTY, &instances)); in TEST_F()
478 EXPECT_TRUE(instances.empty()); in TEST_F()
483 Arch::ARCH_EMPTY, &instances)); in TEST_F()
484 EXPECT_TRUE(instances.empty()); in TEST_F()
489 &instances)); in TEST_F()
490 EXPECT_TRUE(instances.empty()); in TEST_F()
494 "android.hardware.camera", {1, 2}, "None", Arch::ARCH_EMPTY, &instances)); in TEST_F()
495 EXPECT_TRUE(instances.empty()); in TEST_F()
500 &instances)); in TEST_F()
501 EXPECT_TRUE(instances.empty()); in TEST_F()
506 &instances)); in TEST_F()
507 EXPECT_TRUE(instances.empty()); in TEST_F()
512 &instances)); in TEST_F()
513 EXPECT_TRUE(instances.empty()); in TEST_F()
517 "android.hardware.audio", {2, 0}, "IAudio", Arch::ARCH_64, &instances)); in TEST_F()
518 EXPECT_TRUE(instances.empty()); in TEST_F()
524 &instances)); in TEST_F()
525 EXPECT_TRUE(instances.empty()); in TEST_F()
528 instances.clear(); in TEST_F()
531 &instances)); in TEST_F()
532 EXPECT_THAT(instances, ContainerEq(set<string>({"camera"}))); in TEST_F()
535 instances.clear(); in TEST_F()
537 "android.hardware.audio", {2, 0}, "IAudio", Arch::ARCH_32, &instances)); in TEST_F()
538 EXPECT_THAT(instances, ContainerEq(set<string>({"default"}))); in TEST_F()
541 instances.clear(); in TEST_F()
544 &instances)); in TEST_F()
545 EXPECT_TRUE(instances.empty()); in TEST_F()
549 set<string> instances; in TEST_F() local
552 "android.hardware.light", {2, 0}, "ILight", Arch::ARCH_32, &instances)); in TEST_F()
553 EXPECT_THAT(instances, ContainerEq(set<string>({"default"}))); in TEST_F()
556 instances.clear(); in TEST_F()
559 Arch::ARCH_32, &instances)); in TEST_F()
560 EXPECT_THAT(instances, ContainerEq(set<string>({"default"}))); in TEST_F()
563 instances.clear(); in TEST_F()
565 "android.hardware.drm", {1, 0}, "IDrmTest", Arch::ARCH_32, &instances)); in TEST_F()
566 EXPECT_THAT(instances, ContainerEq(set<string>({"default"}))); in TEST_F()
569 instances.clear(); in TEST_F()
571 "android.hardware.drm", {1, 0}, "IDrm", Arch::ARCH_32, &instances)); in TEST_F()
572 EXPECT_THAT(instances, ContainerEq(set<string>({"default", "drm"}))); in TEST_F()
575 instances.clear(); in TEST_F()
578 &instances)); in TEST_F()
579 EXPECT_TRUE(instances.empty()); in TEST_F()