Lines Matching refs:dbus
43 dbus::Bus::Options options; in SetUp()
44 mock_bus_ = new NiceMock<dbus::MockBus>(options); in SetUp()
45 dbus::ObjectPath path(kAttestationServicePath); in SetUp()
46 mock_exported_object_ = new NiceMock<dbus::MockExportedObject>( in SetUp()
55 std::unique_ptr<dbus::Response> CallMethod(dbus::MethodCall* method_call) { in CallMethod()
60 std::unique_ptr<dbus::MethodCall> CreateMethodCall( in CreateMethodCall()
62 std::unique_ptr<dbus::MethodCall> call(new dbus::MethodCall( in CreateMethodCall()
69 scoped_refptr<dbus::MockBus> mock_bus_;
70 scoped_refptr<dbus::MockExportedObject> mock_exported_object_;
101 std::unique_ptr<dbus::MethodCall> call = CreateMethodCall( in TEST_F()
103 dbus::MessageWriter writer(call.get()); in TEST_F()
106 dbus::MessageReader reader(response.get()); in TEST_F()
123 std::unique_ptr<dbus::MethodCall> call = CreateMethodCall( in TEST_F()
126 dbus::MessageWriter writer(call.get()); in TEST_F()
129 dbus::MessageReader reader(response.get()); in TEST_F()
154 std::unique_ptr<dbus::MethodCall> call = CreateMethodCall(kGetKeyInfo); in TEST_F()
155 dbus::MessageWriter writer(call.get()); in TEST_F()
158 dbus::MessageReader reader(response.get()); in TEST_F()
184 std::unique_ptr<dbus::MethodCall> call = in TEST_F()
186 dbus::MessageWriter writer(call.get()); in TEST_F()
189 dbus::MessageReader reader(response.get()); in TEST_F()
214 std::unique_ptr<dbus::MethodCall> call = in TEST_F()
216 dbus::MessageWriter writer(call.get()); in TEST_F()
219 dbus::MessageReader reader(response.get()); in TEST_F()
252 std::unique_ptr<dbus::MethodCall> call = in TEST_F()
254 dbus::MessageWriter writer(call.get()); in TEST_F()
257 dbus::MessageReader reader(response.get()); in TEST_F()
285 std::unique_ptr<dbus::MethodCall> call = in TEST_F()
287 dbus::MessageWriter writer(call.get()); in TEST_F()
290 dbus::MessageReader reader(response.get()); in TEST_F()
316 std::unique_ptr<dbus::MethodCall> call = CreateMethodCall(kDecrypt); in TEST_F()
317 dbus::MessageWriter writer(call.get()); in TEST_F()
320 dbus::MessageReader reader(response.get()); in TEST_F()
344 std::unique_ptr<dbus::MethodCall> call = CreateMethodCall(kSign); in TEST_F()
345 dbus::MessageWriter writer(call.get()); in TEST_F()
348 dbus::MessageReader reader(response.get()); in TEST_F()
370 std::unique_ptr<dbus::MethodCall> call = in TEST_F()
372 dbus::MessageWriter writer(call.get()); in TEST_F()
375 dbus::MessageReader reader(response.get()); in TEST_F()