Searched refs:getPackageImportance (Results 1 – 17 of 17) sorted by relevance
181 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_1)) in setUp()183 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_2)) in setUp()278 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_1)) in testHandleAcceptNetworkRequestFromWithInvalidSpecifier()297 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_1)) in testHandleAcceptNetworkRequestFromWithInternetCapability()316 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_1)) in testHandleAcceptNetworkRequestFromNonFgAppOrSvcWithSpecifier()333 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_1)) in testHandleAcceptNetworkRequestFromFgAppWithSpecifier()348 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_1)) in testHandleAcceptNetworkRequestFromNetworkSettingAppWithSpecifier()365 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_1)) in testHandleAcceptNetworkRequestFromFgAppWithSpecifierWithPendingRequestFromFgSvc()367 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_2)) in testHandleAcceptNetworkRequestFromFgAppWithSpecifierWithPendingRequestFromFgSvc()388 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_1)) in testHandleAcceptNetworkRequestFromFgSvcWithSpecifierWithPendingRequestFromFgSvc()[all …]
751 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_1)) in testSuccessiveScanRequestFromBgAppsThrottled()753 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_2)) in testSuccessiveScanRequestFromBgAppsThrottled()777 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_1)) in testSuccessiveScanRequestFromBgAppsNotThrottled()779 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()
3288 public @RunningAppProcessInfo.Importance int getPackageImportance(String packageName) {
412 return mActivityManager.getPackageImportance(packageName) in isRequestFromBackground()
1012 return mActivityManager.getPackageImportance(requestorPackageName) in isRequestFromForegroundAppOrService()1025 return mActivityManager.getPackageImportance(requestorPackageName) in isRequestFromForegroundApp()
563 when(mActivityManager.getPackageImportance(nrBubble.sbn.getPackageName())).thenReturn( in addGroupWithBubblesAndValidateAdded()4352 when(mActivityManager.getPackageImportance(nr.sbn.getPackageName())).thenReturn( in testFlagBubble()4376 when(mActivityManager.getPackageImportance(nr.sbn.getPackageName())).thenReturn( in testFlagBubble_noFlag_appNotAllowed()4400 when(mActivityManager.getPackageImportance(nr.sbn.getPackageName())).thenReturn( in testFlagBubbleNotifs_flag_appForeground()4422 when(mActivityManager.getPackageImportance(nr.sbn.getPackageName())).thenReturn( in testFlagBubbleNotifs_noFlag_appNotForeground()4444 when(mActivityManager.getPackageImportance(nr1.sbn.getPackageName())).thenReturn( in testFlagBubbleNotifs_flag_previousForegroundFlag()4458 when(mActivityManager.getPackageImportance(nr2.sbn.getPackageName())).thenReturn( in testFlagBubbleNotifs_flag_previousForegroundFlag()4484 when(mActivityManager.getPackageImportance(nr1.sbn.getPackageName())).thenReturn( in testFlagBubbleNotifs_noFlag_previousForegroundFlag_afterRemoval()4507 when(mActivityManager.getPackageImportance(nr2.sbn.getPackageName())).thenReturn( in testFlagBubbleNotifs_noFlag_previousForegroundFlag_afterRemoval()5046 when(mActivityManager.getPackageImportance(nr.sbn.getPackageName())).thenReturn( in testNotificationBubbleChanged_false()[all …]
2625 public int getPackageImportance(String pkg) {4955 mActivityManager.getPackageImportance(pkg) == IMPORTANCE_FOREGROUND;4983 if (mActivityManager.getPackageImportance(pkg) == IMPORTANCE_FOREGROUND) {
534 MissingNullability: android.app.ActivityManager#getPackageImportance(String) parameter #0:
58 …ermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public int getPackageImportance(String);
311 …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
6462 Landroid/app/INotificationManager$Stub$Proxy;->getPackageImportance(Ljava/lang/String;)I6652 Landroid/app/INotificationManager;->getPackageImportance(Ljava/lang/String;)I