Home
last modified time | relevance | path

Searched refs:Level (Results 1 – 25 of 91) sorted by relevance

1234

/frameworks/native/libs/binder/
DStability.cpp30 status_t result = set(binder, Level::VINTF, true /*log*/); in markVintf()
39 status_t result = set(binder, Level::VENDOR, true /*log*/); in markVndk()
44 return check(get(binder.get()), Level::VINTF); in requiresVintfDeclaration()
51 Stability::Level Stability::getLocalStability() { in getLocalStability()
60 return Level::SYSTEM; in getLocalStability()
62 return Level::VENDOR; in getLocalStability()
66 return Level::SYSTEM; in getLocalStability()
71 Level currentStability = get(binder); in set()
93 if (currentStability != Level::UNDECLARED && currentStability != stability) { in set()
113 Stability::Level Stability::get(IBinder* binder) { in get()
[all …]
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsAccess.java50 Level.DEFAULT,
51 Level.USER,
52 Level.DEVICESUMMARY,
53 Level.DEVICE,
56 public @interface Level { annotation in NetworkStatsAccess
105 public static @NetworkStatsAccess.Level int checkAccessLevel( in checkAccessLevel()
120 return NetworkStatsAccess.Level.DEVICE; in checkAccessLevel()
126 return NetworkStatsAccess.Level.DEVICESUMMARY; in checkAccessLevel()
134 return NetworkStatsAccess.Level.USER; in checkAccessLevel()
138 return NetworkStatsAccess.Level.DEFAULT; in checkAccessLevel()
[all …]
DNetworkStatsObservers.java78 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/base/tools/aapt2/
DDiagnostics.h71 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 …]
DResourceTable_test.cpp162 static StringPiece LevelToString(Visibility::Level level) { in LevelToString()
164 case Visibility::Level::kPrivate: in LevelToString()
166 case Visibility::Level::kPublic: in LevelToString()
175 Visibility::Level level, in VisibilityOfResource()
196 using Level = Visibility::Level; in TEST() typedef
202 visibility.level = Visibility::Level::kPrivate; in TEST()
205 ASSERT_TRUE(VisibilityOfResource(table, name, Level::kPrivate, "private")); in TEST()
207 visibility.level = Visibility::Level::kUndefined; in TEST()
210 ASSERT_TRUE(VisibilityOfResource(table, name, Level::kPrivate, "private")); in TEST()
212 visibility.level = Visibility::Level::kPublic; in TEST()
[all …]
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsAccessTest.java82 assertEquals(NetworkStatsAccess.Level.DEVICE, in testCheckAccessLevel_hasCarrierPrivileges()
93 assertEquals(NetworkStatsAccess.Level.DEVICE, in testCheckAccessLevel_isDeviceOwner()
104 assertEquals(NetworkStatsAccess.Level.USER, in testCheckAccessLevel_isProfileOwner()
115 assertEquals(NetworkStatsAccess.Level.DEVICESUMMARY, in testCheckAccessLevel_hasAppOpsBitAllowed()
126 assertEquals(NetworkStatsAccess.Level.DEVICESUMMARY, in testCheckAccessLevel_hasAppOpsBitDefault_grantedPermission()
137 assertEquals(NetworkStatsAccess.Level.DEVICESUMMARY, in testCheckAccessLevel_hasReadHistoryPermission()
148 assertEquals(NetworkStatsAccess.Level.DEFAULT, in testCheckAccessLevel_deniedAppOpsBit()
159 assertEquals(NetworkStatsAccess.Level.DEFAULT, in testCheckAccessLevel_deniedAppOpsBit_deniedPermission()
DNetworkStatsCollectionTest.java123 636016770L, 709306L, 88038768L, 518836L, NetworkStatsAccess.Level.DEVICE); in testReadLegacyNetwork()
132 0L, 0L, 0L, 0L, NetworkStatsAccess.Level.DEVICE); in testReadLegacyNetwork()
137 636016770L, 709306L, 88038768L, 518836L, NetworkStatsAccess.Level.DEVICE); in testReadLegacyNetwork()
151 637076152L, 711413L, 88343717L, 521022L, NetworkStatsAccess.Level.DEVICE); in testReadLegacyUid()
160 0L, 0L, 0L, 0L, NetworkStatsAccess.Level.DEVICE); in testReadLegacyUid()
165 637076152L, 711413L, 88343717L, 521022L, NetworkStatsAccess.Level.DEVICE); in testReadLegacyUid()
245 collection.getRelevantUids(NetworkStatsAccess.Level.DEFAULT)); in testAccessLevels()
247 collection.getRelevantUids(NetworkStatsAccess.Level.USER)); in testAccessLevels()
250 collection.getRelevantUids(NetworkStatsAccess.Level.DEVICE)); in testAccessLevels()
254 TAG_NONE, 0, 0L, 0L, NetworkStatsAccess.Level.DEFAULT, myUid)); in testAccessLevels()
[all …]
DNetworkStatsObserversTest.java137 Process.SYSTEM_UID, NetworkStatsAccess.Level.DEVICE); in testRegister_thresholdTooLow_setsDefaultThreshold()
150 Process.SYSTEM_UID, NetworkStatsAccess.Level.DEVICE); in testRegister_highThreshold_accepted()
162 Process.SYSTEM_UID, NetworkStatsAccess.Level.DEVICE); in testRegister_twoRequests_twoIds()
168 Process.SYSTEM_UID, NetworkStatsAccess.Level.DEVICE); in testRegister_twoRequests_twoIds()
188 Process.SYSTEM_UID, NetworkStatsAccess.Level.DEVICE); in testUnregister_knownRequest_releasesCaller()
206 UID_RED, NetworkStatsAccess.Level.DEVICE); in testUnregister_knownRequest_invalidUid_doesNotUnregister()
233 Process.SYSTEM_UID, NetworkStatsAccess.Level.DEVICE); in testUpdateStats_initialSample_doesNotNotify()
257 Process.SYSTEM_UID, NetworkStatsAccess.Level.DEVICE); in testUpdateStats_belowThreshold_doesNotNotify()
287 Process.SYSTEM_UID, NetworkStatsAccess.Level.DEVICE); in testUpdateStats_deviceAccess_notifies()
318 UID_RED, NetworkStatsAccess.Level.DEFAULT); in testUpdateStats_defaultAccess_notifiesSameUid()
[all …]
/frameworks/base/tools/aapt2/test/
DCommon.cpp25 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/
DAssignment.h27 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/native/libs/binder/include/binder/
DStability.h76 enum Level : int32_t { enum
85 static Level getLocalStability();
91 static Level get(IBinder* binder);
93 static bool check(int32_t provided, Level required);
/frameworks/native/include/binder/
DStability.h76 enum Level : int32_t { enum
85 static Level getLocalStability();
91 static Level get(IBinder* binder);
93 static bool check(int32_t provided, Level required);
/frameworks/base/core/java/com/android/internal/logging/
DAndroidConfig.java19 import java.util.logging.Level;
39 rootLogger.setLevel(Level.INFO); in AndroidConfig()
42 Logger.getLogger("org.apache").setLevel(Level.WARNING); in AndroidConfig()
DAndroidHandler.java27 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/base/cmds/statsd/tools/localtools/src/com/android/statsd/shelltools/testdrive/
DTestDrive.java39 import java.util.logging.Level;
78 LOGGER.log(Level.SEVERE, "Usage: ./test_drive [-p additional_allowed_package] " in main()
91 LOGGER.log(Level.SEVERE, "No such atom found: " + args[i]); in main()
96 LOGGER.log(Level.SEVERE, "Bad atom id provided: " + args[i]); in main()
104 LOGGER.log(Level.SEVERE, "Failed to create valid config."); in main()
123 LOGGER.log(Level.SEVERE, "Failed to test drive: " + e.getMessage(), e); in main()
130 LOGGER.log(Level.WARNING, in main()
221 LOGGER.log(Level.SEVERE, "Failed to remove config: " + e.getMessage()); in removeConfig()
/frameworks/compile/libbcc/include/bcc/
DScript.h45 llvm::CodeGenOpt::Level mOptimizationLevel;
74 void setOptimizationLevel(llvm::CodeGenOpt::Level pOptimizationLevel) { in setOptimizationLevel()
78 llvm::CodeGenOpt::Level getOptimizationLevel() const { in getOptimizationLevel()
DCompilerConfig.h50 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/
DLVREV_ApplyNewSettings.cpp378 (pPrivate->NewParams.Level != pPrivate->CurrentParams.Level) || in LVREV_ApplyNewSettings()
473 Index_FLOAT = 100.0f / (LVM_FLOAT)(100 + pPrivate->NewParams.Level); in LVREV_ApplyNewSettings()
521 if( (pPrivate->NewParams.Level != pPrivate->CurrentParams.Level) && in LVREV_ApplyNewSettings()
524 pPrivate->BypassMixer.Target2 = (LVM_FLOAT)(pPrivate->NewParams.Level ) / 100.0f; in LVREV_ApplyNewSettings()
526 if ((pPrivate->NewParams.Level == 0) && (pPrivate->bFirstControl == LVM_FALSE)) in LVREV_ApplyNewSettings()
530 if (pPrivate->NewParams.Level != 0) in LVREV_ApplyNewSettings()
540 pPrivate->BypassMixer.Target2 = (LVM_FLOAT)(pPrivate->NewParams.Level ) / 100.0f; in LVREV_ApplyNewSettings()
545 if (pPrivate->NewParams.Level == 0) in LVREV_ApplyNewSettings()
/frameworks/base/tools/aapt2/jni/
Daapt2_jni.cpp85 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/
DSourcePos.cpp13 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/
DDiff.cpp84 static bool IsIdDiff(const Visibility::Level& level_a, const Maybe<Id>& id_a, in IsIdDiff()
85 const Visibility::Level& level_b, const Maybe<Id>& id_b) { in IsIdDiff()
86 if (level_a == Visibility::Level::kPublic || level_b == Visibility::Level::kPublic) { in IsIdDiff()
165 if (entry_b->visibility.level == Visibility::Level::kPublic) { in EmitResourceTypeDiff()
171 if (entry_a->visibility.level == Visibility::Level::kPublic) { in EmitResourceTypeDiff()
232 if (type_b->visibility_level == Visibility::Level::kPublic) { in EmitResourcePackageDiff()
238 if (type_a->visibility_level == Visibility::Level::kPublic) { in EmitResourcePackageDiff()
/frameworks/base/tools/aapt2/link/
DPrivateAttributeMover_test.cpp33 Visibility::Level::kPublic) in TEST()
35 Visibility::Level::kPublic) in TEST()
84 .SetSymbolState("android:attr/pub", ResourceId(0x01010000), Visibility::Level::kPublic) in TEST()
DTableMerger.cpp90 if (src_type->visibility_level == Visibility::Level::kPublic) { in MergeType()
95 } else if (dst_type->visibility_level == Visibility::Level::kPublic && in MergeType()
96 src_type->visibility_level == Visibility::Level::kPublic && dst_type->id && in MergeType()
110 && dst_entry->visibility.level != Visibility::Level::kUndefined in MergeEntry()
121 if (src_entry->visibility.level == Visibility::Level::kPublic) { in MergeEntry()
125 } else if (src_entry->visibility.level == Visibility::Level::kPublic && in MergeEntry()
126 dst_entry->visibility.level == Visibility::Level::kPublic && dst_entry->id && in MergeEntry()
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DADebug.h118 enum Level { enum
143 static Level GetDebugLevelFromProperty(
144 const char *name, const char *propertyName, Level def = kDebugNone);
/frameworks/compile/slang/
Dslang_rs_context.h336 clang::DiagnosticBuilder Report(clang::DiagnosticsEngine::Level Level, in Report() argument
339 return DiagEngine->Report(DiagEngine->getCustomDiagID(Level, Message)); in Report()
343 clang::DiagnosticBuilder Report(clang::DiagnosticsEngine::Level Level, in Report() argument
349 DiagEngine->getCustomDiagID(Level, Message)); in Report()

1234