/cts/tests/app/src/android/app/cts/android/app/cts/tools/ |
D | UidImportanceListener.java | 47 public void onUidImportance(int uid, int importance) { in onUidImportance() argument 50 + "): " + importance); in onUidImportance() 52 mLastValue = importance; in onUidImportance()
|
D | ServiceProcessController.java | 223 int importance = mAm.getPackageImportance(mServicePackage); in ensureProcessGone() local 224 if (importance != ActivityManager.RunningAppProcessInfo.IMPORTANCE_GONE) { in ensureProcessGone() 226 + importance); in ensureProcessGone()
|
/cts/tests/app/GetBindingUidImportanceTest/src/android/app/cts/getbindinguidimportance/ |
D | ActivityManager_getBindingUidImportanceTest.java | 186 private static void assertImportanceNotCached(int importance) { in assertImportanceNotCached() argument 187 if (importance < 0) { in assertImportanceNotCached() 190 if (importance > IMPORTANCE_SERVICE) { in assertImportanceNotCached() 191 fail("Importance should be non cached, but was " + importance); in assertImportanceNotCached() 195 public static void assertImportanceGone(int importance) { in assertImportanceGone() argument 196 assertEquals("Importance should seem to be GONE", importance, IMPORTANCE_GONE); in assertImportanceGone()
|
/cts/tests/AlarmManager/app_common/src/android/alarmmanager/alarmtestapp/cts/common/ |
D | TestService.java | 42 int importance = NotificationManager.IMPORTANCE_DEFAULT; in getNotificationChannelId() local 43 NotificationChannel channel = new NotificationChannel(CHANNEL_ID, name, importance); in getNotificationChannelId()
|
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/ |
D | InstallConstraintsTest.kt | 173 val importance = getPackageImportance(TestApp.A) in <lambda>() constant 174 importance > ActivityManager.RunningAppProcessInfo.IMPORTANCE_FOREGROUND in <lambda>() 205 val importance = getPackageImportance(TestApp.A) in <lambda>() constant 206 importance > ActivityManager.RunningAppProcessInfo.IMPORTANCE_FOREGROUND in <lambda>() 305 val importance = getPackageImportance(TestApp.A) in <lambda>() constant 306 importance > ActivityManager.RunningAppProcessInfo.IMPORTANCE_FOREGROUND in <lambda>() 345 val importance = getPackageImportance(HelloWorldUsingSdk1.packageName) in <lambda>() constant 346 importance > ActivityManager.RunningAppProcessInfo.IMPORTANCE_FOREGROUND in <lambda>() 453 val importance = getPackageImportance(TestApp.A) in <lambda>() constant 454 importance > ActivityManager.RunningAppProcessInfo.IMPORTANCE_FOREGROUND in <lambda>()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | TestForegroundService.java | 74 final int importance = NotificationManager.IMPORTANCE_DEFAULT; in createNotificationChannelId() local 76 NOTIFICATION_CHANNEL_ID, name, importance); in createNotificationChannelId()
|
D | ActivityManagerTest.java | 352 public void onUidImportance(int uid, int importance) { in onUidImportance() argument
|
/cts/tests/app/app/src/android/app/stubs/ |
D | BootCompletedFgs.java | 90 final int importance = NotificationManager.IMPORTANCE_DEFAULT; in createNotificationChannelId() local 92 NOTIFICATION_CHANNEL_ID, name, importance); in createNotificationChannelId()
|
D | CommandReceiver.java | 666 int importance = NotificationManager.IMPORTANCE_LOW; in maybeCreateNotificationChannel() local 668 new NotificationChannel(mNotificationChannelId, name.toString(), importance); in maybeCreateNotificationChannel()
|
/cts/tests/tests/display/src/android/display/cts/ |
D | DisplayEventTest.java | 245 mUidImportanceListener = (uid, importance) -> { in setUp() 246 if (uid == mUid && importance == IMPORTANCE_CACHED) { in setUp() 247 Log.d(TAG, "Listener " + uid + " becomes " + importance); in setUp()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21088/src/android/security/cts/CVE_2023_21088/ |
D | PocActivity.java | 84 if (appProcess.importance == ActivityManager.RunningAppProcessInfo.IMPORTANCE_FOREGROUND in isAppOnForeground()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-40111/src/android/security/cts/CVE_2023_40111/ |
D | PocActivity.java | 121 if (appProcess.importance == ActivityManager.RunningAppProcessInfo.IMPORTANCE_FOREGROUND in isAppOnForeground()
|
/cts/tests/tests/security/testdata/src/android/security/cts/packageinstallertestapp/ |
D | BackgroundReceiver.java | 96 && appInfo.importance >= RunningAppProcessInfo.IMPORTANCE_SERVICE) { in isAppInBackground()
|
/cts/tests/tests/media/misc/src/android/media/misc/cts/ |
D | ResourceManagerTestActivityBase.java | 257 private void changeCodecImportance(MediaCodec codec, int importance) { in changeCodecImportance() argument 259 params.putInt(MediaFormat.KEY_IMPORTANCE, importance); in changeCodecImportance()
|
/cts/tests/app/src/android/app/cts/ |
D | ServiceTest.java | 1678 IsolatedConnectionInfo(int group, int importance, int strong) { in IsolatedConnectionInfo() argument 1680 mImportance = importance; in IsolatedConnectionInfo() 1682 mInstanceName = group + "_" + importance; in IsolatedConnectionInfo() 1699 void setImportance(int importance) { in setImportance() argument 1700 mImportance = importance; in setImportance()
|
D | ActivityManagerTest.java | 570 assertTrue(ra.importance >= RunningAppProcessInfo.IMPORTANCE_FOREGROUND); 571 assertTrue(ra.importance < RunningAppProcessInfo.IMPORTANCE_GONE); 612 assertEquals(RunningAppProcessInfo.IMPORTANCE_FOREGROUND, ra.importance); 1717 if (info.importance in killBackgroundProcesses() 2169 public void onUidImportance(int uid, int importance) { in testAddOnUidImportanceListener()
|
/cts/tests/tests/telephony/current/src/android/telephony/satellite/cts/ |
D | MockSatelliteServiceManager.java | 294 public void onUidImportance(int uid, int importance) { in onUidImportance() argument 295 if (importance != IMPORTANCE_GONE) return; in onUidImportance()
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvInputManagerTest.java | 1020 && appProcess.importance == RunningAppProcessInfo.IMPORTANCE_FOREGROUND) { in checkIsForeground()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 4831 field public int importance; 6977 field public static final String EDIT_IMPORTANCE = "importance"; 23661 …roid.media.codec.flags.codec_importance") public static final String KEY_IMPORTANCE = "importance";
|