From 7076e3d268f60260cd12f0891e0817b6e51b2ede Mon Sep 17 00:00:00 2001
From: Android Partner Docs
Carriers can update their Access Point Name (APN) information and their +carrier-specific configuration settings +(CarrierConfig) +in the Android Open Source Project (AOSP).
+ +To update APN information or your CarrierConfig, you need +to submit the request using a Google Account with an active corporate email +address (e.g., An APN update request from Acme Company should come from an +email address such as foobar@acme.com).
+If you do not have a Google Account that links to your corporate email +address, sign out of all Gmail accounts from your browser (we recommend you use +a private browsing feature such as an incognito window to avoid confusion with +your other accounts) and then + create a Google +account with your corporate email address.
+ + + + + + +If you've never submitted code to AOSP before, you will +need to initialize your build environment, become familiar with the tools, and +understand how to submit patches:
+In addition, we strongly recommend that you use the +Google Issue Tracker +to track changes.
+ +Set the bug attributes as follows:
+Title: Add/Modify/Remove APNs for CarrierXYZ
+Description: Add a detailed description of the changes you're +requesting, including the APN settings themselves.
+ +Set the bug attributes as follows:
+Title: Config changes for CarrierXYZ
+Description: Add a detailed description of the changes you're +requesting.
+ +When you're ready to make changes, follow these steps:
+repo upload
command.Android project name - device/sample
+File name(s) - etc/apns-full-conf.xml +(Google +Git master link)
+The file contains APN settings in XML format and serves as a sample file +so there is no change in the behavior of Android devices.
+A typical APN config looks like this:
+ +<apn carrier="CarrierXYZ" + mcc="123" + mnc="123" + apn="carrierxyz" + type="default,supl,mms,ims,cbs" + mmsc="http://mms.carrierxyz.com" + mmsproxy="0.0.0.0" + mmsport="80" + bearer_bitmask="4|5|6|7|8|12" +/> ++ +
[Example - "Add CarrierXYZ apns to sample apns"] +Bug: [Issue ID from Google Issue Tracker] +Test: No change to behavior as this is only a sample file ++ +
See +Sample BICS APNs for an example CL.
+ +Project name - platform/packages/apps/CarrierConfig
+File name(s) - assets/carrier_config_
Identify the relevant XML file(s) in the assets folder by the relevant MCC/MNC +tuple(s). The file contains the carrier config object in XML format. The +attribute names are defined as keys under the + +CarrierConfigManager, and the type of value (int/string/bool) is indicated +by the suffixes.
+Typical int/string/bool attributes look like this:
+ +<int name="vvm_port_number_int" value="5499" /> +<string name="vvm_type_string">vvm_type_omtp</string > +<boolean name="vvm_cellular_data_required_bool" value="true" /> ++ +
[Example - "Add VVM settings for CarrierXYZ"] + +[Example - "Updated <mccmnc> carrier config file to include VVM settings +as defined by CarrierXYZ."] + +Bug: [Issue ID from Google Issue Tracker] +Test: [Testing notes] ++ +
See an +updated carrier config file for an example CL.
+ +To request a review:
+After a submission makes it through the review and verification process,
+Gerrit automatically merges the change into the public repository. Other users
+can run repo sync
to pull the update into their local client.
BUILD
is a codename referring to the particular feature
combination. The BUILDTYPE
is one of the following:
Buildtype | -Use | -
---|---|
user | -limited access; suited for production | -
userdebug | -like user but with root access and debuggability; preferred for -debugging | -
eng | -development configuration with additional debugging tools | -
Buildtype | +Use | +
user | +limited access; suited for production | +
userdebug | +like user but with root access and debuggability; preferred for + debugging | +
eng | +development configuration with additional debugging tools | +
The userdebug build should behave the same as the user build, with the +ability to enable additional debugging that normally violates the security +model of the platform. This makes the userdebug build good for user testing +with greater diagnosis capabilities. When developing +with the userdebug build, you should follow the +userdebug guidelines.
+ +The eng build prioritizes engineering productivity for engineers who work on +the platform. The eng build turns off various optimizations used to provide a +good user experience. Otherwise, the eng build behaves similar to the user and +userdebug builds so that device developers can see how the code behaves in +those environments.
+For more information about building for and running on actual hardware, see Running Builds.
diff --git a/en/setup/build/devices.html b/en/setup/build/devices.html index 20aa2a80..ad24391b 100644 --- a/en/setup/build/devices.html +++ b/en/setup/build/devices.html @@ -48,9 +48,8 @@ or HiKey960 development board.The HiKey960 board is available in a 3GB RAM configuration from LeMaker (via -Amazon.com) -and from Lenovator. +
The HiKey960 board is available from Amazon.com and + Lenovator.
Running userdebug builds in testing helps device developers understand +performance and power of in-development releases. To maintain consistency +between user and userdebug builds, and to achieve reliable metrics in builds +used for debugging, device developers should follow these guidelines:
+ +dex2oatd
versus
+ dex2oat
for background compilesThe Android build system uses resource overlays to customize -- cgit v1.2.3