Searched refs:string (Results 276 - 300 of 1337) sorted by relevance

<<11121314151617181920>>

/frameworks/base/media/mca/filterfw/jni/
H A Djni_util.h20 #include <string>
96 static void Setup(const std::string& jclass_name,
97 const std::string& id_fld_name) {
180 const std::string& GetJavaClassName() const {
185 explicit ObjectPool(const std::string& jclass_name,
186 const std::string& id_fld_name)
194 std::string jclass_name_;
195 std::string id_field_name_;
266 // Convert Java String to C++ string.
267 jstring ToJString(JNIEnv* env, const std::string
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioPolicyMix.cpp58 ALOGE("registerPolicyMixes(): mix for address %s already registered", address.string());
71 ALOGE("unregisterPolicyMixes(): mix for address %s not registered", address.string());
84 ALOGE("unregisterPolicyMixes(): mix for address %s not registered", address.string());
119 mix->mRegistrationId.string(),
129 mix->mRegistrationId.string(),
179 ALOGW("getInputMixForAttr() no policy for address %s", address.string());
186 ALOGW("getInputMixForAttr() bad policy mix type for address %s", address.string());
/frameworks/base/tools/aapt2/
H A DFiles.cpp22 #include <string>
64 std::vector<std::string> listFiles(const StringPiece& root) {
75 std::vector<std::string> files;
108 std::string getStem(const StringPiece& path) {
113 return std::string(start, current - start);
124 bool FileFilter::operator()(const std::string& filename, FileType type) const {
133 for (const std::string& token : mPatternTokens) {
H A DResourceParser_test.cpp24 #include <string>
99 std::string errStr;
175 std::string input = "<string name=\"foo\"> \" hey there \" </string>";
185 std::string input = "<string name=\"foo\">\\?123</string>";
195 std::string input = "<integer name=\"foo\">@null</integer>";
210 std::string inpu
[all...]
/frameworks/compile/mclinker/include/mcld/LD/
H A DArchive.h18 #include <string>
32 static const char MAGIC[]; ///< magic string
34 static const size_t MAGIC_LEN; ///< length of magic string
37 static const char STRTAB_NAME[]; ///< Name of string table
103 std::string name;
190 const std::string& getSymbolName(size_t pSymIdx) const;
202 std::string& getStrTable();
205 const std::string& getStrTable() const;
218 const std::string& pName,
233 std::string m_StrTa
[all...]
/frameworks/compile/mclinker/include/mcld/
H A DModule.h22 #include <string>
62 Module(const std::string& pName, LinkerScript& pScript);
66 const std::string& name() const { return m_Name; }
68 void setName(const std::string& pName) { m_Name = pName; }
120 LDSection* getSection(const std::string& pName);
121 const LDSection* getSection(const std::string& pName) const;
165 std::string m_Name;
/frameworks/base/tools/aapt/
H A DAaptAssets.cpp77 // - Otherwise the full string is matched.
153 inline bool isAlpha(const String8& string) { argument
154 const size_t length = string.length();
156 if (!isalpha(string[i])) {
165 inline bool isNumber(const String8& string) { argument
166 const size_t length = string.length();
168 if (!isdigit(string[i])) {
222 setLanguage(lang.string());
235 setRegion(part2.string());
237 setScript(part2.string());
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DBluetoothTile.java106 R.string.accessibility_quick_settings_bluetooth_connected);
111 R.string.accessibility_quick_settings_bluetooth_connecting);
112 state.label = mContext.getString(R.string.quick_settings_bluetooth_label);
116 R.string.accessibility_quick_settings_bluetooth_on);
119 state.label = mContext.getString(R.string.quick_settings_bluetooth_label);
123 state.label = mContext.getString(R.string.quick_settings_bluetooth_label);
125 R.string.accessibility_quick_settings_bluetooth_off);
131 R.string.accessibility_bluetooth_name, state.label);
144 return mContext.getString(R.string.accessibility_quick_settings_bluetooth_changed_on);
146 return mContext.getString(R.string
[all...]
H A DWifiTile.java143 state.label = r.getString(R.string.quick_settings_wifi_label);
144 signalContentDescription = r.getString(R.string.accessibility_wifi_off);
151 state.label = r.getString(R.string.quick_settings_wifi_label);
152 signalContentDescription = r.getString(R.string.accessibility_no_wifi);
155 state.label = r.getString(R.string.quick_settings_wifi_label);
156 signalContentDescription = r.getString(R.string.accessibility_wifi_off);
159 R.string.accessibility_quick_settings_wifi,
163 wifiName = r.getString(R.string.accessibility_wifi_name, state.label);
181 return mContext.getString(R.string.accessibility_quick_settings_wifi_changed_on);
183 return mContext.getString(R.string
187 removeDoubleQuotes(String string) argument
[all...]
H A DCellularTile.java115 : r.getString(R.string.quick_settings_rssi_emergency_only);
119 : r.getString(R.string.accessibility_no_signal);
122 : r.getString(R.string.accessibility_no_data);
124 R.string.accessibility_quick_settings_mobile,
135 public static String removeTrailingPeriod(String string) { argument
136 if (string == null) return null;
137 final int length = string.length();
138 if (string.endsWith(".")) {
139 return string.substring(0, length - 1);
141 return string;
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhoneMmiCode.java173 private String mPoundString; // Entire MMI string up to and including #
194 1 = Full string up to and including #
222 * We look to see if the dial string contains a valid MMI code (potentially
223 * with a dial string at the end as well) and return info here.
225 * If the dial string contains no MMI code, we return an instance with
323 /** returns true of the string is empty or null */
505 /** Does this dial string contain a structured or unstructured MMI code? */
552 // Illegal dial string characters will give a ZERO length.
554 // call privileges may send a non dial string.
904 Rlog.d(LOG_TAG, "Sending pound string '"
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DEriManager.java160 r.getString(com.android.internal.R.string.alternate_eri_file));
304 mContext.getText(com.android.internal.R.string.roamingText0).toString());
311 mContext.getText(com.android.internal.R.string.roamingText1).toString());
318 mContext.getText(com.android.internal.R.string.roamingText2).toString());
327 mContext.getText(com.android.internal.R.string.roamingText3).toString());
334 mContext.getText(com.android.internal.R.string.roamingText4).toString());
341 mContext.getText(com.android.internal.R.string.roamingText5).toString());
348 mContext.getText(com.android.internal.R.string.roamingText6).toString());
355 mContext.getText(com.android.internal.R.string.roamingText7).toString());
362 mContext.getText(com.android.internal.R.string
[all...]
/frameworks/native/libs/input/
H A DKeyCharacterMap.cpp20 #include <string.h>
116 ALOGE("Error %d opening key character map file %s.", status, filename.string());
155 tokenizer->getFilename().string(), tokenizer->getLineNumber(),
293 keyCode, toString(chars, numChars).string(), metaState, result);
308 deviceId, toString(chars, numChars).string(), ch);
321 deviceId, toString(chars, numChars).string(), int32_t(outEvents.size()));
680 ALOGD("Parsing %s: '%s'.", mTokenizer->getLocation().string(),
681 mTokenizer->peekRemainderOfLine().string());
703 ALOGE("%s: Expected keyword, got '%s'.", mTokenizer->getLocation().string(),
704 keywordToken.string());
[all...]
/frameworks/base/libs/androidfw/
H A DAssetManager.cpp44 #include <string.h> // strerror
103 strncpy(buf, pkgPath.string(), 255);
189 ap.type = ::getFileType(realPath.string());
194 ap.type = ::getFileType(path.string());
197 path.string(), (int)ap.type);
213 ap.type == kFileTypeDirectory ? "dir" : "zip", ap.path.string());
262 ALOGW("failed to open idmap file %s\n", idmapPath.string());
270 ALOGW("failed to read idmap file %s\n", idmapPath.string());
278 idmapPath.string(), packagePath.string(), overlayPat
[all...]
/frameworks/base/libs/androidfw/tests/
H A DBackupData_test.cpp27 #include <string.h>
59 ::unlink(mFilename.string());
60 int fd = ::open(mFilename.string(), O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR);
62 FAIL() << "Couldn't create " << mFilename.string() << " for writing";
75 int fd = ::open(mFilename.string(), O_WRONLY);
84 fd = ::open(mFilename.string(), O_RDONLY);
117 int fd = ::open(mFilename.string(), O_WRONLY);
125 fd = ::open(mFilename.string(), O_RDONLY);
165 int fd = ::open(mFilename.string(), O_WRONLY);
175 fd = ::open(mFilename.string(), O_RDONL
[all...]
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DJsonWebKey.cpp46 * Parses a JSON Web Key Set string, initializes a KeyMap with key id:key
86 ALOGE("Failed to decode key id(%s)", encodedKeyId.string());
91 ALOGE("Failed to decode key(%s)", encodedKey.string());
122 android::decodeBase64(AString(paddedText.string()));
162 valueToken = (*(nextToken + 1)).string();
179 * Parses a JSON objects string and initializes a vector of tokens.
189 jsonObject.string(), jsonObject.size(), NULL, 0);
200 int status = jsmn_parse(&parser, jsonObject.string(),
211 pjs = jsonObject.string() + mJsmnTokens[j].start;
222 * Parses JSON Web Key Set string an
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
H A DAccessPoint.java95 * These values are matched in string arrays -- changes must be kept in sync
296 return concise ? context.getString(R.string.wifi_security_short_eap) :
297 context.getString(R.string.wifi_security_eap);
301 return concise ? context.getString(R.string.wifi_security_short_eap) :
302 context.getString(R.string.wifi_security_eap);
306 return concise ? context.getString(R.string.wifi_security_short_wpa) :
307 context.getString(R.string.wifi_security_wpa);
309 return concise ? context.getString(R.string.wifi_security_short_wpa2) :
310 context.getString(R.string.wifi_security_wpa2);
312 return concise ? context.getString(R.string
825 convertToQuotedString(String string) argument
884 removeDoubleQuotes(String string) argument
[all...]
/frameworks/base/core/java/android/provider/
H A DContactsContract.java1451 * joined with the colon (":") separator, and the resulting string encoded.
1583 * {@link #CONTENT_URI} URI. The filter string will be used to match
1606 * {@link #CONTENT_STREQUENT_URI} URI. The filter string will be used to match
3554 * reference strings, the "@string/" prefix must be omitted.
5406 * // column will contain the string "president@organization.com".
5410 * // column will contain the string "[presi]dent@organization.com".
5924 * Return the string resource that best describes the given
5929 case TYPE_HOME: return com.android.internal.R.string.phoneTypeHome;
5930 case TYPE_MOBILE: return com.android.internal.R.string.phoneTypeMobile;
5931 case TYPE_WORK: return com.android.internal.R.string
[all...]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DCarrierText.java150 getContext().getText(R.string.keyguard_missing_sim_message_short),
158 getContext().getText(com.android.internal.R.string.emergency_calls_only);
178 getContext().getText(R.string.keyguard_missing_sim_message_short), text);
185 displayText = getContext().getString(R.string.airplane_mode);
194 com.android.internal.R.string.kg_text_message_separator);
246 mContext.getText(R.string.keyguard_network_locked_message), text);
255 R.string.keyguard_permanent_disabled_sim_message_short);
264 getContext().getText(R.string.keyguard_sim_locked_message),
270 getContext().getText(R.string.keyguard_sim_puk_locked_message),
279 * Add emergencyCallMessage to carrier string onl
[all...]
H A DKeyguardSimPukView.java88 msg = R.string.kg_puk_enter_pin_hint;
90 msg = R.string.kg_invalid_sim_puk_hint;
95 msg = R.string.kg_enter_confirm_pin_hint;
97 msg = R.string.kg_invalid_sim_pin_hint;
102 msg = R.string.keyguard_sim_unlock_progress_dialog_message;
106 msg = R.string.kg_invalid_confirm_pin_hint;
127 msg = rez.getString(R.string.kg_puk_enter_puk_hint);
131 msg = rez.getString(R.string.kg_puk_enter_puk_hint_multi, displayName);
153 displayMessage = getContext().getString(R.string.kg_password_wrong_puk_code_dead);
159 displayMessage = getContext().getString(R.string
[all...]
H A DObscureSpeechDelegate.java58 R.string.keyboard_headset_required_to_hear_password));
70 R.string.keyboard_password_character_no_headset));
82 ctx.getString(R.string.keyboard_password_character_no_headset));
/frameworks/base/core/jni/
H A Dandroid_os_Trace.cpp63 ALOGV("%s: %" PRId64 " %s", __FUNCTION__, tag, utf8Chars.string());
64 atrace_begin(tag, utf8Chars.string());
80 ALOGV("%s: %" PRId64 " %s %d", __FUNCTION__, tag, utf8Chars.string(), cookie);
81 atrace_async_begin(tag, utf8Chars.string(), cookie);
90 ALOGV("%s: %" PRId64 " %s %d", __FUNCTION__, tag, utf8Chars.string(), cookie);
91 atrace_async_end(tag, utf8Chars.string(), cookie);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DPlaybackControlsRow.java186 labels[PLAY] = context.getString(R.string.lb_playback_controls_play);
187 labels[PAUSE] = context.getString(R.string.lb_playback_controls_pause);
224 labels[0] = context.getString(R.string.lb_playback_controls_fast_forward);
232 R.string.lb_control_display_fast_forward_multiplier, multiplier);
234 R.string.lb_playback_controls_fast_forward_multiplier, multiplier);
271 labels[0] = context.getString(R.string.lb_playback_controls_rewind);
279 R.string.lb_control_display_rewind_multiplier, multiplier);
281 R.string.lb_playback_controls_rewind_multiplier, multiplier);
301 setLabel1(context.getString(R.string.lb_playback_controls_skip_next));
318 setLabel1(context.getString(R.string
[all...]
/frameworks/base/core/tests/coretests/src/android/app/
H A DSuggestionProvider.java80 private void addRow(MatrixCursor cursor, String string) { argument
82 cursor.newRow().add(id).add(string).add(Intent.ACTION_SEARCH).add(string);
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/
H A DMediaSizeUtils.java46 String mediaSizeId = context.getString(R.string.mediasize_default);
65 R.string.mediasize_standard_iso);
82 String currentStandard = mContext.getString(R.string.mediasize_standard);

Completed in 854 milliseconds

<<11121314151617181920>>