Searched refs:getPackageImportance (Results 1 – 15 of 15) sorted by relevance
169 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_1)) in setUp()171 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_2)) in setUp()267 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_1)) in testHandleAcceptNetworkRequestFromWithInvalidSpecifier()286 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_1)) in testHandleAcceptNetworkRequestFromWithInternetCapability()305 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_1)) in testHandleAcceptNetworkRequestFromNonFgAppOrSvcWithSpecifier()322 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_1)) in testHandleAcceptNetworkRequestFromFgAppWithSpecifier()337 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_1)) in testHandleAcceptNetworkRequestFromNetworkSettingAppWithSpecifier()354 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_1)) in testHandleAcceptNetworkRequestFromFgAppWithSpecifierWithPendingRequestFromFgSvc()356 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_2)) in testHandleAcceptNetworkRequestFromFgAppWithSpecifierWithPendingRequestFromFgSvc()377 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_1)) in testHandleAcceptNetworkRequestFromFgSvcWithSpecifierWithPendingRequestFromFgSvc()[all …]
736 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_1)) in testSuccessiveScanRequestFromBgAppsThrottled()738 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_2)) in testSuccessiveScanRequestFromBgAppsThrottled()762 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_1)) in testSuccessiveScanRequestFromBgAppsNotThrottled()764 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_2)) in testSuccessiveScanRequestFromBgAppsNotThrottled()
2320 mActivityManager.getPackageImportance(mReceiver.mCallerIdentity.mPackageName)); in UpdateRecord()2365 mActivityManager.getPackageImportance(packageName)); in disposeLocked()2545 mActivityManager.getPackageImportance(packageName)); in requestLocationUpdates()2848 mActivityManager.getPackageImportance(packageName)); in requestGeofence()2880 mActivityManager.getPackageImportance(packageName)); in removeGeofence()2977 mActivityManager.getPackageImportance(packageName)); in addGnssDataListener()2981 mActivityManager.getPackageImportance(packageName))) { in addGnssDataListener()3018 mActivityManager.getPackageImportance( in removeGnssDataListener()
71 int getPackageImportance(String pkg); in getPackageImportance() method
1060 return service.getPackageImportance(mContext.getPackageName()); in getImportance()
3281 public @RunningAppProcessInfo.Importance int getPackageImportance(String packageName) {
412 return mActivityManager.getPackageImportance(packageName) in isRequestFromBackground()
985 return mActivityManager.getPackageImportance(requestorPackageName) in isRequestFromForegroundAppOrService()998 return mActivityManager.getPackageImportance(requestorPackageName) in isRequestFromForegroundApp()
4283 when(mActivityManager.getPackageImportance(nr.sbn.getPackageName())).thenReturn( in testFlagBubble()4307 when(mActivityManager.getPackageImportance(nr.sbn.getPackageName())).thenReturn( in testFlagBubble_noFlag_appNotAllowed()4331 when(mActivityManager.getPackageImportance(nr.sbn.getPackageName())).thenReturn( in testFlagBubbleNotifs_flag_appForeground()4353 when(mActivityManager.getPackageImportance(nr.sbn.getPackageName())).thenReturn( in testFlagBubbleNotifs_noFlag_appNotForeground()4375 when(mActivityManager.getPackageImportance(nr1.sbn.getPackageName())).thenReturn( in testFlagBubbleNotifs_flag_previousForegroundFlag()4389 when(mActivityManager.getPackageImportance(nr2.sbn.getPackageName())).thenReturn( in testFlagBubbleNotifs_flag_previousForegroundFlag()4415 when(mActivityManager.getPackageImportance(nr1.sbn.getPackageName())).thenReturn( in testFlagBubbleNotifs_noFlag_previousForegroundFlag_afterRemoval()4438 when(mActivityManager.getPackageImportance(nr2.sbn.getPackageName())).thenReturn( in testFlagBubbleNotifs_noFlag_previousForegroundFlag_afterRemoval()4977 when(mActivityManager.getPackageImportance(nr.sbn.getPackageName())).thenReturn( in testNotificationBubbleChanged_false()5020 when(mActivityManager.getPackageImportance(nr.sbn.getPackageName())).thenReturn( in testNotificationBubbleChanged_true()[all …]
2550 public int getPackageImportance(String pkg) {4855 mActivityManager.getPackageImportance(pkg) == IMPORTANCE_FOREGROUND;
54 …ermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public int getPackageImportance(String);
298 …ermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public int getPackageImportance(String);
9396 PLcom/android/server/notification/NotificationManagerService$10;->getPackageImportance(Ljava/lang/S…
645 HSPLandroid/app/ActivityManager;->getPackageImportance(Ljava/lang/String;)I
6879 Landroid/app/INotificationManager$Stub$Proxy;->getPackageImportance(Ljava/lang/String;)I7071 Landroid/app/INotificationManager;->getPackageImportance(Ljava/lang/String;)I