Home
last modified time | relevance | path

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

12

/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.java58 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/core/tests/coretests/src/android/content/
DAbstractCrossUserContentResolverTest.java101 InstrumentationRegistry.getContext().createPackageContextAsUser( in testRegisterContentObserver()
/frameworks/base/media/java/android/media/
DRingtoneManager.java456 final Context parentContext = createPackageContextAsUser(mContext, parentInfo.id); in getParentProfileRingtones()
1180 private static Context createPackageContextAsUser(Context context, int userId) { in createPackageContextAsUser() method in RingtoneManager
1182 return context.createPackageContextAsUser(context.getPackageName(), 0 /* flags */, in createPackageContextAsUser()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserInfoControllerImpl.java122 currentUserContext = mContext.createPackageContextAsUser("android", 0, in queryForUserInformation()
DSecurityControllerImpl.java299 Context userContext = mContext.createPackageContextAsUser(mContext.getPackageName(), in getNameForVpnConfig()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DRingtonePlayer.java222 return mContext.createPackageContextAsUser(mContext.getPackageName(), 0, user); in getContextForUser()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbUserSettingsManager.java62 mUserContext = context.createPackageContextAsUser("android", 0, user); in UsbUserSettingsManager()
DUsbProfileGroupSettingsManager.java599 parentUserContext = context.createPackageContextAsUser("android", 0, user); in UsbProfileGroupSettingsManager()
/frameworks/base/telephony/java/com/android/internal/telephony/
DCallerInfoAsyncQuery.java111 otherContext = context.createPackageContextAsUser(context.getPackageName(), in getCurrentProfileContentResolver()
DSmsApplication.java727 userContext = mContext.createPackageContextAsUser(mContext.getPackageName(), 0, in onPackageChanged()
/frameworks/base/services/core/java/com/android/server/notification/
DEventConditionProvider.java311 return context.createPackageContextAsUser(context.getPackageName(), 0, user); in getContextForUser()
DValidateNotificationPeople.java200 context = mBaseContext.createPackageContextAsUser("android", 0, userHandle); in getContextAsUser()
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountManagerServiceTest.java140 when(mMockContext.createPackageContextAsUser( in setUp()
1616 when(mMockContext.createPackageContextAsUser( in testGetAuthTokenFromInternal()
1649 when(mMockContext.createPackageContextAsUser( in testGetAuthTokenSuccess()
1679 when(mMockContext.createPackageContextAsUser( in testGetAuthTokenReturnWithInvalidIntent()
1710 when(mMockContext.createPackageContextAsUser( in testGetAuthTokenReturnWithValidIntent()
1745 when(mMockContext.createPackageContextAsUser( in testGetAuthTokenError()
3259 public Context createPackageContextAsUser(String packageName, int flags, UserHandle user) in createPackageContextAsUser() method in AccountManagerServiceTest.MyMockContext
3261 return mMockContext.createPackageContextAsUser(packageName, flags, user); in createPackageContextAsUser()
/frameworks/base/core/java/android/content/
DContextWrapper.java837 public Context createPackageContextAsUser(String packageName, int flags, UserHandle user) in createPackageContextAsUser() method in ContextWrapper
839 return mBase.createPackageContextAsUser(packageName, flags, user); in createPackageContextAsUser()
DContext.java4479 public abstract Context createPackageContextAsUser( in createPackageContextAsUser() method in Context
/frameworks/base/core/java/android/app/
DSearchableInfo.java521 userContext = context.createPackageContextAsUser("system", 0, in getActivityMetaData()
DContextImpl.java2014 return createPackageContextAsUser(packageName, flags, in createPackageContext()
2019 public Context createPackageContextAsUser(String packageName, int flags, UserHandle user) in createPackageContextAsUser() method in ContextImpl
/frameworks/base/test-runner/src/android/test/mock/
DMockContext.java719 public Context createPackageContextAsUser(String packageName, int flags, UserHandle user) in createPackageContextAsUser() method in MockContext
/frameworks/base/services/core/java/com/android/server/am/
DServiceRecord.java482 ctx = ams.mContext.createPackageContextAsUser( in postNotification()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DContextFixture.java422 public Context createPackageContextAsUser(String packageName, int flags, UserHandle user) in createPackageContextAsUser() method in ContextFixture.FakeContext
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmMockContext.java802 public Context createPackageContextAsUser(String packageName, int flags, UserHandle user) in createPackageContextAsUser() method in DpmMockContext
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java1311 public Context createPackageContextAsUser(String arg0, int arg1, UserHandle user) { in createPackageContextAsUser() method in BridgeContext
/frameworks/base/core/java/android/widget/
DRemoteViews.java3628 Context context = application.getBaseContext().createPackageContextAsUser(

12