/frameworks/native/libs/ui/ |
D | DebugUtils.cpp | 30 std::string decodeStandard(android_dataspace dataspace) { in decodeStandard() 34 return std::string("BT709"); in decodeStandard() 37 return std::string("BT601_625"); in decodeStandard() 40 return std::string("BT601_625_UNADJUSTED"); in decodeStandard() 43 return std::string("BT601_525"); in decodeStandard() 46 return std::string("BT601_525_UNADJUSTED"); in decodeStandard() 49 return std::string("BT2020"); in decodeStandard() 52 return std::string("BT2020 (constant luminance)"); in decodeStandard() 55 return std::string("BT470M"); in decodeStandard() 58 return std::string("FILM"); in decodeStandard() [all …]
|
/frameworks/rs/script_api/ |
D | Specification.h | 62 std::string type; 63 std::string name; 71 std::string testOption; 72 std::string documentation; 80 std::string rsType; // The Renderscript type, e.g. "uint3" 81 std::string rsBaseType; // As above but without the number, e.g. "uint" 82 std::string javaBaseType; // The type we need to declare in Java, e.g. "unsigned int" 83 std::string specType; // The type found in the spec, e.g. "f16" 88 std::string mVectorSize; 92 std::string vectorWidth; [all …]
|
D | Utilities.h | 25 std::string capitalize(const std::string& source); 28 void trimSpaces(std::string* s); 31 std::string stringReplace(std::string s, std::string match, std::string rep); 34 bool charRemoved(char c, std::string* s); 37 std::string stripHtml(const std::string& html); 40 std::string hashString(const std::string& s); 43 bool testAndSet(const std::string& flag, std::set<std::string>* set); 53 std::string makeAttributeTag(const std::string& userAttribute, 54 … const std::string& additionalAttribute, unsigned int deprecatedApiLevel, 55 const std::string& deprecatedMessage); [all …]
|
D | Utilities.cpp | 45 string capitalize(const string& source) { in capitalize() 47 string result; in capitalize() 62 void trimSpaces(string* s) { in trimSpaces() 64 if (end == string::npos) { in trimSpaces() 77 string stringReplace(string s, string match, string rep) { in stringReplace() 81 if (p == string::npos) break; in stringReplace() 89 bool charRemoved(char c, string* s) { in charRemoved() 91 if (p != string::npos) { in charRemoved() 98 string stripHtml(const string& html) { in stripHtml() 99 string in = stringReplace(html, "<li>", "- "); in stripHtml() [all …]
|
/frameworks/native/cmds/installd/ |
D | InstalldNativeService.h | 43 binder::Status createUserData(const std::unique_ptr<std::string>& uuid, int32_t userId, 45 binder::Status destroyUserData(const std::unique_ptr<std::string>& uuid, int32_t userId, 48 const std::unique_ptr<std::vector<std::unique_ptr<std::string>>>& uuids, 49 const std::unique_ptr<std::vector<std::unique_ptr<std::string>>>& packageNames, 51 const std::vector<std::string>& seInfos, const std::vector<int32_t>& targetSdkVersions, 53 binder::Status createAppData(const std::unique_ptr<std::string>& uuid, 54 const std::string& packageName, int32_t userId, int32_t flags, int32_t appId, 55 const std::string& seInfo, int32_t targetSdkVersion, int64_t* _aidl_return); 56 binder::Status restoreconAppData(const std::unique_ptr<std::string>& uuid, 57 const std::string& packageName, int32_t userId, int32_t flags, int32_t appId, [all …]
|
D | utils.h | 47 std::string create_data_path(const char* volume_uuid); 49 std::string create_data_app_path(const char* volume_uuid); 51 std::string create_data_user_ce_path(const char* volume_uuid, userid_t userid); 52 std::string create_data_user_de_path(const char* volume_uuid, userid_t userid); 54 std::string create_data_user_ce_package_path(const char* volume_uuid, 56 std::string create_data_user_ce_package_path(const char* volume_uuid, 58 std::string create_data_user_de_package_path(const char* volume_uuid, 60 std::string create_data_user_ce_package_path_as_user_link( 63 std::string create_data_misc_ce_rollback_base_path(const char* volume_uuid, userid_t user); 64 std::string create_data_misc_de_rollback_base_path(const char* volume_uuid, userid_t user); [all …]
|
D | dexopt.h | 48 bool clear_primary_reference_profile(const std::string& pkgname, const std::string& profile_name); 50 bool clear_primary_current_profile(const std::string& pkgname, const std::string& profile_name, 53 bool clear_primary_current_profiles(const std::string& pkgname, const std::string& profile_name); 62 const std::string& pkgname, 63 const std::string& profile_name); 80 const std::string& package, 81 const std::string& profile_name, 82 const std::string& classpath); 85 const std::string& pkgname, 86 const std::string& profile_name, [all …]
|
/frameworks/base/cmds/incident_helper/src/ |
D | ih_util.h | 29 typedef std::vector<std::string> header_t; 30 typedef std::vector<std::string> record_t; 31 typedef std::string (*trans_func) (const std::string&); 33 const std::string DEFAULT_WHITESPACE = " \t"; 34 const std::string DEFAULT_NEWLINE = "\r\n"; 35 const std::string TAB_DELIMITER = "\t"; 36 const std::string COMMA_DELIMITER = ","; 37 const std::string PIPE_DELIMITER = "|"; 38 const std::string PARENTHESES_DELIMITER = "()"; 44 std::string trim(const std::string& s, const std::string& charset); [all …]
|
/frameworks/base/core/proto/android/os/ |
D | system_properties.proto | 34 optional string name = 1; 35 optional string value = 2; 71 optional string appimageformat = 1; 72 optional string backgroundgctype = 2; 74 optional string dex2oat_filter = 4; 75 optional string dex2oat_flags = 5; 77 optional string dex2oat_Xms = 7; 78 optional string dex2oat_Xmx = 8; 80 optional string execution_mode = 10; 81 optional string extra_opts = 11; [all …]
|
/frameworks/base/tools/bit/ |
D | util.h | 35 explicit FileInfo(const string& filename); 47 string filename; 52 explicit TrackedFile(const string& filename); 63 void get_directory_contents(const string& dir, map<string,FileInfo>* results); 65 bool directory_contents_differ(const map<string,FileInfo>& before, 66 const map<string,FileInfo>& after); 68 string escape_quotes(const char* str); 70 string escape_for_commandline(const char* str); 72 string trim(const string& trim); 74 bool starts_with(const string& str, const string& prefix); [all …]
|
D | make.h | 28 string name; 29 vector<string> classes; 30 vector<string> paths; 31 vector<string> installed; 33 bool HasClass(const string& cl); 43 BuildVars(const string& outDir, const string& buildProduct, 44 const string& buildVariant, const string& buildType); 47 string GetBuildVar(const string& name, bool quiet); 52 string m_filename; 54 map<string,string> m_cache; [all …]
|
D | make.cpp | 39 map_contains(const map<string,string>& m, const string& k, const string& v) { in map_contains() argument 40 map<string,string>::const_iterator it = m.find(k); in map_contains() 47 static string 48 make_cache_filename(const string& outDir) in make_cache_filename() 50 string filename(outDir); in make_cache_filename() 55 Module::HasClass(const string& cl) in HasClass() 57 for (vector<string>::const_iterator c = classes.begin(); c != classes.end(); c++) { in HasClass() 66 BuildVars::BuildVars(const string& outDir, const string& buildProduct, in BuildVars() 67 const string& buildVariant, const string& buildType) in BuildVars() 101 map<string,string> cache; in BuildVars() [all …]
|
D | aapt.cpp | 29 const string ANDROID_NS("http://schemas.android.com/apk/res/android"); 32 Apk::HasActivity(const string& className) in HasActivity() 34 string fullClassName = full_class_name(package, className); in HasActivity() 45 string ns; 46 string name; 47 string value; 52 string ns; 53 string name; 67 string GetAttr(const string& ns, const string& name) const; 68 void FindElements(const string& ns, const string& name, vector<Element*>* result, bool recurse); [all …]
|
D | util.cpp | 36 FileInfo::FileInfo(const string& filename) in FileInfo() 84 TrackedFile::TrackedFile(const string& file) in TrackedFile() 102 get_directory_contents(const string& name, map<string,FileInfo>* results) in get_directory_contents() argument 115 string subdir = name + "/" + entry->d_name; in get_directory_contents() 118 string filename(name + "/" + entry->d_name); in get_directory_contents() 127 directory_contents_differ(const map<string,FileInfo>& before, const map<string,FileInfo>& after) in directory_contents_differ() argument 132 map<string,FileInfo>::const_iterator b = before.begin(); in directory_contents_differ() 133 map<string,FileInfo>::const_iterator a = after.begin(); in directory_contents_differ() 147 string 150 string result; in escape_quotes() [all …]
|
/frameworks/av/services/mediametrics/ |
D | AudioTypes.cpp | 23 const std::unordered_map<std::string, int32_t>& getAudioCallerNameMap() { in getAudioCallerNameMap() 26 static std::unordered_map<std::string, int32_t> map{ in getAudioCallerNameMap() 46 const std::unordered_map<std::string, int64_t>& getAudioDeviceInMap() { in getAudioDeviceInMap() 48 static std::unordered_map<std::string, int64_t> map{ in getAudioDeviceInMap() 89 const std::unordered_map<std::string, int64_t>& getAudioDeviceOutMap() { in getAudioDeviceOutMap() 91 static std::unordered_map<std::string, int64_t> map{ in getAudioDeviceOutMap() 128 const std::unordered_map<std::string, int32_t>& getAudioThreadTypeMap() { in getAudioThreadTypeMap() 131 static std::unordered_map<std::string, int32_t> map{ in getAudioThreadTypeMap() 145 const std::unordered_map<std::string, int32_t>& getAudioTrackTraitsMap() { in getAudioTrackTraitsMap() 147 static std::unordered_map<std::string, int32_t> map{ in getAudioTrackTraitsMap() [all …]
|
/frameworks/compile/slang/ |
D | slang_rs_reflection.h | 54 std::string mPackageName; 58 std::string mRSPackageName; 62 std::string mOutputBaseDirectory; 66 std::string mOutputDirectory; 69 std::string mRSSourceFileName; 71 std::string mBitCodeFileName; 75 std::string mResourceId; 78 std::string mScriptClassName; 81 std::string mClassName; 84 std::string mItemSizeof; [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | MimeIconUtils.java | 60 R.string.mime_type_folder, -1); in buildTypeInfo() 64 R.string.mime_type_apk, -1); in buildTypeInfo() 77 R.string.mime_type_generic, R.string.mime_type_generic_ext); in buildTypeInfo() 108 R.string.mime_type_document, R.string.mime_type_document_ext); in buildTypeInfo() 129 R.string.mime_type_compressed, R.string.mime_type_compressed_ext); in buildTypeInfo() 134 R.string.mime_type_generic, R.string.mime_type_generic_ext); in buildTypeInfo() 139 R.string.mime_type_generic, R.string.mime_type_generic_ext); in buildTypeInfo() 146 R.string.mime_type_generic, R.string.mime_type_generic_ext); in buildTypeInfo() 156 R.string.mime_type_image, R.string.mime_type_image_ext); in buildTypeInfo() 160 R.string.mime_type_document, R.string.mime_type_document_ext); in buildTypeInfo() [all …]
|
/frameworks/base/cmds/incidentd/src/ |
D | Broadcaster.h | 56 void clearBroadcasts(const string& pkg, const string& cls, const string& id); 57 void clearPackageBroadcasts(const string& pkg); 68 ReportId(const string& i, const string& p, const string& c); 73 string id; 74 string pkg; 75 string cls; 110 status_t send_approval_broadcasts(const string& id, const string& pkg, const string& cls); 113 status_t send_report_ready_broadcasts(const string& id, const string& pkg, const string& cls); 115 bool was_approval_sent(const string& id, const string& pkg, const string& cls); 116 void set_approval_sent(const string& id, const string& pkg, const string& cls, [all …]
|
/frameworks/native/libs/graphicsenv/include/graphicsenv/ |
D | GraphicsEnv.h | 58 void setDriverPathAndSphalLibraries(const std::string path, const std::string sphalLibraries); 61 std::string getDriverPath() const; 69 void setGpuStats(const std::string& driverPackageName, const std::string& driverVersionName, 71 const std::string& appPackageName, const int32_t vulkanVersion); 91 bool shouldUseAngle(std::string appName); 99 void setAngleInfo(const std::string path, const std::string appName, std::string devOptIn, 104 std::string& getAngleAppName(); 110 void setLayerPaths(NativeLoaderNamespace* appNamespace, const std::string layerPaths); 114 const std::string& getLayerPaths(); 116 void setDebugLayers(const std::string layers); [all …]
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/ |
D | ClearKeyDrmProperties.h | 28 static const std::string kVendorKey("vendor"); 29 static const std::string kVendorValue("Google"); 30 static const std::string kVersionKey("version"); 31 static const std::string kVersionValue("1.2"); 32 static const std::string kPluginDescriptionKey("description"); 33 static const std::string kPluginDescriptionValue("ClearKey CDM"); 34 static const std::string kAlgorithmsKey("algorithms"); 35 static const std::string kAlgorithmsValue(""); 36 static const std::string kListenerTestSupportKey("listenerTestSupport"); 37 static const std::string kListenerTestSupportValue("true"); [all …]
|
/frameworks/base/cmds/idmap2/tests/ |
D | ResourceMappingTests.cpp | 51 const std::string target_apk_path(GetTestDataPath() + local_target_apk_path.data()); in TestGetResourceMapping() 57 const std::string overlay_apk_path(GetTestDataPath() + local_overlay_apk_path.data()); in TestGetResourceMapping() 121 ASSERT_RESULT(MappingExists(res, R::target::string::str1, Res_value::TYPE_REFERENCE, in TEST() 122 R::overlay::string::str1, false /* rewrite */)); in TEST() 123 ASSERT_RESULT(MappingExists(res, R::target::string::str3, Res_value::TYPE_REFERENCE, in TEST() 124 R::overlay::string::str3, false /* rewrite */)); in TEST() 125 ASSERT_RESULT(MappingExists(res, R::target::string::str4, Res_value::TYPE_REFERENCE, in TEST() 126 R::overlay::string::str4, false /* rewrite */)); in TEST() 141 ASSERT_RESULT(MappingExists(res, R::target::string::str1, Res_value::TYPE_DYNAMIC_REFERENCE, in TEST() 142 R::overlay::string::str4, true /* rewrite */)); in TEST() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | AccessibilityContentDescriptions.java | 14 R.string.accessibility_no_phone, 15 R.string.accessibility_phone_one_bar, 16 R.string.accessibility_phone_two_bars, 17 R.string.accessibility_phone_three_bars, 18 R.string.accessibility_phone_signal_full 22 R.string.accessibility_no_data, 23 R.string.accessibility_data_one_bar, 24 R.string.accessibility_data_two_bars, 25 R.string.accessibility_data_three_bars, 26 R.string.accessibility_data_signal_full [all …]
|
/frameworks/base/cmds/idmap2/include/idmap2/ |
D | CommandLineOptions.h | 36 static std::unique_ptr<std::vector<std::string>> ConvertArgvToVector(int argc, const char** argv); 38 explicit CommandLineOptions(const std::string& name) : name_(name) { in CommandLineOptions() 41 CommandLineOptions& OptionalFlag(const std::string& name, const std::string& description, 43 CommandLineOptions& MandatoryOption(const std::string& name, const std::string& description, 44 std::string* value); 45 CommandLineOptions& MandatoryOption(const std::string& name, const std::string& description, 46 std::vector<std::string>* value); 47 CommandLineOptions& OptionalOption(const std::string& name, const std::string& description, 48 std::string* value); 49 CommandLineOptions& OptionalOption(const std::string& name, const std::string& description, [all …]
|
/frameworks/native/cmds/dumpstate/ |
D | dumpstate.h | 77 explicit DurationReporter(const std::string& title, bool logcat_only = false, 83 std::string title_; 118 explicit Progress(const std::string& path = ""); 136 void Dump(int fd, const std::string& prefix) const; 140 const std::string& path = ""); // Used by test cases. 149 std::string path_; 157 static std::string VERSION_CURRENT = "2.0"; 163 static std::string VERSION_SPLIT_ANR = "3.0-dev-split-anr"; 168 static std::string VERSION_DEFAULT = "default"; 173 static const std::string DUMPSTATE_DIRECTORY = "/bugreports"; [all …]
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/ |
D | DumpHelpers.h | 31 void dumpVal(std::string& out, const char* name, bool); 32 void dumpVal(std::string& out, const char* name, const void*); 33 void dumpVal(std::string& out, const char* name, int); 34 void dumpVal(std::string& out, const char* name, float); 35 void dumpVal(std::string& out, const char* name, uint32_t); 36 void dumpHex(std::string& out, const char* name, uint64_t); 37 void dumpVal(std::string& out, const char* name, const char* value); 38 void dumpVal(std::string& out, const char* name, const std::string& value); 41 void dumpVal(std::string& out, const char* name, const char*, int); 42 void dumpVal(std::string& out, const char* name, const std::string&, int); [all …]
|