Home
last modified time | relevance | path

Searched refs:uids2 (Results 1 – 4 of 4) sorted by relevance

/packages/modules/StatsD/statsd/tests/condition/
DSimpleConditionTracker_test.cpp527 std::vector<int> uids2 = {222, 2222, 22222}; in TEST() local
557 makeWakeLockEvent(&event2, /*atomId=*/1, /*timestamp=*/0, uids2, uid2_wl1, /*acquire=*/1); in TEST()
584 makeWakeLockEvent(&event4, /*atomId=*/1, /*timestamp=*/0, uids2, uid2_wl1, in TEST()
620 std::vector<int> uids2 = {222, 2222, 22222}; in TEST() local
662 makeWakeLockEvent(&event2, /*atomId=*/1, /*timestamp=*/0, uids2, "wl2", /*acquire=*/1); in TEST()
675 ASSERT_EQ(uids1.size() + uids2.size(), conditionTracker.mSlicedConditionState.size()); in TEST()
683 EXPECT_EQ(uids2.size(), in TEST()
690 const auto queryKey2 = getWakeLockQueryKey(position, uids2, conditionName); in TEST()
698 makeWakeLockEvent(&event3, /*atomId=*/1, /*timestamp=*/0, uids2, "wl2", /*acquire=*/1); in TEST()
716 EXPECT_EQ(uids1.size() + uids2.size(), in TEST()
[all …]
/packages/modules/Connectivity/framework/src/android/net/
DNetworkCapabilities.java1595 final Set<UidRange> uids2 = (nc2 == null) ? null : nc2.mUids; in hasSameUids() local
1596 if (null == uids1) return null == uids2; in hasSameUids()
1597 if (null == uids2) return false; in hasSameUids()
1599 final Set<UidRange> uids = new ArraySet<>(uids2); in hasSameUids()
/packages/modules/StatsD/tests/apps/statsdapp/src/com/android/server/cts/device/statsd/
DAtomTests.java700 int[] uids2 = {9999, appInfo.uid}; in testWriteRawTestAtom() local
702 StatsLogStatsdCts.write(StatsLogStatsdCts.TEST_ATOM_REPORTED, uids2, tags2, 100, in testWriteRawTestAtom()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java13585 final Set<Integer> uids2 = Set.of(PRIMARY_USER_HANDLE.getUid(TEST_PACKAGE_UID), in testMobileDataPreferredUidsChanged() local
13588 final UidRangeParcel[] uidRanges2 = toUidRangeStableParcels(uidRangesForUids(uids2)); in testMobileDataPreferredUidsChanged()
13591 setAndUpdateMobileDataPreferredUids(uids2); in testMobileDataPreferredUidsChanged()
13806 final Set<Integer> uids2 = Set.of(PRIMARY_USER_HANDLE.getUid(TEST_PACKAGE_UID2)); in testAllNetworkPreferencesCanCoexist() local
13807 final UidRangeParcel[] uidRanges2 = toUidRangeStableParcels(uidRangesForUids(uids2)); in testAllNetworkPreferencesCanCoexist()
13810 setAndUpdateMobileDataPreferredUids(uids2); in testAllNetworkPreferencesCanCoexist()
13904 final int[] uids2 = new int[] { TEST_WORK_PROFILE_APP_UID }; in testNetworkCallbackAndActiveNetworkForUid_AllNetworkPreferencesEnabled() local
13905 final UidRangeParcel[] uidRanges2 = toUidRangeStableParcels(uidRangesForUids(uids2)); in testNetworkCallbackAndActiveNetworkForUid_AllNetworkPreferencesEnabled()