• Home
  • Raw
  • Download

Lines Matching refs:mock

62     mock = std::make_unique<testing::NiceMock<MockPlatform>>(IsBridged());  in SetUp()
72 EXPECT_CALL(*mock, in SetExpectations()
83 mock.reset(); in TearDown()
99 EXPECT_CALL(*mock, in TEST_P()
123 EXPECT_CALL(*mock, mock_dlopen_ext(false, StrEq(test_lib_path), RTLD_NOW, NsEq("system"))) in TEST_P()
146 EXPECT_CALL(*mock, mock_dlopen_ext(false, StrEq(test_lib_path), RTLD_NOW, NsEq("system"))) in TEST_P()
210 ON_CALL(*mock, JniObject_getParent(StrEq(class_loader))).WillByDefault(Return(nullptr)); in SetExpectations()
212 EXPECT_CALL(*mock, NativeBridgeIsPathSupported(_)).Times(testing::AnyNumber()); in SetExpectations()
213 EXPECT_CALL(*mock, NativeBridgeInitialized()).Times(testing::AnyNumber()); in SetExpectations()
215 EXPECT_CALL(*mock, mock_create_namespace( in SetExpectations()
221 EXPECT_CALL(*mock, mock_link_namespaces(Eq(IsBridged()), _, NsEq("system"), in SetExpectations()
226 EXPECT_CALL(*mock, mock_link_namespaces(Eq(IsBridged()), _, NsEq("com_android_art"), in SetExpectations()
231 EXPECT_CALL(*mock, mock_link_namespaces(Eq(IsBridged()), _, NsEq("com_android_i18n"), in SetExpectations()
236 EXPECT_CALL(*mock, mock_link_namespaces(Eq(IsBridged()), _, NsEq("sphal"), in SetExpectations()
241 EXPECT_CALL(*mock, mock_link_namespaces(Eq(IsBridged()), _, NsEq("vndk"), in SetExpectations()
246 EXPECT_CALL(*mock, mock_link_namespaces(Eq(IsBridged()), _, NsEq("vndk_product"), in SetExpectations()
251 EXPECT_CALL(*mock, mock_link_namespaces(Eq(IsBridged()), _, NsEq("default"), in SetExpectations()
256 … EXPECT_CALL(*mock, mock_link_namespaces(Eq(IsBridged()), _, NsEq("com_android_neuralnetworks"), in SetExpectations()
261 EXPECT_CALL(*mock, mock_link_namespaces(Eq(IsBridged()), _, NsEq("com_android_conscrypt"), in SetExpectations()
407 ON_CALL(*mock, JniObject_getParent(StrEq(second_app_class_loader))) in TEST_P()
412 EXPECT_CALL(*mock, mock_create_namespace( in TEST_P()
417 EXPECT_CALL(*mock, mock_link_namespaces(Eq(IsBridged()), NsEq(second_app_dex_path.c_str()), _, _)) in TEST_P()