/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/ |
D | TetheringNotificationUpdater.java | 143 mNotificationManager = (NotificationManager) context.createContextAsUser(UserHandle.ALL, 0) in TetheringNotificationUpdater() 273 mContext.createContextAsUser(UserHandle.CURRENT, 0 /* flags */), in notifyTetheringDisabledByRestriction() 296 mContext.createContextAsUser(UserHandle.CURRENT, 0 /* flags */), in notifyTetheringNoUpstream() 318 mContext.createContextAsUser(UserHandle.CURRENT, 0 /* flags */), in setupRoamingNotification()
|
/frameworks/base/core/java/android/telephony/ |
D | CellBroadcastIntents.java | 93 context.createContextAsUser(user, 0).sendOrderedBroadcast(backgroundIntent, in sendSmsCbReceivedBroadcast()
|
/frameworks/base/tests/TelephonyCommonTests/src/com/android/internal/telephony/tests/ |
D | SmsApplicationTest.java | 116 when(mContext.createContextAsUser(isNotNull(), anyInt())).thenReturn(mContext); in setUp() 166 verify(mContext).createContextAsUser(eq(UserHandle.ALL), anyInt()); in testPackageChanged()
|
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | PackageChangeReceiver.java | 62 mRegisteredContext = user == null ? context : context.createContextAsUser(user, 0); in register()
|
D | CarrierAppUtils.java | 125 Context userContext = context.createContextAsUser(UserHandle.getUserHandleForUid(userId), in getContentResolverForUser()
|
D | SmsApplication.java | 636 context.createContextAsUser(userHandle, 0).getPackageManager(); in setDefaultApplicationInternal()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | CertificateMonitor.java | 173 userContext = mInjector.createContextAsUser(userHandle); in buildNotification()
|
D | DevicePolicyManagerService.java | 1875 Context createContextAsUser(UserHandle user) throws PackageManager.NameNotFoundException { in createContextAsUser() method in DevicePolicyManagerService.Injector
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierServiceBindHelper.java | 280 if (mContext.createContextAsUser(Process.myUserHandle(), 0) in rebind()
|
D | SMSDispatcher.java | 1270 PackageManager pm = mContext.createContextAsUser(userHandle, 0).getPackageManager(); in sendRawPdu() 1872 PackageManager pm = mContext.createContextAsUser(callingUser, 0).getPackageManager(); in getSmsTracker()
|
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | TetheringNotificationUpdaterTest.kt | 98 override fun createContextAsUser(user: UserHandle, flags: Int) = in createContextAsUser() method in com.android.networkstack.tethering.TetheringNotificationUpdaterTest
|
/frameworks/base/core/java/android/content/ |
D | ContextWrapper.java | 921 public Context createContextAsUser(UserHandle user, @CreatePackageOptions int flags) { in createContextAsUser() method in ContextWrapper 922 return mBase.createContextAsUser(user, flags); in createContextAsUser()
|
D | Context.java | 5435 public Context createContextAsUser(@NonNull UserHandle user, @CreatePackageOptions int flags) { in createContextAsUser() method in Context
|
/frameworks/base/test-mock/src/android/test/mock/ |
D | MockContext.java | 784 public Context createContextAsUser(UserHandle user, @CreatePackageOptions int flags) { in createContextAsUser() method in MockContext
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | ContextFixture.java | 419 public Context createContextAsUser(UserHandle user, int flags) { in createContextAsUser() method in ContextFixture.FakeContext
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/ |
D | ImsResolver.java | 528 mReceiverContext = context.createContextAsUser(UserHandle.ALL, 0 /*flags*/); in ImsResolver()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/ |
D | ImsResolverTest.java | 1643 when(mMockContext.createContextAsUser(any(), eq(0))).thenReturn(mMockContext); in setupResolver()
|
/frameworks/base/core/java/android/app/ |
D | ContextImpl.java | 2253 public Context createContextAsUser(UserHandle user, @CreatePackageOptions int flags) { in createContextAsUser() method in ContextImpl
|
/frameworks/base/api/ |
D | test-current.txt | 649 …method @NonNull public android.content.Context createContextAsUser(@NonNull android.os.UserHandle,…
|
D | system-current.txt | 1512 …method @NonNull public android.content.Context createContextAsUser(@NonNull android.os.UserHandle,…
|
/frameworks/base/non-updatable-api/ |
D | system-current.txt | 1512 …method @NonNull public android.content.Context createContextAsUser(@NonNull android.os.UserHandle,…
|