Home
last modified time | relevance | path

Searched refs:userContext (Results 1 – 15 of 15) 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.java8533 final Context userContext; in getApplicationLabel() local
8536 userContext = mContext.createPackageContextAsUser(packageName, 0, handle); in getApplicationLabel()
8541 ApplicationInfo appInfo = userContext.getApplicationInfo(); in getApplicationLabel()
8544 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.java746 public static void disableSyncFromParent(Context userContext) { in disableSyncFromParent() argument
750 audioService.disableRingtoneSync(userContext.getUserId()); in disableSyncFromParent()
762 public static void enableSyncFromParent(Context userContext) { in enableSyncFromParent() argument
763 Settings.Secure.putIntForUser(userContext.getContentResolver(), in enableSyncFromParent()
764 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/telephony/common/com/android/internal/telephony/
DCarrierAppUtils.java125 Context userContext = context.createContextAsUser(UserHandle.getUserHandleForUid(userId), in getContentResolverForUser() local
127 return userContext.getContentResolver(); in getContentResolverForUser()
DSmsApplication.java821 Context userContext = mContext; in onPackageChanged() local
824 userContext = mContext.createPackageContextAsUser(mContext.getPackageName(), 0, in onPackageChanged()
832 PackageManager packageManager = userContext.getPackageManager(); in onPackageChanged()
834 ComponentName componentName = getDefaultSendToApplication(userContext, true); in onPackageChanged()
/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/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.txt110595 Ljava/util/logging/LogManager;->userContext:Ljava/util/logging/LogManager$LoggerContext;