Home
last modified time | relevance | path

Searched refs:userContext (Results 1 – 14 of 14) sorted by relevance

/frameworks/av/media/libaaudio/examples/utils/
DAAudioSimpleRecorder.h103 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()
DAAudioSimplePlayer.h97 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/tuner/
DTunerService.java54 private static Context userContext(Context context) { in userContext() method in TunerService
64 userContext(context).getPackageManager().setComponentEnabledSetting( in setTunerEnabled()
72 return userContext(context).getPackageManager().getComponentEnabledSetting( in isTunerEnabled()
/frameworks/base/packages/SettingsLib/RestrictedLockUtils/src/com/android/settingslib/
DRestrictedLockUtils.java52 Context userContext; in getProfileOrDeviceOwner() local
54 userContext = context.createPackageContextAsUser(context.getPackageName(), 0, user); in getProfileOrDeviceOwner()
59 ComponentName adminComponent = userContext.getSystemService( in getProfileOrDeviceOwner()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DCertificateMonitor.java171 final Context userContext; in buildNotification() local
173 userContext = mInjector.createContextAsUser(userHandle); in buildNotification()
213 PendingIntent notifyIntent = mInjector.pendingIntentGetActivityAsUser(userContext, 0, in buildNotification()
217 return new Notification.Builder(userContext, SystemNotificationChannels.SECURITY) in buildNotification()
DDevicePolicyManagerService.java8524 final Context userContext; in getApplicationLabel() local
8527 userContext = mContext.createPackageContextAsUser(packageName, 0, handle); in getApplicationLabel()
8532 ApplicationInfo appInfo = userContext.getApplicationInfo(); in getApplicationLabel()
8535 result = appInfo.loadUnsafeLabel(userContext.getPackageManager()); in getApplicationLabel()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPermissionManager.java185 @NonNull Context userContext, in requestPermissionDialog() argument
203 userContext.startActivityAsUser(intent, mUser); in requestPermissionDialog()
/frameworks/base/media/java/android/media/
DRingtoneManager.java742 public static void disableSyncFromParent(Context userContext) { in disableSyncFromParent() argument
746 audioService.disableRingtoneSync(userContext.getUserId()); in disableSyncFromParent()
758 public static void enableSyncFromParent(Context userContext) { in enableSyncFromParent() argument
759 Settings.Secure.putIntForUser(userContext.getContentResolver(), in enableSyncFromParent()
760 Settings.Secure.SYNC_PARENT_SOUNDS, 1 /* true */, userContext.getUserId()); in enableSyncFromParent()
/frameworks/base/core/java/android/app/
DSearchableInfo.java527 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/services/core/java/com/android/server/notification/
DCalendarTracker.java74 public CalendarTracker(Context systemContext, Context userContext) { in CalendarTracker() argument
76 mUserContext = userContext; in CalendarTracker()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityControllerImpl.java320 Context userContext = mContext.createPackageContextAsUser(mContext.getPackageName(), in getNameForVpnConfig() local
322 return VpnConfig.getVpnLabel(userContext, vpnPackage).toString(); in getNameForVpnConfig()
/frameworks/base/telephony/java/com/android/internal/telephony/
DSmsApplication.java804 Context userContext = mContext; in onPackageChanged() local
808 userContext = mContext.createPackageContextAsUser(mContext.getPackageName(), 0, in onPackageChanged()
817 ComponentName componentName = getDefaultSendToApplication(userContext, true); in onPackageChanged()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java572 Context userContext = mContext.createPackageContextAsUser(providerPackage, 0, in createMaskedWidgetBitmap() local
574 PackageManager pm = userContext.getPackageManager(); in createMaskedWidgetBitmap()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt118124 Ljava/util/logging/LogManager;->userContext:Ljava/util/logging/LogManager$LoggerContext;