/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/ |
D | TetheringConfigurationTest.java | 134 final TetheringConfiguration cfg = getTetheringConfiguration( in testNoTelephonyManagerMeansNoDun() local 136 assertFalse(cfg.isDunRequired); in testNoTelephonyManagerMeansNoDun() 137 assertFalse(cfg.preferredUpstreamIfaceTypes.contains(TYPE_MOBILE_DUN)); in testNoTelephonyManagerMeansNoDun() 139 assertTrue(cfg.preferredUpstreamIfaceTypes.contains(TYPE_WIFI)); in testNoTelephonyManagerMeansNoDun() 154 for (TetheringConfiguration cfg : Arrays.asList(cfgWifi, cfgMobileWifiHipri, in testDunFromTelephonyManagerMeansDun() 156 String msg = "config=" + cfg.toString(); in testDunFromTelephonyManagerMeansDun() 157 assertTrue(msg, cfg.isDunRequired); in testDunFromTelephonyManagerMeansDun() 158 assertTrue(msg, cfg.preferredUpstreamIfaceTypes.contains(TYPE_MOBILE_DUN)); in testDunFromTelephonyManagerMeansDun() 159 assertFalse(msg, cfg.preferredUpstreamIfaceTypes.contains(TYPE_MOBILE)); in testDunFromTelephonyManagerMeansDun() 160 assertFalse(msg, cfg.preferredUpstreamIfaceTypes.contains(TYPE_MOBILE_HIPRI)); in testDunFromTelephonyManagerMeansDun() [all …]
|
/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 | 191 VpnConfig cfg = mCurrentVpns.get(mVpnUserId); in getPrimaryVpnName() local 192 if (cfg != null) { in getPrimaryVpnName() 193 return getNameForVpnConfig(cfg, new UserHandle(mVpnUserId)); in getPrimaryVpnName() 217 VpnConfig cfg = mCurrentVpns.get(profileId); in getWorkProfileVpnName() 218 if (cfg != null) { in getWorkProfileVpnName() 219 return getNameForVpnConfig(cfg, UserHandle.of(profileId)); in getWorkProfileVpnName() 248 VpnConfig cfg = mCurrentVpns.get(mVpnUserId); in isVpnBranded() local 249 if (cfg == null) { in isVpnBranded() 253 String packageName = getPackageNameForVpnConfig(cfg); in isVpnBranded() 313 private String getNameForVpnConfig(VpnConfig cfg, UserHandle user) { in getNameForVpnConfig() argument [all …]
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | ConfigurationBoundResourceCacheTest.java | 88 final Configuration cfg = res.getConfiguration(); in testVoidConfigChange() local 89 Configuration newCnf = new Configuration(cfg); in testVoidConfigChange() 90 newCnf.orientation = cfg.orientation == Configuration.ORIENTATION_LANDSCAPE ? in testVoidConfigChange() 111 final Configuration cfg = res.getConfiguration(); in testEffectiveConfigChange() local 112 Configuration newCnf = new Configuration(cfg); in testEffectiveConfigChange() 113 newCnf.orientation = cfg.orientation == Configuration.ORIENTATION_LANDSCAPE ? in testEffectiveConfigChange() 137 final Configuration cfg = res.getConfiguration(); in testConfigChangeMultipleResources() local 138 Configuration newCnf = new Configuration(cfg); in testConfigChangeMultipleResources() 139 newCnf.orientation = cfg.orientation == Configuration.ORIENTATION_LANDSCAPE ? in testConfigChangeMultipleResources() 179 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 dst->appendFormat("Device ID %d %s", cfg.id, toString(cfg.ext.device.type).c_str()); in dumpPatchEndpoints() 46 dst->appendFormat("Mix ID %d I/O handle %d", cfg.id, cfg.ext.mix.handle); in dumpPatchEndpoints()
|
/frameworks/base/services/net/java/android/net/shared/ |
D | PrivateDnsConfig.java | 50 public PrivateDnsConfig(PrivateDnsConfig cfg) { in PrivateDnsConfig() argument 51 useTls = cfg.useTls; in PrivateDnsConfig() 52 hostname = cfg.hostname; in PrivateDnsConfig() 53 ips = cfg.ips; in PrivateDnsConfig()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Tethering.java | 356 final TetheringConfiguration cfg = mConfig; in ifaceNameToType() local 358 if (cfg.isWifi(iface)) { in ifaceNameToType() 360 } else if (cfg.isUsb(iface)) { in ifaceNameToType() 362 } else if (cfg.isBluetooth(iface)) { in ifaceNameToType() 549 final TetheringConfiguration cfg = mConfig; in sendTetherStateChangedBroadcast() local 562 if (cfg.isUsb(iface)) { in sendTetherStateChangedBroadcast() 564 } else if (cfg.isWifi(iface)) { in sendTetherStateChangedBroadcast() 566 } else if (cfg.isBluetooth(iface)) { in sendTetherStateChangedBroadcast() 934 final TetheringConfiguration cfg = mConfig; in hasTetherableConfiguration() local 936 (cfg.tetherableUsbRegexs.length != 0) in hasTetherableConfiguration() [all …]
|
D | DnsManager.java | 270 public PrivateDnsConfig updatePrivateDns(Network network, PrivateDnsConfig cfg) { in updatePrivateDns() argument 271 Slog.w(TAG, "updatePrivateDns(" + network + ", " + cfg + ")"); in updatePrivateDns() 272 return (cfg != null) in updatePrivateDns() 273 ? mPrivateDnsMap.put(network.netId, cfg) in updatePrivateDns()
|
/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/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 | 756 private static InterfaceConfigurationParcel toStableParcel(InterfaceConfiguration cfg, in toStableParcel() argument 760 String hwAddr = cfg.getHardwareAddress(); in toStableParcel() 766 cfgParcel.ipv4Addr = cfg.getLinkAddress().getAddress().getHostAddress(); in toStableParcel() 767 cfgParcel.prefixLength = cfg.getLinkAddress().getPrefixLength(); in toStableParcel() 769 for (String flag : cfg.getFlags()) { in toStableParcel() 781 InterfaceConfiguration cfg = new InterfaceConfiguration(); in fromStableParcel() local 782 cfg.setHardwareAddress(p.hwAddr); in fromStableParcel() 785 cfg.setLinkAddress(new LinkAddress(addr, p.prefixLength)); in fromStableParcel() 787 cfg.setFlag(flag); in fromStableParcel() 790 return cfg; in fromStableParcel() [all …]
|
/frameworks/rs/tests/lldb/ |
D | .gitignore | 27 .installed.cfg
|
/frameworks/base/core/java/android/text/format/ |
D | DateUtils.java | 350 Configuration cfg = r.getConfiguration(); in initFormatStringsLocked() local 351 if (sLastConfig == null || !sLastConfig.equals(cfg)) { in initFormatStringsLocked() 352 sLastConfig = cfg; in initFormatStringsLocked()
|
/frameworks/base/media/java/android/media/audiopolicy/ |
D | AudioPolicy.java | 350 final AudioPolicyConfig cfg = new AudioPolicyConfig(zeMixes); in attachMixes() local 353 final int status = service.addMixForPolicy(cfg, this.cb()); in attachMixes() 390 final AudioPolicyConfig cfg = new AudioPolicyConfig(zeMixes); in detachMixes() local 393 final int status = service.removeMixForPolicy(cfg, this.cb()); in detachMixes()
|
/frameworks/base/tests/net/java/android/net/ip/ |
D | IpServerTest.java | 233 inOrder.verify(mNetd).interfaceSetCfg(argThat(cfg -> IFACE_NAME.equals(cfg.ifName))); in canUnrequestTethering() 331 inOrder.verify(mNetd).interfaceSetCfg(argThat(cfg -> IFACE_NAME.equals(cfg.ifName))); in canUnrequestTetheringWithUpstream()
|
/frameworks/av/media/codec2/components/aom/ |
D | C2SoftAomDec.cpp | 335 aom_codec_dec_cfg_t cfg; in initDecoder() local 336 memset(&cfg, 0, sizeof(aom_codec_dec_cfg_t)); in initDecoder() 337 cfg.threads = GetCPUCoreCount(); in initDecoder() 338 cfg.allow_lowbitdepth = 1; in initDecoder() 344 if ((err = aom_codec_dec_init(mCodecCtx, aom_codec_av1_dx(), &cfg, 0))) { in initDecoder()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pNative.java | 368 public boolean setConfigMethods(String cfg) { in setConfigMethods() argument 369 return mSupplicantP2pIfaceHal.setWpsConfigMethods(cfg); in setConfigMethods()
|
/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/base/core/java/android/os/ |
D | INetworkManagementService.aidl | 66 void setInterfaceConfig(String iface, in InterfaceConfiguration cfg); in setInterfaceConfig() argument
|
/frameworks/av/media/codec2/components/vpx/ |
D | C2SoftVpxDec.cpp | 432 vpx_codec_dec_cfg_t cfg; in initDecoder() local 433 memset(&cfg, 0, sizeof(vpx_codec_dec_cfg_t)); in initDecoder() 434 cfg.threads = mCoreCount = GetCPUCoreCount(); in initDecoder() 443 &cfg, flags))) { in initDecoder()
|
/frameworks/compile/libbcc/tests/debuginfo/ |
D | README | 47 Further customization is possible by modifying the lit.cfg file.
|
/frameworks/compile/libbcc/tests/debuginfo/target-tests/ |
D | lit.cfg | 32 'debuginfo', 'lit.site.cfg'))
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ |
D | protobuf.bzl | 91 cfg = HOST_CFG, 97 cfg = HOST_CFG,
|