/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | TetheringConfigurationTest.java | 152 final TetheringConfiguration cfg = getTetheringConfiguration( in testNoTelephonyManagerMeansNoDun() local 154 assertFalse(cfg.isDunRequired); in testNoTelephonyManagerMeansNoDun() 155 assertFalse(cfg.preferredUpstreamIfaceTypes.contains(TYPE_MOBILE_DUN)); in testNoTelephonyManagerMeansNoDun() 157 assertTrue(cfg.preferredUpstreamIfaceTypes.contains(TYPE_WIFI)); in testNoTelephonyManagerMeansNoDun() 172 for (TetheringConfiguration cfg : Arrays.asList(cfgWifi, cfgMobileWifiHipri, in testDunFromTelephonyManagerMeansDun() 174 String msg = "config=" + cfg.toString(); in testDunFromTelephonyManagerMeansDun() 175 assertTrue(msg, cfg.isDunRequired); in testDunFromTelephonyManagerMeansDun() 176 assertTrue(msg, cfg.preferredUpstreamIfaceTypes.contains(TYPE_MOBILE_DUN)); in testDunFromTelephonyManagerMeansDun() 177 assertFalse(msg, cfg.preferredUpstreamIfaceTypes.contains(TYPE_MOBILE)); in testDunFromTelephonyManagerMeansDun() 178 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 | 39 const audio_port_config &cfg = cfgs[i]; in dumpPatchEndpoints() local 41 if (cfg.type == AUDIO_PORT_TYPE_DEVICE) { in dumpPatchEndpoints() 42 dst->appendFormat("Device ID %d %s", cfg.id, toString(cfg.ext.device.type).c_str()); in dumpPatchEndpoints() 44 dst->appendFormat("Mix ID %d I/O handle %d", cfg.id, cfg.ext.mix.handle); in dumpPatchEndpoints()
|
/frameworks/base/packages/Tethering/tests/unit/src/android/net/ip/ |
D | IpServerTest.java | 342 inOrder.verify(mNetd).interfaceSetCfg(argThat(cfg -> IFACE_NAME.equals(cfg.ifName))); in canUnrequestTethering() 358 inOrder.verify(mNetd).interfaceSetCfg(argThat(cfg -> in canBeTetheredAsUsb() 359 IFACE_NAME.equals(cfg.ifName) && assertContainsFlag(cfg.flags, IF_STATE_UP))); in canBeTetheredAsUsb() 379 inOrder.verify(mNetd).interfaceSetCfg(argThat(cfg -> in canBeTetheredAsWifiP2p() 380 IFACE_NAME.equals(cfg.ifName) && assertNotContainsFlag(cfg.flags, IF_STATE_UP))); in canBeTetheredAsWifiP2p() 462 inOrder.verify(mNetd).interfaceSetCfg(argThat(cfg -> IFACE_NAME.equals(cfg.ifName))); in canUnrequestTetheringWithUpstream() 484 argThat(cfg -> IFACE_NAME.equals(cfg.ifName))); in interfaceDownLeadsToUnavailable() 501 argThat(cfg -> IFACE_NAME.equals(cfg.ifName))); in usbShouldBeTornDownOnTetherError() 505 argThat(cfg -> IFACE_NAME.equals(cfg.ifName))); in usbShouldBeTornDownOnTetherError() 523 argThat(cfg -> IFACE_NAME.equals(cfg.ifName))); in shouldTearDownUsbOnUpstreamError()
|
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/ |
D | Tethering.java | 518 final TetheringConfiguration cfg = mConfig; in ifaceNameToType() local 520 if (cfg.isWifi(iface)) { in ifaceNameToType() 522 } else if (cfg.isWigig(iface)) { in ifaceNameToType() 524 } else if (cfg.isWifiP2p(iface)) { in ifaceNameToType() 526 } else if (cfg.isUsb(iface)) { in ifaceNameToType() 528 } else if (cfg.isBluetooth(iface)) { in ifaceNameToType() 530 } else if (cfg.isNcm(iface)) { in ifaceNameToType() 824 final TetheringConfiguration cfg = mConfig; in isTetherProvisioningRequired() local 825 return mEntitlementMgr.isTetherProvisioningRequired(cfg); in isTetherProvisioningRequired() 853 final TetheringConfiguration cfg = mConfig; in sendTetherStateChangedBroadcast() local [all …]
|
/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 | 763 private static InterfaceConfigurationParcel toStableParcel(InterfaceConfiguration cfg, in toStableParcel() argument 767 String hwAddr = cfg.getHardwareAddress(); in toStableParcel() 773 cfgParcel.ipv4Addr = cfg.getLinkAddress().getAddress().getHostAddress(); in toStableParcel() 774 cfgParcel.prefixLength = cfg.getLinkAddress().getPrefixLength(); in toStableParcel() 776 for (String flag : cfg.getFlags()) { in toStableParcel() 788 InterfaceConfiguration cfg = new InterfaceConfiguration(); in fromStableParcel() local 789 cfg.setHardwareAddress(p.hwAddr); in fromStableParcel() 792 cfg.setLinkAddress(new LinkAddress(addr, p.prefixLength)); in fromStableParcel() 794 cfg.setFlag(flag); in fromStableParcel() 797 return cfg; in fromStableParcel() [all …]
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | DnsManager.java | 285 public PrivateDnsConfig updatePrivateDns(Network network, PrivateDnsConfig cfg) { in updatePrivateDns() argument 286 Slog.w(TAG, "updatePrivateDns(" + network + ", " + cfg + ")"); in updatePrivateDns() 287 return (cfg != null) in updatePrivateDns() 288 ? mPrivateDnsMap.put(network.netId, cfg) in updatePrivateDns()
|
/frameworks/base/core/java/android/text/format/ |
D | DateUtils.java | 364 Configuration cfg = r.getConfiguration(); in initFormatStringsLocked() local 365 if (sLastConfig == null || !sLastConfig.equals(cfg)) { in initFormatStringsLocked() 366 sLastConfig = cfg; in initFormatStringsLocked()
|
/frameworks/ml/ |
D | CPPLINT.cfg | 17 # Don't search for additional CPPLINT.cfg in parent directories.
|
/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/av/media/codec2/components/aom/ |
D | C2SoftAomDec.cpp | 336 aom_codec_dec_cfg_t cfg; in initDecoder() local 337 memset(&cfg, 0, sizeof(aom_codec_dec_cfg_t)); in initDecoder() 338 cfg.threads = GetCPUCoreCount(); in initDecoder() 339 cfg.allow_lowbitdepth = 1; in initDecoder() 346 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/net/wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareNativeApi.java | 1100 private void updateSingleConfigForPowerSettings(NanBandSpecificConfig cfg, int override) { in updateSingleConfigForPowerSettings() argument 1102 cfg.validDiscoveryWindowIntervalVal = true; in updateSingleConfigForPowerSettings() 1103 cfg.discoveryWindowIntervalVal = (byte) override; in updateSingleConfigForPowerSettings()
|
/frameworks/base/cmds/statsd/src/ |
D | StatsService.cpp | 1172 StatsdConfig cfg; in addConfigurationChecked() local 1174 if (!cfg.ParseFromArray(&config[0], config.size())) { in addConfigurationChecked() 1178 mConfigManager->UpdateConfig(configKey, cfg); in addConfigurationChecked()
|