Home
last modified time | relevance | path

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

12345678910>>...20

/frameworks/native/libs/binder/tests/
DbinderMemoryHeapBaseUnitTest.cpp25 auto mHeap = sp<MemoryHeapBase>::make(10, MemoryHeapBase::FORCE_MEMFD, "Test mapping"); in TEST()
33 auto mHeap = sp<MemoryHeapBase>::make(8192, in TEST()
42 auto mHeap = sp<MemoryHeapBase>::make(8192, in TEST()
52 auto mHeap = sp<MemoryHeapBase>::make(8192, in TEST()
62 auto mHeap = sp<MemoryHeapBase>::make(8192, in TEST()
74 auto mHeap = sp<MemoryHeapBase>::make(8192, in TEST()
85 auto mHeap = sp<MemoryHeapBase>::make(8192, in TEST()
DbinderBinderUnitTest.cpp32 auto binder = sp<BBinder>::make(); in TEST()
39 auto binder = sp<BBinder>::make(); in TEST()
46 auto binder = sp<BBinder>::make(); in TEST()
47 auto ext = sp<BBinder>::make(); in TEST()
DbinderRpcBenchmark.cpp101 return RpcTransportCtxFactoryTls::make(verifier, std::move(auth)); in makeFactoryTls()
104 static sp<RpcSession> gSession = RpcSession::make();
107 static sp<RpcSession> gSessionTls = RpcSession::make(makeFactoryTls());
196 sp<IBinder> binder = sp<BBinder>::make(); in BM_repeatBinder()
208 server->setRootObject(sp<MyBinderRpcBenchmark>::make()); in forkRpcServer()
239 sp<MyBinderRpcBenchmark>::make())); in main()
255 forkRpcServer(addr.c_str(), RpcServer::make(RpcTransportCtxFactoryRaw::make())); in main()
260 forkRpcServer(tlsAddr.c_str(), RpcServer::make(makeFactoryTls())); in main()
/frameworks/wilhelm/tools/hashgen/
DREADME.txt5 * GNU make
14 Type 'make'.
17 its stable location in ../../src/autogen using 'make install'.
18 Build and test the usage of the new IID on host by "make run_test"
21 Then do 'make clean' or 'make distclean' here.
/frameworks/base/tools/aapt2/
Ddevelopment.md4 All build targets can be found in `Android.bp` file. The main ones are `make -j aapt2` and `make -j…
6 `make -j aapt2` will create an aapt2 executable in `out/host/linux-x86/bin/aapt2` (on Linux). This …
8 Static version of the tool (without shared libraries) can be built with `make -j static_sdk_tools d…
11 Build `make -j aapt2_tests` and then (on Linux) execute `out/host/linux-x86/nativetest64/aapt2_test…
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/
DPredictorTest.cpp76 sp<mock::LayerFE> layerFEOne = sp<mock::LayerFE>::make(); in TEST_F()
84 sp<mock::LayerFE> layerFETwo = sp<mock::LayerFE>::make(); in TEST_F()
92 sp<mock::LayerFE> layerFEThree = sp<mock::LayerFE>::make(); in TEST_F()
107 sp<mock::LayerFE> layerFEOne = sp<mock::LayerFE>::make(); in TEST_F()
116 sp<mock::LayerFE> layerFETwo = sp<mock::LayerFE>::make(); in TEST_F()
131 sp<mock::LayerFE> layerFEOne = sp<mock::LayerFE>::make(); in TEST_F()
141 sp<mock::LayerFE> layerFETwo = sp<mock::LayerFE>::make(); in TEST_F()
162 sp<mock::LayerFE> layerFEOne = sp<mock::LayerFE>::make(); in TEST_F()
172 sp<mock::LayerFE> layerFETwo = sp<mock::LayerFE>::make(); in TEST_F()
193 sp<mock::LayerFE> layerFEOne = sp<mock::LayerFE>::make(); in TEST_F()
[all …]
DLayerStateTest.cpp112 sp<mock::LayerFE> mLayerFE = sp<mock::LayerFE>::make();
135 sp<mock::LayerFE> newLayerFE = sp<mock::LayerFE>::make(); in TEST_F()
159 sp<mock::LayerFE> newLayerFE = sp<mock::LayerFE>::make(); in TEST_F()
174 sp<mock::LayerFE> newLayerFE = sp<mock::LayerFE>::make(); in TEST_F()
204 sp<mock::LayerFE> newLayerFE = sp<mock::LayerFE>::make(); in TEST_F()
219 sp<mock::LayerFE> newLayerFE = sp<mock::LayerFE>::make(); in TEST_F()
251 sp<mock::LayerFE> newLayerFE = sp<mock::LayerFE>::make(); in TEST_F()
269 sp<mock::LayerFE> newLayerFE = sp<mock::LayerFE>::make(); in TEST_F()
313 sp<mock::LayerFE> newLayerFE = sp<mock::LayerFE>::make(); in TEST_F()
331 sp<mock::LayerFE> newLayerFE = sp<mock::LayerFE>::make(); in TEST_F()
[all …]
/frameworks/native/cmds/servicemanager/
Dtest_sm.cpp49 return sp<LinkableBinder>::make(); in getBinder()
74 sp<ServiceManager> sm = sp<NiceMock<MockServiceManager>>::make(std::move(access)); in getPermissiveServiceManager()
122 sp<ServiceManager> sm = sp<NiceMock<MockServiceManager>>::make(std::move(access)); in TEST()
164 sp<ServiceManager> sm = sp<NiceMock<MockServiceManager>>::make(std::move(access)); in TEST()
197 sp<ServiceManager> sm = sp<NiceMock<MockServiceManager>>::make(std::move(access)); in TEST()
221 sp<ServiceManager> sm = sp<NiceMock<MockServiceManager>>::make(std::move(access)); in TEST()
247 sp<ServiceManager> sm = sp<NiceMock<MockServiceManager>>::make(std::move(access)); in TEST()
264 sp<ServiceManager> sm = sp<NiceMock<MockServiceManager>>::make(std::move(access)); in TEST()
332 sp<ServiceManager> sm = sp<ServiceManager>::make(std::move(access)); in TEST()
334 sp<CallbackHistorian> cb = sp<CallbackHistorian>::make(); in TEST()
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/
DVsyncModulatorTest.cpp71 sp<TestableVsyncModulator> mVsyncModulator = sp<TestableVsyncModulator>::make(mOffsets, Now);
94 const auto token = sp<BBinder>::make(); in TEST_F()
103 const auto token = sp<BBinder>::make(); in TEST_F()
117 const auto token = sp<BBinder>::make(); in TEST_F()
135 const auto token = sp<BBinder>::make(); in TEST_F()
155 const auto token = sp<BBinder>::make(); in TEST_F()
179 const auto token1 = sp<BBinder>::make(); in TEST_F()
180 const auto token2 = sp<BBinder>::make(); in TEST_F()
204 const auto token = sp<BBinder>::make(); in TEST_F()
/frameworks/base/libs/hwui/tests/unit/
DFrameMetricsReporterTests.cpp42 auto observer = sp<TestFrameMetricsObserver>::make(false /*waitForPresentTime*/); in TEST()
74 auto observer = sp<TestFrameMetricsObserver>::make(hasPresentTime); in TEST()
95 auto observer = sp<TestFrameMetricsObserver>::make(hasPresentTime); in TEST()
119 sp<TestFrameMetricsObserver>::make(hasPresentTime /*waitForPresentTime*/); in TEST()
151 sp<TestFrameMetricsObserver>::make(hasPresentTime /*waitForPresentTime*/); in TEST()
175 auto observer = sp<TestFrameMetricsObserver>::make(hasPresentTime /*waitForPresentTime*/); in TEST()
197 auto observer1 = sp<TestFrameMetricsObserver>::make(hasPresentTime /*waitForPresentTime*/); in TEST()
198 auto observer2 = sp<TestFrameMetricsObserver>::make(hasPresentTime /*waitForPresentTime*/); in TEST()
/frameworks/wilhelm/tools/mphtogen/
DREADME.txt5 * GNU make
8 Type 'make'.
11 Then do 'make clean' here.
/frameworks/native/libs/binder/
Dlibbinder_rpc_unstable.cpp35 auto server = RpcServer::make(); in RunRpcServerWithFactory()
57 auto server = RpcServer::make(); in RunRpcServerCallback()
78 auto session = RpcSession::make(); in RpcClient()
88 auto session = RpcSession::make(); in RpcPreconnectedClient()
/frameworks/native/services/surfaceflinger/fuzzer/
Dsurfaceflinger_layer_fuzzer.cpp80 sp<Client> client = sp<Client>::make(flinger.flinger()); in invokeEffectLayer()
82 sp<EffectLayer> effectLayer = sp<EffectLayer>::make(layerCreationArgs); in invokeEffectLayer()
88 sp<EffectLayer> parent = sp<EffectLayer>::make(layerCreationArgs); in invokeEffectLayer()
112 sp<Client> client = sp<Client>::make(flinger.flinger()); in invokeBufferStateLayer()
114 sp<BufferStateLayer>::make(createLayerCreationArgs(&flinger, client)); in invokeBufferStateLayer()
115 sp<Fence> fence = sp<Fence>::make(); in invokeBufferStateLayer()
148 sp<NativeHandle> nativeHandle = sp<NativeHandle>::make(testHandle, ownsHandle); in invokeBufferStateLayer()
/frameworks/base/cmds/incident_helper/
DREADME.md10 root$ make -j incident_helper_test && adb shell mkdir /data/nativetest64/incident_helper_test
22 If add a new proto file, add it in Android.bp under frameworks/base/ and make incident helper
25 root$ make -j48 incident_helper
/frameworks/native/libs/binder/tests/unit_fuzzers/
DBpBinderFuzz.cpp41 sp<RpcServer> server = RpcServer::make(); in LLVMFuzzerTestOneInput()
46 server->setRootObject(sp<BBinder>::make()); in LLVMFuzzerTestOneInput()
51 sp<RpcSession> session = RpcSession::make(); in LLVMFuzzerTestOneInput()
/frameworks/av/services/tuner/
DTunerDemux.cpp88 ::ndk::SharedRefBase::make<TunerFilter::FilterCallback>(in_cb); in openFilter()
92 *_aidl_return = ::ndk::SharedRefBase::make<TunerFilter>(filter, filterCb, in_type); in openFilter()
108 *_aidl_return = ::ndk::SharedRefBase::make<TunerTimeFilter>(filter); in openTimeFilter()
145 shared_ptr<IDvrCallback> callback = ::ndk::SharedRefBase::make<TunerDvr::DvrCallback>(in_cb); in openDvr()
149 *_aidl_return = ::ndk::SharedRefBase::make<TunerDvr>(halDvr, in_dvbType); in openDvr()
/frameworks/native/libs/binder/tests/rpc_fuzzer/
Dmain.cpp54 (void)reply->writeStrongBinder(sp<BBinder>::make()); in onTransact()
106 return RpcTransportCtxFactoryRaw::make(); in makeTransportCtxFactory()
110 return RpcTransportCtxFactoryTls::make(verifier, createServerRpcAuth()); in makeTransportCtxFactory()
120 sp<RpcServer> server = RpcServer::make(makeTransportCtxFactory(&provider)); in LLVMFuzzerTestOneInput()
121 server->setRootObject(sp<SomeBinder>::make()); in LLVMFuzzerTestOneInput()
/frameworks/av/services/mediaresourcemanager/test/
DResourceManagerServiceTestUtils.h197 mService(::ndk::SharedRefBase::make<ResourceManagerService>( in ResourceManagerServiceTestBase()
199 mTestClient1(::ndk::SharedRefBase::make<TestClient>(kTestPid1, mService)), in ResourceManagerServiceTestBase()
200 mTestClient2(::ndk::SharedRefBase::make<TestClient>(kTestPid2, mService)), in ResourceManagerServiceTestBase()
201 mTestClient3(::ndk::SharedRefBase::make<TestClient>(kTestPid2, mService)) { in ResourceManagerServiceTestBase()
205 return ::ndk::SharedRefBase::make<TestClient>(pid, mService); in createTestClient()
/frameworks/av/media/libaudioclient/tests/
Daudio_aidl_legacy_conversion_tests.cpp43 return AudioChannelLayout::make<AudioChannelLayout::Tag::invalid>(0); in make_ACL_Invalid()
47 return AudioChannelLayout::make<AudioChannelLayout::Tag::layoutMask>( in make_ACL_Stereo()
52 return AudioChannelLayout::make<AudioChannelLayout::Tag::layoutMask>( in make_ACL_LayoutArbitrary()
62 return AudioChannelLayout::make<AudioChannelLayout::Tag::indexMask>( in make_ACL_ChannelIndex2()
68 return AudioChannelLayout::make<AudioChannelLayout::Tag::indexMask>(5); in make_ACL_ChannelIndexArbitrary()
72 return AudioChannelLayout::make<AudioChannelLayout::Tag::voiceMask>( in make_ACL_VoiceCall()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DCallOrderStateMachineHelper.h102 static CurrentStateType make(InstanceType* instance) { in make() function
119 return NextStateType::make(instance); in nextState()
/frameworks/compile/libbcc/tests/
DREADME.lit2 * Ensure `llvm-rs-as` is built, either by doing a top-level `make
6 * Ensure `opt` is built from external/llvm, either by top-level `make
/frameworks/compile/slang/tests/P_reduce_general_result/
DScriptC_reduce_general_result.java.expect127 mOut = null; // make Java object eligible for garbage collection
133 mTempIns = null; // make Java objects eligible for garbage collection
163 mOut = null; // make Java object eligible for garbage collection
169 mTempIns = null; // make Java objects eligible for garbage collection
204 mOut = null; // make Java object eligible for garbage collection
210 mTempIns = null; // make Java objects eligible for garbage collection
245 mOut = null; // make Java object eligible for garbage collection
251 mTempIns = null; // make Java objects eligible for garbage collection
281 mOut = null; // make Java object eligible for garbage collection
287 mTempIns = null; // make Java objects eligible for garbage collection
[all …]
/frameworks/av/media/libstagefright/httplive/fuzzer/
Dhttplive_fuzzer.cpp118 mediaHTTPConnection = sp<TestMediaHTTPConnection>::make(); in makeHTTPConnection()
169 mLiveDataSource = sp<LiveDataSource>::make(); in initLiveDataSource()
190 sp<TestAHandler>::make(std::bind(&HttpLiveFuzzer::signalEos, this)); in initLiveSession()
191 mLiveLooper = sp<ALooper>::make(); in initLiveSession()
194 sp<AMessage> notify = sp<AMessage>::make(0, mHandler); in initLiveSession()
197 mLiveSession = sp<LiveSession>::make(notify, flags, httpService); in initLiveSession()
/frameworks/base/services/core/jni/gnss/
DGnssBatchingCallback.h72 callbackAidl = sp<GnssBatchingCallbackAidl>::make(); in getAidl()
79 callbackV1_0 = sp<GnssBatchingCallback_V1_0>::make(); in getV1_0()
86 callbackV2_0 = sp<GnssBatchingCallback_V2_0>::make(); in getV2_0()
DAGnssCallback.h90 callbackAidl = sp<AGnssCallbackAidl>::make(); in getAidl()
97 callbackV1_0 = sp<AGnssCallback_V1_0>::make(); in getV1_0()
104 callbackV2_0 = sp<AGnssCallback_V2_0>::make(); in getV2_0()

12345678910>>...20