Home
last modified time | relevance | path

Searched refs:callback_count (Results 1 – 7 of 7) sorted by relevance

/system/tpm/tpm_manager/client/
Dtpm_nvram_dbus_proxy_test.cc72 int callback_count = 0; in TEST_F() local
73 auto callback = [&callback_count](const DefineNvramReply& reply) { in TEST_F()
74 callback_count++; in TEST_F()
81 EXPECT_EQ(1, callback_count); in TEST_F()
106 int callback_count = 0; in TEST_F() local
107 auto callback = [&callback_count](const DestroyNvramReply& reply) { in TEST_F()
108 callback_count++; in TEST_F()
114 EXPECT_EQ(1, callback_count); in TEST_F()
141 int callback_count = 0; in TEST_F() local
142 auto callback = [&callback_count](const WriteNvramReply& reply) { in TEST_F()
[all …]
Dtpm_ownership_dbus_proxy_test.cc73 int callback_count = 0; in TEST_F() local
74 auto callback = [&callback_count](const GetTpmStatusReply& reply) { in TEST_F()
75 callback_count++; in TEST_F()
86 EXPECT_EQ(1, callback_count); in TEST_F()
109 int callback_count = 0; in TEST_F() local
110 auto callback = [&callback_count](const TakeOwnershipReply& reply) { in TEST_F()
111 callback_count++; in TEST_F()
116 EXPECT_EQ(1, callback_count); in TEST_F()
142 int callback_count = 0; in TEST_F() local
143 auto callback = [&callback_count](const RemoveOwnerDependencyReply& reply) { in TEST_F()
[all …]
/system/tpm/attestation/client/
Ddbus_proxy_test.cc75 int callback_count = 0; in TEST_F() local
76 auto callback = [&callback_count](const CreateGoogleAttestedKeyReply& reply) { in TEST_F()
77 callback_count++; in TEST_F()
90 EXPECT_EQ(1, callback_count); in TEST_F()
121 int callback_count = 0; in TEST_F() local
122 auto callback = [&callback_count](const GetKeyInfoReply& reply) { in TEST_F()
123 callback_count++; in TEST_F()
136 EXPECT_EQ(1, callback_count); in TEST_F()
162 int callback_count = 0; in TEST_F() local
163 auto callback = [&callback_count](const GetEndorsementInfoReply& reply) { in TEST_F()
[all …]
/system/bt/service/test/
Dlow_energy_client_unittest.cpp306 int callback_count = 0; in TEST_F() local
314 callback_count++; in TEST_F()
321 EXPECT_EQ(0, callback_count); in TEST_F()
325 EXPECT_EQ(0, callback_count); in TEST_F()
344 EXPECT_EQ(0, callback_count); in TEST_F()
352 EXPECT_EQ(1, callback_count); in TEST_F()
375 EXPECT_EQ(2, callback_count); in TEST_F()
389 int callback_count = 0; in TEST_F() local
393 callback_count++; in TEST_F()
407 EXPECT_EQ(0, callback_count); in TEST_F()
[all …]
Dgatt_client_unittest.cpp104 int callback_count = 0; in TEST_F() local
112 callback_count++; in TEST_F()
119 EXPECT_EQ(0, callback_count); in TEST_F()
123 EXPECT_EQ(0, callback_count); in TEST_F()
142 EXPECT_EQ(0, callback_count); in TEST_F()
150 EXPECT_EQ(1, callback_count); in TEST_F()
170 EXPECT_EQ(2, callback_count); in TEST_F()
Dgatt_server_unittest.cpp312 int callback_count = 0; in TEST_F() local
320 callback_count++; in TEST_F()
327 EXPECT_EQ(0, callback_count); in TEST_F()
331 EXPECT_EQ(0, callback_count); in TEST_F()
350 EXPECT_EQ(0, callback_count); in TEST_F()
358 EXPECT_EQ(1, callback_count); in TEST_F()
379 EXPECT_EQ(2, callback_count); in TEST_F()
1226 int callback_count = 0; in TEST_F() local
1229 callback_count++; in TEST_F()
1294 EXPECT_EQ(2, callback_count); in TEST_F()
[all …]
/system/tpm/attestation/server/
Dattestation_service_test.cc423 int callback_count = 0; in TEST_F() local
424 auto callback = [&callback_count](const CreateGoogleAttestedKeyReply& reply) { in TEST_F()
425 callback_count++; in TEST_F()
430 EXPECT_EQ(0, callback_count); in TEST_F()
435 int callback_count = 0; in TEST_F() local
436 auto callback = [&callback_count](const CreateGoogleAttestedKeyReply& reply) { in TEST_F()
437 callback_count++; in TEST_F()
446 EXPECT_EQ(0, callback_count); in TEST_F()