Home
last modified time | relevance | path

Searched refs:mUserHandle (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/base/core/java/android/app/smartspace/
DSmartspaceSessionId.java40 private final UserHandle mUserHandle; field in SmartspaceSessionId
49 mUserHandle = userHandle; in SmartspaceSessionId()
54 mUserHandle = p.readTypedObject(UserHandle.CREATOR); in SmartspaceSessionId()
70 return mUserHandle; in getUserHandle()
78 return mId.equals(other.mId) && mUserHandle == other.mUserHandle; in equals()
85 + ", mUserId=" + mUserHandle.getIdentifier() in toString()
91 return Objects.hash(mId, mUserHandle); in hashCode()
102 dest.writeTypedObject(this.mUserHandle, flags); in writeToParcel()
DSmartspaceAction.java78 private final UserHandle mUserHandle; field in SmartspaceAction
91 mUserHandle = in.readTypedObject(UserHandle.CREATOR); in SmartspaceAction()
112 mUserHandle = userHandle; in SmartspaceAction()
169 return mUserHandle; in getUserHandle()
207 out.writeTypedObject(mUserHandle, flags); in writeToParcel()
221 + ", mUserHandle=" + mUserHandle in toString()
265 private UserHandle mUserHandle; field in SmartspaceAction.Builder
322 mUserHandle = userHandle; in setUserHandle()
356 mPendingIntent, mIntent, mUserHandle, mExtras); in build()
DSmartspaceTarget.java118 private final UserHandle mUserHandle; field in SmartspaceTarget
293 this.mUserHandle = in.readTypedObject(UserHandle.CREATOR); in SmartspaceTarget()
323 mUserHandle = userHandle; in SmartspaceTarget()
437 return mUserHandle; in getUserHandle()
512 dest.writeTypedObject(this.mUserHandle, flags); in writeToParcel()
541 + ", mUserHandle=" + mUserHandle in toString()
568 && mUserHandle.equals(that.mUserHandle) in equals()
581 mShouldShowExpanded, mSourceNotificationKey, mComponentName, mUserHandle, in hashCode()
594 private final UserHandle mUserHandle; field in SmartspaceTarget.Builder
625 this.mUserHandle = userHandle; in Builder()
[all …]
/frameworks/base/core/java/android/app/time/
DTimeCapabilities.java60 private final UserHandle mUserHandle; field in TimeCapabilities
65 this.mUserHandle = Objects.requireNonNull(builder.mUserHandle); in TimeCapabilities()
82 UserHandle.writeToParcel(mUserHandle, dest); in writeToParcel()
143 && mUserHandle.equals(that.mUserHandle); in equals()
148 return Objects.hash(mUserHandle, mConfigureAutoDetectionEnabledCapability, in hashCode()
155 + "mUserHandle=" + mUserHandle in toString()
169 @NonNull private final UserHandle mUserHandle; field in TimeCapabilities.Builder
174 this.mUserHandle = Objects.requireNonNull(userHandle); in Builder()
179 this.mUserHandle = timeCapabilities.mUserHandle; in Builder()
DTimeZoneCapabilities.java58 @NonNull private final UserHandle mUserHandle; field in TimeZoneCapabilities
74 this.mUserHandle = Objects.requireNonNull(builder.mUserHandle); in TimeZoneCapabilities()
96 UserHandle.writeToParcel(mUserHandle, dest); in writeToParcel()
194 return mUserHandle.equals(that.mUserHandle) in equals()
205 return Objects.hash(mUserHandle, mConfigureAutoDetectionEnabledCapability, in hashCode()
212 + "mUserHandle=" + mUserHandle in toString()
229 @NonNull private UserHandle mUserHandle; field in TimeZoneCapabilities.Builder
236 mUserHandle = Objects.requireNonNull(userHandle); in Builder()
241 mUserHandle = capabilitiesToCopy.mUserHandle; in Builder()
/frameworks/base/media/java/android/media/projection/
DMediaProjectionInfo.java29 private final UserHandle mUserHandle; field in MediaProjectionInfo
34 mUserHandle = handle; in MediaProjectionInfo()
40 mUserHandle = UserHandle.readFromParcel(in); in MediaProjectionInfo()
49 return mUserHandle; in getUserHandle()
60 && Objects.equals(other.mUserHandle, mUserHandle) in equals()
68 return Objects.hash(mPackageName, mUserHandle); in hashCode()
75 + mUserHandle + ", mLaunchCookie=" in toString()
87 UserHandle.writeToParcel(mUserHandle, out); in writeToParcel()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DInjectedSetting.java61 public final UserHandle mUserHandle; field in InjectedSetting
79 this.mUserHandle = builder.mUserHandle; in InjectedSetting()
91 ", userId=" + mUserHandle.getIdentifier() + in toString()
117 && Objects.equals(mUserHandle, that.mUserHandle) in equals()
128 result = 31 * result + (mUserHandle == null ? 0 : mUserHandle.hashCode()); in hashCode()
139 private UserHandle mUserHandle; field in InjectedSetting.Builder
164 mUserHandle = userHandle; in setUserHandle()
/frameworks/base/core/java/android/app/admin/
DEnforcingAdmin.java43 private final UserHandle mUserHandle; field in EnforcingAdmin
58 mUserHandle = Objects.requireNonNull(userHandle); in EnforcingAdmin()
74 mUserHandle = Objects.requireNonNull(userHandle); in EnforcingAdmin()
80 mUserHandle = new UserHandle(source.readInt()); in EnforcingAdmin()
107 return mUserHandle; in getUserHandle()
127 && Objects.equals(mUserHandle, other.mUserHandle) in equals()
133 return Objects.hash(mPackageName, mAuthority, mUserHandle); in hashCode()
139 + ", mUserHandle= " + mUserHandle + ", mComponentName= " + mComponentName + " }"; in toString()
150 dest.writeInt(mUserHandle.getIdentifier()); in writeToParcel()
/frameworks/base/services/core/java/com/android/server/app/
DGameServiceConfiguration.java86 private final UserHandle mUserHandle; field in GameServiceConfiguration.GameServiceComponentConfiguration
97 mUserHandle = userHandle; in GameServiceComponentConfiguration()
104 return mUserHandle; in getUserHandle()
129 return mUserHandle.equals(that.mUserHandle) && mGameServiceComponentName.equals( in equals()
137 return Objects.hash(mUserHandle, in hashCode()
146 + mUserHandle in toString()
DGameTaskInfoProvider.java45 private final UserHandle mUserHandle; field in GameTaskInfoProvider
52 mUserHandle = userHandle; in GameTaskInfoProvider()
116 mGameClassifier.isGame(componentName.getPackageName(), mUserHandle), componentName); in generateGameInfo()
/frameworks/base/core/java/android/app/smartspace/uitemplatedata/
DTapAction.java58 private final UserHandle mUserHandle; field in TapAction
73 mUserHandle = in.readTypedObject(UserHandle.CREATOR); in TapAction()
84 mUserHandle = userHandle; in TapAction()
111 return mUserHandle; in getUserHandle()
134 out.writeTypedObject(mUserHandle, flags); in writeToParcel()
176 + ", mUserHandle=" + mUserHandle in toString()
193 private UserHandle mUserHandle; field in TapAction.Builder
231 mUserHandle = userHandle; in setUserHandle()
264 return new TapAction(mId, mIntent, mPendingIntent, mUserHandle, mExtras, in build()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/accounts/
DAuthenticatorHelper.java58 private final UserHandle mUserHandle; field in AuthenticatorHelper
70 mUserHandle = userHandle; in AuthenticatorHelper()
108 mUserHandle); in getDrawableForType()
120 return Utils.getBadgedIcon(mContext, icon, mUserHandle); in getDrawableForType()
134 mUserHandle); in getLabelForType()
178 .getAuthenticatorTypesAsUser(mUserHandle.getIdentifier()); in updateAuthDescriptions()
205 accounts = AccountManager.get(mContext).getAccountsAsUser(mUserHandle.getIdentifier()); in onAccountsUpdated()
217 mListener.onAccountsUpdate(mUserHandle); in onAccountsUpdated()
225 .getAccountsAsUser(mUserHandle.getIdentifier()); in onReceive()
236 mContext.registerReceiverAsUser(this, mUserHandle, intentFilter, null, null); in listenToAccountUpdates()
[all …]
/frameworks/base/core/java/android/content/pm/
DInstantAppRequestInfo.java51 private final UserHandle mUserHandle; field in InstantAppRequestInfo
102 this.mUserHandle = userHandle; in InstantAppRequestInfo()
104 NonNull.class, null, mUserHandle); in InstantAppRequestInfo()
136 return mUserHandle; in getUserHandle()
167 dest.writeTypedObject(mUserHandle, flags); in writeToParcel()
193 this.mUserHandle = userHandle; in InstantAppRequestInfo()
195 NonNull.class, null, mUserHandle); in InstantAppRequestInfo()
/frameworks/base/services/print/java/com/android/server/print/
DRemotePrintSpooler.java100 private final UserHandle mUserHandle; field in RemotePrintSpooler
129 mUserHandle = new UserHandle(userId); in RemotePrintSpooler()
176 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] getPrintJobInfos()"); in getPrintJobInfos()
198 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] createPrintJob()"); in createPrintJob()
219 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] writePrintJobData()"); in writePrintJobData()
244 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] getPrintJobInfo()"); in getPrintJobInfo()
267 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] setPrintJobState()"); in setPrintJobState()
296 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] setProgress()"); in setProgress()
323 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] setStatus()"); in setStatus()
352 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] setStatus()"); in setStatus()
[all …]
/frameworks/base/core/java/android/app/search/
DSearchAction.java67 private final UserHandle mUserHandle; field in SearchAction
80 mUserHandle = in.readTypedObject(UserHandle.CREATOR); in SearchAction()
101 mUserHandle = userHandle; in SearchAction()
165 return mUserHandle; in getUserHandle()
203 out.writeTypedObject(mUserHandle, flags); in writeToParcel()
216 + " userHandle=" + mUserHandle; in toString()
259 private UserHandle mUserHandle; field in SearchAction.Builder
313 mUserHandle = userHandle; in setUserHandle()
344 mPendingIntent, mIntent, mUserHandle, mExtras); in build()
DSearchTarget.java133 private final UserHandle mUserHandle; field in SearchTarget
155 mUserHandle = UserHandle.of(parcel.readInt()); in SearchTarget()
183 mUserHandle = Objects.requireNonNull(userHandle); in SearchTarget()
260 return mUserHandle; in getUserHandle()
317 parcel.writeInt(mUserHandle.getIdentifier()); in writeToParcel()
359 private UserHandle mUserHandle; field in SearchTarget.Builder
404 mUserHandle = Objects.requireNonNull(userHandle); in setUserHandle()
502 mPackageName, mUserHandle, in build()
/frameworks/base/telecomm/java/android/telecom/
DPhoneAccountHandle.java61 private final UserHandle mUserHandle; field in PhoneAccountHandle
112 mUserHandle = userHandle; in PhoneAccountHandle()
150 return mUserHandle; in getUserHandle()
155 return Objects.hash(mComponentName, mId, mUserHandle); in hashCode()
174 sb.append(mUserHandle); in toString()
202 mUserHandle.writeToParcel(out, flags); in writeToParcel()
/frameworks/base/core/tests/overlaytests/device/src/com/android/overlaytest/
DFabricatedOverlaysTest.java60 private UserHandle mUserHandle; field in FabricatedOverlaysTest
68 mUserHandle = UserHandle.of(mUserId); in setUp()
74 mOverlayManager.getOverlayInfosForTarget(mContext.getPackageName(), mUserHandle).forEach( in tearDown()
95 OverlayInfo info = mOverlayManager.getOverlayInfo(overlay.getIdentifier(), mUserHandle); in testFabricatedOverlay()
103 info = mOverlayManager.getOverlayInfo(overlay.getIdentifier(), mUserHandle); in testFabricatedOverlay()
170 assertNull(mOverlayManager.getOverlayInfo(overlay.getIdentifier(), mUserHandle)); in testInvalidOwningPackageName() local
187 assertNull(mOverlayManager.getOverlayInfo(overlay.getIdentifier(), mUserHandle)); in testInvalidOverlayName() local
204 assertNotNull(mOverlayManager.getOverlayInfo(overlay.getIdentifier(), mUserHandle)); in testOverlayIdentifierLongest() local
217 assertNull(mOverlayManager.getOverlayInfo(overlay.getIdentifier(), mUserHandle)); in testOverlayIdentifierLongest() local
281 assertNull(mOverlayManager.getOverlayInfo(overlay.getIdentifier(), mUserHandle)); in testInvalidResourceValues() local
[all …]
DTransactionTest.java53 private UserHandle mUserHandle; field in TransactionTest
61 mUserHandle = UserHandle.of(mUserId); in setUp()
82 mOverlayManager.getOverlayInfosForTarget("com.android.overlaytest", mUserHandle); in testValidTransaction()
96 mOverlayManager.getOverlayInfosForTarget("com.android.overlaytest", mUserHandle); in testValidTransaction()
109 mOverlayManager.getOverlayInfosForTarget("com.android.overlaytest", mUserHandle); in testValidTransaction()
/frameworks/base/core/java/android/app/people/
DPeopleSpaceTile.java55 private UserHandle mUserHandle; field in PeopleSpaceTile
81 mUserHandle = b.mUserHandle; in PeopleSpaceTile()
120 return mUserHandle; in getUserHandle()
232 builder.setUserHandle(mUserHandle); in toBuilder()
260 private UserHandle mUserHandle; field in PeopleSpaceTile.Builder
294 mUserHandle = info.getUserHandle(); in Builder()
305 mUserHandle = info.getUserHandle(); in Builder()
353 mUserHandle = userHandle; in setUserHandle()
477mUserHandle = in.readParcelable(UserHandle.class.getClassLoader(), android.os.UserHandle.class); in PeopleSpaceTile()
510 dest.writeParcelable(mUserHandle, flags); in writeToParcel()
/frameworks/base/core/java/com/android/internal/app/
DChooserTargetActionsDialogFragment.java68 protected UserHandle mUserHandle; field in ChooserTargetActionsDialogFragment
95 mUserHandle = (UserHandle) b.get(USER_HANDLE_KEY); in setStateFromBundle()
107 mUserHandle); in onSaveInstanceState()
148 icon.setImageDrawable(pg.getIcon(mUserHandle)); in onCreateView()
221 mUserHandle, mIntentFilter, name.getPackageName()); in toggleShortcutPinned()
230 name.getPackageName(), pinnedShortcuts, mUserHandle); in toggleShortcutPinned() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
DPeopleBackupHelper.java67 private final UserHandle mUserHandle; field in PeopleBackupHelper
97 mUserHandle = userHandle; in PeopleBackupHelper()
110 mUserHandle = userHandle; in PeopleBackupHelper()
138 List<String> existingWidgets = getExistingWidgetsForUser(mUserHandle.getIdentifier()); in performBackup()
288 if (peopleTileKey.getUserId() != mUserHandle.getIdentifier()) { in backupPeopleTileKey()
325 peopleTileKey.setUserId(mUserHandle.getIdentifier()); in restorePeopleTileKeyAndCorrespondingWidgetFile()
361 if (userId == mUserHandle.getIdentifier()) { in backupContactUriKey()
372 } else if (mUserHandle.isSystem()) { in backupContactUriKey()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/appclips/
DAppClipsTrampolineActivity.java102 private UserHandle mUserHandle; field in AppClipsTrampolineActivity
148 mUserHandle = getUser(); in onCreate()
229 APPLICATION_INFO_FLAGS, mUserHandle.getIdentifier()).uid; in logScreenshotTriggeredUiEvent()
269 mNoteTaskController.showNoteTaskAsUser(NoteTaskEntryPoint.APP_CLIPS, mUserHandle); in onReceiveResult()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DDatabaseHelper.java86 private int mUserHandle; field in DatabaseHelper
131 mUserHandle = userHandle; in DatabaseHelper()
202 if (mUserHandle == UserHandle.USER_SYSTEM) { in onCreate()
1186 if (mUserHandle == UserHandle.USER_SYSTEM) { in onUpgrade()
1236 if (mUserHandle == UserHandle.USER_SYSTEM) { in onUpgrade()
1261 if (mUserHandle == UserHandle.USER_SYSTEM) { in onUpgrade()
1278 if (mUserHandle == UserHandle.USER_SYSTEM) { in onUpgrade()
1296 if (mUserHandle == UserHandle.USER_SYSTEM) { in onUpgrade()
1315 if (mUserHandle == UserHandle.USER_SYSTEM) { in onUpgrade()
1360 if (mUserHandle == UserHandle.USER_SYSTEM) { in onUpgrade()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/gnss/
DGnssLocationProviderTest.java93 private @Mock UserHandle mUserHandle; field in GnssLocationProviderTest
113 mUserHandleSet.add(mUserHandle); in setUp()
114 doReturn(true).when(mLocationManager).isLocationEnabledForUser(eq(mUserHandle)); in setUp()

12