Home
last modified time | relevance | path

Searched refs:make (Results 1 – 25 of 353) sorted by relevance

12345678910>>...15

/packages/services/Car/cpp/watchdog/server/tests/
DWatchdogBinderMediatorTest.cpp95 mMockWatchdogProcessService = sp<MockWatchdogProcessService>::make(); in SetUp()
96 mMockWatchdogPerfService = sp<MockWatchdogPerfService>::make(); in SetUp()
97 mMockIoOveruseMonitor = sp<MockIoOveruseMonitor>::make(); in SetUp()
99 SharedRefBase::make<WatchdogBinderMediator>(mMockWatchdogProcessService, in SetUp()
101 sp<MockWatchdogServiceHelper>::make(), in SetUp()
104 mMockWatchdogInternalHandler = SharedRefBase::make<MockWatchdogInternalHandler>(); in SetUp()
125 SharedRefBase::make<WatchdogBinderMediator>(sp<MockWatchdogProcessService>::make(), in TEST_F()
126 sp<MockWatchdogPerfService>::make(), in TEST_F()
127 sp<MockWatchdogServiceHelper>::make(), in TEST_F()
128 sp<MockIoOveruseMonitor>::make(), in TEST_F()
[all …]
DWatchdogProcessServiceTest.cpp180 mMessageHandler = sp<MessageHandlerImpl>::make(this); in SetUp()
181 mMockVehicle = SharedRefBase::make<MockVehicle>(); in SetUp()
183 mMockHidlServiceManager = sp<MockHidlServiceManager>::make(); in SetUp()
184 mMockDeathRegistrationWrapper = sp<MockAIBinderDeathRegistrationWrapper>::make(); in SetUp()
188 mMockPackageInfoResolver = sp<MockPackageInfoResolver>::make(); in SetUp()
205 sp<WatchdogProcessService>::make(kTryCreateVhalClientFunc, in startService()
405 std::shared_ptr<ICarWatchdogClient> client = SharedRefBase::make<ICarWatchdogClientDefault>(); in TEST_F()
418 std::shared_ptr<ICarWatchdogClient> client = SharedRefBase::make<ICarWatchdogClientDefault>(); in TEST_F()
436 std::shared_ptr<ICarWatchdogClient> client = SharedRefBase::make<ICarWatchdogClientDefault>(); in TEST_F()
446 std::shared_ptr<ICarWatchdogClient> client = SharedRefBase::make<ICarWatchdogClientDefault>(); in TEST_F()
[all …]
DWatchdogInternalHandlerTest.cpp140 mMockWatchdogProcessService = sp<MockWatchdogProcessService>::make(); in SetUp()
141 mMockWatchdogPerfService = sp<MockWatchdogPerfService>::make(); in SetUp()
142 mMockWatchdogServiceHelper = sp<MockWatchdogServiceHelper>::make(); in SetUp()
143 mMockIoOveruseMonitor = sp<MockIoOveruseMonitor>::make(); in SetUp()
145 SharedRefBase::make<WatchdogInternalHandler>(mMockWatchdogServiceHelper, in SetUp()
166 mScopedChangeCallingUid = sp<ScopedChangeCallingUid>::make(AID_SYSTEM); in setSystemCallingUid()
205 SharedRefBase::make<ICarWatchdogServiceForSystemDefault>(); in TEST_F()
218 SharedRefBase::make<ICarWatchdogServiceForSystemDefault>(); in TEST_F()
228 SharedRefBase::make<ICarWatchdogServiceForSystemDefault>(); in TEST_F()
241 SharedRefBase::make<ICarWatchdogServiceForSystemDefault>(); in TEST_F()
[all …]
DIoOveruseMonitorTest.cpp216 mMockWatchdogServiceHelper = sp<MockWatchdogServiceHelper>::make(); in SetUp()
217 mMockDeathRegistrationWrapper = sp<MockAIBinderDeathRegistrationWrapper>::make(); in SetUp()
218 mMockIoOveruseConfigs = sp<MockIoOveruseConfigs>::make(); in SetUp()
219 mMockPackageInfoResolver = sp<MockPackageInfoResolver>::make(); in SetUp()
220 mMockUidStatsCollector = sp<MockUidStatsCollector>::make(); in SetUp()
221 mIoOveruseMonitor = sp<IoOveruseMonitor>::make(mMockWatchdogServiceHelper); in SetUp()
222 mIoOveruseMonitorPeer = sp<internal::IoOveruseMonitorPeer>::make(mIoOveruseMonitor); in SetUp()
278 sp<ScopedChangeCallingUid> scopedChangeCallingUid = sp<ScopedChangeCallingUid>::make(uid); in executeAsUid()
347 SharedRefBase::make<MockResourceOveruseListener>(); in TEST_F()
507 SharedRefBase::make<MockResourceOveruseListener>(); in TEST_F()
[all …]
DWatchdogServiceHelperTest.cpp94 mMockWatchdogProcessService = sp<MockWatchdogProcessService>::make(); in SetUp()
95 mMockDeathRegistrationWrapper = sp<MockAIBinderDeathRegistrationWrapper>::make(); in SetUp()
96 mWatchdogServiceHelper = sp<WatchdogServiceHelper>::make(); in SetUp()
98 sp<internal::WatchdogServiceHelperPeer>::make(mWatchdogServiceHelper); in SetUp()
99 mMockCarWatchdogServiceForSystem = SharedRefBase::make<MockCarWatchdogServiceForSystem>(); in SetUp()
170 sp<WatchdogServiceHelper> helper = sp<WatchdogServiceHelper>::make(); in TEST_F()
172 sp<MockWatchdogProcessService>::make(); in TEST_F()
178 sp<WatchdogServiceHelper> helper = sp<WatchdogServiceHelper>::make(); in TEST_F()
315 auto notRegisteredService = SharedRefBase::make<MockCarWatchdogServiceForSystem>(); in TEST_F()
369 auto notRegisteredService = SharedRefBase::make<MockCarWatchdogServiceForSystem>(); in TEST_F()
/packages/services/Car/cpp/watchdog/server/src/
DServiceManager.cpp53 mWatchdogServiceHelper = sp<WatchdogServiceHelper>::make(); in startServices()
69 mIoOveruseMonitor = sp<IoOveruseMonitor>::make(mWatchdogServiceHelper); in startServices()
71 SharedRefBase::make<WatchdogBinderMediator>(mWatchdogProcessService, in startServices()
107 mWatchdogProcessService = sp<WatchdogProcessService>::make(mainLooper); in startWatchdogProcessService()
116 mPressureMonitor = sp<PressureMonitor>::make(); in startPressureMonitor()
128 mWatchdogPerfService = sp<WatchdogPerfService>::make(watchdogServiceHelper, elapsedRealtime); in startWatchdogPerfService()
130 sp<PerformanceProfiler>::make(mPressureMonitor)); in startWatchdogPerfService()
DUidStatsCollector.h77 mUidCpuStatsCollector(android::sp<UidCpuStatsCollector>::make()), in UidStatsCollector()
78 mUidIoStatsCollector(android::sp<UidIoStatsCollector>::make()), in UidStatsCollector()
79 mUidProcStatsCollector(android::sp<UidProcStatsCollector>::make()) {} in UidStatsCollector()
/packages/services/Car/cpp/computepipe/tests/
DPipeQueryTest.cpp103 std::shared_ptr<IPipeRunner> stub1 = ndk::SharedRefBase::make<FakeRunner>(); in TEST_F()
105 std::shared_ptr<IPipeRunner> stub2 = ndk::SharedRefBase::make<FakeRunner>(); in TEST_F()
109 std::shared_ptr<PipeQuery> qIface = ndk::SharedRefBase::make<PipeQuery>(mRegistry); in TEST_F()
121 std::shared_ptr<IPipeRunner> stub1 = ndk::SharedRefBase::make<FakeRunner>(); in TEST_F()
124 std::shared_ptr<PipeQuery> qIface = ndk::SharedRefBase::make<PipeQuery>(mRegistry); in TEST_F()
125 std::shared_ptr<IClientInfo> info = ndk::SharedRefBase::make<FakeClientInfo>(); in TEST_F()
DPipeRegistrationTest.cpp53 std::shared_ptr<IPipeRunner> fake = ndk::SharedRefBase::make<FakeRunner>(); in TEST_F()
55 ndk::SharedRefBase::make<PipeRegistration>(this->mRegistry); in TEST_F()
61 std::shared_ptr<IPipeRunner> fake = ndk::SharedRefBase::make<FakeRunner>(); in TEST_F()
63 ndk::SharedRefBase::make<PipeRegistration>(this->mRegistry); in TEST_F()
/packages/services/Car/cpp/computepipe/tests/runner/client_interface/
DClientInterfaceTest.cc124 std::shared_ptr<ClientInfo> clientInfo = ndk::SharedRefBase::make<ClientInfo>(); in SetUp()
143 ndk::SharedRefBase::make<StateChangeCallback>(); in TEST_F()
162 std::shared_ptr<StreamCallback> streamCb = ndk::SharedRefBase::make<StreamCallback>(); in TEST_F()
184 ndk::SharedRefBase::make<StateChangeCallback>(); in TEST_F()
206 std::shared_ptr<StreamCallback> streamCb = ndk::SharedRefBase::make<StreamCallback>(); in TEST_F()
226 ndk::SharedRefBase::make<StateChangeCallback>(); in TEST_F()
260 ndk::SharedRefBase::make<StateChangeCallback>(); in TEST_F()
306 ndk::SharedRefBase::make<StateChangeCallback>(); in TEST_F()
343 ndk::SharedRefBase::make<StateChangeCallback>(); in TEST_F()
373 ndk::SharedRefBase::make<StateChangeCallback>(); in TEST_F()
[all …]
/packages/services/Car/cpp/watchdog/vts/
DVtsAidlWatchdogTargetTest.cpp123 SharedRefBase::make<MockCarWatchdogClient>(); in TEST_P()
144 SharedRefBase::make<MockCarWatchdogClient>(); in TEST_P()
151 SharedRefBase::make<MockCarWatchdogClient>(); in TEST_P()
158 SharedRefBase::make<MockResourceOveruseListener>(); in TEST_P()
170 SharedRefBase::make<MockResourceOveruseListener>(); in TEST_P()
182 SharedRefBase::make<MockResourceOveruseListener>(); in TEST_P()
/packages/modules/StatsD/statsd/tests/
DConfigManager_test.cpp171 shared_ptr<MockPendingIntentRef> pir = SharedRefBase::make<StrictMock<MockPendingIntentRef>>(); in TEST()
188 shared_ptr<MockPendingIntentRef> pir1 = SharedRefBase::make<StrictMock<MockPendingIntentRef>>(); in TEST()
196 shared_ptr<MockPendingIntentRef> pir2 = SharedRefBase::make<StrictMock<MockPendingIntentRef>>(); in TEST()
201 shared_ptr<MockPendingIntentRef> pir3 = SharedRefBase::make<StrictMock<MockPendingIntentRef>>(); in TEST()
209 shared_ptr<MockPendingIntentRef> pir4 = SharedRefBase::make<StrictMock<MockPendingIntentRef>>(); in TEST()
214 shared_ptr<MockPendingIntentRef> pir5 = SharedRefBase::make<StrictMock<MockPendingIntentRef>>(); in TEST()
248 shared_ptr<MockPendingIntentRef> pir = SharedRefBase::make<StrictMock<MockPendingIntentRef>>(); in TEST()
DStatsService_test.cpp69 shared_ptr<StatsService> service = SharedRefBase::make<StatsService>( in TEST()
88 shared_ptr<StatsService> service = SharedRefBase::make<StatsService>( in TEST()
104 shared_ptr<StatsService> service = SharedRefBase::make<StatsService>( in TEST()
123 shared_ptr<StatsService> service = SharedRefBase::make<StatsService>( in TEST()
154 auto pullAtomCallback = SharedRefBase::make<FakeSubsystemSleepCallbackWithTiming>(); in TEST_F()
/packages/modules/StatsD/statsd/tests/subscriber/
DSubscriberReporter_test.cpp46 SharedRefBase::make<StrictMock<MockPendingIntentRef>>();
48 SharedRefBase::make<StrictMock<MockPendingIntentRef>>();
50 SharedRefBase::make<StrictMock<MockPendingIntentRef>>();
91 SharedRefBase::make<StrictMock<MockPendingIntentRef>>(); in TEST_F()
/packages/inputmethods/LatinIME/tools/make-keyboard-text/res/src/com/android/inputmethod/keyboard/internal/
DKeyboardTextsTable.tmpl25 * This file is generated by tools/make-keyboard-text. The base template file is
26 * tools/make-keyboard-text/res/src/com/android/inputmethod/keyboard/internal/
32 * tools/make-keyboard-text/res/values-<locale>/donottranslate-more-keys.xml
36 * $ mmm packages/inputmethods/LatinIME/tools/make-keyboard-text
37 * $ make-keyboard-text -java packages/inputmethods/LatinIME/java
/packages/services/Car/cpp/powerpolicy/server/tests/
DCarPowerPolicyServerTest.cpp144 mServer = ndk::SharedRefBase::make<CarPowerPolicyServer>(); in CarPowerPolicyServerPeer()
327 ndk::SharedRefBase::make<MockPowerPolicyChangeCallback>(); in getPowerPolicyChangeCallback()
333 mScopedChangeCallingUid = sp<ScopedChangeCallingUid>::make(AID_SYSTEM); in setSystemCallingUid()
340 ndk::SharedRefBase::make<MockPowerPolicyDelegateCallback>(); in testApplyPowerPolicyPerPowerStateChangeAsyncInternal()
474 ndk::SharedRefBase::make<MockPowerPolicyDelegateCallback>(); in TEST_F()
527 ndk::SharedRefBase::make<MockPowerPolicyDelegateCallback>(); in TEST_F()
569 ndk::SharedRefBase::make<MockPowerPolicyDelegateCallback>(); in TEST_F()
588 ndk::SharedRefBase::make<MockPowerPolicyDelegateCallback>(); in TEST_F()
629 ndk::SharedRefBase::make<MockPowerPolicyDelegateCallback>(); in TEST_F()
674 ndk::SharedRefBase::make<MockPowerPolicyDelegateCallback>(); in TEST_F()
[all …]
/packages/modules/StatsD/statsd/tests/external/
DStatsCallbackPuller_test.cpp122 shared_ptr<FakePullAtomCallback> cb = SharedRefBase::make<FakePullAtomCallback>(); in TEST_F()
143 shared_ptr<FakePullAtomCallback> cb = SharedRefBase::make<FakePullAtomCallback>(); in TEST_F()
156 shared_ptr<FakePullAtomCallback> cb = SharedRefBase::make<FakePullAtomCallback>(); in TEST_F()
185 shared_ptr<FakePullAtomCallback> cb = SharedRefBase::make<FakePullAtomCallback>(); in TEST_F()
/packages/apps/Settings/tests/unit/
DREADME7 // The following instructions show how to run the test suite using make + adb //
10 $ make -j SettingsUnitTests
13 depending on your device model and architecture. At the end of the make command's output, there
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachineFactory.java26 public HeadsetClientStateMachine make( in make() method in HeadsetClientStateMachineFactory
28 return HeadsetClientStateMachine.make( in make()
/packages/services/Car/cpp/telemetry/cartelemetryd/tests/
DTelemetryServerTest.cpp112 mMockCarDataListener(ndk::SharedRefBase::make<MockCarDataListener>()),
113 mMockCarTelemetryCallback(ndk::SharedRefBase::make<MockCarTelemetryCallback>()),
114 mTelemetry(ndk::SharedRefBase::make<CarTelemetryImpl>(&mTelemetryServer)),
116 ndk::SharedRefBase::make<CarTelemetryInternalImpl>(&mTelemetryServer)) {}
157 ndk::SharedRefBase::make<MockCarTelemetryCallback>(); in TEST_F()
208 auto status = mTelemetryInternal->setListener(ndk::SharedRefBase::make<MockCarDataListener>()); in TEST_F()
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DMediaView.java153 String make = tags.getString(ExifInterface.TAG_MAKE); in showExifData() local
155 make = make != null ? make : ""; in showExifData()
159 resources.getString(R.string.metadata_camera_format, make, model)); in showExifData()
/packages/providers/MediaProvider/
Dperfetto_config.pbtx22 # command any application runs, which will make a trace very "noisy".
27 # transaction for every application, which will make a trace very "noisy".
32 # category for every application, which will make a trace very "noisy".
/packages/services/Car/cpp/computepipe/example/
DFaceTracker.cpp84 mClientInfo = ndk::SharedRefBase::make<ClientInfo>(); in init()
90 mStreamCallback = ndk::SharedRefBase::make<StreamCallback>(); in init()
91 mStateCallback = ndk::SharedRefBase::make<StateCallback>(mRemoteState); in init()
/packages/apps/ManagedProvisioning/tests/
DREADME17 make RunManagedProvisioningRoboTests
20 make RunManagedProvisioningRoboTests ROBOLECTRIC_FILTER=<class name>
/packages/services/Car/cpp/computepipe/router/1.0/
DRouterSvc.cpp55 mRegisterEngine = ndk::SharedRefBase::make<PipeRegistration>(mRegistry); in initRegistrationEngine()
70 mQueryEngine = ndk::SharedRefBase::make<PipeQuery>(mRegistry); in initQueryEngine()

12345678910>>...15