Home
last modified time | relevance | path

Searched refs:createPackageContextAsUser (Results 1 – 25 of 52) sorted by relevance

123

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/accounts/
DAuthenticatorHelper.java105 Context authContext = context.createPackageContextAsUser(desc.packageName, 0, in getDrawableForType()
132 Context authContext = context.createPackageContextAsUser(desc.packageName, 0, in getLabelForType()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerService.java56 return context.createPackageContextAsUser(context.getPackageName(), 0, in userContext()
/frameworks/base/services/core/java/com/android/server/
DAttributeCache.java135 context = mContext.createPackageContextAsUser(packageName, 0, in get()
/frameworks/base/media/java/android/media/
DRingtoneManager.java454 final Context parentContext = createPackageContextAsUser(mContext, parentInfo.id); in getParentProfileRingtones()
1095 private static Context createPackageContextAsUser(Context context, int userId) { in createPackageContextAsUser() method in RingtoneManager
1097 return context.createPackageContextAsUser(context.getPackageName(), 0 /* flags */, in createPackageContextAsUser()
/frameworks/base/packages/SettingsLib/RestrictedLockUtils/src/com/android/settingslib/
DRestrictedLockUtils.java54 userContext = context.createPackageContextAsUser(context.getPackageName(), 0, user); in getProfileOrDeviceOwner()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmMockContext.java437 public Context createPackageContextAsUser(String packageName, int flags, UserHandle user) in createPackageContextAsUser() method in DpmMockContext
439 return mMockSystemServices.createPackageContextAsUser(packageName, flags, user); in createPackageContextAsUser()
DMockSystemServices.java331 public Context createPackageContextAsUser(String packageName, int flags, UserHandle user) in createPackageContextAsUser() method in MockSystemServices
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRatRatcheter.java87 Context contextAsUser = phone.getContext().createPackageContextAsUser( in RatRatcheter()
DNetworkRegistrationManager.java105 Context contextAsUser = phone.getContext().createPackageContextAsUser( in NetworkRegistrationManager()
DCarrierServiceBindHelper.java138 Context contextAsUser = mContext.createPackageContextAsUser(mContext.getPackageName(), in CarrierServiceBindHelper()
/frameworks/base/core/tests/coretests/src/android/content/
DAbstractCrossUserContentResolverTest.java126 InstrumentationRegistry.getContext().createPackageContextAsUser( in testRegisterContentObserver()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserInfoControllerImpl.java130 currentUserContext = mContext.createPackageContextAsUser("android", 0, in queryForUserInformation()
DSecurityControllerImpl.java320 Context userContext = mContext.createPackageContextAsUser(mContext.getPackageName(), in getNameForVpnConfig()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DRingtonePlayer.java233 return mContext.createPackageContextAsUser(mContext.getPackageName(), 0, user); in getContextForUser()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DAccessNetworksManager.java216 Context contextAsUser = phone.getContext().createPackageContextAsUser( in AccessNetworksManager()
DDataServiceManager.java290 Context contextAsUser = phone.getContext().createPackageContextAsUser( in DataServiceManager()
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountManagerServiceTest.java139 when(mMockContext.createPackageContextAsUser( in setUp()
1627 when(mMockContext.createPackageContextAsUser( in testGetAuthTokenFromInternal()
1660 when(mMockContext.createPackageContextAsUser( in testGetAuthTokenSuccess()
1690 when(mMockContext.createPackageContextAsUser( in testGetAuthTokenReturnWithInvalidIntent()
1723 when(mMockContext.createPackageContextAsUser( in testGetAuthTokenReturnWithValidIntent()
1758 when(mMockContext.createPackageContextAsUser( in testGetAuthTokenError()
3287 public Context createPackageContextAsUser(String packageName, int flags, UserHandle user) in createPackageContextAsUser() method in AccountManagerServiceTest.MyMockContext
3289 return mMockContext.createPackageContextAsUser(packageName, flags, user); in createPackageContextAsUser()
/frameworks/base/services/core/java/com/android/server/notification/
DEventConditionProvider.java310 return context.createPackageContextAsUser(context.getPackageName(), 0, user); in getContextForUser()
DValidateNotificationPeople.java205 context = mBaseContext.createPackageContextAsUser("android", 0, userHandle); in getContextAsUser()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationModeController.java291 return mContext.createPackageContextAsUser(mContext.getPackageName(), in getCurrentUserContext()
/frameworks/base/telecomm/java/android/telecom/
DCallerInfoAsyncQuery.java115 otherContext = context.createPackageContextAsUser(context.getPackageName(), in getCurrentProfileContentResolver()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbUserSettingsManager.java74 mUserContext = context.createPackageContextAsUser("android", 0, user); in UsbUserSettingsManager()
/frameworks/base/core/java/android/content/
DContextWrapper.java914 public Context createPackageContextAsUser(String packageName, int flags, UserHandle user) in createPackageContextAsUser() method in ContextWrapper
916 return mBase.createPackageContextAsUser(packageName, flags, user); in createPackageContextAsUser()
/frameworks/base/core/java/android/app/
DSearchableInfo.java529 userContext = context.createPackageContextAsUser("system", 0, in getActivityMetaData()
/frameworks/base/test-mock/src/android/test/mock/
DMockContext.java777 public Context createPackageContextAsUser(String packageName, int flags, UserHandle user) in createPackageContextAsUser() method in MockContext

123