Home
last modified time | relevance | path

Searched refs:getPackageImportance (Results 1 – 15 of 15) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkFactoryTest.java169 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 …]
DScanRequestProxyTest.java736 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()
/frameworks/base/services/core/java/com/android/server/
DLocationManagerService.java2320 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()
/frameworks/base/core/java/android/app/
DINotificationManager.aidl71 int getPackageImportance(String pkg); in getPackageImportance() method
DNotificationManager.java1060 return service.getPackageImportance(mContext.getPackageName()); in getImportance()
DActivityManager.java3281 public @RunningAppProcessInfo.Importance int getPackageImportance(String packageName) {
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DScanRequestProxy.java412 return mActivityManager.getPackageImportance(packageName) in isRequestFromBackground()
DWifiNetworkFactory.java985 return mActivityManager.getPackageImportance(requestorPackageName) in isRequestFromForegroundAppOrService()
998 return mActivityManager.getPackageImportance(requestorPackageName) in isRequestFromForegroundApp()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java4283 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 …]
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java2550 public int getPackageImportance(String pkg) {
4855 mActivityManager.getPackageImportance(pkg) == IMPORTANCE_FOREGROUND;
/frameworks/base/api/
Dtest-current.txt54 …ermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public int getPackageImportance(String);
Dsystem-current.txt298 …ermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public int getPackageImportance(String);
/frameworks/base/services/
Dart-profile9396 PLcom/android/server/notification/NotificationManagerService$10;->getPackageImportance(Ljava/lang/S…
/frameworks/base/config/
Dboot-image-profile.txt645 HSPLandroid/app/ActivityManager;->getPackageImportance(Ljava/lang/String;)I
Dhiddenapi-greylist-max-o.txt6879 Landroid/app/INotificationManager$Stub$Proxy;->getPackageImportance(Ljava/lang/String;)I
7071 Landroid/app/INotificationManager;->getPackageImportance(Ljava/lang/String;)I