Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkFactoryTest.java181 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 …]
DScanRequestProxyTest.java751 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()
/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.java3288 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.java1012 return mActivityManager.getPackageImportance(requestorPackageName) in isRequestFromForegroundAppOrService()
1025 return mActivityManager.getPackageImportance(requestorPackageName) in isRequestFromForegroundApp()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java563 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 …]
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java2625 public int getPackageImportance(String pkg) {
4955 mActivityManager.getPackageImportance(pkg) == IMPORTANCE_FOREGROUND;
4983 if (mActivityManager.getPackageImportance(pkg) == IMPORTANCE_FOREGROUND) {
/frameworks/base/api/
Dtest-lint-baseline.txt534 MissingNullability: android.app.ActivityManager#getPackageImportance(String) parameter #0:
Dtest-current.txt58 …ermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public int getPackageImportance(String);
Dsystem-current.txt311 …ermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public int getPackageImportance(String);
/frameworks/base/non-updatable-api/
Dsystem-current.txt311 …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.txt6462 Landroid/app/INotificationManager$Stub$Proxy;->getPackageImportance(Ljava/lang/String;)I
6652 Landroid/app/INotificationManager;->getPackageImportance(Ljava/lang/String;)I