Searched defs:iface (Results 51 - 72 of 72) sorted by relevance

123

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DHalDeviceManagerTest.java709 IWifiApIface iface = (IWifiApIface) validateInterfaceSequence(chipMock,
720 collector.checkThat("allocated interface", iface, IsNull.notNullValue());
729 verify(idl).onDestroyed(getName(iface));
736 * Validate creation of AP interface when in STA mode with a single STA iface created.
827 IWifiApIface iface = (IWifiApIface) validateInterfaceSequence(chipMock,
838 collector.checkThat("allocated interface", iface, IsNull.notNullValue());
847 verify(idl).onDestroyed(getName(iface));
2273 IWifiIface iface = validateInterfaceSequence(chipMock,
2284 collector.checkThat("allocated interface", iface, IsNull.notNullValue());
2288 mDut.removeIface(iface);
2562 getType(IWifiIface iface) argument
2570 getName(IWifiIface iface) argument
[all...]
H A DSupplicantStaIfaceHalTest.java148 protected ISupplicantStaIface getStaIfaceMockable(ISupplicantIface iface) { argument
154 getStaIfaceMockableV1_1(ISupplicantIface iface) { argument
283 * Ensures that reject addition of an existing iface.
325 * Ensures that we reject removal of an invalid iface.
1732 public void answer(ISupplicant.IfaceInfo iface, ISupplicant.getInterfaceCallback cb) { argument
1748 public void answer(ISupplicant.IfaceInfo iface, argument
H A DWifiStateMachineTest.java164 private static <T, I> IBinder mockService(Class<T> class1, Class<I> iface) { argument
165 T tImpl = mockWithInterfaces(class1, iface);
168 when(binder.queryLocalInterface(iface.getCanonicalName()))
2214 public boolean answer(String iface, MacAddress mac) {
2215 when(mWifiNative.getMacAddress(iface)).thenReturn(mac.toString());
/frameworks/base/services/core/java/com/android/server/am/
H A DBatteryStatsService.java988 public void noteNetworkInterfaceType(String iface, int networkType) { argument
991 mStats.noteNetworkInterfaceTypeLocked(iface, networkType);
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DTethering.java313 public void interfaceStatusChanged(String iface, boolean up) { argument
316 if (VDBG) Log.d(TAG, "interfaceStatusChanged " + iface + ", " + up);
319 maybeTrackNewInterfaceLocked(iface);
321 if (ifaceNameToType(iface) == TETHERING_BLUETOOTH) {
322 stopTrackingInterfaceLocked(iface);
328 if (VDBG) Log.d(TAG, "ignore interface down for " + iface);
335 public void interfaceLinkStateChanged(String iface, boolean up) { argument
336 interfaceStatusChanged(iface, up);
339 private int ifaceNameToType(String iface) { argument
342 if (cfg.isWifi(iface)) {
353 interfaceAdded(String iface) argument
361 interfaceRemoved(String iface) argument
617 tether(String iface) argument
621 tether(String iface, int requestedState) argument
646 untether(String iface) argument
670 getLastTetherError(String iface) argument
1908 notifyInterfaceStateChange( String iface, TetherInterfaceStateMachine who, int state, int error) argument
1955 notifyLinkPropertiesChanged(String iface, TetherInterfaceStateMachine who, LinkProperties newLp) argument
1975 maybeTrackNewInterfaceLocked(final String iface) argument
1985 maybeTrackNewInterfaceLocked(final String iface, int interfaceType) argument
2001 stopTrackingInterfaceLocked(final String iface) argument
[all...]
H A DVpn.java1378 public synchronized void interfaceStatusChanged(String iface, boolean up) { argument
1380 mObserver.interfaceStatusChanged(iface, up);
1688 final String iface = ipv4DefaultRoute.getInterface();
1717 iface, profile.server, "udppsk", profile.ipsecIdentifier,
1723 iface, profile.server, "udprsa", privateKey, userCert,
1729 iface, profile.server, "xauthpsk", profile.ipsecIdentifier,
1735 iface, profile.server, "xauthrsa", privateKey, userCert,
1741 iface, profile.server, "hybridrsa",
1752 iface, "pptp", profile.server, "1723",
1762 iface, "l2t
[all...]
/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkStatsService.java251 /** Current default active iface. */
786 entry.iface = IFACE_ALL;
943 public long getIfaceStats(String iface, int type) { argument
944 return nativeGetIfaceStat(iface, type, checkBpfStatsEnable());
1049 public void limitReached(String limitName, String iface) {
1078 * iface} to {@link NetworkStatsHistory}. When multiple {@link NetworkInfo}
1079 * are active on a single {@code iface}, they are combined under a single
1087 // take one last stats snapshot before updating iface mapping. this
1499 pw.printPair("iface", mActiveIfaces.keyAt(i));
1508 pw.printPair("iface", mActiveUidIface
1830 nativeGetIfaceStat(String iface, int type, boolean useBpfStats) argument
[all...]
H A DNetworkPolicyManagerService.java1106 public void limitReached(String limitName, String iface) {
1111 mHandler.obtainMessage(MSG_LIMIT_REACHED, iface).sendToTarget();
1850 Slog.w(TAG, "shared quota unsupported; generating rule for each iface");
1854 final String iface = matchingIfaces.valueAt(j);
1855 setInterfaceQuotaAsync(iface, quotaBytes);
1856 newMeteredIfaces.add(iface);
1877 final String iface = matchingIfaces.valueAt(j);
1878 if (!newMeteredIfaces.contains(iface)) {
1879 setInterfaceQuotaAsync(iface, Long.MAX_VALUE);
1880 newMeteredIfaces.add(iface);
2767 onTetheringChanged(String iface, boolean tethering) argument
4468 setInterfaceQuotaAsync(String iface, long quotaBytes) argument
4474 setInterfaceQuota(String iface, long quotaBytes) argument
4484 removeInterfaceQuotaAsync(String iface) argument
4488 removeInterfaceQuota(String iface) argument
[all...]
/frameworks/base/services/net/java/android/net/dhcp/
H A DDhcpClient.java226 private DhcpClient(Context context, StateMachine controller, String iface) { argument
231 mIfaceName = iface;
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DNetworkPolicyManagerServiceTest.java1665 private LinkProperties buildLinkProperties(String iface) { argument
1667 lp.setInterfaceName(iface);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DSupplicantStaIfaceHal.java271 * Setup a STA interface for the specified iface name.
286 Log.e(TAG, "setupIface got null iface");
292 android.hardware.wifi.supplicant.V1_1.ISupplicantStaIface iface =
297 if (!registerCallbackV1_1(iface, callbackV1_1)) {
300 mISupplicantStaIfaces.put(ifaceName, iface);
303 ISupplicantStaIface iface = getStaIfaceMockable(ifaceHwBinder);
305 if (!registerCallback(iface, callback)) {
308 mISupplicantStaIfaces.put(ifaceName, iface);
315 * Get a STA interface for the specified iface name.
347 (SupplicantStatus status, ISupplicantIface iface)
562 getStaIfaceMockable(ISupplicantIface iface) argument
569 getStaIfaceMockableV1_1(ISupplicantIface iface) argument
1097 registerCallback( ISupplicantStaIface iface, ISupplicantStaIfaceCallback callback) argument
1112 registerCallbackV1_1( android.hardware.wifi.supplicant.V1_1.ISupplicantStaIface iface, android.hardware.wifi.supplicant.V1_1.ISupplicantStaIfaceCallback callback) argument
[all...]
H A DWifiVendorHal.java380 /** Helper method to lookup the corresponding STA iface object using iface name. */
406 * Create a STA iface using {@link HalDeviceManager}.
411 * @return iface name on success, null otherwise.
416 IWifiStaIface iface = mHalDeviceManager.createStaIface(lowPrioritySta,
418 if (iface == null) {
419 mLog.err("Failed to create STA iface").flush();
422 String ifaceName = mHalDeviceManager.getName((IWifiIface) iface);
424 mLog.err("Failed to get iface name").flush();
427 if (!registerStaIfaceCallback(iface)) {
544 retrieveWifiChip(IWifiIface iface) argument
566 registerStaIfaceCallback(IWifiStaIface iface) argument
1005 enableLinkLayerStats(IWifiStaIface iface) argument
[all...]
H A DWifiNative.java112 * Meta-info about every iface that is active.
125 /** Type of the iface: STA or AP */
131 /** External iface destroyed listener for the iface */
160 /** Integer to allocate for the next iface being created */
162 /** Map of the id to the iface structure */
165 /** Allocate a new iface for the given type */
167 Iface iface = new Iface(mNextId, type);
168 mIfaces.put(mNextId, iface);
170 return iface;
393 onClientInterfaceDestroyed(@onNull Iface iface) argument
411 onSoftApInterfaceDestroyed(@onNull Iface iface) argument
434 onInterfaceDestroyed(@onNull Iface iface) argument
547 onInterfaceStateChanged(Iface iface, boolean isUp) argument
672 createStaIface(@onNull Iface iface, boolean lowPrioritySta) argument
689 createApIface(@onNull Iface iface) argument
704 handleIfaceRemovalWhenVendorHalNotSupported(@onNull Iface iface) argument
718 removeStaIface(@onNull Iface iface) argument
732 removeApIface(@onNull Iface iface) argument
[all...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
H A DSupplicantP2pIfaceHalTest.java164 protected ISupplicantP2pIface getP2pIfaceMockable(ISupplicantIface iface) { argument
267 * Ensures that reject addition of an existing iface.
296 * Ensures that we reject removal of an invalid iface.
2619 // Now setup the iface.
2673 // Now setup the iface.
2758 public void answer(ISupplicant.IfaceInfo iface, ISupplicant.getInterfaceCallback cb) { argument
2774 public void answer(ISupplicant.IfaceInfo iface, argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
H A DConnectivityServiceMock.java532 public int tether(String iface, String callerPkg) { argument
536 public int untether(String iface, String callerPkg) { argument
540 public int getLastTetherError(String iface) { argument
/frameworks/base/services/core/java/com/android/server/
H A DAppOpsService.java2509 Shell(IAppOpsService iface, AppOpsService internal) { argument
2510 mInterface = iface;
H A DNetworkManagementService.java454 private void notifyInterfaceStatusChanged(String iface, boolean up) { argument
455 invokeForAllObservers(o -> o.interfaceStatusChanged(iface, up));
462 private void notifyInterfaceLinkStateChanged(String iface, boolean up) { argument
463 invokeForAllObservers(o -> o.interfaceLinkStateChanged(iface, up));
469 private void notifyInterfaceAdded(String iface) { argument
470 invokeForAllObservers(o -> o.interfaceAdded(iface));
476 private void notifyInterfaceRemoved(String iface) { argument
479 mActiveAlerts.remove(iface);
480 mActiveQuotas.remove(iface);
482 invokeForAllObservers(o -> o.interfaceRemoved(iface));
488 notifyLimitReached(String limitName, String iface) argument
741 notifyAddressUpdated(String iface, LinkAddress address) argument
748 notifyAddressRemoved(String iface, LinkAddress address) argument
755 notifyInterfaceDnsServerInfo(String iface, long lifetime, String[] addresses) argument
1005 getInterfaceConfig(String iface) argument
1049 setInterfaceConfig(String iface, InterfaceConfiguration cfg) argument
1071 setInterfaceDown(String iface) argument
1079 setInterfaceUp(String iface) argument
1087 setInterfaceIpv6PrivacyExtensions(String iface, boolean enable) argument
1100 clearInterfaceAddresses(String iface) argument
1110 enableIpv6(String iface) argument
1120 setIPv6AddrGenMode(String iface, int mode) argument
1129 disableIpv6(String iface) argument
1207 setMtu(String iface, int mtu) argument
1297 tetherInterface(String iface) argument
1312 untetherInterface(String iface) argument
1479 addIdleTimer(String iface, int timeout, final int type) argument
1515 removeIdleTimer(String iface) argument
1574 setInterfaceQuota(String iface, long quotaBytes) argument
1608 removeInterfaceQuota(String iface) argument
1645 setInterfaceAlert(String iface, long alertBytes) argument
1673 removeInterfaceAlert(String iface) argument
1922 setInterfaceQuota(String iface, long quotaBytes) argument
2021 setFirewallInterfaceRule(String iface, boolean allow) argument
2515 addInterfaceToNetwork(String iface, int netId) argument
2520 removeInterfaceFromNetwork(String iface, int netId) argument
2524 modifyInterfaceInNetwork(String action, String netId, String iface) argument
2662 addInterfaceToLocalNetwork(String iface, List<RouteInfo> routes) argument
2673 removeInterfaceFromLocalNetwork(String iface) argument
[all...]
H A DConnectivityService.java1120 final String iface = (lp == null ? "" : lp.getInterfaceName());
1121 return mPolicyManagerInternal.isUidNetworkingBlocked(uid, iface);
1566 String iface = bestRoute.getInterface();
1569 bestRoute = RouteInfo.makeHostRoute(addr, iface);
1573 bestRoute = RouteInfo.makeHostRoute(addr, bestRoute.getGateway(), iface);
1839 final String iface = networkAgent.linkProperties.getInterfaceName();
1861 if (timeout > 0 && iface != null && type != ConnectivityManager.TYPE_NONE) {
1863 mNetd.addIdleTimer(iface, timeout, type);
1875 final String iface = networkAgent.linkProperties.getInterfaceName();
1878 if (iface !
3101 tether(String iface, String callerPkg) argument
3113 untether(String iface, String callerPkg) argument
3126 getLastTetherError(String iface) argument
4731 wakeupModifyInterface(String iface, NetworkCapabilities caps, boolean add) argument
[all...]
/frameworks/base/core/java/android/net/
H A DConnectivityManager.java2133 * @param iface the interface name to tether.
2138 public int tether(String iface) { argument
2142 return mService.tether(iface, pkgName);
2161 * @param iface the interface name to untether.
2166 public int untether(String iface) { argument
2170 return mService.untether(iface, pkgName);
2421 * @param iface The name of the interface of interest
2428 public int getLastTetherError(String iface) { argument
2430 return mService.getLastTetherError(iface);
/frameworks/opt/setupwizard/tools/docs/
H A Ddoclava.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ccil/cowan/ org/ccil/cowan/tagsoup/ ...
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java6251 public void noteNetworkInterfaceTypeLocked(String iface, int networkType) { argument
6252 if (TextUtils.isEmpty(iface)) return;
6256 mModemIfaces = includeInStringArray(mModemIfaces, iface);
6257 if (DEBUG) Slog.d(TAG, "Note mobile iface " + iface + ": " + mModemIfaces);
6259 mModemIfaces = excludeFromStringArray(mModemIfaces, iface);
6260 if (DEBUG) Slog.d(TAG, "Note non-mobile iface " + iface + ": " + mModemIfaces);
6266 mWifiIfaces = includeInStringArray(mWifiIfaces, iface);
6267 if (DEBUG) Slog.d(TAG, "Note wifi iface "
[all...]
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jar ... String getShortClassName (java.lang.Class) Class found Class iface java.util.Iterator i$ Class cls Class ...

Completed in 441 milliseconds

123