Home
last modified time | relevance | path

Searched refs:driverPackageName (Results 1 – 13 of 13) sorted by relevance

/frameworks/native/libs/graphicsenv/
DIGpuService.cpp30 virtual void setGpuStats(const std::string& driverPackageName, in setGpuStats() argument
38 data.writeUtf8AsUtf16(driverPackageName); in setGpuStats()
118 std::string driverPackageName; in onTransact() local
119 if ((status = data.readUtf8FromUtf16(&driverPackageName)) != OK) return status; in onTransact()
145 setGpuStats(driverPackageName, driverVersionName, driverVersionCode, driverBuildTime, in onTransact()
DGpuStatsInfo.cpp29 if ((status = parcel->writeUtf8AsUtf16(driverPackageName)) != OK) return status; in writeToParcel()
47 if ((status = parcel->readUtf8FromUtf16(&driverPackageName)) != OK) return status; in readFromParcel()
65 StringAppendF(&result, "driverPackageName = %s\n", driverPackageName.c_str()); in toString()
DGraphicsEnv.cpp183 void GraphicsEnv::setGpuStats(const std::string& driverPackageName, in setGpuStats() argument
197 driverPackageName.c_str(), driverVersionName.c_str(), driverVersionCode, driverBuildTime, in setGpuStats()
200 mGpuStats.driverPackageName = driverPackageName; in setGpuStats()
298 mGpuStats.driverPackageName.c_str(), mGpuStats.driverVersionName.c_str(), in sendGpuStatsLocked()
316 gpuService->setGpuStats(mGpuStats.driverPackageName, mGpuStats.driverVersionName, in sendGpuStatsLocked()
/frameworks/native/libs/graphicsenv/include/graphicsenv/
DGraphicsEnv.h48 std::string driverPackageName; member
64 : driverPackageName(""), in GpuStats()
96 void setGpuStats(const std::string& driverPackageName, const std::string& driverVersionName,
DGpuStatsInfo.h39 std::string driverPackageName = ""; variable
DIGpuService.h37 virtual void setGpuStats(const std::string& driverPackageName,
/frameworks/native/services/gpuservice/gpustats/
DGpuStats.cpp77 void GpuStats::insert(const std::string& driverPackageName, const std::string& driverVersionName, in insert() argument
94 driverPackageName.c_str(), driverVersionName.c_str(), driverVersionCode, driverBuildTime, in insert()
101 globalInfo.driverPackageName = driverPackageName; in insert()
DGpuStats.h36 void insert(const std::string& driverPackageName, const std::string& driverVersionName,
/frameworks/base/core/java/android/os/
DGraphicsEnvironment.java786 final String driverPackageName = chooseDriverInternal(context, coreSettings); in chooseDriver() local
787 if (driverPackageName == null) { in chooseDriver()
793 driverPackageInfo = pm.getPackageInfo(driverPackageName, in chooseDriver()
796 Log.w(TAG, "driver package '" + driverPackageName + "' not installed"); in chooseDriver()
828 final String sphalLibraries = getSphalLibraries(context, driverPackageName); in chooseDriver()
846 setGpuStats(driverPackageName, driverPackageInfo.versionName, driverAppInfo.longVersionCode, in chooseDriver()
865 private static String getSphalLibraries(Context context, String driverPackageName) { in getSphalLibraries() argument
868 context.createPackageContext(driverPackageName, Context.CONTEXT_RESTRICTED); in getSphalLibraries()
878 Log.w(TAG, "Driver package '" + driverPackageName + "' not installed"); in getSphalLibraries()
893 private static native void setGpuStats(String driverPackageName, String driverVersionName, in setGpuStats() argument
/frameworks/base/core/jni/
Dandroid_os_GraphicsEnvironment.cpp38 void setGpuStats_native(JNIEnv* env, jobject clazz, jstring driverPackageName, in setGpuStats_native() argument
41 ScopedUtfChars driverPackageNameChars(env, driverPackageName); in setGpuStats_native()
/frameworks/native/services/gpuservice/
DGpuService.cpp51 void GpuService::setGpuStats(const std::string& driverPackageName, in setGpuStats() argument
58 mGpuStats->insert(driverPackageName, driverVersionName, driverVersionCode, driverBuildTime, in setGpuStats()
DGpuService.h46 void setGpuStats(const std::string& driverPackageName, const std::string& driverVersionName,
/frameworks/base/cmds/statsd/src/external/
DGpuStatsPuller.cpp60 if (!event->write(info.driverPackageName)) return false; in pullGpuStatsGlobalInfo()