Home
last modified time | relevance | path

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

/frameworks/native/cmds/dumpsys/
Ddumpsys.h29 explicit Dumpsys(android::IServiceManager* sm) : sm_(sm) { in Dumpsys()
125 android::IServiceManager* sm_;
Ddumpsys.cpp238 sp<IBinder> service = sm_->checkService(services[i]); in main()
285 Vector<String16> services = sm_->listServices(priorityFilterFlags); in listServices()
288 Vector<String16> protoServices = sm_->listServices(IServiceManager::DUMP_FLAG_PROTO); in listServices()
334 sp<IBinder> service = sm_->checkService(serviceName); in startDumpThread()
/frameworks/native/cmds/dumpsys/tests/
Ddumpsys_test.cpp128 DumpsysTest() : sm_(), dump_(&sm_), stdout_(), stderr_() { in DumpsysTest()
136 EXPECT_CALL(sm_, listServices(IServiceManager::DUMP_FLAG_PRIORITY_ALL)) in ExpectListServices()
145 EXPECT_CALL(sm_, listServices(dumpFlags)).WillRepeatedly(Return(services16)); in ExpectListServicesWithPriority()
153 EXPECT_CALL(sm_, checkService(String16(name))).WillRepeatedly(Return(binder_mock)); in ExpectCheckService()
245 ServiceManagerMock sm_; member in DumpsysTest