Home
last modified time | relevance | path

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

12

/frameworks/base/services/flags/java/com/android/server/flags/
DFeatureFlagsBinder.java79 for (SyncableFlag sf : incomingFlags) { in syncFlags()
80 if (!hasFullSyncPrivileges && !CoreFlags.isCoreFlag(sf)) { in syncFlags()
84 String ns = sf.getNamespace(); in syncFlags()
85 String name = sf.getName(); in syncFlags()
87 if (sf.isDynamic()) { in syncFlags()
88 outFlag = mDynamicFlagDelegate.syncDynamicFlag(pid, sf); in syncFlags()
94 value = overrideValue != null ? overrideValue : sf.getValue(); in syncFlags()
97 outFlag = new SyncableFlag(sf.getNamespace(), sf.getName(), value, false); in syncFlags()
121 for (SyncableFlag sf : incomingFlags) { in queryFlags()
122 String ns = sf.getNamespace(); in queryFlags()
[all …]
DDynamicFlagBinderDelegate.java121 SyncableFlag syncDynamicFlag(int pid, SyncableFlag sf) { in syncDynamicFlag() argument
122 if (!sf.isDynamic()) { in syncDynamicFlag()
123 return sf; in syncDynamicFlag()
126 String ns = sf.getNamespace(); in syncDynamicFlag()
127 String name = sf.getName(); in syncDynamicFlag()
136 String value = getFlagValue(ns, name, sf.getValue()); in syncDynamicFlag()
146 data.setDefaultValue(sf.getValue()); in syncDynamicFlag()
148 return new SyncableFlag(sf.getNamespace(), sf.getName(), value, true); in syncDynamicFlag()
/frameworks/native/services/surfaceflinger/tests/unittests/
DSurfaceFlinger_HdrOutputControlTest.cpp33 sp<gui::ISurfaceComposer> sf(ComposerServiceAIDL::getComposerService()); in TEST() local
36 binder::Status status = sf->getHdrOutputConversionSupport(&hdrOutputConversionSupport); in TEST()
42 sp<gui::ISurfaceComposer> sf(ComposerServiceAIDL::getComposerService()); in TEST() local
46 sf->getHdrOutputConversionSupport(&hdrOutputConversionSupport); in TEST()
50 binder::Status status = sf->getHdrConversionCapabilities(&capabilities); in TEST()
60 sp<gui::ISurfaceComposer> sf(ComposerServiceAIDL::getComposerService()); in TEST() local
64 sf->getHdrOutputConversionSupport(&hdrOutputConversionSupport); in TEST()
75 binder::Status status = sf->setHdrConversionStrategy(strategy, &outPreferredHdrOutputType); in TEST()
/frameworks/base/core/tests/coretests/src/android/flags/
DIFeatureFlagsFake.java81 for (SyncableFlag sf : mOverrides) { in findFlag()
82 if (sf.getName().equals(syncableFlag.getName()) in findFlag()
83 && sf.getNamespace().equals(syncableFlag.getNamespace())) { in findFlag()
84 match = sf; in findFlag()
103 for (SyncableFlag sf : flagList) { in setFlagOverrides()
106 cb.onFlagChange(sf); in setFlagOverrides()
/frameworks/base/core/java/android/flags/
DFeatureFlags.java291 for (SyncableFlag sf : serverFlags) { in syncInternal()
292 if (flagEqualsSyncableFlag(f, sf)) { in syncInternal()
294 addBooleanOverride(sf.getNamespace(), sf.getName(), sf.getValue()); in syncInternal()
361 private static boolean flagEqualsSyncableFlag(Flag<?> f, SyncableFlag sf) { in flagEqualsSyncableFlag() argument
362 return f.getName().equals(sf.getName()) && f.getNamespace().equals(sf.getNamespace()); in flagEqualsSyncableFlag()
/frameworks/av/media/libaudioprocessing/tests/
Dtest-resampler.cpp215 SNDFILE *sf = sf_open(file_in, SFM_READ, &info); in main() local
216 if (sf == NULL) { in main()
222 (void) sf_readf_short(sf, (short *) input_vaddr, info.frames); in main()
223 sf_close(sf); in main()
508 SNDFILE *sf = sf_open(file_out, SFM_WRITE, &info); in main() local
509 if (sf == NULL) { in main()
513 (void) sf_writef_short(sf, convert.get(), output_frames); in main()
514 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/native/libs/gui/
DDisplayEventReceiver.cpp39 sp<gui::ISurfaceComposer> sf(ComposerServiceAIDL::getComposerService()); in DisplayEventReceiver() local
40 if (sf != nullptr) { in DisplayEventReceiver()
43 sf->createDisplayEventConnection(vsyncSource, in DisplayEventReceiver()
DSurfaceComposerClient.cpp1056 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in doUncacheBufferTransaction() local
1062 status_t status = sf->setTransactionState(FrameTimelineInfo{}, composerStates, {}, in doUncacheBufferTransaction()
1237 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in apply() local
1238 sf->setTransactionState(mFrameTimelineInfo, composerStates, displayStates, flags, applyToken, in apply()
2390 sp<gui::ISurfaceComposer> sf(ComposerServiceAIDL::getComposerService()); in onFirstRef() local
2391 if (sf != nullptr && mStatus == NO_INIT) { in onFirstRef()
2393 binder::Status status = sf->createConnection(&conn); in onFirstRef()
2416 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in linkToComposerDeath() local
2417 return IInterface::asBinder(sf)->linkToDeath(recipient, cookie, flags); in linkToComposerDeath()
2432 sp<gui::ISurfaceComposer> sf(ComposerServiceAIDL::getComposerService()); in bootFinished() local
[all …]
/frameworks/av/media/module/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/
DHdrSdrRatioOverlay_test.cpp42 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in sendCommandToSf() local
47 IInterface::asBinder(sf)->transact(kHdrSdrRatioOverlayCode, request, &reply)); in sendCommandToSf()
DRefreshRateOverlay_test.cpp44 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in sendCommandToSf() local
49 IInterface::asBinder(sf)->transact(kRefreshRateOverlayCode, request, &reply)); in sendCommandToSf()
DLayerTransactionTest.h49 sp<gui::ISurfaceComposer> sf(ComposerServiceAIDL::getComposerService()); in SetUp()
/frameworks/av/services/audioflinger/afutils/
DNBAIO_Tee.cpp446 SNDFILE *sf = sf_open(path.c_str(), SFM_WRITE, &info); in createInternal() local
447 if (sf == nullptr) { in createInternal()
456 sf_close(sf); in createInternal()
475 reallyWritten = sf_writef_short(sf, (const int16_t *)buffer, actualRead); in createInternal()
478 reallyWritten = sf_writef_int(sf, (const int32_t *)buffer, actualRead); in createInternal()
481 reallyWritten = sf_writef_float(sf, (const float *)buffer, actualRead); in createInternal()
499 sf_close(sf); in createInternal()
/frameworks/layoutlib/bridge/src/android/view/
DChoreographer_Delegate.java104 .filter(sf -> sf.getDeclaringClass().getClassLoader() != current) in findCallingClassLoader()
/frameworks/native/services/surfaceflinger/tests/utils/
DScreenshotUtils.h39 const auto sf = ComposerServiceAIDL::getComposerService(); in captureDisplay() local
44 binder::Status status = sf->captureDisplay(captureArgs, captureListener); in captureDisplay()
77 const auto sf = ComposerServiceAIDL::getComposerService(); in captureLayers() local
82 binder::Status status = sf->captureLayers(captureArgs, captureListener); in captureLayers()
/frameworks/base/libs/hwui/tests/scripts/
Dstopruntime.sh25 adb shell setprop debug.sf.nobootanimation 1
/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/
DReflectionPerfTest.java260 public static int sf = 0; field in ReflectionPerfTest.C
277 sf = value; in setStaticField()
/frameworks/compile/libbcc/lib/
DCompiler.cpp381 const char *sf[] = { in addInternalizeSymbolsPass() local
393 const char **special_functions = sf; in addInternalizeSymbolsPass()
/frameworks/av/media/module/codecserviceregistrant/
DCodecServiceRegistrant.cpp160 for (const c2_aidl::SettingResult& sf : configResult.failures) { in config_sm_aidl() local
161 if (!c2_aidl::utils::FromAidl(&(*failures)[i++], sf)) { in config_sm_aidl()
199 for (const c2_hidl::SettingResult& sf : f) { in config_sm_hidl() local
200 if (!c2_hidl::utils::objcpy(&(*failures)[i++], sf)) { in config_sm_hidl()
/frameworks/av/media/codec2/hal/client/
Dclient.cpp470 for (const c2_hidl::SettingResult& sf : f) { in config() local
471 if (!c2_hidl::utils::objcpy(&(*failures)[i++], sf)) { in config()
727 for (const c2_aidl::SettingResult& sf : result.failures) { in config() local
728 if (!c2_aidl::utils::FromAidl(&(*failures)[i++], sf)) { in config()

12