Searched defs:strings (Results 1 - 25 of 47) sorted by relevance

12

/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DglShaderSource.cpp14 const char* strings[] = {nativeString}; local
15 glShaderSource(shader, 1, strings, 0);
H A DglCreateShaderProgramv.cpp1 /* GLuint glCreateShaderProgramv ( GLenum type, GLsizei count, const GLchar *const *strings ) */
4 (JNIEnv *_env, jobject _this, jint type, jobjectArray strings) {
13 if (!strings) {
16 _exceptionMessage = "strings == null";
20 _count = _env->GetArrayLength(strings);
39 _jstrings[i] = (jstring) _env->GetObjectArrayElement(strings, i);
43 _exceptionMessage = "strings == null";
3 android_glCreateShaderProgramv(JNIEnv *_env, jobject _this, jint type, jobjectArray strings) argument
/frameworks/base/core/java/android/nfc/
H A DTechListParcel.java27 public TechListParcel(String[]... strings) { argument
28 mTechLists = strings;
/frameworks/native/cmds/installd/
H A Dstring_helpers.h51 static inline std::string Join(const std::vector<StringT>& strings, char separator) { argument
52 if (strings.empty()) {
56 std::string result(strings[0]);
57 for (size_t i = 1; i < strings.size(); ++i) {
59 result += strings[i];
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
H A DUtils.java70 * Joins a list of strings, by placing separator between each string. For example,
74 public static String joinStrings(String separator, List<String> strings) { argument
75 switch(strings.size()) {
79 return strings.get(0);
83 for (String field : strings) {
/frameworks/base/telecomm/java/android/telecom/
H A DAuthenticatorService.java63 String s, String s2, String[] strings, Bundle bundle)
96 Account account, String[] strings)
62 addAccount(AccountAuthenticatorResponse accountAuthenticatorResponse, String s, String s2, String[] strings, Bundle bundle) argument
95 hasFeatures(AccountAuthenticatorResponse accountAuthenticatorResponse, Account account, String[] strings) argument
/frameworks/compile/mclinker/lib/LD/
H A DDebugString.cpp42 llvm::StringRef strings; local
47 strings = frag->getRegion().data();
51 // get the debug strings and add them into merged string table
52 const char* str = strings.data();
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
H A DLineBreakBufferedWriterTest.java65 // Expect two strings.
67 // Expect the strings to sum up to the original input.
86 // Expect two strings.
88 // Expect the strings to sum up to the original input.
215 private List<String> strings = new ArrayList<String>(); field in class:LineBreakBufferedWriterTest.RecordingWriter
221 return strings;
226 strings.add(new String(cbuf, off, len));
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/adapter/
H A DMultiArgTestAdapter.java34 public static String join(String... strings) { argument
36 for(String str : strings) {
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DTracer.java213 private static String join(String separator, Object[] strings) { argument
214 if (strings.length == 0)
217 StringBuilder builder = new StringBuilder(objectToString(strings[0]));
218 for (int i = 1; i < strings.length; i++) {
220 builder.append(objectToString(strings[i]));
/frameworks/base/core/java/android/hardware/usb/
H A DUsbAccessory.java29 * The manufacturer, model and version strings are used by the USB Manager to choose
87 public UsbAccessory(String[] strings) { argument
88 mManufacturer = strings[MANUFACTURER_STRING];
89 mModel = strings[MODEL_STRING];
90 mDescription = strings[DESCRIPTION_STRING];
91 mVersion = strings[VERSION_STRING];
92 mUri = strings[URI_STRING];
93 mSerial = strings[SERIAL_STRING];
/frameworks/base/services/core/java/com/android/server/pm/
H A DUserRestrictionsUtils.java60 private static Set<String> newSetWithUniqueCheck(String[] strings) { argument
61 final Set<String> ret = Sets.newArraySet(strings);
64 Preconditions.checkState(ret.size() == strings.length);
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
H A DMtpDatabase.java120 strings(COLUMN_DEVICE_ID),
122 strings(ROW_STATE_VALID, ROW_STATE_INVALIDATED, DOCUMENT_TYPE_DEVICE),
141 strings(ROW_STATE_VALID,
154 strings(ROW_STATE_VALID,
227 strings(ROW_STATE_VALID, ROW_STATE_INVALIDATED, DOCUMENT_TYPE_STORAGE),
244 strings(ROW_STATE_VALID, ROW_STATE_INVALIDATED, parentDocumentId),
264 strings(Document.COLUMN_DOCUMENT_ID),
268 strings(ROW_STATE_VALID,
294 strings(documentId),
304 strings(Documen
910 static String[] strings(Object... args) { method in class:MtpDatabase
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiNetworkHistory.java251 WifiConfiguration.KeyMgmt.strings);
579 private static String makeString(BitSet set, String[] strings) { argument
583 /* Make sure all set bits are in [0, strings.length) to avoid
584 * going out of bounds on strings. (Shouldn't happen, but...) */
585 set = set.get(0, strings.length);
588 buf.append(strings[nextSetBit].replace('_', '-')).append(' ');
H A DWifiConfigStore.java131 * 'set', within the set of strings from 'strings' for the variable concatenated.
135 * @param set a bit set with a one for each corresponding string to be included from strings.
136 * @param strings the set of string literals to concatenate strinfs from.
139 private static String makeString(BitSet set, String[] strings) { argument
140 return makeStringWithException(set, strings, null);
145 * @param set a bit set with a one for each corresponding string to be included from strings.
146 * @param strings the set of string literals to concatenate strinfs from.
150 private static String makeStringWithException(BitSet set, String[] strings, String exception) { argument
153 /* Make sure all set bits are in [0, strings
211 lookupString(String string, String[] strings) argument
225 readNetworkBitsetVariable(int netId, BitSet variable, String varName, String[] strings) argument
[all...]
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiEnterpriseConfig.java308 public static final String[] strings = field in class:WifiEnterpriseConfig.Eap
329 public static final String[] strings = {EMPTY_VALUE, "PAP", "MSCHAP", field in class:WifiEnterpriseConfig.Phase2
384 if (!saver.saveValue(EAP_KEY, Eap.strings[mEapMethod])) {
391 String value = convertToQuotedString(prefix + Phase2.strings[mPhase2Method]);
418 mEapMethod = getStringIndex(Eap.strings, eapMethod, Eap.NONE);
427 mPhase2Method = getStringIndex(Phase2.strings, phase2Method, Phase2.NONE);
957 return Eap.strings[mEapMethod] + "_" + Phase2.strings[mPhase2Method];
976 * @param arr array of strings
1059 * are valid indices into {@code Eap.strings[]} an
[all...]
H A DWifiConfiguration.java103 public static final String[] strings = { "NONE", "WPA_PSK", "WPA_EAP", "IEEE8021X", field in class:WifiConfiguration.KeyMgmt
124 public static final String[] strings = { "WPA", "RSN", "OSEN" }; field in class:WifiConfiguration.Protocol
142 public static final String[] strings = { "OPEN", "SHARED", "LEAP" }; field in class:WifiConfiguration.AuthAlgorithm
160 public static final String[] strings = { "NONE", "TKIP", "CCMP" }; field in class:WifiConfiguration.PairwiseCipher
190 public static final String[] strings = field in class:WifiConfiguration.GroupCipher
205 public static final String[] strings = { "current", "disabled", "enabled" }; field in class:WifiConfiguration.Status
1456 if (k < KeyMgmt.strings.length) {
1457 sbuf.append(KeyMgmt.strings[k]);
1467 if (p < Protocol.strings.length) {
1468 sbuf.append(Protocol.strings[
[all...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DWifiConfigManagerTest.java933 eap = Eap.strings[eapMethod];
937 phase2 = "auth=" + Phase2.strings[phase2Method];
1259 WifiConfiguration.KeyMgmt.strings);
1290 WifiConfiguration.Protocol.strings);
1321 WifiConfiguration.AuthAlgorithm.strings);
1352 WifiConfiguration.PairwiseCipher.strings);
1383 WifiConfiguration.GroupCipher.strings);
1610 private static String makeString(BitSet set, String[] strings) { argument
1614 /* Make sure all set bits are in [0, strings.length) to avoid
1615 * going out of bounds on strings
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhoneCommandInterface.java388 public void invokeOemRilRequestStrings(String[] strings, Message response) { argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipCommandInterface.java389 public void invokeOemRilRequestStrings(String[] strings, Message response) { argument
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES31.cpp887 /* GLuint glCreateShaderProgramv ( GLenum type, GLsizei count, const GLchar *const *strings ) */
890 (JNIEnv *_env, jobject _this, jint type, jobjectArray strings) {
899 if (!strings) {
902 _exceptionMessage = "strings == null";
906 _count = _env->GetArrayLength(strings);
925 _jstrings[i] = (jstring) _env->GetObjectArrayElement(strings, i);
929 _exceptionMessage = "strings == null";
889 android_glCreateShaderProgramv(JNIEnv *_env, jobject _this, jint type, jobjectArray strings) argument
/frameworks/base/tools/aapt/
H A DResourceTable.cpp1371 // Untranslatable strings must only exist in the default [empty] locale
1381 // Don't add untranslatable strings to the localization table; that
1465 // Check whether these strings need valid formats.
2735 // Don't generate symbols for strings without a default localization.
2788 // For all strings...
2792 // Look for strings with no default localization
2884 // Iterate through all data, collecting all values (strings,
2916 // This is a hack to tweak the sorting order of the final strings,
2979 // Now we want to sort the value strings for better locality. This will
2980 // cause the positions of the strings t
3676 prepareFlatten(StringPool* strings, ResourceTable* table, const String8* configTypeName, const ConfigDescription* config) argument
3709 remapStringValue(StringPool* strings) argument
4141 setStrings(const sp<AaptFile>& data, ResStringPool* strings, DefaultKeyedVector<String16, uint32_t>* mappings) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DCommandsInterface.java1428 void invokeOemRilRequestStrings(String[] strings, Message response); argument
H A DRIL.java1990 // count strings
2021 // count strings
2091 public void invokeOemRilRequestStrings(String[] strings, Message response) { argument
2097 rr.mParcel.writeStringArray(strings);
2951 String[] strings = (String[]) ret;
2952 length = strings.length;
2956 sb.append(strings[i++]);
2958 sb.append(", ").append(strings[i++]);
3922 String strings[] = (String [])responseStrings(p);
3925 if (strings
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
H A DSimulatedCommands.java1441 public void invokeOemRilRequestStrings(String[] strings, Message response) { argument
1444 AsyncResult.forMessage(response).result = strings;

Completed in 1660 milliseconds

12