Home
last modified time | relevance | path

Searched refs:maybeAddUserId (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DSliceBroadcastRelayHandlerTest.java59 intent.putExtra(SliceBroadcastRelay.EXTRA_URI, ContentProvider.maybeAddUserId(testUri, 0)); in testRegister()
81 intent.putExtra(SliceBroadcastRelay.EXTRA_URI, ContentProvider.maybeAddUserId(testUri, 0)); in testUnregister()
92 intent.putExtra(SliceBroadcastRelay.EXTRA_URI, ContentProvider.maybeAddUserId(testUri, 0)); in testUnregister()
108 intent.putExtra(SliceBroadcastRelay.EXTRA_URI, ContentProvider.maybeAddUserId(testUri, 0)); in testUnregisterWithoutRegister()
125 intent.putExtra(SliceBroadcastRelay.EXTRA_URI, ContentProvider.maybeAddUserId(testUri, 0)); in testRelay()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DSliceBroadcastRelay.java60 registerBroadcast.putExtra(EXTRA_URI, ContentProvider.maybeAddUserId(sliceUri, in registerReceiver()
80 registerBroadcast.putExtra(EXTRA_URI, ContentProvider.maybeAddUserId(sliceUri, in unregisterReceivers()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
DSlicePermissionManagerTest.java107 ContentProvider.maybeAddUserId(uri, 1))); in testBackup()
110 ContentProvider.maybeAddUserId(uri, 1))); in testBackup()
DSliceManagerServiceTest.java17 import static android.content.ContentProvider.maybeAddUserId;
97 verify(mService, times(1)).createPinnedSlice(eq(maybeAddUserId(TEST_URI, 0)), anyString()); in testAddPinCreatesPinned()
/frameworks/base/media/java/android/media/
DRingtoneManager.java460 return new ExternalRingtonesCursorWrapper(res, ContentProvider.maybeAddUserId( in getParentProfileRingtones()
817 ringtoneUri = ContentProvider.maybeAddUserId(ringtoneUri, context.getUserId()); in setActualDefaultRingtoneUri()
970 return ContentProvider.maybeAddUserId(Settings.System.RINGTONE_CACHE_URI, userId); in getCacheForType()
972 return ContentProvider.maybeAddUserId(Settings.System.NOTIFICATION_SOUND_CACHE_URI, in getCacheForType()
975 return ContentProvider.maybeAddUserId(Settings.System.ALARM_ALERT_CACHE_URI, userId); in getCacheForType()
/frameworks/base/core/java/android/content/
DContentProviderResult.java75 uri = ContentProvider.maybeAddUserId(cpr.uri, userId); in ContentProviderResult()
DClipData.java19 import static android.content.ContentProvider.maybeAddUserId;
1007 item.mUri = maybeAddUserId(item.mUri, contentUserHint); in fixUris()
1023 item.mIntent.setData(maybeAddUserId(data, contentUserHint)); in fixUrisLight()
1027 item.mUri = maybeAddUserId(item.mUri, contentUserHint); in fixUrisLight()
DContentProvider.java309 return maybeAddUserId(mInterface.insert(uri, initialValues), userId); in insert()
537 return maybeAddUserId(mInterface.canonicalize(uri), userId); in canonicalize()
557 return maybeAddUserId(mInterface.uncanonicalize(uri), userId); in uncanonicalize()
708 ? maybeAddUserId(uri, callingUserId) : uri; in enforceReadPermissionInner()
2305 public static Uri maybeAddUserId(Uri uri, int userId) { in maybeAddUserId() method in ContentProvider
DIntent.java19 import static android.content.ContentProvider.maybeAddUserId;
11064 mData = maybeAddUserId(data, contentUserHint); in fixUris()
11073 putExtra(EXTRA_STREAM, maybeAddUserId(stream, contentUserHint)); in fixUris()
11080 newStreams.add(maybeAddUserId(streams.get(i), contentUserHint)); in fixUris()
11089 putExtra(MediaStore.EXTRA_OUTPUT, maybeAddUserId(output, contentUserHint)); in fixUris()
/frameworks/base/services/core/java/com/android/server/slice/
DSliceManagerService.java23 import static android.content.ContentProvider.maybeAddUserId;
165 uri = maybeAddUserId(uri, user); in pinSlice()
182 uri = maybeAddUserId(uri, Binder.getCallingUserHandle().getIdentifier()); in unpinSlice()
198 uri = maybeAddUserId(uri, Binder.getCallingUserHandle().getIdentifier()); in getPinnedSpecs()
/frameworks/base/core/java/android/view/inputmethod/
DInputContentInfo.java167 return ContentProvider.maybeAddUserId(mContentUri, mContentUriOwnerUserId); in getContentUri()
/frameworks/base/core/java/android/nfc/
DNfcActivityManager.java397 uri = ContentProvider.maybeAddUserId(uri, activity.getUserId()); in createBeamShareData()
/frameworks/base/services/core/java/com/android/server/
DMmsServiceBroker.java507 contentUri = ContentProvider.maybeAddUserId(contentUri, callingUserId); in adjustUriForUserAndGrantPermission()
/frameworks/base/core/java/android/provider/
DCallLog.java955 final Uri uri = ContentProvider.maybeAddUserId( in addEntryAndRemoveExpiredEntries()
/frameworks/base/config/
Dboot-image-profile.txt3416 HSPLandroid/content/ContentProvider;->maybeAddUserId(Landroid/net/Uri;I)Landroid/net/Uri;