Lines Matching refs:device_factory
49 self.device_factory = mock.MagicMock()
50 self.device_factory._branch = self.BRANCH
51 self.device_factory._build_target = self.BUILD_TARGET
52 self.device_factory._build_id = self.BUILD_ID
53 self.device_factory._kernel_branch = None
54 self.device_factory._kernel_build_id = None
55 self.device_factory._kernel_build_target = None
56 self.device_factory._emulator_branch = None
57 self.device_factory._emulator_build_id = None
58 self.device_factory._emulator_build_target = None
71 self.device_factory, "CreateInstance", return_value=self.INSTANCE)
73 self.device_factory,
92 pool = common_operations.DevicePool(self.device_factory)
94 self.assertEqual(self.device_factory.CreateInstance.call_count, 5)
101 self.device_factory, 1,
119 self.device_factory, 1,