Home
last modified time | relevance | path

Searched refs:friendlyName (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/java/android/content/res/
DApkAssets.java97 @NonNull String friendlyName, boolean system, boolean forceSharedLibrary) in loadFromFd() argument
99 return new ApkAssets(fd, friendlyName, system, forceSharedLibrary); in loadFromFd()
123 private ApkAssets(@NonNull FileDescriptor fd, @NonNull String friendlyName, boolean system, in ApkAssets() argument
126 Preconditions.checkNotNull(friendlyName, "friendlyName"); in ApkAssets()
127 mNativePtr = nativeLoadFromFd(fd, friendlyName, system, forceSharedLib); in ApkAssets()
205 @NonNull String friendlyName, boolean system, boolean forceSharedLib) in nativeLoadFromFd() argument
/frameworks/base/wifi/java/android/net/wifi/hotspot2/
DOsuProvider.java164 String friendlyName = mFriendlyNames.get(lang); in getFriendlyName() local
165 if (friendlyName != null) { in getFriendlyName()
166 return friendlyName; in getFriendlyName()
168 friendlyName = mFriendlyNames.get("en"); in getFriendlyName()
169 if (friendlyName != null) { in getFriendlyName()
170 return friendlyName; in getFriendlyName()
DPasspointConfiguration.java361 String friendlyName = mServiceFriendlyNames.get(lang); in getServiceFriendlyName() local
362 if (friendlyName != null) { in getServiceFriendlyName()
363 return friendlyName; in getServiceFriendlyName()
365 friendlyName = mServiceFriendlyNames.get("en"); in getServiceFriendlyName()
366 if (friendlyName != null) { in getServiceFriendlyName()
367 return friendlyName; in getServiceFriendlyName()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/
DOsuProviderInfo.java196 String friendlyName = mFriendlyNames.get(lang); in getFriendlyName() local
197 if (friendlyName != null) { in getFriendlyName()
198 return friendlyName; in getFriendlyName()
200 friendlyName = mFriendlyNames.get("en"); in getFriendlyName()
201 if (friendlyName != null) { in getFriendlyName()
202 return friendlyName; in getFriendlyName()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointProviderTest.java964 String friendlyName = "Friendly Name"; in getWifiConfigWithUserCredential() local
981 homeSp.setFriendlyName(friendlyName); in getWifiConfigWithUserCredential()
1006 assertEquals(friendlyName, wifiConfig.providerFriendlyName); in getWifiConfigWithUserCredential()
1035 String friendlyName = "Friendly Name"; in getWifiConfigWithCertCredential() local
1047 homeSp.setFriendlyName(friendlyName); in getWifiConfigWithCertCredential()
1077 assertEquals(friendlyName, wifiConfig.providerFriendlyName); in getWifiConfigWithCertCredential()
1103 String friendlyName = "Friendly Name"; in getWifiConfigWithSimCredential() local
1114 homeSp.setFriendlyName(friendlyName); in getWifiConfigWithSimCredential()
1132 assertEquals(friendlyName, wifiConfig.providerFriendlyName); in getWifiConfigWithSimCredential()
1156 String friendlyName = "Friendly Name"; in convertFromWifiConfigWithUserCredential() local
[all …]
DPasspointManagerTest.java297 String friendlyName) { in createTestConfigWithUserCredential() argument
301 homeSp.setFriendlyName(friendlyName); in createTestConfigWithUserCredential()
304 friendlyNames.put("en", friendlyName); in createTestConfigWithUserCredential()
305 friendlyNames.put("kr", friendlyName + 1); in createTestConfigWithUserCredential()
306 friendlyNames.put("jp", friendlyName + 2); in createTestConfigWithUserCredential()
349 private PasspointProvider addTestProvider(String fqdn, String friendlyName, in addTestProvider() argument
351 PasspointConfiguration config = createTestConfigWithUserCredential(fqdn, friendlyName); in addTestProvider()
1159 String friendlyName = "Test Provider" + i; in getMatchingOsuProvidersWithMatch() local
1165 new I18Name(Locale.ENGLISH.getLanguage(), Locale.ENGLISH, friendlyName)); in getMatchingOsuProvidersWithMatch()
1331 String friendlyName = "Friendly Name"; in addLegacyPasspointConfigWithUserCredential() local
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DServiceProviderVerifier.java236 String friendlyName = alternativeName.substring(LANGUAGE_CODE_LENGTH); in getFriendlyName() local
237 return Pair.create(locale, friendlyName); in getFriendlyName()
DOsuNetworkConnection.java167 public boolean connect(WifiSsid ssid, String nai, String friendlyName) { in connect() argument
190 config.providerFriendlyName = friendlyName; in connect()
DPasspointManager.java551 String friendlyName = mTelephonyManager in createEphemeralPasspointConfigForCarrier() local
554 homeSp.setFriendlyName(friendlyName); in createEphemeralPasspointConfigForCarrier()
1041 String friendlyName = entry.getValue(); in getMatchingPasspointConfigsForOsuProviders() local
1042 if (friendlyName == null) continue; in getMatchingPasspointConfigsForOsuProviders()
1045 if (friendlyName.equals(osuFriendlyName)) { in getMatchingPasspointConfigsForOsuProviders()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DTestAccessPointBuilder.java211 public TestAccessPointBuilder setProviderFriendlyName(String friendlyName) { in setProviderFriendlyName() argument
212 mProviderFriendlyName = friendlyName; in setProviderFriendlyName()
/frameworks/base/wifi/java/android/net/wifi/hotspot2/pps/
DHomeSp.java81 public void setFriendlyName(String friendlyName) { in setFriendlyName() argument
82 mFriendlyName = friendlyName; in setFriendlyName()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DWifiTrackerTest.java286 private static WifiConfiguration buildPasspointConfiguration(String fqdn, String friendlyName) { in buildPasspointConfiguration() argument
289 config.providerFriendlyName = friendlyName; in buildPasspointConfiguration()
318 String fqdn, String friendlyName) { in createPasspointMatchingWifiConfigWithScanResults() argument
330 matchingList.add(new Pair(buildPasspointConfiguration(fqdn, friendlyName), in createPasspointMatchingWifiConfigWithScanResults()
336 private static OsuProvider buildOsuProvider(String friendlyName) { in buildOsuProvider() argument
338 friendlyNames.put("en", friendlyName); in buildOsuProvider()