Home
last modified time | relevance | path

Searched refs:strings (Results 1 – 25 of 118) sorted by relevance

12345

/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DTextUtils.java79 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/
DTag.java161 String[] strings = new String[size]; in generateTechStringList() local
165 strings[i] = IsoDep.class.getName(); in generateTechStringList()
168 strings[i] = MifareClassic.class.getName(); in generateTechStringList()
171 strings[i] = MifareUltralight.class.getName(); in generateTechStringList()
174 strings[i] = Ndef.class.getName(); in generateTechStringList()
177 strings[i] = NdefFormatable.class.getName(); in generateTechStringList()
180 strings[i] = NfcA.class.getName(); in generateTechStringList()
183 strings[i] = NfcB.class.getName(); in generateTechStringList()
186 strings[i] = NfcF.class.getName(); in generateTechStringList()
189 strings[i] = NfcV.class.getName(); in generateTechStringList()
[all …]
DTechListParcel.java27 public TechListParcel(String[]... strings) { in TechListParcel() argument
28 mTechLists = strings; in TechListParcel()
/frameworks/native/opengl/tools/glgen/stubs/gles11/
DglCreateShaderProgramv.cpp4 (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()
DglShaderSource.cpp14 const char* strings[] = {nativeString}; in android_glShaderSource() local
15 glShaderSource(shader, 1, strings, 0); in android_glShaderSource()
/frameworks/base/apct-tests/perftests/core/src/android/util/perftests/
DLogPerfTest.java34 private final String[] strings = new String[] { field in LogPerfTest
50 Log.d("LogPerfTest", strings[(i++) % strings.length]); in testLogPerf()
/frameworks/av/media/mtp/tests/
DMtpFfsHandle_test.cpp101 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/packages/StatementService/src/com/android/statementservice/retriever/
DUtils.java74 public static String joinStrings(String separator, List<String> strings) { in joinStrings() argument
75 switch(strings.size()) { in joinStrings()
79 return strings.get(0); in joinStrings()
83 for (String field : strings) { in joinStrings()
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java222 public static final String[] strings = { "NONE", "WPA_PSK", "WPA_EAP", field in WifiConfiguration.KeyMgmt
253 public static final String[] strings = { "WPA", "RSN", "OSEN", "WAPI" }; field in WifiConfiguration.Protocol
277 public static final String[] strings = { "OPEN", "SHARED", "LEAP", "SAE" }; field in WifiConfiguration.AuthAlgorithm
306 public static final String[] strings = { "NONE", "TKIP", "CCMP", "GCMP_256", "SMS4" }; field in WifiConfiguration.PairwiseCipher
351 public static final String[] strings = field in WifiConfiguration.GroupCipher
379 private static final String[] strings = { "BIP_CMAC_256", field in WifiConfiguration.GroupMgmtCipher
402 private static final String[] strings = { "ECDHE_ECDSA", "ECDHE_RSA" }; field in WifiConfiguration.SuiteBCipher
416 public static final String[] strings = { "current", "disabled", "enabled" }; field in WifiConfiguration.Status
2247 if (k < KeyMgmt.strings.length) { in toString()
2248 sbuf.append(KeyMgmt.strings[k]); in toString()
[all …]
DWifiEnterpriseConfig.java392 public static final String[] strings = field in WifiEnterpriseConfig.Eap
420 public static final String[] strings = {EMPTY_VALUE, "PAP", "MSCHAP", field in WifiEnterpriseConfig.Phase2
483 if (!saver.saveValue(EAP_KEY, Eap.strings[mEapMethod])) { in saveToSupplicant()
490 String value = convertToQuotedString(prefix + Phase2.strings[mPhase2Method]); in saveToSupplicant()
517 mEapMethod = getStringIndex(Eap.strings, eapMethod, Eap.NONE); in loadFromSupplicant()
526 mPhase2Method = getStringIndex(Phase2.strings, phase2Method, Phase2.NONE); in loadFromSupplicant()
1185 return Eap.strings[mEapMethod] + "_" + Phase2.strings[mPhase2Method]; in getKeyId()
1290 if (mEapMethod >= 0 && mEapMethod < Eap.strings.length) { in toString()
1291 sb.append("eap_method: ").append(Eap.strings[mEapMethod]).append("\n"); in toString()
1293 if (mPhase2Method > 0 && mPhase2Method < Phase2.strings.length) { in toString()
[all …]
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/
DUtils.java70 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/
DTracer.java213 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/
Dgen_strings.sh3 OUTPUT_default=res/values/strings.xml
4 OUTPUT_v26=res/values-v26/strings.xml
/frameworks/base/core/tests/coretests/src/android/widget/
DAutoCompleteTextViewSimple.java72 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/opt/net/wifi/service/java/com/android/server/wifi/
DWifiBackupDataV1Parser.java238 > WifiConfiguration.KeyMgmt.strings.length) { in clearAnyKnownIssuesInParsedConfiguration()
240 WifiConfiguration.KeyMgmt.strings.length, in clearAnyKnownIssuesInParsedConfiguration()
245 > WifiConfiguration.Protocol.strings.length) { in clearAnyKnownIssuesInParsedConfiguration()
247 WifiConfiguration.Protocol.strings.length, in clearAnyKnownIssuesInParsedConfiguration()
252 > WifiConfiguration.AuthAlgorithm.strings.length) { in clearAnyKnownIssuesInParsedConfiguration()
254 WifiConfiguration.AuthAlgorithm.strings.length, in clearAnyKnownIssuesInParsedConfiguration()
259 > WifiConfiguration.GroupCipher.strings.length) { in clearAnyKnownIssuesInParsedConfiguration()
261 WifiConfiguration.GroupCipher.strings.length, in clearAnyKnownIssuesInParsedConfiguration()
266 > WifiConfiguration.PairwiseCipher.strings.length) { in clearAnyKnownIssuesInParsedConfiguration()
268 WifiConfiguration.PairwiseCipher.strings.length, in clearAnyKnownIssuesInParsedConfiguration()
/frameworks/compile/mclinker/lib/LD/
DDebugString.cpp42 llvm::StringRef strings; in merge() local
47 strings = frag->getRegion().data(); in merge()
52 const char* str = strings.data(); in merge()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiConfigurationTest.java147 for (int keyMgmt = 0; keyMgmt < WifiConfiguration.KeyMgmt.strings.length; keyMgmt++) { in testIsOpenNetwork_NotOpen_HasAuthType()
158 + WifiConfiguration.KeyMgmt.strings[keyMgmt], config.isOpenNetwork()); in testIsOpenNetwork_NotOpen_HasAuthType()
332 assertEquals(mSsid + KeyMgmt.strings[KeyMgmt.WPA_PSK], in testGetSsidAndSecurityTypeString()
337 assertEquals(mSsid + KeyMgmt.strings[KeyMgmt.WPA_EAP], in testGetSsidAndSecurityTypeString()
357 assertEquals(mSsid + KeyMgmt.strings[KeyMgmt.OWE], config.getSsidAndSecurityTypeString()); in testGetSsidAndSecurityTypeString()
363 assertEquals(mSsid + KeyMgmt.strings[KeyMgmt.OWE], config.getSsidAndSecurityTypeString()); in testGetSsidAndSecurityTypeString()
367 assertEquals(mSsid + KeyMgmt.strings[KeyMgmt.SAE], config.getSsidAndSecurityTypeString()); in testGetSsidAndSecurityTypeString()
371 assertEquals(mSsid + KeyMgmt.strings[KeyMgmt.SUITE_B_192], in testGetSsidAndSecurityTypeString()
376 assertEquals(mSsid + KeyMgmt.strings[KeyMgmt.NONE], config.getSsidAndSecurityTypeString()); in testGetSsidAndSecurityTypeString()
380 assertEquals(mSsid + KeyMgmt.strings[KeyMgmt.WAPI_PSK], in testGetSsidAndSecurityTypeString()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DParcelTest.java96 final String[] strings = { in testStrings() local
102 for (String string : strings) { in testStrings()
108 for (String string : strings) { in testStrings()
/frameworks/base/core/java/android/os/
DIncidentManager.java529 List<String> strings; in getPendingReports() local
531 strings = getCompanionServiceLocked().getPendingReports(); in getPendingReports()
535 final int size = strings.size(); in getPendingReports()
538 result.add(new PendingReport(Uri.parse(strings.get(i)))); in getPendingReports()
639 List<String> strings; in getIncidentReportList() local
641 strings = getCompanionServiceLocked().getIncidentReportList( in getIncidentReportList()
646 final int size = strings.size(); in getIncidentReportList()
649 result.add(Uri.parse(strings.get(i))); in getIncidentReportList()
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssSatelliteBlacklistHelper.java101 String[] strings = blacklist.split(BLACKLIST_DELIMITER); in parseSatelliteBlacklist() local
102 List<Integer> parsed = new ArrayList<>(strings.length); in parseSatelliteBlacklist()
103 for (String string : strings) { in parseSatelliteBlacklist()
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DTransactionParcelTests.java473 String[] strings) throws RemoteException { in dumpService() argument
515 public void dispatchPackageBroadcast(int i, String[] strings) throws RemoteException { in dispatchPackageBroadcast() argument
524 String s, String[] strings) throws RemoteException { in dumpActivity() argument
551 boolean b4, String[] strings) throws RemoteException { in dumpMemInfo() argument
557 boolean b3, String[] strings) throws RemoteException { in dumpMemInfoProto() argument
561 public void dumpGfxInfo(ParcelFileDescriptor parcelFileDescriptor, String[] strings) in dumpGfxInfo() argument
566 public void dumpCacheInfo(ParcelFileDescriptor parcelFileDescriptor, String[] strings) in dumpCacheInfo() argument
572 String[] strings) throws RemoteException { in dumpProvider() argument
576 public void dumpDbInfo(ParcelFileDescriptor parcelFileDescriptor, String[] strings) in dumpDbInfo() argument
/frameworks/base/tools/aapt2/jni/
Daapt2_jni.cpp68 static std::vector<StringPiece> extract_pieces(const std::vector<ScopedUtfChars> &strings) { in extract_pieces() argument
72 strings.begin(), strings.end(), in extract_pieces()
/frameworks/base/telecomm/java/android/telecom/
DAuthenticatorService.java63 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/com/android/internal/util/
DLineBreakBufferedWriterTest.java212 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/
DRvBoxAdapter.java49 public RvBoxAdapter(Context context, String[] strings) { in RvBoxAdapter() argument
57 Collections.addAll(mValues, strings); in RvBoxAdapter()

12345