Home
last modified time | relevance | path

Searched refs:privacyBundleList (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/window/window_manager/window_scene/test/unittest/
H A Dscene_session_manager_test3.cpp1566 std::unordered_set<string> privacyBundleList; variable
1568 EXPECT_EQ(privacyBundleList.size(), 0);
1587 EXPECT_EQ(privacyBundleList.size(), 0);
1610 privacyBundleList.clear();
1612 EXPECT_EQ(privacyBundleList.size(), 0);
1616 privacyBundleList.clear();
1618 EXPECT_EQ(privacyBundleList.size(), 0);
1622 privacyBundleList.clear();
1624 EXPECT_EQ(privacyBundleList.size(), 1);
1626 privacyBundleList.clear();
[all …]
H A Dscene_session_manager_test.cpp167 std::unordered_set<std::string> privacyBundleList; variable
168 ssm_->GetSceneSessionPrivacyModeBundles(0, privacyBundleList);
169 EXPECT_EQ(privacyBundleList.size(), 2);
172 privacyBundleList.clear();
173 ssm_->GetSceneSessionPrivacyModeBundles(0, privacyBundleList);
174 EXPECT_EQ(privacyBundleList.size(), 1);
176 privacyBundleList.clear();
177 ssm_->GetSceneSessionPrivacyModeBundles(1, privacyBundleList);
178 EXPECT_EQ(privacyBundleList.size(), 1);
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/src/
H A Dscene_session_manager.cpp5749 std::unordered_set<std::string> privacyBundleList; in UpdatePrivateStateAndNotify() local
5750 GetSceneSessionPrivacyModeBundles(displayId, privacyBundleList); in UpdatePrivateStateAndNotify()
5751 if (isUserBackground_ || !JudgeNeedNotifyPrivacyInfo(displayId, privacyBundleList)) { in UpdatePrivateStateAndNotify()
5755 … std::vector<std::string> bundleListForNotify(privacyBundleList.begin(), privacyBundleList.end()); in UpdatePrivateStateAndNotify()
5773 std::unordered_set<std::string> privacyBundleList; in UpdatePrivateStateAndNotifyForAllScreens() local
5774 GetSceneSessionPrivacyModeBundles(displayId, privacyBundleList); in UpdatePrivateStateAndNotifyForAllScreens()
5777 !privacyBundleList.empty() || specialExtWindowHasPrivacyMode_.load()); in UpdatePrivateStateAndNotifyForAllScreens()