Home
last modified time | relevance | path

Searched refs:expectedUid (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/java/com/android/internal/os/
DZygoteCommandBuffer.java166 boolean forkRepeatedly(FileDescriptor zygoteSocket, int expectedUid, int minUid, in forkRepeatedly() argument
170 expectedUid, minUid, firstNiceName); in forkRepeatedly()
183 int expectedUid, in nativeForkRepeatedly() argument
DZygote.java728 int expectedUid, in forkSimpleApps() argument
732 argBuffer.forkRepeatedly(zygoteSocket, expectedUid, minUid, firstNiceName); in forkSimpleApps()
/frameworks/base/core/tests/packagemonitortests/src/com/android/internal/content/
DPackageMonitorVisibilityTest.java83 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/
DNotificationHistoryTest.java54 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/
DNotificationHistoryFilterTest.java47 int expectedUid = 1123456 + index; in getHistoricalNotification() local
59 .setUid(expectedUid) in getHistoricalNotification()
DNotificationHistoryProtoHelperTest.java54 int expectedUid = 1123456 + index; in getHistoricalNotification() local
70 .setUid(expectedUid) in getHistoricalNotification()
DNotificationHistoryDatabaseTest.java70 int expectedUid = 1123456 + index; in getHistoricalNotification() local
82 .setUid(expectedUid) in getHistoricalNotification()
DNotificationHistoryManagerTest.java69 int expectedUid = 1123456 + index; in getHistoricalNotification() local
81 .setUid(expectedUid) in getHistoricalNotification()
DPreferencesHelperTest.java573 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()
DNotificationManagerServiceTest.java7889 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/
DConnectivityModuleConnector.java173 final int expectedUid = in getModuleServiceIntent() local
175 if (uid != expectedUid) { in getModuleServiceIntent()
/frameworks/native/cmds/installd/
DInstalldNativeService.cpp157 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()