• Home
  • Raw
  • Download

Lines Matching refs:list

122     std::vector<ApexInfo> list;  in IsActive()  local
123 android::binder::Status status = service_->getActivePackages(&list); in IsActive()
125 for (const ApexInfo& p : list) { in IsActive()
136 std::vector<ApexInfo> list; in GetAllPackages() local
137 android::binder::Status status = service_->getAllPackages(&list); in GetAllPackages()
139 return StatusOr<std::vector<ApexInfo>>(list); in GetAllPackages()
147 std::vector<ApexInfo> list; in GetActivePackages() local
148 android::binder::Status status = service_->getActivePackages(&list); in GetActivePackages()
150 return StatusOr<std::vector<ApexInfo>>(list); in GetActivePackages()
158 std::vector<ApexInfo> list; in GetInactivePackages() local
159 android::binder::Status status = service_->getAllPackages(&list); in GetInactivePackages()
160 list.erase(std::remove_if( in GetInactivePackages()
161 list.begin(), list.end(), in GetInactivePackages()
163 list.end()); in GetInactivePackages()
165 return StatusOr<std::vector<ApexInfo>>(std::move(list)); in GetInactivePackages()
188 const std::vector<ApexInfo>& list) { in GetPackagesStrings() argument
190 ret.reserve(list.size()); in GetPackagesStrings()
191 for (const ApexInfo& p : list) { in GetPackagesStrings()
198 std::vector<ApexInfo> list; in GetActivePackagesStrings() local
199 android::binder::Status status = service_->getActivePackages(&list); in GetActivePackagesStrings()
201 std::vector<std::string> ret(list.size()); in GetActivePackagesStrings()
202 for (const ApexInfo& p : list) { in GetActivePackagesStrings()
214 std::vector<ApexInfo> list; in GetFactoryPackages() local
215 android::binder::Status status = service_->getAllPackages(&list); in GetFactoryPackages()
216 list.erase( in GetFactoryPackages()
217 std::remove_if(list.begin(), list.end(), in GetFactoryPackages()
219 list.end()); in GetFactoryPackages()
221 return StatusOr<std::vector<ApexInfo>>(std::move(list)); in GetFactoryPackages()
554 ApexInfoList list; in TEST_F() local
556 ASSERT_TRUE(IsOk(service_->submitStagedSession(1543, {}, &list, &success))); in TEST_F()
578 ApexInfoList list; in TEST_F() local
580 ASSERT_TRUE(IsOk(service_->submitStagedSession(239, {}, &list, &success))); in TEST_F()
1048 ApexInfoList list; in TEST_F() local
1052 &list, &ret_value))) in TEST_F()
1055 EXPECT_EQ(1u, list.apexInfos.size()); in TEST_F()
1057 for (const ApexInfo& info : list.apexInfos) { in TEST_F()
1133 ApexInfoList list; in TEST_F() local
1137 &list, &ret_value))); in TEST_F()
1163 ApexInfoList list;
1167 &list, &ret_value)))
1193 ApexInfoList list; in TEST_F() local
1197 service_->submitStagedSession(10, child_session_ids, &list, &ret_value))) in TEST_F()
1200 EXPECT_EQ(2u, list.apexInfos.size()); in TEST_F()
1204 for (const ApexInfo& info : list.apexInfos) { in TEST_F()
1260 ApexInfoList list;
1264 service_->submitStagedSession(11, child_session_ids, &list, &ret_value)))
1390 ApexInfoList list; in TEST_F() local
1393 service_->submitStagedSession(23, empty_child_session_ids, &list, &ret))); in TEST_F()
1440 ApexInfoList list; in TEST_F() local
1443 service_->submitStagedSession(43, empty_child_session_ids, &list, &ret))); in TEST_F()
1475 ApexInfoList list; in TEST_F() local
1479 service_->submitStagedSession(41, empty_child_session_ids, &list, &ret))); in TEST_F()
1501 ApexInfoList list; in TEST_F() local
1505 service_->submitStagedSession(41, empty_child_session_ids, &list, &ret))); in TEST_F()
1955 std::vector<ApexInfo> list; in SetUp() local
1956 ASSERT_TRUE(IsOk(service_->getAllPackages(&list))); in SetUp()
1963 ASSERT_THAT(list, Contains(ApexInfoEq(expected))); in SetUp()
2005 ApexInfoList list; in TEST_F() local
2007 ASSERT_TRUE(IsOk(service_->submitStagedSession(23, {}, &list, &success))); in TEST_F()
2020 ApexInfoList list; in TEST_F() local
2022 ASSERT_TRUE(IsOk(service_->submitStagedSession(43, {}, &list, &success))); in TEST_F()
2034 ApexInfoList list; in TEST_F() local
2036 ASSERT_TRUE(IsOk(service_->submitStagedSession(41, {}, &list, &success))); in TEST_F()
2048 ApexInfoList list; in TEST_F() local
2050 ASSERT_TRUE(IsOk(service_->submitStagedSession(42, {}, &list, &success))); in TEST_F()
2063 ApexInfoList list; in TEST_F() local
2065 ASSERT_TRUE(IsOk(service_->submitStagedSession(57, {}, &list, &success))); in TEST_F()