/frameworks/base/native/android/ |
D | configuration.cpp | 28 AConfiguration* config = new AConfiguration; in AConfiguration_new() local 33 void AConfiguration_delete(AConfiguration* config) { in AConfiguration_delete() 39 ResTable_config config = locked_mgr->GetConfiguration(); in AConfiguration_fromAssetManager() local 49 int32_t AConfiguration_getMcc(AConfiguration* config) { in AConfiguration_getMcc() 53 int32_t AConfiguration_getMnc(AConfiguration* config) { in AConfiguration_getMnc() 57 void AConfiguration_getLanguage(AConfiguration* config, char* outLanguage) { in AConfiguration_getLanguage() 62 void AConfiguration_getCountry(AConfiguration* config, char* outCountry) { in AConfiguration_getCountry() 67 int32_t AConfiguration_getOrientation(AConfiguration* config) { in AConfiguration_getOrientation() 71 int32_t AConfiguration_getTouchscreen(AConfiguration* config) { in AConfiguration_getTouchscreen() 75 int32_t AConfiguration_getDensity(AConfiguration* config) { in AConfiguration_getDensity() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/signedconfig/ |
D | SignedConfigTest.java | 70 SignedConfig.PerSdkConfig config = SignedConfig.parsePerSdkConfig(json, emptySet(), in testParsePerSdkConfigSdkMinMax() local 146 SignedConfig.PerSdkConfig config = SignedConfig.parsePerSdkConfig(json, setOf("a", "b"), in testParsePerSdkConfigZeroValues() local 156 SignedConfig.PerSdkConfig config = SignedConfig.parsePerSdkConfig(json, setOf("a", "b"), in testParsePerSdkConfigSingleKey() local 166 SignedConfig.PerSdkConfig config = SignedConfig.parsePerSdkConfig(json, setOf("a", "b"), in testParsePerSdkConfigSingleKeyNullValue() local 177 SignedConfig.PerSdkConfig config = SignedConfig.parsePerSdkConfig( in testParsePerSdkConfigMultiKeys() local 199 SignedConfig.PerSdkConfig config = SignedConfig.parsePerSdkConfig(json, setOf("a"), in testParsePerSdkConfigSingleKeyWithMap() local 221 SignedConfig.PerSdkConfig config = SignedConfig.parsePerSdkConfig(json, setOf("a", "b"), in testParsePerSdkConfigMultiKeysWithMap() local 231 SignedConfig.PerSdkConfig config = SignedConfig.parsePerSdkConfig(json, setOf("a"), in testParsePerSdkConfigSingleKeyWithMapToNull() local 243 SignedConfig.PerSdkConfig config = SignedConfig.parsePerSdkConfig(json, setOf("a"), in testParsePerSdkConfigSingleKeyWithMapFromNull() local 272 SignedConfig config = SignedConfig.parse( in testParseVersion() local [all …]
|
/frameworks/base/tools/aapt/tests/ |
D | AaptConfig_test.cpp | 26 static ::testing::AssertionResult TestParse(const String8& input, ConfigDescription* config=NULL) { in TestParse() 33 static ::testing::AssertionResult TestParse(const char* input, ConfigDescription* config=NULL) { in TestParse() 52 ConfigDescription config; in TEST() local 66 ConfigDescription config; in TEST() local 72 ConfigDescription config; in TEST() local 81 ConfigDescription config; in TEST() local 87 ConfigDescription config; in TEST() local 102 ConfigDescription config; in TEST() local 117 ConfigDescription config; in TEST() local
|
D | ResourceFilter_test.cpp | 34 ConfigDescription config; in TEST() local 49 ConfigDescription config; in TEST() local 59 ConfigDescription config; in TEST() local 70 ConfigDescription config; in TEST() local 82 ConfigDescription config; in TEST() local 93 ConfigDescription config; in TEST() local 104 ConfigDescription config; in TEST() local 117 ConfigDescription config; in TEST() local 130 ConfigDescription config; in TEST() local 146 ConfigDescription config; in TEST() local [all …]
|
/frameworks/base/libs/androidfw/tests/ |
D | ConfigDescription_test.cpp | 29 const StringPiece& input, ConfigDescription* config = nullptr) { in TestParse() 51 ConfigDescription config; in TEST() local 68 ConfigDescription config; in TEST() local 74 ConfigDescription config; in TEST() local 83 ConfigDescription config; in TEST() local 89 ConfigDescription config; in TEST() local 104 ConfigDescription config; in TEST() local 119 ConfigDescription config; in TEST() local 134 ConfigDescription config; in TEST() local 142 ConfigDescription config; in ParseConfigOrDie() local
|
D | SparseEntry_bench.cpp | 28 ResTable_config config; in BM_SparseEntryGetResourceOldSparse() local 37 ResTable_config config; in BM_SparseEntryGetResourceOldNotSparse() local 46 ResTable_config config; in BM_SparseEntryGetResourceSparse() local 55 ResTable_config config; in BM_SparseEntryGetResourceNotSparse() local
|
D | ConfigLocale_test.cpp | 26 ResTable_config config; in TEST() local 49 ResTable_config config; in TEST() local 64 ResTable_config config; in TEST() local 80 ResTable_config config; in TEST() local 104 ResTable_config config; in TEST() local 295 ResTable_config config; in TEST() local 323 ResTable_config config; in TEST() local 337 ResTable_config config; in TEST() local 353 ResTable_config config; in TEST() local
|
/frameworks/base/core/java/android/security/net/config/ |
D | RootTrustManager.java | 45 public RootTrustManager(ApplicationConfig config) { in RootTrustManager() 57 NetworkSecurityConfig config = mConfig.getConfigForHostname(""); in checkClientTrusted() local 66 NetworkSecurityConfig config = mConfig.getConfigForHostname(""); in checkClientTrusted() local 75 NetworkSecurityConfig config = mConfig.getConfigForHostname(""); in checkClientTrusted() local 89 NetworkSecurityConfig config = mConfig.getConfigForHostname(host); in checkServerTrusted() local 105 NetworkSecurityConfig config = mConfig.getConfigForHostname(host); in checkServerTrusted() local 117 NetworkSecurityConfig config = mConfig.getConfigForHostname(""); in checkServerTrusted() local 133 NetworkSecurityConfig config = mConfig.getConfigForHostname(hostname); in checkServerTrusted() local 142 NetworkSecurityConfig config = mConfig.getConfigForHostname(""); in getAcceptedIssuers() local
|
/frameworks/base/services/tests/servicestests/src/com/android/server/compat/ |
D | OverrideValidatorImplTest.java | 96 CompatConfig config = CompatConfigBuilder.create(debuggableBuild(), mContext) in getOverrideAllowedState_debugBuildAnyChangeDebugApp_allowOverride() local 140 CompatConfig config = CompatConfigBuilder.create(debuggableBuild(), mContext) in getOverrideAllowedState_debugBuildAnyChangeReleaseApp_allowOverride() local 183 CompatConfig config = CompatConfigBuilder.create(betaBuild(), mContext) in getOverrideAllowedState_betaBuildTargetSdkChangeDebugApp_allowOverride() local 217 CompatConfig config = CompatConfigBuilder.create(betaBuild(), mContext) in getOverrideAllowedState_betaBuildEnabledChangeDebugApp_allowOverride() local 236 CompatConfig config = CompatConfigBuilder.create(betaBuild(), mContext) in getOverrideAllowedState_betaBuildDisabledChangeDebugApp_allowOverride() local 254 CompatConfig config = CompatConfigBuilder.create(betaBuild(), mContext) in getOverrideAllowedState_betaBuildAnyChangeReleaseApp_rejectOverride() local 297 CompatConfig config = CompatConfigBuilder.create(finalBuild(), mContext) in getOverrideAllowedState_finalBuildTargetSdkChangeDebugAppOptin_allowOverride() local 322 CompatConfig config = CompatConfigBuilder.create(finalBuild(), mContext) in getOverrideAllowedState_finalBuildTargetSdkChangeDebugAppOptout_rejectOverride() local 344 CompatConfig config = CompatConfigBuilder.create(finalBuild(), mContext) in getOverrideAllowedState_targetSdkChangeGreaterThanOsVersion_rejectOverride() local 363 CompatConfig config = CompatConfigBuilder.create(finalBuild(), mContext) in getOverrideAllowedState_finalBuildEnabledChangeDebugApp_rejectOverride() local [all …]
|
/frameworks/base/tests/vcn/java/android/net/vcn/persistablebundleutils/ |
D | EapSessionConfigUtilsTest.java | 52 private static void verifyPersistableBundleEncodeDecodeIsLossless(EapSessionConfig config) { in verifyPersistableBundleEncodeDecodeIsLossless() 61 final EapSessionConfig config = in testSetEapMsChapV2EncodeDecodeIsLossless() local 69 final EapSessionConfig config = in testSetEapSimEncodeDecodeIsLossless() local 77 final EapSessionConfig config = in testSetEapAkaEncodeDecodeIsLossless() local 85 final EapSessionConfig config = in testSetEapAkaPrimeEncodeDecodeIsLossless() local 108 final EapSessionConfig config = in testSetEapTtlsEncodeDecodeIsLossless() local
|
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/ |
D | XmlConfigTests.java | 52 NetworkSecurityConfig config = appConfig.getConfigForHostname(""); in testEmptyConfigFile() local 72 NetworkSecurityConfig config = appConfig.getConfigForHostname(""); in testEmptyAnchors() local 91 NetworkSecurityConfig config = appConfig.getConfigForHostname(""); in testBasicDomainConfig() local 129 NetworkSecurityConfig config = appConfig.getConfigForHostname("android.com"); in testBasicPinning() local 145 NetworkSecurityConfig config = appConfig.getConfigForHostname("android.com"); in testExpiredPin() local 160 NetworkSecurityConfig config = appConfig.getConfigForHostname("android.com"); in testOverridesPins() local 175 NetworkSecurityConfig config = appConfig.getConfigForHostname("android.com"); in testBadPin() local 190 NetworkSecurityConfig config = appConfig.getConfigForHostname("android.com"); in testMultipleDomains() local 213 NetworkSecurityConfig config = appConfig.getConfigForHostname("android.com"); in testMultipleDomainConfigs() local 242 NetworkSecurityConfig config = appConfig.getConfigForHostname(""); in testAttributes() local [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/policy/ |
D | DeviceStateProviderImplTest.java | 94 DeviceStateProviderImpl.ReadableConfig config = new TestReadableConfig(configString); in create_emptyFile() local 102 DeviceStateProviderImpl.ReadableConfig config = new TestReadableConfig(configString); in create_emptyConfig() local 112 DeviceStateProviderImpl.ReadableConfig config = new TestReadableConfig(configString); in create_invalidConfig() local 117 private void assertDefaultProviderValues( in assertDefaultProviderValues() 145 DeviceStateProviderImpl.ReadableConfig config = new TestReadableConfig(configString); in create_multipleMatchingStatesDefaultsToLowestIdentifier() local 182 DeviceStateProviderImpl.ReadableConfig config = new TestReadableConfig(configString); in create_lidSwitch() local 258 DeviceStateProviderImpl.ReadableConfig config = new TestReadableConfig(configString); in create_sensor() local 344 DeviceStateProviderImpl.ReadableConfig config = new TestReadableConfig(configString); in create_invalidSensor() local
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | ConfigurationTest.java | 63 Configuration config = new Configuration(); in testUpdateFromPreservesRoundBit() local 73 Configuration config = new Configuration(); in testUpdateFromPreservesCompatNeededBit() local 121 Configuration config = new Configuration(); in testMaskedSet() local 153 Configuration config = new Configuration(); in testNightModeHelper() local 160 private void dumpDebug(File f, Configuration config) throws Exception { in dumpDebug() 176 private void readFromProto(File f, Configuration config) throws Exception { in readFromProto()
|
/frameworks/base/tests/vcn/java/android/net/vcn/ |
D | VcnConfigTest.java | 83 final VcnGatewayConnectionConfig config = VcnGatewayConnectionConfigTest.buildTestConfig(); in testBuilderRequiresUniqueGatewayConnectionNames() local 95 final VcnConfig config = buildTestConfig(mContext); in testBuilderAndGetters() local 103 final VcnConfig config = buildTestConfig(mContext); in testPersistableBundle() local 110 final VcnConfig config = buildTestConfig(mContext); in testParceling() local
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ZenModeConfigTest.java | 58 ZenModeConfig config = getMutedRingerConfig(); in testPriorityOnlyMutingAllNotifications() local 74 ZenModeConfig config = getCustomConfig(); in testZenPolicyNothingSetToNotificationPolicy() local 81 ZenModeConfig config = getMutedAllConfig(); in testZenPolicyToNotificationPolicy() local 120 ZenModeConfig config = getMutedAllConfig(); in testZenConfigToZenPolicy() local 140 ZenModeConfig config = getMutedAllConfig(); in testPriorityOnlyMutingAll() local 313 ZenModeConfig config = new ZenModeConfig(); in getMutedRingerConfig() local 333 ZenModeConfig config = new ZenModeConfig(); in getCustomConfig() local 354 ZenModeConfig config = new ZenModeConfig(); in getMutedAllConfig() local
|
/frameworks/base/tools/aapt2/configuration/ |
D | ConfigurationParser_test.cpp | 192 PostProcessingConfiguration config = maybe_config.value(); local 274 PostProcessingConfiguration config = builder.AddArtifact(v23).AddArtifact(v19).Build(); local 292 PostProcessingConfiguration config = builder.AddArtifact(arm64).AddArtifact(arm).Build(); local 310 PostProcessingConfiguration config = builder.AddArtifact(arm64).AddArtifact(arm).Build(); local 326 PostProcessingConfiguration config = builder.AddArtifact(v19).AddArtifact(arm).Build(); local 343 PostProcessingConfiguration config = builder.AddArtifact(v19).AddArtifact(arm).Build(); local 361 PostProcessingConfiguration config; local 391 PostProcessingConfiguration config; local 414 PostProcessingConfiguration config; local 431 PostProcessingConfiguration config; local [all …]
|
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/ |
D | UtilsTest.java | 150 final WifiConfiguration config = new WifiConfiguration(); in testGetAutoConnectDescription_autoJoinEnabled_returnEmptyString() local 164 final WifiConfiguration config = new WifiConfiguration(); in testGetAutoConnectDescription_autoJoinDisabled_returnDisable() local 178 final WifiConfiguration config = new WifiConfiguration(); in testGetMeteredDescription_noOverrideNoHint_returnEmptyString() local 191 final WifiConfiguration config = new WifiConfiguration(); in testGetMeteredDescription_overrideMetered_returnMetered() local 206 final WifiConfiguration config = new WifiConfiguration(); in testGetMeteredDescription__meteredHintTrueAndOverrideNone_returnMetered() local 221 final WifiConfiguration config = new WifiConfiguration(); in testGetMeteredDescription__meteredHintTrueAndOverrideMetered_returnMetered() local 236 final WifiConfiguration config = new WifiConfiguration(); in testGetMeteredDescription__meteredHintTrueAndOverrideNotMetered_returnUnmetered() local 304 WifiConfiguration config = new WifiConfiguration(); in testGetSubIdForWifiConfigurationWithNoSubscription() local 312 WifiConfiguration config = new WifiConfiguration(); in testGetSubIdForWifiConfigurationWithMatchingSubscription() local 325 WifiConfiguration config = new WifiConfiguration(); in testGetSubIdForWifiConfigurationWithoutCarrierId() local [all …]
|
D | StandardWifiEntryTest.java | 259 final WifiConfiguration config = new WifiConfiguration(); in testConstructor_wifiConfig_setsTitle() local 272 final WifiConfiguration config = new WifiConfiguration(); in testConstructor_wifiConfig_setsSecurity() local 285 final WifiConfiguration config = new WifiConfiguration(); in testUpdateConfig_mismatchedSsids_throwsException() local 305 final WifiConfiguration config = new WifiConfiguration(); in testUpdateConfig_mismatchedSecurity_throwsException() local 334 final WifiConfiguration config = new WifiConfiguration(); in testUpdateConfig_unsavedToSaved() local 345 final WifiConfiguration config = new WifiConfiguration(); in testUpdateConfig_savedToUnsaved() local 363 final WifiConfiguration config = new WifiConfiguration(); in testUpdateConnectionInfo_matchingNetId_updatesConnectionInfo() local 383 final WifiConfiguration config = new WifiConfiguration(); in testUpdateConnectionInfo_nonMatchingNetId_doesNotUpdateConnectionInfo() local 408 final WifiConfiguration config = new WifiConfiguration(); in testConnect_savedNetwork_usesSavedConfig() local 425 final WifiConfiguration config = new WifiConfiguration(); in testConnect_savedNetwork_usesSavedConfig_withOutSim() local [all …]
|
/frameworks/base/core/java/android/net/vcn/persistablebundleutils/ |
D | EapSessionConfigUtils.java | 56 public static PersistableBundle toPersistableBundle(@NonNull EapSessionConfig config) { in toPersistableBundle() 139 public static PersistableBundle toPersistableBundle(@NonNull EapMethodConfig config) { in toPersistableBundle() 151 protected static PersistableBundle toPersistableBundle(@NonNull EapUiccConfig config) { in toPersistableBundle() 162 public static PersistableBundle toPersistableBundle(EapSimConfig config) { in toPersistableBundle() 175 public static PersistableBundle toPersistableBundle(@NonNull EapAkaConfig config) { in toPersistableBundle() 191 public static PersistableBundle toPersistableBundle(@NonNull EapAkaPrimeConfig config) { in toPersistableBundle() 215 public static PersistableBundle toPersistableBundle(@NonNull EapMsChapV2Config config) { in toPersistableBundle() 235 public static PersistableBundle toPersistableBundle(@NonNull EapTtlsConfig config) { in toPersistableBundle()
|
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/ |
D | RcsConfigTest.java | 215 RcsConfig config = new RcsConfig(TEST_RCS_CONFIG.getBytes()); in testParseConfig() local 226 RcsConfig config = new RcsConfig(TEST_RCS_CONFIG.getBytes()); in testGetCharacteristic() local 240 RcsConfig config = new RcsConfig(TEST_RCS_CONFIG.getBytes()); in testSetAndMoveCharacteristic() local 264 RcsConfig config = new RcsConfig(TEST_RCS_CONFIG.getBytes()); in testGetDuplicateParmInDifferentCharacteristics() local 287 RcsConfig config = new RcsConfig(xml.getBytes()); in testIsRcsVolteSingleRegistrationSupported() local
|
/frameworks/base/core/java/android/app/ |
D | ConfigurationController.java | 68 Configuration updatePendingConfiguration(@NonNull Configuration config) { in updatePendingConfiguration() 93 void setCompatConfiguration(@NonNull Configuration config) { in setCompatConfiguration() 104 Configuration config = mConfiguration; in applyCompatConfiguration() local 117 void setConfiguration(@NonNull Configuration config) { in setConfiguration() 130 void handleConfigurationChanged(@NonNull Configuration config) { in handleConfigurationChanged() 156 void handleConfigurationChanged(@Nullable Configuration config, in handleConfigurationChanged()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/ |
D | WatchlistConfigTests.java | 92 WatchlistConfig config = new WatchlistConfig(mTestXmlFile); in testWatchlistConfig_parsing() local 105 WatchlistConfig config = new WatchlistConfig(mTestXmlFile); in testWatchlistConfig_noXml() local 119 WatchlistConfig config = new WatchlistConfig(mTestXmlFile); in testWatchlistConfig_getWatchlistConfigHash_hasConfig() local 125 WatchlistConfig config = new WatchlistConfig(mTestXmlFile); in testWatchlistConfig_getWatchlistConfigHash_withoutConfig() local 131 WatchlistConfig config = new WatchlistConfig(new File("/not_exist_path.xml")); in testWatchlistConfig_testDumpDoesNotCrash() local
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | HighRefreshRateDenylistTest.java | 80 final FakeDeviceConfig config = new FakeDeviceConfig(); in testDefaultDenylistIsOverriddenByDeviceConfig() local 92 final FakeDeviceConfig config = new FakeDeviceConfig(); in testDefaultDenylistIsOverriddenByEmptyDeviceConfig() local 102 final FakeDeviceConfig config = new FakeDeviceConfig(); in testDefaultDenylistIsOverriddenByDeviceConfigUpdate() local 126 final FakeDeviceConfig config = new FakeDeviceConfig(); in testOverriddenByDeviceConfigUnrelatedFlagChanged() local
|
/frameworks/native/opengl/tools/glgen/stubs/egl/ |
D | eglCreateWindowSurface.java | 5 EGLConfig config, in _eglCreateWindowSurface() 13 EGLConfig config, in _eglCreateWindowSurfaceTexture() 20 EGLConfig config, in eglCreateWindowSurface()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothHealth.java | 158 public boolean unregisterAppConfiguration(BluetoothHealthAppConfiguration config) { in unregisterAppConfiguration() 184 BluetoothHealthAppConfiguration config) { in connectChannelToSource() 211 BluetoothHealthAppConfiguration config, int channelId) { in disconnectChannel() 238 BluetoothHealthAppConfiguration config) { in getMainChannelFd()
|