Home
last modified time | relevance | path

Searched refs:UID (Results 1 – 4 of 4) sorted by relevance

/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
DBatteryStatsRadioPowerStateTest.java45 private static final int UID = Os.getuid(); field in BatteryStatsRadioPowerStateTest
66 assertThrows(SecurityException.class, () -> mBsm.reportMobileRadioPowerState(true, UID)); in testReportMobileRadioPowerState()
81 mBsm.reportMobileRadioPowerState(!expectedCurrentMobileRadio, UID); in testReportMobileRadioPowerState()
82 mBsm.reportMobileRadioPowerState(expectedCurrentMobileRadio, UID); in testReportMobileRadioPowerState()
87 mBsm.reportMobileRadioPowerState(expectedCurrentMobileRadio, UID); in testReportMobileRadioPowerState()
95 assertThrows(SecurityException.class, () -> mBsm.reportWifiRadioPowerState(true, UID)); in testReportWifiRadioPowerState()
106 mBsm.reportWifiRadioPowerState(!expectedCurrentWifiRadio, UID); in testReportWifiRadioPowerState()
111 mBsm.reportWifiRadioPowerState(expectedCurrentWifiRadio, UID); in testReportWifiRadioPowerState()
/cts/tests/app/src/android/app/cts/
DStatusBarNotificationTest.java24 private static final int UID = 123; field in StatusBarNotificationTest
38 mUserHandle = UserHandle.getUserHandleForUid(UID); in setUp()
43 mSbn = new StatusBarNotification(PKG, OP_PKG, ID, TAG, UID, 0, 0, mNotification, in setUp()
48 assertEquals(UID, mSbn.getUid()); in testGetUid()
100 new StatusBarNotification(PKG, OP_PKG, ID, TAG, UID, 0, 0, notification, in testIsClearable_notClearableOngoingEvent()
121 new StatusBarNotification(PKG, OP_PKG, ID, TAG, UID, 0, 0, notification, in testIsGroup_notifGroup()
133 new StatusBarNotification(PKG, OP_PKG, ID, TAG, UID, 0, 0, notification, in testIsGroup_sortKey()
149 new StatusBarNotification(PKG, OP_PKG, ID, TAG, UID, 0, 0, notification, in testIsOngoing_ongoingEvent()
166 assertEquals(UID, clone.getUid()); in testClone()
/cts/tests/JobSchedulerSharedUid/jobperm/
DREADME.txt1 This APK uses the same shared UID as CtsJobSchedulerSharedUidTestCases. It has no code but exists f…
2 a shared-UID tests.
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DPackageDeviceInfo.java77 private static final String UID = "uid"; field in PackageDeviceInfo
188 store.addResult(UID, appInfo.uid); in collectionApplicationInfo()