Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/
DDisplayEventReceiver.cpp35 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in DisplayEventReceiver() local
36 if (sf != NULL) { in DisplayEventReceiver()
37 mEventConnection = sf->createDisplayEventConnection(); in DisplayEventReceiver()
/frameworks/native/libs/gui/tests/
DSurface_test.cpp96 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in TEST_F() local
97 sp<IBinder> display(sf->getBuiltInDisplay(ISurfaceComposer::eDisplayIdMain)); in TEST_F()
98 ASSERT_EQ(NO_ERROR, sf->captureScreen(display, producer, Rect(), in TEST_F()
127 ASSERT_EQ(NO_ERROR, sf->captureScreen(display, producer, Rect(), in TEST_F()
/frameworks/av/services/audioflinger/
Dtest-resample.cpp213 SNDFILE *sf = sf_open(file_in, SFM_READ, &info); in main() local
214 if (sf == NULL) { in main()
220 (void) sf_readf_short(sf, (short *) input_vaddr, info.frames); in main()
221 sf_close(sf); in main()
500 SNDFILE *sf = sf_open(file_out, SFM_WRITE, &info); in main() local
501 if (sf == NULL) { in main()
505 (void) sf_writef_short(sf, convert, output_frames); in main()
506 sf_close(sf); in main()
/frameworks/av/services/audioflinger/tests/
Dtest_utils.h269 SNDFILE *sf = sf_open(file_in, SFM_READ, &info);
270 if (sf == NULL) {
276 (void) sf_readf_float(sf, (float *) mAddr, mNumFrames);
278 (void) sf_readf_short(sf, (short *) mAddr, mNumFrames);
280 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/native/services/surfaceflinger/tests/
DTransaction_test.cpp59 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in captureScreen() local
60 sp<IBinder> display(sf->getBuiltInDisplay(ISurfaceComposer::eDisplayIdMain)); in captureScreen()
61 ASSERT_EQ(NO_ERROR, sf->captureScreen(display, &heap, &w, &h, &fmt, 0, 0, in captureScreen()
/frameworks/base/data/fonts/
DAndroid.mk29 $(hide) ln -sf $$(notdir $$<) $$@
/frameworks/base/services/core/java/com/android/server/wm/
DWindowState.java508 public void computeFrameLw(Rect pf, Rect df, Rect of, Rect cf, Rect vf, Rect dcf, Rect sf) { in computeFrameLw() argument
575 mStableFrame.set(sf); in computeFrameLw()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DPhoneWindowManager.java3528 final Rect sf = mTmpStableFrame; in layoutWindowLw() local
3537 sf.set(mStableLeft, mStableTop, mStableRight, mStableBottom); in layoutWindowLw()
3539 sf.set(mOverscanLeft, mOverscanTop, mOverscanRight, mOverscanBottom); in layoutWindowLw()
3921 + " sf=" + sf.toShortString()); in layoutWindowLw()
3923 win.computeFrameLw(pf, df, of, cf, vf, dcf, sf); in layoutWindowLw()
/frameworks/base/docs/html/training/articles/
Dsecurity-ssl.jd458 SocketFactory sf = SSLSocketFactory.getDefault();
459 SSLSocket socket = (SSLSocket) sf.createSocket("gmail.com", 443);
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java1628 for (File sf : stateFileDir.listFiles()) { in resetBackupState()
1630 if (!sf.getName().equals(INIT_SENTINEL_FILE_NAME)) { in resetBackupState()
1631 sf.delete(); in resetBackupState()
/frameworks/wilhelm/doc/
DDoxyfile1277 # generate an AutoGen Definitions (see autogen.sf.net) file