Home
last modified time | relevance | path

Searched refs:DEFAULT_DISPALY_ID (Results 1 - 6 of 6) sorted by relevance

/base/account/os_account/test/fuzztest/osaccount/isosaccountforeground_fuzzer/
H A Disosaccountforeground_fuzzer.cpp48 OsAccountManager::IsOsAccountForeground(localId, Constants::DEFAULT_DISPALY_ID, isForeground); in IsOsAccountForegroundWith3ArgsFuzzTest()
/base/account/os_account/interfaces/innerkits/osaccount/native/include/
H A Dos_account_constants.h97 const uint64_t DEFAULT_DISPALY_ID = 0; member
/base/account/os_account/frameworks/osaccount/core/src/
H A Dos_account.cpp910 return IsOsAccountForegroundCommon(-1, Constants::DEFAULT_DISPALY_ID, isForeground); in IsOsAccountForeground()
919 return IsOsAccountForegroundCommon(localId, Constants::DEFAULT_DISPALY_ID, isForeground); in IsOsAccountForeground()
928 if (displayId != Constants::DEFAULT_DISPALY_ID) { in IsOsAccountForeground()
946 return GetForegroundLocalIdCommon(Constants::DEFAULT_DISPALY_ID, localId); in GetForegroundOsAccountLocalId()
951 if (displayId != Constants::DEFAULT_DISPALY_ID) { in GetForegroundOsAccountLocalId()
/base/account/os_account/frameworks/osaccount/native/test/moduletest/
H A Dos_account_manager_module_test.cpp2948 EXPECT_EQ(OsAccountManager::IsOsAccountForeground(osAccountInfo.GetLocalId(), Constants::DEFAULT_DISPALY_ID, in HWTEST_F()
2957 EXPECT_EQ(OsAccountManager::IsOsAccountForeground(osAccountInfo.GetLocalId(), Constants::DEFAULT_DISPALY_ID, in HWTEST_F()
2977 EXPECT_EQ(OsAccountManager::IsOsAccountForeground(-1, Constants::DEFAULT_DISPALY_ID, isForeground), in HWTEST_F()
2981 EXPECT_EQ(OsAccountManager::IsOsAccountForeground(0, Constants::DEFAULT_DISPALY_ID, isForeground), ERR_OK); in HWTEST_F()
2985 EXPECT_EQ(OsAccountManager::IsOsAccountForeground(1, Constants::DEFAULT_DISPALY_ID, isForeground), in HWTEST_F()
2989 EXPECT_EQ(OsAccountManager::IsOsAccountForeground(1099, Constants::DEFAULT_DISPALY_ID, isForeground), in HWTEST_F()
3047 EXPECT_EQ(OsAccountManager::GetForegroundOsAccountLocalId(Constants::DEFAULT_DISPALY_ID, localId), ERR_OK); in HWTEST_F()
3052 EXPECT_EQ(OsAccountManager::GetForegroundOsAccountLocalId(Constants::DEFAULT_DISPALY_ID, localId), ERR_OK); in HWTEST_F()
3058 EXPECT_EQ(OsAccountManager::GetForegroundOsAccountLocalId(Constants::DEFAULT_DISPALY_ID, localId), ERR_OK); in HWTEST_F()
3104 EXPECT_EQ(it->displayId, Constants::DEFAULT_DISPALY_ID); in HWTEST_F()
[all...]
/base/account/os_account/services/accountmgr/src/osaccount/
H A Dos_account_manager_service.cpp639 innerManager_.ActivateOsAccount(id, false, Constants::DEFAULT_DISPALY_ID, true); in DeactivateOsAccount()
641 innerManager_.ActivateOsAccount(Constants::START_USER_ID, false, Constants::DEFAULT_DISPALY_ID); in DeactivateOsAccount()
1116 if (displayId != Constants::DEFAULT_DISPALY_ID) { in IsOsAccountForeground()
1139 if (displayId != Constants::DEFAULT_DISPALY_ID) { in GetForegroundOsAccountLocalId()
H A Dinner_os_account_manager.cpp1626 if (foregroundAccountMap_.Find(Constants::DEFAULT_DISPALY_ID, foregroundId) && foregroundId == localId) { in RetryToGetAccount()
1627 foregroundAccountMap_.Erase(Constants::DEFAULT_DISPALY_ID); in RetryToGetAccount()

Completed in 13 milliseconds