summaryrefslogtreecommitdiffstats
path: root/base/sys_info_android.cc
Commit message (Collapse)AuthorAgeFilesLines
* Switch to standard integer types in base/.avi2015-12-261-0/+2
| | | | | | | | | | BUG=138542 TBR=mark@chromium.org NOPRESUBMIT=true Review URL: https://codereview.chromium.org/1538743002 Cr-Commit-Position: refs/heads/master@{#366910}
* Remove kint64max.avi2015-12-091-20/+22
| | | | | | | | BUG=138542,488550 Review URL: https://codereview.chromium.org/1498003003 Cr-Commit-Position: refs/heads/master@{#363854}
* base: Bump default android version to 6.0.99boliu2015-10-141-2/+2
| | | | | | | | The Android Marshmallow release is 6.0. Review URL: https://codereview.chromium.org/1395633004 Cr-Commit-Position: refs/heads/master@{#354042}
* Report Android Build.MODEL in SystemProfileProto hardware_class.tdresser2015-07-161-17/+17
| | | | | | | | BUG=509018 Review URL: https://codereview.chromium.org/1234543003 Cr-Commit-Position: refs/heads/master@{#339037}
* Move HasSeekPenalty() out of base::SysInfo and base/.dbeam2015-04-021-6/+0
| | | | | | | | | | | | It's only called from one place, so move it there: - chrome/browser/metrics/drive_metrics_provider.cc R=rvargas@chromium.org,asvitkine@chromium.org BUG=463209 Review URL: https://codereview.chromium.org/1051663002 Cr-Commit-Position: refs/heads/master@{#323526}
* base: "implement" seek time detection for iOS/Android and add more stubs.dbeam2015-03-181-0/+6
| | | | | | | | | | BUG=463209 R=rvargas@chromium.org TBR=asvitkine@chromium.org Review URL: https://codereview.chromium.org/1011433002 Cr-Commit-Position: refs/heads/master@{#321224}
* base: Bump default android version to 5.1.99boliu2015-03-121-1/+1
| | | | | | | | | | The Android Lollipop mr1 release is 5.1. BUG= Review URL: https://codereview.chromium.org/1001603003 Cr-Commit-Position: refs/heads/master@{#320216}
* Export __system_property_get symbol for component builds.fdegans2015-01-071-1/+1
| | | | | | | | | | | | This fixes the aarch64 component build. libnet relies on this symbol from libbase and it was failing to link properly due to it not being exported. BUG=392196 Review URL: https://codereview.chromium.org/840773002 Cr-Commit-Position: refs/heads/master@{#310293}
* base: Bump default android version to 5.0.99boliu2014-11-141-2/+2
| | | | | | | | | | | The Android Lollipop release is 5.0.0. Bump the default version to at least that when a the version string cannot be parsed. BUG= Review URL: https://codereview.chromium.org/720163004 Cr-Commit-Position: refs/heads/master@{#304134}
* Reland Roll android_tools and breakpad to the latest.fdegans2014-10-241-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Compared to the previous CL, this picks up in breakpad: Fix breakpad on mips and x86_64 for the NDK r10c update. Original issue's description: > Revert of Roll android_tools and breakpad to the latest. (patchset #5 id:80001 of https://codereview.chromium.org/671633003/) > > Reason for revert: > Downstream x64 and mips bots didn't like it. > > Original issue's description: > > Roll android_tools and breakpad to the latest. > > > > This picks up in android_tools: > > Updated SDK build tools to 21.0.1 and removed old versions. > > Upgrade NDK to r10c. > > > > And in breakpad: > > Update breakpad to support Android NDK r10c > > Fixing the Mac Inspector build by adding the launch_report dependency to the breakpadUtilities dylib project after it got pulled out from Inspector.mm. > > Refactor .so name detection logic in minidump/linux_dumper. > > The process uptime computation when the Windows out-of-process Crash Generation Server is used is done by subtracting the crashing process creation time from the current time when the crash is generated. > > Linux multiprocess crash reporter: use pipe instead of socketpair in the client. > > Remove workaround for Linux credential-passing bug. > > > > TBR=brettw, danakj > > NOTRY=true > > BUG=424680, 425077, 358831 > > > > Committed: https://crrev.com/79bd5f12620f81dd241984d925b87a888e1dc37b > > Cr-Commit-Position: refs/heads/master@{#300671} > > TBR=brettw@chromium.org,primiano@chromium.org,rmcilroy@chromium.org,aurimas@chromium.org,danakj@chromium.org,fdegans@chromium.org > NOTREECHECKS=true > NOTRY=true > BUG=424680, 425077, 358831 > > Committed: https://crrev.com/e6319d7f7d5c2fc96c9cb1f5a81ae16bde19f068 > Cr-Commit-Position: refs/heads/master@{#300688} TBR=brettw@chromium.org,primiano@chromium.org,rmcilroy@chromium.org,aurimas@chromium.org,danakj@chromium.org,ppi@chromium.org BUG=424680, 425077, 358831 Review URL: https://codereview.chromium.org/676483002 Cr-Commit-Position: refs/heads/master@{#301087}
* Revert of Roll android_tools and breakpad to the latest. (patchset #5 ↵ppi2014-10-221-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | id:80001 of https://codereview.chromium.org/671633003/) Reason for revert: Downstream x64 and mips bots didn't like it. Original issue's description: > Roll android_tools and breakpad to the latest. > > This picks up in android_tools: > Updated SDK build tools to 21.0.1 and removed old versions. > Upgrade NDK to r10c. > > And in breakpad: > Update breakpad to support Android NDK r10c > Fixing the Mac Inspector build by adding the launch_report dependency to the breakpadUtilities dylib project after it got pulled out from Inspector.mm. > Refactor .so name detection logic in minidump/linux_dumper. > The process uptime computation when the Windows out-of-process Crash Generation Server is used is done by subtracting the crashing process creation time from the current time when the crash is generated. > Linux multiprocess crash reporter: use pipe instead of socketpair in the client. > Remove workaround for Linux credential-passing bug. > > TBR=brettw, danakj > NOTRY=true > BUG=424680, 425077, 358831 > > Committed: https://crrev.com/79bd5f12620f81dd241984d925b87a888e1dc37b > Cr-Commit-Position: refs/heads/master@{#300671} TBR=brettw@chromium.org,primiano@chromium.org,rmcilroy@chromium.org,aurimas@chromium.org,danakj@chromium.org,fdegans@chromium.org NOTREECHECKS=true NOTRY=true BUG=424680, 425077, 358831 Review URL: https://codereview.chromium.org/676453002 Cr-Commit-Position: refs/heads/master@{#300688}
* Roll android_tools and breakpad to the latest.fdegans2014-10-221-2/+1
| | | | | | | | | | | | | | | | | | | | | | This picks up in android_tools: Updated SDK build tools to 21.0.1 and removed old versions. Upgrade NDK to r10c. And in breakpad: Update breakpad to support Android NDK r10c Fixing the Mac Inspector build by adding the launch_report dependency to the breakpadUtilities dylib project after it got pulled out from Inspector.mm. Refactor .so name detection logic in minidump/linux_dumper. The process uptime computation when the Windows out-of-process Crash Generation Server is used is done by subtracting the crashing process creation time from the current time when the crash is generated. Linux multiprocess crash reporter: use pipe instead of socketpair in the client. Remove workaround for Linux credential-passing bug. TBR=brettw, danakj NOTRY=true BUG=424680, 425077, 358831 Review URL: https://codereview.chromium.org/671633003 Cr-Commit-Position: refs/heads/master@{#300671}
* Workaround removal of __system_property_get in Android NDK.rmcilroy@chromium.org2014-07-181-0/+40
| | | | | | | | | | | | | | | | The 'L' release of Android will remove __system_property_get from the NDK. Until we can replace all calls of __system_property_get, this CL adds a temporary work-around for builds compiled against the 'L' API. The workaround involves creating a stub __system_property_get, which uses dlsym to dynamically load the address of the real __system_property_get symbol in libc.so (which is still available as a hidden symbol on the devices libc.so dispite having been removed from the NDK). BUG=392191,393903 Review URL: https://codereview.chromium.org/393923002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284012 0039d316-1c4b-4281-b951-d872f2087c98
* base: Default android version to 4.4.99boliu@chromium.org2014-07-101-5/+6
| | | | | | | | | | | | | | | | | | | | | | Under-development Android versions do not have a numeric version, so falls back to a "default version". Using a real released Android version like 4.3.0 will incorrectly trigger code paths, such has version-specific gpu blacklists. First attempt at fixing this was using 0.0.0, which caused websites parsing Android version in the user agent to break. So this is the second attempt, use the latest public major version and minor version, and use a higher bug release version to avoid conflicts with the gpu blacklist. BUG=387179 Review URL: https://codereview.chromium.org/381813002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282281 0039d316-1c4b-4281-b951-d872f2087c98
* Expose a low-end device mode override flags for non-android OSs as wellc.shu@samsung.com2014-06-261-0/+12
| | | | | | | | BUG=324824 Review URL: https://codereview.chromium.org/258663002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280024 0039d316-1c4b-4281-b951-d872f2087c98
* base: Default android version to 0.0.0boliu@chromium.org2014-06-231-5/+4
| | | | | | | | | | | | If the android version string cannot be parsed for some reason, default the version to 0.0.0. BUG=387179 TBR=ajwong@chromium.org Review URL: https://codereview.chromium.org/344113002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279144 0039d316-1c4b-4281-b951-d872f2087c98
* Bump up the fallback OS version number to 4.3.0joth@chromium.org2013-08-021-3/+3
| | | | | | | | | | | JellyBean MR2 revenge of the Beans is out. Update the fallback OS version number to something a bit more recent. BUG= Review URL: https://chromiumcodereview.appspot.com/20752003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215220 0039d316-1c4b-4281-b951-d872f2087c98
* Use a direct include of strings headers in base/.avi@chromium.org2013-06-101-1/+1
| | | | | | | | | | BUG=247723 TEST=none TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/16320009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205284 0039d316-1c4b-4281-b951-d872f2087c98
* Fix OperationSystemVersion() on Android.zmo@chromium.org2013-05-071-0/+7
| | | | | | | | | | | | | | | | | | | | Right now it returns the underlying kernal version instead of the Android version. However, OperatingSystemVersionNumbers returns the Android version. Per discussion with Android folks, we agree the Android version should be returned. This CL copies what we do for Mac version. This piece of information could be very useful in defining driver bug workarounds in a finer grid on Android. BUG=225582 TEST=OperationSystemVersion() returns android version, see about:gpu R=brettw Review URL: https://chromiumcodereview.appspot.com/14631004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198629 0039d316-1c4b-4281-b951-d872f2087c98
* base: Update the include paths of base/string_piece.h to its new location.tfarina@chromium.org2013-03-301-1/+1
| | | | | | | | | | | string_piece.h was moved into base/strings/ in r191206 - https://chromiumcodereview.appspot.com/12982018/ TBR=brettw@chromium.org Review URL: https://codereview.chromium.org/13374002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191508 0039d316-1c4b-4281-b951-d872f2087c98
* This fixes the overflows identified in the parsingepenner@chromium.org2013-02-161-15/+50
| | | | | | | | | | | | | function, and adds the dalvik-heap-limit. BUG=176201 NOTRY=true No try since it has passed many times and is taking days in the CQ. Review URL: https://chromiumcodereview.appspot.com/12223064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182986 0039d316-1c4b-4281-b951-d872f2087c98
* Move string_number_conversions to base/strings.brettw@chromium.org2013-02-071-1/+1
| | | | | | | | | | This only updates includes in base and keeps a forwarding header for now to keep the change under control. BUG= Review URL: https://codereview.chromium.org/12092078 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181161 0039d316-1c4b-4281-b951-d872f2087c98
* Add Android fingerprint to metrics logsdfalcantara@chromium.org2012-10-031-0/+4
| | | | | | | | | | | | | (Upstreaming) Adds information about the Android build fingerprint to information that we send back in our metrics. BUG=153694 Review URL: https://chromiumcodereview.appspot.com/11014006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159957 0039d316-1c4b-4281-b951-d872f2087c98
* Move Android user agent generation to native codedfalcantara@chromium.org2012-08-211-0/+62
| | | | | | | | | | | | | | | Gets rid of a pathway that forced us to set the user agent from the Java side, replacing it with one that's entirely native. Functions have been added to base to allow accessing information about the device and Android build, while the user agent generation code was moved to the webkit_glue namespace. BUG=131312 Review URL: https://chromiumcodereview.appspot.com/10832235 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152675 0039d316-1c4b-4281-b951-d872f2087c98
* Set Android/V8 memory limits from dalvik.vm.heapsize.ulan@chromium.org2012-05-251-0/+59
Fix memory usage computation for Android. BUG=b/6182964 Review URL: https://chromiumcodereview.appspot.com/10113009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139038 0039d316-1c4b-4281-b951-d872f2087c98