Home
last modified time | relevance | path

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

/packages/modules/StatsD/statsd/tests/condition/
DSimpleConditionTracker_test.cpp525 std::vector<int> uids1 = {111, 1111, 11111}; in TEST() local
531 makeWakeLockEvent(&event1, /*atomId=*/1, /*timestamp=*/0, uids1, uid1_wl1, /*acquire=*/1); in TEST()
570 makeWakeLockEvent(&event3, /*atomId=*/1, /*timestamp=*/0, uids1, uid1_wl1, in TEST()
619 std::vector<int> uids1 = {111, 1111, 11111}; in TEST() local
623 makeWakeLockEvent(&event1, /*atomId=*/1, /*timestamp=*/0, uids1, "wl1", /*acquire=*/1); in TEST()
639 ASSERT_EQ(uids1.size(), conditionTracker.mSlicedConditionState.size()); in TEST()
647 EXPECT_EQ(uids1.size(), in TEST()
654 const auto queryKey = getWakeLockQueryKey(position, uids1, conditionName); in TEST()
675 ASSERT_EQ(uids1.size() + uids2.size(), conditionTracker.mSlicedConditionState.size()); in TEST()
716 EXPECT_EQ(uids1.size() + uids2.size(), in TEST()
[all …]
/packages/modules/Connectivity/framework/src/android/net/
DNetworkCapabilities.java1594 final Set<UidRange> uids1 = (nc1 == null) ? null : nc1.mUids; in hasSameUids() local
1596 if (null == uids1) return null == uids2; in hasSameUids()
1600 for (UidRange range : uids1) { in hasSameUids()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java13575 final Set<Integer> uids1 = Set.of(PRIMARY_USER_HANDLE.getUid(TEST_PACKAGE_UID)); in testMobileDataPreferredUidsChanged() local
13576 final UidRangeParcel[] uidRanges1 = toUidRangeStableParcels(uidRangesForUids(uids1)); in testMobileDataPreferredUidsChanged()
13579 setAndUpdateMobileDataPreferredUids(uids1); in testMobileDataPreferredUidsChanged()
13782 final int[] uids1 = new int[] { PRIMARY_USER_HANDLE.getUid(TEST_PACKAGE_UID) }; in testAllNetworkPreferencesCanCoexist() local
13783 final UidRangeParcel[] uidRanges1 = toUidRangeStableParcels(uidRangesForUids(uids1)); in testAllNetworkPreferencesCanCoexist()
13893 final int[] uids1 = new int[] { TEST_PACKAGE_UID }; in testNetworkCallbackAndActiveNetworkForUid_AllNetworkPreferencesEnabled() local
13894 final UidRangeParcel[] uidRanges1 = toUidRangeStableParcels(uidRangesForUids(uids1)); in testNetworkCallbackAndActiveNetworkForUid_AllNetworkPreferencesEnabled()