Home
last modified time | relevance | path

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

12345678910>>...163

/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/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/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/libs/native_bridge_support/vdso/include/native_bridge_support/vdso/
Dinterceptable_functions.h27 #define INTERCEPTABLE_STUB_ASM_CALL(name) \ argument
28 extern "C" void __attribute((target("arm"), naked)) name() { \
34 "1: .long " #name "_var-(0b+8)"); \
39 #define INTERCEPTABLE_STUB_ASM_CALL(name) \ argument
40 extern "C" void __attribute((naked)) name() { \
41 __asm__ __volatile__("adrp x8, " #name \
43 "ldr x8, [x8, :lo12:" #name \
54 #define DEFINE_INTERCEPTABLE_STUB_VARIABLE(name) uintptr_t name; argument
56 #define INIT_INTERCEPTABLE_STUB_VARIABLE(library_name, name) \ argument
57 name = \
[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/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/native/cmds/servicemanager/
DServiceManager.cpp40 static bool isVintfDeclared(const std::string& name) { in isVintfDeclared() argument
41 size_t firstSlash = name.find('/'); in isVintfDeclared()
42 size_t lastDot = name.rfind('.', firstSlash); in isVintfDeclared()
45 << "some.package.foo.IFoo/default) but got: " << name; in isVintfDeclared()
48 const std::string package = name.substr(0, lastDot); in isVintfDeclared()
49 const std::string iface = name.substr(lastDot+1, firstSlash-lastDot-1); in isVintfDeclared()
50 const std::string instance = name.substr(firstSlash+1); in isVintfDeclared()
67 LOG(INFO) << "Found " << name << " in " << mwd.description << " VINTF manifest."; in isVintfDeclared()
79 static bool meetsDeclarationRequirements(const sp<IBinder>& binder, const std::string& name) { in meetsDeclarationRequirements() argument
84 return isVintfDeclared(name); in meetsDeclarationRequirements()
[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.java198 serializer.setOutput(out, StandardCharsets.UTF_8.name()); in writeMapXml()
221 serializer.setOutput(out, StandardCharsets.UTF_8.name()); in writeListXml()
242 public static final void writeMapXml(Map val, String name, XmlSerializer out) in writeMapXml() argument
244 writeMapXml(val, name, out, null); in writeMapXml()
264 public static final void writeMapXml(Map val, String name, XmlSerializer out, in writeMapXml() argument
274 if (name != null) { in writeMapXml()
275 out.attribute(null, "name", name); in writeMapXml()
327 public static final void writeListXml(List val, String name, XmlSerializer out) in writeListXml() argument
337 if (name != null) { in writeListXml()
338 out.attribute(null, "name", name); in writeListXml()
[all …]
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DAMessage.h100 void setInt32(const char *name, int32_t value);
101 void setInt64(const char *name, int64_t value);
102 void setSize(const char *name, size_t value);
103 void setFloat(const char *name, float value);
104 void setDouble(const char *name, double value);
105 void setPointer(const char *name, void *value);
106 void setString(const char *name, const char *s, ssize_t len = -1);
107 void setString(const char *name, const AString &s);
108 void setObject(const char *name, const sp<RefBase> &obj);
109 void setBuffer(const char *name, const sp<ABuffer> &buffer);
[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/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/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/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/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/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()
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/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/av/media/ndk/
DNdkMediaFormat.cpp77 const char *name = f->getEntryNameAt(i, &t); in AMediaFormat_toString() local
78 ret.append(name); in AMediaFormat_toString()
84 f->findInt32(name, &val); in AMediaFormat_toString()
91 f->findInt64(name, &val); in AMediaFormat_toString()
98 f->findSize(name, &val); in AMediaFormat_toString()
105 f->findFloat(name, &val); in AMediaFormat_toString()
112 f->findDouble(name, &val); in AMediaFormat_toString()
119 f->findRect(name, &left, &top, &right, &bottom); in AMediaFormat_toString()
127 f->findString(name, &val); in AMediaFormat_toString()
149 bool AMediaFormat_getInt32(AMediaFormat* format, const char *name, int32_t *out) { in AMediaFormat_getInt32() argument
[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/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/native/libs/binder/
DTEST_MAPPING4 "name": "binderSafeInterfaceTest"
7 "name": "binderVendorDoubleLoadTest"
10 "name": "binderAllocationLimits"
13 "name": "binderDriverInterfaceTest"
16 "name": "binderTextOutputTest"
19 "name": "binderLibTest"
22 "name": "binderStabilityTest"
25 "name": "libbinder_ndk_unit_test"
28 "name": "CtsNdkBinderTestCases"
31 "name": "aidl_lazy_test"
[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/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DBaseSettingsProviderTest.java63 protected void setStringViaFrontEndApiSetting(int type, String name, String value, int userId) { in setStringViaFrontEndApiSetting() argument
68 Settings.Global.putStringForUser(contentResolver, name, value, userId); in setStringViaFrontEndApiSetting()
72 Settings.Secure.putStringForUser(contentResolver, name, value, userId); in setStringViaFrontEndApiSetting()
76 Settings.System.putStringForUser(contentResolver, name, value, userId); in setStringViaFrontEndApiSetting()
85 protected String getStringViaFrontEndApiSetting(int type, String name, int userId) { in getStringViaFrontEndApiSetting() argument
90 return Settings.Global.getStringForUser(contentResolver, name, userId); in getStringViaFrontEndApiSetting()
94 return Settings.Secure.getStringForUser(contentResolver, name, userId); in getStringViaFrontEndApiSetting()
98 return Settings.System.getStringForUser(contentResolver, name, userId); in getStringViaFrontEndApiSetting()
107 protected Uri insertStringViaProviderApi(int type, String name, String value, in insertStringViaProviderApi() argument
111 uri = Uri.withAppendedPath(uri, name); in insertStringViaProviderApi()
[all …]

12345678910>>...163