/frameworks/native/services/inputflinger/tests/ |
D | FocusResolver_test.cpp | 58 sp<IBinder> focusableWindowToken = sp<BBinder>::make(); in TEST() 59 sp<IBinder> invisibleWindowToken = sp<BBinder>::make(); in TEST() 60 sp<IBinder> unfocusableWindowToken = sp<BBinder>::make(); in TEST() 62 windows.push_back(sp<FakeWindowHandle>::make("Focusable", focusableWindowToken, in TEST() 64 windows.push_back(sp<FakeWindowHandle>::make("Invisible", invisibleWindowToken, in TEST() 66 windows.push_back(sp<FakeWindowHandle>::make("unfocusable", unfocusableWindowToken, in TEST() 93 sp<IBinder> focusableWindowToken = sp<BBinder>::make(); in TEST() 95 windows.push_back(sp<FakeWindowHandle>::make("Focusable", focusableWindowToken, in TEST() 117 sp<IBinder> focusableWindowToken = sp<BBinder>::make(); in TEST() 118 sp<IBinder> invisibleWindowToken = sp<BBinder>::make(); in TEST() [all …]
|
D | AnrTracker_test.cpp | 43 sp<IBinder> token1 = sp<BBinder>::make(); in TEST() 44 sp<IBinder> token2 = sp<BBinder>::make(); in TEST() 93 sp<IBinder> token1 = sp<BBinder>::make(); in TEST() 94 sp<IBinder> token2 = sp<BBinder>::make(); in TEST() 107 sp<IBinder> token1 = sp<BBinder>::make(); in TEST() 108 sp<IBinder> token2 = sp<BBinder>::make(); in TEST() 122 sp<IBinder> token1 = sp<BBinder>::make(); in TEST() 123 sp<IBinder> token2 = sp<BBinder>::make(); in TEST() 155 tracker.erase(1, sp<BBinder>::make()); in TEST() 160 tracker.erase(2, sp<BBinder>::make()); in TEST()
|
D | InputTracingTest.cpp | 89 sp<testing::NiceMock<FakePackageManager>>::make(); 186 auto window = sp<FakeWindowHandle>::make(APP, mDispatcher, "Window", DISPLAY_ID); in TEST_F() 201 auto window = sp<FakeWindowHandle>::make(APP, mDispatcher, "Window", DISPLAY_ID); in TEST_F() 219 auto window = sp<FakeWindowHandle>::make(APP, mDispatcher, "Window", DISPLAY_ID); in TEST_F() 240 auto window = sp<FakeWindowHandle>::make(APP, mDispatcher, "Window", DISPLAY_ID); in TEST_F() 260 auto window = sp<FakeWindowHandle>::make(APP, mDispatcher, "Window", DISPLAY_ID); in TEST_F() 284 auto window = sp<FakeWindowHandle>::make(APP, mDispatcher, "Window", DISPLAY_ID); in TEST_F() 285 auto spy = sp<FakeWindowHandle>::make(APP, mDispatcher, "Spy", DISPLAY_ID); in TEST_F() 328 auto window = sp<FakeWindowHandle>::make(APP, mDispatcher, "Window", DISPLAY_ID); in TEST_F() 329 auto spy = sp<FakeWindowHandle>::make(APP, mDispatcher, "Spy", DISPLAY_ID); in TEST_F() [all …]
|
/frameworks/native/libs/binder/tests/ |
D | binderBinderUnitTest.cpp | 33 auto binder = sp<BBinder>::make(); in TEST() 40 auto binder = sp<BBinder>::make(); in TEST() 47 auto binder = sp<BBinder>::make(); in TEST() 48 auto ext = sp<BBinder>::make(); in TEST() 66 static sp<IBinder> make(const void* arg) { in make() function 67 return sp<UniqueBinder>::make(arg); in make() 71 auto binder = sp<BBinder>::make(); in TEST() 74 sp<IBinder> createdBinder = binder->lookupOrCreateWeak(kObjectId1, make, &cookie); in TEST() 77 sp<IBinder> lookedUpBinder = binder->lookupOrCreateWeak(kObjectId1, make, &cookie); in TEST() 83 auto binder = sp<BBinder>::make(); in TEST() [all …]
|
D | binderMemoryHeapBaseUnitTest.cpp | 25 auto mHeap = sp<MemoryHeapBase>::make(10, MemoryHeapBase::FORCE_MEMFD, "Test mapping"); in TEST() 34 auto mHeap = sp<MemoryHeapBase>::make(8192, in TEST() 45 auto mHeap = sp<MemoryHeapBase>::make(8192, in TEST() 57 auto mHeap = sp<MemoryHeapBase>::make(8192, in TEST() 70 auto mHeap = sp<MemoryHeapBase>::make(8192, in TEST() 84 auto mHeap = sp<MemoryHeapBase>::make(8192, in TEST() 96 auto mHeap = sp<MemoryHeapBase>::make(8192, in TEST()
|
/frameworks/av/media/libeffects/dynamicsproc/aidl/ |
D | DynamicsProcessing.cpp | 43 *instanceSpp = ndk::SharedRefBase::make<DynamicsProcessingImpl>(); in createEffect() 65 .min = DynamicsProcessing::make< 74 .max = DynamicsProcessing::make< 92 .min = DynamicsProcessing::make<DynamicsProcessing::preEq>({kChannelConfigMin}), 93 .max = DynamicsProcessing::make<DynamicsProcessing::preEq>({kChannelConfigMax})}; 96 .min = DynamicsProcessing::make<DynamicsProcessing::postEq>({kChannelConfigMin}), 97 .max = DynamicsProcessing::make<DynamicsProcessing::postEq>({kChannelConfigMax})}; 100 .min = DynamicsProcessing::make<DynamicsProcessing::mbc>({kChannelConfigMin}), 101 .max = DynamicsProcessing::make<DynamicsProcessing::mbc>({kChannelConfigMax})}; 118 .min = DynamicsProcessing::make<DynamicsProcessing::preEqBand>({kEqBandConfigMin}), [all …]
|
/frameworks/av/media/libaudioclient/aidl/fuzzer/ |
D | audioflinger_aidl_fuzzer.cpp | 53 gFakeServiceManager = sp<FakeServiceManager>::make(); in LLVMFuzzerInitialize() 56 auto configService = ndk::SharedRefBase::make<ConfigMock>(); in LLVMFuzzerInitialize() 60 auto factoryService = ndk::SharedRefBase::make<FactoryMock>(); in LLVMFuzzerInitialize() 65 auto moduleService = ndk::SharedRefBase::make<ModuleMock>(); in LLVMFuzzerInitialize() 87 const auto audioFlinger = sp<AudioFlinger>::make(); in LLVMFuzzerTestOneInput() 88 gAudioFlingerServerAdapter = sp<AudioFlingerServerAdapter>::make(audioFlinger); in LLVMFuzzerTestOneInput() 95 const auto audioPolicyService = sp<AudioPolicyService>::make(); in LLVMFuzzerTestOneInput()
|
/frameworks/av/services/audiopolicy/fuzzer/aidl/ |
D | audiopolicy_aidl_fuzzer.cpp | 55 gFakeServiceManager = sp<FakeServiceManager>::make(); in LLVMFuzzerInitialize() 58 auto configService = ndk::SharedRefBase::make<ConfigMock>(); in LLVMFuzzerInitialize() 62 auto factoryService = ndk::SharedRefBase::make<FactoryMock>(); in LLVMFuzzerInitialize() 67 auto moduleService = ndk::SharedRefBase::make<ModuleMock>(); in LLVMFuzzerInitialize() 89 const auto audioFlinger = sp<AudioFlinger>::make(); in LLVMFuzzerTestOneInput() 90 const auto audioFlingerServerAdapter = sp<AudioFlingerServerAdapter>::make(audioFlinger); in LLVMFuzzerTestOneInput() 97 gAudioPolicyService = sp<AudioPolicyService>::make(); in LLVMFuzzerTestOneInput()
|
/frameworks/av/media/libaudioclient/aidl/fuzzer/libaudiomockhal/ |
D | ModuleMock.cpp | 47 *_aidl_return = ndk::SharedRefBase::make<TelephonyMock>(); in getTelephony() 52 *_aidl_return = ndk::SharedRefBase::make<BluetoothMock>(); in getBluetooth() 57 *_aidl_return = ndk::SharedRefBase::make<BluetoothA2dpMock>(); in getBluetoothA2dp() 62 *_aidl_return = ndk::SharedRefBase::make<BluetoothLeMock>(); in getBluetoothLe() 68 _aidl_return->stream = ndk::SharedRefBase::make<StreamInMock>(); in openInputStream() 74 _aidl_return->stream = ndk::SharedRefBase::make<StreamOutMock>(); in openOutputStream() 109 *_aidl_return = ndk::SharedRefBase::make<SoundDoseMock>(); in getSoundDose() 130 return AudioPortExt::make<AudioPortExt::Tag::device>(deviceExt); in createDeviceExt() 138 port.flags = isInput ? AudioIoFlags::make<AudioIoFlags::Tag::input>(flags) in createPort() 139 : AudioIoFlags::make<AudioIoFlags::Tag::output>(flags); in createPort()
|
/frameworks/av/media/libaudioclient/tests/ |
D | audio_aidl_legacy_conversion_tests.cpp | 91 return AudioChannelLayout::make<AudioChannelLayout::Tag::invalid>(0); in make_ACL_Invalid() 95 return AudioChannelLayout::make<AudioChannelLayout::Tag::layoutMask>( in make_ACL_Stereo() 100 return AudioChannelLayout::make<AudioChannelLayout::Tag::layoutMask>( in make_ACL_Tri() 105 return AudioChannelLayout::make<AudioChannelLayout::Tag::layoutMask>( in make_ACL_LayoutArbitrary() 113 return AudioChannelLayout::make<AudioChannelLayout::Tag::indexMask>( in make_ACL_ChannelIndex2() 119 return AudioChannelLayout::make<AudioChannelLayout::Tag::indexMask>(5); in make_ACL_ChannelIndexArbitrary() 123 return AudioChannelLayout::make<AudioChannelLayout::Tag::voiceMask>( in make_ACL_VoiceCall() 324 AudioChannelLayout::make<AudioChannelLayout::Tag::layoutMask>( 326 AudioChannelLayout::make<AudioChannelLayout::Tag::layoutMask>( 328 AudioChannelLayout::make<AudioChannelLayout::Tag::layoutMask>( [all …]
|
D | audiorouting_tests.cpp | 54 sp<AudioPlayback> ap = sp<AudioPlayback>::make(0 /* sampleRate */, AUDIO_FORMAT_PCM_16_BIT, in TEST() 62 sp<OnAudioDeviceUpdateNotifier> cb = sp<OnAudioDeviceUpdateNotifier>::make(); in TEST() 96 sp<AudioCapture> capture = sp<AudioCapture>::make( in TEST() 100 sp<OnAudioDeviceUpdateNotifier> cbCapture = sp<OnAudioDeviceUpdateNotifier>::make(); in TEST() 104 sp<AudioPlayback> playback = sp<AudioPlayback>::make( in TEST() 111 sp<OnAudioDeviceUpdateNotifier> cbPlayback = sp<OnAudioDeviceUpdateNotifier>::make(); in TEST() 155 mix.mToken = sp<BBinder>::make(); in SetUp() 187 sp<AudioPlayback> playback = sp<AudioPlayback>::make( in TEST_F() 194 sp<OnAudioDeviceUpdateNotifier> cbPlayback = sp<OnAudioDeviceUpdateNotifier>::make(); in TEST_F() 198 sp<AudioCapture> captureA = sp<AudioCapture>::make( in TEST_F() [all …]
|
D | audiotrack_tests.cpp | 36 attributionSource.token = sp<BBinder>::make(); in TEST() 37 const auto at = sp<AudioTrack>::make(attributionSource); in TEST() 47 const auto ap = sp<AudioPlayback>::make(44100 /* sampleRate */, AUDIO_FORMAT_PCM_16_BIT, in TEST() 60 const auto ap = sp<AudioPlayback>::make( in TEST() 94 ap = sp<AudioPlayback>::make(info.sample_rate, info.format, info.channel_mask, in TEST() 98 ap = sp<AudioPlayback>::make(config.sample_rate, config.format, config.channel_mask, in TEST() 144 const auto ap = sp<AudioPlayback>::make(0 /* sampleRate */, AUDIO_FORMAT_PCM_16_BIT, in TEST() 152 sp<OnAudioDeviceUpdateNotifier> cb = sp<OnAudioDeviceUpdateNotifier>::make(); in TEST() 153 sp<OnAudioDeviceUpdateNotifier> cbOld = sp<OnAudioDeviceUpdateNotifier>::make(); in TEST() 198 mAP = sp<AudioPlayback>::make(mSampleRate, mFormat, mChannelMask, mFlags, in SetUp()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/ |
D | PredictorTest.cpp | 79 sp<mock::LayerFE> layerFEOne = sp<mock::LayerFE>::make(); in TEST_F() 87 sp<mock::LayerFE> layerFETwo = sp<mock::LayerFE>::make(); in TEST_F() 95 sp<mock::LayerFE> layerFEThree = sp<mock::LayerFE>::make(); in TEST_F() 110 sp<mock::LayerFE> layerFEOne = sp<mock::LayerFE>::make(); in TEST_F() 119 sp<mock::LayerFE> layerFETwo = sp<mock::LayerFE>::make(); in TEST_F() 137 sp<mock::LayerFE> layerFEOne = sp<mock::LayerFE>::make(); in TEST_F() 147 sp<mock::LayerFE> layerFETwo = sp<mock::LayerFE>::make(); in TEST_F() 171 sp<mock::LayerFE> layerFEOne = sp<mock::LayerFE>::make(); in TEST_F() 181 sp<mock::LayerFE> layerFETwo = sp<mock::LayerFE>::make(); in TEST_F() 202 sp<mock::LayerFE> layerFEOne = sp<mock::LayerFE>::make(); in TEST_F() [all …]
|
D | LayerStateTest.cpp | 114 sp<mock::LayerFE> mLayerFE = sp<mock::LayerFE>::make(); 140 sp<mock::LayerFE> newLayerFE = sp<mock::LayerFE>::make(); in TEST_F() 164 sp<mock::LayerFE> newLayerFE = sp<mock::LayerFE>::make(); in TEST_F() 179 sp<mock::LayerFE> newLayerFE = sp<mock::LayerFE>::make(); in TEST_F() 209 sp<mock::LayerFE> newLayerFE = sp<mock::LayerFE>::make(); in TEST_F() 224 sp<mock::LayerFE> newLayerFE = sp<mock::LayerFE>::make(); in TEST_F() 256 sp<mock::LayerFE> newLayerFE = sp<mock::LayerFE>::make(); in TEST_F() 274 sp<mock::LayerFE> newLayerFE = sp<mock::LayerFE>::make(); in TEST_F() 328 sp<mock::LayerFE> newLayerFE = sp<mock::LayerFE>::make(); in TEST_F() 346 sp<mock::LayerFE> newLayerFE = sp<mock::LayerFE>::make(); in TEST_F() [all …]
|
/frameworks/wilhelm/tools/hashgen/ |
D | README.txt | 5 * 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/ |
D | development.md | 4 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/cmds/servicemanager/ |
D | test_sm.cpp | 54 return sp<LinkableBinder>::make(); in getBinder() 79 sp<ServiceManager> sm = sp<NiceMock<MockServiceManager>>::make(std::move(access)); in getPermissiveServiceManager() 134 sp<ServiceManager> sm = sp<NiceMock<MockServiceManager>>::make(std::move(access)); in TEST() 176 sp<ServiceManager> sm = sp<NiceMock<MockServiceManager>>::make(std::move(access)); in TEST() 209 sp<ServiceManager> sm = sp<NiceMock<MockServiceManager>>::make(std::move(access)); in TEST() 233 sp<ServiceManager> sm = sp<NiceMock<MockServiceManager>>::make(std::move(access)); in TEST() 259 sp<ServiceManager> sm = sp<NiceMock<MockServiceManager>>::make(std::move(access)); in TEST() 276 sp<ServiceManager> sm = sp<NiceMock<MockServiceManager>>::make(std::move(access)); in TEST() 405 sp<ServiceManager> sm = sp<ServiceManager>::make(std::move(access)); in TEST() 407 sp<CallbackHistorian> cb = sp<CallbackHistorian>::make(); in TEST() [all …]
|
/frameworks/av/media/libstagefright/tests/fuzzers/ |
D | FuzzerMediaUtility.cpp | 38 writer = sp<AACWriter>::make(fd); in createWriter() 45 writer = sp<AACWriter>::make(fd); in createWriter() 52 writer = sp<AMRWriter>::make(fd); in createWriter() 59 writer = sp<AMRWriter>::make(fd); in createWriter() 66 writer = sp<MPEG2TSWriter>::make(fd); in createWriter() 73 writer = sp<MPEG4Writer>::make(fd); in createWriter() 109 writer = sp<OggWriter>::make(fd); in createWriter() 116 writer = sp<WebmWriter>::make(fd); in createWriter() 133 sp<MetaData> meta = sp<MetaData>::make(); in createSource() 274 return sp<FuzzSource>::make(meta, fdp); in createSource()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlingerDefaultFactory.cpp | 56 return sp<DisplayDevice>::make(creationArgs); in createDisplayDevice() 62 return sp<GraphicBuffer>::make(width, height, format, layerCount, usage, requestorName); in createGraphicBuffer() 81 return sp<Layer>::make(args); in createBufferStateLayer() 85 return sp<Layer>::make(args); in createEffectLayer() 89 return sp<LayerFE>::make(layerName); in createLayerFE()
|
/frameworks/av/media/libstagefright/rtsp/fuzzer/ |
D | sdploader_fuzzer.cpp | 85 mediaHTTPConnection = sp<FuzzMediaHTTPConnection>::make(mFdp); in makeHTTPConnection() 115 sp<FuzzAHandler> handler = sp<FuzzAHandler>::make(std::bind(&SDPLoaderFuzzer::signalEos, this)); in process() 116 sp<ALooper> looper = sp<ALooper>::make(); in process() 119 const sp<AMessage> notify = sp<AMessage>::make(kWhatLoad, handler); in process() 121 sp<SDPLoader>::make(notify, mFdp.ConsumeIntegral<uint32_t>() /* flags */, in process() 122 sp<FuzzMediaHTTPService>::make(&mFdp) /* httpService */); in process()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | VsyncModulatorTest.cpp | 68 sp<TestableVsyncModulator> mVsyncModulator = sp<TestableVsyncModulator>::make(mOffsets, Now); 91 const auto token = sp<BBinder>::make(); in TEST_F() 100 const auto token = sp<BBinder>::make(); in TEST_F() 114 const auto token = sp<BBinder>::make(); in TEST_F() 132 const auto token = sp<BBinder>::make(); in TEST_F() 152 const auto token = sp<BBinder>::make(); in TEST_F() 176 const auto token1 = sp<BBinder>::make(); in TEST_F() 177 const auto token2 = sp<BBinder>::make(); in TEST_F() 201 const auto token = sp<BBinder>::make(); in TEST_F()
|
D | WindowInfosListenerInvokerTest.cpp | 15 WindowInfosListenerInvokerTest() : mInvoker(sp<WindowInfosListenerInvoker>::make()) {} in WindowInfosListenerInvokerTest() 50 mInvoker->addWindowInfosListener(sp<Listener>::make([&](const gui::WindowInfosUpdate& update) { in TEST_F() 80 mInvoker->addWindowInfosListener(sp<Listener>::make([&, &listenerInfo = listenerInfos[i]]( in TEST_F() 115 mInvoker->addWindowInfosListener(sp<Listener>::make([&](const gui::WindowInfosUpdate&) { in TEST_F() 156 mInvoker->addWindowInfosListener(sp<Listener>::make([&](const gui::WindowInfosUpdate&) { in TEST_F() 188 mInvoker->addWindowInfosListener(sp<Listener>::make([&](const gui::WindowInfosUpdate& update) { in TEST_F() 230 mInvoker->addWindowInfosListener(sp<Listener>::make([&](const gui::WindowInfosUpdate&) { in TEST_F() 254 auto listenerToBeRemoved = sp<Listener>::make([](const gui::WindowInfosUpdate&) {}); in TEST_F() 261 mInvoker->addWindowInfosListener(sp<Listener>::make([&](const gui::WindowInfosUpdate& update) { in TEST_F()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | FrameMetricsReporterTests.cpp | 42 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/ |
D | README.txt | 5 * GNU make 8 Type 'make'. 11 Then do 'make clean' here.
|
/frameworks/native/libs/ftl/ |
D | function_test.cpp | 135 MyFunction::make([cls = &cls, ptr](std::string_view sv) { return cls->on_string(ptr, sv); }); in TEST() 249 EXPECT_EQ(check(Function::make<&ImplicitConversionsHelper::exact>(&helper)), 0); in TEST() 250 EXPECT_EQ(check(Function::make<&ImplicitConversionsHelper::inexact>(&helper)), 0); in TEST() 251 EXPECT_EQ(check(Function::make<&ImplicitConversionsHelper::templated<int>>(&helper)), 0); in TEST() 253 EXPECT_EQ(check(Function::make<&ImplicitConversionsHelper::static_exact>()), 0); in TEST() 254 EXPECT_EQ(check(Function::make<&ImplicitConversionsHelper::static_inexact>()), 0); in TEST() 255 EXPECT_EQ(check(Function::make<&ImplicitConversionsHelper::static_templated<int>>()), 0); in TEST() 270 EXPECT_TRUE(f == ftl::Function<void()>::make<&Observer::setCalled>(&observer)); in TEST() 285 EXPECT_TRUE(f == ftl::Function<void()>::make<&Observer::setCalled>(&observer)); in TEST() 300 EXPECT_TRUE(f == ftl::Function<void()>::make<&Observer::setCalled>(&observer)); in TEST()
|