Home
last modified time | relevance | path

Searched refs:bundle1 (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/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.GetRecentlyUsedTime() < bundle2.GetRecentlyUsedTime(); in SortTwoAgingBundleInfos()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/aging/
H A Daging_util.h28 static bool SortTwoAgingBundleInfos(AgingBundleInfo &bundle1, AgingBundleInfo &bundle2);
/ohos5.0/foundation/resourceschedule/memmgr/test/unittest/phone/
H A Dreclaim_priority_manager_test.cpp725 std::shared_ptr<BundlePriorityInfo> bundle1 = std::make_shared<BundlePriorityInfo>("app", variable
730 EXPECT_NE(bundle1, bundle2);
747 std::shared_ptr<BundlePriorityInfo> bundle1 = std::make_shared<BundlePriorityInfo>("app", variable
751 tolBun1.totalBundlePrioSet_.insert(bundle1);
/ohos5.0/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; variable
293 CreateEventData(bundle1, formId, callingUid, actionType, eventData);
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_manager_test/
H A Dbms_bundle_manager_test.cpp4987 AgingBundleInfo bundle1; variable
4990 bool ret = util.SortTwoAgingBundleInfos(bundle1, bundle2);
5002 AgingBundleInfo bundle1("bundle1", 0, 0); variable
5004 bundles.push_back(bundle1);
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dadvanced_notification_service_test.cpp3318 sptr<NotificationBundleOption> bundle1 = nullptr; variable
3328 ret = advancedNotificationService_->GetHasPoppedDialog(bundle1, enable);