/frameworks/native/libs/ui/ |
D | DebugUtils.cpp | 28 std::string decodeStandard(android_dataspace dataspace) { in decodeStandard() 32 return std::string("BT709"); in decodeStandard() 35 return std::string("BT601_625"); in decodeStandard() 38 return std::string("BT601_625_UNADJUSTED"); in decodeStandard() 41 return std::string("BT601_525"); in decodeStandard() 44 return std::string("BT601_525_UNADJUSTED"); in decodeStandard() 47 return std::string("BT2020"); in decodeStandard() 50 return std::string("BT2020 (constant luminance)"); in decodeStandard() 53 return std::string("BT470M"); in decodeStandard() 56 return std::string("FILM"); in decodeStandard() [all …]
|
/frameworks/av/media/libstagefright/xmlparser/test/ |
D | XMLParserTest.cpp | 35 string codecName; 40 string roleName; 41 string typeName; 42 string codecName; 45 vector<pair<string, string>> attributeMap; 60 void setCodecProperties(string codecName, bool isEncoder, int32_t order, set<string> quirkSet, 61 set<string> domainSet, set<string> variantSet, string typeName, 62 vector<pair<string, string>> domain, vector<string> aliases, 63 string rank); 65 void setRoleProperties(string roleName, bool isEncoder, int32_t order, string typeName, [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::optional<std::string>& uuid, int32_t userId, 45 binder::Status destroyUserData(const std::optional<std::string>& uuid, int32_t userId, 48 const std::optional<std::vector<std::optional<std::string>>>& uuids, 49 const std::optional<std::vector<std::optional<std::string>>>& packageNames, 51 const std::vector<std::string>& seInfos, const std::vector<int32_t>& targetSdkVersions, 53 binder::Status createAppData(const std::optional<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::optional<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); 50 std::string create_data_app_package_path(const char* volume_uuid, const char* package_name); 52 std::string create_data_user_ce_path(const char* volume_uuid, userid_t userid); 53 std::string create_data_user_de_path(const char* volume_uuid, userid_t userid); 55 std::string create_data_user_ce_package_path(const char* volume_uuid, 57 std::string create_data_user_ce_package_path(const char* volume_uuid, 59 std::string create_data_user_de_package_path(const char* volume_uuid, 61 std::string create_data_user_ce_package_path_as_user_link( 64 std::string create_data_misc_ce_rollback_base_path(const char* volume_uuid, userid_t user); [all …]
|
D | dexopt.h | 50 bool clear_primary_reference_profile(const std::string& pkgname, const std::string& profile_name); 52 bool clear_primary_current_profile(const std::string& pkgname, const std::string& profile_name, 55 bool clear_primary_current_profiles(const std::string& pkgname, const std::string& profile_name); 64 const std::string& pkgname, 65 const std::string& profile_name); 82 const std::string& package, 83 const std::string& profile_name, 84 const std::string& classpath); 87 const std::string& pkgname, 88 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/base/tools/stats_log_api_gen/ |
D | utils.h | 33 const string DEFAULT_MODULE_NAME = "DEFAULT"; 34 const string DEFAULT_CPP_NAMESPACE = "android,util"; 35 const string DEFAULT_CPP_HEADER_IMPORT = "statslog.h"; 36 const string DEFAULT_ATOMS_INFO_CPP_HEADER_IMPORT = "atoms_info.h"; 37 const string DEFAULT_JAVA_PACKAGE = "android.util"; 38 const string DEFAULT_JAVA_CLASS = "StatsLogInternal"; 43 string make_constant_name(const string& str); 49 bool atom_needed_for_module(const AtomDecl& atomDecl, const string& moduleName); 51 bool signature_needed_for_module(const set<string>& modules, const string& moduleName); 54 void write_namespace(FILE* out, const string& cppNamespaces); [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/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/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/libs/graphicsenv/include/graphicsenv/ |
D | GraphicsEnv.h | 52 std::string driverPackageName; 53 std::string driverVersionName; 56 std::string appPackageName; 106 void setDriverPathAndSphalLibraries(const std::string path, const std::string sphalLibraries); 109 void setGpuStats(const std::string& driverPackageName, const std::string& driverVersionName, 111 const std::string& appPackageName, const int32_t vulkanVersion); 117 bool shouldUseAngle(std::string appName); 124 void setAngleInfo(const std::string path, const std::string appName, std::string devOptIn, 127 std::string& getAngleAppName(); 129 void setLayerPaths(NativeLoaderNamespace* appNamespace, const std::string layerPaths); [all …]
|
/frameworks/native/cmds/dumpstate/ |
D | dumpstate.h | 76 explicit DurationReporter(const std::string& title, bool logcat_only = false, 82 std::string title_; 117 explicit Progress(const std::string& path = ""); 135 void Dump(int fd, const std::string& prefix) const; 139 const std::string& path = ""); // Used by test cases. 148 std::string path_; 156 static std::string VERSION_CURRENT = "2.0"; 162 static std::string VERSION_SPLIT_ANR = "3.0-dev-split-anr"; 167 static std::string VERSION_DEFAULT = "default"; 172 static const std::string DUMPSTATE_DIRECTORY = "/bugreports"; [all …]
|
/frameworks/av/media/utils/fuzzers/ |
D | BatteryNotifierFuzz.cpp | 30 std::vector<std::function<void(std::string /*flashlight_name*/, std::string /*camera_name*/, 34 [](std::string, std::string, uid_t, uid_t, uid_t, uid_t) -> void { in __anoneb7c61470102() 37 [](std::string, std::string, uid_t, uid_t, uid_t, uid_t) -> void { in __anoneb7c61470202() 40 [](std::string, std::string, uid_t, uid_t, uid_t, uid_t) -> void { in __anoneb7c61470302() 43 [](std::string, std::string, uid_t, uid_t, uid_t, uid_t) -> void { in __anoneb7c61470402() 46 [](std::string, std::string, uid_t video_id, uid_t, uid_t, uid_t) -> void { in __anoneb7c61470502() 49 [](std::string, std::string, uid_t video_id, uid_t, uid_t, uid_t) -> void { in __anoneb7c61470602() 52 [](std::string, std::string, uid_t, uid_t audio_id, uid_t, uid_t) -> void { in __anoneb7c61470702() 55 [](std::string, std::string, uid_t, uid_t audio_id, uid_t, uid_t) -> void { in __anoneb7c61470802() 58 [](std::string flashlight_name, std::string, uid_t, uid_t, uid_t light_id, uid_t) -> void { in __anoneb7c61470902() [all …]
|