/frameworks/base/services/flags/java/com/android/server/flags/ |
D | FeatureFlagsBinder.java | 79 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 …]
|
D | DynamicFlagBinderDelegate.java | 121 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/ |
D | SurfaceFlinger_HdrOutputControlTest.cpp | 33 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/ |
D | IFeatureFlagsFake.java | 81 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/ |
D | FeatureFlags.java | 291 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/ |
D | test-resampler.cpp | 215 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()
|
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/native/libs/gui/ |
D | DisplayEventReceiver.cpp | 39 sp<gui::ISurfaceComposer> sf(ComposerServiceAIDL::getComposerService()); in DisplayEventReceiver() local 40 if (sf != nullptr) { in DisplayEventReceiver() 43 sf->createDisplayEventConnection(vsyncSource, in DisplayEventReceiver()
|
D | SurfaceComposerClient.cpp | 1056 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/ |
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/native/services/surfaceflinger/tests/ |
D | HdrSdrRatioOverlay_test.cpp | 42 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in sendCommandToSf() local 47 IInterface::asBinder(sf)->transact(kHdrSdrRatioOverlayCode, request, &reply)); in sendCommandToSf()
|
D | RefreshRateOverlay_test.cpp | 44 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in sendCommandToSf() local 49 IInterface::asBinder(sf)->transact(kRefreshRateOverlayCode, request, &reply)); in sendCommandToSf()
|
D | LayerTransactionTest.h | 49 sp<gui::ISurfaceComposer> sf(ComposerServiceAIDL::getComposerService()); in SetUp()
|
/frameworks/av/services/audioflinger/afutils/ |
D | NBAIO_Tee.cpp | 446 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/ |
D | Choreographer_Delegate.java | 104 .filter(sf -> sf.getDeclaringClass().getClassLoader() != current) in findCallingClassLoader()
|
/frameworks/native/services/surfaceflinger/tests/utils/ |
D | ScreenshotUtils.h | 39 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/ |
D | stopruntime.sh | 25 adb shell setprop debug.sf.nobootanimation 1
|
/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/ |
D | ReflectionPerfTest.java | 260 public static int sf = 0; field in ReflectionPerfTest.C 277 sf = value; in setStaticField()
|
/frameworks/compile/libbcc/lib/ |
D | Compiler.cpp | 381 const char *sf[] = { in addInternalizeSymbolsPass() local 393 const char **special_functions = sf; in addInternalizeSymbolsPass()
|
/frameworks/av/media/module/codecserviceregistrant/ |
D | CodecServiceRegistrant.cpp | 160 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/ |
D | client.cpp | 470 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()
|