/cts/tests/tests/notification/src/android/app/notification/current/cts/ |
D | StatusBarNotificationTest.java | 46 private UserHandle mUserHandle; field in StatusBarNotificationTest 53 mUserHandle = UserHandle.getUserHandleForUid(UID); in setUp() 59 mUserHandle, POST_TIME); in setUp() 79 assertEquals(mUserHandle, mSbn.getUser()); in testGetUser() 128 mUserHandle, POST_TIME); in testIsClearable_notClearableOngoingEvent() 152 mUserHandle, POST_TIME); in testIsGroup_notifGroup() 165 mUserHandle, POST_TIME); in testIsGroup_sortKey() 183 mUserHandle, POST_TIME); in testIsOngoing_ongoingEvent() 204 assertEquals(mUserHandle, clone.getUser()); in testClone()
|
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/ |
D | EventLogsQuery.java | 39 private transient UserHandle mUserHandle = null; // null is default, meaning current user field in EventLogsQuery 95 mUserHandle = userHandle; in onUser() 105 return mUserHandle; in getUserHandle() 123 if (query.mUserHandle != null) { in ToStringBuilder() 124 mFields.add("user=" + query.mUserHandle); in ToStringBuilder()
|
/cts/hostsidetests/devicepolicy/app/WidgetProvider/src/com/android/cts/widgetprovider/ |
D | SimpleAppWidgetHostService.java | 73 private UserHandle mUserHandle; field in SimpleAppWidgetHostService 135 mUserHandle = getUserHandleArgument(this, USER_EXTRA, intent); in onStartCommand() 136 Log.d(TAG, "mUserHandle=" + mUserHandle); in onStartCommand() 167 mAppWidgetManager.bindAppWidgetIdIfAllowed(mAppWidgetId, mUserHandle, info.provider, null); in bindAppWidget() 199 mProviders = mAppWidgetManager.getInstalledProvidersForProfile(mUserHandle); in SimpleAppWidgetHost() 208 mProviders = mAppWidgetManager.getInstalledProvidersForProfile(mUserHandle); in onProvidersChanged() 224 Log.d(TAG, "checking for " + packageName + " " + mUserHandle); in getProvider() 229 + " for user " + mUserHandle); in getProvider()
|
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/events/deviceadminreceivers/ |
D | DeviceAdminPasswordSucceededEvent.java | 102 if (!mUser.matches(event.mUserHandle)) { in filter() 166 mEvent.mUserHandle = new SerializableParcelWrapper<>(userHandle); in setUserHandle() 172 protected SerializableParcelWrapper<UserHandle> mUserHandle; field in DeviceAdminPasswordSucceededEvent 191 if (mUserHandle == null) { in userHandle() 194 return mUserHandle.get(); in userHandle()
|
D | DeviceAdminPasswordChangedEvent.java | 102 if (!mUser.matches(event.mUserHandle)) { in filter() 166 mEvent.mUserHandle = new SerializableParcelWrapper<>(userHandle); in setUserHandle() 172 protected SerializableParcelWrapper<UserHandle> mUserHandle; field in DeviceAdminPasswordChangedEvent 191 if (mUserHandle == null) { in userHandle() 194 return mUserHandle.get(); in userHandle()
|
D | DeviceAdminPasswordFailedEvent.java | 102 if (!mUser.matches(event.mUserHandle)) { in filter() 166 mEvent.mUserHandle = new SerializableParcelWrapper<>(userHandle); in setUserHandle() 172 protected SerializableParcelWrapper<UserHandle> mUserHandle; field in DeviceAdminPasswordFailedEvent 191 if (mUserHandle == null) { in userHandle() 194 return mUserHandle.get(); in userHandle()
|
/cts/tests/tests/car/src/android/car/cts/ |
D | CarWatchdogManagerTest.java | 123 private UserHandle mUserHandle; field in CarWatchdogManagerTest 134 mUserHandle = UserHandle.getUserHandleForUid(Process.myUid()); in setUp() 346 mUserHandle, writtenBytes); in testGetResourceOveruseStatsForUserPackage() 359 assertWithMessage("User handle").that(actualStats.getUserHandle()).isEqualTo(mUserHandle); in testGetResourceOveruseStatsForUserPackage() 368 /* packageName= */ null, mUserHandle, in testThrowsExceptionOnGetResourceOveruseStatsForUserPackageWithNullPackageName() 387 mPackageName, mUserHandle, in testThrowsExceptionOnGetResourceOveruseStatsForUserPackageWithInvalidResourceType() 396 mPackageName, mUserHandle, in testThrowsExceptionOnGetResourceOveruseStatsForUserPackageWithInvalidStatsPeriod() 456 mCarWatchdogManager.setKillablePackageAsUser(mPackageName, mUserHandle, in testSetKillablePackageAsUser() 464 mCarWatchdogManager.setKillablePackageAsUser(mPackageName, mUserHandle, in testSetKillablePackageAsUser() 475 mUserHandle, in testThrowsExceptionOnSetKillablePackageAsUserWithNullPackageName() [all …]
|
/cts/hostsidetests/car/app/src/android/car/cts/app/watchdog/ |
D | CarWatchdogDeviceAppTest.java | 96 private final UserHandle mUserHandle = mContext.getUser(); field in CarWatchdogDeviceAppTest 135 mCarWatchdogManager.setKillablePackageAsUser(mPackageName, mUserHandle, in testSetPackageKillableStateAsNo() 158 mCarWatchdogManager.setKillablePackageAsUser(mPackageName, mUserHandle, in testSetPackageKillableStateAsYes() 306 mCarWatchdogManager.getPackageKillableStatesAsUser(mUserHandle); in getPackageKillableState()
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerCtsTestsBase.java | 84 private UserHandle mUserHandle; field in ShortcutManagerCtsTestsBase 130 mUserHandle = android.os.Process.myUserHandle(); in setUp() 206 return mUserHandle; in getUserHandle()
|