/frameworks/av/media/codec2/sfplugin/tests/ |
D | MediaCodec_sanity_test.cpp | 39 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/ |
D | DynamicsProcessing.java | 182 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/ |
D | SecurityControllerImpl.java | 207 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/ |
D | ConfigurationBoundResourceCacheTest.java | 90 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/ |
D | AudioPatch.cpp | 41 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/ |
D | GpuMemTracer.cpp | 67 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/ |
D | VtsHalAutomotiveDisplayV1_0TargetTest.cpp | 61 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/ |
D | SoftVPX.cpp | 95 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/ |
D | DisplayLayoutTest.java | 134 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/ |
D | FrameTracerTest.cpp | 70 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/ |
D | CompactExtractEditLayout.java | 114 Configuration cfg = res.getConfiguration(); in onAttachedToWindow() local 130 if (cfg.isScreenRound() && heightPixels < widthPixels) { in onAttachedToWindow()
|
/frameworks/base/services/core/java/com/android/server/ |
D | NetworkManagementService.java | 681 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/ |
D | IAutomotiveDisplayProxyService.hal | 64 * @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/ |
D | ConnectUtil.kt | 198 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/ |
D | DateUtils.java | 368 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/ |
D | native.rs | 215 #[cfg(any(vendor_ndk, android_vndk))] 226 #[cfg(not(any(vendor_ndk, android_vndk)))]
|
D | binder.rs | 196 #[cfg(not(android_vndk))] 688 #[cfg(not(android_vndk))] 891 #[cfg(not(android_vndk))]
|
/frameworks/av/media/codec2/components/aom/ |
D | C2SoftAomDec.cpp | 337 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/ |
D | AudioPolicy.java | 352 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/ |
D | mainline_hook_partial.sh | 40 filelist_file=MainlineFiles.cfg
|
/frameworks/base/core/java/android/os/ |
D | INetworkManagementService.aidl | 64 void setInterfaceConfig(String iface, in InterfaceConfiguration cfg); in setInterfaceConfig() argument
|
/frameworks/compile/libbcc/tests/libbcc/ |
D | lit.cfg | 34 # Based on LLVM's lit.cfg: "For each occurrence of an llvm tool name
|
/frameworks/compile/libbcc/tests/debuginfo/host-tests/ |
D | lit.cfg | 34 'debuginfo', 'lit.site.cfg'))
|
/frameworks/av/media/codec2/components/vpx/ |
D | C2SoftVpxDec.cpp | 465 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/ |
D | README | 47 Further customization is possible by modifying the lit.cfg file.
|