/frameworks/base/core/java/com/android/internal/os/ |
D | ZygoteCommandBuffer.java | 166 boolean forkRepeatedly(FileDescriptor zygoteSocket, int expectedUid, int minUid, in forkRepeatedly() argument 170 expectedUid, minUid, firstNiceName); in forkRepeatedly() 183 int expectedUid, in nativeForkRepeatedly() argument
|
D | Zygote.java | 728 int expectedUid, in forkSimpleApps() argument 732 argBuffer.forkRepeatedly(zygoteSocket, expectedUid, minUid, firstNiceName); in forkSimpleApps()
|
/frameworks/base/core/tests/packagemonitortests/src/com/android/internal/content/ |
D | PackageMonitorVisibilityTest.java | 83 int expectedUid = context.getPackageManager().getPackageUid(TEAT_APK_PACKAGE_NAME, in testPackageMonitorPackageVisible() local 87 assertThat(testPackageMonitor.mAddedPackageUid).isEqualTo(expectedUid); in testPackageMonitorPackageVisible()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | NotificationHistoryTest.java | 54 int expectedUid = 1123456 + index; in getHistoricalNotification() local 70 .setUid(expectedUid) in getHistoricalNotification() 85 int expectedUid = 1123456; in testHistoricalNotificationBuilder() local 98 .setUid(expectedUid) in testHistoricalNotificationBuilder() 110 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 | 70 int expectedUid = 1123456 + index; in getHistoricalNotification() local 82 .setUid(expectedUid) in getHistoricalNotification()
|
D | NotificationHistoryManagerTest.java | 69 int expectedUid = 1123456 + index; in getHistoricalNotification() local 81 .setUid(expectedUid) in getHistoricalNotification()
|
D | PreferencesHelperTest.java | 573 int expectedUid = 1001001; in testReadXml_onlyRestoresTargetUser() local 574 setUpPackageWithUid(package0, expectedUid); in testReadXml_onlyRestoresTargetUser() 579 mXmlHelper.getNotificationChannel(package0, expectedUid, channel0.getId(), false)); in testReadXml_onlyRestoresTargetUser()
|
D | NotificationManagerServiceTest.java | 7889 int expectedUid = 123; in testResolveNotificationUid_delegateAllowed() local 7891 when(mPackageManagerClient.getPackageUidAsUser("target", 0)).thenReturn(expectedUid); in testResolveNotificationUid_delegateAllowed() 7896 assertEquals(expectedUid, mService.resolveNotificationUid("caller", "target", 9, 0)); in testResolveNotificationUid_delegateAllowed() 7901 int expectedUid = 123; in testResolveNotificationUid_androidAllowed() local 7903 when(mPackageManagerClient.getPackageUidAsUser("target", 0)).thenReturn(expectedUid); in testResolveNotificationUid_androidAllowed() 7906 assertEquals(expectedUid, mService.resolveNotificationUid("android", "target", 0, 0)); in testResolveNotificationUid_androidAllowed()
|
/frameworks/base/services/net/java/android/net/ |
D | ConnectivityModuleConnector.java | 173 final int expectedUid = in getModuleServiceIntent() local 175 if (uid != expectedUid) { in getModuleServiceIntent()
|
/frameworks/native/cmds/installd/ |
D | InstalldNativeService.cpp | 157 binder::Status checkUid(uid_t expectedUid) { in checkUid() argument 159 if (uid == expectedUid || uid == AID_ROOT) { in checkUid() 163 StringPrintf("UID %d is not expected UID %d", uid, expectedUid)); in checkUid()
|