Searched refs:ProfileData (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/core/jni/ |
D | com_android_server_GraphicsStatsService.cpp | 32 return sizeof(ProfileData); in getAshmemSize() 44 const ProfileData* data = nullptr; in addToDump() 48 LOG_ALWAYS_FATAL_IF(buffer.size() != sizeof(ProfileData), in addToDump() 49 "Buffer size %zu doesn't match expected %zu!", buffer.size(), sizeof(ProfileData)); in addToDump() 50 data = reinterpret_cast<const ProfileData*>(buffer.get()); in addToDump() 82 LOG_ALWAYS_FATAL_IF(buffer.size() != sizeof(ProfileData), in saveBuffer() 83 "Buffer size %zu doesn't match expected %zu!", buffer.size(), sizeof(ProfileData)); in saveBuffer() 91 const ProfileData* data = reinterpret_cast<const ProfileData*>(buffer.get()); in saveBuffer()
|
/frameworks/base/libs/hwui/ |
D | JankTracker.cpp | 133 mData = new ProfileData; in JankTracker() 160 munmap(mData, sizeof(ProfileData)); in freeData() 175 mData = new ProfileData; in rotateStorage() 187 if (regionSize < static_cast<int>(sizeof(ProfileData))) { in switchStorageToAshmem() 189 regionSize, static_cast<unsigned int>(sizeof(ProfileData))); in switchStorageToAshmem() 192 ProfileData* newData = reinterpret_cast<ProfileData*>( in switchStorageToAshmem() 193 mmap(NULL, sizeof(ProfileData), PROT_READ | PROT_WRITE, in switchStorageToAshmem() 308 void JankTracker::dumpData(int fd, const ProfileDataDescription* description, const ProfileData* da… in dumpData() 359 uint32_t JankTracker::findPercentile(const ProfileData* data, int percentile) { in findPercentile()
|
D | JankTracker.h | 45 struct ProfileData { struct 99 static uint32_t findPercentile(const ProfileData* data, int p); 100 … static void dumpData(int fd, const ProfileDataDescription* description, const ProfileData* data); 112 ProfileData* mData;
|
/frameworks/base/libs/hwui/service/ |
D | GraphicsStatsService.cpp | 41 std::tuple_size<decltype(ProfileData::frameCounts)>::value + 42 std::tuple_size<decltype(ProfileData::slowFrameCounts)>::value; 46 const ProfileData* data); 85 int versionCode, int64_t startTime, int64_t endTime, const ProfileData* data) { in mergeProfileDataIntoProto() 136 constexpr int offset = std::tuple_size<decltype(ProfileData::frameCounts)>::value; in mergeProfileDataIntoProto() 187 int versionCode, int64_t startTime, int64_t endTime, const ProfileData* data) { in saveBuffer() 245 int versionCode, int64_t startTime, int64_t endTime, const ProfileData* data) { in addToDump()
|
D | GraphicsStatsService.h | 47 int versionCode, int64_t startTime, int64_t endTime, const ProfileData* data); 51 int versionCode, int64_t startTime, int64_t endTime, const ProfileData* data);
|
/frameworks/base/libs/hwui/tests/unit/ |
D | GraphicsStatsServiceTests.cpp | 60 ProfileData mockData; in TEST() 106 ProfileData mockData; in TEST()
|