Shells based on busybox, such as found in CM 12.1 recovery and TWRP, do not
properly handle pattern based parameter expansion for variables longer than
4kb. This throws our naive little XML parser into an infinite loop. Since
all such lines are associated with external app certs, just skip them.
Change-Id: I203b65c1ffd62bf3261b3ae315327314a5006952
Rewrite the packages.xml parser to be slightly less brittle. Read
lines from packages.xml and save off the interesting values, then
compare with expected results afterward.
This both avoids using grep's -A option, which is not supported in
toybox, and allows the script to recognize the cert tag regardless
of its position inside the package tag.
Change-Id: Idc0006e38f4a3f9d5aec223a8a1571f5c11fe3bb
* Use a custom system property to trigger the real one, so we avoid
running afoul of any SELinux CTS requirements.
Change-Id: If5e7a275f492631a673284408f1e430a12358380
Tele2 is the parent company of Comviq and it's operating in Tele2s network,
hence using the same APNs as Tele2
Change-Id: I55c551827a6312159cfdd8c01e20e5e1d3016cdf
* Lots of stuff in the wild actually uses wget, and Toybox doesn't
provide it. We already have Curl which does the same thing just
with some different arguments. This wrapper script can handle it.
Change-Id: Ic02da709fcd29808b96fabcd1ac4ddd9465f635f
Starting M-Android, APN's that are not unique are
clubbed in one entry in the telephony db. "name"
field is not part of the unique set and you end
up with a weird MVNO name as the APN name for
T-Mobile. Which ever is the last entry will be the
final name. In case of TMO it became "FMP Communications"
Change-Id: Ia86d5c72f36d32315ef1e2469fdd364869160730
Tele2 is the parent company of Comviq and it's operating in Tele2s network,
hence using the same APNs as Tele2
Change-Id: I99ea6798bf74a1c2368f2b920f9269597bbc1809
Even though mimetypes are supposed to be case insensitive, Android
treats them as case sensitive so it is best practice to do it all
in lowercase.
Change-Id: I2ce2ac2df4db4989d8be36479f07d4bab97dc7bf
This will allow us to add supported mimetypes in libcore.net.MimeUtils
which in turn will allow more recognized mimetypes for anything that
uses android.webkit.MimeTypeMap.
Change-Id: I97febe17cff1d196f479b557fef3bca1b11bdd74
Issue-Id: CYNGNOS-1176
Added Sprint's MVNO ringplus. it was added in e1d6d09de7
but removed later in e980819a9c6bb404a7a24772687e88065f434020/b28ca702333739b132b51926eff7b2ec6d2fa2fd
for an unknown reason.
Also, Ting (another Sprint MVNO) was updated so that it shows as active when revisting
the "Access Point Names" menu.
Change-Id: I4f8fc540235a8f8ad0df8656de0ffdbde2b83852
* Remove unnecessary intermediate groups which are more harmful than
helpful in some cases.
* Remove weights, we're not using these.
* Lock down the display group to system only.
Change-Id: I3a848fcc32459b53fa92317c253a20399637033e
* This was leftover from testing and breaks the feature when running
on older kernels which don't support it.
Change-Id: Idb959b37b88238aee87c221d6accc899bf497aea
* Always set slice_idle to 0 for CFQ and BFQ (IOPS mode).
This is a guaranteed performance boost for nonrotational storage
and is also the new default in Linux 4.2+
Change-Id: Id271a4283219beb272c174de0e452c6c42c4e572
* This creates the interface for a new ioprio management system
which dramatically boosts performance and interactivity across
the entire system.
Change-Id: I3c402dd2cf6ed0a356a828257c2f373800f6a6cf
Previously called TMN, now called MEO, this operator only has two APNs, one for
Internet and one for MMS.
Change-Id: Iccd17fe50db36db16d105ccada076c3cc6e7c49c