Home
last modified time | relevance | path

Searched refs:mUser (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/base/core/java/android/app/prediction/
DAppTarget.java42 private final UserHandle mUser; field in AppTarget
60 mUser = Preconditions.checkNotNull(user); in AppTarget()
75 mUser = mShortcutInfo.getUserHandle(); in AppTarget()
86 mUser = user; in AppTarget()
95 mUser = UserHandle.of(parcel.readInt()); in AppTarget()
98 mUser = mShortcutInfo.getUserHandle(); in AppTarget()
133 return mUser; in getUser()
166 && mUser.equals(other.mUser) in equals()
182 dest.writeInt(mUser.getIdentifier()); in writeToParcel()
200 private UserHandle mUser; field in AppTarget.Builder
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DAppInfo.java27 private final UserHandle mUser; field in AppInfo
32 mUser = user; in AppInfo()
40 return mUser; in getUser()
52 return mComponentName.equals(other.mComponentName) && mUser.equals(other.mUser); in equals()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DBadgeExtractorTest.java57 private UserHandle mUser = UserHandle.of(ActivityManager.getCurrentUser()); field in BadgeExtractorTest
77 mPid, n, mUser, null, System.currentTimeMillis()); in getNotificationRecord()
91 when(mConfig.badgingEnabled(mUser)).thenReturn(true); in testAppYesChannelNo()
105 when(mConfig.badgingEnabled(mUser)).thenReturn(true); in testAppNoChannelYes()
119 when(mConfig.badgingEnabled(mUser)).thenReturn(true); in testAppYesChannelYes()
133 when(mConfig.badgingEnabled(mUser)).thenReturn(true); in testAppNoChannelNo()
147 when(mConfig.badgingEnabled(mUser)).thenReturn(false); in testAppYesChannelYesUserNo()
161 when(mConfig.badgingEnabled(mUser)).thenReturn(true); in testDndOverridesYes()
177 when(mConfig.badgingEnabled(mUser)).thenReturn(true); in testDndOConsidersInterception()
193 when(mConfig.badgingEnabled(mUser)).thenReturn(true); in testDndConsidersSuppressedVisualEffects()
DBubbleExtractorTest.java55 private UserHandle mUser = UserHandle.of(ActivityManager.getCurrentUser()); field in BubbleExtractorTest
75 mPid, n, mUser, null, System.currentTimeMillis()); in getNotificationRecord()
89 when(mConfig.bubblesEnabled(mUser)).thenReturn(true); in testAppYesChannelNo()
103 when(mConfig.bubblesEnabled(mUser)).thenReturn(true); in testAppNoChannelYes()
117 when(mConfig.bubblesEnabled(mUser)).thenReturn(true); in testAppYesChannelYes()
131 when(mConfig.bubblesEnabled(mUser)).thenReturn(true); in testAppNoChannelNo()
145 when(mConfig.bubblesEnabled(mUser)).thenReturn(false); in testAppYesChannelYesUserNo()
DImportanceExtractorTest.java55 private android.os.UserHandle mUser = UserHandle.of(ActivityManager.getCurrentUser()); field in ImportanceExtractorTest
71 mPid, n, mUser, null, System.currentTimeMillis()); in getNotificationRecord()
/frameworks/base/core/java/android/app/contentsuggestions/
DContentSuggestionsManager.java59 private final int mUser; field in ContentSuggestionsManager
65 mUser = userId; in ContentSuggestionsManager()
84 mService.provideContextImage(mUser, taskId, imageContextRequestExtras); in provideContextImage()
113 mUser, request, new SelectionsCallbackWrapper(callback, callbackExecutor)); in suggestContentSelections()
140 mUser, request, new ClassificationsCallbackWrapper(callback, callbackExecutor)); in classifyContentSelections()
160 mService.notifyInteraction(mUser, requestId, interaction); in notifyInteraction()
179 mService.isEnabled(mUser, receiver); in isEnabled()
/frameworks/base/core/java/android/service/notification/
DAdjustment.java51 private final int mUser; field in Adjustment
143 mUser = user; in Adjustment()
163 mUser = userHandle.getIdentifier(); in Adjustment()
187 mUser = in.readInt(); in Adjustment()
223 return mUser; in getUser()
227 return UserHandle.of(mUser); in getUserHandle()
256 dest.writeInt(mUser); in writeToParcel()
/frameworks/base/core/java/com/android/server/backup/
DPermissionBackupHelper.java37 private final @NonNull UserHandle mUser; field in PermissionBackupHelper
44 mUser = UserHandle.of(userId); in PermissionBackupHelper()
56 return mPermissionManager.backupRuntimePermissions(mUser); in getBackupPayload()
75 mPermissionManager.restoreRuntimePermissions(payload, mUser); in applyRestoredPayload()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsService.java108 int mUser = UserHandle.USER_NULL; field in SettingsService.MyShellCommand
135 if (mUser != UserHandle.USER_NULL) { in onCommand()
139 mUser = UserHandle.parseUserArg(getNextArgRequired()); in onCommand()
141 if (mUser == UserHandle.USER_ALL) { in onCommand()
257 if (mUser == UserHandle.USER_NULL || mUser == UserHandle.USER_CURRENT) { in onCommand()
259 mUser = ActivityManager.getService().getCurrentUser().id; in onCommand()
265 if (userManager.getUserInfo(mUser) == null) { in onCommand()
266 perr.println("Invalid user: " + mUser); in onCommand()
274 pout.println(getForUser(iprovider, mUser, mTable, mKey)); in onCommand()
277 putForUser(iprovider, mUser, mTable, mKey, mValue, mTag, mMakeDefault); in onCommand()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
DAppRestrictionsHelper.java59 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 …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DTileLifecycleManager.java72 private final UserHandle mUser; field in TileLifecycleManager
103 mUser = user; in TileLifecycleManager()
105 if (DEBUG) Log.d(TAG, "Creating " + mIntent + " " + mUser); in TileLifecycleManager()
158 if (DEBUG) Log.d(TAG, "Binding service " + mIntent + " " + mUser); in setBindService()
163 | Context.BIND_ALLOW_BACKGROUND_ACTIVITY_STARTS, mUser); in setBindService()
169 if (DEBUG) Log.d(TAG, "Unbinding service " + mIntent + " " + mUser); in setBindService()
286 mContext.registerReceiverAsUser(this, mUser, filter, null, mHandler); in startPackageListening()
288 mContext.registerReceiverAsUser(this, mUser, filter, null, mHandler); in startPackageListening()
327 0, mUser.getIdentifier()); in isComponentAvailable()
339 mPackageManagerAdapter.getPackageInfoAsUser(packageName, 0, mUser.getIdentifier()); in isPackageAvailable()
[all …]
/frameworks/base/core/java/android/content/pm/
DLauncherActivityInfo.java42 private UserHandle mUser; field in LauncherActivityInfo
55 mUser = user; in LauncherActivityInfo()
83 return mUser; in getUser()
176 return mPm.getUserBadgedIcon(originalIcon, mUser); in getBadgedIcon()
/frameworks/base/core/java/com/android/internal/app/
DAppPredictionServiceResolverComparator.java54 private final UserHandle mUser; field in AppPredictionServiceResolverComparator
71 mUser = user; in AppPredictionServiceResolverComparator()
106 mUser) in doCompute()
172 componentName.getPackageName(), mUser) in updateModel()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionSessionConnection.java84 final int mUser; field in VoiceInteractionSessionConnection
144 mUser = user; in VoiceInteractionSessionConnection()
165 | Context.BIND_ALLOW_BACKGROUND_ACTIVITY_STARTS, new UserHandle(mUser)); in VoiceInteractionSessionConnection()
181 Settings.Secure.ASSIST_STRUCTURE_ENABLED, 1, mUser) == 0) { in getUserDisabledShowContextLocked()
185 Settings.Secure.ASSIST_SCREENSHOT_ENABLED, 1, mUser) == 0) { in getUserDisabledShowContextLocked()
199 new UserHandle(mUser)); in showLocked()
319 int sourceUserId = ContentProvider.getUserIdFromUri(uri, mUser); in grantUriPermission()
322 destPkg, uri, FLAG_GRANT_READ_URI_PERMISSION, sourceUserId, mUser); in grantUriPermission()
366 FLAG_GRANT_READ_URI_PERMISSION | FLAG_GRANT_WRITE_URI_PERMISSION, mUser); in hideLocked()
DVoiceInteractionManagerServiceImpl.java76 final int mUser; field in VoiceInteractionManagerServiceImpl
132 mUser = userHandle; in VoiceInteractionManagerServiceImpl()
138 info = new VoiceInteractionServiceInfo(context.getPackageManager(), service, mUser); in VoiceInteractionManagerServiceImpl()
169 mSessionComponentName, mUser, mContext, this, in showSessionLocked()
235 0, null, null, mUser); in startVoiceActivityLocked()
257 intent, resolvedType, options.toBundle(), mUser); in startAssistantActivityLocked()
387 pw.print(" mUser="); pw.println(mUser); in dumpLocked()
414 | Context.BIND_ALLOW_BACKGROUND_ACTIVITY_STARTS, new UserHandle(mUser)); in startLocked()
/frameworks/base/core/java/com/android/internal/widget/
DMessagingLayout.java95 private Person mUser; field in MessagingLayout
274 boolean isOwnMessage = group.getSender() == mUser; in updateTitleAndNamesDisplay()
295 if (mIsOneToOne && mAvatarReplacement != null && group.getSender() != mUser) { in updateTitleAndNamesDisplay()
374 mUser = user; in setUser()
375 if (mUser.getIcon() == null) { in setUser()
379 mUser = mUser.toBuilder().setIcon(userIcon).build(); in setUser()
419 if (sender != mUser && mNameReplacement != null) { in createGroupViews()
456 sender = mUser; in findGroups()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DHeadsUpManager.java57 protected int mUser; field in HeadsUpManager
189 final String key = snoozeKey(packageName, mUser); in isSnoozed()
210 mSnoozedPackages.put(snoozeKey(packageName, mUser), in snooze()
252 mUser = user; in setUser()
265 pw.print(" mUser="); pw.println(mUser); in dumpInternal()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPermissionManager.java59 private final UserHandle mUser; field in UsbPermissionManager
65 mUser = user; in UsbPermissionManager()
203 userContext.startActivityAsUser(intent, mUser); in requestPermissionDialog()
DUsbUserSettingsManager.java61 private final UserHandle mUser; field in UsbUserSettingsManager
81 mUser = user; in UsbUserSettingsManager()
276 mUser.getIdentifier()); in queryIntentActivities()
378 dump.write("user_id", UsbUserSettingsManagerProto.USER_ID, mUser.getIdentifier()); in dump()
/frameworks/av/media/libstagefright/rtsp/
DARTSPConnection.cpp237 if (!ParseURL(url.c_str(), &host, &port, &path, &mUser, &mPass) in onConnect()
238 || (mUser.size() > 0 && mPass.size() == 0)) { in onConnect()
252 if (mUser.size() > 0) { in onConnect()
253 ALOGV("user = '%s', pass = '%s'", mUser.c_str(), mPass.c_str()); in onConnect()
327 mUser.clear(); in performDisconnect()
738 if (mAuthType == NONE && mUser.size() > 0 in receiveRTSPReponse()
970 tmp.append(mUser); in addAuthentication()
993 A1.append(mUser); in addAuthentication()
1024 fragment.append(mUser); in addAuthentication()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
DStorageMeasurement.java99 private final UserManager mUser; field in StorageMeasurement
107 mUser = mContext.getSystemService(UserManager.class); in StorageMeasurement()
148 final List<UserInfo> users = mUser.getUsers(); in measureExactStorage()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
DTileLifecycleManagerTest.java65 private UserHandle mUser; field in TileLifecycleManagerTest
82 mUser = new UserHandle(UserHandle.myUserId()); in setUp()
89 mUser, in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DBatteryMeterView.java102 private int mUser; field in BatteryMeterView
164 mUser = newUserId; in BatteryMeterView()
298 mUser = ActivityManager.getCurrentUser(); in onAttachedToWindow()
300 Settings.System.getUriFor(SHOW_BATTERY_PERCENT), false, mSettingObserver, mUser); in onAttachedToWindow() local
387 SHOW_BATTERY_PERCENT, 0, mUser); in updateShowPercent()
/frameworks/base/core/java/android/permission/
DPermissionControllerManager.java789 private final @NonNull UserHandle mUser; field in PermissionControllerManager.PendingGetRuntimePermissionBackup
796 mUser = user; in PendingGetRuntimePermissionBackup()
818 getService().getServiceInterface().getRuntimePermissionBackup(mUser, remotePipe); in run()
913 private final @NonNull UserHandle mUser; field in PermissionControllerManager.PendingRestoreRuntimePermissionBackup
918 mUser = user; in PendingRestoreRuntimePermissionBackup()
932 service.restoreRuntimePermissionBackup(mUser, remotePipe); in run()
951 private final @NonNull UserHandle mUser; field in PermissionControllerManager.PendingRestoreDelayedRuntimePermissionBackup
963 mUser = user; in PendingRestoreDelayedRuntimePermissionBackup()
994 mPackageName, mUser, mRemoteCallback); in run()
/frameworks/base/telephony/java/android/telephony/data/
DApnSetting.java263 private final String mUser; field in ApnSetting
500 return mUser; in getUser()
650 this.mUser = builder.mUser; in ApnSetting()
799 apn.mMmsProxyPort, apn.mUser, apn.mPassword, apn.mAuthType, apn.mApnTypeBitmask, in makeApnSetting()
1129 && Objects.equals(mUser, other.mUser) in equals()
1177 && Objects.equals(mUser, other.mUser) in equals()
1257 apnValue.put(Telephony.Carriers.USER, nullToEmpty(mUser)); in toContentValues()
1461 dest.writeString(mUser); in writeToParcel()
1558 private String mUser; field in ApnSetting.Builder
1808 this.mUser = user; in setUser()

12