Searched refs:mPackageReceiver (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/compat/overrides/ |
D | AppCompatOverridesServiceTest.java | 102 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/ |
D | KeyChainSystemService.java | 68 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/ |
D | ServiceListing.java | 92 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/ |
D | AppCompatOverridesService.java | 82 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/ |
D | RegisteredServicesCache.java | 172 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/ |
D | NetworkPolicyManagerService.java | 1163 mContext.registerReceiverForAllUsers(mPackageReceiver, packageFilter, null, mHandler); in initService() 1381 final private BroadcastReceiver mPackageReceiver = new BroadcastReceiver() { field in NetworkPolicyManagerService
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 13135 Landroid/content/pm/RegisteredServicesCache;->mPackageReceiver:Landroid/content/BroadcastReceiver;
|