/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/ |
D | ServiceLifecycleDispatcher.java | 32 private final LifecycleRegistry mRegistry; field in ServiceLifecycleDispatcher 40 mRegistry = new CheckLifecycleRegistry(provider); in ServiceLifecycleDispatcher() 48 mLastDispatchRunnable = new DispatchRunnable(mRegistry, event); in postDispatchRunnable() 99 return mRegistry; in getLifecycle() 103 private final LifecycleRegistry mRegistry; field in ServiceLifecycleDispatcher.DispatchRunnable 108 mRegistry = registry; in DispatchRunnable() 115 mRegistry.handleLifecycleEvent(mEvent); in run()
|
/packages/services/Car/cpp/computepipe/tests/ |
D | PipeRegistrationTest.cpp | 41 mRegistry = std::make_shared<PipeRegistry<PipeRunner>>(); in SetUp() 42 ASSERT_THAT(mRegistry, testing::NotNull()); in SetUp() 46 mRegistry = nullptr; in TearDown() 48 std::shared_ptr<PipeRegistry<PipeRunner>> mRegistry; member in PipeRegistrationTest 55 ndk::SharedRefBase::make<PipeRegistration>(this->mRegistry); in TEST_F() 63 ndk::SharedRefBase::make<PipeRegistration>(this->mRegistry); in TEST_F()
|
D | PipeQueryTest.cpp | 76 mRegistry = std::make_shared<FakeRegistry>(); in SetUp() 83 Error status = mRegistry->RegisterPipe(std::move(handle), name); in addFakeRunner() 90 ASSERT_THAT(mRegistry->RemoveEntry(name), testing::Eq(Error::OK)); in removeRunner() 96 mRegistry = nullptr; in TearDown() 98 std::shared_ptr<FakeRegistry> mRegistry; member in PipeQueryTest 109 std::shared_ptr<PipeQuery> qIface = ndk::SharedRefBase::make<PipeQuery>(mRegistry); in TEST_F() 124 std::shared_ptr<PipeQuery> qIface = ndk::SharedRefBase::make<PipeQuery>(mRegistry); in TEST_F()
|
/packages/apps/Car/libs/car-arch-common/src/com/android/car/arch/common/testing/ |
D | TestLifecycleOwner.java | 34 private final LifecycleRegistry mRegistry = new LifecycleRegistry(this); field in TestLifecycleOwner 39 return mRegistry; in getLifecycle() 45 mRegistry.markState(Lifecycle.State.RESUMED); in before() 50 mRegistry.markState(Lifecycle.State.DESTROYED); in after() 60 mRegistry.markState(state); in markState()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | PhoneStateBroadcaster.java | 38 private final TelephonyRegistryManager mRegistry; field in PhoneStateBroadcaster 43 mRegistry = callsManager.getContext().getSystemService(TelephonyRegistryManager.class); in PhoneStateBroadcaster() 44 if (mRegistry == null) { in PhoneStateBroadcaster() 123 if (mRegistry != null) { in sendPhoneStateChangedBroadcast() 124 mRegistry.notifyCallStateChangedForAllSubscriptions(phoneState, callHandle); in sendPhoneStateChangedBroadcast() 158 mRegistry.notifyOutgoingEmergencyCall( in sendOutgoingEmergencyCallEvent()
|
/packages/services/Car/cpp/computepipe/router/1.0/ |
D | PipeQuery.cpp | 33 if (!mRegistry || !outNames) { in getGraphList() 36 auto names = mRegistry->getPipeList(); in getGraphList() 45 if (!mRegistry) { in getPipeRunner() 49 auto pipeHandle = mRegistry->getClientPipeHandle(graphName, std::move(clientHandle)); in getPipeRunner()
|
D | RouterSvc.cpp | 42 mRegistry = std::make_shared<RouterRegistry>(); in initSvc() 55 mRegisterEngine = ndk::SharedRefBase::make<PipeRegistration>(mRegistry); in initRegistrationEngine() 70 mQueryEngine = ndk::SharedRefBase::make<PipeQuery>(mRegistry); in initQueryEngine()
|
D | PipeRegistration.cpp | 31 if (!mRegistry) { in registerPipeRunner() 35 auto err = mRegistry->RegisterPipe(std::move(handle), graphName); in registerPipeRunner()
|
D | RouterSvc.h | 55 std::shared_ptr<RouterRegistry> mRegistry; variable
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | NetworkAgent.java | 100 private volatile INetworkAgentRegistry mRegistry; field in NetworkAgent 491 if (mRegistry != null) { in handleMessage() 497 mRegistry = registry; in handleMessage() 516 mRegistry = null; in handleMessage() 807 if (mRegistry != null) { in queueOrSendMessage() 809 action.execute(mRegistry); in queueOrSendMessage()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/testutils/ |
D | TestLifecycleOwner.java | 29 private final LifecycleRegistry mRegistry = new LifecycleRegistry(this); field in TestLifecycleOwner 34 return mRegistry; in getLifecycle()
|
/packages/services/Car/cpp/computepipe/router/1.0/include/ |
D | PipeRegistration.h | 43 explicit PipeRegistration(std::shared_ptr<PipeRegistry<PipeRunner>> r) : mRegistry(r) { in PipeRegistration() 50 std::shared_ptr<PipeRegistry<PipeRunner>> mRegistry; variable
|
D | PipeQuery.h | 36 explicit PipeQuery(std::shared_ptr<PipeRegistry<PipeRunner>> r) : mRegistry(r) { in PipeQuery() 47 std::shared_ptr<PipeRegistry<PipeRunner>> mRegistry;
|