/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | VisibilityExtractorTest.java | 61 private int mUser = ActivityManager.getCurrentUser(); field in VisibilityExtractorTest 80 mPid, n, UserHandle.of(mUser), null, System.currentTimeMillis()); in getNotificationRecord() 95 when(mConfig.canShowNotificationsOnLockscreen(mUser)).thenReturn(true); in testGlobalAllDpmAllChannelAll() 96 when(mConfig.canShowPrivateNotificationsOnLockScreen(mUser)).thenReturn(true); in testGlobalAllDpmAllChannelAll() 98 when(mDpm.getKeyguardDisabledFeatures(null, mUser)).thenReturn(0); in testGlobalAllDpmAllChannelAll() 113 when(mConfig.canShowNotificationsOnLockscreen(mUser)).thenReturn(false); in testGlobalNoneDpmAllChannelAll() 114 when(mConfig.canShowPrivateNotificationsOnLockScreen(mUser)).thenReturn(true); in testGlobalNoneDpmAllChannelAll() 116 when(mDpm.getKeyguardDisabledFeatures(null, mUser)).thenReturn(0); in testGlobalNoneDpmAllChannelAll() 131 when(mConfig.canShowNotificationsOnLockscreen(mUser)).thenReturn(true); in testGlobalSomeDpmAllChannelAll() 132 when(mConfig.canShowPrivateNotificationsOnLockScreen(mUser)).thenReturn(false); in testGlobalSomeDpmAllChannelAll() [all …]
|
D | BadgeExtractorTest.java | 61 private UserHandle mUser = UserHandle.of(ActivityManager.getCurrentUser()); field in BadgeExtractorTest 81 mPid, n, mUser, null, System.currentTimeMillis()); in getNotificationRecord() 112 mPid, n, mUser, null, System.currentTimeMillis()); in getNotificationRecordWithBubble() 137 mPid, n, mUser, null, System.currentTimeMillis()); in getNotificationRecordWithMedia() 151 when(mConfig.badgingEnabled(mUser)).thenReturn(true); in testAppYesChannelNo() 165 when(mConfig.badgingEnabled(mUser)).thenReturn(true); in testAppNoChannelYes() 179 when(mConfig.badgingEnabled(mUser)).thenReturn(true); in testAppYesChannelYes() 193 when(mConfig.badgingEnabled(mUser)).thenReturn(true); in testAppNoChannelNo() 207 when(mConfig.badgingEnabled(mUser)).thenReturn(false); in testAppYesChannelYesUserNo() 221 when(mConfig.badgingEnabled(mUser)).thenReturn(true); in testHideNotifOverridesYes() [all …]
|
D | RankingHelperTest.java | 117 UserHandle mUser = UserHandle.ALL; in setUp() local 169 mPkg, mPkg, 1, null, 0, 0, mNotiGroupGSortA, mUser, in setUp() 179 mPkg, mPkg, 1, null, 0, 0, mNotiGroupGSortB, mUser, in setUp() 187 mPkg, mPkg, 1, null, 0, 0, mNotiNoGroup, mUser, in setUp() 195 mPkg, mPkg, 1, null, 0, 0, mNotiNoGroup2, mUser, in setUp() 204 mPkg, mPkg, 1, null, 0, 0, mNotiNoGroupSortA, mUser, in setUp() 211 mPkg, mPkg, 1, null, 0, 0, n, mUser, in setUp() 216 mPkg, mPkg, 2, null, 0, 0, n, mUser, in setUp() 323 mPkg, mPkg, 1, "summary", 0, 0, lowSummaryN, mUser, in testGroupNotifications_highestIsProxy() 329 mPkg, mPkg, 1, "low", 0, 0, lowN, mUser, in testGroupNotifications_highestIsProxy() [all …]
|
/frameworks/base/core/java/android/app/prediction/ |
D | AppTarget.java | 40 private final UserHandle mUser; field in AppTarget 58 mUser = Objects.requireNonNull(user); in AppTarget() 73 mUser = mShortcutInfo.getUserHandle(); in AppTarget() 84 mUser = user; in AppTarget() 93 mUser = UserHandle.of(parcel.readInt()); in AppTarget() 96 mUser = mShortcutInfo.getUserHandle(); in AppTarget() 131 return mUser; in getUser() 164 && mUser.equals(other.mUser) in equals() 171 int hashCode = Objects.hash(mId, mPackageName, mClassName, mUser); in hashCode() 190 dest.writeInt(mUser.getIdentifier()); in writeToParcel() [all …]
|
/frameworks/base/core/java/android/os/ |
D | NewUserResponse.java | 30 private final @Nullable UserHandle mUser; field in NewUserResponse 39 mUser = user; in NewUserResponse() 47 return mUser != null; in isSuccessful() 55 return mUser; in getUser() 69 + mUser in toString()
|
/frameworks/base/core/java/android/content/pm/ |
D | LauncherActivityInfoInternal.java | 34 @NonNull private UserHandle mUser; field in LauncherActivityInfoInternal 47 mUser = user; in LauncherActivityInfoInternal() 54 mUser = source.readTypedObject(UserHandle.CREATOR); in LauncherActivityInfoInternal() 66 return mUser; in getUser() 82 dest.writeTypedObject(mUser, flags); in writeToParcel()
|
/frameworks/base/core/java/android/content/pm/verify/domain/ |
D | DomainVerificationUserState.java | 98 private final UserHandle mUser; field in DomainVerificationUserState 196 this.mUser = user; in DomainVerificationUserState() 198 NonNull.class, null, mUser); in DomainVerificationUserState() 222 return mUser; in getUser() 250 "user = " + mUser + ", " + in toString() 271 && java.util.Objects.equals(mUser, that.mUser) in equals() 285 _hash = 31 * _hash + java.util.Objects.hashCode(mUser); in hashCode() 313 dest.writeTypedObject(mUser, flags); in writeToParcel() 341 this.mUser = user; in DomainVerificationUserState() 343 NonNull.class, null, mUser); in DomainVerificationUserState()
|
/frameworks/base/core/java/android/app/contentsuggestions/ |
D | ContentSuggestionsManager.java | 73 private final int mUser; field in ContentSuggestionsManager 79 mUser = userId; in ContentSuggestionsManager() 98 mService.provideContextBitmap(mUser, bitmap, imageContextRequestExtras); in provideContextImage() 120 mService.provideContextImage(mUser, taskId, imageContextRequestExtras); in provideContextImage() 149 mUser, request, new SelectionsCallbackWrapper(callback, callbackExecutor)); in suggestContentSelections() 176 mUser, request, new ClassificationsCallbackWrapper(callback, callbackExecutor)); in classifyContentSelections() 196 mService.notifyInteraction(mUser, requestId, interaction); in notifyInteraction() 215 mService.isEnabled(mUser, receiver); in isEnabled()
|
/frameworks/base/core/java/android/service/notification/ |
D | Adjustment.java | 50 private final int mUser; field in Adjustment 190 mUser = user; in Adjustment() 210 mUser = userHandle.getIdentifier(); in Adjustment() 234 mUser = in.readInt(); in Adjustment() 269 return mUser; in getUser() 273 return UserHandle.of(mUser); in getUserHandle() 302 dest.writeInt(mUser); in writeToParcel()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | AppPredictionServiceResolverComparator.java | 57 private final UserHandle mUser; field in AppPredictionServiceResolverComparator 82 mUser = user; in AppPredictionServiceResolverComparator() 144 mUser) in doCompute() 179 mUser); in setupFallbackModel() 194 private final UserHandle mUser; field in AppPredictionServiceResolverComparator.ModelBuilder 198 mUser = user; in ModelBuilder() 203 mAppPredictor, mUser, buildTargetRanksMapFromSortedTargets(sortedAppTargets)); in buildFromRankedList() 259 private final UserHandle mUser; 267 mUser = user; 306 targetInfo.getResolvedComponentName().getPackageName(), mUser)
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsService.java | 109 int mUser = UserHandle.USER_NULL; field in SettingsService.MyShellCommand 136 if (mUser != UserHandle.USER_NULL) { in onCommand() 140 mUser = UserHandle.parseUserArg(getNextArgRequired()); in onCommand() 142 if (mUser == UserHandle.USER_ALL) { in onCommand() 258 if (mUser == UserHandle.USER_NULL || mUser == UserHandle.USER_CURRENT) { in onCommand() 260 mUser = ActivityManager.getService().getCurrentUser().id; in onCommand() 266 if (userManager.getUserInfo(mUser) == null) { in onCommand() 267 perr.println("Invalid user: " + mUser); in onCommand() 275 pout.println(getForUser(iprovider, mUser, mTable, mKey)); in onCommand() 278 putForUser(iprovider, mUser, mTable, mKey, mValue, mTag, mMakeDefault); in onCommand() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/ |
D | AppRestrictionsHelper.java | 59 private final UserHandle mUser; field in AppRestrictionsHelper 76 mUser = mInjector.getUser(); in AppRestrictionsHelper() 78 mRestrictedProfile = mUserManager.getUserInfo(mUser.getIdentifier()).isRestricted(); in AppRestrictionsHelper() 98 if (!mRestrictedProfile && mUser.getIdentifier() != UserHandle.myUserId()) { in applyUserAppsStates() 111 final int userId = mUser.getIdentifier(); in applyUserAppState() 119 mIPm.installExistingPackageAsUser(packageName, mUser.getIdentifier(), in applyUserAppState() 144 PackageManager.DELETE_SYSTEM_APP, mUser.getIdentifier()); in applyUserAppState() 218 PackageManager.MATCH_UNINSTALLED_PACKAGES, mUser.getIdentifier()); in fetchAndMergeApps() 318 0, mUser); in addSystemApps() 394 private UserHandle mUser; field in AppRestrictionsHelper.Injector [all …]
|
D | AppCopyHelper.java | 55 private final UserHandle mUser; field in AppCopyHelper 71 mUser = injector.getUser(); in AppCopyHelper() 106 final int userId = mUser.getIdentifier(); in installSelectedApp() 113 mIPm.installExistingPackageAsUser(packageName, mUser.getIdentifier(), in installSelectedApp() 190 PackageManager.MATCH_UNINSTALLED_PACKAGES, mUser.getIdentifier()); in removeSecondUsersApp() 257 private final UserHandle mUser; field in AppCopyHelper.Injector 261 mUser = user; in Injector() 265 return mUser; in getUser()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
D | TileLifecycleManager.java | 108 private final UserHandle mUser; field in TileLifecycleManager 147 mUser = user; in TileLifecycleManager() 162 if (mDebug) Log.d(TAG, "Creating " + mIntent + " " + mUser); in TileLifecycleManager() 175 return mUser.getIdentifier(); in getUserId() 252 if (mDebug) Log.d(TAG, "Binding service " + mIntent + " " + mUser); in setBindService() 283 mUser)) { in bindServices() 284 return mContext.bindServiceAsUser(mIntent, this, flags, mUser); in bindServices() 288 mUser); in bindServices() 293 if (mDebug) Log.d(TAG, "Unbinding service " + mIntent + " " + mUser); in unbindService() 483 this, mUser, filter, null, mHandler, Context.RECEIVER_EXPORTED); in startPackageListening() [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | InlineReplyUriRecord.java | 32 private final UserHandle mUser; field in InlineReplyUriRecord 46 mUser = user; in InlineReplyUriRecord() 78 int userId = mUser.getIdentifier(); in getUserId()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | CallLayout.java | 57 private Person mUser; field in CallLayout 102 if (mUser != null) { in getConversationIcon() 103 icon = mUser.getIcon(); in getConversationIcon() 104 callerName = mUser.getName(); in getConversationIcon() 191 mUser = user; in setUser()
|
D | MessagingData.java | 28 private final Person mUser; field in MessagingData 55 mUser = user; in MessagingData() 66 return mUser; in getUser()
|
D | MessagingLayout.java | 84 private Person mUser; field in MessagingLayout 361 boolean isOwnMessage = group.getSender() == mUser; in updateTitleAndNamesDisplay() 382 if (mIsOneToOne && mAvatarReplacement != null && group.getSender() != mUser) { in updateTitleAndNamesDisplay() 451 mUser = user; in setUser() 452 if (mUser.getIcon() == null) { in setUser() 456 mUser = mUser.toBuilder().setIcon(userIcon).build(); in setUser() 490 if (sender != mUser && mNameReplacement != null) { in createGroupViews() 530 sender = mUser; in findGroups()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | DeletePackageAction.java | 28 public final UserHandle mUser; field in DeletePackageAction 36 mUser = user; in DeletePackageAction()
|
D | MultiPackageVerifyingSession.java | 44 private final UserHandle mUser; field in MultiPackageVerifyingSession 48 mUser = parent.getUser(); in MultiPackageVerifyingSession() 64 if (DEBUG_INSTALL) Slog.i(TAG, "start " + mUser + ": " + this); in start()
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
D | ScanRequestBuilder.java | 37 private UserHandle mUser; field in ScanRequestBuilder 102 this.mUser = user; in setUser() 121 mIsPlatformPackage, mUser, mCpuAbiOverride); in build()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/ |
D | SbnBuilder.java | 42 private UserHandle mUser = UserHandle.of(0); field in SbnBuilder 58 mUser = source.getUser(); in SbnBuilder() 86 mUser, in build() 168 mUser = user; in setUser()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | VoiceInteractionManagerServiceImpl.java | 116 final int mUser; field in VoiceInteractionManagerServiceImpl 158 Slog.d(TAG, "onServiceConnected to " + name + " for user(" + mUser + ")"); 186 plistSlice = mAm.getHistoricalProcessExitReasons(packageName, 0, 1, mUser); 202 mServiceStub.handleUserStop(packageName, mUser); 218 mUser = userHandle; in VoiceInteractionManagerServiceImpl() 226 info = new VoiceInteractionServiceInfo(context.getPackageManager(), service, mUser); in VoiceInteractionManagerServiceImpl() 292 mSessionComponentName, mUser, mContext, this, in showSessionLocked() 379 mActiveSession.mInteractor, 0, null, null, mUser); in startVoiceActivityLocked() 402 callingPid, callingUid, intent, resolvedType, bundle, mUser); in startAssistantActivityLocked() 642 mHotwordDetectionComponentName, mUser); in verifyDetectorForHotwordDetectionLocked() [all …]
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/ |
D | UsageStats.java | 45 private int mUser; field in UsageStats.AuthenticationEvent 54 mUser = user; in AuthenticationEvent() 63 + "\tUser: " + mUser in toString()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/ |
D | TileLifecycleManagerTest.java | 108 private UserHandle mUser; field in TileLifecycleManagerTest 140 mUser = new UserHandle(UserHandle.myUserId()); in setUp() 151 mUser, in setUp() 461 mUser.getIdentifier(), REASON_TILE_ONCLICK, "tile onclick"); in testClickCallsDeviceIdleManager() 473 mUser, in testFalseBindCallsUnbind() 496 mUser, in testVersionUDoesNotBindsAllowBackgroundActivity() 519 mUser, in testVersionLessThanUBindsAllowBackgroundActivity() 544 mUser, in testNullBindingCallsUnbind()
|