Home
last modified time | relevance | path

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

/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/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.cpp39 : mName(name), mClock(clock), mFlags(flags) in StopWatch()
48 ALOGD("StopWatch %s (us): %" PRId64 " ", mName, ns2us(elapsed)); in ~StopWatch()
58 return mName; in name()
/system/core/include/utils/
DStopWatch.h44 const char* mName;
/system/netd/server/
DDnsProxyListener.h102 char* mName; // owned variable
DDnsProxyListener.cpp349 mName(name), in GetHostByNameHandler()
357 free(mName); in ~GetHostByNameHandler()
381 struct hostent* hp = android_gethostbynamefornet(mName, mAf, mNetId, mMark); in run()
/system/netd/tests/
Dbinder_test.cpp107 TimedOperation(std::string name): mName(name) {} in TimedOperation()
109 fprintf(stderr, " %s: %6.1f ms\n", mName.c_str(), timeTaken()); in ~TimedOperation()
113 std::string mName; member in TimedOperation