Home
last modified time | relevance | path

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

12

/frameworks/native/services/surfaceflinger/tests/fakehwc/
DFakeComposerUtils.cpp136 sp<android::IBinder> sf; in startSurfaceFlinger() local
137 while (sf == nullptr) { in startSurfaceFlinger()
139 sf = sm->checkService(String16(android::SurfaceFlinger::getServiceName())); in startSurfaceFlinger()
148 sp<android::IBinder> sf; in stopSurfaceFlinger() local
149 while (sf != nullptr) { in stopSurfaceFlinger()
151 sf = sm->checkService(String16(android::SurfaceFlinger::getServiceName())); in stopSurfaceFlinger()
DSFFakeHwc_test.cpp550 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in TearDown() local
552 status_t result = sf->getLayerDebugInfo(&layers); in TearDown()
/frameworks/native/services/surfaceflinger/Scheduler/
DPhaseOffsets.cpp118 late.app, late.sf, early.app, early.sf, earlyGl.app, earlyGl.sf); in dump()
126 return getCurrentOffsets().late.sf; in getCurrentSfOffset()
DVSyncModulator.h48 nsecs_t sf; member
DVSyncModulator.cpp134 mScheduler->setPhaseOffset(mSfConnectionHandle, desired.sf); in updateOffsetsLocked()
/frameworks/native/libs/gui/
DDisplayEventReceiver.cpp37 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in DisplayEventReceiver() local
38 if (sf != nullptr) { in DisplayEventReceiver()
39 mEventConnection = sf->createDisplayEventConnection(vsyncSource, configChanged); in DisplayEventReceiver()
DSurfaceComposerClient.cpp376 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in doDropReferenceTransaction() local
388 sf->setTransactionState(composerStates, displayStates, 0, applyToken, {}, -1, {}, {}); in doDropReferenceTransaction()
392 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in doUncacheBufferTransaction() local
399 sf->setTransactionState({}, {}, 0, applyToken, {}, -1, uncacheBuffer, {}); in doUncacheBufferTransaction()
446 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in apply() local
504 sf->setTransactionState(composerStates, displayStates, flags, applyToken, mInputWindowCommands, in apply()
1276 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in onFirstRef() local
1277 if (sf != nullptr && mStatus == NO_INIT) { in onFirstRef()
1279 conn = sf->createConnection(); in onFirstRef()
1302 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in linkToComposerDeath() local
[all …]
/frameworks/native/services/surfaceflinger/tests/
DCredentials_test.cpp297 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in TEST_F() local
299 std::function<bool()> condition = [=]() { return sf->authenticateSurfaceTexture(producer); }; in TEST_F()
306 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in TEST_F() local
313 ASSERT_EQ(NO_ERROR, sf->getLayerDebugInfo(&outLayers)); in TEST_F()
317 ASSERT_EQ(NO_ERROR, sf->getLayerDebugInfo(&outLayers)); in TEST_F()
322 ASSERT_EQ(PERMISSION_DENIED, sf->getLayerDebugInfo(&outLayers)); in TEST_F()
DInvalidHandles_test.cpp59 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in TEST_F() local
63 sf->captureLayers(mNotSc->getHandle(), &outBuffer, Rect::EMPTY_RECT, 1.0f)); in TEST_F()
DTransaction_test.cpp207 const auto sf = ComposerService::getComposerService(); in captureScreen() local
211 ASSERT_EQ(NO_ERROR, sf->captureScreen(displayToken, &outBuffer, Rect(), 0, 0, false)); in captureScreen()
217 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in captureLayers() local
221 ASSERT_EQ(NO_ERROR, sf->captureLayers(parentHandle, &outBuffer, crop, frameScale)); in captureLayers()
227 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in captureChildLayers() local
231 ASSERT_EQ(NO_ERROR, sf->captureLayers(parentHandle, &outBuffer, crop, frameScale, true)); in captureChildLayers()
238 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in captureChildLayersExcluding() local
243 sf->captureLayers(parentHandle, &outBuffer, ui::Dataspace::V0_SRGB, in captureChildLayersExcluding()
347 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in SetUp() local
348 ASSERT_NO_FATAL_FAILURE(sf->getColorManagement(&mColorManagementUsed)); in SetUp()
[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/base/services/tests/wmtests/src/com/android/server/wm/
DWindowFrameTests.java154 final Rect sf = new Rect(pf); in testLayoutInFullscreenTaskInsets() local
155 sf.left += leftStableInset; in testLayoutInFullscreenTaskInsets()
156 sf.right -= rightStableInset; in testLayoutInFullscreenTaskInsets()
162 w.getWindowFrames().setFrames(pf, df, of, cf, vf, dcf, sf, mEmptyRect); in testLayoutInFullscreenTaskInsets()
170 assertStableFrame(w, sf); in testLayoutInFullscreenTaskInsets()
343 final Rect sf = vf; in testCalculatePolicyCrop() local
348 windowFrames.setFrames(pf, df, of, cf, vf, dcf, sf, mEmptyRect); in testCalculatePolicyCrop()
500 final Rect sf = new Rect(pf); in testFreeformContentInsets() local
507 w.getWindowFrames().setFrames(pf, df, of, cf, vf, dcf, sf, mEmptyRect); in testFreeformContentInsets()
520 w.getWindowFrames().setFrames(pf, df, of, cf, vf, dcf, sf, mEmptyRect); in testFreeformContentInsets()
[all …]
/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/av/media/libstagefright/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/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/base/services/core/java/com/android/server/wm/
DDisplayPolicy.java1295 final Rect sf; in getLayoutHintLw() local
1297 sf = null; in getLayoutHintLw()
1299 sf = displayFrames.mStable; in getLayoutHintLw()
1321 InsetUtils.insetsBetweenFrames(outFrame, sf, outStableInsets); in getLayoutHintLw()
1882 final Rect sf = windowFrames.mStableFrame; in layoutWindowLw() local
1898 sf.set(displayFrames.mStable); in layoutWindowLw()
1931 sf.bottom -= navHeightOffset; in layoutWindowLw()
2328 + " sf=" + sf.toShortString() in layoutWindowLw()
/frameworks/native/libs/gui/tests/
DSurface_test.cpp244 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in TEST_F() local
246 const sp<IBinder> display = sf->getInternalDisplayToken(); in TEST_F()
252 sf->captureScreen(display, &outBuffer, ignored, ui::Dataspace::V0_SRGB, in TEST_F()
284 sf->captureScreen(display, &outBuffer, ignored, ui::Dataspace::V0_SRGB, in TEST_F()
/frameworks/base/startop/scripts/app_startup/
Danalyze_metrics.py330 return sc.t.sf(t_value, dof)
/frameworks/av/media/codec2/hidl/client/
Dclient.cpp320 for (const SettingResult& sf : f) { in config() local
321 if (!objcpy(&(*failures)[i++], sf)) { in config()

12