Home
last modified time | relevance | path

Searched defs:config (Results 1 – 25 of 617) sorted by relevance

12345678910>>...25

/frameworks/base/native/android/
Dconfiguration.cpp27 AConfiguration* config = new AConfiguration; in AConfiguration_new() local
32 void AConfiguration_delete(AConfiguration* config) { in AConfiguration_delete()
44 int32_t AConfiguration_getMcc(AConfiguration* config) { in AConfiguration_getMcc()
48 int32_t AConfiguration_getMnc(AConfiguration* config) { in AConfiguration_getMnc()
52 void AConfiguration_getLanguage(AConfiguration* config, char* outLanguage) { in AConfiguration_getLanguage()
57 void AConfiguration_getCountry(AConfiguration* config, char* outCountry) { in AConfiguration_getCountry()
62 int32_t AConfiguration_getOrientation(AConfiguration* config) { in AConfiguration_getOrientation()
66 int32_t AConfiguration_getTouchscreen(AConfiguration* config) { in AConfiguration_getTouchscreen()
70 int32_t AConfiguration_getDensity(AConfiguration* config) { in AConfiguration_getDensity()
74 int32_t AConfiguration_getKeyboard(AConfiguration* config) { in AConfiguration_getKeyboard()
[all …]
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/
DPasspointConfigurationTest.java148 PasspointConfiguration config = new PasspointConfiguration(); in createConfig() local
214 PasspointConfiguration config = createConfig(); in verifyParcelWithoutHomeSP() local
226 PasspointConfiguration config = createConfig(); in verifyParcelWithoutCredential() local
238 PasspointConfiguration config = createConfig(); in verifyParcelWithoutPolicy() local
250 PasspointConfiguration config = createConfig(); in verifyParcelWithoutSubscriptionUpdate() local
263 PasspointConfiguration config = createConfig(); in verifyParcelWithoutTrustRootCertList() local
275 PasspointConfiguration config = new PasspointConfiguration(); in validateDefaultConfig() local
286 PasspointConfiguration config = createConfig(); in validateFullConfig() local
297 PasspointConfiguration config = createConfig(); in validateConfigWithoutCredential() local
309 PasspointConfiguration config = createConfig(); in validateConfigWithoutHomeSp() local
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSupplicantStaNetworkHalTest.java98 WifiConfiguration config = WifiConfigurationTestUtil.createOpenHiddenNetwork(); in testOpenNetworkWifiConfigurationSaveLoad() local
108 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testPskPassphraseNetworkWifiConfigurationSaveLoad() local
124 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testPskNetworkWifiConfigurationSaveLoad() local
141 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testPskNetworkWifiConfigurationSaveRemovesPskQuotes() local
153 WifiConfiguration config = WifiConfigurationTestUtil.createWepHiddenNetwork(); in testWepNetworkWifiConfigurationSaveLoad() local
163 WifiConfiguration config = WifiConfigurationTestUtil.createEapNetwork(); in testEapPeapGtcNetworkWifiConfigurationSaveLoad() local
174 WifiConfiguration config = WifiConfigurationTestUtil.createEapNetwork(); in testEapTlsNoneNetworkWifiConfigurationSaveLoad() local
185 WifiConfiguration config = WifiConfigurationTestUtil.createEapNetwork(); in testEapTlsNoneClientCertNetworkWifiConfigurationSaveLoad() local
197 WifiConfiguration config = WifiConfigurationTestUtil.createEapNetwork(); in testEapTlsAkaNetworkWifiConfigurationSaveLoad() local
208 WifiConfiguration config = WifiConfigurationTestUtil.createWepHiddenNetwork(); in testNetworkIdLoad() local
[all …]
DWifiConfigurationUtilTest.java218 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testValidatePositiveCases_Hex() local
230 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testValidatePositiveCases_MaskedPskString() local
245 WifiConfiguration config = new WifiConfiguration(); in testValidatePositiveCases_OnlyUpdateIgnoresNullSsid() local
256 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testValidateNegativeCases_BadAsciiSsidLength() local
271 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testValidateNegativeCases_MalformedAsciiSsidString() local
283 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testValidateNegativeCases_BadHexSsidLength() local
298 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testValidateNegativeCases_MalformedHexSsidString() local
310 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testValidateNegativeCases_BadAsciiPskLength() local
326 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testValidateNegativeCases_MalformedAsciiPskString() local
338 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testValidateNegativeCases_BadHexPskLength() local
[all …]
DWifiApConfigStoreTest.java96 WifiConfiguration config = new WifiConfiguration(); in setupApConfig() local
105 private void writeApConfigFile(WifiConfiguration config) throws Exception { in writeApConfigFile()
120 private void verifyDefaultApConfig(WifiConfiguration config, String expectedSsid) { in verifyDefaultApConfig()
211 WifiConfiguration config = store.getApConfiguration(); in getDefaultApConfigurationIsValid() local
221 WifiConfiguration config = WifiApConfigStore.generateLocalOnlyHotspotConfig(mContext); in generateLocalOnlyHotspotConfigIsValid() local
261 WifiConfiguration config = new WifiConfiguration(); in testSsidVerificationInValidateApWifiConfigurationCheck() local
286 WifiConfiguration config = new WifiConfiguration(); in testOpenNetworkConfigInValidateApWifiConfigurationCheck() local
308 WifiConfiguration config = new WifiConfiguration(); in testWpa2PskNetworkConfigInValidateApWifiConfigurationCheck() local
351 WifiConfiguration config = new WifiConfiguration(); in testInvalidAuthTypeInValidateApWifiConfigurationCheck() local
364 WifiConfiguration config = new WifiConfiguration(); in testUnsupportedAuthTypeInValidateApWifiConfigurationCheck() local
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiConfigurationTest.java50 WifiConfiguration config = new WifiConfiguration(); in testWifiConfigurationParcel() local
106 WifiConfiguration config = new WifiConfiguration(); in testIsOpenNetwork_IsOpen_NullWepKeys() local
115 WifiConfiguration config = new WifiConfiguration(); in testIsOpenNetwork_IsOpen_ZeroLengthWepKeysArray() local
124 WifiConfiguration config = new WifiConfiguration(); in testIsOpenNetwork_IsOpen_NullWepKeysArray() local
133 WifiConfiguration config = new WifiConfiguration(); in testIsOpenNetwork_NotOpen_HasWepKeys() local
142 WifiConfiguration config = new WifiConfiguration(); in testIsOpenNetwork_NotOpen_HasNullWepKeyFollowedByNonNullKey() local
153 WifiConfiguration config = new WifiConfiguration(); in testIsOpenNetwork_NotOpen_HasAuthType() local
165 WifiConfiguration config = new WifiConfiguration(); in testIsOpenNetwork_NotOpen_HasAuthTypeNoneAndMore() local
/frameworks/base/tools/aapt/tests/
DAaptConfig_test.cpp27 static ::testing::AssertionResult TestParse(const String8& input, ConfigDescription* config=NULL) { in TestParse()
34 static ::testing::AssertionResult TestParse(const char* input, ConfigDescription* config=NULL) { in TestParse()
53 ConfigDescription config; in TEST() local
67 ConfigDescription config; in TEST() local
73 ConfigDescription config; in TEST() local
82 ConfigDescription config; in TEST() local
88 ConfigDescription config; in TEST() local
103 ConfigDescription config; in TEST() local
118 ConfigDescription config; in TEST() local
DResourceFilter_test.cpp34 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/tools/aapt2/
DConfigDescription_test.cpp31 const StringPiece& input, ConfigDescription* config = nullptr) { in TestParse()
53 ConfigDescription config; in TEST() local
70 ConfigDescription config; in TEST() local
76 ConfigDescription config; in TEST() local
85 ConfigDescription config; in TEST() local
91 ConfigDescription config; in TEST() local
106 ConfigDescription config; in TEST() local
121 ConfigDescription config; in TEST() local
136 ConfigDescription config; in TEST() local
/frameworks/base/core/java/android/security/net/config/
DRootTrustManager.java43 public RootTrustManager(ApplicationConfig config) { in RootTrustManager()
55 NetworkSecurityConfig config = mConfig.getConfigForHostname(""); in checkClientTrusted() local
64 NetworkSecurityConfig config = mConfig.getConfigForHostname(""); in checkClientTrusted() local
73 NetworkSecurityConfig config = mConfig.getConfigForHostname(""); in checkClientTrusted() local
87 NetworkSecurityConfig config = mConfig.getConfigForHostname(host); in checkServerTrusted() local
103 NetworkSecurityConfig config = mConfig.getConfigForHostname(host); in checkServerTrusted() local
115 NetworkSecurityConfig config = mConfig.getConfigForHostname(""); in checkServerTrusted() local
130 NetworkSecurityConfig config = mConfig.getConfigForHostname(hostname); in checkServerTrusted() local
139 NetworkSecurityConfig config = mConfig.getConfigForHostname(""); in getAcceptedIssuers() local
/frameworks/base/core/java/android/bluetooth/
DIBluetoothHealth.aidl31 boolean registerAppConfiguration(in BluetoothHealthAppConfiguration config, in registerAppConfiguration()
33 boolean unregisterAppConfiguration(in BluetoothHealthAppConfiguration config); in unregisterAppConfiguration()
34 …olean connectChannelToSource(in BluetoothDevice device, in BluetoothHealthAppConfiguration config); in connectChannelToSource()
35 … boolean connectChannelToSink(in BluetoothDevice device, in BluetoothHealthAppConfiguration config, in connectChannelToSink()
37 …boolean disconnectChannel(in BluetoothDevice device, in BluetoothHealthAppConfiguration config, in… in disconnectChannel()
38 …eDescriptor getMainChannelFd(in BluetoothDevice device, in BluetoothHealthAppConfiguration config); in getMainChannelFd()
/frameworks/support/compat/java/android/support/v4/view/
DViewConfigurationCompat.java57 public static int getScaledPagingTouchSlop(ViewConfiguration config) { in getScaledPagingTouchSlop()
68 public static boolean hasPermanentMenuKey(ViewConfiguration config) { in hasPermanentMenuKey()
80 public static float getScaledHorizontalScrollFactor(@NonNull ViewConfiguration config, in getScaledHorizontalScrollFactor()
97 public static float getScaledVerticalScrollFactor(@NonNull ViewConfiguration config, in getScaledVerticalScrollFactor()
106 private static float getLegacyScrollFactor(ViewConfiguration config, Context context) { in getLegacyScrollFactor()
/frameworks/base/libs/androidfw/tests/
DSparseEntry_bench.cpp29 ResTable_config config; in BM_SparseEntryGetResourceSparseSmall() local
38 ResTable_config config; in BM_SparseEntryGetResourceNotSparseSmall() local
47 ResTable_config config; in BM_SparseEntryGetResourceSparseLarge() local
56 ResTable_config config; in BM_SparseEntryGetResourceNotSparseLarge() local
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/robolectric/
DPatchedGradleManifestFactory.java39 public ManifestIdentifier identify(Config config) { in identify()
99 private static String getBuildOutputDir(Config config) { in getBuildOutputDir()
103 private static String getType(Config config) { in getType()
111 private static String getFlavor(Config config) { in getFlavor()
119 private static String getAbiSplit(Config config) { in getAbiSplit()
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/
DConfigTest.java75 final EmojiCompat.Config config = new ValidTestConfig().setReplaceAll(true); in testBuild_withDefaultValues() local
90 final EmojiCompat.Config config = new ValidTestConfig().registerInitCallback(initCallback1) in testInitCallback_callsSuccessCallback() local
109 final EmojiCompat.Config config = new TestConfigBuilder.TestConfig(loader) in testInitCallback_callsFailCallback() local
121 EmojiCompat.Config config = new ValidTestConfig(); in testBuild_withEmojiSpanIndicator() local
134 EmojiCompat.Config config = new ValidTestConfig(); in testBuild_withEmojiSpanIndicatorColor() local
147 final EmojiCompat.Config config = new ValidTestConfig().setEmojiSpanIndicatorEnabled(true); in testBuild_defaultEmojiSpanIndicatorColor() local
DInitCallbackTest.java45 final EmojiCompat.Config config = TestConfigBuilder.config(); in testRegisterInitCallback_callsSuccessCallback() local
65 final EmojiCompat.Config config = new TestConfig(loader); in testRegisterInitCallback_callsFailCallback() local
87 final EmojiCompat.Config config = new TestConfig(loader); in testRegisterInitCallback_callsFailCallback_whenOnFailCalledByLoader() local
106 final EmojiCompat.Config config = new TestConfig(loader); in testRegisterInitCallback_callsFailCallback_whenMetadataRepoIsNull() local
130 final EmojiCompat.Config config = new TestConfig(metadataLoader) in testUnregisterInitCallback_doesNotInteractWithCallback() local
158 final EmojiCompat.Config config = TestConfigBuilder.config() in testInitCallback_addedToConfigAndInstance_callsSuccess() local
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
DXmlConfigTests.java50 NetworkSecurityConfig config = appConfig.getConfigForHostname(""); in testEmptyConfigFile() local
69 NetworkSecurityConfig config = appConfig.getConfigForHostname(""); in testEmptyAnchors() local
87 NetworkSecurityConfig config = appConfig.getConfigForHostname(""); in testBasicDomainConfig() local
124 NetworkSecurityConfig config = appConfig.getConfigForHostname("android.com"); in testBasicPinning() local
139 NetworkSecurityConfig config = appConfig.getConfigForHostname("android.com"); in testExpiredPin() local
153 NetworkSecurityConfig config = appConfig.getConfigForHostname("android.com"); in testOverridesPins() local
167 NetworkSecurityConfig config = appConfig.getConfigForHostname("android.com"); in testBadPin() local
181 NetworkSecurityConfig config = appConfig.getConfigForHostname("android.com"); in testMultipleDomains() local
203 NetworkSecurityConfig config = appConfig.getConfigForHostname("android.com"); in testMultipleDomainConfigs() local
230 NetworkSecurityConfig config = appConfig.getConfigForHostname(""); in testAttributes() local
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigManager.java510 WifiConfiguration config = getInternalConfiguredNetwork(networkId); in getConfiguredNetwork() local
527 WifiConfiguration config = getInternalConfiguredNetwork(configKey); in getConfiguredNetwork() local
547 WifiConfiguration config = getInternalConfiguredNetwork(networkId); in getConfiguredNetworkWithPassword() local
570 private WifiConfiguration getInternalConfiguredNetwork(WifiConfiguration config) { in getInternalConfiguredNetwork()
651 private boolean canModifyNetwork(WifiConfiguration config, int uid, boolean ignoreLockdown) { in canModifyNetwork()
955 private NetworkUpdateResult addOrUpdateNetworkInternal(WifiConfiguration config, int uid) { in addOrUpdateNetworkInternal()
1068 public NetworkUpdateResult addOrUpdateNetwork(WifiConfiguration config, int uid) { in addOrUpdateNetwork()
1112 private boolean removeNetworkInternal(WifiConfiguration config) { in removeNetworkInternal()
1146 WifiConfiguration config = getInternalConfiguredNetwork(networkId); in removeNetwork() local
1254 private void setNetworkSelectionEnabled(WifiConfiguration config) { in setNetworkSelectionEnabled()
[all …]
DWifiConfigurationUtil.java71 public static boolean isVisibleToAnyProfile(WifiConfiguration config, List<UserInfo> profiles) { in isVisibleToAnyProfile()
108 public static boolean isConfigForPskNetwork(WifiConfiguration config) { in isConfigForPskNetwork()
115 public static boolean isConfigForEapNetwork(WifiConfiguration config) { in isConfigForEapNetwork()
123 public static boolean isConfigForWepNetwork(WifiConfiguration config) { in isConfigForWepNetwork()
131 public static boolean isConfigForOpenNetwork(WifiConfiguration config) { in isConfigForOpenNetwork()
420 public static boolean validate(WifiConfiguration config, boolean isAdd) { in validate()
447 public static boolean isSameNetwork(WifiConfiguration config, WifiConfiguration config1) { in isSameNetwork()
481 WifiConfiguration config, int newPriority) { in createPnoNetwork()
537 private int getNetworkStatusScore(WifiConfiguration config) { in getNetworkStatusScore()
/frameworks/opt/net/wifi/libwifi_system/tests/
Dhostapd_manager_unittest.cpp64 void VerifyCommonConfigs(const string& config) { in VerifyCommonConfigs()
79 string config = GetConfigForEncryptionType( in TEST_F() local
85 string config = GetConfigForEncryptionType( in TEST_F() local
94 string config = GetConfigForEncryptionType( in TEST_F() local
103 string config = HostapdManager().CreateHostapdConfig( in TEST_F() local
115 string config = HostapdManager().CreateHostapdConfig( in TEST_F() local
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DApConfigUtilTest.java185 WifiConfiguration config = new WifiConfiguration(); in updateApChannelConfigWithoutHal() local
203 WifiConfiguration config = new WifiConfiguration(); in updateApChannelConfig5GBandNoCountryCode() local
216 WifiConfiguration config = new WifiConfiguration(); in updateApChannelConfigWithChannelSpecified() local
233 WifiConfiguration config = new WifiConfiguration(); in updateApChannelConfigWith5GBandNoChannelAllowed() local
250 WifiConfiguration config = new WifiConfiguration(); in updateApChannelConfigWithoutChannelsForBandSupported() local
/frameworks/support/room/runtime/src/test/java/android/arch/persistence/room/
DBuilderTest.java73 DatabaseConfiguration config = ((BuilderTest_TestDatabase_Impl) db).mConfig; in migration() local
89 DatabaseConfiguration config = ((BuilderTest_TestDatabase_Impl) db).mConfig; in migrationOverride() local
104 DatabaseConfiguration config = ((BuilderTest_TestDatabase_Impl) db).mConfig; in migrationJump() local
115 DatabaseConfiguration config = ((BuilderTest_TestDatabase_Impl) db).mConfig; in skipMigration() local
124 DatabaseConfiguration config = ((BuilderTest_TestDatabase_Impl) db).mConfig; in createBasic() local
139 DatabaseConfiguration config = ((BuilderTest_TestDatabase_Impl) db).mConfig; in createAllowMainThread() local
152 DatabaseConfiguration config = ((BuilderTest_TestDatabase_Impl) db).mConfig; in createWithFactoryAndVersion() local
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointProviderTest.java94 private PasspointProvider createProvider(PasspointConfiguration config) { in createProvider()
176 PasspointConfiguration config = new PasspointConfiguration(); in verifyModifyOriginalConfig() local
201 PasspointConfiguration config = new PasspointConfiguration(); in verifyModifyRetrievedConfig() local
226 PasspointConfiguration config = new PasspointConfiguration(); in installCertsAndKeysSuccess() local
266 PasspointConfiguration config = new PasspointConfiguration(); in installCertsAndKeysFailure() local
304 PasspointConfiguration config = new PasspointConfiguration(); in uninstallCertsAndKeys() local
349 PasspointConfiguration config = new PasspointConfiguration(); in matchFQDNWithoutNAIRealm() local
380 PasspointConfiguration config = new PasspointConfiguration(); in matchFQDNWithNAIRealmMatch() local
416 PasspointConfiguration config = new PasspointConfiguration(); in matchFQDNWithNAIRealmMismatch() local
449 PasspointConfiguration config = new PasspointConfiguration(); in match3GPPNetworkDomainName() local
[all …]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DGridLayoutManagerBaseConfigSetTest.java45 public GridLayoutManagerBaseConfigSetTest(Config config) { in GridLayoutManagerBaseConfigSetTest()
51 Config config = (Config) mConfig.clone(); in scrollBackAndPreservePositions() local
56 public void scrollBackAndPreservePositionsTest(final Config config) throws Throwable { in scrollBackAndPreservePositionsTest()
DLinearLayoutManagerBaseConfigSetTest.java54 public LinearLayoutManagerBaseConfigSetTest(Config config) { in LinearLayoutManagerBaseConfigSetTest()
70 Config config = ((Config) mConfig.clone()).itemCount(300); in scrollToPositionWithOffsetTest() local
154 final Config config = ((Config) mConfig.clone()).itemCount(300); in getFirstLastChildrenTest() local
230 final Config config = ((Config) mConfig.clone()).itemCount(1000); in dontRecycleViewsTranslatedOutOfBoundsFromStart() local
264 final Config config = ((Config) mConfig.clone()).itemCount(1000); in dontRecycleViewsTranslatedOutOfBoundsFromEnd() local
296 private TargetTuple findInvisibleTarget(Config config) { in findInvisibleTarget()

12345678910>>...25