/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/ |
D | AppSearchManagerService.java | 234 Context userContext = mContext.createContextAsUser(userHandle, /*flags=*/ 0); in handlePackageRemoved() local 237 userContext, userHandle, AppSearchConfig.getInstance(EXECUTOR)); in handlePackageRemoved() 258 Context userContext = mContext.createContextAsUser(userHandle, /*flags=*/ 0); in onUserUnlocking() local 261 userContext, userHandle, AppSearchConfig.getInstance(EXECUTOR)); in onUserUnlocking() 262 List<PackageInfo> installedPackageInfos = userContext in onUserUnlocking() 342 Context userContext = mContext.createContextAsUser(callingUser, /*flags=*/ 0); in setSchema() local 344 verifyCallingPackage(userContext, callingUser, callingUid, packageName); in setSchema() 345 verifyNotInstantApp(userContext, packageName); in setSchema() 424 Context userContext = mContext.createContextAsUser(callingUser, /*flags=*/ 0); in getSchema() local 426 verifyCallingPackage(userContext, callingUser, callingUid, packageName); in getSchema() [all …]
|
D | AppSearchUserInstanceManager.java | 100 @NonNull Context userContext, in getOrCreateUserInstance() 104 Objects.requireNonNull(userContext); in getOrCreateUserInstance() 111 instance = createUserInstance(userContext, userHandle, config); in getOrCreateUserInstance() 176 @NonNull Context userContext, in createUserInstance() 184 PlatformLogger logger = new PlatformLogger(userContext, config); in createUserInstance() 197 VisibilityStoreImpl.create(appSearchImpl, userContext); in createUserInstance()
|
/frameworks/av/media/libaaudio/examples/utils/ |
D | AAudioSimpleRecorder.h | 103 void *userContext = nullptr) { 116 AAudioStreamBuilder_setDataCallback(builder, dataCallback, userContext); 119 AAudioStreamBuilder_setErrorCallback(builder, errorCallback, userContext); 147 void *userContext) { in open() argument 159 AAudioStreamBuilder_setDataCallback(builder, dataProc, userContext); in open() 162 AAudioStreamBuilder_setErrorCallback(builder, errorProc, userContext); in open()
|
D | AAudioSimplePlayer.h | 97 void *userContext = nullptr) { 110 AAudioStreamBuilder_setDataCallback(builder, dataCallback, userContext); 113 AAudioStreamBuilder_setErrorCallback(builder, errorCallback, userContext); 135 void *userContext) { in open() argument 152 AAudioStreamBuilder_setDataCallback(builder, dataProc, userContext); in open() 155 AAudioStreamBuilder_setErrorCallback(builder, errorProc, userContext); in open()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/ |
D | ScreenRecordDialog.java | 111 Context userContext = mUserContextProvider.getUserContext(); in requestScreenCapture() local 116 PendingIntent startIntent = PendingIntent.getForegroundService(userContext, in requestScreenCapture() 119 userContext, RESULT_OK, in requestScreenCapture() 122 PendingIntent stopIntent = PendingIntent.getService(userContext, in requestScreenCapture() 124 RecordingService.getStopIntent(userContext), in requestScreenCapture()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/ |
D | BatterySaverTileTest.kt | 53 private lateinit var userContext: Context variable in com.android.systemui.qs.tiles.BatterySaverTileTest 74 `when`(qsHost.userContext).thenReturn(userContext) in setUp() 75 `when`(userContext.userId).thenReturn(USER) in setUp()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/ |
D | UserTrackerImplTest.kt | 99 tracker.userContext in <lambda>() 138 assertThat(tracker.userContext.userId).isEqualTo(testID) in <lambda>() 139 assertThat(tracker.userContext.user).isEqualTo(UserHandle.of(testID)) in <lambda>() 158 assertThat(tracker.userContext.userId).isEqualTo(newID) in <lambda>() 159 assertThat(tracker.userContext.user).isEqualTo(UserHandle.of(newID)) in <lambda>() 281 override fun onUserChanged(newUser: Int, userContext: Context) { in <lambda>() 284 lastUserContext = userContext in <lambda>()
|
/frameworks/native/include/android/ |
D | bitmap.h | 201 typedef bool (*AndroidBitmap_CompressWriteFunc)(void* userContext, 231 void* userContext,
|
/frameworks/base/libs/hwui/apex/ |
D | android_bitmap.cpp | 187 CompressWriter(void* userContext, AndroidBitmap_CompressWriteFunc fn) in CompressWriter() argument 188 : mUserContext(userContext), mFn(fn), mBytesWritten(0) {} in CompressWriter() 209 AndroidBitmapCompressFormat inFormat, int32_t quality, void* userContext, in ABitmap_compress() argument 292 CompressWriter stream(userContext, fn); in ABitmap_compress()
|
/frameworks/base/packages/SettingsLib/RestrictedLockUtils/src/com/android/settingslib/ |
D | RestrictedLockUtils.java | 62 Context userContext; in getProfileOrDeviceOwner() local 64 userContext = context.createPackageContextAsUser(context.getPackageName(), 0, user); in getProfileOrDeviceOwner() 69 ComponentName adminComponent = userContext.getSystemService( in getProfileOrDeviceOwner()
|
/frameworks/base/native/graphics/jni/ |
D | bitmap.cpp | 102 void* userContext, in AndroidBitmap_compress() argument 112 (AndroidBitmapCompressFormat) format, quality, userContext, fn); in AndroidBitmap_compress()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | CertificateMonitor.java | 169 final Context userContext; in buildNotification() local 171 userContext = mInjector.createContextAsUser(userHandle); in buildNotification() 211 PendingIntent notifyIntent = mInjector.pendingIntentGetActivityAsUser(userContext, 0, in buildNotification() 215 return new Notification.Builder(userContext, SystemNotificationChannels.SECURITY) in buildNotification()
|
/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/visibilitystore/ |
D | VisibilityStoreImpl.java | 94 @NonNull AppSearchImpl appSearchImpl, @NonNull Context userContext) in create() argument 96 return new VisibilityStoreImpl(appSearchImpl, userContext); in create() 99 private VisibilityStoreImpl(@NonNull AppSearchImpl appSearchImpl, @NonNull Context userContext) in VisibilityStoreImpl() argument 102 mUserContext = Objects.requireNonNull(userContext); in VisibilityStoreImpl()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
D | UserTrackerImpl.kt | 79 override var userContext: Context by SynchronizedDelegate(context) variable in com.android.systemui.settings.UserTrackerImpl 83 get() = userContext.contentResolver 139 userContext = ctx in setUserIdInternal()
|
D | UserContextProvider.kt | 25 val userContext: Context constant
|
D | UserTracker.kt | 71 fun onUserChanged(newUser: Int, userContext: Context) {} in addCallback()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
D | CustomTile.java | 111 Context userContext, in CustomTile() argument 119 mUserContext = userContext; in CustomTile() 493 public static CustomTile create(Builder builder, String spec, Context userContext) { in create() argument 496 .setUserContext(userContext) in create() 542 Builder setUserContext(@NonNull Context userContext) { in setUserContext() argument 543 mUserContext = userContext; in setUserContext()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/ |
D | CustomTileTest.kt | 127 val userContext = mock(Context::class.java) in testCorrectUser() constant 128 `when`(userContext.packageManager).thenReturn(packageManager) in testCorrectUser() 129 `when`(userContext.userId).thenReturn(10) in testCorrectUser() 131 val tile = CustomTile.create(customTileBuilder, TILE_SPEC, userContext) in testCorrectUser()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/ |
D | ControlsControllerImpl.kt | 102 BackupManager(userStructure.userContext) in <lambda>() 118 BackupManager(userStructure.userContext) in <lambda>() 191 val prefs = userStructure.userContext.getSharedPreferences( in <lambda>() 579 val userContext = context.createContextAsUser(user, 0) constant 582 userContext.filesDir, 587 userContext.filesDir,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/toast/ |
D | SystemUIToast.java | 256 final Context userContext; in getBadgedIcon() local 258 userContext = context.createPackageContextAsUser("android", in getBadgedIcon() 273 final PackageManager packageManager = userContext.getPackageManager(); in getBadgedIcon()
|
/frameworks/base/media/java/android/media/ |
D | RingtoneManager.java | 756 public static void disableSyncFromParent(Context userContext) { in disableSyncFromParent() argument 760 audioService.disableRingtoneSync(userContext.getUserId()); in disableSyncFromParent() 772 public static void enableSyncFromParent(Context userContext) { in enableSyncFromParent() argument 773 Settings.Secure.putIntForUser(userContext.getContentResolver(), in enableSyncFromParent() 774 Settings.Secure.SYNC_PARENT_SOUNDS, 1 /* true */, userContext.getUserId()); in enableSyncFromParent()
|
/frameworks/base/core/java/android/app/ |
D | SearchableInfo.java | 527 Context userContext = null; in getActivityMetaData() local 529 userContext = context.createPackageContextAsUser("system", 0, in getActivityMetaData() 537 activityInfo.loadXmlMetaData(userContext.getPackageManager(), MD_LABEL_SEARCHABLE); in getActivityMetaData() 543 SearchableInfo searchable = getActivityMetaData(userContext, xml, cName); in getActivityMetaData()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | Icon.java | 452 final Context userContext; in loadDrawableAsUser() local 454 userContext = context; in loadDrawableAsUser() 460 userContext = context.createContextAsUser(UserHandle.of(userId), flags); in loadDrawableAsUser() 463 final PackageManager pm = userContext.getPackageManager(); in loadDrawableAsUser()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | ReduceBrightColorsController.java | 79 public void onUserChanged(int newUser, Context userContext) { in ReduceBrightColorsController()
|
/frameworks/base/libs/hwui/apex/include/android/graphics/ |
D | bitmap.h | 66 AndroidBitmapCompressFormat format, int32_t quality, void* userContext,
|