/frameworks/base/core/tests/coretests/src/android/app/ |
D | NotificationHistoryTest.java | 45 int expectedUid = 1123456 + index; in getHistoricalNotification() local 61 .setUid(expectedUid) in getHistoricalNotification() 76 int expectedUid = 1123456; in testHistoricalNotificationBuilder() local 89 .setUid(expectedUid) in testHistoricalNotificationBuilder() 101 assertThat(n.getUid()).isEqualTo(expectedUid); in testHistoricalNotificationBuilder()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationHistoryFilterTest.java | 47 int expectedUid = 1123456 + index; in getHistoricalNotification() local 59 .setUid(expectedUid) in getHistoricalNotification()
|
D | NotificationHistoryProtoHelperTest.java | 54 int expectedUid = 1123456 + index; in getHistoricalNotification() local 70 .setUid(expectedUid) in getHistoricalNotification()
|
D | NotificationHistoryDatabaseTest.java | 77 int expectedUid = 1123456 + index; in getHistoricalNotification() local 89 .setUid(expectedUid) in getHistoricalNotification()
|
D | NotificationHistoryManagerTest.java | 68 int expectedUid = 1123456 + index; in getHistoricalNotification() local 80 .setUid(expectedUid) in getHistoricalNotification()
|
D | NotificationManagerServiceTest.java | 4650 int expectedUid = 123; in testResolveNotificationUid_delegateAllowed() local 4652 when(mPackageManagerClient.getPackageUidAsUser("target", 0)).thenReturn(expectedUid); in testResolveNotificationUid_delegateAllowed() 4657 assertEquals(expectedUid, mService.resolveNotificationUid("caller", "target", 9, 0)); in testResolveNotificationUid_delegateAllowed() 4662 int expectedUid = 123; in testResolveNotificationUid_androidAllowed() local 4664 when(mPackageManagerClient.getPackageUidAsUser("target", 0)).thenReturn(expectedUid); in testResolveNotificationUid_androidAllowed() 4667 assertEquals(expectedUid, mService.resolveNotificationUid("android", "target", 0, 0)); in testResolveNotificationUid_androidAllowed()
|
D | PreferencesHelperTest.java | 368 int expectedUid = 1001001; in testReadXml_onlyRestoresTargetUser() local 369 setUpPackageWithUid(package0, expectedUid); in testReadXml_onlyRestoresTargetUser() 375 mHelper.getNotificationChannel(package0, expectedUid, channel0.getId(), false)); in testReadXml_onlyRestoresTargetUser()
|
/frameworks/base/services/net/java/android/net/ |
D | ConnectivityModuleConnector.java | 176 final int expectedUid = in getModuleServiceIntent() local 178 if (uid != expectedUid) { in getModuleServiceIntent()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | ConnOnActivityStartTest.java | 272 final String expectedUid = Integer.toString(uid); in assertRestrictBackground() local 278 actual = candidate.trim().equals(expectedUid); in assertRestrictBackground()
|
/frameworks/base/cmds/statsd/src/ |
D | StatsService.cpp | 74 Status checkUid(uid_t expectedUid) { in checkUid() argument 76 if (uid == expectedUid || uid == AID_ROOT) { in checkUid() 80 StringPrintf("UID %d is not expected UID %d", uid, expectedUid)); in checkUid()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/ |
D | RttServiceImplTest.java | 1483 AwareTranslatePeerHandlesToMac(int expectedUid, Map<Integer, MacAddress> peerIdToMacMap) { in AwareTranslatePeerHandlesToMac() argument 1484 mExpectedUid = expectedUid; in AwareTranslatePeerHandlesToMac()
|
/frameworks/native/cmds/installd/ |
D | InstalldNativeService.cpp | 159 binder::Status checkUid(uid_t expectedUid) { in checkUid() argument 161 if (uid == expectedUid || uid == AID_ROOT) { in checkUid() 165 StringPrintf("UID %d is not expected UID %d", uid, expectedUid)); in checkUid()
|