Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/app/time/
DTimeCapabilities.java56 private final UserHandle mUserHandle; field in TimeCapabilities
61 this.mUserHandle = Objects.requireNonNull(builder.mUserHandle); in TimeCapabilities()
79 UserHandle.writeToParcel(mUserHandle, dest); in writeToParcel()
115 && mUserHandle.equals(that.mUserHandle); in equals()
120 return Objects.hash(mUserHandle, mConfigureAutoTimeDetectionEnabledCapability, in hashCode()
127 + "mUserHandle=" + mUserHandle in toString()
140 @NonNull private final UserHandle mUserHandle; field in TimeCapabilities.Builder
146 this.mUserHandle = timeCapabilities.mUserHandle; in Builder()
154 this.mUserHandle = Objects.requireNonNull(userHandle); in Builder()
DTimeZoneCapabilities.java61 @NonNull private final UserHandle mUserHandle; field in TimeZoneCapabilities
67 this.mUserHandle = Objects.requireNonNull(builder.mUserHandle); in TimeZoneCapabilities()
87 UserHandle.writeToParcel(mUserHandle, dest); in writeToParcel()
172 return mUserHandle.equals(that.mUserHandle) in equals()
182 return Objects.hash(mUserHandle, mConfigureAutoDetectionEnabledCapability, in hashCode()
189 + "mUserHandle=" + mUserHandle in toString()
201 @NonNull private UserHandle mUserHandle; field in TimeZoneCapabilities.Builder
207 mUserHandle = Objects.requireNonNull(userHandle); in Builder()
212 mUserHandle = capabilitiesToCopy.mUserHandle; in Builder()
/frameworks/base/media/java/android/media/projection/
DMediaProjectionInfo.java28 private final UserHandle mUserHandle; field in MediaProjectionInfo
32 mUserHandle = handle; in MediaProjectionInfo()
37 mUserHandle = UserHandle.readFromParcel(in); in MediaProjectionInfo()
45 return mUserHandle; in getUserHandle()
53 && Objects.equals(other.mUserHandle, mUserHandle); in equals()
60 return Objects.hash(mPackageName, mUserHandle); in hashCode()
67 + mUserHandle + "}"; in toString()
78 UserHandle.writeToParcel(mUserHandle, out); in writeToParcel()
/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()
352 mPendingIntent, mIntent, mUserHandle, mExtras); in build()
DSmartspaceTarget.java113 private final UserHandle mUserHandle; field in SmartspaceTarget
206 this.mUserHandle = in.readTypedObject(UserHandle.CREATOR); in SmartspaceTarget()
234 mUserHandle = userHandle; in SmartspaceTarget()
346 return mUserHandle; in getUserHandle()
404 dest.writeTypedObject(this.mUserHandle, flags); in writeToParcel()
431 + ", mUserHandle=" + mUserHandle in toString()
456 && mUserHandle.equals(that.mUserHandle) in equals()
467 mShouldShowExpanded, mSourceNotificationKey, mComponentName, mUserHandle, in hashCode()
491 private final UserHandle mUserHandle; field in SmartspaceTarget.Builder
507 this.mUserHandle = userHandle; in Builder()
[all …]
/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/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()
110 authContext.getDrawable(desc.iconId), mUserHandle); in getDrawableForType()
121 return Utils.getBadgedIcon(mContext, icon, mUserHandle); in getDrawableForType()
135 mUserHandle); in getLabelForType()
179 .getAuthenticatorTypesAsUser(mUserHandle.getIdentifier()); in updateAuthDescriptions()
206 accounts = AccountManager.get(mContext).getAccountsAsUser(mUserHandle.getIdentifier()); in onAccountsUpdated()
218 mListener.onAccountsUpdate(mUserHandle); in onAccountsUpdated()
226 .getAccountsAsUser(mUserHandle.getIdentifier()); in onReceive()
[all …]
/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/tests/overlaytests/device/src/com/android/overlaytest/
DFabricatedOverlaysTest.java62 private UserHandle mUserHandle; field in FabricatedOverlaysTest
70 mUserHandle = UserHandle.of(mUserId); in setUp()
76 mOverlayManager.getOverlayInfosForTarget(mContext.getPackageName(), mUserHandle).forEach( in tearDown()
97 OverlayInfo info = mOverlayManager.getOverlayInfo(overlay.getIdentifier(), mUserHandle); in testFabricatedOverlay()
105 info = mOverlayManager.getOverlayInfo(overlay.getIdentifier(), mUserHandle); in testFabricatedOverlay()
172 assertNull(mOverlayManager.getOverlayInfo(overlay.getIdentifier(), mUserHandle)); in testInvalidOwningPackageName() local
189 assertNull(mOverlayManager.getOverlayInfo(overlay.getIdentifier(), mUserHandle)); in testInvalidOverlayName() local
206 assertNotNull(mOverlayManager.getOverlayInfo(overlay.getIdentifier(), mUserHandle)); in testOverlayIdentifierLongest() local
219 assertNull(mOverlayManager.getOverlayInfo(overlay.getIdentifier(), mUserHandle)); in testOverlayIdentifierLongest() local
238 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/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/telecomm/java/android/telecom/
DPhoneAccountHandle.java50 private final UserHandle mUserHandle; field in PhoneAccountHandle
65 mUserHandle = userHandle; in PhoneAccountHandle()
103 return mUserHandle; in getUserHandle()
108 return Objects.hash(mComponentName, mId, mUserHandle); in hashCode()
119 .append(mUserHandle) in toString()
146 mUserHandle.writeToParcel(out, flags); in writeToParcel()
/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()
270 return mUserHandle; in getUserHandle()
327 parcel.writeInt(mUserHandle.getIdentifier()); in writeToParcel()
369 private UserHandle mUserHandle; field in SearchTarget.Builder
414 mUserHandle = Objects.requireNonNull(userHandle); in setUserHandle()
512 mPackageName, mUserHandle, in build()
/frameworks/base/apex/appsearch/framework/java/android/app/appsearch/
DGlobalSearchSession.java48 private final UserHandle mUserHandle; field in GlobalSearchSession
77 mUserHandle, in initialize()
102 mUserHandle = userHandle; in GlobalSearchSession()
131 searchSpec, mUserHandle); in search()
169 mUserHandle, in reportSystemUsage() local
192 mUserHandle, in close()
DSearchResults.java69 private final UserHandle mUserHandle; field in SearchResults
89 mUserHandle = Objects.requireNonNull(userHandle); in SearchResults()
116 mSearchSpec.getBundle(), mUserHandle, in getNextPage()
122 mSearchSpec.getBundle(), mUserHandle, in getNextPage()
127 mService.getNextPage(mPackageName, mNextPageToken, mUserHandle, in getNextPage()
139 mService.invalidateNextPageToken(mPackageName, mNextPageToken, mUserHandle); in close()
DAppSearchSession.java63 private final UserHandle mUserHandle; field in AppSearchSession
93 mUserHandle, in initialize()
118 mUserHandle = userHandle; in AppSearchSession()
200 mUserHandle, in getSchema()
237 mUserHandle, in getNamespaces()
290 mService.putDocuments(mPackageName, mDatabaseName, documentBundles, mUserHandle, in put()
340 mUserHandle, in getByDocumentId()
460 searchSpec, mUserHandle); in search()
496 mUserHandle, in reportUsage()
545 mUserHandle, in remove()
[all …]
DAppSearchMigrationHelper.java60 private final UserHandle mUserHandle; field in AppSearchMigrationHelper
71 mUserHandle = Objects.requireNonNull(userHandle); in AppSearchMigrationHelper()
108 mUserHandle, in queryAndTransform()
148 mService.putDocumentsFromFile(mPackageName, mDatabaseName, fileDescriptor, mUserHandle, in putMigratedDocuments()
/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()
477 mUserHandle = in.readParcelable(UserHandle.class.getClassLoader()); in PeopleSpaceTile()
510 dest.writeParcelable(mUserHandle, flags); in writeToParcel()
/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/core/java/com/android/internal/app/
DChooserTargetActionsDialogFragment.java62 protected UserHandle mUserHandle; field in ChooserTargetActionsDialogFragment
81 mUserHandle = (UserHandle) b.get(USER_HANDLE_KEY); in setStateFromBundle()
89 mUserHandle); in onSaveInstanceState()
125 icon.setImageDrawable(pg.getIcon(mUserHandle)); in onCreateView()
DResolverListController.java59 private final UserHandle mUserHandle; field in ResolverListController
89 mUserHandle = userHandle; in ResolverListController()
115 intents, mUserHandle); in getResolversForIntent()
157 return mUserHandle; in getUserHandle()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DDatabaseHelper.java89 private int mUserHandle; field in DatabaseHelper
134 mUserHandle = userHandle; in DatabaseHelper()
205 if (mUserHandle == UserHandle.USER_SYSTEM) { in onCreate()
1199 if (mUserHandle == UserHandle.USER_SYSTEM) { in onUpgrade()
1249 if (mUserHandle == UserHandle.USER_SYSTEM) { in onUpgrade()
1274 if (mUserHandle == UserHandle.USER_SYSTEM) { in onUpgrade()
1291 if (mUserHandle == UserHandle.USER_SYSTEM) { in onUpgrade()
1309 if (mUserHandle == UserHandle.USER_SYSTEM) { in onUpgrade()
1328 if (mUserHandle == UserHandle.USER_SYSTEM) { in onUpgrade()
1374 if (mUserHandle == UserHandle.USER_SYSTEM) { in onUpgrade()
[all …]
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/cache/
DIconCacheUpdateHandler.java251 private final UserHandle mUserHandle; field in IconCacheUpdateHandler.SerializedIconUpdateTask
261 mUserHandle = userHandle; in SerializedIconUpdateTask()
282 mOnUpdateCallback.onPackageIconsUpdated(mUpdatedPackages, mUserHandle); in run()

12