Lines Matching defs:device_claimer_
42 device_claimer_(kServiceName, &device_info_, false) {}
46 DeviceClaimer device_claimer_;
51 EXPECT_FALSE(device_claimer_.DevicesClaimed());
56 EXPECT_TRUE(device_claimer_.Claim(kTestDevice1Name, &error));
58 EXPECT_TRUE(device_claimer_.DevicesClaimed());
64 EXPECT_TRUE(device_claimer_.Claim(kTestDevice2Name, &error));
66 EXPECT_TRUE(device_claimer_.DevicesClaimed());
74 EXPECT_FALSE(device_claimer_.Claim(kTestDevice1Name, &error));
82 EXPECT_TRUE(device_claimer_.Release(kTestDevice1Name, &error));
85 EXPECT_TRUE(device_claimer_.DevicesClaimed());
94 EXPECT_FALSE(device_claimer_.Release(kTestDevice1Name, &error));
97 EXPECT_TRUE(device_claimer_.DevicesClaimed());
104 EXPECT_TRUE(device_claimer_.Release(kTestDevice2Name, &error));
109 EXPECT_FALSE(device_claimer_.DevicesClaimed());