/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
H A D | TypeConverter.h | 24 #include <string> 86 static void collectionFromString(const std::string &str, typename Traits::Collection &collection, 92 if (utilities::convertTo<std::string, typename Traits::Type >(cstr, value)) { 103 static bool toString(const typename Traits::Type &value, std::string &str); 105 static bool fromString(const std::string &str, typename Traits::Type &result); 107 static void collectionFromString(const std::string &str, 111 static uint32_t maskFromString(const std::string &str, const char *del = "|"); 134 static SampleRateTraits::Collection samplingRatesFromString(const std::string &samplingRates, 142 static FormatTraits::Collection formatsFromString(const std::string &formats, const char *del = "|") 149 static audio_format_t formatFromString(const std::string [all...] |
/frameworks/compile/slang/ |
H A D | slang_rs_context.h | 24 #include <string> 84 std::string mPrecision; 95 std::string *mLicenseNote; 96 std::string mReflectJavaPackageName; 97 std::string mReflectJavaPathName; 99 std::string mRSPackageName; 168 inline void setLicenseNote(const std::string &S) { 169 mLicenseNote = new std::string(S); 171 inline const std::string *getLicenseNote() const { return mLicenseNote; } 173 inline void addExportType(const std::string [all...] |
H A D | slang_rs_reflection.cpp | 26 #include <string> 88 void genAddElement(const RSExportType *ET, const std::string &VarName, 91 void genAddStatementEnd(const std::string &VarName, unsigned ArraySize); 95 std::string createPaddingField() { 103 std::string mPaddingPrefix; 187 std::string GetTypeName(const RSExportType *ET, unsigned Style = TypeNameDefault) { 221 std::string ElementTypeName = GetTypeName(CAT->getElementType(), Style); 243 std::string GetReduceResultTypeName(const RSExportType *ET) { 259 std::string GetReduceResultTypeName(const RSExportReduce *ER) { 291 static std::string GetBuiltinElementConstruc [all...] |
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/jni/ |
H A D | jni_stochastic_linear_ranker.cpp | 23 #include <string> 24 using std::string; 31 const int length, SparseWeightVector<string> * sample) { 52 SparseWeightVector<string> *sample) { 54 SparseWeightVector<string>::Wmap w_ = sample->GetMap(); 56 for ( SparseWeightVector<string>::Witer_const iter = w_.begin(); 58 std::string key = iter->first; 77 StochasticLinearRanker<string>* classifier = (StochasticLinearRanker<string>*) paPtr; 84 SparseWeightVector<string> mode [all...] |
/frameworks/base/core/java/android/app/admin/ |
H A D | DeviceAdminInfo.java | 196 com.android.internal.R.string.policylab_wipeData, 197 com.android.internal.R.string.policydesc_wipeData, 198 com.android.internal.R.string.policylab_wipeData_secondaryUser, 199 com.android.internal.R.string.policydesc_wipeData_secondaryUser 202 com.android.internal.R.string.policylab_resetPassword, 203 com.android.internal.R.string.policydesc_resetPassword)); 205 com.android.internal.R.string.policylab_limitPassword, 206 com.android.internal.R.string.policydesc_limitPassword)); 208 com.android.internal.R.string.policylab_watchLogin, 209 com.android.internal.R.string [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | WorkModeTile.java | 88 return mContext.getString(R.string.quick_settings_work_mode_label); 99 state.label = mContext.getString(R.string.quick_settings_work_mode_label); 103 R.string.accessibility_quick_settings_work_mode_on); 107 R.string.accessibility_quick_settings_work_mode_off); 121 return mContext.getString(R.string.accessibility_quick_settings_work_mode_changed_on); 123 return mContext.getString(R.string.accessibility_quick_settings_work_mode_changed_off);
|
H A D | CellularTile.java | 99 return mContext.getString(R.string.quick_settings_cellular_detail_title); 124 : r.getString(R.string.quick_settings_rssi_emergency_only); 128 : r.getString(R.string.accessibility_no_signal); 133 String enabledDesc = cb.enabled ? r.getString(R.string.accessibility_cell_data_on) 134 : r.getString(R.string.accessibility_cell_data_off); 137 R.string.accessibility_quick_settings_mobile, 141 R.string.accessibility_quick_settings_mobile, 142 r.getString(R.string.accessibility_cell_data), signalContentDesc, 146 R.string.accessibility_quick_settings_open_settings, getTileLabel()); 164 public static String removeTrailingPeriod(String string) { argument [all...] |
H A D | DataSaverTile.java | 68 dialog.setTitle(com.android.internal.R.string.data_saver_enable_title); 69 dialog.setMessage(com.android.internal.R.string.data_saver_description); 70 dialog.setPositiveButton(com.android.internal.R.string.data_saver_enable_button, 77 dialog.setNegativeButton(com.android.internal.R.string.cancel, null); 92 return mContext.getString(R.string.data_saver); 99 state.label = mContext.getString(R.string.data_saver); 115 return mContext.getString(R.string.accessibility_quick_settings_data_saver_changed_on); 117 return mContext.getString(R.string.accessibility_quick_settings_data_saver_changed_off);
|
H A D | RotationLockTile.java | 98 final int label = portrait ? R.string.quick_settings_rotation_locked_portrait_label 99 : R.string.quick_settings_rotation_locked_landscape_label; 103 state.label = mContext.getString(R.string.quick_settings_rotation_unlocked_label); 129 * Get the correct accessibility string based on the state 135 return mContext.getString(R.string.accessibility_quick_settings_rotation) + "," 136 + mContext.getString(R.string.accessibility_quick_settings_rotation_value, 139 R.string.quick_settings_rotation_locked_portrait_label) 141 R.string.quick_settings_rotation_locked_landscape_label)); 144 return mContext.getString(R.string.accessibility_quick_settings_rotation);
|
/frameworks/compile/mclinker/lib/Support/Unix/ |
H A D | System.inc | 27 static std::string getOSVersion() { 36 std::string getDefaultTargetTriple() { 43 std::string Arch = ArchSplit.first; 45 std::string Triple(Arch); 56 std::string::size_type DarwinDashIdx = Triple.find("-darwin"); 57 if (DarwinDashIdx != std::string::npos) {
|
/frameworks/base/tools/split-select/ |
H A D | Main.cpp | 102 splits.keyAt(i).string(), 103 masterRule->toJson(2).string()); 162 kAndroidNamespace.string(), kAndroidNamespace.size(), 163 kVersionCodeAttr.string(), kVersionCodeAttr.size()); 170 kAndroidNamespace.string(), kAndroidNamespace.size(), 171 kMultiArchAttr.string(), kMultiArchAttr.size()); 178 kAndroidNamespace.string(), kAndroidNamespace.size(), 179 kMinSdkVersionAttr.string(), kMinSdkVersionAttr.size()); 187 int minSdk = strtol(minSdk8.string(), &endPtr, 10); 188 if (endPtr != minSdk8.string() [all...] |
/frameworks/base/tools/aapt2/util/ |
H A D | Files.cpp | 25 #include <string> 68 std::vector<std::string> listFiles(const StringPiece& root, std::string* outError) { 79 std::vector<std::string> files; 144 void appendPath(std::string* base, StringPiece part) { 158 std::string packageToPath(const StringPiece& package) { 159 std::string outPath; 166 Maybe<android::FileMap> mmapPath(const StringPiece& path, std::string* outError) { 194 bool appendArgsFromFile(const StringPiece& path, std::vector<std::string>* outArgList, 195 std::string* outErro [all...] |
/frameworks/base/tools/layoutlib/rename_font/ |
H A D | build_font.py | 203 def ends_in_regular(string): 207 string = string.strip().split()[-1] 208 return string is 'Regular' 211 def get_version(string): 212 string = string.strip() 213 # The spec says that the version string should start with "Version ". But not 214 # all fonts do. So, we return the complete string if it doesn't start with 215 # the prefix, else we return the rest of the string afte [all...] |
/frameworks/base/tools/aapt/ |
H A D | Resource.cpp | 64 const char* firstDot = strchr(leaf.string(), '.'); 65 const char* str = leaf.string(); 139 group->getPath().string(), mParams.mcc, mParams.mnc, 154 file->getPrintableSource().string()); 159 printf("file name=%s\n", mBaseName.string()); 229 grp->getFiles().valueAt(0)->getPrintableSource().string()); 250 file->getPrintableSource().string(), block.getLineNumber()); 253 if (strcmp16(block.getElementName(&len), String16("manifest").string()) != 0) { 255 file->getPrintableSource().string(), block.getLineNumber(), 256 String8(block.getElementName(&len)).string()); [all...] |
/frameworks/av/services/camera/libcameraservice/ |
H A D | CameraFlashlight.cpp | 51 cameraId.string()); 72 atoi(String8(cameraId).string()), &info); 75 __FUNCTION__, cameraId.string()); 108 cameraId.string(), enabled); 123 __FUNCTION__, cameraId.string()); 172 id.string()); 178 id.string()); 182 " (%d)", __FUNCTION__, id.string(), strerror(-res), 210 __FUNCTION__, cameraId.string()); 238 String8::format("%d", i).string(), [all...] |
/frameworks/base/libs/androidfw/tests/ |
H A D | TestHelpers.cpp | 33 return ::testing::AssertionFailure() << "resource is not a string"; 38 return ::testing::AssertionFailure() << "table has no string pool for block " << block; 43 return ::testing::AssertionFailure() << actual.string(); 45 return ::testing::AssertionSuccess() << actual.string();
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | FactoryErrorDialog.java | 29 setTitle(context.getText(com.android.internal.R.string.factorytest_failed)); 32 context.getText(com.android.internal.R.string.factorytest_reboot),
|
/frameworks/base/tools/aapt2/flatten/ |
H A D | Archive.h | 28 #include <string> 39 std::string path;
|
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
H A D | BitReader_2_7.h | 27 #include <string> 53 /// triple information. If successful, this returns a string. On error, this 55 std::string
|
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/ |
H A D | BitReader_3_0.h | 27 #include <string> 53 /// triple information. If successful, this returns a string. On error, this 55 std::string
|
/frameworks/compile/mclinker/include/mcld/ |
H A D | Linker.h | 12 #include <string> 55 bool emit(const Module& pModule, const std::string& pPath);
|
/frameworks/compile/mclinker/include/mcld/Object/ |
H A D | ObjectBuilder.h | 16 #include <string> 51 LDSection* CreateSection(const std::string& pInputName,
|
/frameworks/compile/mclinker/include/mcld/Script/ |
H A D | OutputSectDesc.h | 14 #include <string> 109 const std::string& region() const { 115 const std::string& lmaRegion() const { 147 const std::string* m_pRegion; 148 const std::string* m_pLMARegion; 160 OutputSectDesc(const std::string& pName, const Prolog& pProlog); 173 const std::string& name() const { return m_Name; } 197 std::string m_Name;
|
H A D | WildcardPattern.h | 38 WildcardPattern(const std::string& pPattern, SortPolicy pPolicy); 54 static WildcardPattern* create(const std::string& pPattern,
|
/frameworks/compile/mclinker/lib/MC/ |
H A D | SearchDirs.cpp | 19 static inline void SpecToFilename(const std::string& pSpec, 20 std::string& pFile) { 47 bool SearchDirs::insert(const std::string& pPath) { 63 return insert(std::string(pPath)); 70 mcld::sys::fs::Path* SearchDirs::find(const std::string& pNamespec, 75 std::string file; 135 const mcld::sys::fs::Path* SearchDirs::find(const std::string& pNamespec, 140 std::string file;
|