/frameworks/native/services/surfaceflinger/tests/fakehwc/ |
D | FakeComposerUtils.cpp | 136 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()
|
D | SFFakeHwc_test.cpp | 550 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in TearDown() local 552 status_t result = sf->getLayerDebugInfo(&layers); in TearDown()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | PhaseOffsets.cpp | 118 late.app, late.sf, early.app, early.sf, earlyGl.app, earlyGl.sf); in dump() 126 return getCurrentOffsets().late.sf; in getCurrentSfOffset()
|
D | VSyncModulator.h | 48 nsecs_t sf; member
|
D | VSyncModulator.cpp | 134 mScheduler->setPhaseOffset(mSfConnectionHandle, desired.sf); in updateOffsetsLocked()
|
/frameworks/native/libs/gui/ |
D | DisplayEventReceiver.cpp | 37 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in DisplayEventReceiver() local 38 if (sf != nullptr) { in DisplayEventReceiver() 39 mEventConnection = sf->createDisplayEventConnection(vsyncSource, configChanged); in DisplayEventReceiver()
|
D | SurfaceComposerClient.cpp | 376 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/ |
D | Credentials_test.cpp | 297 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()
|
D | InvalidHandles_test.cpp | 59 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in TEST_F() local 63 sf->captureLayers(mNotSc->getHandle(), &outBuffer, Rect::EMPTY_RECT, 1.0f)); in TEST_F()
|
D | Transaction_test.cpp | 207 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/ |
D | test-resampler.cpp | 214 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()
|
D | test_utils.h | 276 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);
|
D | test-mixer.cpp | 67 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/ |
D | WindowFrameTests.java | 154 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/ |
D | NBAIO_Tee.cpp | 444 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/ |
D | cor_h_x2.cpp | 232 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()
|
D | cor_h_x.cpp | 248 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()
|
D | cor_h_x.h | 90 Word16 sf, /* (i): scaling factor: 2 for 12.2, 1 for others */
|
D | cor_h_x2.h | 109 Word16 sf, /* (i): scaling factor: 2 for 12.2, 1 for others */
|
/frameworks/base/libs/hwui/tests/scripts/ |
D | stopruntime.sh | 25 adb shell setprop debug.sf.nobootanimation 1
|
/frameworks/compile/libbcc/lib/ |
D | Compiler.cpp | 381 const char *sf[] = { in addInternalizeSymbolsPass() local 393 const char **special_functions = sf; in addInternalizeSymbolsPass()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayPolicy.java | 1295 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/ |
D | Surface_test.cpp | 244 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/ |
D | analyze_metrics.py | 330 return sc.t.sf(t_value, dof)
|
/frameworks/av/media/codec2/hidl/client/ |
D | client.cpp | 320 for (const SettingResult& sf : f) { in config() local 321 if (!objcpy(&(*failures)[i++], sf)) { in config()
|