Home
last modified time | relevance | path

Searched refs:bundle1 (Results 1 - 5 of 5) sorted by relevance

/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/aging/
H A Daging_util.cpp34 bool AgingUtil::SortTwoAgingBundleInfos(AgingBundleInfo &bundle1, AgingBundleInfo &bundle2) in SortTwoAgingBundleInfos() argument
41 (bundle1.GetRecentlyUsedTime() >= time10DaysAgo && bundle2.GetRecentlyUsedTime() >= time10DaysAgo) || in SortTwoAgingBundleInfos()
42 (bundle1.GetRecentlyUsedTime() < time10DaysAgo && bundle1.GetRecentlyUsedTime() >= time20DaysAgo && in SortTwoAgingBundleInfos()
44 (bundle1.GetRecentlyUsedTime() < time20DaysAgo && bundle1.GetRecentlyUsedTime() >= time30DaysAgo && in SortTwoAgingBundleInfos()
46 (bundle1.GetRecentlyUsedTime() < time30DaysAgo && bundle2.GetRecentlyUsedTime() < time30DaysAgo); in SortTwoAgingBundleInfos()
47 if (sortByUseTimes && (bundle1.GetStartCount() != bundle2.GetStartCount())) { in SortTwoAgingBundleInfos()
48 return bundle1.GetStartCount() < bundle2.GetStartCount(); in SortTwoAgingBundleInfos()
51 return bundle1 in SortTwoAgingBundleInfos()
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/aging/
H A Daging_util.h28 static bool SortTwoAgingBundleInfos(AgingBundleInfo &bundle1, AgingBundleInfo &bundle2);
/foundation/ability/form_fwk/test/unittest/fms_form_sys_event_receiver_test/
H A Dfms_form_sys_event_receiver_test.cpp288 std::string bundle1 = FORM_PROVIDER_BUNDLE_NAME_1; in HWTEST_F() local
293 CreateEventData(bundle1, formId, callingUid, actionType, eventData); in HWTEST_F()
/foundation/resourceschedule/memmgr/test/unittest/phone/
H A Dreclaim_priority_manager_test.cpp725 std::shared_ptr<BundlePriorityInfo> bundle1 = std::make_shared<BundlePriorityInfo>("app", in HWTEST_F() local
730 EXPECT_NE(bundle1, bundle2); in HWTEST_F()
747 std::shared_ptr<BundlePriorityInfo> bundle1 = std::make_shared<BundlePriorityInfo>("app", in HWTEST_F() local
751 tolBun1.totalBundlePrioSet_.insert(bundle1); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_manager_test/
H A Dbms_bundle_manager_test.cpp4965 AgingBundleInfo bundle1; in HWTEST_F() local
4968 bool ret = util.SortTwoAgingBundleInfos(bundle1, bundle2); in HWTEST_F()
4980 AgingBundleInfo bundle1("bundle1", 0, 0); in HWTEST_F()
4982 bundles.push_back(bundle1); in HWTEST_F()

Completed in 14 milliseconds