Home
last modified time | relevance | path

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

12345678910>>...155

/frameworks/base/tools/aapt2/util/
DUtil_test.cpp29 StringPiece16 trimmed = util::trimWhitespace(full); in TEST()
35 EXPECT_TRUE(util::stringEndsWith<char>("hello.xml", ".xml")); in TEST()
39 EXPECT_TRUE(util::stringStartsWith<char>("hello.xml", "he")); in TEST()
44 util::StringBuilder().append(u"this is a new\\") in TEST()
51 util::StringBuilder().append(u" hey guys ") in TEST()
56 util::StringBuilder().append(u" \" wow, so many \t ") in TEST()
61 util::StringBuilder().append(u" where \t ") in TEST()
68 util::StringBuilder().append(u" hey guys\\n ") in TEST()
73 util::StringBuilder().append(u"\\@\\?\\#\\\\\\'") in TEST()
78 util::StringBuilder builder{}; in TEST()
[all …]
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/debug/
DLog.java59 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/
Dpreloaded-classes79 [Landroid.icu.util.BytesTrie$Result;
80 [Landroid.icu.util.Calendar$CalType;
81 [Landroid.icu.util.Currency$CurrencyUsage;
82 [Landroid.icu.util.ULocale$Category;
83 [Landroid.icu.util.ULocale;
123 [Landroid.util.LongSparseArray;
124 [Landroid.util.Range;
125 [Landroid.util.Rational;
198 [Ljava.util.ArrayList;
199 [Ljava.util.Comparators$NaturalOrderComparator;
[all …]
Dcompiled-classes-phone2152 android.icu.util.BasicTimeZone
2153 android.icu.util.ByteArrayWrapper
2154 android.icu.util.BytesTrie
2155 android.icu.util.BytesTrie$Result
2156 android.icu.util.Calendar
2157 android.icu.util.Calendar$CalType
2158 android.icu.util.Calendar$FormatConfiguration
2159 android.icu.util.Calendar$PatternData
2160 android.icu.util.Calendar$WeekData
2161 android.icu.util.Calendar$WeekDataCache
[all …]
/frameworks/base/tools/aapt2/unflatten/
DBinaryResourceParser.cpp115 switch (util::deviceToHost16(parser.getChunk()->type)) { in parseTable()
119 util::deviceToHost32(parser.getChunk()->size)); in parseTable()
145 << (int) util::deviceToHost16(parser.getChunk()->type)); in parseTable()
167 uint32_t packageId = util::deviceToHost32(packageHeader->id); in parsePackage()
179 packageName[i] = util::deviceToHost16(packageHeader->name[i]); in parsePackage()
198 switch (util::deviceToHost16(parser.getChunk()->type)) { in parsePackage()
202 util::deviceToHost32(parser.getChunk()->size)); in parsePackage()
212 util::deviceToHost32(parser.getChunk()->size)); in parsePackage()
241 << (int) util::deviceToHost16(parser.getChunk()->type)); in parsePackage()
312 StringPiece16 typeStr16 = util::getString(mTypePool, type->id - 1); in parseType()
[all …]
/frameworks/base/telecomm/java/android/telecom/
DLog.java26 import java.util.IllegalFormatException;
27 import java.util.Locale;
40 public static final boolean DEBUG = isLoggable(android.util.Log.DEBUG);
41 public static final boolean INFO = isLoggable(android.util.Log.INFO);
42 public static final boolean VERBOSE = isLoggable(android.util.Log.VERBOSE);
43 public static final boolean WARN = isLoggable(android.util.Log.WARN);
44 public static final boolean ERROR = isLoggable(android.util.Log.ERROR);
70 return FORCE_LOGGING || android.util.Log.isLoggable(TAG, level); in isLoggable()
75 android.util.Log.d(TAG, buildMessage(prefix, format, args)); in d()
81 android.util.Log.d(TAG, buildMessage(getPrefixFromObject(objectPrefix), format, args)); in d()
[all …]
/frameworks/base/core/java/android/hardware/camera2/
DCameraCharacteristics.java25 import android.util.Rational;
27 import java.util.Collections;
28 import java.util.List;
432 public static final Key<android.util.Range<Integer>[]> CONTROL_AE_AVAILABLE_TARGET_FPS_RANGES =
433 …new Key<android.util.Range<Integer>[]>("android.control.aeAvailableTargetFpsRanges", new TypeRefer…
452 public static final Key<android.util.Range<Integer>> CONTROL_AE_COMPENSATION_RANGE =
453 …new Key<android.util.Range<Integer>>("android.control.aeCompensationRange", new TypeReference<andr…
762 public static final Key<android.util.Range<Integer>> CONTROL_POST_RAW_SENSITIVITY_BOOST_RANGE =
763 …new Key<android.util.Range<Integer>>("android.control.postRawSensitivityBoostRange", new TypeRefer…
834 public static final Key<android.util.Size[]> JPEG_AVAILABLE_THUMBNAIL_SIZES =
[all …]
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
DUT_alloc_copyPadded.java22 import java.util.Random;
102 … android.util.Log.v("Alloc Padding Test", "" + i + " " + inArray[i] + " " + outArray[i]); in testAllocation_Byte3_1D()
107 android.util.Log.v("Alloc Padding Test", "Byte1D TEST PASSED"); in testAllocation_Byte3_1D()
134 … android.util.Log.v("Alloc Padding Test", "" + i + " " + inArray[i] + " " + outArray[i]); in testAllocation_Byte3_2D()
139 android.util.Log.v("Alloc Padding Test", "Byte2D TEST PASSED"); in testAllocation_Byte3_2D()
167 … android.util.Log.v("Alloc Padding Test", "" + i + " " + inArray[i] + " " + outArray[i]); in testAllocation_Byte3_3D()
172 android.util.Log.v("Alloc Padding Test", "Byte3D TEST PASSED"); in testAllocation_Byte3_3D()
201 … android.util.Log.v("Alloc Padding Test", "" + i + " " + inArray[i] + " " + outArray[i]); in testAllocation_Short3_1D()
206 android.util.Log.v("Alloc Padding Test", "Short1D TEST PASSED"); in testAllocation_Short3_1D()
236 … android.util.Log.v("Alloc Padding Test", "" + i + " " + inArray[i] + " " + outArray[i]); in testAllocation_Short3_2D()
[all …]
DUT_alloc_copy.java22 import java.util.Random;
78 …android.util.Log.v("Allocation CopyTo Test", "Failed: " + i + " " + inArray[i] + " " + outArray[i]… in allocation_copy1DRangeTo_Byte()
85 …android.util.Log.v("Allocation CopyTo Test", "Failed: " + i + " " + inArray[i] + " " + outArray[i]… in allocation_copy1DRangeTo_Byte()
90 android.util.Log.v("Allocation CopyTo Test", "copy1DRangeTo_Byte TEST PASSED"); in allocation_copy1DRangeTo_Byte()
120 …android.util.Log.v("Allocation CopyTo Test", "Failed: " + i + " " + inArray[i] + " " + outArray[i]… in allocation_copy1DRangeTo_Short()
127 …android.util.Log.v("Allocation CopyTo Test", "Failed: " + i + " " + inArray[i] + " " + outArray[i]… in allocation_copy1DRangeTo_Short()
132 android.util.Log.v("Allocation CopyTo Test", "copy1DRangeTo_Short TEST PASSED"); in allocation_copy1DRangeTo_Short()
162 …android.util.Log.v("Allocation CopyTo Test", "Failed: " + i + " " + inArray[i] + " " + outArray[i]… in allocation_copy1DRangeTo_Int()
169 …android.util.Log.v("Allocation CopyTo Test", "Failed: " + i + " " + inArray[i] + " " + outArray[i]… in allocation_copy1DRangeTo_Int()
174 android.util.Log.v("Allocation CopyTo Test", "copy1DRangeTo_Int TEST PASSED"); in allocation_copy1DRangeTo_Int()
[all …]
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/
DUT_alloc_copyPadded.java22 import java.util.Random;
102 … android.util.Log.v("Alloc Padding Test", "" + i + " " + inArray[i] + " " + outArray[i]); in testAllocation_Byte3_1D()
107 android.util.Log.v("Alloc Padding Test", "Byte1D TEST PASSED"); in testAllocation_Byte3_1D()
134 … android.util.Log.v("Alloc Padding Test", "" + i + " " + inArray[i] + " " + outArray[i]); in testAllocation_Byte3_2D()
139 android.util.Log.v("Alloc Padding Test", "Byte2D TEST PASSED"); in testAllocation_Byte3_2D()
167 … android.util.Log.v("Alloc Padding Test", "" + i + " " + inArray[i] + " " + outArray[i]); in testAllocation_Byte3_3D()
172 android.util.Log.v("Alloc Padding Test", "Byte3D TEST PASSED"); in testAllocation_Byte3_3D()
201 … android.util.Log.v("Alloc Padding Test", "" + i + " " + inArray[i] + " " + outArray[i]); in testAllocation_Short3_1D()
206 android.util.Log.v("Alloc Padding Test", "Short1D TEST PASSED"); in testAllocation_Short3_1D()
236 … android.util.Log.v("Alloc Padding Test", "" + i + " " + inArray[i] + " " + outArray[i]); in testAllocation_Short3_2D()
[all …]
DUT_alloc_copy.java22 import java.util.Random;
78 …android.util.Log.v("Allocation CopyTo Test", "Failed: " + i + " " + inArray[i] + " " + outArray[i]… in allocation_copy1DRangeTo_Byte()
85 …android.util.Log.v("Allocation CopyTo Test", "Failed: " + i + " " + inArray[i] + " " + outArray[i]… in allocation_copy1DRangeTo_Byte()
90 android.util.Log.v("Allocation CopyTo Test", "copy1DRangeTo_Byte TEST PASSED"); in allocation_copy1DRangeTo_Byte()
120 …android.util.Log.v("Allocation CopyTo Test", "Failed: " + i + " " + inArray[i] + " " + outArray[i]… in allocation_copy1DRangeTo_Short()
127 …android.util.Log.v("Allocation CopyTo Test", "Failed: " + i + " " + inArray[i] + " " + outArray[i]… in allocation_copy1DRangeTo_Short()
132 android.util.Log.v("Allocation CopyTo Test", "copy1DRangeTo_Short TEST PASSED"); in allocation_copy1DRangeTo_Short()
162 …android.util.Log.v("Allocation CopyTo Test", "Failed: " + i + " " + inArray[i] + " " + outArray[i]… in allocation_copy1DRangeTo_Int()
169 …android.util.Log.v("Allocation CopyTo Test", "Failed: " + i + " " + inArray[i] + " " + outArray[i]… in allocation_copy1DRangeTo_Int()
174 android.util.Log.v("Allocation CopyTo Test", "copy1DRangeTo_Int TEST PASSED"); in allocation_copy1DRangeTo_Int()
[all …]
/frameworks/base/tools/aapt2/flatten/
DXmlFlattener.cpp66 dest->index = util::deviceToHost32(-1); in addString()
78 flatNode->lineNumber = util::hostToDevice32(node->lineNumber); in writeNamespace()
79 flatNode->comment.index = util::hostToDevice32(-1); in writeNamespace()
95 if (util::trimWhitespace(node->text).empty()) { in visit()
102 flatNode->lineNumber = util::hostToDevice32(node->lineNumber); in visit()
103 flatNode->comment.index = util::hostToDevice32(-1); in visit()
116 flatNode->lineNumber = util::hostToDevice32(node->lineNumber); in visit()
117 flatNode->comment.index = util::hostToDevice32(-1); in visit()
122 flatElem->attributeStart = util::hostToDevice16(sizeof(*flatElem)); in visit()
123 flatElem->attributeSize = util::hostToDevice16(sizeof(ResXMLTree_attribute)); in visit()
[all …]
/frameworks/base/core/java/android/os/
DAsyncTask.java22 import java.util.ArrayDeque;
23 import java.util.concurrent.BlockingQueue;
24 import java.util.concurrent.Callable;
25 import java.util.concurrent.CancellationException;
26 import java.util.concurrent.Executor;
27 import java.util.concurrent.ExecutionException;
28 import java.util.concurrent.FutureTask;
29 import java.util.concurrent.LinkedBlockingQueue;
30 import java.util.concurrent.ThreadFactory;
31 import java.util.concurrent.ThreadPoolExecutor;
[all …]
/frameworks/support/compat/java/android/support/v4/content/
DModernAsyncTask.java28 import java.util.concurrent.BlockingQueue;
29 import java.util.concurrent.Callable;
30 import java.util.concurrent.CancellationException;
31 import java.util.concurrent.ExecutionException;
32 import java.util.concurrent.Executor;
33 import java.util.concurrent.FutureTask;
34 import java.util.concurrent.LinkedBlockingQueue;
35 import java.util.concurrent.ThreadFactory;
36 import java.util.concurrent.ThreadPoolExecutor;
37 import java.util.concurrent.TimeUnit;
[all …]
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/services/
DTestScheduledExecutorService.java22 import java.util.ArrayList;
23 import java.util.Collection;
24 import java.util.List;
25 import java.util.concurrent.Callable;
26 import java.util.concurrent.Delayed;
27 import java.util.concurrent.ExecutionException;
28 import java.util.concurrent.Future;
29 import java.util.concurrent.ScheduledExecutorService;
30 import java.util.concurrent.ScheduledFuture;
31 import java.util.concurrent.TimeUnit;
[all …]
/frameworks/base/tools/aapt2/proto/
DTableProtoDeserializer.cpp74 util::utf8ToUtf16(pbPackage.package_name()), id); in deserializeFromPb()
76 const ResourceType* resType = parseResourceType(util::utf8ToUtf16(pbType.name())); in deserializeFromPb()
85 ResourceEntry* entry = type->findOrCreateEntry(util::utf8ToUtf16(pbEntry.name())); in deserializeFromPb()
96 entry->symbolStatus.comment = util::utf8ToUtf16(pbStatus.comment()); in deserializeFromPb()
164 std::unique_ptr<Reference> ref = util::make_unique<Reference>(); in deserializeItemFromPb()
175 return util::make_unique<BinaryPrimitive>(prim); in deserializeItemFromPb()
178 return util::make_unique<Id>(); in deserializeItemFromPb()
182 StringPiece16 str = util::getString(*mValuePool, idx); in deserializeItemFromPb()
189 util::getString(*mValuePool, spans->name.index).toString(), in deserializeItemFromPb()
195 return util::make_unique<StyledString>( in deserializeItemFromPb()
[all …]
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
DFeatureAssembly.java20 import android.util.Log;
21 import android.util.Pair;
23 import java.util.HashMap;
24 import java.util.Map;
25 import java.util.List;
26 import java.util.Arrays;
27 import java.util.HashSet;
28 import java.util.Set;
29 import java.util.Iterator;
/frameworks/base/tools/aapt2/link/
DAutoVersioner_test.cpp32 entry.values.push_back(util::make_unique<ResourceConfigValue>(defaultConfig, "")); in TEST()
33 entry.values.push_back(util::make_unique<ResourceConfigValue>(landConfig, "")); in TEST()
34 entry.values.push_back(util::make_unique<ResourceConfigValue>(sw600dpLandConfig, "")); in TEST()
46 entry.values.push_back(util::make_unique<ResourceConfigValue>(defaultConfig, "")); in TEST()
47 entry.values.push_back(util::make_unique<ResourceConfigValue>(sw600dpV13Config, "")); in TEST()
48 entry.values.push_back(util::make_unique<ResourceConfigValue>(v21Config, "")); in TEST()
60 util::make_unique<Id>()) in TEST()
62 util::make_unique<Id>()) in TEST()
64 ResourceId(0x01010364), util::make_unique<Id>()) in TEST()
66 util::make_unique<Id>()) in TEST()
[all …]
/frameworks/base/tools/aapt2/java/
DAnnotationProcessor.cpp38 if (util::trimWhitespace(comment).empty()) { in appendCommentLine()
52 for (StringPiece16 line : util::tokenize(comment, u'\n')) { in appendComment()
53 line = util::trimWhitespace(line); in appendComment()
55 std::string utf8Line = util::utf16ToUtf8(line); in appendComment()
62 for (StringPiece line : util::tokenize(comment, '\n')) { in appendComment()
63 line = util::trimWhitespace(line); in appendComment()
78 for (StringPiece line : util::tokenize<char>(result, '\n')) { in writeToStream()
/frameworks/base/services/core/java/com/android/server/storage/
DAppCollector.java34 import android.util.Log;
36 import com.android.internal.util.Preconditions;
38 import java.util.ArrayList;
39 import java.util.List;
40 import java.util.Objects;
41 import java.util.concurrent.CompletableFuture;
42 import java.util.concurrent.ExecutionException;
43 import java.util.concurrent.TimeUnit;
44 import java.util.concurrent.TimeoutException;
45 import java.util.concurrent.atomic.AtomicInteger;
/frameworks/opt/vcard/java/com/android/vcard/
DVCardProperty.java18 import android.util.Log;
20 import java.util.ArrayList;
21 import java.util.Arrays;
22 import java.util.Collection;
23 import java.util.HashMap;
24 import java.util.HashSet;
25 import java.util.List;
26 import java.util.Map;
/frameworks/base/core/java/com/google/android/collect/
DSets.java19 import android.util.ArraySet;
21 import java.util.Collections;
22 import java.util.EnumSet;
23 import java.util.HashSet;
24 import java.util.SortedSet;
25 import java.util.TreeSet;
/frameworks/base/core/java/com/android/internal/logging/
DAndroidHandler.java19 import android.util.Log;
20 import com.android.internal.util.FastPrintWriter;
26 import java.util.logging.Formatter;
27 import java.util.logging.Handler;
28 import java.util.logging.Level;
29 import java.util.logging.LogRecord;
30 import java.util.logging.Logger;
/frameworks/volley/src/main/java/com/android/volley/
DRequestQueue.java22 import java.util.ArrayList;
23 import java.util.HashMap;
24 import java.util.HashSet;
25 import java.util.LinkedList;
26 import java.util.List;
27 import java.util.Map;
28 import java.util.Queue;
29 import java.util.Set;
30 import java.util.concurrent.PriorityBlockingQueue;
31 import java.util.concurrent.atomic.AtomicInteger;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSoftApManager.java19 import static com.android.server.wifi.util.ApConfigUtil.ERROR_GENERIC;
20 import static com.android.server.wifi.util.ApConfigUtil.ERROR_NO_CHANNEL;
21 import static com.android.server.wifi.util.ApConfigUtil.SUCCESS;
30 import android.util.Log;
32 import com.android.internal.util.State;
33 import com.android.internal.util.StateMachine;
34 import com.android.server.wifi.util.ApConfigUtil;
36 import java.util.ArrayList;
37 import java.util.Locale;

12345678910>>...155