Searched refs:SetAndroidProperty (Results 1 – 6 of 6) sorted by relevance
/external/perfetto/src/profiling/memory/ |
D | system_property_unittest.cc | 30 MOCK_METHOD2(SetAndroidProperty, 37 EXPECT_CALL(prop, SetAndroidProperty("heapprofd.enable", "all")) in TEST() 39 EXPECT_CALL(prop, SetAndroidProperty("heapprofd.enable", "")) in TEST() 47 EXPECT_CALL(prop, SetAndroidProperty("heapprofd.enable", "all")) in TEST() 49 EXPECT_CALL(prop, SetAndroidProperty("heapprofd.enable", "")) in TEST() 60 EXPECT_CALL(prop, SetAndroidProperty("heapprofd.enable", "all")) in TEST() 62 EXPECT_CALL(prop, SetAndroidProperty("heapprofd.enable", "")) in TEST() 70 EXPECT_CALL(prop, SetAndroidProperty("heapprofd.enable.system_server", "1")) in TEST() 72 EXPECT_CALL(prop, SetAndroidProperty("heapprofd.enable", "1")) in TEST() 74 EXPECT_CALL(prop, SetAndroidProperty("heapprofd.enable.system_server", "")) in TEST() [all …]
|
D | system_property.cc | 69 if (!SetAndroidProperty("heapprofd.enable." + name, "1")) in SetProperty() 72 if (!SetAndroidProperty("heapprofd.enable", "1")) in SetProperty() 84 if (!SetAndroidProperty("heapprofd.enable", "all")) in SetAll() 132 bool SystemProperties::SetAndroidProperty(const std::string& name, in SetAndroidProperty() function in perfetto::profiling::SystemProperties 152 SetAndroidProperty("heapprofd.enable." + name, ""); in UnsetProperty() 154 SetAndroidProperty("heapprofd.enable", ""); in UnsetProperty() 161 SetAndroidProperty("heapprofd.enable", ""); in UnsetAll() 163 SetAndroidProperty("heapprofd.enable", "1"); in UnsetAll()
|
D | system_property.h | 73 virtual bool SetAndroidProperty(const std::string& name,
|
/external/perfetto/src/traced/service/ |
D | builtin_producer_unittest.cc | 42 MOCK_METHOD2(SetAndroidProperty, 53 EXPECT_CALL(p, SetAndroidProperty(kLazyHeapprofdPropertyName, "1")) in TEST() 55 EXPECT_CALL(p, SetAndroidProperty(kLazyHeapprofdPropertyName, "")) in TEST() 72 EXPECT_CALL(p, SetAndroidProperty(kLazyTracedPerfPropertyName, "1")) in TEST() 74 EXPECT_CALL(p, SetAndroidProperty(kLazyTracedPerfPropertyName, "")) in TEST() 91 EXPECT_CALL(p, SetAndroidProperty(kLazyHeapprofdPropertyName, "1")) in TEST() 97 EXPECT_CALL(p, SetAndroidProperty(kLazyHeapprofdPropertyName, "")) in TEST() 113 EXPECT_CALL(p, SetAndroidProperty(kLazyHeapprofdPropertyName, "1")) in TEST() 120 EXPECT_CALL(p, SetAndroidProperty(kLazyHeapprofdPropertyName, "")) in TEST() 139 EXPECT_CALL(p, SetAndroidProperty(kLazyHeapprofdPropertyName, "1")) in TEST() [all …]
|
D | builtin_producer.cc | 58 SetAndroidProperty(kLazyHeapprofdPropertyName, ""); in ~BuiltinProducer() 60 SetAndroidProperty(kLazyTracedPerfPropertyName, ""); in ~BuiltinProducer() 97 SetAndroidProperty(kLazyHeapprofdPropertyName, "1"); in SetupDataSource() 104 SetAndroidProperty(kLazyTracedPerfPropertyName, "1"); in SetupDataSource() 160 weak_this->SetAndroidProperty(prop_name, ""); in MaybeInitiateLazyStop() 180 bool BuiltinProducer::SetAndroidProperty(const std::string& name, in SetAndroidProperty() function in perfetto::BuiltinProducer
|
D | builtin_producer.h | 56 virtual bool SetAndroidProperty(const std::string& name,
|