Home
last modified time | relevance | path

Searched refs:mName (Results 1 – 25 of 31) sorted by relevance

12

/system/tools/hidl/c2hal/
DDeclaration.cpp27 : mName(name) in Declaration()
33 return mName; in getName()
36 mName = name; in setName()
40 mName = StringHelper::RTrim(mName, "_t"); in forceCamelCase()
41 mName = StringHelper::ToCamelCase(mName); in forceCamelCase()
45 mName = StringHelper::RTrim(mName, "_t"); in forcePascalCase()
46 mName = StringHelper::ToPascalCase(mName); in forcePascalCase()
50 mName = StringHelper::RTrim(mName, "_t"); in forceUpperSnakeCase()
51 mName = StringHelper::ToUpperSnakeCase(mName); in forceUpperSnakeCase()
DDeclaration.h59 std::string mName;
/system/tools/aidl/tests/java_app/src/android/aidl/tests/
DSimpleParcelable.java23 private String mName; field in SimpleParcelable
28 mName = name; in SimpleParcelable()
35 dest.writeString(mName); in writeToParcel()
40 mName = source.readString(); in readFromParcel()
52 if ((mName == null && p.mName != null) || in equals()
53 (mName != null && !mName.equals(p.mName))) { in equals()
60 return "SimpleParcelable(" + mName + ", " + mNumber + ")"; in toString()
/system/tools/hidl/
DAnnotation.cpp29 : mName(name), mValues(values) {} in AnnotationParam()
33 : mName(name) { in AnnotationParam()
41 return mName; in getName()
49 CHECK_EQ(mValues->size(), 1u) << mName << " requires one values but has multiple"; in getSingleValue()
57 << mName << " must be a string"; in getSingleString()
74 CHECK(false) << mName << " must be of boolean value (true/false)."; in getSingleBool()
79 : mName(name), in Annotation()
84 return mName; in name()
102 out << "@" << mName; in dump()
DFmqType.cpp27 : mNamespace(nsp), mName(name) { in FmqType()
31 return mName + " of " + mElementType->typeName(); in typeName()
37 mName + "<" + mElementType->getCppStackType(true) + ">"; in fullName()
168 if (mName == "MQDescriptorSync") { in getVtsType()
170 } else if (mName == "MQDescriptorUnsync") { in getVtsType()
DMethod.cpp33 : mName(name), in Method()
57 return mName; in name()
107 return new Method(mName.c_str(), mArgs, mResults, mOneway, mAnnotations); in copySignature()
246 : mName(name), in TypedVar()
251 return mName; in name()
DAnnotation.h49 const std::string mName;
65 std::string mName;
DMethod.h100 std::string mName;
125 std::string mName;
DFmqType.h69 std::string mName; member
DCompoundType.h156 std::string mName;
/system/tools/hidl/utils/
DFQName.cpp74 mName(name), in FQName()
90 mName(other.mName), in FQName()
109 return !mPackage.empty() && !version().empty() && !mName.empty(); in isFullyQualified()
114 || (!mName.empty() && !mValueName.empty()); in isValidValueName()
120 mName.clear(); in setTo()
130 mName = match.str(4); in setTo()
135 mName = match.str(3); in setTo()
142 mName = match.str(0); in setTo()
145 mName = match.str(0); in setTo()
151 mName = match.str(4); in setTo()
[all …]
/system/extras/tests/sdcard/
Dstopwatch.cpp55 : mName(strdup(name)), mNum(0), mData(NULL), mDataLen(0), mCapacity(capacity * 2), in StopWatch()
71 fprintf(stderr, "Discarding data for %s\n", mName); in ~StopWatch()
74 free(mName); in ~StopWatch()
118 if (kVerbose) SNPRINTF_OR_RETURN(*str, *size, "# Got %d samples for %s\n", mDataLen, mName); in sprint()
122 mName, mDuration, mNum); in sprint()
131 SNPRINTF_OR_RETURN(*str, *size, "%s %d %f %f %d %f %d %d\n", mName, mNum, mDuration, in sprint()
155 mCapacity, mName); in checkCapacity()
221 SNPRINTF_OR_RETURN(*str, *size, "# Average %s duration %f s/op\n", mName, mDuration / mNum); in printAverageMinMax()
222 … SNPRINTF_OR_RETURN(*str, *size, "# Standard deviation %s duration %f \n", mName, mDeviation); in printAverageMinMax()
223 … SNPRINTF_OR_RETURN(*str, *size, "# Min %s duration %f [%d]\n", mName, mMinDuration, mMinIdx); in printAverageMinMax()
[all …]
Dtestcase.cpp152 snprintf(total_time, sizeof(total_time), "%s_total", mName); in createTimers()
173 strcpy(mName, test_name); in setTypeFromName()
174 if (strcmp(mName, "write") == 0) mType = WRITE; in setTypeFromName()
175 if (strcmp(mName, "read") == 0) mType = READ; in setTypeFromName()
176 if (strcmp(mName, "read_write") == 0) mType = READ_WRITE; in setTypeFromName()
177 if (strcmp(mName, "open_create") == 0) mType = OPEN_CREATE; in setTypeFromName()
178 if (strcmp(mName, "traverse") == 0) mType = TRAVERSE; in setTypeFromName()
Dtestcase.h122 const char *name() const { return mName; } in name()
136 char mName[80]; variable
Dstopwatch.h132 char *const mName; // Name of the test. variable
/system/core/libutils/
DStopWatch.cpp35 : mName(name), mClock(clock), mFlags(flags) in StopWatch()
44 ALOGD("StopWatch %s (us): %" PRId64 " ", mName, ns2us(elapsed)); in ~StopWatch()
54 return mName; in name()
/system/chre/util/include/chre/util/
Dscope_timer_impl.h25 : mName(name), mStartTime(SystemTime::getMonotonicTime()) {} in ScopeTimer()
30 mName, (stopTime - mStartTime).toRawNanoseconds()); in ~ScopeTimer()
Dscope_timer.h45 const char *mName;
/system/libvintf/include/vintf/
DXmlFile.h31 inline const std::string& name() const { return mName; } in name()
35 std::string mName;
/system/core/libutils/include/utils/
DStopWatch.h44 const char* mName;
/system/libhidl/base/include/hidl/
DHidlSupport.h206 hidl_memory() : mHandle(nullptr), mSize(0), mName("") { in hidl_memory()
218 mName(name) in hidl_memory()
231 mName = other.mName;
247 mName = std::move(other.mName);
263 return mName; in name()
278 hidl_string mName __attribute__ ((aligned(8))); member
/system/netd/server/
DDnsProxyListener.cpp447 mName(name), in GetHostByNameHandler()
455 free(mName); in ~GetHostByNameHandler()
465 struct hostent* hp = android_gethostbynamefornetcontext(mName, mAf, &mNetContext); in run()
521 h_errno, latencyMs, String16(mName), ip_addrs, in run()
DDnsProxyListener.h103 char* mName; // owned variable
/system/tools/hidl/utils/include/hidl-util/
DFQName.h220 std::string mName; member
/system/libhidl/transport/
DHidlBinderSupport.cpp50 const size_t hidl_memory::kOffsetOfName = offsetof(hidl_memory, mName);

12