Home
last modified time | relevance | path

Searched refs:network (Results 1 – 25 of 230) sorted by relevance

12345678910

/system/netd/server/
DNetworkController.cpp178 Network* network = getNetworkLocked(netId); in setDefaultNetwork() local
179 if (!network) { in setDefaultNetwork()
183 if (!network->isPhysical()) { in setDefaultNetwork()
187 if (int ret = static_cast<PhysicalNetwork*>(network)->addAsDefault()) { in setDefaultNetwork()
193 Network* network = getNetworkLocked(mDefaultNetId); in setDefaultNetwork() local
194 if (!network || !network->isPhysical()) { in setDefaultNetwork()
198 if (int ret = static_cast<PhysicalNetwork*>(network)->removeAsDefault()) { in setDefaultNetwork()
236 Network *network = getNetworkLocked(*netId); in getNetworkForDnsLocked() local
237 if (network && network->isVirtual() && !resolv_has_nameservers(*netId)) { in getNetworkForDnsLocked()
266 if (Network* network = getPhysicalOrUnreachableNetworkForUserLocked(uid)) { in getNetworkForUser() local
[all …]
/system/timezone/input_tools/android/telephonylookup_generator/src/test/java/com/android/libcore/timezone/telephonylookup/
DTelephonyLookupGeneratorTest.java67 TelephonyLookupProtoFile.Network network = createNetwork("123", "456", "GB"); in upperCaseCountryIsoCodeIsRejected() local
68 checkGenerationFails(createTelephonyLookup(network)); in upperCaseCountryIsoCodeIsRejected()
73 TelephonyLookupProtoFile.Network network = createNetwork("123", "456", "zx"); in unknownCountryIsoCodeIsRejected() local
74 checkGenerationFails(createTelephonyLookup(network)); in unknownCountryIsoCodeIsRejected()
79 TelephonyLookupProtoFile.Network network = createNetwork("XXX", "456", "gb"); in badMccIsRejected_nonNumeric() local
80 checkGenerationFails(createTelephonyLookup(network)); in badMccIsRejected_nonNumeric()
85 TelephonyLookupProtoFile.Network network = createNetwork("12", "456", "gb"); in badMccIsRejected_tooShort() local
86 checkGenerationFails(createTelephonyLookup(network)); in badMccIsRejected_tooShort()
91 TelephonyLookupProtoFile.Network network = createNetwork("1234", "567", "gb"); in badMccIsRejected_tooLong() local
92 checkGenerationFails(createTelephonyLookup(network)); in badMccIsRejected_tooLong()
[all …]
/system/connectivity/wificond/tests/
Dscan_settings_unittest.cpp98 HiddenNetwork network; in TEST_F() local
99 network.ssid_ = in TEST_F()
103 scan_settings.hidden_networks_ = {network}; in TEST_F()
124 HiddenNetwork network; in TEST_F() local
125 network.ssid_ = in TEST_F()
129 scan_settings.hidden_networks_ = {network}; in TEST_F()
155 PnoNetwork network, network1; in TEST_F() local
156 network.ssid_ = in TEST_F()
158 network.is_hidden_ = true; in TEST_F()
168 pno_settings.pno_networks_ = {network, network1}; in TEST_F()
Dscanner_unittest.cpp434 PnoNetwork network; in TEST_F() local
435 network.is_hidden_ = false; in TEST_F()
436 network.frequencies_.push_back(2412); in TEST_F()
437 pno_settings.pno_networks_.push_back(network); in TEST_F()
465 PnoNetwork network; in TEST_F() local
467 network.is_hidden_ = false; in TEST_F()
468 network.frequencies_.push_back(2412); in TEST_F()
469 network.frequencies_.push_back(2437); in TEST_F()
473 pno_settings.pno_networks_.push_back(network); in TEST_F()
504 PnoNetwork network; in TEST_F() local
[all …]
/system/connectivity/wificond/scanning/
Dpno_settings.cpp39 for (const auto& network : pno_networks_) { in writeToParcel() local
43 RETURN_IF_FAILED(network.writeToParcel(parcel)); in writeToParcel()
56 PnoNetwork network; in readFromParcel() local
67 RETURN_IF_FAILED(network.readFromParcel(parcel)); in readFromParcel()
68 pno_networks_.push_back(network); in readFromParcel()
Dsingle_scan_settings.cpp52 for (const auto& network : hidden_networks_) { in writeToParcel() local
56 RETURN_IF_FAILED(network.writeToParcel(parcel)); in writeToParcel()
96 HiddenNetwork network; in readFromParcel() local
107 RETURN_IF_FAILED(network.readFromParcel(parcel)); in readFromParcel()
108 hidden_networks_.push_back(network); in readFromParcel()
Dscanner_impl.cpp162 for (auto& network : scan_settings.hidden_networks_) { in scan() local
164 skipped_scan_ssids.emplace_back(network.ssid_); in scan()
167 if (network.ssid_.size() > 32) { in scan()
168 skipped_long_ssids.emplace_back(network.ssid_); in scan()
171 ssids.push_back(network.ssid_); in scan()
219 for (auto& network : pno_settings.pno_networks_) { in ParsePnoSettings() local
221 if (network.is_hidden_) { in ParsePnoSettings()
224 skipped_scan_ssids.emplace_back(network.ssid_); in ParsePnoSettings()
227 scan_ssids->push_back(network.ssid_); in ParsePnoSettings()
231 skipped_match_ssids.emplace_back(network.ssid_); in ParsePnoSettings()
[all …]
/system/timezone/input_tools/android/telephonylookup_generator/src/main/java/com/android/libcore/timezone/telephonylookup/
DTelephonyLookupXmlFile.java109 for (Network network : telephonyLookup.networks) { in writeXml()
110 network.writeXml(network, writer); in writeXml()
129 static void writeXml(Network network, XMLStreamWriter writer) in writeXml() argument
132 writer.writeAttribute(MOBILE_COUNTRY_CODE_ATTRIBUTE, network.mcc); in writeXml()
133 writer.writeAttribute(MOBILE_NETWORK_CODE_ATTRIBUTE, network.mnc); in writeXml()
134 writer.writeAttribute(COUNTRY_ISO_CODE_ATTRIBUTE, network.countryIsoCode); in writeXml()
/system/hardware/interfaces/net/netd/1.0/
DINetd.hal37 * Creates a physical network to be used for interfaces managed by the OEM
39 * @return networkHandle a handle to the OEM network. Zero implies
41 * @return packetMark The packet mark that vendor network stack configuration code must use when
42 * routing packets to this network. No applications may use this mark. They must
43 * instead pass the networkHandle to the android_set*network LL-NDK APIs.
51 * Destroys the specified network previously created using createOemNetwork()
/system/hardware/interfaces/net/netd/1.1/
DINetd.hal27 * Add route to a specified OEM network
30 * @param networkHandle Handle to the OEM network previously returned from
50 * Remove route from a specified OEM network.
53 * @param networkHandle Handle to the OEM network previously returned from
73 * Add interface to a specified OEM network
75 * @param networkHandle Handle to the OEM network previously returned from
77 * @param ifname Interface name to add to the OEM network.
85 * Remove interface from a specified OEM network.
87 * @param networkHandle Handle to the OEM network previously returned from
89 * @param ifname Interface name to remove from the OEM network.
[all …]
/system/sepolicy/prebuilts/api/29.0/public/
Dhal_neverallows.te1 # only HALs responsible for network hardware should have privileged
2 # network capabilities
12 # Unless a HAL's job is to communicate over the network, or control network
13 # hardware, it should not be using network sockets.
16 # those modules using network. Using this exemption for non-automotive builds
Dnet.te7 ### Domain with network access
10 # Use network sockets.
Dhal_audio.te30 # Should never need network access.
31 # Disallow network sockets.
/system/sepolicy/prebuilts/api/30.0/public/
Dhal_neverallows.te1 # only HALs responsible for network hardware should have privileged
2 # network capabilities
13 # Unless a HAL's job is to communicate over the network, or control network
14 # hardware, it should not be using network sockets.
17 # those modules using network. Using this exemption for non-automotive builds
/system/sepolicy/prebuilts/api/28.0/public/
Dhal_neverallows.te1 # only HALs responsible for network hardware should have privileged
2 # network capabilities
12 # Unless a HAL's job is to communicate over the network, or control network
13 # hardware, it should not be using network sockets.
16 # those modules using network. Using this exemption for non-automotive builds
Dhal_audio.te31 # Should never need network access.
32 # Disallow network sockets.
/system/sepolicy/prebuilts/api/27.0/public/
Dhal_neverallows.te1 # only HALs responsible for network hardware should have privileged
2 # network capabilities
11 # Unless a HAL's job is to communicate over the network, or control network
12 # hardware, it should not be using network sockets.
/system/sepolicy/prebuilts/api/26.0/public/
Dhal_neverallows.te1 # only HALs responsible for network hardware should have privileged
2 # network capabilities
11 # Unless a HAL's job is to communicate over the network, or control network
12 # hardware, it should not be using network sockets.
Dhal_audio.te33 # Should never need network access.
34 # Disallow network sockets.
/system/sepolicy/public/
Dhal_neverallows.te1 # only HALs responsible for network hardware should have privileged
2 # network capabilities
14 # Unless a HAL's job is to communicate over the network, or control network
15 # hardware, it should not be using network sockets.
18 # those modules using network. Using this exemption for non-automotive builds
/system/sepolicy/prebuilts/api/31.0/public/
Dhal_neverallows.te1 # only HALs responsible for network hardware should have privileged
2 # network capabilities
14 # Unless a HAL's job is to communicate over the network, or control network
15 # hardware, it should not be using network sockets.
18 # those modules using network. Using this exemption for non-automotive builds
/system/sepolicy/prebuilts/api/26.0/private/
Dnet.te2 ### Domain with network access
5 # Use network sockets.
/system/sepolicy/prebuilts/api/27.0/private/
Dnet.te2 ### Domain with network access
5 # Use network sockets.
/system/sepolicy/prebuilts/api/28.0/private/
Dnet.te2 ### Domain with network access
5 # Use network sockets.
/system/libsysprop/srcs/android/sysprop/
DTelephonyProperties.sysprop58 # Availability: when registered to a network. Result may be unreliable on
70 # true if the device is on a manually selected network. Indexed by phone ID
72 # Availability: when registered to a network
83 # true if the device is on a manually selected network
85 # Availability: when registered to a network
96 # true if the device is considered roaming on this network for GSM purposes.
99 # Availability: when registered to a network
113 # Availability: when registered to a network. Result may be unreliable on
171 # The MCC+MNC (mobile country code+mobile network code) of the provider
213 prop_name: "gsm.network.type"
[all …]

12345678910