Home
last modified time | relevance | path

Searched refs:Category (Results 1 – 25 of 53) sorted by relevance

123

/frameworks/compile/mclinker/lib/MC/
DSymbolCategory.cpp21 SymbolCategory::Category::Type SymbolCategory::Category::categorize( in categorize()
24 return Category::File; in categorize()
26 return Category::Local; in categorize()
28 return Category::Common; in categorize()
31 return Category::Dynamic; in categorize()
32 return Category::Regular; in categorize()
38 m_pFile = new Category(Category::File); in SymbolCategory()
39 m_pLocal = new Category(Category::Local); in SymbolCategory()
40 m_pLocalDyn = new Category(Category::LocalDyn); in SymbolCategory()
41 m_pCommon = new Category(Category::Common); in SymbolCategory()
[all …]
/frameworks/compile/mclinker/include/mcld/MC/
DSymbolCategory.h124 class Category {
134 Category* prev;
135 Category* next;
138 explicit Category(Type pType) in Category() function
153 SymbolCategory& add(LDSymbol& pSymbol, Category::Type pTarget);
156 Category::Type pSource,
157 Category::Type pTarget);
162 Category* m_pFile;
163 Category* m_pLocal;
164 Category* m_pLocalDyn;
[all …]
/frameworks/libs/net/common/device/com/android/net/module/util/
DSharedLog.java43 private enum Category { enum in SharedLog
108 Log.e(mTag, record(Category.ERROR, e.toString())); in e()
117 Log.e(mTag, record(Category.ERROR, msg)); in e()
131 Log.e(mTag, record(Category.ERROR, msg + ": " + exception.getMessage()), exception); in e()
140 Log.i(mTag, record(Category.NONE, msg)); in i()
149 Log.w(mTag, record(Category.WARN, msg)); in w()
162 record(Category.NONE, msg); in log()
181 record(Category.MARK, msg); in mark()
184 private String record(Category category, String msg) { in record()
190 private String logLine(Category category, String msg) { in logLine()
[all …]
/frameworks/base/services/core/java/com/android/server/utils/quota/
DCategory.java30 public final class Category { class
35 public static final Category SINGLE_CATEGORY = new Category("SINGLE");
43 public Category(@NonNull String name) { in Category() method in Category
54 if (other instanceof Category) { in equals()
55 return this.mName.equals(((Category) other).mName); in equals()
DCategorizer.java29 Categorizer SINGLE_CATEGORIZER = (userId, packageName, tag) -> Category.SINGLE_CATEGORY;
37 Category getCategory(int userId, @NonNull String packageName, @Nullable String tag); in getCategory()
DCountQuotaTracker.java145 private final ArrayMap<Category, Long> mCategoryCountWindowSizesMs = new ArrayMap<>();
154 private final ArrayMap<Category, Integer> mMaxCategoryCounts = new ArrayMap<>();
224 public void setCountLimit(@NonNull Category category, int limit, long timeWindowMs) { in setCountLimit()
248 public int getLimit(@NonNull Category category) { in getLimit()
261 public long getWindowSizeMs(@NonNull Category category) { in getWindowSizeMs()
387 final Category category = mCategorizer.getCategory(userId, packageName, tag); in getExecutionStatsLocked()
728 final Category category = mCategoryCountWindowSizesMs.keyAt(i); in dump()
753 final Category category = mCategoryCountWindowSizesMs.keyAt(i); in dump()
DMultiRateLimiter.java118 private final Category mCategory;
132 this.mCategory = Category.SINGLE_CATEGORY; in Builder()
/frameworks/base/packages/SystemUI/checks/src/com/android/internal/systemui/lint/
DSlowUserQueryDetector.kt19 import com.android.tools.lint.detector.api.Category
80 category = Category.PERFORMANCE,
98 category = Category.PERFORMANCE,
DSoftwareBitmapDetector.kt19 import com.android.tools.lint.detector.api.Category
64 category = Category.PERFORMANCE,
DRegisterReceiverViaContextDetector.kt20 import com.android.tools.lint.detector.api.Category
63 category = Category.PERFORMANCE,
DNonInjectedMainThreadDetector.kt20 import com.android.tools.lint.detector.api.Category
61 category = Category.LINT,
DStaticSettingsProviderDetector.kt19 import com.android.tools.lint.detector.api.Category
89 category = Category.CORRECTNESS,
DBroadcastSentViaContextDetector.kt20 import com.android.tools.lint.detector.api.Category
76 category = Category.PERFORMANCE,
DNonInjectedServiceDetector.kt20 import com.android.tools.lint.detector.api.Category
80 category = Category.CORRECTNESS,
DBindServiceOnMainThreadDetector.kt20 import com.android.tools.lint.detector.api.Category in <lambda>()
85 category = Category.PERFORMANCE, in <lambda>()
DDemotingTestWithoutBugDetector.kt20 import com.android.tools.lint.detector.api.Category
94 category = Category.TESTING,
DDumpableNotRegisteredDetector.kt19 import com.android.tools.lint.detector.api.Category
116 category = Category.CORRECTNESS,
DCleanArchitectureDependencyViolationDetector.kt21 import com.android.tools.lint.detector.api.Category in <lambda>()
140 category = Category.CORRECTNESS, in <lambda>()
/frameworks/base/telephony/java/android/telephony/
DSmsCbCmasInfo.java142 public @interface Category {} annotation in SmsCbCmasInfo
271 private final @Category int mCategory;
286 public SmsCbCmasInfo(@Class int messageClass, @Category int category, in SmsCbCmasInfo()
335 public @Category int getCategory() { in getCategory()
/frameworks/base/telephony/java/android/telephony/cdma/
DCdmaSmsCbProgramData.java92 public @interface Category {} annotation in CdmaSmsCbProgramData
152 public CdmaSmsCbProgramData(@Operation int operation, @Category int category, int language, in CdmaSmsCbProgramData()
207 public @Category int getCategory() { in getCategory()
/frameworks/base/tools/lint/checks/src/main/java/com/google/android/lint/
DCallingIdentityTokenDetector.kt20 import com.android.tools.lint.detector.api.Category in <lambda>()
373 category = Category.SECURITY, in <lambda>()
400 category = Category.SECURITY, in <lambda>()
425 category = Category.SECURITY, in <lambda>()
475 category = Category.SECURITY, in <lambda>()
519 category = Category.SECURITY, in <lambda>()
559 category = Category.SECURITY, in <lambda>()
DCallingSettingsNonUserGetterMethodsDetector.kt19 import com.android.tools.lint.detector.api.Category
70 category = Category.CORRECTNESS,
DEnforcePermissionDetector.kt24 import com.android.tools.lint.detector.api.Category
147 category = Category.SECURITY,
160 category = Category.SECURITY,
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/complication/
DComplication.java143 @interface Category {} annotation
228 @Complication.Category
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/utils/quota/
DCountQuotaTrackerTest.java24 import static com.android.server.utils.quota.Category.SINGLE_CATEGORY;
85 private static final Category ACTIVE_BUCKET_CATEGORY = new Category("ACTIVE");
88 private static final Category WORKING_SET_BUCKET_CATEGORY = new Category("WORKING_SET");
91 private static final Category FREQUENT_BUCKET_CATEGORY = new Category("FREQUENT");
94 private static final Category RARE_BUCKET_CATEGORY = new Category("RARE");
108 private Category mCategoryToUse = SINGLE_CATEGORY;
111 public Category getCategory(int userId, in getCategory()

123