Home
last modified time | relevance | path

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

12345678910>>...24

/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 …]
/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/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.java44 final EmojiCompat.Config config = TestConfigBuilder.config(); in testRegisterInitCallback_callsSuccessCallback() local
64 final EmojiCompat.Config config = new TestConfig(loader); in testRegisterInitCallback_callsFailCallback() local
86 final EmojiCompat.Config config = new TestConfig(loader); in testRegisterInitCallback_callsFailCallback_whenOnFailCalledByLoader() local
105 final EmojiCompat.Config config = new TestConfig(loader); in testRegisterInitCallback_callsFailCallback_whenMetadataRepoIsNull() local
129 final EmojiCompat.Config config = new TestConfig(metadataLoader) in testUnregisterInitCallback_doesNotInteractWithCallback() local
157 final EmojiCompat.Config config = TestConfigBuilder.config() in testInitCallback_addedToConfigAndInstance_callsSuccess() 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/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/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
DConfigLocale_test.cpp26 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
241 ResTable_config config; in TEST() local
269 ResTable_config config; in TEST() local
283 ResTable_config config; in TEST() local
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigManager.java508 WifiConfiguration config = getInternalConfiguredNetwork(networkId); in getConfiguredNetwork() local
525 WifiConfiguration config = getInternalConfiguredNetwork(configKey); in getConfiguredNetwork() local
545 WifiConfiguration config = getInternalConfiguredNetwork(networkId); in getConfiguredNetworkWithPassword() local
568 private WifiConfiguration getInternalConfiguredNetwork(WifiConfiguration config) { in getInternalConfiguredNetwork()
649 private boolean canModifyNetwork(WifiConfiguration config, int uid, boolean ignoreLockdown) { in canModifyNetwork()
935 private NetworkUpdateResult addOrUpdateNetworkInternal(WifiConfiguration config, int uid) { in addOrUpdateNetworkInternal()
1034 public NetworkUpdateResult addOrUpdateNetwork(WifiConfiguration config, int uid) { in addOrUpdateNetwork()
1078 private boolean removeNetworkInternal(WifiConfiguration config) { in removeNetworkInternal()
1112 WifiConfiguration config = getInternalConfiguredNetwork(networkId); in removeNetwork() local
1193 private void setNetworkSelectionEnabled(WifiConfiguration config) { in setNetworkSelectionEnabled()
[all …]
DWifiConfigurationUtil.java50 public static boolean isVisibleToAnyProfile(WifiConfiguration config, List<UserInfo> profiles) { in isVisibleToAnyProfile()
87 public static boolean isConfigForPskNetwork(WifiConfiguration config) { in isConfigForPskNetwork()
94 public static boolean isConfigForEapNetwork(WifiConfiguration config) { in isConfigForEapNetwork()
102 public static boolean isConfigForWepNetwork(WifiConfiguration config) { in isConfigForWepNetwork()
110 public static boolean isConfigForOpenNetwork(WifiConfiguration config) { in isConfigForOpenNetwork()
246 public static boolean isSameNetwork(WifiConfiguration config, WifiConfiguration config1) { in isSameNetwork()
280 WifiConfiguration config, int newPriority) { in createPnoNetwork()
336 private int getNetworkStatusScore(WifiConfiguration config) { in getNetworkStatusScore()
/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/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/opt/net/wifi/libwifi_system/tests/
Dhostapd_manager_unittest.cpp99 string config = GetConfigForEncryptionType( in TEST_F() local
106 string config = GetConfigForEncryptionType( in TEST_F() local
113 string config = GetConfigForEncryptionType( in TEST_F() local
120 string config = HostapdManager().CreateHostapdConfig( in TEST_F() local
132 string config = HostapdManager().CreateHostapdConfig( in TEST_F() local
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
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()
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()
DLinearLayoutManagerSnappingTest.java43 public LinearLayoutManagerSnappingTest(Config config, boolean reverseScroll) { in LinearLayoutManagerSnappingTest()
62 final Config config = (Config) mConfig.clone(); in snapOnScrollSameViewEdge() local
87 final Config config = (Config) mConfig.clone(); in snapOnScrollSameView() local
109 final Config config = (Config) mConfig.clone(); in snapOnScrollNextView() local
131 final Config config = (Config) mConfig.clone(); in snapOnFlingSameView() local
156 final Config config = (Config) mConfig.clone(); in snapOnFlingNextView() local
DPagerSnapHelperTest.java45 public PagerSnapHelperTest(Config config, boolean reverseScroll) { in PagerSnapHelperTest()
64 final Config config = (Config) mConfig.clone(); in snapOnScrollSameView() local
90 final Config config = (Config) mConfig.clone(); in snapOnScrollNextView() local
120 final Config config = (Config) mConfig.clone(); in snapOnFlingSameView() local
157 final Config config = (Config) mConfig.clone(); in snapOnFlingNextView() local
169 final Config config = (Config) mConfig.clone(); in snapOnMaxFlingNextView() local
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvider.java90 public PasspointProvider(PasspointConfiguration config, WifiKeyStore keyStore, in PasspointProvider()
95 public PasspointProvider(PasspointConfiguration config, WifiKeyStore keyStore, in PasspointProvider()
467 private void buildEnterpriseConfigForUserCredential(WifiEnterpriseConfig config, in buildEnterpriseConfigForUserCredential()
500 private void buildEnterpriseConfigForCertCredential(WifiEnterpriseConfig config) { in buildEnterpriseConfigForCertCredential()
512 private void buildEnterpriseConfigForSimCredential(WifiEnterpriseConfig config, in buildEnterpriseConfigForSimCredential()
535 private static void setAnonymousIdentityToNaiRealm(WifiEnterpriseConfig config, String realm) { in setAnonymousIdentityToNaiRealm()
564 WifiEnterpriseConfig config) { in buildUserCredentialFromEnterpriseConfig()
610 int eapType, WifiEnterpriseConfig config) { in buildSimCredentialFromEnterpriseConfig()

12345678910>>...24