Searched refs:BASE (Results 1 - 20 of 20) sorted by path

/frameworks/base/core/java/android/net/
H A DDhcpStateMachine.java83 private static final int BASE = Protocol.BASE_DHCP; field in class:DhcpStateMachine
86 public static final int CMD_START_DHCP = BASE + 1;
87 public static final int CMD_STOP_DHCP = BASE + 2;
88 public static final int CMD_RENEW_DHCP = BASE + 3;
91 public static final int CMD_PRE_DHCP_ACTION = BASE + 4;
94 public static final int CMD_POST_DHCP_ACTION = BASE + 5;
96 public static final int CMD_ON_QUIT = BASE + 6;
100 public static final int CMD_PRE_DHCP_ACTION_COMPLETE = BASE + 7;
H A DDnsPinger.java76 private static final int BASE = Protocol.BASE_DNS_PINGER; field in class:DnsPinger
83 public static final int DNS_PING_RESULT = BASE;
92 private static final int ACTION_PING_DNS = BASE + 1;
93 private static final int ACTION_LISTEN_FOR_RESPONSE = BASE + 2;
94 private static final int ACTION_CANCEL_ALL_PINGS = BASE + 3;
/frameworks/base/core/java/android/net/nsd/
H A DNsdManager.java161 private static final int BASE = Protocol.BASE_NSD_MANAGER; field in class:NsdManager
164 public static final int DISCOVER_SERVICES = BASE + 1;
166 public static final int DISCOVER_SERVICES_STARTED = BASE + 2;
168 public static final int DISCOVER_SERVICES_FAILED = BASE + 3;
170 public static final int SERVICE_FOUND = BASE + 4;
172 public static final int SERVICE_LOST = BASE + 5;
175 public static final int STOP_DISCOVERY = BASE + 6;
177 public static final int STOP_DISCOVERY_FAILED = BASE + 7;
179 public static final int STOP_DISCOVERY_SUCCEEDED = BASE + 8;
182 public static final int REGISTER_SERVICE = BASE
[all...]
/frameworks/base/core/java/android/os/
H A DBuild.java139 public static final int BASE = 1; field in class:Build.VERSION_CODES
/frameworks/base/core/java/com/android/internal/util/
H A DAsyncChannel.java93 private static final int BASE = Protocol.BASE_SYSTEM_ASYNC_CHANNEL; field in class:AsyncChannel
108 public static final int CMD_CHANNEL_HALF_CONNECTED = BASE + 0;
117 public static final int CMD_CHANNEL_FULL_CONNECTION = BASE + 1;
127 public static final int CMD_CHANNEL_FULLY_CONNECTED = BASE + 2;
138 public static final int CMD_CHANNEL_DISCONNECT = BASE + 3;
151 public static final int CMD_CHANNEL_DISCONNECTED = BASE + 4;
153 private static final int CMD_TO_STRING_COUNT = CMD_CHANNEL_DISCONNECTED - BASE + 1;
156 sCmdToString[CMD_CHANNEL_HALF_CONNECTED - BASE] = "CMD_CHANNEL_HALF_CONNECTED";
157 sCmdToString[CMD_CHANNEL_FULL_CONNECTION - BASE] = "CMD_CHANNEL_FULL_CONNECTION";
158 sCmdToString[CMD_CHANNEL_FULLY_CONNECTED - BASE]
[all...]
/frameworks/base/media/mca/filterfw/native/core/
H A Dvalue.cpp52 template<typename BASE, int TYPEID>
53 Value MakePtrValue(const BASE* values, int count) {
56 result.value = malloc(sizeof(BASE) * count);
57 memcpy(result.value, values, sizeof(BASE) * count);
76 template<typename BASE, int TYPEID>
77 int SetPtrValue(Value* value, const BASE* new_values, int count) {
80 value->value = malloc(sizeof(BASE) * count);
84 memcpy(value->value, new_values, sizeof(BASE) * count);
/frameworks/base/services/java/com/android/server/
H A DNsdService.java86 private static final int BASE = Protocol.BASE_NSD_MANAGER; field in class:NsdService
87 private static final int CMD_TO_STRING_COUNT = NsdManager.RESOLVE_SERVICE - BASE + 1;
91 sCmdToString[NsdManager.DISCOVER_SERVICES - BASE] = "DISCOVER";
92 sCmdToString[NsdManager.STOP_DISCOVERY - BASE] = "STOP-DISCOVER";
93 sCmdToString[NsdManager.REGISTER_SERVICE - BASE] = "REGISTER";
94 sCmdToString[NsdManager.UNREGISTER_SERVICE - BASE] = "UNREGISTER";
95 sCmdToString[NsdManager.RESOLVE_SERVICE - BASE] = "RESOLVE";
99 cmd -= BASE;
/frameworks/base/services/java/com/android/server/am/
H A DDeviceMonitor.java79 private static final File BASE = new File("/data/anr/"); field in class:DeviceMonitor
81 if (!BASE.isDirectory() && !BASE.mkdirs()) {
82 throw new AssertionError("Couldn't create " + BASE + ".");
84 if (!SELinux.restorecon(BASE)) {
85 throw new AssertionError("Couldn't restorecon " + BASE + ".");
101 File[] files = BASE.listFiles();
118 new File(BASE, String.valueOf(System.currentTimeMillis())));
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DDctConstants.java59 public static final int BASE = Protocol.BASE_DATA_CONNECTION_TRACKER; field in class:DctConstants
60 public static final int EVENT_DATA_SETUP_COMPLETE = BASE + 0;
61 public static final int EVENT_RADIO_AVAILABLE = BASE + 1;
62 public static final int EVENT_RECORDS_LOADED = BASE + 2;
63 public static final int EVENT_TRY_SETUP_DATA = BASE + 3;
64 public static final int EVENT_DATA_STATE_CHANGED = BASE + 4;
65 public static final int EVENT_POLL_PDP = BASE + 5;
66 public static final int EVENT_RADIO_OFF_OR_NOT_AVAILABLE = BASE + 6;
67 public static final int EVENT_VOICE_CALL_STARTED = BASE + 7;
68 public static final int EVENT_VOICE_CALL_ENDED = BASE
[all...]
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiManager.java1111 private static final int BASE = Protocol.BASE_WIFI_MANAGER; field in class:WifiManager
1115 public static final int CONNECT_NETWORK = BASE + 1;
1117 public static final int CONNECT_NETWORK_FAILED = BASE + 2;
1119 public static final int CONNECT_NETWORK_SUCCEEDED = BASE + 3;
1122 public static final int FORGET_NETWORK = BASE + 4;
1124 public static final int FORGET_NETWORK_FAILED = BASE + 5;
1126 public static final int FORGET_NETWORK_SUCCEEDED = BASE + 6;
1129 public static final int SAVE_NETWORK = BASE + 7;
1131 public static final int SAVE_NETWORK_FAILED = BASE + 8;
1133 public static final int SAVE_NETWORK_SUCCEEDED = BASE
[all...]
H A DWifiMonitor.java280 private static final int BASE = Protocol.BASE_WIFI_MONITOR; field in class:WifiMonitor
283 public static final int SUP_CONNECTION_EVENT = BASE + 1;
285 public static final int SUP_DISCONNECTION_EVENT = BASE + 2;
287 public static final int NETWORK_CONNECTION_EVENT = BASE + 3;
289 public static final int NETWORK_DISCONNECTION_EVENT = BASE + 4;
291 public static final int SCAN_RESULTS_EVENT = BASE + 5;
293 public static final int SUPPLICANT_STATE_CHANGE_EVENT = BASE + 6;
295 public static final int AUTHENTICATION_FAILURE_EVENT = BASE + 7;
297 public static final int WPS_SUCCESS_EVENT = BASE + 8;
299 public static final int WPS_FAIL_EVENT = BASE
[all...]
H A DWifiStateMachine.java229 static final int BASE = Protocol.BASE_WIFI; field in class:WifiStateMachine
231 static final int CMD_LOAD_DRIVER = BASE + 1;
233 static final int CMD_UNLOAD_DRIVER = BASE + 2;
235 static final int CMD_LOAD_DRIVER_SUCCESS = BASE + 3;
237 static final int CMD_LOAD_DRIVER_FAILURE = BASE + 4;
239 static final int CMD_UNLOAD_DRIVER_SUCCESS = BASE + 5;
241 static final int CMD_UNLOAD_DRIVER_FAILURE = BASE + 6;
244 static final int CMD_START_SUPPLICANT = BASE + 11;
246 static final int CMD_STOP_SUPPLICANT = BASE + 12;
248 static final int CMD_START_DRIVER = BASE
[all...]
H A DWifiWatchdogStateMachine.java81 private static final int BASE = Protocol.BASE_WIFI_WATCHDOG; field in class:WifiWatchdogStateMachine
84 private static final int EVENT_WATCHDOG_TOGGLED = BASE + 1;
85 private static final int EVENT_NETWORK_STATE_CHANGE = BASE + 2;
86 private static final int EVENT_RSSI_CHANGE = BASE + 3;
87 private static final int EVENT_SUPPLICANT_STATE_CHANGE = BASE + 4;
88 private static final int EVENT_WIFI_RADIO_STATE_CHANGE = BASE + 5;
89 private static final int EVENT_WATCHDOG_SETTINGS_CHANGE = BASE + 6;
90 private static final int EVENT_BSSID_CHANGE = BASE + 7;
91 private static final int EVENT_SCREEN_ON = BASE + 8;
92 private static final int EVENT_SCREEN_OFF = BASE
[all...]
/frameworks/base/wifi/java/android/net/wifi/p2p/
H A DWifiP2pManager.java313 private static final int BASE = Protocol.BASE_WIFI_P2P_MANAGER; field in class:WifiP2pManager
316 public static final int DISCOVER_PEERS = BASE + 1;
318 public static final int DISCOVER_PEERS_FAILED = BASE + 2;
320 public static final int DISCOVER_PEERS_SUCCEEDED = BASE + 3;
323 public static final int STOP_DISCOVERY = BASE + 4;
325 public static final int STOP_DISCOVERY_FAILED = BASE + 5;
327 public static final int STOP_DISCOVERY_SUCCEEDED = BASE + 6;
330 public static final int CONNECT = BASE + 7;
332 public static final int CONNECT_FAILED = BASE + 8;
334 public static final int CONNECT_SUCCEEDED = BASE
[all...]
H A DWifiP2pService.java146 private static final int BASE = Protocol.BASE_WIFI_P2P_SERVICE; field in class:WifiP2pService
149 public static final int GROUP_CREATING_TIMED_OUT = BASE + 1;
152 private static final int PEER_CONNECTION_USER_ACCEPT = BASE + 2;
154 private static final int PEER_CONNECTION_USER_REJECT = BASE + 3;
156 private static final int DROP_WIFI_USER_ACCEPT = BASE + 4;
158 private static final int DROP_WIFI_USER_REJECT = BASE + 5;
160 public static final int DISABLE_P2P_TIMED_OUT = BASE + 6;
164 public static final int P2P_CONNECTION_CHANGED = BASE + 11;
177 public static final int DISCONNECT_WIFI_REQUEST = BASE + 12;
178 public static final int DISCONNECT_WIFI_RESPONSE = BASE
[all...]
/frameworks/native/include/ui/
H A DANativeObjectBase.h70 typedef ANativeObjectBase<NATIVE_TYPE, TYPE, REF> BASE; typedef in class:android::ANativeObjectBase
/frameworks/native/libs/ui/
H A DFramebufferNativeWindow.cpp51 NativeBuffer(int w, int h, int f, int u) : BASE() {
76 : BASE(), fbDev(0), grDev(0), mUpdateOnDemand(false)
H A DGraphicBuffer.cpp38 : BASE(), mOwner(ownData), mBufferMapper(GraphicBufferMapper::get()),
51 : BASE(), mOwner(ownData), mBufferMapper(GraphicBufferMapper::get()),
66 : BASE(), mOwner(keepOwnership ? ownHandle : ownNone),
79 : BASE(), mOwner(keepOwnership ? ownHandle : ownNone),
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DDataConnection.java204 protected static final int BASE = Protocol.BASE_DATA_CONNECTION; field in class:DataConnection
205 protected static final int EVENT_CONNECT = BASE + 0;
206 protected static final int EVENT_SETUP_DATA_CONNECTION_DONE = BASE + 1;
207 protected static final int EVENT_GET_LAST_FAIL_DONE = BASE + 2;
208 protected static final int EVENT_DEACTIVATE_DONE = BASE + 3;
209 protected static final int EVENT_DISCONNECT = BASE + 4;
210 protected static final int EVENT_RIL_CONNECTED = BASE + 5;
211 protected static final int EVENT_DISCONNECT_ALL = BASE + 6;
213 private static final int CMD_TO_STRING_COUNT = EVENT_DISCONNECT_ALL - BASE + 1;
216 sCmdToString[EVENT_CONNECT - BASE]
[all...]
H A DDataConnectionAc.java41 public static final int BASE = Protocol.BASE_DATA_CONNECTION_AC; field in class:DataConnectionAc
43 public static final int REQ_IS_INACTIVE = BASE + 0;
44 public static final int RSP_IS_INACTIVE = BASE + 1;
46 public static final int REQ_GET_CID = BASE + 2;
47 public static final int RSP_GET_CID = BASE + 3;
49 public static final int REQ_GET_APNSETTING = BASE + 4;
50 public static final int RSP_GET_APNSETTING = BASE + 5;
52 public static final int REQ_GET_LINK_PROPERTIES = BASE + 6;
53 public static final int RSP_GET_LINK_PROPERTIES = BASE + 7;
55 public static final int REQ_SET_LINK_PROPERTIES_HTTP_PROXY = BASE
[all...]

Completed in 232 milliseconds