Home
last modified time | relevance | path

Searched refs:name (Results 1 – 25 of 2575) sorted by relevance

12345678910>>...103

/frameworks/native/opengl/libs/EGL/
DgetProcAddress.cpp208 #define GL_EXTENSION_LIST(name) \ argument
209 name(0) name(1) name(2) name(3) name(4) name(5) name(6) name(7) \
210 name(8) name(9) name(10) name(11) name(12) name(13) name(14) name(15) \
211 name(16) name(17) name(18) name(19) name(20) name(21) name(22) name(23) \
212 name(24) name(25) name(26) name(27) name(28) name(29) name(30) name(31) \
213 name(32) name(33) name(34) name(35) name(36) name(37) name(38) name(39) \
214 name(40) name(41) name(42) name(43) name(44) name(45) name(46) name(47) \
215 name(48) name(49) name(50) name(51) name(52) name(53) name(54) name(55) \
216 name(56) name(57) name(58) name(59) name(60) name(61) name(62) name(63) \
217 name(64) name(65) name(66) name(67) name(68) name(69) name(70) name(71) \
[all …]
/frameworks/base/tools/aapt/
DAaptConfig.cpp299 bool parseMcc(const char* name, ResTable_config* out) { in parseMcc() argument
300 if (strcmp(name, kWildcardName) == 0) { in parseMcc()
304 const char* c = name; in parseMcc()
329 bool parseMnc(const char* name, ResTable_config* out) { in parseMnc() argument
330 if (strcmp(name, kWildcardName) == 0) { in parseMnc()
334 const char* c = name; in parseMnc()
360 bool parseLayoutDirection(const char* name, ResTable_config* out) { in parseLayoutDirection() argument
361 if (strcmp(name, kWildcardName) == 0) { in parseLayoutDirection()
366 } else if (strcmp(name, "ldltr") == 0) { in parseLayoutDirection()
371 } else if (strcmp(name, "ldrtl") == 0) { in parseLayoutDirection()
[all …]
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
Dbenchmark.h30 static inline void Btrace(const char* name, int64_t nanoseconds_monotonic);
31 static inline void Btrace(const char* name);
32 static inline void Btrace(FILE* file, const char* name,
34 static inline void Btrace(FILE* file, const char* name);
37 static inline void BtraceData(const char* name, int64_t nanoseconds_monotonic,
39 static inline void BtraceData(const char* name, int64_t data);
40 static inline void BtraceData(FILE* file, const char* name,
42 static inline void BtraceData(FILE* file, const char* name, int64_t data);
44 static inline void Btrace(const char* name, int64_t nanoseconds_monotonic) { in Btrace() argument
47 snprintf(log_message, kLogMessageLength, "#btrace#%s", name); in Btrace()
[all …]
/frameworks/base/tools/aapt2/
DConfigDescription.cpp41 static bool parseMcc(const char* name, ResTable_config* out) { in parseMcc() argument
42 if (strcmp(name, kWildcardName) == 0) { in parseMcc()
46 const char* c = name; in parseMcc()
71 static bool parseMnc(const char* name, ResTable_config* out) { in parseMnc() argument
72 if (strcmp(name, kWildcardName) == 0) { in parseMnc()
76 const char* c = name; in parseMnc()
102 static bool parseLayoutDirection(const char* name, ResTable_config* out) { in parseLayoutDirection() argument
103 if (strcmp(name, kWildcardName) == 0) { in parseLayoutDirection()
109 } else if (strcmp(name, "ldltr") == 0) { in parseLayoutDirection()
115 } else if (strcmp(name, "ldrtl") == 0) { in parseLayoutDirection()
[all …]
DResourceTable.cpp45 return lhs->name.compare(0, lhs->name.size(), rhs.data(), rhs.size()) < 0; in less_than_struct_with_name()
48 ResourceTablePackage* ResourceTable::FindPackage(const StringPiece& name) { in FindPackage() argument
50 auto iter = std::lower_bound(packages.begin(), last, name, in FindPackage()
52 if (iter != last && name == (*iter)->name) { in FindPackage()
67 ResourceTablePackage* ResourceTable::CreatePackage(const StringPiece& name, Maybe<uint8_t> id) { in CreatePackage() argument
68 ResourceTablePackage* package = FindOrCreatePackage(name); in CreatePackage()
80 ResourceTablePackage* ResourceTable::FindOrCreatePackage(const StringPiece& name) { in FindOrCreatePackage() argument
82 auto iter = std::lower_bound(packages.begin(), last, name, in FindOrCreatePackage()
84 if (iter != last && name == (*iter)->name) { in FindOrCreatePackage()
89 new_package->name = name.to_string(); in FindOrCreatePackage()
[all …]
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/util/
DBrNameUtil.java25 private static String stripPrefixFromField(String name) { in stripPrefixFromField() argument
26 if (name.length() >= 2) { in stripPrefixFromField()
27 char firstChar = name.charAt(0); in stripPrefixFromField()
28 char secondChar = name.charAt(1); in stripPrefixFromField()
29 if (name.length() > 2 && firstChar == 'm' && secondChar == '_') { in stripPrefixFromField()
30 char thirdChar = name.charAt(2); in stripPrefixFromField()
33 name.subSequence(3, name.length()); in stripPrefixFromField()
37 return "" + Character.toLowerCase(secondChar) + name.subSequence(2, name.length()); in stripPrefixFromField()
40 return name; in stripPrefixFromField()
45 return stripPrefixFromField(callable.name); in brKey()
[all …]
/frameworks/base/core/java/com/android/internal/util/
DFileRotator.java108 for (String name : mBasePath.list()) { in FileRotator()
109 if (!name.startsWith(mPrefix)) continue; in FileRotator()
111 if (name.endsWith(SUFFIX_BACKUP)) { in FileRotator()
112 if (LOGD) Slog.d(TAG, "recovering " + name); in FileRotator()
114 final File backupFile = new File(mBasePath, name); in FileRotator()
116 mBasePath, name.substring(0, name.length() - SUFFIX_BACKUP.length())); in FileRotator()
121 } else if (name.endsWith(SUFFIX_NO_BACKUP)) { in FileRotator()
122 if (LOGD) Slog.d(TAG, "recovering " + name); in FileRotator()
124 final File noBackupFile = new File(mBasePath, name); in FileRotator()
126 mBasePath, name.substring(0, name.length() - SUFFIX_NO_BACKUP.length())); in FileRotator()
[all …]
DXmlUtils.java189 serializer.setOutput(out, StandardCharsets.UTF_8.name()); in writeMapXml()
212 serializer.setOutput(out, StandardCharsets.UTF_8.name()); in writeListXml()
233 public static final void writeMapXml(Map val, String name, XmlSerializer out) in writeMapXml() argument
235 writeMapXml(val, name, out, null); in writeMapXml()
255 public static final void writeMapXml(Map val, String name, XmlSerializer out, in writeMapXml() argument
265 if (name != null) { in writeMapXml()
266 out.attribute(null, "name", name); in writeMapXml()
318 public static final void writeListXml(List val, String name, XmlSerializer out) in writeListXml() argument
328 if (name != null) { in writeListXml()
329 out.attribute(null, "name", name); in writeListXml()
[all …]
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DAMessage.h97 void setInt32(const char *name, int32_t value);
98 void setInt64(const char *name, int64_t value);
99 void setSize(const char *name, size_t value);
100 void setFloat(const char *name, float value);
101 void setDouble(const char *name, double value);
102 void setPointer(const char *name, void *value);
103 void setString(const char *name, const char *s, ssize_t len = -1);
104 void setString(const char *name, const AString &s);
105 void setObject(const char *name, const sp<RefBase> &obj);
106 void setBuffer(const char *name, const sp<ABuffer> &buffer);
[all …]
/frameworks/support/room/compiler/src/main/kotlin/android/arch/persistence/room/vo/
DField.kt30 data class Field(val element: Element, val name: String, val type: TypeMirror, constant in android.arch.persistence.room.vo.Field
33 val columnName: String = name,
55 name in getPath()
57 "${parent.field.getPath()} > $name" in getPath()
63 name in <lambda>()
65 "${parent.field.pathWithDotNotation}.$name" in <lambda>()
75 val result = arrayListOf(name) in <lambda>()
76 if (name.length > 1) { in <lambda>()
77 if (name.startsWith('_')) { in <lambda>()
78 result.add(name.substring(1)) in <lambda>()
[all …]
/frameworks/base/services/core/jni/
Dcom_android_server_connectivity_Vpn.cpp93 static int get_interface_name(char *name, int tun) in get_interface_name() argument
100 strncpy(name, ifr4.ifr_name, IFNAMSIZ); in get_interface_name()
104 static int get_interface_index(const char *name) in get_interface_index() argument
107 strncpy(ifr4.ifr_name, name, IFNAMSIZ); in get_interface_index()
109 ALOGE("Cannot get index of %s: %s", name, strerror(errno)); in get_interface_index()
115 static int set_addresses(const char *name, const char *addresses) in set_addresses() argument
117 int index = get_interface_index(name); in set_addresses()
124 strncpy(ifr4.ifr_name, name, IFNAMSIZ); in set_addresses()
162 snprintf(ifr4.ifr_name, sizeof(ifr4.ifr_name), "%s:%d", name, count); in set_addresses()
176 ALOGD("Address added on %s: %s/%d", name, address, prefix); in set_addresses()
[all …]
/frameworks/base/tools/apilint/
Dapilint.py67 self.name = raw[1].strip(";")
98 self.name = raw[1]
143 self.fullname = self.pkg.name + "." + self.fullname
146 self.name = self.fullname[self.fullname.rindex(".")+1:]
159 self.name = raw[raw.index("package")+1]
160 self.name_path = self.name.split(".")
268 if re.match("[A-Z0-9_]+", f.name) is None:
271 if f.name.startswith("MIN_") or f.name.startswith("MAX_"):
289 if re.search("[A-Z]{2,}", clazz.name) is not None:
291 if re.match("[^A-Z]", clazz.name):
[all …]
/frameworks/base/services/tests/servicestests/assets/shortcut/
Ddumpsys_expected.txt7 "name": "com.android.launcher.1"
10 "name": "com.android.launcher.2"
13 "name": "com.android.launcher.3"
16 "name": "com.android.launcher.4"
19 "name": "com.android.launcher.1"
24 "name": "com.android.test.1",
32 "name": "com.android.test.2",
40 "name": "com.android.test.3",
48 "name": "com.android.test.4",
61 "name": "com.android.launcher.1"
[all …]
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/
DReplaceMethodCallsAdapter.java65 public boolean isNeeded(String owner, String name, String desc, String sourceClass) { in METHOD_REPLACERS.add() argument
66 return JAVA_LANG_SYSTEM.equals(owner) && "arraycopy".equals(name) && in METHOD_REPLACERS.add()
83 public boolean isNeeded(String owner, String name, String desc, String sourceClass) { in METHOD_REPLACERS.add() argument
85 ("toLanguageTag".equals(name) || "getScript".equals(name)); in METHOD_REPLACERS.add()
107 public boolean isNeeded(String owner, String name, String desc, String sourceClass) { in METHOD_REPLACERS.add() argument
109 ("adjustLanguageCode".equals(name) && desc.equals(STRING_TO_STRING) || in METHOD_REPLACERS.add()
110 "forLanguageTag".equals(name) && desc.equals(STRING_TO_LOCALE) || in METHOD_REPLACERS.add()
111 "getDefault".equals(name) && desc.equals(VOID_TO_LOCALE)); in METHOD_REPLACERS.add()
123 public boolean isNeeded(String owner, String name, String desc, String sourceClass) { in METHOD_REPLACERS.add() argument
124 return JAVA_LANG_SYSTEM.equals(owner) && name.length() == 4 in METHOD_REPLACERS.add()
[all …]
/frameworks/av/media/ndk/
DNdkMediaFormat.cpp89 const char *name = f->getEntryNameAt(i, &t); in AMediaFormat_toString() local
90 ret.append(name); in AMediaFormat_toString()
96 f->findInt32(name, &val); in AMediaFormat_toString()
103 f->findInt64(name, &val); in AMediaFormat_toString()
110 f->findSize(name, &val); in AMediaFormat_toString()
117 f->findFloat(name, &val); in AMediaFormat_toString()
124 f->findDouble(name, &val); in AMediaFormat_toString()
131 f->findString(name, &val); in AMediaFormat_toString()
153 bool AMediaFormat_getInt32(AMediaFormat* format, const char *name, int32_t *out) { in AMediaFormat_getInt32() argument
154 return format->mFormat->findInt32(name, out); in AMediaFormat_getInt32()
[all …]
/frameworks/compile/mclinker/unittests/
DNamePoolTest.cpp64 const char* name = "Hello MCLinker"; in TEST_F() local
74 name, isDyn, type, desc, binding, size, other, NULL, result1); in TEST_F()
76 EXPECT_NE(name, result1.info->name()); in TEST_F()
77 EXPECT_STREQ(name, result1.info->name()); in TEST_F()
87 name, isDyn, type, desc, binding, size, other, NULL, result2); in TEST_F()
89 EXPECT_NE(name, result1.info->name()); in TEST_F()
90 EXPECT_STREQ(name, result1.info->name()); in TEST_F()
102 const char* name = "Hello MCLinker"; in TEST_F() local
111 name, isDyn, type, desc, binding, size, other, NULL, result1); in TEST_F()
113 EXPECT_NE(name, result1.info->name()); in TEST_F()
[all …]
/frameworks/base/core/java/org/apache/http/params/
DHttpParams.java61 Object getParameter(String name); in getParameter() argument
69 HttpParams setParameter(String name, Object value); in setParameter() argument
85 boolean removeParameter(String name); in removeParameter() argument
98 long getLongParameter(String name, long defaultValue); in getLongParameter() argument
106 HttpParams setLongParameter(String name, long value); in setLongParameter() argument
119 int getIntParameter(String name, int defaultValue); in getIntParameter() argument
127 HttpParams setIntParameter(String name, int value); in setIntParameter() argument
140 double getDoubleParameter(String name, double defaultValue); in getDoubleParameter() argument
148 HttpParams setDoubleParameter(String name, double value); in setDoubleParameter() argument
161 boolean getBooleanParameter(String name, boolean defaultValue); in getBooleanParameter() argument
[all …]
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
DImageProcessingTest.java153 runTest(ta, TestName.LEVELS_VEC3_RELAXED.name()); in testLevelsVec3Relaxed()
160 runTest(ta, TestName.LEVELS_VEC4_RELAXED.name()); in testLevelsVec4Relaxed()
167 runTest(ta, TestName.LEVELS_VEC3_FULL.name()); in testLevelsVec3Full()
174 runTest(ta, TestName.LEVELS_VEC4_FULL.name()); in testLevelsVec4Full()
181 runTest(ta, TestName.BLUR_RADIUS_25.name()); in testBlurRadius25()
188 runTest(ta, TestName.INTRINSIC_BLUR_RADIUS_25.name()); in testIntrinsicBlurRadius25()
195 runTest(ta, TestName.GREYSCALE.name()); in testGreyscale()
202 runTest(ta, TestName.GRAIN.name()); in testGrain()
209 runTest(ta, TestName.FISHEYE_FULL.name()); in testFisheyeFull()
216 runTest(ta, TestName.FISHEYE_RELAXED.name()); in testFishEyeRelaxed()
[all …]
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
DImageProcessingTest.java118 runTest(ta, TestName.LEVELS_VEC3_RELAXED.name()); in testLevelsVec3Relaxed()
125 runTest(ta, TestName.LEVELS_VEC4_RELAXED.name()); in testLevelsVec4Relaxed()
132 runTest(ta, TestName.LEVELS_VEC3_FULL.name()); in testLevelsVec3Full()
139 runTest(ta, TestName.LEVELS_VEC4_FULL.name()); in testLevelsVec4Full()
146 runTest(ta, TestName.BLUR_RADIUS_25.name()); in testBlurRadius25()
153 runTest(ta, TestName.INTRINSIC_BLUE_RADIUS_25.name()); in testIntrinsicBlurRadius25()
160 runTest(ta, TestName.GREYSCALE.name()); in testGreyscale()
167 runTest(ta, TestName.GRAIN.name()); in testGrain()
174 runTest(ta, TestName.FISHEYE_FULL.name()); in testFisheyeFull()
181 runTest(ta, TestName.FISHEYE_RELAXED.name()); in testFishEyeRelaxed()
[all …]
/frameworks/base/test-runner/src/android/test/
DRenamingDelegatingContext.java144 private String renamedFileName(String name) { in renamedFileName() argument
145 return mFilePrefix + name; in renamedFileName()
149 public SQLiteDatabase openOrCreateDatabase(String name, in openOrCreateDatabase() argument
151 final String internalName = renamedFileName(name); in openOrCreateDatabase()
152 if (!mDatabaseNames.contains(name)) { in openOrCreateDatabase()
153 mDatabaseNames.add(name); in openOrCreateDatabase()
160 public SQLiteDatabase openOrCreateDatabase(String name, in openOrCreateDatabase() argument
162 final String internalName = renamedFileName(name); in openOrCreateDatabase()
163 if (!mDatabaseNames.contains(name)) { in openOrCreateDatabase()
164 mDatabaseNames.add(name); in openOrCreateDatabase()
[all …]
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DBaseSettingsProviderTest.java60 protected void setStringViaFrontEndApiSetting(int type, String name, String value, int userId) { in setStringViaFrontEndApiSetting() argument
65 Settings.Global.putStringForUser(contentResolver, name, value, userId); in setStringViaFrontEndApiSetting()
69 Settings.Secure.putStringForUser(contentResolver, name, value, userId); in setStringViaFrontEndApiSetting()
73 Settings.System.putStringForUser(contentResolver, name, value, userId); in setStringViaFrontEndApiSetting()
82 protected String getStringViaFrontEndApiSetting(int type, String name, int userId) { in getStringViaFrontEndApiSetting() argument
87 return Settings.Global.getStringForUser(contentResolver, name, userId); in getStringViaFrontEndApiSetting()
91 return Settings.Secure.getStringForUser(contentResolver, name, userId); in getStringViaFrontEndApiSetting()
95 return Settings.System.getStringForUser(contentResolver, name, userId); in getStringViaFrontEndApiSetting()
104 protected Uri insertStringViaProviderApi(int type, String name, String value, in insertStringViaProviderApi() argument
108 uri = Uri.withAppendedPath(uri, name); in insertStringViaProviderApi()
[all …]
/frameworks/rs/
Drsg_generator.c80 if (vt->name[0]) { in printVarTypeAndName()
81 fprintf(f, " %s", vt->name); in printVarTypeAndName()
100 fprintf(f, "typedef struct RS_CMD_%s_rec RS_CMD_%s;\n", apis[ct].name, apis[ct].name); in printStructures()
106 fprintf(f, "#define RS_CMD_ID_%s %i\n", api->name, ct+1); in printStructures()
107 fprintf(f, "struct __attribute__((packed)) RS_CMD_%s_rec {\n", api->name); in printStructures()
123 strncpy(t, api->name, sizeof(t)-1); in printFuncDecl()
130 fprintf(f, " (* %s%s) (", prefix, api->name); in printFuncDecl()
132 fprintf(f, " %s%s (", prefix, api->name); in printFuncDecl()
164 fprintf(f, "void %s%s (Context *, const void *);\n", prefix, apis[ct].name); in printPlaybackFuncs()
224 fprintf(f, RS_INTERNAL_PREFIX "%s(", api->name); in printApiCpp()
[all …]
/frameworks/native/vulkan/api/templates/
Dvk_xml.tmpl43 <type name="vk_platform" category="include">#include "vk_platform.h"</type>
45 <type category="define">#define <name>VK_MAKE_VERSION</name>(major, minor, patch) \
49 #define <name>VK_API_VERSION</name> <type>VK_MAKE_VERSION</type>({{Global "VERSION_MAJOR"}}, {{Glob…
53 #define <name>VK_NONDISP_HANDLE_OPERATOR_BOOL</name>() explicit operator bool() const { return hand…
60 #define <name>VK_DEFINE_HANDLE</name>(obj) typedef struct obj##_T* obj;</type>
79 #define <name>VK_DEFINE_NONDISP_HANDLE</name>(obj) \»
97 »#define <name>VK_NULL_HANDLE</name> nullptr
103 <type requires="vk_platform" name="VkDeviceSize"/>
104 <type requires="vk_platform" name="VkSampleMask"/>
105 <type requires="vk_platform" name="VkFlags"/>
[all …]
/frameworks/compile/mclinker/lib/Support/
DMemoryAreaFactory.cpp27 llvm::StringRef name(pPath.native()); in produce() local
28 if (m_AreaMap.find(name) == m_AreaMap.end()) { in produce()
30 new (result) MemoryArea(name); in produce()
31 m_AreaMap[name] = result; in produce()
35 return m_AreaMap[name]; in produce()
41 llvm::StringRef name(pPath.native()); in produce() local
42 if (m_AreaMap.find(name) == m_AreaMap.end()) { in produce()
44 new (result) MemoryArea(name); in produce()
45 m_AreaMap[name] = result; in produce()
49 return m_AreaMap[name]; in produce()
[all …]
/frameworks/base/tools/aapt2/test/
DBuilders.cpp39 ResourceTableBuilder& ResourceTableBuilder::AddSimple(const StringPiece& name, in AddSimple() argument
41 return AddValue(name, id, util::make_unique<Id>()); in AddSimple()
44 ResourceTableBuilder& ResourceTableBuilder::AddSimple(const StringPiece& name, in AddSimple() argument
47 return AddValue(name, config, id, util::make_unique<Id>()); in AddSimple()
50 ResourceTableBuilder& ResourceTableBuilder::AddReference(const StringPiece& name, in AddReference() argument
52 return AddReference(name, {}, ref); in AddReference()
55 ResourceTableBuilder& ResourceTableBuilder::AddReference(const StringPiece& name, in AddReference() argument
58 return AddValue(name, id, util::make_unique<Reference>(ParseNameOrDie(ref))); in AddReference()
61 ResourceTableBuilder& ResourceTableBuilder::AddString(const StringPiece& name, in AddString() argument
63 return AddString(name, {}, str); in AddString()
[all …]

12345678910>>...103