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()
120 std::string driverPackageName; in onTransact() local
121 if ((status = data.readUtf8FromUtf16(&driverPackageName)) != OK) return status; in onTransact()
147 setGpuStats(driverPackageName, driverVersionName, driverVersionCode, driverBuildTime, in onTransact()
DGraphicsEnv.cpp174 void GraphicsEnv::setGpuStats(const std::string& driverPackageName, in setGpuStats() argument
188 driverPackageName.c_str(), driverVersionName.c_str(), driverVersionCode, driverBuildTime, in setGpuStats()
191 mGpuStats.driverPackageName = driverPackageName; in setGpuStats()
291 mGpuStats.driverPackageName.c_str(), mGpuStats.driverVersionName.c_str(), in sendGpuStatsLocked()
309 gpuService->setGpuStats(mGpuStats.driverPackageName, mGpuStats.driverVersionName, in sendGpuStatsLocked()
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()
/frameworks/native/libs/graphicsenv/include/graphicsenv/
DGraphicsEnv.h52 std::string driverPackageName; member
68 : driverPackageName(""), in GpuStats()
109 void setGpuStats(const std::string& driverPackageName, const std::string& driverVersionName,
DIGpuService.h37 virtual void setGpuStats(const std::string& driverPackageName,
DGpuStatsInfo.h39 std::string driverPackageName = ""; variable
/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.java788 final String driverPackageName = chooseDriverInternal(context, coreSettings, pm, in chooseDriver() local
790 if (driverPackageName == null) { in chooseDriver()
796 driverPackageInfo = pm.getPackageInfo(driverPackageName, in chooseDriver()
799 Log.w(TAG, "driver package '" + driverPackageName + "' not installed"); in chooseDriver()
831 final String sphalLibraries = getSphalLibraries(context, driverPackageName); in chooseDriver()
849 setGpuStats(driverPackageName, driverPackageInfo.versionName, driverAppInfo.longVersionCode, in chooseDriver()
868 private static String getSphalLibraries(Context context, String driverPackageName) { in getSphalLibraries() argument
871 context.createPackageContext(driverPackageName, Context.CONTEXT_RESTRICTED); in getSphalLibraries()
881 Log.w(TAG, "Driver package '" + driverPackageName + "' not installed"); in getSphalLibraries()
896 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
56 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()