Home
last modified time | relevance | path

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

12

/frameworks/native/services/surfaceflinger/Scheduler/
DVSyncModulator.h40 nsecs_t sf; member
59 if (mSfConnectionHandle && late.sf != mOffsets.load().sf) { in setPhaseOffsets()
60 mScheduler->setPhaseOffset(mSfConnectionHandle, late.sf); in setPhaseOffsets()
161 if (desired.sf != current.sf) { in updateOffsets()
163 mScheduler->setPhaseOffset(mSfConnectionHandle, desired.sf); in updateOffsets()
165 mSfEventThread->setPhaseOffset(desired.sf); in updateOffsets()
DPhaseOffsets.cpp116 late.app, late.sf, early.app, early.sf, earlyGl.app, earlyGl.sf); in dump()
124 return getCurrentOffsets().late.sf; in getCurrentSfOffset()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/DevTools/
Dpddm_tests.py352 sf = pddm.SourceFile(f)
353 sf._ParseFile()
354 self.assertEqual(len(sf._sections), len(line_counts),
356 (idx, len(sf._sections), len(line_counts)))
357 for idx2, (sec, expected) in enumerate(zip(sf._sections, line_counts), 1):
454 sf = pddm.SourceFile(f, _Resolver)
455 sf.ProcessContent()
456 self.assertEqual(sf.processed_content, expected)
458 f2 = io.StringIO(sf.processed_content)
462 self.assertEqual(sf2.processed_content, sf.processed_content)
[all …]
/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.cpp549 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in TearDown() local
551 status_t result = sf->getLayerDebugInfo(&layers); in TearDown()
/frameworks/native/libs/gui/
DDisplayEventReceiver.cpp36 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in DisplayEventReceiver() local
37 if (sf != nullptr) { in DisplayEventReceiver()
38 mEventConnection = sf->createDisplayEventConnection(vsyncSource); 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()
1275 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in onFirstRef() local
1276 if (sf != nullptr && mStatus == NO_INIT) { in onFirstRef()
1278 conn = sf->createConnection(); in onFirstRef()
1301 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in linkToComposerDeath() local
[all …]
/frameworks/native/services/surfaceflinger/tests/
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()
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()
DTransaction_test.cpp206 const auto sf = ComposerService::getComposerService(); in captureScreen() local
210 ASSERT_EQ(NO_ERROR, sf->captureScreen(displayToken, &outBuffer, Rect(), 0, 0, false)); in captureScreen()
216 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in captureLayers() local
220 ASSERT_EQ(NO_ERROR, sf->captureLayers(parentHandle, &outBuffer, crop, frameScale)); in captureLayers()
226 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in captureChildLayers() local
230 ASSERT_EQ(NO_ERROR, sf->captureLayers(parentHandle, &outBuffer, crop, frameScale, true)); in captureChildLayers()
237 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in captureChildLayersExcluding() local
242 sf->captureLayers(parentHandle, &outBuffer, ui::Dataspace::V0_SRGB, in captureChildLayersExcluding()
346 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in SetUp() local
347 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/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/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/base/libs/hwui/tests/scripts/
Dstopruntime.sh25 adb shell setprop debug.sf.nobootanimation 1
/frameworks/base/data/fonts/
DAndroid.mk29 $(hide) ln -sf $$(notdir $$<) $$@
/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.java1285 final Rect sf; in getLayoutHintLw() local
1287 sf = null; in getLayoutHintLw()
1289 sf = displayFrames.mStable; in getLayoutHintLw()
1311 InsetUtils.insetsBetweenFrames(outFrame, sf, outStableInsets); in getLayoutHintLw()
1872 final Rect sf = windowFrames.mStableFrame; in layoutWindowLw() local
1888 sf.set(displayFrames.mStable); in layoutWindowLw()
1921 sf.bottom -= navHeightOffset; in layoutWindowLw()
2318 + " sf=" + sf.toShortString() in layoutWindowLw()
/frameworks/native/libs/gui/tests/
DSurface_test.cpp133 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in TEST_F() local
135 const sp<IBinder> display = sf->getInternalDisplayToken(); in TEST_F()
141 sf->captureScreen(display, &outBuffer, ignored, ui::Dataspace::V0_SRGB, in TEST_F()
173 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)

12