/frameworks/base/cmds/statsd/src/external/ |
D | StatsPullerManager.cpp | 58 {android::util::WIFI_BYTES_TRANSFER, 60 .puller = new StatsCompanionServicePuller(android::util::WIFI_BYTES_TRANSFER)}}, 62 {android::util::WIFI_BYTES_TRANSFER_BY_FG_BG, 64 .puller = new StatsCompanionServicePuller(android::util::WIFI_BYTES_TRANSFER_BY_FG_BG)}}, 66 {android::util::MOBILE_BYTES_TRANSFER, 68 .puller = new StatsCompanionServicePuller(android::util::MOBILE_BYTES_TRANSFER)}}, 70 {android::util::MOBILE_BYTES_TRANSFER_BY_FG_BG, 73 new StatsCompanionServicePuller(android::util::MOBILE_BYTES_TRANSFER_BY_FG_BG)}}, 75 {android::util::BLUETOOTH_BYTES_TRANSFER, 77 .puller = new StatsCompanionServicePuller(android::util::BLUETOOTH_BYTES_TRANSFER)}}, [all …]
|
/frameworks/base/tools/aapt2/util/ |
D | Util_test.cpp | 31 const StringPiece trimmed = util::TrimWhitespace("\n "); in TEST() 37 EXPECT_TRUE(util::EndsWith("hello.xml", ".xml")); in TEST() 41 EXPECT_TRUE(util::StartsWith("hello.xml", "he")); in TEST() 45 auto tokenizer = util::Tokenize(StringPiece("this| is|the|end"), '|'); in TEST() 59 auto tokenizer = util::Tokenize(StringPiece(""), '|'); in TEST() 68 auto tokenizer = util::Tokenize(StringPiece("one."), '.'); in TEST() 77 EXPECT_TRUE(util::IsJavaClassName("android.test.Class")); in TEST() 78 EXPECT_TRUE(util::IsJavaClassName("android.test.Class$Inner")); in TEST() 79 EXPECT_TRUE(util::IsJavaClassName("android_test.test.Class")); in TEST() 80 EXPECT_TRUE(util::IsJavaClassName("_android_.test._Class_")); in TEST() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/ |
D | status_test.cc | 41 util::Status status; in TEST() 42 EXPECT_EQ(util::error::OK, util::Status::OK.error_code()); in TEST() 43 EXPECT_EQ("OK", util::Status::OK.ToString()); in TEST() 47 EXPECT_EQ(util::error::OK, util::Status::OK.error_code()); in TEST() 48 EXPECT_EQ(util::error::CANCELLED, util::Status::CANCELLED.error_code()); in TEST() 49 EXPECT_EQ(util::error::UNKNOWN, util::Status::UNKNOWN.error_code()); in TEST() 53 util::Status status(util::error::OK, "msg"); in TEST() 59 util::Status status; in TEST() 66 util::Status status(util::error::INVALID_ARGUMENT, ""); in TEST() 70 status = util::Status(util::error::INVALID_ARGUMENT, "msg"); in TEST() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/ |
D | json_stream_parser.h | 42 namespace util { 47 namespace util { 79 util::Status Parse(StringPiece json); 83 util::Status FinishParse(); 124 util::Status ParseChunk(StringPiece json); 129 util::Status RunParser(); 133 util::Status ParseValue(TokenType type); 136 util::Status ParseString(); 139 util::Status ParseStringHelper(); 145 util::Status ParseUnicodeEscape(); [all …]
|
D | json_stream_parser.cc | 51 namespace util { namespace 55 using util::Status; 57 using util::error::INTERNAL; 58 using util::error::INVALID_ARGUMENT; 118 util::Status JsonStreamParser::Parse(StringPiece json) { in Parse() 135 util::Status status = ParseChunk(chunk.substr(0, n)); in Parse() 143 return util::Status::OK; in Parse() 147 util::Status JsonStreamParser::FinishParse() { in FinishParse() 151 return util::Status::OK; in FinishParse() 170 util::Status result = RunParser(); in FinishParse() [all …]
|
D | protostream_objectsource.h | 57 namespace util { 83 virtual util::Status NamedWriteTo(StringPiece name, ObjectWriter* ow) const; 127 virtual util::Status WriteMessage(const google::protobuf::Type& descriptor, 137 typedef util::Status (*TypeRenderer)(const ProtoStreamObjectSource*, 151 util::StatusOr<uint32> RenderList(const google::protobuf::Field* field, 157 util::StatusOr<uint32> RenderMap(const google::protobuf::Field* field, 164 util::Status RenderPacked(const google::protobuf::Field* field, 168 static util::Status RenderTimestamp(const ProtoStreamObjectSource* os, 173 static util::Status RenderDuration(const ProtoStreamObjectSource* os, 179 static util::Status RenderDouble(const ProtoStreamObjectSource* os, [all …]
|
D | field_mask_utility.cc | 38 namespace util { namespace 42 inline util::Status CallPathSink(PathSinkCallback path_sink, in CallPathSink() 47 util::Status CreatePublicError(util::error::Code code, in CreatePublicError() 49 return util::Status(code, message); in CreatePublicError() 113 util::Status DecodeCompactFieldMaskPaths(StringPiece paths, in DecodeCompactFieldMaskPaths() 140 return util::Status( in DecodeCompactFieldMaskPaths() 141 util::error::INVALID_ARGUMENT, in DecodeCompactFieldMaskPaths() 152 return util::Status( in DecodeCompactFieldMaskPaths() 153 util::error::INVALID_ARGUMENT, in DecodeCompactFieldMaskPaths() 164 return util::Status( in DecodeCompactFieldMaskPaths() [all …]
|
D | datapiece.h | 48 namespace util { 118 util::StatusOr<int32> ToInt32() const; 121 util::StatusOr<uint32> ToUint32() const; 124 util::StatusOr<int64> ToInt64() const; 127 util::StatusOr<uint64> ToUint64() const; 130 util::StatusOr<double> ToDouble() const; 133 util::StatusOr<float> ToFloat() const; 136 util::StatusOr<bool> ToBool() const; 139 util::StatusOr<string> ToString() const; 145 util::StatusOr<string> ToBytes() const; [all …]
|
/frameworks/native/services/surfaceflinger/sysprop/api/ |
D | system-current.txt | 5 method public static java.util.Optional<java.lang.Long> default_composition_dataspace(); 6 method public static java.util.Optional<java.lang.Integer> default_composition_pixel_format(); 7 method public static java.util.List<java.lang.Double> display_primary_blue(); 8 method public static java.util.List<java.lang.Double> display_primary_green(); 9 method public static java.util.List<java.lang.Double> display_primary_red(); 10 method public static java.util.List<java.lang.Double> display_primary_white(); 11 method public static java.util.Optional<java.lang.Boolean> enable_protected_contents(); 12 … method public static java.util.Optional<java.lang.Boolean> force_hwc_copy_for_virtual_displays(); 13 method public static java.util.Optional<java.lang.Boolean> has_HDR_display(); 14 method public static java.util.Optional<java.lang.Boolean> has_wide_color_display(); [all …]
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/debug/ |
D | Log.java | 59 if (isLoggable(tag, android.util.Log.DEBUG)) { in d() 60 android.util.Log.d(tag.toString(), msg); in d() 65 if (isLoggable(tag, android.util.Log.DEBUG)) { in d() 66 android.util.Log.d(tag.toString(), msg, tr); in d() 71 if (isLoggable(tag, android.util.Log.ERROR)) { in e() 72 android.util.Log.e(tag.toString(), msg); in e() 77 if (isLoggable(tag, android.util.Log.ERROR)) { in e() 78 android.util.Log.e(tag.toString(), msg, tr); in e() 83 if (isLoggable(tag, android.util.Log.INFO)) { in i() 84 android.util.Log.i(tag.toString(), msg); in i() [all …]
|
/frameworks/base/tools/aapt2/ |
D | DominatorTree_test.cpp | 77 configs.push_back(util::make_unique<ResourceConfigValue>(default_config, "")); in TEST() 78 configs.push_back(util::make_unique<ResourceConfigValue>(land_config, "")); in TEST() 79 configs.push_back(util::make_unique<ResourceConfigValue>(sw600dp_land_config, "")); in TEST() 97 configs.push_back(util::make_unique<ResourceConfigValue>(default_config, "")); in TEST() 98 configs.push_back(util::make_unique<ResourceConfigValue>(land_config, "")); in TEST() 99 configs.push_back(util::make_unique<ResourceConfigValue>(default_config, "phablet")); in TEST() 100 configs.push_back(util::make_unique<ResourceConfigValue>(sw600dp_land_config, "phablet")); in TEST() 126 configs.push_back(util::make_unique<ResourceConfigValue>(default_config, "")); in TEST() 127 configs.push_back(util::make_unique<ResourceConfigValue>(en_config, "")); in TEST() 128 configs.push_back(util::make_unique<ResourceConfigValue>(en_v21_config, "")); in TEST() [all …]
|
D | StringPool_test.cpp | 209 std::unique_ptr<uint8_t[]> data = util::Copy(buffer); in TEST() 223 std::unique_ptr<uint8_t[]> data = util::Copy(buffer); in TEST() 267 std::unique_ptr<uint8_t[]> data = util::Copy(buffer); in TEST() 272 EXPECT_THAT(util::GetString(test, 1), Eq("hello")); in TEST() 273 EXPECT_THAT(util::GetString16(test, 1), Eq(u"hello")); in TEST() 275 EXPECT_THAT(util::GetString(test, 2), Eq("goodbye")); in TEST() 276 EXPECT_THAT(util::GetString16(test, 2), Eq(u"goodbye")); in TEST() 278 EXPECT_THAT(util::GetString(test, 3), Eq(sLongString)); in TEST() 279 EXPECT_THAT(util::GetString16(test, 3), Eq(util::Utf8ToUtf16(sLongString))); in TEST() 284 EXPECT_THAT(util::GetString(test, 0), Eq("style")); in TEST() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/cmake/ |
D | libprotobuf.cmake | 33 ${protobuf_source_dir}/src/google/protobuf/util/field_comparator.cc 34 ${protobuf_source_dir}/src/google/protobuf/util/field_mask_util.cc 35 ${protobuf_source_dir}/src/google/protobuf/util/internal/datapiece.cc 36 ${protobuf_source_dir}/src/google/protobuf/util/internal/default_value_objectwriter.cc 37 ${protobuf_source_dir}/src/google/protobuf/util/internal/error_listener.cc 38 ${protobuf_source_dir}/src/google/protobuf/util/internal/field_mask_utility.cc 39 ${protobuf_source_dir}/src/google/protobuf/util/internal/json_escaping.cc 40 ${protobuf_source_dir}/src/google/protobuf/util/internal/json_objectwriter.cc 41 ${protobuf_source_dir}/src/google/protobuf/util/internal/json_stream_parser.cc 42 ${protobuf_source_dir}/src/google/protobuf/util/internal/object_writer.cc [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/ |
D | json_util.cc | 49 namespace util { namespace 73 util::Status BinaryToJsonStream(TypeResolver* resolver, in BinaryToJsonStream() 94 util::Status BinaryToJsonString(TypeResolver* resolver, in BinaryToJsonString() 108 StatusErrorListener() : status_(util::Status::OK) {} in StatusErrorListener() 111 util::Status GetStatus() { return status_; } in GetStatus() 115 status_ = util::Status(util::error::INVALID_ARGUMENT, in InvalidName() 122 util::Status(util::error::INVALID_ARGUMENT, in InvalidValue() 129 status_ = util::Status( in MissingField() 130 util::error::INVALID_ARGUMENT, in MissingField() 135 util::Status status_; [all …]
|
D | json_util.h | 46 namespace util { 76 LIBPROTOBUF_EXPORT util::Status MessageToJsonString(const Message& message, 80 inline util::Status MessageToJsonString(const Message& message, in MessageToJsonString() 88 LIBPROTOBUF_EXPORT util::Status JsonStringToMessage(const string& input, 92 inline util::Status JsonStringToMessage(const string& input, in JsonStringToMessage() 103 LIBPROTOBUF_EXPORT util::Status BinaryToJsonStream( 110 inline util::Status BinaryToJsonStream( in BinaryToJsonStream() 118 LIBPROTOBUF_EXPORT util::Status BinaryToJsonString( 125 inline util::Status BinaryToJsonString(TypeResolver* resolver, in BinaryToJsonString() 138 LIBPROTOBUF_EXPORT util::Status JsonToBinaryStream( [all …]
|
D | message_differencer_unittest.cc | 80 void ExpectEqualsWithDifferencer(util::MessageDifferencer* differencer, in ExpectEqualsWithDifferencer() 83 differencer->set_scope(util::MessageDifferencer::FULL); in ExpectEqualsWithDifferencer() 86 differencer->set_scope(util::MessageDifferencer::PARTIAL); in ExpectEqualsWithDifferencer() 99 EXPECT_TRUE(util::MessageDifferencer::Equals(msg1, msg2)); in TEST() 113 EXPECT_FALSE(util::MessageDifferencer::Equals(msg1, msg2)); in TEST() 127 EXPECT_FALSE(util::MessageDifferencer::Equals(msg1, msg2)); in TEST() 141 EXPECT_TRUE(util::MessageDifferencer::Equals(msg1, msg2)); in TEST() 153 util::MessageDifferencer differencer; in TEST() 154 differencer.set_scope(util::MessageDifferencer::PARTIAL); in TEST() 169 util::MessageDifferencer differencer; in TEST() [all …]
|
/frameworks/base/config/ |
D | preloaded-classes | 2076 android.icu.util.AnnualTimeZoneRule 2077 android.icu.util.BasicTimeZone 2078 android.icu.util.BytesTrie$Result 2079 android.icu.util.BytesTrie 2080 android.icu.util.Calendar$1 2081 android.icu.util.Calendar$FormatConfiguration 2082 android.icu.util.Calendar$PatternData 2083 android.icu.util.Calendar$WeekData 2084 android.icu.util.Calendar$WeekDataCache 2085 android.icu.util.Calendar [all …]
|
/frameworks/base/telecomm/java/android/telecom/ |
D | Log.java | 30 import com.android.internal.util.IndentingPrintWriter; 32 import java.util.IllegalFormatException; 33 import java.util.Locale; 55 public static boolean DEBUG = isLoggable(android.util.Log.DEBUG); 56 public static boolean INFO = isLoggable(android.util.Log.INFO); 57 public static boolean VERBOSE = isLoggable(android.util.Log.VERBOSE); 58 public static boolean WARN = isLoggable(android.util.Log.WARN); 59 public static boolean ERROR = isLoggable(android.util.Log.ERROR); 86 android.util.Slog.i(TAG, buildMessage(prefix, format, args)); in d() 88 android.util.Slog.d(TAG, buildMessage(prefix, format, args)); in d() [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ConcurrentUtils.java | 17 package com.android.internal.util; 20 import android.util.Slog; 22 import java.util.concurrent.CountDownLatch; 23 import java.util.concurrent.ExecutionException; 24 import java.util.concurrent.ExecutorService; 25 import java.util.concurrent.Executors; 26 import java.util.concurrent.Future; 27 import java.util.concurrent.ThreadFactory; 28 import java.util.concurrent.TimeUnit; 29 import java.util.concurrent.atomic.AtomicInteger;
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/ |
D | DisplayRotationUtilTest.java | 102 DisplayRotationUtil util = new DisplayRotationUtil(); in testGetRotatedBounds_top_rot0() local 104 assertThat(util.getRotatedBounds(bounds, ROTATION_0, 200, 300), in testGetRotatedBounds_top_rot0() 110 DisplayRotationUtil util = new DisplayRotationUtil(); in testGetRotatedBounds_top_rot90() local 112 assertThat(util.getRotatedBounds(bounds, ROTATION_90, 200, 300), in testGetRotatedBounds_top_rot90() 118 DisplayRotationUtil util = new DisplayRotationUtil(); in testGetRotatedBounds_top_rot180() local 120 assertThat(util.getRotatedBounds(bounds, ROTATION_180, 200, 300), in testGetRotatedBounds_top_rot180() 126 DisplayRotationUtil util = new DisplayRotationUtil(); in testGetRotatedBounds_top_rot270() local 128 assertThat(util.getRotatedBounds(bounds, ROTATION_270, 200, 300), in testGetRotatedBounds_top_rot270() 134 DisplayRotationUtil util = new DisplayRotationUtil(); in testGetRotatedBounds_left_rot0() local 136 assertThat(util.getRotatedBounds(bounds, ROTATION_0, 300, 200), in testGetRotatedBounds_left_rot0() [all …]
|
/frameworks/av/media/libstagefright/xmlparser/api/ |
D | current.txt | 12 method public java.util.List<media.codecs.MediaCodec> getMediaCodec(); 17 method public java.util.List<media.codecs.MediaCodec> getMediaCodec(); 40 method public java.util.List<media.codecs.Decoders> getDecoders_optional(); 41 method public java.util.List<media.codecs.Encoders> getEncoders_optional(); 42 method public java.util.List<media.codecs.Include> getInclude_optional(); 43 method public java.util.List<media.codecs.Settings> getSettings_optional(); 70 method public java.util.List<media.codecs.Alias> getAlias_optional(); 71 method public java.util.List<media.codecs.Quirk> getAttribute_optional(); 74 method public java.util.List<media.codecs.Feature> getFeature_optional(); 75 method public java.util.List<media.codecs.Limit> getLimit_optional(); [all …]
|
/frameworks/base/cmds/statsd/tests/e2e/ |
D | Attribution_e2e_test.cpp | 51 android::util::WAKELOCK_STATE_CHANGED, {position}); in CreateStatsdConfig() 165 data.dimensions_in_what(), android::util::WAKELOCK_STATE_CHANGED, 111, in TEST() 177 data.dimensions_in_what(), android::util::WAKELOCK_STATE_CHANGED, 222, in TEST() 189 data.dimensions_in_what(), android::util::WAKELOCK_STATE_CHANGED, 222, in TEST() 198 data.dimensions_in_what(), android::util::WAKELOCK_STATE_CHANGED, 444, in TEST() 313 data.dimensions_in_what(), android::util::WAKELOCK_STATE_CHANGED, 222, "GMSCoreModule1"); in TEST() 328 data.dimensions_in_what(), 0, android::util::WAKELOCK_STATE_CHANGED, 222); in TEST() 330 data.dimensions_in_what(), 0, android::util::WAKELOCK_STATE_CHANGED, 222, "GMSCoreModule1"); in TEST() 332 data.dimensions_in_what(), 1, android::util::WAKELOCK_STATE_CHANGED, 333); in TEST() 334 data.dimensions_in_what(), 1, android::util::WAKELOCK_STATE_CHANGED, 333, "App3"); in TEST() [all …]
|
/frameworks/base/tools/aapt2/format/binary/ |
D | BinaryResourceParser.cpp | 53 dst[i] = util::DeviceToHost16(src[i]); in strcpy16_dtoh() 137 switch (util::DeviceToHost16(parser.chunk()->type)) { in ParseTable() 141 value_pool_.setTo(parser.chunk(), util::DeviceToHost32(parser.chunk()->size)); in ParseTable() 164 << static_cast<int>(util::DeviceToHost16(parser.chunk()->type))); in ParseTable() 185 uint32_t package_id = util::DeviceToHost32(package_header->id); in ParsePackage() 196 table_->CreatePackage(util::Utf16ToUtf8(package_name), static_cast<uint8_t>(package_id)); in ParsePackage() 211 switch (util::DeviceToHost16(parser.chunk()->type)) { in ParsePackage() 215 type_pool_.setTo(parser.chunk(), util::DeviceToHost32(parser.chunk()->size)); in ParsePackage() 223 key_pool_.setTo(parser.chunk(), util::DeviceToHost32(parser.chunk()->size)); in ParsePackage() 261 << static_cast<int>(util::DeviceToHost16(parser.chunk()->type))); in ParsePackage() [all …]
|
/frameworks/base/telephony/java/android/telephony/mbms/ |
D | ServiceInfo.java | 25 import java.util.ArrayList; 26 import java.util.Collections; 27 import java.util.Date; 28 import java.util.HashMap; 29 import java.util.List; 30 import java.util.Locale; 31 import java.util.Map; 32 import java.util.NoSuchElementException; 33 import java.util.Objects; 34 import java.util.Set; [all …]
|
/frameworks/base/core/java/android/util/apk/ |
D | ApkSignatureSchemeV2Verifier.java | 17 package android.util.apk; 19 import static android.util.apk.ApkSigningBlockUtils.CONTENT_DIGEST_VERITY_CHUNKED_SHA256; 20 import static android.util.apk.ApkSigningBlockUtils.SIGNATURE_DSA_WITH_SHA256; 21 import static android.util.apk.ApkSigningBlockUtils.SIGNATURE_ECDSA_WITH_SHA256; 22 import static android.util.apk.ApkSigningBlockUtils.SIGNATURE_ECDSA_WITH_SHA512; 23 import static android.util.apk.ApkSigningBlockUtils.SIGNATURE_RSA_PKCS1_V1_5_WITH_SHA256; 24 import static android.util.apk.ApkSigningBlockUtils.SIGNATURE_RSA_PKCS1_V1_5_WITH_SHA512; 25 import static android.util.apk.ApkSigningBlockUtils.SIGNATURE_RSA_PSS_WITH_SHA256; 26 import static android.util.apk.ApkSigningBlockUtils.SIGNATURE_RSA_PSS_WITH_SHA512; 27 import static android.util.apk.ApkSigningBlockUtils.SIGNATURE_VERITY_DSA_WITH_SHA256; [all …]
|