Lines Matching refs:mDataLoader

255         mDataLoader = mDataLoaderHolder;  in bindToDataLoaderOk()
336 *_aidl_return = mDataLoader; in getDataLoaderOk()
356 if (mDataLoader) { in unbindFromDataLoaderOk()
357 if (auto status = mDataLoader->destroy(id); !status.isOk()) { in unbindFromDataLoaderOk()
360 mDataLoader = nullptr; in unbindFromDataLoaderOk()
373 sp<IDataLoader> mDataLoader; member in android::os::incremental::MockDataLoaderManager
736 mDataLoader = dataLoader.get(); in SetUp()
863 NiceMock<MockDataLoader>* mDataLoader = nullptr; member in android::os::incremental::IncrementalServiceTest
924 EXPECT_CALL(*mDataLoader, create(_, _, _, _)).Times(0); in TEST_F()
925 EXPECT_CALL(*mDataLoader, start(_)).Times(0); in TEST_F()
926 EXPECT_CALL(*mDataLoader, destroy(_)).Times(0); in TEST_F()
937 EXPECT_CALL(*mDataLoader, create(_, _, _, _)).Times(1); in TEST_F()
938 EXPECT_CALL(*mDataLoader, start(_)).Times(1); in TEST_F()
939 EXPECT_CALL(*mDataLoader, destroy(_)).Times(1); in TEST_F()
953 EXPECT_CALL(*mDataLoader, create(_, _, _, _)).Times(7); in TEST_F()
954 EXPECT_CALL(*mDataLoader, start(_)).Times(7); in TEST_F()
955 EXPECT_CALL(*mDataLoader, destroy(_)).Times(1); in TEST_F()
1029 EXPECT_CALL(*mDataLoader, create(_, _, _, _)).Times(7); in TEST_F()
1030 EXPECT_CALL(*mDataLoader, start(_)).Times(7); in TEST_F()
1031 EXPECT_CALL(*mDataLoader, destroy(_)).Times(1); in TEST_F()
1146 mDataLoader->initializeCreateOkNoStatus(); in TEST_F()
1149 EXPECT_CALL(*mDataLoader, create(_, _, _, _)).Times(1); in TEST_F()
1150 EXPECT_CALL(*mDataLoader, start(_)).Times(1); in TEST_F()
1151 EXPECT_CALL(*mDataLoader, destroy(_)).Times(1); in TEST_F()
1165 mDataLoader->initializeCreateOkNoStatus(); in TEST_F()
1168 EXPECT_CALL(*mDataLoader, create(_, _, _, _)).Times(1); in TEST_F()
1169 EXPECT_CALL(*mDataLoader, start(_)).Times(1); in TEST_F()
1170 EXPECT_CALL(*mDataLoader, destroy(_)).Times(1); in TEST_F()
1183 mDataLoader->initializeCreateOkNoStatus(); in TEST_F()
1186 EXPECT_CALL(*mDataLoader, create(_, _, _, _)).Times(1); in TEST_F()
1187 EXPECT_CALL(*mDataLoader, start(_)).Times(0); in TEST_F()
1188 EXPECT_CALL(*mDataLoader, destroy(_)).Times(1); in TEST_F()
1201 mDataLoader->initializeCreateOkNoStatus(); in TEST_F()
1204 EXPECT_CALL(*mDataLoader, create(_, _, _, _)).Times(1); in TEST_F()
1205 EXPECT_CALL(*mDataLoader, start(_)).Times(0); in TEST_F()
1206 EXPECT_CALL(*mDataLoader, destroy(_)).Times(1); in TEST_F()
1221 mDataLoader->initializeCreateOkNoStatus(); in TEST_F()
1225 EXPECT_CALL(*mDataLoader, create(_, _, _, _)).Times(2); in TEST_F()
1226 EXPECT_CALL(*mDataLoader, start(_)).Times(0); in TEST_F()
1227 EXPECT_CALL(*mDataLoader, destroy(_)).Times(2); in TEST_F()
1257 mDataLoader->initializeCreateOkNoStatus(); in TEST_F()
1261 EXPECT_CALL(*mDataLoader, create(_, _, _, _)).Times(3); in TEST_F()
1262 EXPECT_CALL(*mDataLoader, start(_)).Times(1); in TEST_F()
1263 EXPECT_CALL(*mDataLoader, destroy(_)).Times(2); in TEST_F()
1306 mDataLoader->initializeCreateOk(); in TEST_F()
1318 EXPECT_CALL(*mDataLoader, create(_, _, _, _)).Times(1); in TEST_F()
1319 EXPECT_CALL(*mDataLoader, start(_)).Times(1); in TEST_F()
1320 EXPECT_CALL(*mDataLoader, destroy(_)).Times(1); in TEST_F()
1470 ASSERT_GE(mDataLoader->setStorageParams(true), 0); in TEST_F()
1493 ASSERT_GE(mDataLoader->setStorageParams(true), 0); in TEST_F()
1496 ASSERT_EQ(mDataLoader->setStorageParams(true), -EPERM); in TEST_F()
1529 ASSERT_GE(mDataLoader->setStorageParams(true), 0); in TEST_F()
1532 ASSERT_GE(mDataLoader->setStorageParams(true), 0); in TEST_F()
1537 ASSERT_EQ(mDataLoader->setStorageParams(true), -EPERM); in TEST_F()
1570 ASSERT_GE(mDataLoader->setStorageParams(true), 0); in TEST_F()
1573 ASSERT_GE(mDataLoader->setStorageParams(true), 0); in TEST_F()
1578 ASSERT_EQ(mDataLoader->setStorageParams(true), 0); in TEST_F()
1618 ASSERT_GE(mDataLoader->setStorageParams(true), 0); in TEST_F()
1621 ASSERT_GE(mDataLoader->setStorageParams(true), 0); in TEST_F()
1644 ASSERT_GE(mDataLoader->setStorageParams(true), 0); in TEST_F()
1650 ASSERT_EQ(mDataLoader->setStorageParams(true), -EPERM); in TEST_F()
1679 ASSERT_GE(mDataLoader->setStorageParams(true), 0); in TEST_F()
1701 ASSERT_LT(mDataLoader->setStorageParams(true), 0); in TEST_F()
1721 ASSERT_LT(mDataLoader->setStorageParams(true), 0); in TEST_F()
1743 ASSERT_LT(mDataLoader->setStorageParams(true), 0); in TEST_F()
1913 EXPECT_CALL(*mDataLoader, create(_, _, _, _)).Times(1); in TEST_F()
1914 EXPECT_CALL(*mDataLoader, start(_)).Times(1); in TEST_F()
1915 EXPECT_CALL(*mDataLoader, destroy(_)).Times(1); in TEST_F()
1928 ASSERT_EQ(mDataLoader->status(), IDataLoaderStatusListener::DATA_LOADER_STARTED); in TEST_F()
1944 ASSERT_EQ(mDataLoader->status(), IDataLoaderStatusListener::DATA_LOADER_STARTED); in TEST_F()
1960 ASSERT_EQ(mDataLoader->status(), IDataLoaderStatusListener::DATA_LOADER_DESTROYED); in TEST_F()
1975 EXPECT_CALL(*mDataLoader, create(_, _, _, _)).Times(1); in TEST_F()
1976 EXPECT_CALL(*mDataLoader, start(_)).Times(1); in TEST_F()
1977 EXPECT_CALL(*mDataLoader, destroy(_)).Times(1); in TEST_F()
1990 ASSERT_EQ(mDataLoader->status(), IDataLoaderStatusListener::DATA_LOADER_STARTED); in TEST_F()
2006 ASSERT_EQ(mDataLoader->status(), IDataLoaderStatusListener::DATA_LOADER_STARTED); in TEST_F()
2019 ASSERT_GE(mDataLoader->setStorageParams(true), 0); in TEST_F()
2025 ASSERT_EQ(mDataLoader->status(), IDataLoaderStatusListener::DATA_LOADER_STARTED); in TEST_F()
2035 ASSERT_GE(mDataLoader->setStorageParams(false), 0); in TEST_F()
2040 ASSERT_EQ(mDataLoader->status(), IDataLoaderStatusListener::DATA_LOADER_DESTROYED); in TEST_F()
2074 EXPECT_CALL(*mDataLoader, create(_, _, _, _)).Times(1); in TEST_F()
2075 EXPECT_CALL(*mDataLoader, start(_)).Times(1); in TEST_F()
2076 EXPECT_CALL(*mDataLoader, destroy(_)).Times(1); in TEST_F()
2139 ASSERT_GE(mDataLoader->setStorageParams(true), 0); in TEST_F()
2153 ASSERT_GE(mDataLoader->setStorageParams(false), 0); in TEST_F()