Home
last modified time | relevance | path

Searched refs:sm_ (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/cmds/dumpsys/
Ddumpsys.h29 Dumpsys(android::IServiceManager* sm) : sm_(sm) { in Dumpsys()
119 android::IServiceManager* sm_;
Ddumpsys.cpp226 sp<IBinder> service = sm_->checkService(services[i]); in main()
273 Vector<String16> services = sm_->listServices(priorityFilterFlags); in listServices()
276 Vector<String16> protoServices = sm_->listServices(IServiceManager::DUMP_FLAG_PROTO); in listServices()
311 sp<IBinder> service = sm_->checkService(serviceName); in startDumpThread()
/frameworks/native/cmds/dumpsys/tests/
Ddumpsys_test.cpp127 DumpsysTest() : sm_(), dump_(&sm_), stdout_(), stderr_() { in DumpsysTest()
135 EXPECT_CALL(sm_, listServices(IServiceManager::DUMP_FLAG_PRIORITY_ALL)) in ExpectListServices()
144 EXPECT_CALL(sm_, listServices(dumpFlags)).WillRepeatedly(Return(services16)); in ExpectListServicesWithPriority()
152 EXPECT_CALL(sm_, checkService(String16(name))).WillRepeatedly(Return(binder_mock)); in ExpectCheckService()
247 ServiceManagerMock sm_; member in DumpsysTest