Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
R repo_manifest
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • scorpio
  • repo_manifest
  • Wiki
  • usb tethering

usb tethering · Changes

Page history
Update usb tethering authored Jul 27, 2018 by Mark Stevens's avatar Mark Stevens
Hide whitespace changes
Inline Side-by-side
Showing with 14 additions and 1 deletion
+14 -1
  • usb-tethering.md usb-tethering.md +14 -1
  • No files found.
usb-tethering.md
View page @ 79f14278
...@@ -7,4 +7,17 @@ packages/apps/Settings ...@@ -7,4 +7,17 @@ packages/apps/Settings
Usb Mode Usb Mode
Packages/apps/Settings Packages/apps/Settings
- c.a.s.deviceInfo/UsbModeChooserActivity - c.a.s.deviceInfo/UsbModeChooserActivity
- UsbBackend - UsbBackend
\ No newline at end of file
uses:
ConnectivityManager
Tethering.java (frameworks/base/services/core/java/com/android/server/connectivity/Tethering.java)
USB Configuration in Developer Options
UsbManager mgr = getSystemService(Context.USB_SERVICE)
values = R.array.usb_configuration_values
mgr.isFunctionEnabled( s ) // only one value is enabled
mgr.setCurrentFunction( s )
mgr.setUsbDataUnlocked ( s != 'none )
values = { none, mtp, ptp, rndis, audio_source, midi }
\ No newline at end of file
Clone repository
  • bootanimation customization
  • bootanimations
  • build ota images
  • control all apps button in launcher
  • Home
  • iptables (pci review)
  • poweroff screen recovery
  • usb tethering