Skip to content

Commit e18b7b2

Browse files
author
The Android Open Source Project
committed
auto import from //branches/cupcake_rel/...@140373
1 parent ec19f1e commit e18b7b2

File tree

13 files changed

+151
-487
lines changed

13 files changed

+151
-487
lines changed

include/hardware_legacy/gps.h

+12
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,18 @@ typedef struct {
241241
int (*inject_xtra_data)( char* data, int length );
242242
} GpsXtraInterface;
243243

244+
/** Extended interface for SUPL support. */
245+
typedef struct {
246+
/**
247+
* Sets the name of the APN to be used for SUPL.
248+
*/
249+
int (*set_apn)( const char* apn );
250+
/**
251+
* Sets the IP address and port for the SUPL server.
252+
*/
253+
int (*set_server)( uint32_t addr, int port );
254+
} GpsSuplInterface;
255+
244256
/** Returns the hardware GPS interface. */
245257
const GpsInterface* gps_get_hardware_interface();
246258

include/hardware_legacy/led.h

-44
This file was deleted.

include/hardware_legacy/power.h

-13
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,6 @@ enum {
3333
int acquire_wake_lock(int lock, const char* id);
3434
int release_wake_lock(const char* id);
3535

36-
37-
enum {
38-
KEYBOARD_LIGHT = 0x00000001,
39-
SCREEN_LIGHT = 0x00000002,
40-
BUTTON_LIGHT = 0x00000004,
41-
};
42-
43-
// set the lights identified in mask to the brightness specified
44-
// in value. for example
45-
// set_light_brightness(SCREEN_LIGHT | KEYBOARD_LIGHT, 200);
46-
// sets the screen and keyboard lights to brightness 200
47-
int set_light_brightness(unsigned int mask, unsigned int brightness);
48-
4936
// true if you want the screen on, false if you want it off
5037
int set_screen_state(int on);
5138

led/Android.mk

-15
This file was deleted.

led/led_qemu.c

-23
This file was deleted.

led/led_sardine.c

-78
This file was deleted.

led/led_stub.c

-51
This file was deleted.

led/led_trout.c

-115
This file was deleted.

0 commit comments

Comments
 (0)