Home
last modified time | relevance | path

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

/ohos5.0/foundation/resourceschedule/device_usage_statistics/test/unittest/
H A Ddevice_usage_statistics_test.cpp52 static int32_t g_commonUserid = 100; variable
288 BundleActiveClient::GetInstance().QueryAppGroup(result, g_defaultBundleName, g_commonUserid);
290 …BundleActiveClient::GetInstance().SetAppGroup(g_defaultBundleName, g_defaultGroup, g_commonUserid);
305 …BundleActiveClient::GetInstance().SetAppGroup(g_defaultBundleName, g_defaultGroup, g_commonUserid);
307 BundleActiveClient::GetInstance().QueryAppGroup(result, g_defaultBundleName, g_commonUserid);
348 …BundleActiveClient::GetInstance().QueryDeviceEventStats(0, g_largeNum, eventStats, g_commonUserid);
431 EXPECT_EQ(appGroupCallback->GetUserId(), g_commonUserid);
448 bundleActiveEventStats->eventId_ = g_commonUserid;
465 EXPECT_EQ(tempEventStats->GetEventId(), g_commonUserid);
564 …AppGroupCallbackInfo appGroupCallbackInfo(g_commonUserid, oldGroup, newGroup, changeReason, g_defa…
[all …]
H A Ddevice_usage_statistics_multi_test.cpp55 static int32_t g_commonUserid = 100; variable
172 BundleActiveClient::GetInstance().QueryBundleEvents(result, 0, g_largeNum, g_commonUserid); in MultiTestQueryBundleEvents()
174 …eActiveClient::GetInstance().QueryBundleEvents(result, g_largeNum, g_largeNum, g_commonUserid), 0); in MultiTestQueryBundleEvents()
289 …BundleActiveClient::GetInstance().SetAppGroup(g_defaultBundleName, g_defaultGroup, g_commonUserid); in MultiTestAppGroup()
291 BundleActiveClient::GetInstance().QueryAppGroup(result, g_defaultBundleName, g_commonUserid); in MultiTestAppGroup()
319 …BundleActiveClient::GetInstance().QueryDeviceEventStats(0, g_largeNum, eventStats, g_commonUserid); in MultiTestQueryDeviceEventStats()
341 …ActiveClient::GetInstance().QueryNotificationEventStats(0, g_largeNum, eventStats, g_commonUserid); in MultiTestQueryNotificationEventStats()
H A Ddevice_usage_statistics_mock_test.cpp39 static int32_t g_commonUserid = 100; variable
99 …dleActiveClient::GetInstance().QueryAppGroup(result, g_defaultBundleName, g_commonUserid), ERR_OK);
102 g_defaultBundleName, g_defaultGroup, g_commonUserid), ERR_OK);
318 …(bundleActiveCore->QueryNotificationEventStats(0, g_largeNum, eventStats, g_commonUserid), ERR_OK);
319 …EXPECT_NE(bundleActiveCore->QueryDeviceEventStats(0, g_largeNum, eventStats, g_commonUserid), ERR_…
320 … EXPECT_NE(bundleActiveCore->QueryModuleUsageRecords(1000, moduleRecords, g_commonUserid), ERR_OK);
322 …code = bundleActiveCore->QueryBundleEvents(activeEvent, g_commonUserid, 0, g_largeNum, g_defaultBu…
325 code = bundleActiveCore->QueryBundleStatsInfos(packageStats, g_commonUserid,
329 bundleActiveCore->OnBundleUninstalled(g_commonUserid, g_defaultBundleName, uid, appIndex);