/frameworks/native/libs/ftl/ |
D | static_vector_test.cpp | 55 ftl::StaticVector strings = ftl::init::list<std::string>("abc")("123456", 3u)(3u, '?'); in TEST() local 56 ASSERT_EQ(strings.size(), 3u); in TEST() 58 EXPECT_EQ(strings[0], "abc"); in TEST() 59 EXPECT_EQ(strings[1], "123"); in TEST() 60 EXPECT_EQ(strings[2], "???"); in TEST() 125 const char* strings[] = {"a", "b", "c", "d"}; in TEST() local 129 StaticVector<String, 3> vector(strings, strings + 3); in TEST() 137 StaticVector<String, 3> vector(ftl::kIteratorRange, strings, strings + 3); in TEST() 275 StaticVector strings = ftl::init::list<std::string>()()()("cake")("velvet")("red")(); in TEST() local 276 strings.pop_back(); in TEST() [all …]
|
D | small_vector_test.cpp | 56 ftl::SmallVector strings = ftl::init::list<std::string>("abc")("123456", 3u)(3u, '?'); in TEST() local 57 ASSERT_EQ(strings.size(), 3u); in TEST() 58 EXPECT_FALSE(strings.dynamic()); in TEST() 60 EXPECT_EQ(strings[0], "abc"); in TEST() 61 EXPECT_EQ(strings[1], "123"); in TEST() 62 EXPECT_EQ(strings[2], "???"); in TEST() 329 SmallVector strings = ftl::init::list<std::string>()()()("cake")("velvet")("red")(); in TEST() local 330 strings.pop_back(); in TEST() 332 EXPECT_EQ(strings.max_size(), 7u); in TEST() 333 EXPECT_EQ(strings.size(), 6u); in TEST() [all …]
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | TextUtils.java | 79 String[] strings = new String[STRING_COUNT]; in buildSimpleStringList() local 81 for (int i = 0; i < strings.length; i++) { in buildSimpleStringList() 82 strings[i] = randomWord(random, stringLength); in buildSimpleStringList() 84 return strings; in buildSimpleStringList() 88 final String[] strings = new String[STRING_COUNT]; in buildStringListFromUnicodeSet() local 91 for (int i = 0; i < strings.length; i++) { in buildStringListFromUnicodeSet() 92 strings[i] = randomWordFromStringSet(random, stringLength, stringSet); in buildStringListFromUnicodeSet() 94 return strings; in buildStringListFromUnicodeSet() 107 final String[] strings = new String[STRING_COUNT]; in buildLongStringList() local 109 for (int i = 0; i < strings.length; i++) { in buildLongStringList() [all …]
|
/frameworks/base/core/java/android/nfc/ |
D | Tag.java | 168 String[] strings = new String[size]; in generateTechStringList() local 172 strings[i] = IsoDep.class.getName(); in generateTechStringList() 175 strings[i] = MifareClassic.class.getName(); in generateTechStringList() 178 strings[i] = MifareUltralight.class.getName(); in generateTechStringList() 181 strings[i] = Ndef.class.getName(); in generateTechStringList() 184 strings[i] = NdefFormatable.class.getName(); in generateTechStringList() 187 strings[i] = NfcA.class.getName(); in generateTechStringList() 190 strings[i] = NfcB.class.getName(); in generateTechStringList() 193 strings[i] = NfcF.class.getName(); in generateTechStringList() 196 strings[i] = NfcV.class.getName(); in generateTechStringList() [all …]
|
D | TechListParcel.java | 27 public TechListParcel(String[]... strings) { in TechListParcel() argument 28 mTechLists = strings; in TechListParcel()
|
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
D | glCreateShaderProgramv.cpp | 4 (JNIEnv *_env, jobject _this, jint type, jobjectArray strings) { in android_glCreateShaderProgramv() argument 13 if (!strings) { in android_glCreateShaderProgramv() 20 _count = _env->GetArrayLength(strings); in android_glCreateShaderProgramv() 39 _jstrings[i] = (jstring) _env->GetObjectArrayElement(strings, i); in android_glCreateShaderProgramv()
|
D | glShaderSource.cpp | 14 const char* strings[] = {nativeString}; in android_glShaderSource() local 15 glShaderSource(shader, 1, strings, 0); in android_glShaderSource()
|
D | glCreateShaderProgramv.java | 5 String[] strings in glCreateShaderProgramv() argument
|
/frameworks/base/apct-tests/perftests/core/src/android/util/perftests/ |
D | LogPerfTest.java | 34 private final String[] strings = new String[] { field in LogPerfTest 50 Log.d("LogPerfTest", strings[(i++) % strings.length]); in testLogPerf()
|
/frameworks/av/media/mtp/tests/MtpFfsHandleTest/ |
D | MtpFfsHandle_test.cpp | 101 struct functionfs_strings strings; in TYPED_TEST() local 103 EXPECT_EQ(read(this->control, &strings, sizeof(strings)), (long)sizeof(strings)); in TYPED_TEST() 105 EXPECT_TRUE(std::memcmp(&strings, &mtp_strings, sizeof(strings)) == 0); in TYPED_TEST() 111 struct functionfs_strings strings; in TYPED_TEST() local 113 EXPECT_EQ(read(this->control, &strings, sizeof(strings)), (long)sizeof(strings)); in TYPED_TEST() 115 EXPECT_TRUE(std::memcmp(&strings, &mtp_strings, sizeof(strings)) == 0); in TYPED_TEST()
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/ |
D | Utils.java | 70 String[] strings = new String[paragraphCount]; in buildParagraphListWithHitPercentage() local 72 for (int i = 0; i < strings.length; i++) { in buildParagraphListWithHitPercentage() 89 strings[i] = result.toString(); in buildParagraphListWithHitPercentage() 92 return strings; in buildParagraphListWithHitPercentage()
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | Tracer.java | 213 private static String join(String separator, Object[] strings) { in join() argument 214 if (strings.length == 0) in join() 217 StringBuilder builder = new StringBuilder(objectToString(strings[0])); in join() 218 for (int i = 1; i < strings.length; i++) { in join() 220 builder.append(objectToString(strings[i])); in join()
|
/frameworks/base/libs/androidfw/tests/data/sparse/ |
D | gen_strings.sh | 3 OUTPUT_default=res/values/strings.xml 4 OUTPUT_v26=res/values-v26/strings.xml
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | AutoCompleteTextViewSimple.java | 72 String[] strings = new String[numSuggestions]; in setStringAdapter() local 74 strings[i] = prefix + String.valueOf(i); in setStringAdapter() 79 android.R.layout.simple_dropdown_item_1line, strings); in setStringAdapter()
|
/frameworks/compile/mclinker/lib/LD/ |
D | DebugString.cpp | 42 llvm::StringRef strings; in merge() local 47 strings = frag->getRegion().data(); in merge() 52 const char* str = strings.data(); in merge()
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | GnssSatelliteBlocklistHelper.java | 101 String[] strings = blocklist.split(BLOCKLIST_DELIMITER); in parseSatelliteBlocklist() local 102 List<Integer> parsed = new ArrayList<>(strings.length); in parseSatelliteBlocklist() 103 for (String string : strings) { in parseSatelliteBlocklist()
|
/frameworks/base/core/java/android/os/ |
D | IncidentManager.java | 525 List<String> strings; in getPendingReports() local 527 strings = getCompanionServiceLocked().getPendingReports(); in getPendingReports() 531 final int size = strings.size(); in getPendingReports() 534 result.add(new PendingReport(Uri.parse(strings.get(i)))); in getPendingReports() 635 List<String> strings; in getIncidentReportList() local 637 strings = getCompanionServiceLocked().getIncidentReportList( in getIncidentReportList() 642 final int size = strings.size(); in getIncidentReportList() 645 result.add(Uri.parse(strings.get(i))); in getIncidentReportList()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | AuthenticatorService.java | 63 String s, String s2, String[] strings, Bundle bundle) in addAccount() argument 96 Account account, String[] strings) in hasFeatures() argument
|
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/ |
D | TransactionParcelTests.java | 469 String[] strings) throws RemoteException { in dumpService() argument 512 public void dispatchPackageBroadcast(int i, String[] strings) throws RemoteException { in dispatchPackageBroadcast() argument 521 String s, String[] strings) throws RemoteException { in dumpActivity() argument 548 boolean b4, String[] strings) throws RemoteException { in dumpMemInfo() argument 554 boolean b3, String[] strings) throws RemoteException { in dumpMemInfoProto() argument 558 public void dumpGfxInfo(ParcelFileDescriptor parcelFileDescriptor, String[] strings) in dumpGfxInfo() argument 563 public void dumpCacheInfo(ParcelFileDescriptor parcelFileDescriptor, String[] strings) in dumpCacheInfo() argument 569 String[] strings) throws RemoteException { in dumpProvider() argument 573 public void dumpDbInfo(ParcelFileDescriptor parcelFileDescriptor, String[] strings) in dumpDbInfo() argument
|
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
D | LineBreakBufferedWriterTest.java | 212 private List<String> strings = new ArrayList<String>(); field in LineBreakBufferedWriterTest.RecordingWriter 218 return strings; in getStrings() 223 strings.add(new String(cbuf, off, len)); in write()
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/ |
D | RvBoxAdapter.java | 49 public RvBoxAdapter(Context context, String[] strings) { in RvBoxAdapter() argument 57 Collections.addAll(mValues, strings); in RvBoxAdapter()
|
/frameworks/base/core/java/android/preference/ |
D | MultiSelectListPreference.java | 264 String[] strings = source.readStringArray(); in SavedState() local 266 final int stringCount = strings.length; in SavedState() 268 values.add(strings[i]); in SavedState()
|
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/chunking/cdc/ |
D | RabinFingerprint64Test.java | 99 private byte[] getBytes(String... strings) { in getBytes() argument 101 for (String s : strings) { in getBytes()
|
/frameworks/base/tools/stringslint/ |
D | stringslint_sha.sh | 3 git show --name-only --pretty=format: $1 | grep values/strings.xml | while read file; do
|
/frameworks/base/tools/aapt/ |
D | XMLNode.cpp | 1092 StringPool strings(mUTF8); in flatten() local 1099 collect_resid_strings(&strings, &resids); in flatten() 1102 collect_strings(&strings, &resids, stripComments, stripRawValues); in flatten() 1104 sp<AaptFile> stringPool = strings.createStringBlock(); in flatten() 1131 flatten_node(strings, dest, stripComments, stripRawValues); in flatten() 1459 status_t XMLNode::flatten_node(const StringPool& strings, const sp<AaptFile>& dest, in flatten_node() argument 1489 mComment.size() > 0 ? strings.offsetForString(mComment) : -1); in flatten_node() 1502 attrExt.ns.index = htodl(strings.offsetForString(mNamespaceUri)); in flatten_node() 1506 attrExt.name.index = htodl(strings.offsetForString(mElementName)); in flatten_node() 1535 namespaceExt.prefix.index = htodl(strings.offsetForString(mNamespacePrefix)); in flatten_node() [all …]
|