/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsAccess.java | 51 Level.DEFAULT, 52 Level.USER, 53 Level.DEVICESUMMARY, 54 Level.DEVICE, 57 public @interface Level { annotation in NetworkStatsAccess 106 public static @NetworkStatsAccess.Level int checkAccessLevel( in checkAccessLevel() 128 return NetworkStatsAccess.Level.DEVICE; in checkAccessLevel() 134 return NetworkStatsAccess.Level.DEVICESUMMARY; in checkAccessLevel() 143 return NetworkStatsAccess.Level.USER; in checkAccessLevel() 147 return NetworkStatsAccess.Level.DEFAULT; in checkAccessLevel() [all …]
|
D | NetworkStatsObservers.java | 78 IBinder binder, int callingUid, @NetworkStatsAccess.Level int accessLevel) { in register() 210 @NetworkStatsAccess.Level int accessLevel) { in buildRequestInfo() 211 if (accessLevel <= NetworkStatsAccess.Level.USER) { in buildRequestInfo() 216 checkArgument(accessLevel >= NetworkStatsAccess.Level.DEVICESUMMARY); in buildRequestInfo() 232 protected final @NetworkStatsAccess.Level int mAccessLevel; 238 @NetworkStatsAccess.Level int accessLevel) { in RequestInfo() 333 @NetworkStatsAccess.Level int accessLevel) { in NetworkUsageRequestInfo() 375 @NetworkStatsAccess.Level int accessLevel) { in UserUsageRequestInfo()
|
/frameworks/native/libs/binder/ |
D | Stability.cpp | 33 Stability::Category Stability::Category::currentFromLevel(Level level) { in currentFromLevel() 41 void Stability::forceDowngradeToStability(const sp<IBinder>& binder, Level level) { in forceDowngradeToStability() 58 forceDowngradeToStability(binder, Level::SYSTEM); in forceDowngradeToSystemStability() 62 forceDowngradeToStability(binder, Level::VENDOR); in forceDowngradeToVendorStability() 77 auto stability = Category::currentFromLevel(Level::VINTF); in markVintf() 88 auto stability = Category::currentFromLevel(Level::VENDOR); in markVndk() 94 return check(getCategory(binder.get()), Level::VINTF); in requiresVintfDeclaration() 102 Stability::Level Stability::getLocalLevel() { in getLocalLevel() 184 return Category::currentFromLevel(Level::UNDECLARED); in getCategory() 195 bool Stability::check(Category provided, Level required) { in check() [all …]
|
/frameworks/layoutlib/bridge/tests/src/com/android/tools/idea/validator/accessibility/ |
D | AccessibilityValidatorTests.java | 29 import com.android.tools.idea.validator.ValidatorData.Level; 139 speakableCheck = filter(speakableCheck, EnumSet.of(Level.ERROR)); in testSpeakableTextPresentCheck() 142 result.getIssues(), EnumSet.of(Level.ERROR, Level.WARNING, Level.INFO)); in testSpeakableTextPresentCheck() 161 textContrast = filter(textContrast, EnumSet.of(Level.ERROR)); in testTextContrastCheck() 162 List<Issue> filtered = filter(result.getIssues(), EnumSet.of(Level.ERROR)); in testTextContrastCheck() 180 textContrast = filter(textContrast, EnumSet.of(Level.ERROR)); in testTextContrastCheckNoImage() 181 List<Issue> filtered = filter(result.getIssues(), EnumSet.of(Level.ERROR)); in testTextContrastCheckNoImage() 198 imageContrast = filter(imageContrast, EnumSet.of(Level.ERROR, Level.WARNING)); in testImageContrastCheck() 199 … List<Issue> filtered = filter(result.getIssues(), EnumSet.of(Level.ERROR, Level.WARNING)); in testImageContrastCheck() 215 imageContrast = filter(imageContrast, EnumSet.of(Level.ERROR, Level.WARNING)); in testImageContrastCheckNoImage() [all …]
|
/frameworks/base/tools/aapt2/ |
D | Diagnostics.h | 71 enum class Level { Note, Warn, Error }; enum 73 virtual void Log(Level level, DiagMessageActual& actualMsg) = 0; 77 Log(Level::Error, actual); in Error() 82 Log(Level::Warn, actual); in Warn() 87 Log(Level::Note, actual); in Note() 95 void Log(Level level, DiagMessageActual& actual_msg) override { in Log() 99 case Level::Error: in Log() 107 case Level::Warn: in Log() 111 case Level::Note: in Log() 133 void Log(Level level, DiagMessageActual& actual_msg) override { in Log() [all …]
|
D | ResourceTable_test.cpp | 175 static StringPiece LevelToString(Visibility::Level level) { in LevelToString() 177 case Visibility::Level::kPrivate: in LevelToString() 179 case Visibility::Level::kPublic: in LevelToString() 188 Visibility::Level level, in VisibilityOfResource() 209 using Level = Visibility::Level; in TEST() typedef 215 visibility.level = Visibility::Level::kPrivate; in TEST() 219 ASSERT_TRUE(VisibilityOfResource(table, name, Level::kPrivate, "private")); in TEST() 221 visibility.level = Visibility::Level::kUndefined; in TEST() 225 ASSERT_TRUE(VisibilityOfResource(table, name, Level::kPrivate, "private")); in TEST() 227 visibility.level = Visibility::Level::kPublic; in TEST() [all …]
|
D | ResourceTable.h | 45 enum class Level { enum 51 Level level = Level::kUndefined; 174 Visibility::Level visibility_level = Visibility::Level::kUndefined; 222 Visibility::Level visibility_level = Visibility::Level::kUndefined;
|
/frameworks/native/libs/binder/include/binder/ |
D | Stability.h | 131 enum Level : uint8_t { enum 147 static inline Category currentFromLevel(Level level); 167 Level level; 172 static Level getLocalLevel(); 175 static void forceDowngradeToStability(const sp<IBinder>& binder, Level level); 191 static bool check(Category provided, Level required); 193 static bool isDeclaredLevel(Level level); 194 static std::string levelString(Level level);
|
/frameworks/native/include/binder/ |
D | Stability.h | 131 enum Level : uint8_t { enum 147 static inline Category currentFromLevel(Level level); 167 Level level; 172 static Level getLocalLevel(); 175 static void forceDowngradeToStability(const sp<IBinder>& binder, Level level); 191 static bool check(Category provided, Level required); 193 static bool isDeclaredLevel(Level level); 194 static std::string levelString(Level level);
|
/frameworks/layoutlib/validator/src/com/android/tools/idea/validator/ |
D | ValidatorData.java | 44 public enum Level { enum in ValidatorData 57 @NotNull public final EnumSet<Level> mLevels; 60 public Policy(@NotNull EnumSet<Type> types, @NotNull EnumSet<Level> levels) { in Policy() 88 public final Level mLevel; 102 @NotNull Level level, in Issue() 121 private Level mLevel; 142 public IssueBuilder setLevel(Level level) { in setLevel()
|
D | LayoutValidator.java | 19 import com.android.tools.idea.validator.ValidatorData.Level; 38 EnumSet.of(Level.ERROR, Level.WARNING));
|
/frameworks/layoutlib/validator/src/com/android/tools/idea/validator/accessibility/ |
D | AccessibilityValidator.java | 22 import com.android.tools.idea.validator.ValidatorData.Level; 83 EnumSet<Level> filter = policy.mLevels; in validateAccessibility() 100 ValidatorData.Level level = convertLevel(result.getType()); in validateAccessibility() 128 .setLevel(Level.ERROR) in validateAccessibility() 150 private static ValidatorData.Level convertLevel(@NotNull AccessibilityCheckResultType type) { in convertLevel() 153 return Level.ERROR; in convertLevel() 155 return Level.WARNING; in convertLevel() 157 return Level.INFO; in convertLevel() 162 return Level.VERBOSE; in convertLevel()
|
/frameworks/base/tools/aapt2/test/ |
D | Common.cpp | 25 void Log(Level level, DiagMessageActual& actual_msg) override { in Log() 27 case Level::Note: in Log() 30 case Level::Warn: in Log() 34 case Level::Error: in Log()
|
/frameworks/compile/mclinker/include/mcld/Script/ |
D | Assignment.h | 27 enum Level { enum 36 Assignment(Level pLevel, Type pType, SymOperand& pSymbol, RpnExpr& pRpnExpr); 42 Level level() const { return m_Level; } in level() 64 Level m_Level;
|
/frameworks/base/core/java/com/android/internal/logging/ |
D | AndroidConfig.java | 19 import java.util.logging.Level; 39 rootLogger.setLevel(Level.INFO); in AndroidConfig() 42 Logger.getLogger("org.apache").setLevel(Level.WARNING); in AndroidConfig()
|
D | AndroidHandler.java | 27 import java.util.logging.Level; 161 public void publish(Logger source, String tag, Level level, String message) { in publish() 182 static int getAndroidLevel(Level level) { in getAndroidLevel()
|
/frameworks/layoutlib/bridge/tests/src/com/android/tools/idea/validator/ |
D | LayoutValidatorTests.java | 25 import com.android.tools.idea.validator.ValidatorData.Level; 69 assertEquals(Level.ERROR, issue.mLevel); in testValidation() 103 EnumSet.of(Level.ERROR, Level.WARNING)); in testValidationPolicyType() 121 EnumSet.of(Level.VERBOSE)); in testValidationPolicyLevel() 128 result.getIssues().forEach(issue ->assertEquals(Level.VERBOSE, issue.mLevel)); in testValidationPolicyLevel() 147 EnumSet.of(Level.ERROR)); in testValidationPolicyChecks()
|
/frameworks/compile/libbcc/include/bcc/ |
D | Script.h | 45 llvm::CodeGenOpt::Level mOptimizationLevel; 74 void setOptimizationLevel(llvm::CodeGenOpt::Level pOptimizationLevel) { in setOptimizationLevel() 78 llvm::CodeGenOpt::Level getOptimizationLevel() const { in getOptimizationLevel()
|
D | CompilerConfig.h | 50 llvm::CodeGenOpt::Level mOptLevel; 92 inline llvm::CodeGenOpt::Level getOptimizationLevel() const in getOptimizationLevel() 94 inline void setOptimizationLevel(llvm::CodeGenOpt::Level pOptLvl) in setOptimizationLevel()
|
/frameworks/av/media/libeffects/lvm/lib/Reverb/src/ |
D | LVREV_ApplyNewSettings.cpp | 319 (pPrivate->NewParams.Level != pPrivate->CurrentParams.Level) || in LVREV_ApplyNewSettings() 396 Index_FLOAT = 100.0f / (LVM_FLOAT)(100 + pPrivate->NewParams.Level); in LVREV_ApplyNewSettings() 442 if ((pPrivate->NewParams.Level != pPrivate->CurrentParams.Level) && in LVREV_ApplyNewSettings() 444 pPrivate->BypassMixer.Target2 = (LVM_FLOAT)(pPrivate->NewParams.Level) / 100.0f; in LVREV_ApplyNewSettings() 446 if ((pPrivate->NewParams.Level == 0) && (pPrivate->bFirstControl == LVM_FALSE)) { in LVREV_ApplyNewSettings() 449 if (pPrivate->NewParams.Level != 0) { in LVREV_ApplyNewSettings() 456 pPrivate->BypassMixer.Target2 = (LVM_FLOAT)(pPrivate->NewParams.Level) / 100.0f; in LVREV_ApplyNewSettings() 461 if (pPrivate->NewParams.Level == 0) { in LVREV_ApplyNewSettings()
|
/frameworks/base/tools/aapt2/jni/ |
D | aapt2_jni.cpp | 85 void Log(Level level, aapt::DiagMessageActual& actual_msg) override { in Log() 88 case Level::Error: in Log() 92 case Level::Warn: in Log() 96 case Level::Note: in Log()
|
/frameworks/base/tools/aapt/ |
D | SourcePos.cpp | 13 enum Level { enum 22 Level level; 26 ErrorPos(const String8& file, int line, const String8& error, Level level); 47 ErrorPos::ErrorPos(const String8& f, int l, const String8& e, Level lev) in ErrorPos()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Diff.cpp | 90 static bool IsIdDiff(const Visibility::Level& level_a, const Maybe<Id>& id_a, in IsIdDiff() 91 const Visibility::Level& level_b, const Maybe<Id>& id_b) { in IsIdDiff() 92 if (level_a == Visibility::Level::kPublic || level_b == Visibility::Level::kPublic) { in IsIdDiff() 186 if (entry_b.visibility.level == Visibility::Level::kPublic) { in EmitResourceTypeDiff() 195 if (entry_a.visibility.level == Visibility::Level::kPublic) { in EmitResourceTypeDiff() 261 if (type_b.visibility_level == Visibility::Level::kPublic) { in EmitResourcePackageDiff() 267 if (type_a.visibility_level == Visibility::Level::kPublic) { in EmitResourcePackageDiff()
|
/frameworks/base/tools/aapt2/link/ |
D | PrivateAttributeMover_test.cpp | 33 Visibility::Level::kPublic) in TEST() 35 Visibility::Level::kPublic) in TEST() 84 .SetSymbolState("android:attr/pub", ResourceId(0x01010000), Visibility::Level::kPublic) in TEST()
|
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ |
D | ADebug.h | 118 enum Level { enum 143 static Level GetDebugLevelFromProperty( 144 const char *name, const char *propertyName, Level def = kDebugNone);
|