Home
last modified time | relevance | path

Searched refs:cfg (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/av/media/codec2/sfplugin/tests/
DMediaCodec_sanity_test.cpp39 cfg(new AMessage), in MediaCodecSanityTest()
55 sp<AMessage> cfg; member in android::MediaCodecSanityTest
112 cfg->setInt32("width", 320); in TEST_P()
113 cfg->setInt32("height", 240); in TEST_P()
114 cfg->setString("mime", MIMETYPE_VIDEO_AVC); in TEST_P()
118 cfg->setInt32("max-input-size", InputSize); in TEST_P()
121 EXPECT_EQ(codec->configure(cfg, nullptr, nullptr, 0), OK); in TEST_P()
141 cfg->setInt32("width", 320); in TEST_P()
142 cfg->setInt32("height", 240); in TEST_P()
143 cfg->setString("mime", MIMETYPE_VIDEO_VP8); in TEST_P()
[all …]
/frameworks/base/media/java/android/media/audiofx/
DDynamicsProcessing.java182 public DynamicsProcessing(int priority, int audioSession, @Nullable Config cfg) { in DynamicsProcessing() argument
190 if (cfg == null) { in DynamicsProcessing()
206 config = new DynamicsProcessing.Config(mChannelCount, cfg); in DynamicsProcessing()
486 public EqBand(EqBand cfg) { in EqBand() argument
487 super(cfg.isEnabled(), cfg.getCutoffFrequency()); in EqBand()
488 mGain = cfg.mGain; in EqBand()
572 public MbcBand(MbcBand cfg) { in MbcBand() argument
573 super(cfg.isEnabled(), cfg.getCutoffFrequency()); in MbcBand()
574 mAttackTime = cfg.mAttackTime; in MbcBand()
575 mReleaseTime = cfg.mReleaseTime; in MbcBand()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityControllerImpl.java207 VpnConfig cfg = mCurrentVpns.get(mVpnUserId); in getPrimaryVpnName() local
208 if (cfg != null) { in getPrimaryVpnName()
209 return getNameForVpnConfig(cfg, new UserHandle(mVpnUserId)); in getPrimaryVpnName()
244 VpnConfig cfg = mCurrentVpns.get(profileId); in getWorkProfileVpnName()
245 if (cfg != null) { in getWorkProfileVpnName()
246 return getNameForVpnConfig(cfg, UserHandle.of(profileId)); in getWorkProfileVpnName()
287 VpnConfig cfg = mCurrentVpns.get(mVpnUserId); in isVpnBranded() local
288 if (cfg == null) { in isVpnBranded()
292 String packageName = getPackageNameForVpnConfig(cfg); in isVpnBranded()
409 private String getNameForVpnConfig(VpnConfig cfg, UserHandle user) { in getNameForVpnConfig() argument
[all …]
/frameworks/base/core/tests/coretests/src/android/content/res/
DConfigurationBoundResourceCacheTest.java90 final Configuration cfg = res.getConfiguration(); in testVoidConfigChange() local
91 Configuration newCnf = new Configuration(cfg); in testVoidConfigChange()
92 newCnf.orientation = cfg.orientation == Configuration.ORIENTATION_LANDSCAPE ? in testVoidConfigChange()
113 final Configuration cfg = res.getConfiguration(); in testEffectiveConfigChange() local
114 Configuration newCnf = new Configuration(cfg); in testEffectiveConfigChange()
115 newCnf.orientation = cfg.orientation == Configuration.ORIENTATION_LANDSCAPE ? in testEffectiveConfigChange()
139 final Configuration cfg = res.getConfiguration(); in testConfigChangeMultipleResources() local
140 Configuration newCnf = new Configuration(cfg); in testConfigChangeMultipleResources()
141 newCnf.orientation = cfg.orientation == Configuration.ORIENTATION_LANDSCAPE ? in testConfigChangeMultipleResources()
181 final Configuration cfg = res.getConfiguration(); in testConfigChangeMultipleThemes() local
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPatch.cpp41 const audio_port_config &cfg = cfgs[i]; in dumpPatchEndpoints() local
43 if (cfg.type == AUDIO_PORT_TYPE_DEVICE) { in dumpPatchEndpoints()
44 AudioDeviceTypeAddr device(cfg.ext.device.type, cfg.ext.device.address); in dumpPatchEndpoints()
46 cfg.id, device.toString(true /*includeSensitiveInfo*/).c_str()); in dumpPatchEndpoints()
48 dst->appendFormat("Mix Port ID: %d; I/O handle: %d;", cfg.id, cfg.ext.mix.handle); in dumpPatchEndpoints()
/frameworks/native/services/gpuservice/tracing/
DGpuMemTracer.cpp67 perfetto::TraceConfig cfg; in getTracingSessionForTest() local
68 cfg.set_duration_ms(500); in getTracingSessionForTest()
69 cfg.add_buffers()->set_size_kb(1024); in getTracingSessionForTest()
70 auto* ds_cfg = cfg.add_data_sources()->mutable_config(); in getTracingSessionForTest()
74 tracingSession->Setup(cfg); in getTracingSessionForTest()
/frameworks/hardware/interfaces/automotive/display/1.0/vts/functional/
DVtsHalAutomotiveDisplayV1_0TargetTest.cpp61 mDisplayProxy->getDisplayInfo(id, [](const auto& cfg, const auto& /*state*/) { in TEST_P() argument
62 android::ui::DisplayMode* pConfig = (android::ui::DisplayMode*)cfg.data(); in TEST_P()
/frameworks/av/media/libstagefright/codecs/on2/dec/
DSoftVPX.cpp95 vpx_codec_dec_cfg_t cfg; in initDecoder() local
97 memset(&cfg, 0, sizeof(vpx_codec_dec_cfg_t)); in initDecoder()
99 cfg.threads = GetCPUCoreCount(); in initDecoder()
108 &cfg, flags))) { in initDecoder()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/
DDisplayLayoutTest.java134 Configuration cfg = new Configuration(); in createResources() local
135 cfg.uiMode = UI_MODE_TYPE_NORMAL; in createResources()
145 doReturn(cfg).when(res).getConfiguration(); in createResources()
/frameworks/native/services/surfaceflinger/tests/unittests/
DFrameTracerTest.cpp70 perfetto::TraceConfig cfg; in getTracingSessionForTest() local
71 cfg.set_duration_ms(500); in getTracingSessionForTest()
72 cfg.add_buffers()->set_size_kb(1024); in getTracingSessionForTest()
73 auto* ds_cfg = cfg.add_data_sources()->mutable_config(); in getTracingSessionForTest()
77 tracingSession->Setup(cfg); in getTracingSessionForTest()
/frameworks/base/core/java/android/inputmethodservice/
DCompactExtractEditLayout.java114 Configuration cfg = res.getConfiguration(); in onAttachedToWindow() local
130 if (cfg.isScreenRound() && heightPixels < widthPixels) { in onAttachedToWindow()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java681 private static InterfaceConfigurationParcel toStableParcel(InterfaceConfiguration cfg, in toStableParcel() argument
685 String hwAddr = cfg.getHardwareAddress(); in toStableParcel()
691 cfgParcel.ipv4Addr = cfg.getLinkAddress().getAddress().getHostAddress(); in toStableParcel()
692 cfgParcel.prefixLength = cfg.getLinkAddress().getPrefixLength(); in toStableParcel()
694 for (String flag : cfg.getFlags()) { in toStableParcel()
706 InterfaceConfiguration cfg = new InterfaceConfiguration(); in fromStableParcel() local
707 cfg.setHardwareAddress(p.hwAddr); in fromStableParcel()
710 cfg.setLinkAddress(new LinkAddress(addr, p.prefixLength)); in fromStableParcel()
712 cfg.setFlag(flag); in fromStableParcel()
715 return cfg; in fromStableParcel()
[all …]
/frameworks/hardware/interfaces/automotive/display/1.0/
DIAutomotiveDisplayProxyService.hal64 * @return cfg DisplayConfig of the active display.
67 getDisplayInfo(uint64_t id) generates (HwDisplayConfig cfg, HwDisplayState state);
/frameworks/libs/net/common/testutils/devicetests/com/android/testutils/
DConnectUtil.kt198 for (cfg in wifiManager.configuredNetworks) { in clearWifiBlocklist() method
199 assertTrue(wifiManager.enableNetwork(cfg.networkId, false /* attemptConnect */)) in clearWifiBlocklist()
/frameworks/base/core/java/android/text/format/
DDateUtils.java368 Configuration cfg = r.getConfiguration(); in initFormatStringsLocked() local
369 if (sLastConfig == null || !sLastConfig.equals(cfg)) { in initFormatStringsLocked()
370 sLastConfig = cfg; in initFormatStringsLocked()
/frameworks/native/libs/binder/rust/src/
Dnative.rs215 #[cfg(any(vendor_ndk, android_vndk))]
226 #[cfg(not(any(vendor_ndk, android_vndk)))]
Dbinder.rs196 #[cfg(not(android_vndk))]
688 #[cfg(not(android_vndk))]
891 #[cfg(not(android_vndk))]
/frameworks/av/media/codec2/components/aom/
DC2SoftAomDec.cpp337 aom_codec_dec_cfg_t cfg; in initDecoder() local
338 memset(&cfg, 0, sizeof(aom_codec_dec_cfg_t)); in initDecoder()
339 cfg.threads = GetCPUCoreCount(); in initDecoder()
340 cfg.allow_lowbitdepth = 1; in initDecoder()
347 if ((err = aom_codec_dec_init(mCodecCtx, aom_codec_av1_dx(), &cfg, 0))) { in initDecoder()
/frameworks/base/media/java/android/media/audiopolicy/
DAudioPolicy.java352 final AudioPolicyConfig cfg = new AudioPolicyConfig(zeMixes); in attachMixes() local
355 final int status = service.addMixForPolicy(cfg, this.cb()); in attachMixes()
392 final AudioPolicyConfig cfg = new AudioPolicyConfig(zeMixes); in detachMixes() local
395 final int status = service.removeMixForPolicy(cfg, this.cb()); in detachMixes()
/frameworks/av/tools/
Dmainline_hook_partial.sh40 filelist_file=MainlineFiles.cfg
/frameworks/base/core/java/android/os/
DINetworkManagementService.aidl64 void setInterfaceConfig(String iface, in InterfaceConfiguration cfg); in setInterfaceConfig() argument
/frameworks/compile/libbcc/tests/libbcc/
Dlit.cfg34 # Based on LLVM's lit.cfg: "For each occurrence of an llvm tool name
/frameworks/compile/libbcc/tests/debuginfo/host-tests/
Dlit.cfg34 'debuginfo', 'lit.site.cfg'))
/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxDec.cpp465 vpx_codec_dec_cfg_t cfg; in initDecoder() local
466 memset(&cfg, 0, sizeof(vpx_codec_dec_cfg_t)); in initDecoder()
467 cfg.threads = mCoreCount = GetCPUCoreCount(); in initDecoder()
476 &cfg, flags))) { in initDecoder()
/frameworks/compile/libbcc/tests/debuginfo/
DREADME47 Further customization is possible by modifying the lit.cfg file.

12