Searched refs:option1 (Results 1 - 4 of 4) sorted by relevance
/base/account/os_account/frameworks/appaccount/native/test/unittest/ |
H A D | app_account_common_test.cpp | 65 SelectAccountsOptions option1; in HWTEST_F() local 66 option1.hasAccounts = true; in HWTEST_F() 67 option1.hasOwners = true; in HWTEST_F() 68 option1.hasLabels = true; in HWTEST_F() 69 option1.allowedOwners.emplace_back("test1"); in HWTEST_F() 70 option1.requiredLabels.emplace_back("test2"); in HWTEST_F() 72 EXPECT_EQ(option1.Marshalling(Parcel), true); in HWTEST_F() 73 SelectAccountsOptions *option2 = option1.Unmarshalling(Parcel); in HWTEST_F() 93 VerifyCredentialOptions option1; in HWTEST_F() local 94 option1 in HWTEST_F() 115 CreateAccountOptions option1; HWTEST_F() local 135 CreateAccountImplicitlyOptions option1; HWTEST_F() local 200 SelectAccountsOptions option1; HWTEST_F() local [all...] |
/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | reminder_data_manager_test.cpp | 457 sptr<NotificationBundleOption> option1 = new NotificationBundleOption();
in HWTEST_F() local 460 option1->SetBundleName("test");
in HWTEST_F() 462 manager->PublishReminder(reminder1, option1);
in HWTEST_F() 635 sptr<NotificationBundleOption> option1 = new NotificationBundleOption("test", 100);
in HWTEST_F() local 637 EXPECT_TRUE(manager->IsBelongToSameApp(option1, option2));
in HWTEST_F() 640 EXPECT_FALSE(manager->IsBelongToSameApp(option1, option2));
in HWTEST_F() 644 EXPECT_FALSE(manager->IsBelongToSameApp(option1, option2));
in HWTEST_F() 848 sptr<NotificationBundleOption> option1 = new NotificationBundleOption("test_getvalid", 98765);
in HWTEST_F() local 849 manager->PublishReminder(reminder1, option1);
in HWTEST_F()
|
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
H A D | notification_user_input_test.cpp | 410 std::string option1 = "this is option1";
in HWTEST_F() local 412 options.emplace_back(option1);
in HWTEST_F() 427 "options = [this is option1, this is option2], permitFreeFormInput = true, "
in HWTEST_F()
|
/base/notification/distributed_notification_service/services/ans/src/ |
H A D | reminder_data_manager.cpp | 1355 sptr<NotificationBundleOption> option1 = reminder->GetNotificationBundleOption(); in HandleSameNotificationIdShowing() local 1356 if (option1 == nullptr) { in HandleSameNotificationIdShowing() 1374 if (notificationId == (*it)->GetNotificationId() && IsBelongToSameApp(bundleOption, option1)) { in HandleSameNotificationIdShowing()
|
Completed in 7 milliseconds