Home
last modified time | relevance | path

Searched refs:mPackageReceiver (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/compat/overrides/
DAppCompatOverridesServiceTest.java102 private BroadcastReceiver mPackageReceiver; field in AppCompatOverridesServiceTest
145 mPackageReceiver = receiver; in registerReceiverForAllUsers()
157 assertThat(mPackageReceiver).isNotNull(); in setUp()
468 mPackageReceiver.onReceive(mMockContext, new Intent(ACTION_PACKAGE_ADDED)); in packageReceiver_packageAddedIntentDataIsNull_doesNothing()
484 mPackageReceiver.onReceive(mMockContext, in packageReceiver_actionIsNull_doesNothing()
501 mPackageReceiver.onReceive(mMockContext, in packageReceiver_unsupportedAction_doesNothing()
519 mPackageReceiver.onReceive(mMockContext, in packageReceiver_packageAddedIntentPackageNotInstalled_doesNothing()
537 mPackageReceiver.onReceive(mMockContext, in packageReceiver_packageAddedIntentNoOverridesForPackage_doesNothing()
563 mPackageReceiver.onReceive(mMockContext, in packageReceiver_packageAddedIntent_appliesOverridesFromAllNamespaces()
582 mPackageReceiver.onReceive(mMockContext, in packageReceiver_packageChangedIntent_appliesOverrides()
[all …]
/frameworks/base/services/core/java/com/android/server/security/
DKeyChainSystemService.java68 getContext().registerReceiverAsUser(mPackageReceiver, UserHandle.ALL, in onStart()
75 private final BroadcastReceiver mPackageReceiver = new BroadcastReceiver() { field in KeyChainSystemService
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DServiceListing.java92 mContext.registerReceiver(mPackageReceiver, filter); in setListening()
96 mContext.unregisterReceiver(mPackageReceiver); in setListening()
183 private final BroadcastReceiver mPackageReceiver = new BroadcastReceiver() { field in ServiceListing
/frameworks/base/services/core/java/com/android/server/compat/overrides/
DAppCompatOverridesService.java82 private final PackageReceiver mPackageReceiver; field in AppCompatOverridesService
98 mPackageReceiver = new PackageReceiver(mContext); in AppCompatOverridesService()
126 mPackageReceiver.register(); in registerPackageReceiver()
130 mPackageReceiver.unregister(); in unregisterPackageReceiver()
/frameworks/base/core/java/android/content/pm/
DRegisteredServicesCache.java172 mPackageReceiver, UserHandle.ALL, intentFilter, null, handler); in RegisteredServicesCache()
223 private final BroadcastReceiver mPackageReceiver = new BroadcastReceiver() { field in RegisteredServicesCache
840 mContext.unregisterReceiver(mPackageReceiver); in unregisterReceivers()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java1163 mContext.registerReceiverForAllUsers(mPackageReceiver, packageFilter, null, mHandler); in initService()
1381 final private BroadcastReceiver mPackageReceiver = new BroadcastReceiver() { field in NetworkPolicyManagerService
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt13135 Landroid/content/pm/RegisteredServicesCache;->mPackageReceiver:Landroid/content/BroadcastReceiver;