Home
last modified time | relevance | path

Searched refs:createPackageContextAsUser (Results 1 – 25 of 35) 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/tests/servicestests/src/com/android/server/devicepolicy/
DDpmMockContext.java390 public Context createPackageContextAsUser(String packageName, int flags, UserHandle user) in createPackageContextAsUser() method in DpmMockContext
392 return mMockSystemServices.createPackageContextAsUser(packageName, flags, user); in createPackageContextAsUser()
DMockSystemServices.java287 public Context createPackageContextAsUser(String packageName, int flags, UserHandle user) in createPackageContextAsUser() method in MockSystemServices
/frameworks/base/services/core/java/com/android/server/
DAttributeCache.java135 context = mContext.createPackageContextAsUser(packageName, 0, in get()
/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/core/tests/coretests/src/android/content/
DAbstractCrossUserContentResolverTest.java101 InstrumentationRegistry.getContext().createPackageContextAsUser( in testRegisterContentObserver()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserInfoControllerImpl.java122 currentUserContext = mContext.createPackageContextAsUser("android", 0, in queryForUserInformation()
DSecurityControllerImpl.java305 Context userContext = mContext.createPackageContextAsUser(mContext.getPackageName(), in getNameForVpnConfig()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbUserSettingsManager.java63 mUserContext = context.createPackageContextAsUser("android", 0, user); in UsbUserSettingsManager()
DUsbProfileGroupSettingsManager.java597 parentUserContext = context.createPackageContextAsUser("android", 0, user); in UsbProfileGroupSettingsManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DRingtonePlayer.java222 return mContext.createPackageContextAsUser(mContext.getPackageName(), 0, user); in getContextForUser()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipNotificationController.java154 final Context userContext = mContext.createPackageContextAsUser( in showNotificationForApp()
/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.java843 public Context createPackageContextAsUser(String packageName, int flags, UserHandle user) in createPackageContextAsUser() method in ContextWrapper
845 return mBase.createPackageContextAsUser(packageName, flags, user); in createPackageContextAsUser()
DContext.java4551 public abstract Context createPackageContextAsUser( in createPackageContextAsUser() method in Context
/frameworks/base/telephony/java/com/android/internal/telephony/
DCallerInfoAsyncQuery.java117 otherContext = context.createPackageContextAsUser(context.getPackageName(), in getCurrentProfileContentResolver()
DSmsApplication.java727 userContext = mContext.createPackageContextAsUser(mContext.getPackageName(), 0, in onPackageChanged()
/frameworks/base/core/java/android/app/
DSearchableInfo.java521 userContext = context.createPackageContextAsUser("system", 0, in getActivityMetaData()
DContextImpl.java2030 return createPackageContextAsUser(packageName, flags, in createPackageContext()
2035 public Context createPackageContextAsUser(String packageName, int flags, UserHandle user) in createPackageContextAsUser() method in ContextImpl
/frameworks/base/test-runner/src/android/test/mock/
DMockContext.java725 public Context createPackageContextAsUser(String packageName, int flags, UserHandle user) in createPackageContextAsUser() method in MockContext
/frameworks/base/services/core/java/com/android/server/am/
DServiceRecord.java484 ctx = ams.mContext.createPackageContextAsUser( in postNotification()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DContextFixture.java431 public Context createPackageContextAsUser(String packageName, int flags, UserHandle user) in createPackageContextAsUser() method in ContextFixture.FakeContext

12