Home
last modified time | relevance | path

Searched refs:testUid (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/foundation/communication/netmanager_base/test/netcommon/unittest/net_common_test/
H A Dnet_setting_test.cpp64 uint32_t testUid = 1111; variable
65 instance_.SetForegroundUid(testUid);
66 bool ret = instance_.IsUidForeground(testUid);
/ohos5.0/base/account/os_account/test/fuzztest/ohosaccount/getdeviceaccountidbyuid_fuzzer/
H A Dgetdeviceaccountidbyuid_fuzzer.cpp35 int32_t testUid = fuzzData.GetData<int32_t>(); in GetDeviceAccountIdByUIDFuzzTest() local
36 result = OhosAccountKits::GetInstance().GetDeviceAccountIdByUID(testUid); in GetDeviceAccountIdByUIDFuzzTest()
/ohos5.0/base/account/os_account/test/fuzztest/osaccount/getbundleidfromuid_fuzzer/
H A Dgetbundleidfromuid_fuzzer.cpp34 int32_t testUid = fuzzData.GetData<int32_t>(); in GetBundleIdFromUidFuzzTest() local
36 result = OsAccountManager::GetBundleIdFromUid(testUid, testBundleId); in GetBundleIdFromUidFuzzTest()
/ohos5.0/base/account/os_account/test/fuzztest/osaccount/getosaccountlocalidfromuid_fuzzer/
H A Dgetosaccountlocalidfromuid_fuzzer.cpp34 int32_t testUid = fuzzData.GetData<int32_t>(); in GetOsAccountLocalIdFromUidFuzzTest() local
36 result = OsAccountManager::GetOsAccountLocalIdFromUid(testUid, testId); in GetOsAccountLocalIdFromUidFuzzTest()
/ohos5.0/base/account/os_account/test/fuzztest/ohosaccount/updateohosaccountinfo_fuzzer/
H A Dupdateohosaccountinfo_fuzzer.cpp35 std::string testUid(fuzzData.GenerateRandomString()); in UpdateOhosAccountInfoFuzzTest() local
37 …result = OhosAccountKits::GetInstance().UpdateOhosAccountInfo(testAccountName, testUid, testEventS… in UpdateOhosAccountInfoFuzzTest()
/ohos5.0/foundation/communication/netmanager_base/test/netstatsmanager/unittest/net_stats_manager_test/
H A Dnet_stats_data_handler_test.cpp199 uint32_t testUid = 122; variable
201 int32_t ret = handler.ReadStatsData(infos, emptyIface, testUid, 0, LONG_MAX);
211 uint32_t testUid = 122; variable
213 int32_t ret = handler.ReadStatsData(infos, iface, 0, testUid, LONG_MAX);
/ohos5.0/base/account/os_account/frameworks/osaccount/native/test/benchmarktest/
H A Dos_account_manager_benchmark_test.cpp207 int testUid = 1000000; // uid for test in BENCHMARK_F() local
212 EXPECT_EQ(OsAccountManager::GetOsAccountLocalIdFromUid(testUid, id), ERR_OK); in BENCHMARK_F()
456 int testUid = 1000000 + expectedBundleID; // uid for test in BENCHMARK_F() local
461 EXPECT_EQ(OsAccountManager::GetBundleIdFromUid(testUid, id), ERR_OK); in BENCHMARK_F()
/ohos5.0/foundation/communication/netmanager_base/test/netpolicymanager/unittest/net_policy_manager_test/
H A Dut_net_policy_core.cpp213 std::string testUid = "111"; variable
217 want.SetParam(EVENT_PARAM_DELETED_UID, testUid);
/ohos5.0/base/account/os_account/frameworks/ohosaccount/test/moduletests/account_mgr_test/
H A Daccount_mgr_inner_sdk_func_test.cpp179 std::int32_t testUid = 1000000; // uid for test variable
181 auto ret = OhosAccountKits::GetInstance().GetDeviceAccountIdByUID(testUid);
/ohos5.0/base/account/os_account/frameworks/osaccount/native/test/moduletest/
H A Dos_account_manager_module_test.cpp828 int testUid = 1000000; // uid for test variable
830 EXPECT_EQ(OsAccountManager::GetOsAccountLocalIdFromUid(testUid, id), ERR_OK);
1593 int testUid = 1000000 + expectedBundleID; // uid for test variable
1594 EXPECT_EQ(OsAccountManager::GetBundleIdFromUid(testUid, id), ERR_OK);
/ohos5.0/docs/zh-cn/application-dev/reference/apis-basic-services-kit/
H A Djs-apis-osAccount-sys.md1808 let testUid: number = 1000000;
1810 accountManager.getBundleIdForUid(testUid, (err: BusinessError, bundleId: number) => {
1855 let testUid: number = 1000000;
1857 accountManager.getBundleIdForUid(testUid).then((result: number) => {
1901 let testUid: number = 1000000;
1903 let bundleId : number = accountManager.getBundleIdForUidSync(testUid);
/ohos5.0/docs/en/application-dev/reference/apis-basic-services-kit/
H A Djs-apis-osAccount-sys.md1806 let testUid: number = 1000000;
1808 accountManager.getBundleIdForUid(testUid, (err: BusinessError, bundleId: number) => {
1853 let testUid: number = 1000000;
1855 accountManager.getBundleIdForUid(testUid).then((result: number) => {
1899 let testUid: number = 1000000;
1901 let bundleId : number = accountManager.getBundleIdForUidSync(testUid);