• Home
  • Raw
  • Download

Lines Matching refs:service_

90       service_ = android::interface_cast<IApexService>(binder);  in ApexServiceTest()
100 ASSERT_NE(nullptr, service_.get()); in SetUp()
123 android::binder::Status status = service_->getActivePackages(&list); in IsActive()
137 android::binder::Status status = service_->getAllPackages(&list); in GetAllPackages()
148 android::binder::Status status = service_->getActivePackages(&list); in GetActivePackages()
159 android::binder::Status status = service_->getAllPackages(&list); in GetInactivePackages()
174 android::binder::Status status = service_->getActivePackage(name, &package); in GetActivePackage()
199 android::binder::Status status = service_->getActivePackages(&list); in GetActivePackagesStrings()
215 android::binder::Status status = service_->getAllPackages(&list); in GetFactoryPackages()
406 sp<IApexService> service_; member in android::apex::ApexServiceTest
481 android::binder::Status st = service_->stagePackage(test_file, &success); in TEST_F()
506 service_->stagePackage(installer.test_file, &success);
538 ASSERT_TRUE(IsOk(service_->stagePackage(installer.test_file, &success))); in TEST_F()
556 ASSERT_TRUE(IsOk(service_->submitStagedSession(1543, {}, &list, &success))); in TEST_F()
580 ASSERT_TRUE(IsOk(service_->submitStagedSession(239, {}, &list, &success))); in TEST_F()
602 ASSERT_TRUE(IsOk(service_->stagePackage(installer.test_file, &success))); in TEST_F()
624 ASSERT_TRUE(IsOk(service_->stagePackage(installer.test_file, &success))); in TEST_F()
629 ASSERT_TRUE(IsOk(service_->stagePackage(installer.test_file, &success))); in TEST_F()
653 ASSERT_TRUE(IsOk(service_->stagePackages(packages, &success))); in TEST_F()
669 ASSERT_NE(nullptr, service_.get()); in SetUp()
689 IsOk(service_->stagePackage(installer_->test_file, &success))); in SetUp()
698 service_->deactivatePackage(installer_->test_installed_file); in TearDown()
700 service_->deactivatePackage(installer_->test_file); in TearDown()
742 android::binder::Status st = service_->activatePackage(installer_->test_file); in TEST_F()
756 ASSERT_TRUE(IsOk(service_->activatePackage(installer_->test_installed_file))) in TEST_F()
803 ASSERT_TRUE(IsOk(service_->activatePackage(installer_->test_installed_file))) in TEST_F()
823 ASSERT_TRUE(IsOk(service_->activatePackage(installer_->test_installed_file))) in TEST_F()
887 ASSERT_TRUE(IsOk(service_->activatePackage(installer_->test_installed_file))) in TEST_F()
891 ASSERT_TRUE(IsOk(service_->stagePackage(installer_->test_file, &success))); in TEST_F()
938 ASSERT_TRUE(IsOk(service_->activatePackage(installer_->test_installed_file))) in TEST_F()
944 IsOk(service_->deactivatePackage(installer_->test_installed_file))); in TEST_F()
970 android::binder::Status st = (service_.get()->*fn)(pkgs); in RunPrePost()
1051 ASSERT_TRUE(IsOk(service_->submitStagedSession(123, empty_child_session_ids, in TEST_F()
1069 ASSERT_TRUE(IsOk(service_->getStagedSessionInfo(123, &session))) in TEST_F()
1075 ASSERT_TRUE(IsOk(service_->markStagedSessionReady(123, &ret_value))) in TEST_F()
1079 ASSERT_TRUE(IsOk(service_->getStagedSessionInfo(123, &session))) in TEST_F()
1086 ASSERT_TRUE(IsOk(service_->markStagedSessionReady(123, &ret_value))) in TEST_F()
1090 ASSERT_TRUE(IsOk(service_->getStagedSessionInfo(123, &session))) in TEST_F()
1096 ASSERT_TRUE(IsOk(service_->getSessions(&sessions))) in TEST_F()
1121 ASSERT_TRUE(IsOk(service_->getSessions(&sessions))); in TEST_F()
1136 ASSERT_TRUE(IsOk(service_->submitStagedSession(239, empty_child_session_ids, in TEST_F()
1141 ASSERT_TRUE(IsOk(service_->getSessions(&sessions))); in TEST_F()
1166 ASSERT_TRUE(IsOk(service_->submitStagedSession(456, empty_child_session_ids,
1172 ASSERT_TRUE(IsOk(service_->getStagedSessionInfo(456, &session)))
1197 service_->submitStagedSession(10, child_session_ids, &list, &ret_value))) in TEST_F()
1224 ASSERT_TRUE(IsOk(service_->getStagedSessionInfo(10, &session))) in TEST_F()
1230 ASSERT_TRUE(IsOk(service_->markStagedSessionReady(10, &ret_value))) in TEST_F()
1234 ASSERT_TRUE(IsOk(service_->getStagedSessionInfo(10, &session))) in TEST_F()
1264 service_->submitStagedSession(11, child_session_ids, &list, &ret_value)))
1273 ASSERT_TRUE(IsOk(service_->markStagedSessionReady(666, &ret_value))); in TEST_F()
1277 ASSERT_TRUE(IsOk(service_->getStagedSessionInfo(666, &session))); in TEST_F()
1284 ASSERT_FALSE(IsOk(service_->markStagedSessionSuccessful(37))); in TEST_F()
1287 ASSERT_TRUE(IsOk(service_->getStagedSessionInfo(37, &session_info))); in TEST_F()
1299 ASSERT_FALSE(IsOk(service_->markStagedSessionSuccessful(73))); in TEST_F()
1302 ASSERT_TRUE(IsOk(service_->getStagedSessionInfo(73, &session_info))); in TEST_F()
1314 ASSERT_TRUE(IsOk(service_->markStagedSessionSuccessful(239))); in TEST_F()
1317 ASSERT_TRUE(IsOk(service_->getStagedSessionInfo(239, &session_info))); in TEST_F()
1329 ASSERT_TRUE(IsOk(service_->markStagedSessionSuccessful(1543))); in TEST_F()
1332 ASSERT_TRUE(IsOk(service_->getStagedSessionInfo(1543, &session_info))); in TEST_F()
1341 ASSERT_TRUE(IsOk(service_->getSessions(&sessions))); in TEST_F()
1343 ASSERT_TRUE(IsOk(service_->abortActiveSession())); in TEST_F()
1351 ASSERT_TRUE(IsOk(service_->getSessions(&sessions))); in TEST_F()
1354 ASSERT_TRUE(IsOk(service_->abortActiveSession())); in TEST_F()
1357 ASSERT_TRUE(IsOk(service_->getSessions(&sessions))); in TEST_F()
1379 ASSERT_TRUE(IsOk(service_->stagePackages(pkgs, &ret))); in TEST_F()
1393 service_->submitStagedSession(23, empty_child_session_ids, &list, &ret))); in TEST_F()
1429 ASSERT_TRUE(IsOk(service_->stagePackages(pkgs, &ret))); in TEST_F()
1443 service_->submitStagedSession(43, empty_child_session_ids, &list, &ret))); in TEST_F()
1479 service_->submitStagedSession(41, empty_child_session_ids, &list, &ret))); in TEST_F()
1505 service_->submitStagedSession(41, empty_child_session_ids, &list, &ret))); in TEST_F()
1526 ASSERT_TRUE(IsOk(service_->stagePackages(pkgs, &ret))); in TEST_F()
1530 ASSERT_TRUE(IsOk(service_->unstagePackages(pkgs))); in TEST_F()
1550 ASSERT_TRUE(IsOk(service_->stagePackages(pkgs, &ret))); in TEST_F()
1554 ASSERT_FALSE(IsOk(service_->unstagePackages(pkgs))); in TEST_F()
1614 ASSERT_TRUE(IsOk(service_->stagePackage(installer.test_file, &ret))); in TEST_F()
1620 ASSERT_TRUE(IsOk(service_->abortActiveSession())); in TEST_F()
1629 ASSERT_TRUE(IsOk(service_->getSessions(&sessions))); in TEST_F()
1651 ASSERT_TRUE(IsOk(service_->stagePackage(installer.test_file, &ret))); in TEST_F()
1656 ASSERT_TRUE(IsOk(service_->rollbackActiveSession())); in TEST_F()
1674 ASSERT_TRUE(IsOk(service_->stagePackage(installer.test_file, &ret))); in TEST_F()
1681 ASSERT_FALSE(IsOk(service_->rollbackActiveSession())); in TEST_F()
1685 ASSERT_FALSE(IsOk(service_->rollbackActiveSession())); in TEST_F()
1690 ASSERT_FALSE(IsOk(service_->rollbackActiveSession())); in TEST_F()
1701 ASSERT_TRUE(IsOk(service_->markStagedSessionSuccessful(101))); in TEST_F()
1720 ASSERT_TRUE(IsOk(service_->stagePackage(installer.test_file, &ret))); in TEST_F()
1728 ASSERT_TRUE(IsOk(service_->resumeRollbackIfNeeded())); in TEST_F()
1738 ASSERT_TRUE(IsOk(service_->getSessions(&sessions))); in TEST_F()
1755 ASSERT_TRUE(IsOk(service_->stagePackage(installer.test_file, &ret))); in TEST_F()
1762 ASSERT_TRUE(IsOk(service_->resumeRollbackIfNeeded())); in TEST_F()
1772 ASSERT_TRUE(IsOk(service_->getSessions(&sessions))); in TEST_F()
1787 ASSERT_FALSE(IsOk(service_->rollbackActiveSession())); in TEST_F()
1789 ASSERT_TRUE(IsOk(service_->getStagedSessionInfo(53, &session_info))); in TEST_F()
1805 ASSERT_FALSE(IsOk(service_->rollbackActiveSession())); in TEST_F()
1807 ASSERT_TRUE(IsOk(service_->getStagedSessionInfo(17239, &session_info))); in TEST_F()
1956 ASSERT_TRUE(IsOk(service_->getAllPackages(&list))); in SetUp()
1976 ASSERT_TRUE(IsOk(service_->stagePackage(installer.test_file, &success))); in TEST_F()
1989 const auto& status = service_->stagePackage(installer.test_file, &success); in TEST_F()
2007 ASSERT_TRUE(IsOk(service_->submitStagedSession(23, {}, &list, &success))); in TEST_F()
2022 ASSERT_TRUE(IsOk(service_->submitStagedSession(43, {}, &list, &success))); in TEST_F()
2036 ASSERT_TRUE(IsOk(service_->submitStagedSession(41, {}, &list, &success))); in TEST_F()
2050 ASSERT_TRUE(IsOk(service_->submitStagedSession(42, {}, &list, &success))); in TEST_F()
2065 ASSERT_TRUE(IsOk(service_->submitStagedSession(57, {}, &list, &success))); in TEST_F()
2072 ASSERT_TRUE(IsOk(service_->activatePackage(installer_->test_installed_file))) in TEST_F()
2082 service_->stagePackage(flattened_apex->GetPath(), &success); in TEST_F()