Home
last modified time | relevance | path

Searched refs:sf (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/native/services/surfaceflinger/tests/fakehwc/
DFakeComposerUtils.cpp140 sp<android::IBinder> sf; in startSurfaceFlinger() local
141 while (sf == nullptr) { in startSurfaceFlinger()
143 sf = sm->checkService(String16(android::SurfaceFlinger::getServiceName())); in startSurfaceFlinger()
152 sp<android::IBinder> sf; in stopSurfaceFlinger() local
153 while (sf != nullptr) { in stopSurfaceFlinger()
155 sf = sm->checkService(String16(android::SurfaceFlinger::getServiceName())); in stopSurfaceFlinger()
DSFFakeHwc_test.cpp1241 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in TearDown() local
1243 status_t result = sf->getLayerDebugInfo(&layers); in TearDown()
/frameworks/native/libs/gui/
DDisplayEventReceiver.cpp38 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in DisplayEventReceiver() local
39 if (sf != nullptr) { in DisplayEventReceiver()
40 mEventConnection = sf->createDisplayEventConnection(vsyncSource, eventRegistration); in DisplayEventReceiver()
DTransactionTracing.cpp35 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in getInstance() local
36 sf->addTransactionTraceListener(sInstance); in getInstance()
DSurfaceComposerClient.cpp763 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in doUncacheBufferTransaction() local
770 sf->setTransactionState(FrameTimelineInfo{}, {}, {}, 0, applyToken, {}, systemTime(), true, in doUncacheBufferTransaction()
825 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in apply() local
888 sf->setTransactionState(mFrameTimelineInfo, composerStates, displayStates, flags, applyToken, in apply()
1793 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in onFirstRef() local
1794 if (sf != nullptr && mStatus == NO_INIT) { in onFirstRef()
1796 conn = sf->createConnection(); in onFirstRef()
1819 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in linkToComposerDeath() local
1820 return IInterface::asBinder(sf)->linkToDeath(recipient, cookie, flags); in linkToComposerDeath()
1937 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in enableVSyncInjections() local
[all …]
/frameworks/av/media/libaudioprocessing/tests/
Dtest-resampler.cpp214 SNDFILE *sf = sf_open(file_in, SFM_READ, &info); in main() local
215 if (sf == NULL) { in main()
221 (void) sf_readf_short(sf, (short *) input_vaddr, info.frames); in main()
222 sf_close(sf); in main()
507 SNDFILE *sf = sf_open(file_out, SFM_WRITE, &info); in main() local
508 if (sf == NULL) { in main()
512 (void) sf_writef_short(sf, convert, output_frames); in main()
513 sf_close(sf); in main()
Dtest_utils.h276 SNDFILE *sf = sf_open(file_in, SFM_READ, &info);
277 if (sf == NULL) {
283 (void) sf_readf_float(sf, (float *) mAddr, mNumFrames);
285 (void) sf_readf_short(sf, (short *) mAddr, mNumFrames);
287 sf_close(sf);
Dtest-mixer.cpp67 SNDFILE *sf = sf_open(filename, SFM_WRITE, &info); in writeFile() local
68 if (sf == NULL) { in writeFile()
73 (void) sf_writef_float(sf, (float*)buffer, frames); in writeFile()
75 (void) sf_writef_short(sf, (short*)buffer, frames); in writeFile()
77 sf_close(sf); in writeFile()
/frameworks/av/media/codecs/amrnb/enc/src/
Dcor_h_x2.cpp232 Word16 sf, /* (i): scaling factor: 2 for 12.2, 1 for others */ in cor_h_x2() argument
274 j = sub(norm_l(tot), sf, pOverflow); in cor_h_x2()
Dcor_h_x.cpp248 Word16 sf, /* (i): scaling factor: 2 for 12.2, 1 for others */ in cor_h_x() argument
306 j = norm_l(tot) - sf; in cor_h_x()
Dcor_h_x.h90 Word16 sf, /* (i): scaling factor: 2 for 12.2, 1 for others */
Dcor_h_x2.h109 Word16 sf, /* (i): scaling factor: 2 for 12.2, 1 for others */
/frameworks/av/services/audioflinger/
DNBAIO_Tee.cpp444 SNDFILE *sf = sf_open(path.c_str(), SFM_WRITE, &info); in createInternal() local
445 if (sf == nullptr) { in createInternal()
454 sf_close(sf); in createInternal()
473 reallyWritten = sf_writef_short(sf, (const int16_t *)buffer, actualRead); in createInternal()
476 reallyWritten = sf_writef_int(sf, (const int32_t *)buffer, actualRead); in createInternal()
479 reallyWritten = sf_writef_float(sf, (const float *)buffer, actualRead); in createInternal()
497 sf_close(sf); in createInternal()
/frameworks/native/services/surfaceflinger/tests/
DRefreshRateOverlay_test.cpp40 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in sendCommandToSf() local
45 IInterface::asBinder(sf)->transact(kRefreshRateOverlayCode, request, &reply)); in sendCommandToSf()
DCredentials_test.cpp310 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in TEST_F() local
317 ASSERT_EQ(NO_ERROR, sf->getLayerDebugInfo(&outLayers)); in TEST_F()
321 ASSERT_EQ(NO_ERROR, sf->getLayerDebugInfo(&outLayers)); in TEST_F()
326 ASSERT_EQ(PERMISSION_DENIED, sf->getLayerDebugInfo(&outLayers)); in TEST_F()
DLayerTransactionTest.h47 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in SetUp()
48 ASSERT_NO_FATAL_FAILURE(sf->getColorManagement(&mColorManagementUsed)); in SetUp()
/frameworks/native/services/surfaceflinger/tests/utils/
DScreenshotUtils.h34 const auto sf = ComposerService::getComposerService(); in captureDisplay() local
39 status_t status = sf->captureDisplay(captureArgs, captureListener); in captureDisplay()
67 const auto sf = ComposerService::getComposerService(); in captureLayers() local
72 status_t status = sf->captureLayers(captureArgs, captureListener); in captureLayers()
/frameworks/base/libs/hwui/tests/scripts/
Dstopruntime.sh25 adb shell setprop debug.sf.nobootanimation 1
/frameworks/compile/libbcc/lib/
DCompiler.cpp381 const char *sf[] = { in addInternalizeSymbolsPass() local
393 const char **special_functions = sf; in addInternalizeSymbolsPass()
/frameworks/av/services/mediacodec/registrant/
DCodecServiceRegistrant.cpp99 for (const SettingResult& sf : f) { in config_sm() local
100 if (!objcpy(&(*failures)[i++], sf)) { in config_sm()
/frameworks/base/startop/scripts/app_startup/
Danalyze_metrics.py330 return sc.t.sf(t_value, dof)
/frameworks/native/libs/gui/tests/
DSurface_test.cpp203 const auto sf = ComposerService::getComposerService(); in captureDisplay() local
207 status_t status = sf->captureDisplay(captureArgs, captureListener); in captureDisplay()
257 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in TEST_F() local
259 const sp<IBinder> display = sf->getInternalDisplayToken(); in TEST_F()
DBLASTBufferQueue_test.cpp240 const auto sf = ComposerService::getComposerService(); in captureDisplay() local
244 status_t status = sf->captureDisplay(captureArgs, captureListener); in captureDisplay()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java8295 IBinder sf = ServiceManager.getService("SurfaceFlinger"); in isLayerTracing() local
8296 if (sf != null) { in isLayerTracing()
8300 sf.transact(/* LAYER_TRACE_STATUS_CODE */ 1026, data, reply, 0 /* flags */); in isLayerTracing()
8330 IBinder sf = ServiceManager.getService("SurfaceFlinger"); in setLayerTracing() local
8331 if (sf != null) { in setLayerTracing()
8335 sf.transact(/* LAYER_TRACE_CONTROL_CODE */ 1025, data, null, 0 /* flags */); in setLayerTracing()
8360 IBinder sf = ServiceManager.getService("SurfaceFlinger"); in setLayerTracingFlags() local
8361 if (sf != null) { in setLayerTracingFlags()
8365 sf.transact(1033 /* LAYER_TRACE_FLAGS_CODE */, data, null, 0 /* flags */); in setLayerTracingFlags()
/frameworks/av/media/codec2/hidl/client/
Dclient.cpp398 for (const SettingResult& sf : f) { in config() local
399 if (!objcpy(&(*failures)[i++], sf)) { in config()

12