Searched refs:mPackageManagerClient (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | CriticalNotificationExtractorTest.java | 42 private PackageManager mPackageManagerClient; field in CriticalNotificationExtractorTest 49 mContext.setMockPackageManager(mPackageManagerClient); in setUp() 56 when(mPackageManagerClient.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE, 0)) in testExtractCritically_nonsupporting() 74 when(mPackageManagerClient.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE, 0)) in testExtractCritically()
|
D | NotificationManagerServiceTest.java | 394 private PackageManager mPackageManagerClient; field in NotificationManagerServiceTest 616 mContext.setMockPackageManager(mPackageManagerClient); in setUp() 623 when(mPackageManagerClient.getApplicationInfoAsUser(anyString(), anyInt(), anyInt())) in setUp() 628 when(mPackageManagerClient.getPackageUidAsUser(any(), anyInt())).thenReturn(mUid); in setUp() 639 when(mPackageManagerClient.hasSystemFeature(FEATURE_WATCH)).thenReturn(false); in setUp() 642 when(mPackageManagerClient.getPackagesForUid(anyInt())).thenReturn(new String[]{mPkg}); in setUp() 649 when(mPackageManagerClient.hasSystemFeature(FEATURE_TELECOM)).thenReturn(true); in setUp() 748 mService.init(mWorkerHandler, mRankingHandler, mPackageManager, mPackageManagerClient, in initNMS() 765 when(mPackageManagerClient.getInstalledModules(anyInt())) in initNMS() 1256 when(mPackageManagerClient.resolveActivity(any(), anyInt())).thenReturn(ri); in getBubbleMetadata() [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 607 private PackageManager mPackageManagerClient; field in NotificationManagerService 1150 final boolean isWatch = mPackageManagerClient.hasSystemFeature( in loadPolicyFile() 2417 mPackageManagerClient = packageManagerClient; in init() 2450 mConditionProviders, flagResolver, new ZenModeEventLogger(mPackageManagerClient)); in init() 2511 mPackageManagerClient, in init() 2554 mIsTelevision = mPackageManagerClient.hasSystemFeature(FEATURE_LEANBACK) in init() 2555 || mPackageManagerClient.hasSystemFeature(FEATURE_TELEVISION); in init() 2577 mAccessibilityManager, mPackageManagerClient, userManager, usageStats, in init() 2945 mPackageManagerClient.getInstalledModules( 4099 applicationInfo = mPackageManagerClient.getApplicationInfoAsUser( [all …]
|