Home
last modified time | relevance | path

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

12345678910>>...181

/frameworks/native/opengl/libs/EGL/
DgetProcAddress.cpp206 #define GL_EXTENSION_LIST(name) \ argument
207 name(0) name(1) name(2) name(3) name(4) name(5) name(6) name(7) \
208 name(8) name(9) name(10) name(11) name(12) name(13) name(14) name(15) \
209 name(16) name(17) name(18) name(19) name(20) name(21) name(22) name(23) \
210 name(24) name(25) name(26) name(27) name(28) name(29) name(30) name(31) \
211 name(32) name(33) name(34) name(35) name(36) name(37) name(38) name(39) \
212 name(40) name(41) name(42) name(43) name(44) name(45) name(46) name(47) \
213 name(48) name(49) name(50) name(51) name(52) name(53) name(54) name(55) \
214 name(56) name(57) name(58) name(59) name(60) name(61) name(62) name(63) \
215 name(64) name(65) name(66) name(67) name(68) name(69) name(70) name(71) \
[all …]
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DDumpHelpers.cpp26 void dumpVal(std::string& out, const char* name, bool value) { in dumpVal() argument
27 StringAppendF(&out, "%s=%s ", name, value ? "true" : "false"); in dumpVal()
30 void dumpVal(std::string& out, const char* name, const void* value) { in dumpVal() argument
31 StringAppendF(&out, "%s=%p ", name, value); in dumpVal()
34 void dumpVal(std::string& out, const char* name, int value) { in dumpVal() argument
35 StringAppendF(&out, "%s=%d ", name, value); in dumpVal()
38 void dumpVal(std::string& out, const char* name, float value) { in dumpVal() argument
39 StringAppendF(&out, "%s=%f ", name, value); in dumpVal()
42 void dumpVal(std::string& out, const char* name, uint32_t value) { in dumpVal() argument
43 StringAppendF(&out, "%s=%u ", name, value); in dumpVal()
[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/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/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/
Djson_objectwriter.cc57 JsonObjectWriter* JsonObjectWriter::StartObject(StringPiece name) { in StartObject() argument
58 WritePrefix(name); in StartObject()
71 JsonObjectWriter* JsonObjectWriter::StartList(StringPiece name) { in StartList() argument
72 WritePrefix(name); in StartList()
85 JsonObjectWriter* JsonObjectWriter::RenderBool(StringPiece name, bool value) { in RenderBool() argument
86 return RenderSimple(name, value ? "true" : "false"); in RenderBool()
89 JsonObjectWriter* JsonObjectWriter::RenderInt32(StringPiece name, int32 value) { in RenderInt32() argument
90 return RenderSimple(name, SimpleItoa(value)); in RenderInt32()
93 JsonObjectWriter* JsonObjectWriter::RenderUint32(StringPiece name, in RenderUint32() argument
95 return RenderSimple(name, SimpleItoa(value)); in RenderUint32()
[all …]
Dexpecting_objectwriter.h93 virtual ObjectWriter* StartObject(StringPiece name) { in StartObject() argument
94 (name.empty() in StartObject()
96 : EXPECT_CALL(*mock_, StartObject(StrEq(name.ToString())))) in StartObject()
109 virtual ObjectWriter* StartList(StringPiece name) { in StartList() argument
110 (name.empty() in StartList()
112 : EXPECT_CALL(*mock_, StartList(StrEq(name.ToString())))) in StartList()
125 virtual ObjectWriter* RenderBool(StringPiece name, bool value) { in RenderBool() argument
126 (name.empty() in RenderBool()
128 : EXPECT_CALL(*mock_, RenderBool(StrEq(name.ToString()), in RenderBool()
135 virtual ObjectWriter* RenderInt32(StringPiece name, int32 value) { in RenderInt32() argument
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/testing/
Dfile.cc53 #define mkdir(name, mode) mkdir(name) argument
61 bool File::Exists(const string& name) { in Exists() argument
62 return access(name.c_str(), F_OK) == 0; in Exists()
65 bool File::ReadFileToString(const string& name, string* output) { in ReadFileToString() argument
67 FILE* file = fopen(name.c_str(), "rb"); in ReadFileToString()
81 void File::ReadFileToStringOrDie(const string& name, string* output) { in ReadFileToStringOrDie() argument
82 GOOGLE_CHECK(ReadFileToString(name, output)) << "Could not read: " << name; in ReadFileToStringOrDie()
85 bool File::WriteStringToFile(const string& contents, const string& name) { in WriteStringToFile() argument
86 FILE* file = fopen(name.c_str(), "wb"); in WriteStringToFile()
88 GOOGLE_LOG(ERROR) << "fopen(" << name << ", \"wb\"): " << strerror(errno); in WriteStringToFile()
[all …]
/frameworks/base/libs/androidfw/
DConfigDescription.cpp35 static bool parseMcc(const char* name, ResTable_config* out) { in parseMcc() argument
36 if (strcmp(name, kWildcardName) == 0) { in parseMcc()
40 const char* c = name; in parseMcc()
65 static bool parseMnc(const char* name, ResTable_config* out) { in parseMnc() argument
66 if (strcmp(name, kWildcardName) == 0) { in parseMnc()
70 const char* c = name; in parseMnc()
96 static bool parseLayoutDirection(const char* name, ResTable_config* out) { in parseLayoutDirection() argument
97 if (strcmp(name, kWildcardName) == 0) { in parseLayoutDirection()
103 } else if (strcmp(name, "ldltr") == 0) { in parseLayoutDirection()
109 } else if (strcmp(name, "ldrtl") == 0) { in parseLayoutDirection()
[all …]
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DAMessage.h98 void setInt32(const char *name, int32_t value);
99 void setInt64(const char *name, int64_t value);
100 void setSize(const char *name, size_t value);
101 void setFloat(const char *name, float value);
102 void setDouble(const char *name, double value);
103 void setPointer(const char *name, void *value);
104 void setString(const char *name, const char *s, ssize_t len = -1);
105 void setString(const char *name, const AString &s);
106 void setObject(const char *name, const sp<RefBase> &obj);
107 void setBuffer(const char *name, const sp<ABuffer> &buffer);
[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.java196 serializer.setOutput(out, StandardCharsets.UTF_8.name()); in writeMapXml()
219 serializer.setOutput(out, StandardCharsets.UTF_8.name()); in writeListXml()
240 public static final void writeMapXml(Map val, String name, XmlSerializer out) in writeMapXml() argument
242 writeMapXml(val, name, out, null); in writeMapXml()
262 public static final void writeMapXml(Map val, String name, XmlSerializer out, in writeMapXml() argument
272 if (name != null) { in writeMapXml()
273 out.attribute(null, "name", name); in writeMapXml()
325 public static final void writeListXml(List val, String name, XmlSerializer out) in writeListXml() argument
335 if (name != null) { in writeListXml()
336 out.attribute(null, "name", name); in writeListXml()
[all …]
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DDumpHelpers.h31 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 …]
/frameworks/av/media/codec2/core/include/
DC2Enum.h62 static C2String camelCaseToDashed(C2String name);
98 #define DEFINE_C2_ENUM_VALUE_AUTO_HELPER(name, type, prefix, ...) \ argument
99 _DEFINE_C2_ENUM_VALUE_AUTO_HELPER(__C2_GENERATE_GLOBAL_VARS__, name, type, prefix, \
101 #define _DEFINE_C2_ENUM_VALUE_AUTO_HELPER(enabled, name, type, prefix, ...) \ argument
102 __DEFINE_C2_ENUM_VALUE_AUTO_HELPER(enabled, name, type, prefix, ##__VA_ARGS__)
103 #define __DEFINE_C2_ENUM_VALUE_AUTO_HELPER(enabled, name, type, prefix, ...) \ argument
104 ___DEFINE_C2_ENUM_VALUE_AUTO_HELPER##enabled(name, type, prefix, ##__VA_ARGS__)
105 #define ___DEFINE_C2_ENUM_VALUE_AUTO_HELPER(name, type, prefix, ...) \ argument
107 C2FieldDescriptor::NamedValuesType C2FieldDescriptor::namedValuesFor(const name &r __unused) { \
113 #define ___DEFINE_C2_ENUM_VALUE_AUTO_HELPER__C2_GENERATE_GLOBAL_VARS__(name, type, prefix, ...) argument
[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/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/base/tools/aapt2/
DResourceTable.cpp53 return lhs->name.compare(0, lhs->name.size(), rhs.data(), rhs.size()) < 0; in less_than_struct_with_name()
59 int name_cmp = lhs->name.compare(0, lhs->name.size(), rhs.first.data(), rhs.first.size()); in less_than_struct_with_name_and_id()
63 ResourceTablePackage* ResourceTable::FindPackage(const StringPiece& name) const { in FindPackage()
65 auto iter = std::lower_bound(packages.begin(), last, name, in FindPackage()
67 if (iter != last && name == (*iter)->name) { in FindPackage()
82 ResourceTablePackage* ResourceTable::CreatePackage(const StringPiece& name, Maybe<uint8_t> id) { in CreatePackage() argument
84 ResourceTablePackage* package = FindOrCreatePackage(name); in CreatePackage()
96 ResourceTablePackage* ResourceTable::CreatePackageAllowingDuplicateNames(const StringPiece& name, in CreatePackageAllowingDuplicateNames() argument
99 auto iter = std::lower_bound(packages.begin(), last, std::make_pair(name, id), in CreatePackageAllowingDuplicateNames()
102 if (iter != last && name == (*iter)->name && id == (*iter)->id) { in CreatePackageAllowingDuplicateNames()
[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/core/java/android/view/inspector/
DPropertyMapper.java44 int mapBoolean(@NonNull String name, @AttrRes int attributeId); in mapBoolean() argument
54 int mapByte(@NonNull String name, @AttrRes int attributeId); in mapByte() argument
64 int mapChar(@NonNull String name, @AttrRes int attributeId); in mapChar() argument
74 int mapDouble(@NonNull String name, @AttrRes int attributeId); in mapDouble() argument
84 int mapFloat(@NonNull String name, @AttrRes int attributeId); in mapFloat() argument
94 int mapInt(@NonNull String name, @AttrRes int attributeId); in mapInt() argument
104 int mapLong(@NonNull String name, @AttrRes int attributeId); in mapLong() argument
114 int mapShort(@NonNull String name, @AttrRes int attributeId); in mapShort() argument
124 int mapObject(@NonNull String name, @AttrRes int attributeId); in mapObject() argument
135 int mapColor(@NonNull String name, @AttrRes int attributeId); in mapColor() argument
[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/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()
84 public boolean isNeeded(String owner, String name, String desc, String sourceClass) { in METHOD_REPLACERS.add() argument
86 ("adjustLanguageCode".equals(name) && desc.equals(STRING_TO_STRING) || in METHOD_REPLACERS.add()
87 "getDefault".equals(name) && desc.equals(VOID_TO_LOCALE)); in METHOD_REPLACERS.add()
99 public boolean isNeeded(String owner, String name, String desc, String sourceClass) { in METHOD_REPLACERS.add() argument
100 return JAVA_LANG_SYSTEM.equals(owner) && name.length() == 4 in METHOD_REPLACERS.add()
101 && name.startsWith("log"); in METHOD_REPLACERS.add()
108 mi.name = "log"; in METHOD_REPLACERS.add()
116 public boolean isNeeded(String owner, String name, String desc, String sourceClass) { in METHOD_REPLACERS.add() argument
[all …]
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
DImageProcessingTest.java152 runTest(ta, TestName.LEVELS_VEC3_RELAXED.name()); in testLevelsVec3Relaxed()
159 runTest(ta, TestName.LEVELS_VEC4_RELAXED.name()); in testLevelsVec4Relaxed()
166 runTest(ta, TestName.LEVELS_VEC3_FULL.name()); in testLevelsVec3Full()
173 runTest(ta, TestName.LEVELS_VEC4_FULL.name()); in testLevelsVec4Full()
180 runTest(ta, TestName.BLUR_RADIUS_25.name()); in testBlurRadius25()
187 runTest(ta, TestName.INTRINSIC_BLUR_RADIUS_25.name()); in testIntrinsicBlurRadius25()
194 runTest(ta, TestName.GREYSCALE.name()); in testGreyscale()
201 runTest(ta, TestName.GRAIN.name()); in testGrain()
208 runTest(ta, TestName.FISHEYE_FULL.name()); in testFisheyeFull()
215 runTest(ta, TestName.FISHEYE_RELAXED.name()); in testFishEyeRelaxed()
[all …]
/frameworks/base/test-runner/src/android/test/
DRenamingDelegatingContext.java145 private String renamedFileName(String name) { in renamedFileName() argument
146 return mFilePrefix + name; in renamedFileName()
150 public SQLiteDatabase openOrCreateDatabase(String name, in openOrCreateDatabase() argument
152 final String internalName = renamedFileName(name); in openOrCreateDatabase()
153 if (!mDatabaseNames.contains(name)) { in openOrCreateDatabase()
154 mDatabaseNames.add(name); in openOrCreateDatabase()
161 public SQLiteDatabase openOrCreateDatabase(String name, in openOrCreateDatabase() argument
163 final String internalName = renamedFileName(name); in openOrCreateDatabase()
164 if (!mDatabaseNames.contains(name)) { in openOrCreateDatabase()
165 mDatabaseNames.add(name); in openOrCreateDatabase()
[all …]
/frameworks/av/media/ndk/
DNdkMediaFormat.cpp80 const char *name = f->getEntryNameAt(i, &t); in AMediaFormat_toString() local
81 ret.append(name); in AMediaFormat_toString()
87 f->findInt32(name, &val); in AMediaFormat_toString()
94 f->findInt64(name, &val); in AMediaFormat_toString()
101 f->findSize(name, &val); in AMediaFormat_toString()
108 f->findFloat(name, &val); in AMediaFormat_toString()
115 f->findDouble(name, &val); in AMediaFormat_toString()
122 f->findRect(name, &left, &top, &right, &bottom); in AMediaFormat_toString()
130 f->findString(name, &val); in AMediaFormat_toString()
152 bool AMediaFormat_getInt32(AMediaFormat* format, const char *name, int32_t *out) { in AMediaFormat_getInt32() argument
[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/core/java/android/accounts/
DAccount.java47 public final String name; field in Account
57 return name.equals(other.name) && type.equals(other.type); in equals()
62 result = 31 * result + name.hashCode(); in hashCode()
67 public Account(String name, String type) { in Account() argument
68 this(name, type, null); in Account()
75 this(other.name, other.type, accessId); in Account()
81 public Account(String name, String type, String accessId) { in Account() argument
82 if (TextUtils.isEmpty(name)) { in Account()
83 throw new IllegalArgumentException("the name must not be empty: " + name); in Account()
88 this.name = name; in Account()
[all …]

12345678910>>...181