/frameworks/base/core/java/android/app/ |
AppImportanceMonitor.java | 28 * Helper for monitoring the current importance of applications. 39 int importance = ActivityManager.RunningAppProcessInfo.IMPORTANCE_GONE; field in class:AppImportanceMonitor.AppEntry 96 updateImportanceLocked(app.uid, app.pid, app.importance, false); 106 return ent.importance; 110 * Report when an app's importance changed. Called on looper given to constructor. 112 public void onImportanceChanged(int uid, int importance, int oldImportance) { 115 void updateImportanceLocked(int uid, int pid, int importance, boolean repChange) { 121 if (importance >= ActivityManager.RunningAppProcessInfo.IMPORTANCE_GONE) { 124 ent.procs.put(pid, importance); 137 if (appImp != ent.importance) { [all...] |
/cts/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/util/ |
OptionHelperTest.java | 19 import com.android.tradefed.config.Option.Importance; 42 importance = Importance.ALWAYS) 46 importance = Importance.ALWAYS) 51 importance = Importance.ALWAYS) 55 importance = Importance.ALWAYS)
|
/external/chromium-trace/catapult/tracing/test_data/ |
memory_dumps.json | [all...] |
/packages/apps/Settings/src/com/android/settings/notification/ |
AppNotificationSettings.java | 101 protected void updateDependents(int importance) { 110 setVisible(mSilent, checkCanBeVisible(Ranking.IMPORTANCE_MIN, importance)); 111 mSilent.setChecked(importance == Ranking.IMPORTANCE_LOW); 113 setVisible(mPriority, checkCanBeVisible(Ranking.IMPORTANCE_DEFAULT, importance) 114 || (checkCanBeVisible(Ranking.IMPORTANCE_LOW, importance) 117 checkCanBeVisible(Ranking.IMPORTANCE_MIN, importance) && lockscreenSecure); 120 protected boolean checkCanBeVisible(int minImportanceVisible, int importance) { 121 if (importance == Ranking.IMPORTANCE_UNSPECIFIED) { 124 return importance >= minImportanceVisible;
|
NotificationSettingsBase.java | 54 protected static final String KEY_IMPORTANCE = "importance"; 157 protected void setupImportancePrefs(boolean isSystemApp, int importance, boolean banned) { 165 mImportance.setProgress(importance); 166 mImportance.setAutoOn(importance == Ranking.IMPORTANCE_UNSPECIFIED); 181 boolean blocked = importance == Ranking.IMPORTANCE_NONE || banned; 187 final int importance = 189 mBackend.setImportance(mPkgInfo.packageName, mUid, importance); 190 updateDependents(importance); 199 final int importance = 201 mBackend.setImportance(mPkgInfo.packageName, mUid, importance); [all...] |
/frameworks/base/services/core/java/com/android/server/notification/ |
NotificationRecord.java | 119 int importance = IMPORTANCE_DEFAULT; local 128 importance = IMPORTANCE_MIN; 131 importance = IMPORTANCE_LOW; 134 importance = IMPORTANCE_DEFAULT; 137 importance = IMPORTANCE_HIGH; 140 importance = IMPORTANCE_MAX; 143 stats.requestedImportance = importance; 151 if (!isNoisy && importance > IMPORTANCE_LOW) { 152 importance = IMPORTANCE_LOW; 156 if (importance < IMPORTANCE_DEFAULT) [all...] |
RankingHelper.java | 57 private static final String ATT_IMPORTANCE = "importance"; 166 r.importance = safeInt(parser, ATT_IMPORTANCE, DEFAULT_IMPORTANCE); 203 final boolean hasNonDefaultSettings = r.importance != DEFAULT_IMPORTANCE 208 if (r.importance != DEFAULT_IMPORTANCE) { 209 out.attribute(null, ATT_IMPORTANCE, Integer.toString(r.importance)); 352 * Gets importance. 356 return getOrCreateRecord(packageName, uid).importance; 360 * Sets importance. 363 public void setImportance(String pkgName, int uid, int importance) { 364 getOrCreateRecord(pkgName, uid).importance = importance 538 int importance = DEFAULT_IMPORTANCE; field in class:RankingHelper.Record [all...] |
RankingConfig.java | 28 void setImportance(String packageName, int uid, int importance);
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
PlanCreator.java | 30 import com.android.tradefed.config.Option.Importance; 48 importance=Importance.IF_UNSET) 52 importance=Importance.IF_UNSET) 57 importance=Importance.IF_UNSET)
|
/frameworks/base/core/java/android/service/notification/ |
Adjustment.java | 47 * @param importance The recommended importance of the notification. 55 public Adjustment(String pkg, String key, int importance, Bundle signals, 59 mImportance = importance;
|
NotificationRankerService.java | 135 * @param importance the initial importance of the notification. 136 * @param user true if the initial importance reflects an explicit user preference. 140 int importance, boolean user); 223 int importance, boolean user) { 234 args.argi1 = importance; 297 final int importance = args.argi1; local 300 Adjustment adjustment = onNotificationEnqueued(sbn, importance, user);
|
NotificationRankingUpdate.java | 37 int[] importance, Bundle explanation, Bundle overrideGroupKeys) { 42 mImportance = importance;
|
INotificationListener.aidl | 37 void onNotificationEnqueued(in IStatusBarNotificationHolder notificationHolder, int importance, boolean user);
|
/external/chromium-trace/catapult/tracing/tracing/model/ |
global_memory_dump_test.html | 177 * importance: Importance of the above ownership (can be undefined). 195 var ownerDumps = {}; // owned GUID -> {dump: owner, importance: optional}. 210 var importance = treeRecipe['importance']; 230 ownerDumps[owns].push({dump: dump, importance: importance}); 232 assert.isUndefined(importance); // Test sanity check. 278 ownershipInfo.dump, ownedDump, ownershipInfo.importance); 299 'importance': - [all...] |
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/ |
CompatibilityTest.java | 40 import com.android.tradefed.config.Option.Importance; 100 importance = Importance.ALWAYS) 105 importance = Importance.ALWAYS) 110 importance = Importance.ALWAYS) 116 importance = Importance.IF_UNSET) 122 importance = Importance.IF_UNSET [all...] |
/external/chromium-trace/catapult/tracing/tracing/ui/analysis/ |
memory_dump_sub_view_util.html | 147 * importance: Mandatory number which determines the final order of the 148 * columns. The column with the highest importance will be first in the 158 * importance: 8 163 * importance: 10 168 * importance: 9 173 * importance are determined by the first rule whose condition matches the 176 * and its importance (for sorting purposes) will be 10 (second rule). 179 * descending order of importance and the resulting list is returned. In the 217 // their importance. 225 importance: matchingRule.importance [all...] |
memory_dump_vm_regions_details_pane.html | 74 importance: 0, 82 importance: 7, 87 importance: 6, 92 importance: 5, 97 importance: 4, 102 importance: 3, 107 importance: 2, 112 importance: 1, 117 importance: 0,
|
memory_dump_allocator_details_pane_test.html | 767 message: 'shares \'oilpan/objects\' in Process 1 (importance: 0) ' + 778 message: 'shared by \'v8/heaps\' in Process 1 (importance: 2)', 790 message: 'shares \'oilpan/objects\' in Process 1 (importance: ' + 801 message: 'shared by \'v8/heaps\' in Process 1 (importance: ' + 815 'selected timestamps (importance: 0\u20132) with no other ' + 827 'timestamps (importance: 0\u20132)', [all...] |
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
JUnitDeviceTest.java | 23 import com.android.tradefed.config.Option.Importance; 58 importance = Importance.ALWAYS) 62 , importance = Importance.IF_UNSET)
|
TestNGDeviceTest.java | 23 import com.android.tradefed.config.Option.Importance; 55 importance = Importance.ALWAYS) 59 , importance = Importance.IF_UNSET)
|
/external/libchrome/base/trace_event/ |
process_memory_dump.cc | 228 value->SetInteger("importance", edge.importance); 237 int importance) { 239 {source, target, importance, kEdgeTypeOwnership}); 245 AddOwnershipEdge(source, target, 0 /* importance */);
|
process_memory_dump.h | 48 int importance; member in struct:base::trace_event::ProcessMemoryDump::MemoryAllocatorDumpEdge 116 // the memory usage of |target| to |source|. |importance| is optional and 118 // the owner with the highest importance will be attributed |target|'s memory. 121 int importance);
|
/packages/apps/Settings/res/xml/ |
app_notification_settings.xml | 22 <!-- Importance --> 40 android:key="importance"
|
/external/llvm/test/Linker/ |
type-unique-dst-types.ll | 5 ; This tests the importance of keeping track of which types are part of the
|
/frameworks/base/packages/SystemUI/res/xml/ |
other_settings.xml | 26 <!-- importance -->
|