Mike Lockwood
c5e7ef2430
init: Add support for enforcing setprop by caller's group.
...
Change-Id: Ic96e139c4c596882adb38b8863ac6157e0ac17b5
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-03 00:36:25 -04:00
Mike Lockwood
be0045aafd
adb: "adb bugreport" now runs dumpstate via init rather than execing it in the shell.
...
This allows dumpstate to run as root even if adbd is not.
Change-Id: I04bda1ee0c8de91677149a2a9eda713c85067aa4
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-03 00:36:14 -04:00
Android (Google) Code Review
69551d85e9
Merge change 23557 into eclair
...
* changes:
init: add some more audio devices
2009-09-02 16:26:58 -07:00
Brian Swetland
c822213603
init: add some more audio devices
...
Signed-off-by: Brian Swetland <swetland@google.com>
2009-09-01 17:23:48 -07:00
San Mehat
020f35f274
rootdir: init.rc: Allow all processes access to apanic/ramconsole crash data.
...
This is a temporary measure until bugreports are taken as root.
*****STOPSHIP*****
Signed-off-by: San Mehat <san@google.com>
2009-09-01 15:43:25 -07:00
San Mehat
f26d6cea4c
rootdir: init.rc: Clean up dump collection
...
Signed-off-by: San Mehat <san@google.com>
2009-09-01 13:13:10 -07:00
Dima Zavin
c84016778f
init: add vdec device node
...
Change-Id: I7e83b99111adfb2b10ee91b78f922864999d4b9d
Signed-off-by: Dima Zavin <dima@android.com>
2009-08-31 13:40:28 -07:00
San Mehat
2dfe490f43
system: vold: Ensure a default vold.conf exists for generic target
...
Signed-off-by: San Mehat <san@google.com>
2009-08-31 08:05:49 -07:00
Android (Google) Code Review
d42ab25760
Merge change 23045 into eclair
...
* changes:
Add persistent radio prop perms ; cleanup ws and typos.
2009-08-30 20:16:08 -07:00
Tammo Spalink
3dfe6c6664
Add persistent radio prop perms ; cleanup ws and typos.
...
Change-Id: I7d6b51bbb8a9658179bd01c4ff3b5356ec8b4b6c
2009-08-31 11:10:13 +08:00
Android (Google) Code Review
4ad30d2885
Merge change 23106 into eclair
...
* changes:
vold: Format cards < 2GB as FAT16, otherwise FAT32. Also let the formatter choose the cluster-size
2009-08-28 09:50:56 -07:00
Joe Onorato
ecfd8e73e4
acc error tweaks
2009-08-28 09:26:31 -07:00
San Mehat
f68a5cdeb7
vold: Format cards < 2GB as FAT16, otherwise FAT32. Also let the formatter
...
choose the cluster-size
Signed-off-by: San Mehat <san@google.com>
2009-08-28 09:18:46 -07:00
Android (Google) Code Review
bd3f7dedeb
Merge change 22836 into eclair
...
* changes:
rootdir: init.rc: Copy kernel crash dumps to /data and free kernel resources
2009-08-26 17:11:32 -07:00
Android (Google) Code Review
fc279227ec
Merge change 22835 into eclair
...
* changes:
init: builtins: Add 'copy' command to init.rc parser
2009-08-26 17:11:18 -07:00
San Mehat
21541872c3
rootdir: init.rc: Copy kernel crash dumps to /data and free kernel resources
...
Signed-off-by: San Mehat <san@google.com>
2009-08-26 16:39:59 -07:00
San Mehat
7c44fe5925
init: builtins: Add 'copy' command to init.rc parser
...
Signed-off-by: San Mehat <san@google.com>
2009-08-26 16:39:59 -07:00
Android (Google) Code Review
c158427e5e
Merge change 22828 into eclair
...
* changes:
Preliminary struct and union support.
2009-08-26 16:16:45 -07:00
Jack Palevich
9221bcccb3
Preliminary struct and union support.
...
Working features:
- struct
- union
- nested structs
- anonymous structs
- forward declarations
- '.' and '->'
- copying structs using '='
Missing features:
- passing structs by value
- returning structs by value
- typedef
- sizeof
Example:
struct v {float x, y, z, w; };
void add(struct v* result, struct v* a, struct v* b) {
result->x = a->x + b->x;
result->y = a->y + b->y;
result->z = a->z + b->z;
result->w = a->w + b->w;
}
Reworked size-of and alignment logic to support structs.
Improved encoding of ARM immediate constants.
2009-08-26 16:15:07 -07:00
Mike Lockwood
a3e8a6ad56
adb: Fix emulator support.
...
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-08-26 12:50:22 -07:00
Xavier Ducrohet
1bba53f7c8
Fix broken 'adb root' command.
...
Change-Id: I75bf01863e82967a7214d3e31b8db792690716c1
2009-08-25 20:16:14 -07:00
Android (Google) Code Review
968c8f0703
Merge change 22503 into eclair
...
* changes:
adb: Improved support for running adb over TCP/IP
2009-08-25 16:31:38 -07:00
Android (Google) Code Review
e2e89382d6
Merge change 22636 into eclair
...
* changes:
Allow radio to modify net.ppp* properties for dns
2009-08-25 15:52:22 -07:00
Robert Greenwalt
0ab3a93aba
Allow radio to modify net.ppp* properties for dns
...
The radio bringup script was changed from operating as root to operating as radio. This is
preventing it from adding the "net.ppp0.dns0" and "net.ppp0.dns1" properties that
ConnectivityService needs to correctly set dns.
bug: 2077628
2009-08-25 13:55:57 -07:00
Jack Palevich
c0f253359f
Make pointer casting work.
2009-08-25 12:23:43 -07:00
Jack Palevich
0f400c59b8
Add runtime check for whether or not the OTCC-output tests can be run.
...
This means we don't have to manually specify the --norunotcc flag.
2009-08-25 11:57:13 -07:00
Mike Lockwood
ff19670d48
adb: Improved support for running adb over TCP/IP
...
Added new commands:
adb connect <host>:<port> (to connect to a device via TCP/IP)
adb tcpip <port> (to restart adbd on the device to listen on TCP/IP)
adb usb (to restart adbd on the device to listen USB)
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-08-24 16:05:58 -07:00
Doug Zongker
90b06ac786
only use faster SHA-1 code on machines with good libc
...
Macs don't have byteswap.h or endian.h. Change conditionals to only
use the faster SHA-1 code on little-endian machines with byteswap.h.
2009-08-21 11:08:25 -07:00
Android (Google) Code Review
a2f441b8c6
Merge change 21613 into eclair
...
* changes:
add optimized SHA1 algorithm
2009-08-21 10:36:44 -07:00
San Mehat
444acdd436
am 85b3fcc5: system/core: vold: Change permission of external storage device nodes
...
Merge commit '85b3fcc5de004999756c1e90bcf845480217b3f6' into eclair
* commit '85b3fcc5de004999756c1e90bcf845480217b3f6':
system/core: vold: Change permission of external storage device nodes
2009-08-21 09:04:32 -07:00
San Mehat
85b3fcc5de
system/core: vold: Change permission of external storage device nodes
...
Signed-off-by: San Mehat <san@google.com>
2009-08-21 08:47:42 -07:00
San Mehat
6d51d9ca81
system/core: vold: Change permission of external storage device nodes
...
Signed-off-by: San Mehat <san@google.com>
2009-08-21 08:35:54 -07:00
Android (Google) Code Review
1fd8a8ed0a
Merge change 21737 into eclair
...
* changes:
Added -s flag to ls.
2009-08-21 07:39:52 -07:00
Android (Google) Code Review
e37c724bfc
Merge change 22155 into eclair
...
* changes:
devices: set permissions for lightsensor
2009-08-20 17:03:35 -07:00
Android (Google) Code Review
fb62cf9690
Merge change 22143 into eclair
...
* changes:
Add ARM hardware floating point support.
2009-08-20 15:35:35 -07:00
Jack Palevich
30321cb3f3
Add ARM hardware floating point support.
2009-08-20 15:34:23 -07:00
Android (Google) Code Review
46fdd2676e
Merge change 21956 into eclair
...
* changes:
Route all log tags with "RIL" prefix to radio buffer.
2009-08-20 09:42:46 -07:00
Iliyan Malchev
3bc1e9cd7b
devices: set permissions for lightsensor
...
Signed-off-by: Iliyan Malchev <malchev@google.com>
2009-08-20 08:52:56 -07:00
Android (Google) Code Review
5f1b3393ab
Merge change 21921 into eclair
...
* changes:
fastboot: Add retry to USB read call.
2009-08-19 11:48:32 -07:00
Dan Murphy
b2de4db941
fastboot: Add retry to USB read call.
...
If the USB connection to the device is reset but is still there
the code should retry to re-connect the device and continue.
This is a short term fix for a bootloader issue.
We should revisit and look for a better solution.
Signed-off-by: Dan Murphy <D.Murphy@motorola.com>
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-08-19 14:32:01 -04:00
Jack Palevich
d3abe3c40d
Add a --nox86 flag to allow disabling x86 tests
...
The x86 tests don't work on non-Linux systems.
2009-08-19 11:12:56 -07:00
Jack Palevich
0a01a5db56
Handle functions with anonymous arguments
...
Example:
int f(int a, int, int c) {
return a + c;
}
2009-08-19 10:53:43 -07:00
John Michelau
ed7ccae296
Route all log tags with "RIL" prefix to radio buffer.
2009-08-19 10:06:52 -07:00
Android (Google) Code Review
761aeb431e
Merge change 21845 into eclair
...
* changes:
Allow redefinition of macros.
2009-08-18 18:27:22 -07:00
Jack Palevich
815d8b8fdb
Allow redefinition of macros.
...
Example:
#define A 3
#define A 4
This used to do strange things, but now works as it should.
2009-08-18 18:25:56 -07:00
Android (Google) Code Review
9d1296898a
Merge change 21834 into eclair
...
* changes:
Allow '//'-style comments in #defines.
2009-08-18 17:46:17 -07:00
Jack Palevich
0b1827a5b2
Allow '//'-style comments in #defines.
2009-08-18 17:44:12 -07:00
Android (Google) Code Review
29f3426016
Merge change 21812 into eclair
...
* changes:
Allow parenthesized expressions as the value of defines
2009-08-18 16:10:24 -07:00
Jack Palevich
0b2de0de64
Allow parenthesized expressions as the value of defines
...
For example, this now works:
#define A (1 + 2)
Note that we still don't support defines with argument lists, so this is
still illegal:
#define A(X) (X + 2)
Also in this change: The compiler test script allows command-line
arguments to disable testing on ARM and to disable testing the output
of the old OTCC compiler.
Disabling testing on ARM is handy for developing front-end code when no
device or emulator is available.
Disabling testing OTCC output is handy for some 64-bit Linux environments,
because the original OTCC needs some tweaking to be fully compatible, and
I don't have time to investigate this problem right now.
2009-08-18 16:04:03 -07:00
Mathias Agopian
9d88176417
fix part of [2017702] OpenGL bugs with alpha values of 1.0 in the source during blending into 8888 buffers
...
when ONE / ONE_MINUS_SRC_ALPHA blending mode was used, the code wasn't saturating the color component.
the reason was that this mode is used for premltiplied alpha blending, however, if used with a non
premultiplied source, the color component would wrap.
unfortunately, this costs 6 extra cycles per pixels, however... "correctness" prevails.
this should not impact the UI since it's using h/w acceleration most of the time it also doesn't
impact games which should be using h/w GL. This change will slow the emulator down a bit.
2009-08-18 14:34:51 -07:00