Home
last modified time | relevance | path

Searched refs:util (Results 1 – 25 of 219) sorted by relevance

123456789

/system/chre/util/
Dutil.mk12 COMMON_SRCS += util/buffer_base.cc
13 COMMON_SRCS += util/dynamic_vector_base.cc
14 COMMON_SRCS += util/nanoapp/audio.cc
15 COMMON_SRCS += util/nanoapp/callbacks.cc
16 COMMON_SRCS += util/nanoapp/debug.cc
17 COMMON_SRCS += util/nanoapp/wifi.cc
18 COMMON_SRCS += util/system/debug_dump.cc
22 GOOGLETEST_SRCS += util/tests/array_queue_test.cc
23 GOOGLETEST_SRCS += util/tests/blocking_queue_test.cc
24 GOOGLETEST_SRCS += util/tests/buffer_test.cc
[all …]
/system/tools/aidl/tests/golden_output/aidl-test-interface-java-source/gen/android/aidl/tests/
DStructuredParcelable.java284 java.util.StringJoiner _aidl_sj = new java.util.StringJoiner(", ", "{", "}"); in toString()
285 _aidl_sj.add("shouldContainThreeFs: " + (java.util.Arrays.toString(shouldContainThreeFs))); in toString()
287 _aidl_sj.add("shouldBeJerry: " + (java.util.Objects.toString(shouldBeJerry))); in toString()
291 …_aidl_sj.add("shouldContainTwoByteFoos: " + (java.util.Arrays.toString(shouldContainTwoByteFoos))); in toString()
292 … _aidl_sj.add("shouldContainTwoIntFoos: " + (java.util.Arrays.toString(shouldContainTwoIntFoos))); in toString()
293 …_aidl_sj.add("shouldContainTwoLongFoos: " + (java.util.Arrays.toString(shouldContainTwoLongFoos))); in toString()
294 _aidl_sj.add("stringDefaultsToFoo: " + (java.util.Objects.toString(stringDefaultsToFoo))); in toString()
302 _aidl_sj.add("arrayDefaultsTo123: " + (java.util.Arrays.toString(arrayDefaultsTo123))); in toString()
303 _aidl_sj.add("arrayDefaultsToEmpty: " + (java.util.Arrays.toString(arrayDefaultsToEmpty))); in toString()
311 _aidl_sj.add("checkStringArray1: " + (java.util.Arrays.toString(checkStringArray1))); in toString()
[all …]
DParcelableForToString.java21 public java.util.List<java.lang.String> stringList;
27 public java.util.List<java.lang.String> nullList;
168 java.util.StringJoiner _aidl_sj = new java.util.StringJoiner(", ", "{", "}"); in toString()
170 _aidl_sj.add("intArray: " + (java.util.Arrays.toString(intArray))); in toString()
172 _aidl_sj.add("longArray: " + (java.util.Arrays.toString(longArray))); in toString()
174 _aidl_sj.add("doubleArray: " + (java.util.Arrays.toString(doubleArray))); in toString()
176 _aidl_sj.add("floatArray: " + (java.util.Arrays.toString(floatArray))); in toString()
178 _aidl_sj.add("byteArray: " + (java.util.Arrays.toString(byteArray))); in toString()
180 _aidl_sj.add("booleanArray: " + (java.util.Arrays.toString(booleanArray))); in toString()
181 _aidl_sj.add("stringValue: " + (java.util.Objects.toString(stringValue))); in toString()
[all …]
DUnion.java115 public static Union ss(java.util.List<java.lang.String> _value) { in ss()
120 public java.util.List<java.lang.String> getSs() { in getSs()
122 return (java.util.List<java.lang.String>) _value; in getSs()
125 public void setSs(java.util.List<java.lang.String> _value) { in setSs()
213 java.util.List<java.lang.String> _aidl_value; in readFromParcel()
238 case ns: return "android.aidl.tests.Union.ns(" + (java.util.Arrays.toString(getNs())) + ")"; in toString()
241 case s: return "android.aidl.tests.Union.s(" + (java.util.Objects.toString(getS())) + ")"; in toString()
242 …case ibinder: return "android.aidl.tests.Union.ibinder(" + (java.util.Objects.toString(getIbinder(… in toString()
243 case ss: return "android.aidl.tests.Union.ss(" + (java.util.Objects.toString(getSs())) + ")"; in toString()
255 if (!java.util.Objects.deepEquals(_value, that._value)) return false; in equals()
[all …]
/system/bt/gd/os/android/
Dmetrics.cc38 static const android::util::BytesField byteField(nullptr, 0);
54 int ret = android::util::stats_write( in LogMetricLinkLayerConnectionEvent()
55 android::util::BLUETOOTH_LINK_LAYER_CONNECTION_EVENT, in LogMetricLinkLayerConnectionEvent()
83 …int ret = android::util::stats_write(android::util::BLUETOOTH_HCI_TIMEOUT_REPORTED, static_cast<in… in LogMetricHciTimeoutEvent()
91 int ret = android::util::stats_write( in LogMetricRemoteVersionInfo()
92 …android::util::BLUETOOTH_REMOTE_VERSION_INFO_REPORTED, handle, status, version, manufacturer_name,… in LogMetricRemoteVersionInfo()
112 int ret = android::util::stats_write( in LogMetricA2dpAudioUnderrunEvent()
113 android::util::BLUETOOTH_A2DP_AUDIO_UNDERRUN_REPORTED, in LogMetricA2dpAudioUnderrunEvent()
140 int ret = android::util::stats_write( in LogMetricA2dpAudioOverrunEvent()
141 android::util::BLUETOOTH_A2DP_AUDIO_OVERRUN_REPORTED, in LogMetricA2dpAudioOverrunEvent()
[all …]
/system/core/bootstat/
Dbootstat.cpp65 {android::util::BOOT_TIME_EVENT_ELAPSED_TIME_REPORTED,
66 android::util::BOOT_TIME_EVENT_ELAPSED_TIME__EVENT__ANDROID_INIT_STAGE_1}},
68 {android::util::BOOT_TIME_EVENT_ELAPSED_TIME_REPORTED,
69 android::util::BOOT_TIME_EVENT_ELAPSED_TIME__EVENT__BOOT_COMPLETE}},
71 {android::util::BOOT_TIME_EVENT_ELAPSED_TIME_REPORTED,
72 android::util::BOOT_TIME_EVENT_ELAPSED_TIME__EVENT__BOOT_COMPLETE_ENCRYPTION}},
74 {android::util::BOOT_TIME_EVENT_ELAPSED_TIME_REPORTED,
75 android::util::BOOT_TIME_EVENT_ELAPSED_TIME__EVENT__BOOT_COMPLETE_NO_ENCRYPTION}},
77 {android::util::BOOT_TIME_EVENT_ELAPSED_TIME_REPORTED,
78 android::util::BOOT_TIME_EVENT_ELAPSED_TIME__EVENT__BOOT_COMPLETE_POST_DECRYPT}},
[all …]
/system/timezone/apex/tests/src/java/android/tzdata/mts/
DTimeZoneRulesTest.java27 import java.util.ArrayList;
28 import java.util.Arrays;
29 import java.util.Collection;
30 import java.util.Date;
31 import java.util.List;
32 import java.util.Locale;
33 import java.util.Set;
34 import java.util.TimeZone;
35 import java.util.concurrent.TimeUnit;
232 java.util.TimeZone timeZone = java.util.TimeZone.getTimeZone(timeZoneId); in dstMeansSummer()
[all …]
/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/
DUtils.java22 import java.util.Collection;
23 import java.util.HashSet;
24 import java.util.List;
25 import java.util.Set;
26 import java.util.TimeZone;
27 import java.util.concurrent.TimeUnit;
28 import java.util.function.Predicate;
29 import java.util.regex.Matcher;
30 import java.util.regex.Pattern;
31 import java.util.stream.Collectors;
DBackwardFile.java23 import java.util.Collections;
24 import java.util.HashMap;
25 import java.util.HashSet;
26 import java.util.LinkedList;
27 import java.util.List;
28 import java.util.Map;
29 import java.util.Set;
30 import java.util.stream.Collectors;
DZoneTabFile.java23 import java.util.ArrayList;
24 import java.util.Collections;
25 import java.util.HashMap;
26 import java.util.List;
27 import java.util.Map;
28 import java.util.function.Function;
29 import java.util.stream.Collectors;
/system/core/init/
Dutil_test.cpp32 TEST(util, ReadFile_ENOENT) { in TEST() argument
40 TEST(util, ReadFileGroupWriteable) { in TEST() argument
51 TEST(util, ReadFileWorldWiteable) { in TEST() argument
62 TEST(util, ReadFileSymbolicLink) { in TEST() argument
72 TEST(util, ReadFileSuccess) { in TEST() argument
81 TEST(util, WriteFileBinary) { in TEST() argument
98 TEST(util, WriteFileNotExist) { in TEST() argument
115 TEST(util, WriteFileExist) { in TEST() argument
128 TEST(util, DecodeUid) { in TEST() argument
142 TEST(util, is_dir) { in TEST() argument
[all …]
/system/timezone/input_tools/android/telephonylookup_generator/src/main/java/com/android/libcore/timezone/telephonylookup/
DTelephonyLookupGenerator.java21 import com.android.libcore.timezone.util.Errors;
22 import com.android.libcore.timezone.util.Errors.HaltExecutionException;
24 import com.ibm.icu.util.ULocale;
28 import java.util.ArrayList;
29 import java.util.Arrays;
30 import java.util.HashSet;
31 import java.util.List;
32 import java.util.Locale;
33 import java.util.Set;
34 import java.util.stream.Collectors;
/system/libvintf/xsd/compatibilityMatrix/api/
Dcurrent.txt13 method public java.util.List<compatibility.matrix.Hal> getHal();
14 method public java.util.List<compatibility.matrix.Kernel> getKernel();
22 method public java.util.List<compatibility.matrix.Xmlfile> getXmlfile();
52 method public java.util.List<java.lang.String> getFqname();
55 method public java.util.List<java.lang.String> getVersion();
56 method public java.util.List<compatibility.matrix.Interface> get_interface();
64 method public java.util.List<java.lang.String> getInstance();
66 method public java.util.List<java.lang.String> getRegexInstance();
73 method public java.util.List<compatibility.matrix.Config> getConfig();
83 method public java.util.List<compatibility.matrix.Config> getConfig();
[all …]
/system/bt/common/
Dmetrics.cc586 android::util::BytesField bytes_field( in LogLinkLayerConnectionEvent()
589 int ret = android::util::stats_write( in LogLinkLayerConnectionEvent()
590 android::util::BLUETOOTH_LINK_LAYER_CONNECTION_EVENT, bytes_field, in LogLinkLayerConnectionEvent()
605 android::util::stats_write(android::util::BLUETOOTH_HCI_TIMEOUT_REPORTED, in LogHciTimeoutEvent()
615 int ret = android::util::stats_write( in LogRemoteVersionInfo()
616 android::util::BLUETOOTH_REMOTE_VERSION_INFO_REPORTED, handle, status, in LogRemoteVersionInfo()
636 android::util::BytesField bytes_field( in LogA2dpAudioUnderrunEvent()
640 int ret = android::util::stats_write( in LogA2dpAudioUnderrunEvent()
641 android::util::BLUETOOTH_A2DP_AUDIO_UNDERRUN_REPORTED, bytes_field, in LogA2dpAudioUnderrunEvent()
663 android::util::BytesField bytes_field( in LogA2dpAudioOverrunEvent()
[all …]
/system/chre/apps/power_test/common/
Dpower_test.mk26 COMMON_CFLAGS += -I$(CHRE_PREFIX)/util/include
39 COMMON_SRCS += $(CHRE_PREFIX)/util/dynamic_vector_base.cc
40 COMMON_SRCS += $(CHRE_PREFIX)/util/nanoapp/audio.cc
41 COMMON_SRCS += $(CHRE_PREFIX)/util/nanoapp/callbacks.cc
/system/tools/xsdc/tests/resources/predefined_types/api/
Dcurrent.txt34 method public java.util.List<java.lang.Boolean> getListBoolean();
35 method public java.util.List<java.lang.Byte> getListByte();
36 method public java.util.List<java.lang.Double> getListDouble();
37 method public java.util.List<java.lang.Float> getListFloat();
38 method public java.util.List<java.lang.Integer> getListInt();
39 method public java.util.List<java.lang.Long> getListLong();
40 method public java.util.List<java.lang.Short> getListShort();
41 method public void setListBoolean(java.util.List<java.lang.Boolean>);
42 method public void setListByte(java.util.List<java.lang.Byte>);
43 method public void setListDouble(java.util.List<java.lang.Double>);
[all …]
/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/zonetree/
DUniqueZonesVisualizer.java25 import java.util.Collections;
26 import java.util.Map;
27 import java.util.Set;
28 import java.util.function.Function;
29 import java.util.stream.Collectors;
31 import static java.util.stream.Collectors.toSet;
/system/libvintf/xsd/halManifest/api/
Dcurrent.txt7 method public java.util.List<java.lang.String> getFqname();
12 method public java.util.List<java.lang.String> getVersion();
13 method public java.util.List<hal.manifest.Interface> get_interface();
31 method public java.util.List<java.lang.String> getInstance();
38 method public java.util.List<hal.manifest.Kernel.Config> getConfig();
55 method public java.util.List<hal.manifest.Hal> getHal();
61 method public java.util.List<hal.manifest.VendorNdk> getVendorNdk();
63 method public java.util.List<hal.manifest.Vndk> getVndk();
80 method public java.util.List<java.lang.String> getVersion();
85 method public java.util.List<java.lang.String> getLibrary();
[all …]
/system/apex/tests/src/com/android/tests/apex/
DMediaSwCodecHostTest.java25 import com.android.tradefed.util.CommandResult;
29 import java.util.Scanner;
30 import java.util.regex.Matcher;
31 import java.util.regex.Pattern;
DMediaHostTest.java24 import com.android.tradefed.util.CommandResult;
28 import java.util.Scanner;
29 import java.util.regex.Matcher;
30 import java.util.regex.Pattern;
/system/tools/aidl/tests/
Daidl_parser_fuzzer.dict35 " java.util.List "
36 " java.util.List< "
37 " java.util.Map "
38 " java.util.Map< "
/system/tools/xsdc/tests/resources/simple_type/api/
Dcurrent.txt13 method public java.util.List<java.lang.String> getExample1_optional();
14 method public java.util.List<java.lang.String> getExample2_optional();
15 method public java.util.List<java.lang.String> getExample3_optional();
20 method public java.util.List<java.lang.Integer> getListInt();
21 method public java.util.List<java.lang.String> getUnionTest();
22 method public java.util.List<simple.type.EnumType> getYesOrNo();
29 method public void setListInt(java.util.List<java.lang.Integer>);
30 method public void setUnionTest(java.util.List<java.lang.String>);
/system/bt/gd/packet/parser/
Dpacket_def.cc249 << util::GetTypeForSize(started_field->GetSize().bits()) << ">()) { return false; }"; in GenValidator()
297 s << "if (Get" << util::UnderscoreToCamelCase(constraint.first) << "() != "; in GenValidator()
575 param_type = util::StringFindAndReplaceAll(param_type, "unique_ptr", "shared_ptr"); in GenBuilderCreatePybind11()
580 s << util::StringJoin(",", constructor_args) << "){"; in GenBuilderCreatePybind11()
597 struct_type = util::StringFindAndReplaceAll(struct_type, "std::unique_ptr<", ""); in GenBuilderCreatePybind11()
598 struct_type = util::StringFindAndReplaceAll(struct_type, ">", ""); in GenBuilderCreatePybind11()
644 s << util::StringJoin(",", builder_vars) << ");}"; in GenBuilderCreatePybind11()
827 s << util::CamelCaseToUnderScore(def->name_) << ": Arc<" << def->name_ << "Data>,"; in GenRustStructDeclarations()
960 + util::UnderscoreToCamelCase(util::ToLowerCase(variant_name)); in GenRustStructImpls()
1063 auto complement_root_accessor = util::CamelCaseToUnderScore(complement_root->name_); in GenRustAccessStructImpls()
[all …]
Denum_def.cc28 if (!util::IsEnumCase(name)) { in AddEntry()
31 if (value > util::GetMaxValueForBits(size_)) { in AddEntry()
33 << name_ << "(" << util::GetMaxValueForBits(size_) << ")\n"; in AddEntry()
/system/bt/gd/packet/parser/fields/
Dscalar_field.cc40 return util::GetTypeForSize(size_); in GetDataType()
74 std::string extract_type = util::GetTypeForSize(size.bits() + num_leading_bits); in GenExtractor()
82 if (util::RoundSizeUp(size.bits()) != size.bits()) { in GenExtractor()
95 ss << "Get" << util::UnderscoreToCamelCase(GetName()); in GetGetterFunctionName()
116 return util::RoundSizeUp(GetSize().bits()) != GetSize().bits(); in HasParameterValidator()
140 return util::GetRustTypeForSize(size_); in GetRustDataType()
144 return util::GetRustTypeForSize(size_); in GetRustParseDataType()
197 if (util::RoundSizeUp(size.bits()) != size.bits()) { in GenRustGetter()
226 if (util::RoundSizeUp(size.bits()) != size.bits()) { in GenRustWriter()

123456789