/frameworks/av/media/mtp/ |
H A D | MtpObjectInfo.cpp | 59 MtpStringBuffer string; local 78 if (!packet.getString(string)) return false; 79 mName = strdup((const char *)string); 81 if (!packet.getString(string)) return false; 82 if (parseDateTime((const char*)string, time)) 85 if (!packet.getString(string)) return false; 86 if (parseDateTime((const char*)string, time)) 89 if (!packet.getString(string)) return false; 90 mKeywords = strdup((const char *)string);
|
/frameworks/base/tools/aapt2/ |
H A D | BindingXmlPullParser.h | 24 #include <string> 34 const std::string& getLastError() const override; 59 std::string name; 60 std::string type; 64 std::string name; 65 std::string type; 69 std::string className; 70 std::string id; 80 std::string mLastError;
|
H A D | JavaClassGenerator.h | 24 #include <string> 60 const std::string& getError() const; 68 std::string mError; 71 inline const std::string& JavaClassGenerator::getError() const {
|
/frameworks/base/tools/aidl/ |
H A D | generate_java.cpp | 3 #include <string.h> 6 #include <string.h> 9 VariableFactory::VariableFactory(const string& base) 33 string 36 string s; 51 string 54 string s = a; 61 generate_java(const string& filename, const string& originalSrc,
|
H A D | aidl_language.cpp | 3 #include <string.h>
|
/frameworks/rs/api/ |
H A D | GenerateStubsWhiteList.cpp | 59 * preprocessor. Returns empty string if there's no substitution. 61 static string findSubstitute(const string& typeName, int apiLevel, int intSize) { 76 const string s = spec->getSimpleType(); 83 const string s = spec->getStructName(); 102 list<string> expandTypedefs(const string type, int apiLevel, int intSize) { 103 // Split the string in tokens. 105 list<string> tokens{istream_iterator<string>{strea [all...] |
/frameworks/av/services/audiopolicy/utilities/convert/ |
H A D | convert.h | 21 #include <string> 35 * String conversion to T reads the value of the type T in the given string. 37 * and tries to parse the whole string, which means that if some bytes were not 38 * read in the string, the function fails. 42 * Numeric conversion to string formats the source value to decimal space. 46 * @tparam srcType source type, default value is string type 103 * policy concerning float storage into string. 108 static inline bool fromString(const std::string &str, T &result) 115 if (str.find_first_of(std::string("\r\n\t\v ")) != std::string [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | ParcelableString.java | 27 public String string; field in class:ParcelableString 36 out.writeString(string); 44 ret.string = in.readString();
|
/frameworks/compile/libbcc/include/bcc/Renderscript/ |
H A D | RSScriptGroupFusion.h | 21 #include <string> 44 const std::string& fusedName, 48 const std::string& newName, llvm::Module* mergedModule);
|
/frameworks/compile/slang/ |
H A D | slang_rs_reflect_utils.cpp | 21 #include <string> 33 using std::string; 35 string RSSlangReflectUtils::GetFileNameStem(const char *fileName) { 48 return string(slash, dot - slash); 51 string RSSlangReflectUtils::ComputePackagedPath(const char *prefixPath, 53 string packaged_path(prefixPath); 69 static string InternalFileNameConvert(const char *rsFileName, bool toLower) { 95 return string(ret); 98 std::string 103 std::string RootNameFromRSFileNam [all...] |
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/plugin/ |
H A D | Stream.cpp | 21 using std::string; 24 Stream::Stream(const string &mappingValue, 43 bool Stream::receiveFromHW(string & /*error*/) 49 bool Stream::sendToHW(string & /*error*/)
|
H A D | Usage.cpp | 21 using std::string; 24 Usage::Usage(const string &mappingValue, 43 bool Usage::receiveFromHW(string & /*error*/) 49 bool Usage::sendToHW(string & /*error*/)
|
/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
H A D | Element.h | 20 #include <string> 34 Element(const std::string &name) 42 * @returns string representing the name of this policy element 44 const std::string &getName() const { return mName; } 68 * or a string. 79 * or a string. 95 std::string mName; /**< Unique literal Identifier of a policy base element*/
|
/frameworks/base/libs/hwui/ |
H A D | FrameInfo.cpp | 23 const std::string FrameInfoNames[] = {
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
H A D | Utils.java | 17 return R.string.bluetooth_connected; 19 return R.string.bluetooth_connecting; 21 return R.string.bluetooth_disconnected; 23 return R.string.bluetooth_disconnecting;
|
/frameworks/base/tools/aapt/tests/ |
H A D | TestHelper.h | 28 return stream << str.string();
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
H A D | WifiP2pProvDiscEvent.java | 47 * @param string formats supported include 57 public WifiP2pProvDiscEvent(String string) throws IllegalArgumentException { argument 58 String[] tokens = string.split(" "); 61 throw new IllegalArgumentException("Malformed event " + string); 68 else throw new IllegalArgumentException("Malformed event " + string);
|
/frameworks/compile/mclinker/include/mcld/Script/ |
H A D | ScriptFile.h | 16 #include <string> 78 const std::string& name() const { return m_Name; } 79 std::string& name() { return m_Name; } 85 void addEntryPoint(const std::string& pSymbol); 89 void addOutputFormatCmd(const std::string& pFormat); 90 void addOutputFormatCmd(const std::string& pDefault, 91 const std::string& pBig, 92 const std::string& pLittle); 109 void addOutputCmd(const std::string& pFileName); 112 void addSearchDirCmd(const std::string [all...] |
/frameworks/compile/mclinker/lib/Core/ |
H A D | LinkerScript.cpp | 34 const std::string& LinkerScript::entry() const { 38 void LinkerScript::setEntry(const std::string& pEntry) { 46 const std::string& LinkerScript::outputFile() const { 50 void LinkerScript::setOutputFile(const std::string& pOutputFile) {
|
/frameworks/compile/mclinker/lib/Script/ |
H A D | OutputFormatCmd.cpp | 17 OutputFormatCmd::OutputFormatCmd(const std::string& pFormat) 22 OutputFormatCmd::OutputFormatCmd(const std::string& pDefault, 23 const std::string& pBig, 24 const std::string& pLittle)
|
/frameworks/compile/mclinker/lib/Target/AArch64/ |
H A D | AArch64Diagnostic.cpp | 19 const std::string& pTriple) {
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
H A D | HexagonDiagnostic.cpp | 20 const std::string& pTriple) {
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
H A D | BindToFinalObservableFieldTest.java | 31 final PublicFinalWithObservableTestVo vo = new PublicFinalWithObservableTestVo(R.string.app_name); 35 assertEquals(getActivity().getResources().getString(R.string.app_name), textView.getText().toString()); 36 vo.myFinalVo.setVal(R.string.rain); 39 + " binder flags.", getActivity().getResources().getString(R.string.rain),
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | GLExtensions.cpp | 67 return mVendor.string(); 71 return mRenderer.string(); 75 return mVersion.string(); 79 return mExtensions.string();
|
/frameworks/av/drm/common/ |
H A D | ReadWriteUtils.cpp | 37 file = fopen(filePath.string(), "r"); 39 String8 string(""); 48 string.append(bytes, length); 54 return string; 59 file = fopen(filePath.string(), "r"); 80 file = fopen(filePath.string(), "w+"); 87 if (size != write(fd, data.string(), size)) { 88 ALOGE("Failed to write the data to: %s", filePath.string()); 97 file = fopen(filePath.string(), "a+"); 103 if (size != write(fd, data.string(), siz [all...] |