/packages/modules/Connectivity/framework-t/src/android/net/ |
D | NetworkStatsAccess.java | 54 Level.DEFAULT, 55 Level.USER, 56 Level.DEVICESUMMARY, 57 Level.DEVICE, 60 public @interface Level { annotation in NetworkStatsAccess 109 public static @NetworkStatsAccess.Level int checkAccessLevel( in checkAccessLevel() 135 return NetworkStatsAccess.Level.DEVICE; in checkAccessLevel() 141 return NetworkStatsAccess.Level.DEVICESUMMARY; in checkAccessLevel() 150 return NetworkStatsAccess.Level.USER; in checkAccessLevel() 154 return NetworkStatsAccess.Level.DEFAULT; in checkAccessLevel() [all …]
|
D | NetworkStatsCollection.java | 213 public int[] getRelevantUids(@NetworkStatsAccess.Level int accessLevel) { in getRelevantUids() 218 public int[] getRelevantUids(@NetworkStatsAccess.Level int accessLevel, in getRelevantUids() 242 @NetworkStatsAccess.Level int accessLevel, int callerUid) { in getHistory() 367 @NetworkStatsAccess.Level int accessLevel, int callerUid) { in getSummary()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
D | prettywriter.h | 87 new (Base::level_stack_.template Push<typename Base::Level>()) typename Base::Level(false); in StartObject() 95 RAPIDJSON_ASSERT(Base::level_stack_.GetSize() >= sizeof(typename Base::Level)); 96 RAPIDJSON_ASSERT(!Base::level_stack_.template Top<typename Base::Level>()->inArray); 97 bool empty = Base::level_stack_.template Pop<typename Base::Level>(1)->valueCount == 0; 113 new (Base::level_stack_.template Push<typename Base::Level>()) typename Base::Level(true); in StartArray() 119 RAPIDJSON_ASSERT(Base::level_stack_.GetSize() >= sizeof(typename Base::Level)); 120 RAPIDJSON_ASSERT(Base::level_stack_.template Top<typename Base::Level>()->inArray); 121 bool empty = Base::level_stack_.template Pop<typename Base::Level>(1)->valueCount == 0; 149 typename Base::Level* level = Base::level_stack_.template Top<typename Base::Level>(); in PrettyPrefix() 188 … size_t count = (Base::level_stack_.GetSize() / sizeof(typename Base::Level)) * indentCharCount_; in WriteIndent()
|
D | writer.h | 65 os_(&os), level_stack_(stackAllocator, levelDepth * sizeof(Level)), hasRoot_(false) {} 69 os_(0), level_stack_(allocator, levelDepth * sizeof(Level)), hasRoot_(false) {} 136 new (level_stack_.template Push<Level>()) Level(false); in StartObject() 144 RAPIDJSON_ASSERT(level_stack_.GetSize() >= sizeof(Level)); 145 RAPIDJSON_ASSERT(!level_stack_.template Top<Level>()->inArray); 146 level_stack_.template Pop<Level>(1); 155 new (level_stack_.template Push<Level>()) Level(true); in StartArray() 161 RAPIDJSON_ASSERT(level_stack_.GetSize() >= sizeof(Level)); 162 RAPIDJSON_ASSERT(level_stack_.template Top<Level>()->inArray); 163 level_stack_.template Pop<Level>(1); [all …]
|
/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | NetworkStatsAccessTest.java | 85 assertEquals(NetworkStatsAccess.Level.DEVICE, in testCheckAccessLevel_hasCarrierPrivileges() 92 assertEquals(NetworkStatsAccess.Level.DEVICE, in testCheckAccessLevel_isDeviceOwner() 99 assertEquals(NetworkStatsAccess.Level.USER, in testCheckAccessLevel_isProfileOwner() 107 assertEquals(NetworkStatsAccess.Level.DEVICESUMMARY, in testCheckAccessLevel_hasAppOpsBitAllowed() 115 assertEquals(NetworkStatsAccess.Level.DEVICESUMMARY, in testCheckAccessLevel_hasAppOpsBitDefault_grantedPermission() 123 assertEquals(NetworkStatsAccess.Level.DEVICESUMMARY, in testCheckAccessLevel_hasReadHistoryPermission() 130 assertEquals(NetworkStatsAccess.Level.DEFAULT, in testCheckAccessLevel_deniedAppOpsBit() 136 assertEquals(NetworkStatsAccess.Level.DEFAULT, in testCheckAccessLevel_deniedAppOpsBit_deniedPermission() 142 assertEquals(NetworkStatsAccess.Level.DEFAULT, in testCheckAccessLevel_hasNetworkStackPermission() 146 assertEquals(NetworkStatsAccess.Level.DEVICE, in testCheckAccessLevel_hasNetworkStackPermission() [all …]
|
D | NetworkStatsCollectionTest.java | 125 636014522L, 709291L, 88037144L, 518820L, NetworkStatsAccess.Level.DEVICE); in testReadLegacyNetwork() 134 0L, 0L, 0L, 0L, NetworkStatsAccess.Level.DEVICE); in testReadLegacyNetwork() 139 636014522L, 709291L, 88037144L, 518820L, NetworkStatsAccess.Level.DEVICE); in testReadLegacyNetwork() 153 637073904L, 711398L, 88342093L, 521006L, NetworkStatsAccess.Level.DEVICE); in testReadLegacyUid() 162 0L, 0L, 0L, 0L, NetworkStatsAccess.Level.DEVICE); in testReadLegacyUid() 167 637073904L, 711398L, 88342093L, 521006L, NetworkStatsAccess.Level.DEVICE); in testReadLegacyUid() 247 collection.getRelevantUids(NetworkStatsAccess.Level.DEFAULT)); in testAccessLevels() 249 collection.getRelevantUids(NetworkStatsAccess.Level.USER)); in testAccessLevels() 252 collection.getRelevantUids(NetworkStatsAccess.Level.DEVICE)); in testAccessLevels() 256 myUid, SET_DEFAULT, TAG_NONE, 0, 0L, 0L, NetworkStatsAccess.Level.DEFAULT, myUid)); in testAccessLevels() [all …]
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/ |
D | NetworkStatsObserversTest.java | 144 mUsageCallback, PID_RED , UID_RED, PACKAGE_RED, NetworkStatsAccess.Level.DEVICE); in testRegister_thresholdTooLow_setsDefaultThreshold() 152 NetworkStatsAccess.Level.DEVICE); in testRegister_thresholdTooLow_setsDefaultThreshold() 165 PID_SYSTEM, Process.SYSTEM_UID, PACKAGE_SYSTEM, NetworkStatsAccess.Level.DEVICE); in testRegister_highThreshold_accepted() 177 PID_SYSTEM, Process.SYSTEM_UID, PACKAGE_SYSTEM, NetworkStatsAccess.Level.DEVICE); in testRegister_twoRequests_twoIds() 183 PID_SYSTEM, Process.SYSTEM_UID, PACKAGE_SYSTEM, NetworkStatsAccess.Level.DEVICE); in testRegister_twoRequests_twoIds() 199 PID_RED, UID_RED, PACKAGE_RED, NetworkStatsAccess.Level.DEVICE); in testRegister_limit() 207 PID_RED, UID_RED, PACKAGE_RED, NetworkStatsAccess.Level.DEVICE)); in testRegister_limit() 214 PID_BLUE, UID_BLUE, PACKAGE_BLUE, NetworkStatsAccess.Level.DEVICE); in testRegister_limit() 222 PID_RED, UID_RED, PACKAGE_RED, NetworkStatsAccess.Level.DEVICE)); in testRegister_limit() 248 PID_SYSTEM, Process.SYSTEM_UID, PACKAGE_SYSTEM, NetworkStatsAccess.Level.DEVICE); in testUnregister_knownRequest_releasesCaller() [all …]
|
/packages/modules/NeuralNetworks/common/types/include/nnapi/ |
D | Types.h | 1009 enum class Level : uint8_t { enum 1023 Level level; 1027 constexpr auto kVersionFeatureLevel1 = Version{.level = Version::Level::FEATURE_LEVEL_1}; 1028 constexpr auto kVersionFeatureLevel2 = Version{.level = Version::Level::FEATURE_LEVEL_2}; 1029 constexpr auto kVersionFeatureLevel3 = Version{.level = Version::Level::FEATURE_LEVEL_3}; 1030 constexpr auto kVersionFeatureLevel4 = Version{.level = Version::Level::FEATURE_LEVEL_4}; 1031 constexpr auto kVersionFeatureLevel5 = Version{.level = Version::Level::FEATURE_LEVEL_5}; 1032 constexpr auto kVersionFeatureLevel6 = Version{.level = Version::Level::FEATURE_LEVEL_6}; 1033 constexpr auto kVersionFeatureLevel7 = Version{.level = Version::Level::FEATURE_LEVEL_7}; 1034 constexpr auto kVersionFeatureLevel8 = Version{.level = Version::Level::FEATURE_LEVEL_8}; [all …]
|
/packages/modules/NeuralNetworks/tools/api/ |
D | Types.t | 255 enum class Level : uint8_t { 269 Level level; 273 constexpr auto kVersionFeatureLevel1 = Version{.level = Version::Level::FEATURE_LEVEL_1}; 274 constexpr auto kVersionFeatureLevel2 = Version{.level = Version::Level::FEATURE_LEVEL_2}; 275 constexpr auto kVersionFeatureLevel3 = Version{.level = Version::Level::FEATURE_LEVEL_3}; 276 constexpr auto kVersionFeatureLevel4 = Version{.level = Version::Level::FEATURE_LEVEL_4}; 277 constexpr auto kVersionFeatureLevel5 = Version{.level = Version::Level::FEATURE_LEVEL_5}; 278 constexpr auto kVersionFeatureLevel6 = Version{.level = Version::Level::FEATURE_LEVEL_6}; 279 constexpr auto kVersionFeatureLevel7 = Version{.level = Version::Level::FEATURE_LEVEL_7}; 280 constexpr auto kVersionFeatureLevel8 = Version{.level = Version::Level::FEATURE_LEVEL_8}; [all …]
|
/packages/modules/Connectivity/service-t/src/com/android/server/net/ |
D | NetworkStatsObservers.java | 96 @NetworkStatsAccess.Level int accessLevel) { in register() 235 @NetworkStatsAccess.Level int accessLevel) { in buildRequestInfo() 236 if (accessLevel <= NetworkStatsAccess.Level.USER) { in buildRequestInfo() 241 if (accessLevel < NetworkStatsAccess.Level.DEVICESUMMARY) { in buildRequestInfo() 261 protected final @NetworkStatsAccess.Level int mAccessLevel; 267 @NonNull String callingPackage, @NetworkStatsAccess.Level int accessLevel) { in RequestInfo() 365 @NonNull String callingPackage, @NetworkStatsAccess.Level int accessLevel) { in NetworkUsageRequestInfo() 408 @NonNull String callingPackage, @NetworkStatsAccess.Level int accessLevel) { in UserUsageRequestInfo()
|
/packages/modules/StatsD/statsd/tools/localtools/src/com/android/statsd/shelltools/ |
D | Utils.java | 35 import java.util.logging.Level; 151 handler.setLevel(Level.ALL); in setUpLogger() 152 logger.setLevel(Level.ALL); in setUpLogger() 231 logger.log(Level.SEVERE, "Failed to list connected devices: " + ex.getMessage()); in getDeviceSerials() 245 logger.log(Level.SEVERE, "Failed to check ANDROID_SERIAL environment variable.", in getDefaultDevice()
|
/packages/modules/NeuralNetworks/common/types/src/ |
D | TypeUtils.cpp | 756 std::ostream& operator<<(std::ostream& os, const Version::Level& versionLevel) { in operator <<() 758 case Version::Level::FEATURE_LEVEL_1: in operator <<() 760 case Version::Level::FEATURE_LEVEL_2: in operator <<() 762 case Version::Level::FEATURE_LEVEL_3: in operator <<() 764 case Version::Level::FEATURE_LEVEL_4: in operator <<() 766 case Version::Level::FEATURE_LEVEL_5: in operator <<() 768 case Version::Level::FEATURE_LEVEL_6: in operator <<() 770 case Version::Level::FEATURE_LEVEL_7: in operator <<() 772 case Version::Level::FEATURE_LEVEL_8: in operator <<() 775 case Version::Level::FEATURE_LEVEL_EXPERIMENTAL: in operator <<()
|
/packages/modules/Bluetooth/pandora/interfaces/pandora_experimental/ |
D | security.proto | 65 // Level 0, for services with the following attributes: 74 // correspond to service class UUIDs which are allowed to utilize Level 0. 76 // Level 1, for services with the following attributes: 86 // Level 2, for services with the following attributes: 94 // Level 3, for services with the following attributes: 103 // Level 4, for services with the following attributes:
|
/packages/modules/Virtualization/compos/composd/src/ |
D | composd_main.rs | 37 let log_level = if debuggable { log::Level::Debug } else { log::Level::Info }; in try_main()
|
/packages/modules/Virtualization/virtualizationservice/src/ |
D | main.rs | 27 use log::{info, Level}; 45 .with_min_level(Level::Info) in main()
|
/packages/modules/NeuralNetworks/runtime/ |
D | Manager.cpp | 293 int64_t DeviceManager::versionToFeatureLevel(Version::Level versionLevel) { in versionToFeatureLevel() 295 case Version::Level::FEATURE_LEVEL_1: in versionToFeatureLevel() 297 case Version::Level::FEATURE_LEVEL_2: in versionToFeatureLevel() 299 case Version::Level::FEATURE_LEVEL_3: in versionToFeatureLevel() 301 case Version::Level::FEATURE_LEVEL_4: in versionToFeatureLevel() 303 case Version::Level::FEATURE_LEVEL_5: in versionToFeatureLevel() 305 case Version::Level::FEATURE_LEVEL_6: in versionToFeatureLevel() 307 case Version::Level::FEATURE_LEVEL_7: in versionToFeatureLevel() 309 case Version::Level::FEATURE_LEVEL_8: in versionToFeatureLevel() 312 case Version::Level::FEATURE_LEVEL_EXPERIMENTAL: in versionToFeatureLevel() [all …]
|
/packages/modules/Virtualization/authfs/service/src/ |
D | main.rs | 114 let log_level = if debuggable { log::Level::Trace } else { log::Level::Info }; in try_main()
|
/packages/modules/DnsResolver/doh/ |
D | ffi.rs | 117 fn level_from_u32(level: u32) -> Option<log::Level> { in level_from_u32() argument 118 use log::Level::*; in level_from_u32() 134 let log_level = level_from_u32(level).unwrap_or(log::Level::Error); in doh_init_logger()
|
/packages/modules/StatsD/statsd/tools/localtools/src/com/android/statsd/shelltools/testdrive/ |
D | TestDrive.java | 47 import java.util.logging.Level; 195 LOGGER.log(Level.SEVERE, "Failed to test drive: " + e.getMessage(), e); in testDriveAndGetReports() 204 LOGGER.log(Level.WARNING, in testDriveAndGetReports()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | LogSaver.java | 34 import java.util.logging.Level; 221 handler.setLevel(Level.ALL); in initDiskLog()
|
/packages/modules/DnsResolver/ |
D | stats.proto | 261 SYS_EL2NSYNC = 45; // Level 2 not synchronized 262 SYS_EL3HLT = 46; // Level 3 halted 263 SYS_EL3RST = 47; // Level 3 reset 267 SYS_EL2HLT = 51; // Level 2 halted
|
/packages/modules/Virtualization/authfs/src/ |
D | main.rs | 311 let log_level = if args.debug { log::Level::Debug } else { log::Level::Info }; in try_main()
|
/packages/modules/Bluetooth/system/gd/rust/common/src/ |
D | lib.rs | 25 android_logger::Config::default().with_tag("bt").with_min_level(log::Level::Debug), in init_logging()
|
/packages/modules/Virtualization/compos/src/ |
D | compsvc_main.rs | 53 android_logger::Config::default().with_tag("compsvc").with_min_level(log::Level::Debug), in try_main()
|
/packages/modules/Virtualization/compos/verify/ |
D | verify.rs | 44 .with_min_level(log::Level::Info) in main()
|