/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareMetricsTest.java | 237 final int uid2 = 1006; in testAttachSessionMetrics() local 257 new WifiAwareClientState(mMockContext, 12, uid2, 0, null, null, null, null, false, in testAttachSessionMetrics() 259 mDut.recordAttachSession(uid2, false, clients); in testAttachSessionMetrics() 263 new WifiAwareClientState(mMockContext, 13, uid2, 0, null, null, null, null, true, in testAttachSessionMetrics() 265 mDut.recordAttachSession(uid2, true, clients); in testAttachSessionMetrics() 279 new WifiAwareClientState(mMockContext, 14, uid2, 0, null, null, null, null, false, in testAttachSessionMetrics() 281 mDut.recordAttachSession(uid2, false, clients); in testAttachSessionMetrics() 316 final int uid2 = 1006; in testDiscoverySessionMetrics() local 324 WifiAwareClientState client2 = new WifiAwareClientState(mMockContext, 11, uid2, 0, null, in testDiscoverySessionMetrics() 353 mDut.recordDiscoverySession(uid2, clients); in testDiscoverySessionMetrics() [all …]
|
D | WifiAwareStateManagerTest.java | 243 final int uid2 = 1001; in testRequestMacAddresses() local 293 mDut.connect(clientId2, uid2, pid2, callingPackage, callingFeature, mockCallback2, in testRequestMacAddresses() 299 expectedRequestorWs.add(uid2, callingPackage); in testRequestMacAddresses() 2194 final int uid2 = 1500; in testSendMessageQueueLimitBlock() local 2249 mDut.connect(clientId2, uid2, pid2, callingPackage2, callingFeature, mockCallback, in testSendMessageQueueLimitBlock() 2255 expectedRequestorWs.add(uid2, callingPackage2); in testSendMessageQueueLimitBlock() 2295 mDut.sendMessage(uid2, clientId2, sessionId2.getValue(), peerIdCaptor2.getValue(), null, in testSendMessageQueueLimitBlock()
|
/packages/modules/Connectivity/tests/unit/java/android/app/usage/ |
D | NetworkStatsManagerTest.java | 80 final int uid2 = 10002; in testQueryDetails() local 92 Entry uid2Entry1 = new Entry("if1", uid2, in testQueryDetails() 97 "if2", uid2, in testQueryDetails() 111 when(mStatsSession.getRelevantUids()).thenReturn(new int[] { uid1, uid2, uid3 }); in testQueryDetails() 125 eq(uid2), eq(android.net.NetworkStats.SET_ALL), in testQueryDetails() 178 final int uid2 = 10002; in runQueryDetailsAndCheckTemplate() local 182 when(mStatsSession.getRelevantUids()).thenReturn(new int[] { uid1, uid2 }); in runQueryDetailsAndCheckTemplate() 197 eq(uid2), eq(android.net.NetworkStats.SET_ALL), in runQueryDetailsAndCheckTemplate()
|
/packages/modules/StatsD/statsd/tests/external/ |
D | StatsPullerManager_test.cpp | 40 int uid2 = 8888; variable 81 return {uid2, uid1}; in getPullAtomUids() 83 return {uid2}; in getPullAtomUids() 93 shared_ptr<FakePullAtomCallback> cb2 = SharedRefBase::make<FakePullAtomCallback>(uid2); in createPullerManagerAndRegister() 94 pullerManager->RegisterPullAtomCallback(uid2, pullTagId1, coolDownNs, timeoutNs, {}, cb2); in createPullerManagerAndRegister() 136 EXPECT_EQ(data[0]->getValues()[0].mValue.int_value, uid2); in TEST()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/specialaccess/ |
D | AppStateAppOpsBridgeTest.java | 206 int uid2 = UserHandle.getUid(UserHandle.myUserId(), /* appId= */ 2); in loadsAppOpsExtraInfo_multipleApps() local 207 PackageInfo packageInfo2 = createPackageInfo(packageName2, uid2); in loadsAppOpsExtraInfo_multipleApps() 228 int uid2 = UserHandle.getUid(otherUserId, /* appId= */ 2); in loadsAppOpExtraInfo_multipleProfiles() local 229 PackageInfo packageInfo2 = createPackageInfo(packageName2, uid2); in loadsAppOpExtraInfo_multipleProfiles()
|
/packages/modules/StatsD/statsd/tests/ |
D | HashableDimensionKey_test.cpp | 72 int32_t uid2 = 1001; in TEST() local 74 getOverlayKey(uid2, "package", &whatKey); in TEST()
|
/packages/modules/StatsD/statsd/tests/guardrail/ |
D | StatsdStats_test.cpp | 466 int uid2 = 2; in TEST() local 472 stats.noteActivationBroadcastGuardrailHit(uid2, i); in TEST() 489 } else if (uid2 == guardrailTimes.uid()) { in TEST()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/rtt/ |
D | RttServiceImplTest.java | 618 int uid2 = 20; in testCancelRangingFullMatch() local 622 worksourceRequest.add(uid2); in testCancelRangingFullMatch() 625 WorkSource worksourceCancel = new WorkSource(uid2); in testCancelRangingFullMatch() 669 int uid2 = 20; in testCancelRangingPartialMatch() local 672 worksourceRequest.add(uid2); in testCancelRangingPartialMatch() 675 worksourceCancel.add(uid2); in testCancelRangingPartialMatch()
|
/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/ |
D | config_update_utils_test.cpp | 2437 int uid2 = 11; in TEST_F() local 2452 event = CreateAcquireWakelockEvent(timeBaseNs + 3, {uid2}, {"tag"}, "wl2"); in TEST_F()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | ConnectivityServiceTest.java | 13540 final int uid2 = PRIMARY_USER_HANDLE.getUid(TEST_PACKAGE_UID2); in testCreateNrisFromMobileDataPreferredUids() local 13544 assertCreateNrisFromMobileDataPreferredUids(Set.of(uid1, uid2)); in testCreateNrisFromMobileDataPreferredUids()
|