Searched refs:testing (Results 1 - 25 of 361) sorted by relevance

1234567891011>>

/system/update_engine/update_manager/
H A Dmock_policy.h35 ON_CALL(*this, UpdateCheckAllowed(testing::_, testing::_, testing::_,
36 testing::_))
37 .WillByDefault(testing::Invoke(
41 testing::_, testing::_, testing::_, testing::_, testing
[all...]
/system/tpm/tpm_manager/server/
H A Dmock_local_data_store.cc19 using testing::_;
20 using testing::ByRef;
21 using testing::DoAll;
22 using testing::Return;
23 using testing::SaveArg;
24 using testing::SetArgPointee;
H A Dmock_tpm_status.cc19 using testing::_;
20 using testing::Invoke;
21 using testing::Return;
H A Dmock_openssl_crypto_util.cc19 using testing::_;
20 using testing::Invoke;
H A Dmock_tpm_initializer.cc19 using testing::Return;
/system/update_engine/
H A Dmock_p2p_manager.h33 ON_CALL(*this, SetDevicePolicy(testing::_))
34 .WillByDefault(testing::Invoke(&fake_,
37 .WillByDefault(testing::Invoke(&fake_,
40 .WillByDefault(testing::Invoke(&fake_,
43 .WillByDefault(testing::Invoke(&fake_,
46 .WillByDefault(testing::Invoke(&fake_,
48 ON_CALL(*this, LookupUrlForFile(testing::_, testing::_, testing::_,
49 testing
[all...]
H A Dmock_omaha_request_params.h36 .WillByDefault(testing::Invoke(
38 ON_CALL(*this, SetTargetChannel(testing::_, testing::_, testing::_))
39 .WillByDefault(testing::Invoke(
42 .WillByDefault(testing::Invoke(
45 .WillByDefault(testing::Invoke(
/system/core/libunwindstack/tests/
H A DDwarfSectionTest.cpp58 class DwarfSectionTest : public ::testing::Test {
66 EXPECT_CALL(mock_section, GetFdeOffsetFromPc(0x1000, ::testing::_))
67 .WillOnce(::testing::Return(false));
79 EXPECT_CALL(mock_section, GetFdeOffsetFromPc(0x1000, ::testing::_))
80 .WillOnce(::testing::Return(true));
81 EXPECT_CALL(mock_section, GetFdeFromOffset(::testing::_)).WillOnce(::testing::Return(&fde));
93 EXPECT_CALL(mock_section, GetFdeOffsetFromPc(0x1000, ::testing::_))
94 .WillOnce(::testing::Return(true));
95 EXPECT_CALL(mock_section, GetFdeFromOffset(::testing
[all...]
/system/bt/osi/test/
H A DAllocationTestHarness.h23 class AllocationTestHarness : public ::testing::Test {
/system/security/keystore/tests/
H A Dgtest_main.cpp19 ::testing::InitGoogleTest(&argc, argv);
/system/tools/aidl/tests/
H A Dmain.cpp4 ::testing::InitGoogleTest(&argc, argv);
/system/tpm/trunks/
H A Dmock_session_manager.cc25 .WillByDefault(testing::Return(TPM_RH_FIRST));
H A Dscoped_key_handle_test.cc26 using testing::_;
27 using testing::DoAll;
28 using testing::Invoke;
29 using testing::NiceMock;
30 using testing::Return;
31 using testing::SetArgPointee;
32 using testing::WithArgs;
37 class ScopedKeyHandleTest : public testing::Test {
/system/update_engine/common/
H A Dmock_hardware.h34 .WillByDefault(testing::Invoke(&fake_,
37 .WillByDefault(testing::Invoke(&fake_,
40 .WillByDefault(testing::Invoke(&fake_,
43 .WillByDefault(testing::Invoke(&fake_,
45 ON_CALL(*this, IsOOBEComplete(testing::_))
46 .WillByDefault(testing::Invoke(&fake_,
49 .WillByDefault(testing::Invoke(&fake_,
52 .WillByDefault(testing::Invoke(&fake_,
55 .WillByDefault(testing::Invoke(&fake_,
58 .WillByDefault(testing
[all...]
/system/connectivity/wificond/tests/
H A Dmain.cpp23 ::testing::InitGoogleTest(&argc, argv);
24 ::testing::InitGoogleMock(&argc, argv);
H A Doffload_callback_test.cpp33 using testing::NiceMock;
38 class OffloadCallbackTest : public ::testing::Test {
58 ON_CALL(*handlers_, OnScanResultHandler(testing::_))
59 .WillByDefault(testing::Invoke(
75 ON_CALL(*handlers_, OnErrorHandler(testing::_))
76 .WillByDefault(testing::Invoke(
/system/tpm/attestation/server/
H A Dmock_database.cc19 using testing::Return;
20 using testing::ReturnRef;
/system/core/libion/tests/
H A Dexit_test.cpp33 SCOPED_TRACE(::testing::Message() << "heap " << heapMask);
34 SCOPED_TRACE(::testing::Message() << "size " << size);
41 }, ::testing::ExitedWithCode(0), "");
51 SCOPED_TRACE(::testing::Message() << "heap " << heapMask);
52 SCOPED_TRACE(::testing::Message() << "size " << size);
59 }, ::testing::ExitedWithCode(0), "");
70 SCOPED_TRACE(::testing::Message() << "heap " << heapMask);
71 SCOPED_TRACE(::testing::Message() << "size " << size);
78 }, ::testing::ExitedWithCode(0), "")
93 SCOPED_TRACE(::testing
[all...]
/system/connectivity/wifilogd/tests/
H A Dmain.cpp21 ::testing::InitGoogleTest(&argc, argv);
H A Dmock_command_processor.cpp34 std::make_unique<::testing::StrictMock<MockOs>>()) {}
/system/core/base/
H A Dtest_main.cpp22 ::testing::InitGoogleTest(&argc, argv);
H A Dquick_exit_test.cpp39 ASSERT_EXIT(android::base::quick_exit(123), testing::ExitedWithCode(123), "");
44 ASSERT_EXIT(android::base::quick_exit(123), testing::ExitedWithCode(123), "");
53 ASSERT_EXIT(android::base::quick_exit(123), testing::ExitedWithCode(42), "");
/system/hardware/interfaces/wifi/keystore/1.0/vts/functional/
H A DVtsHalWifiKeystoreV1_0TargetTest.cpp22 ::testing::InitGoogleTest(&argc, argv);
/system/tpm/attestation/common/
H A Dmock_crypto_utility.cc19 using ::testing::_;
20 using ::testing::Invoke;
21 using ::testing::Return;
22 using ::testing::WithArgs;
/system/nvram/core/tests/
H A Dgtest_stubs.cpp19 namespace testing { namespace
50 } // namespace testing
53 testing::detail::TestRegistry::instance()->RunAllTests();

Completed in 456 milliseconds

1234567891011>>