Home
last modified time | relevance | path

Searched refs:ParseSystemProperty (Results 1 – 7 of 7) sorted by relevance

/external/android-nn-driver/test/
DSystemProperties.cpp20 int defaultValue = ParseSystemProperty("thisDoesNotExist", -4);
27 float defaultValue = ParseSystemProperty("thisIsNotFloat", 0.1f);
34 bool b = ParseSystemProperty("myTestBool", false);
39 bool b = ParseSystemProperty("myTestBool", true);
46 int i = ParseSystemProperty("myTestInt", 890);
53 float f = ParseSystemProperty("myTestFloat", 3.4f);
/external/android-nn-driver/1.3/
DArmnnDriverImpl.cpp684 ParseSystemProperty(g_RelaxedFloat32toFloat16PerformanceExecTime, defaultValue); in getCapabilities_1_3()
687 ParseSystemProperty(g_RelaxedFloat32toFloat16PerformancePowerUsage, defaultValue); in getCapabilities_1_3()
690 ParseSystemProperty(g_RelaxedFloat32toFloat16PerformanceExecTime, defaultValue); in getCapabilities_1_3()
693 ParseSystemProperty(g_RelaxedFloat32toFloat16PerformancePowerUsage, defaultValue); in getCapabilities_1_3()
696 ParseSystemProperty(g_ifPerformanceExecTime, defaultValue); in getCapabilities_1_3()
699 ParseSystemProperty(g_ifPerformancePowerUsage, defaultValue); in getCapabilities_1_3()
702 ParseSystemProperty(g_whilePerformanceExecTime, defaultValue); in getCapabilities_1_3()
705 ParseSystemProperty(g_whilePerformancePowerUsage, defaultValue); in getCapabilities_1_3()
713 … .execTime = ParseSystemProperty(g_OperandTypeTensorFloat32PerformanceExecTime, defaultValue), in getCapabilities_1_3()
714 … .powerUsage = ParseSystemProperty(g_OperandTypeTensorFloat32PerformancePowerUsage, defaultValue) in getCapabilities_1_3()
[all …]
/external/android-nn-driver/1.1/
DArmnnDriverImpl.cpp37 ParseSystemProperty(g_Float32PerformanceExecTimeName, .1f); in getCapabilities_1_1()
40 ParseSystemProperty(g_Float32PerformancePowerUsageName, .1f); in getCapabilities_1_1()
43 ParseSystemProperty(g_Quantized8PerformanceExecTimeName, .1f); in getCapabilities_1_1()
46 ParseSystemProperty(g_Quantized8PerformancePowerUsageName, .1f); in getCapabilities_1_1()
49 ParseSystemProperty(g_RelaxedFloat32toFloat16PerformanceExecTime, .1f); in getCapabilities_1_1()
52 ParseSystemProperty(g_RelaxedFloat32toFloat16PerformancePowerUsageName, .1f); in getCapabilities_1_1()
/external/android-nn-driver/1.2/
DArmnnDriverImpl.cpp668 ParseSystemProperty(g_RelaxedFloat32toFloat16PerformanceExecTime, defaultValue); in getCapabilities_1_2()
671 ParseSystemProperty(g_RelaxedFloat32toFloat16PerformancePowerUsage, defaultValue); in getCapabilities_1_2()
674 ParseSystemProperty(g_RelaxedFloat32toFloat16PerformanceExecTime, defaultValue); in getCapabilities_1_2()
677 ParseSystemProperty(g_RelaxedFloat32toFloat16PerformancePowerUsage, defaultValue); in getCapabilities_1_2()
689 … .execTime = ParseSystemProperty(g_OperandTypeTensorFloat32PerformanceExecTime, defaultValue), in getCapabilities_1_2()
690 … .powerUsage = ParseSystemProperty(g_OperandTypeTensorFloat32PerformancePowerUsage, defaultValue) in getCapabilities_1_2()
695 … .execTime = ParseSystemProperty(g_OperandTypeFloat32PerformanceExecTime, defaultValue), in getCapabilities_1_2()
696 … .powerUsage = ParseSystemProperty(g_OperandTypeFloat32PerformancePowerUsage, defaultValue) in getCapabilities_1_2()
701 … .execTime = ParseSystemProperty(g_OperandTypeTensorFloat16PerformanceExecTime, defaultValue), in getCapabilities_1_2()
702 … .powerUsage = ParseSystemProperty(g_OperandTypeTensorFloat16PerformancePowerUsage, defaultValue) in getCapabilities_1_2()
[all …]
/external/android-nn-driver/1.0/
DArmnnDriverImpl.cpp35 ParseSystemProperty(g_Float32PerformanceExecTimeName, .1f); in getCapabilities()
38 ParseSystemProperty(g_Float32PerformancePowerUsageName, .1f); in getCapabilities()
41 ParseSystemProperty(g_Quantized8PerformanceExecTimeName, .1f); in getCapabilities()
44 ParseSystemProperty(g_Quantized8PerformancePowerUsageName, .1f); in getCapabilities()
/external/armnn/shim/sl/canonical/
DSystemPropertiesUtils.hpp47 T ParseSystemProperty(const char* name, T defaultValue) in ParseSystemProperty() function
/external/android-nn-driver/
DSystemPropertiesUtils.hpp47 T ParseSystemProperty(const char* name, T defaultValue) in ParseSystemProperty() function