Searched refs:BASE (Results 1 - 25 of 33) sorted by relevance

12

/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/native/include/ui/
H A DTVecHelpers.h61 * operators on a vector of type BASE<T>.
63 * BASE only needs to implement operator[] and size().
64 * By simply inheriting from TVec{Add|Product}Operators<BASE, T> BASE will automatically
68 template <template<typename T> class BASE, typename T>
75 BASE<T>& operator += (const BASE<OTHER>& v) {
76 BASE<T>& rhs = static_cast<BASE<T>&>(*this);
77 for (size_t i=0 ; i<BASE<
[all...]
H A DTMatHelpers.h179 * operators on a vector of type BASE<T>.
181 * BASE only needs to implement operator[] and size().
182 * By simply inheriting from TMatProductOperators<BASE, T> BASE will automatically
186 template <template<typename T> class BASE, typename T>
190 BASE<T>& operator *= (T v) {
191 BASE<T>& lhs(static_cast< BASE<T>& >(*this));
199 BASE<T>& operator /= (T v) {
200 BASE<
[all...]
H A DANativeObjectBase.h70 typedef ANativeObjectBase<NATIVE_TYPE, TYPE, REF> BASE; typedef in class:android::ANativeObjectBase
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDcSwitchAsyncChannel.java36 private static final int BASE = Protocol.BASE_DATA_CONNECTION_TRACKER + 0x00002000; field in class:DcSwitchAsyncChannel
37 static final int REQ_CONNECT = BASE + 0;
38 static final int RSP_CONNECT = BASE + 1;
39 static final int REQ_DISCONNECT = BASE + 2;
40 static final int RSP_DISCONNECT = BASE + 3;
41 static final int REQ_DISCONNECT_ALL = BASE + 4;
42 static final int RSP_DISCONNECT_ALL = BASE + 5;
43 static final int REQ_IS_IDLE_STATE = BASE + 6;
44 static final int RSP_IS_IDLE_STATE = BASE + 7;
45 static final int REQ_IS_IDLE_OR_DETACHING_STATE = BASE
[all...]
H A DDcAsyncChannel.java39 public static final int BASE = Protocol.BASE_DATA_CONNECTION_AC; field in class:DcAsyncChannel
41 public static final int REQ_IS_INACTIVE = BASE + 0;
42 public static final int RSP_IS_INACTIVE = BASE + 1;
44 public static final int REQ_GET_CID = BASE + 2;
45 public static final int RSP_GET_CID = BASE + 3;
47 public static final int REQ_GET_APNSETTING = BASE + 4;
48 public static final int RSP_GET_APNSETTING = BASE + 5;
50 public static final int REQ_GET_LINK_PROPERTIES = BASE + 6;
51 public static final int RSP_GET_LINK_PROPERTIES = BASE + 7;
53 public static final int REQ_SET_LINK_PROPERTIES_HTTP_PROXY = BASE
[all...]
H A DDataConnection.java198 static final int BASE = Protocol.BASE_DATA_CONNECTION; field in class:DataConnection
199 static final int EVENT_CONNECT = BASE + 0;
200 static final int EVENT_SETUP_DATA_CONNECTION_DONE = BASE + 1;
201 static final int EVENT_GET_LAST_FAIL_DONE = BASE + 2;
202 static final int EVENT_DEACTIVATE_DONE = BASE + 3;
203 static final int EVENT_DISCONNECT = BASE + 4;
204 static final int EVENT_RIL_CONNECTED = BASE + 5;
205 static final int EVENT_DISCONNECT_ALL = BASE + 6;
206 static final int EVENT_DATA_STATE_CHANGED = BASE + 7;
207 static final int EVENT_TEAR_DOWN_NOW = BASE
[all...]
/frameworks/base/wifi/java/android/net/wifi/p2p/
H A DWifiP2pManager.java288 private static final int BASE = Protocol.BASE_WIFI_P2P_MANAGER; field in class:WifiP2pManager
291 public static final int DISCOVER_PEERS = BASE + 1;
293 public static final int DISCOVER_PEERS_FAILED = BASE + 2;
295 public static final int DISCOVER_PEERS_SUCCEEDED = BASE + 3;
298 public static final int STOP_DISCOVERY = BASE + 4;
300 public static final int STOP_DISCOVERY_FAILED = BASE + 5;
302 public static final int STOP_DISCOVERY_SUCCEEDED = BASE + 6;
305 public static final int CONNECT = BASE + 7;
307 public static final int CONNECT_FAILED = BASE + 8;
309 public static final int CONNECT_SUCCEEDED = BASE
[all...]
/frameworks/base/core/java/android/net/nsd/
H A DNsdManager.java159 private static final int BASE = Protocol.BASE_NSD_MANAGER; field in class:NsdManager
162 public static final int DISCOVER_SERVICES = BASE + 1;
164 public static final int DISCOVER_SERVICES_STARTED = BASE + 2;
166 public static final int DISCOVER_SERVICES_FAILED = BASE + 3;
168 public static final int SERVICE_FOUND = BASE + 4;
170 public static final int SERVICE_LOST = BASE + 5;
173 public static final int STOP_DISCOVERY = BASE + 6;
175 public static final int STOP_DISCOVERY_FAILED = BASE + 7;
177 public static final int STOP_DISCOVERY_SUCCEEDED = BASE + 8;
180 public static final int REGISTER_SERVICE = BASE
[all...]
/frameworks/base/core/java/android/net/
H A DNetworkAgent.java52 private static final int BASE = Protocol.BASE_NETWORK_AGENT; field in class:NetworkAgent
59 public static final int CMD_SUSPECT_BAD = BASE;
67 public static final int EVENT_NETWORK_INFO_CHANGED = BASE + 1;
74 public static final int EVENT_NETWORK_CAPABILITIES_CHANGED = BASE + 2;
81 public static final int EVENT_NETWORK_PROPERTIES_CHANGED = BASE + 3;
93 public static final int EVENT_NETWORK_SCORE_CHANGED = BASE + 4;
100 public static final int EVENT_UID_RANGES_ADDED = BASE + 5;
107 public static final int EVENT_UID_RANGES_REMOVED = BASE + 6;
116 public static final int CMD_REPORT_NETWORK_STATUS = BASE + 7;
126 public static final int EVENT_SET_EXPLICITLY_SELECTED = BASE
[all...]
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;
H A DNetworkFactory.java51 private static final int BASE = Protocol.BASE_NETWORK_FACTORY; field in class:NetworkFactory
74 public static final int CMD_REQUEST_NETWORK = BASE;
80 public static final int CMD_CANCEL_REQUEST = BASE + 1;
86 private static final int CMD_SET_SCORE = BASE + 2;
93 private static final int CMD_SET_FILTER = BASE + 3;
H A DConnectivityManager.java2096 private static final int BASE = Protocol.BASE_CONNECTIVITY_MANAGER; field in class:ConnectivityManager
2098 public static final int CALLBACK_PRECHECK = BASE + 1;
2100 public static final int CALLBACK_AVAILABLE = BASE + 2;
2102 public static final int CALLBACK_LOSING = BASE + 3;
2104 public static final int CALLBACK_LOST = BASE + 4;
2106 public static final int CALLBACK_UNAVAIL = BASE + 5;
2108 public static final int CALLBACK_CAP_CHANGED = BASE + 6;
2110 public static final int CALLBACK_IP_CHANGED = BASE + 7;
2112 public static final int CALLBACK_RELEASED = BASE + 8;
2114 public static final int CALLBACK_EXIT = BASE
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiMonitor.java401 private static final int BASE = Protocol.BASE_WIFI_MONITOR; field in class:WifiMonitor
404 public static final int SUP_CONNECTION_EVENT = BASE + 1;
406 public static final int SUP_DISCONNECTION_EVENT = BASE + 2;
408 public static final int NETWORK_CONNECTION_EVENT = BASE + 3;
410 public static final int NETWORK_DISCONNECTION_EVENT = BASE + 4;
412 public static final int SCAN_RESULTS_EVENT = BASE + 5;
414 public static final int SUPPLICANT_STATE_CHANGE_EVENT = BASE + 6;
416 public static final int AUTHENTICATION_FAILURE_EVENT = BASE + 7;
418 public static final int WPS_SUCCESS_EVENT = BASE + 8;
420 public static final int WPS_FAIL_EVENT = BASE
[all...]
H A DWifiController.java103 private static final int BASE = Protocol.BASE_WIFI_CONTROLLER; field in class:WifiController
105 static final int CMD_EMERGENCY_MODE_CHANGED = BASE + 1;
106 static final int CMD_SCREEN_ON = BASE + 2;
107 static final int CMD_SCREEN_OFF = BASE + 3;
108 static final int CMD_BATTERY_CHANGED = BASE + 4;
109 static final int CMD_DEVICE_IDLE = BASE + 5;
110 static final int CMD_LOCKS_CHANGED = BASE + 6;
111 static final int CMD_SCAN_ALWAYS_MODE_CHANGED = BASE + 7;
112 static final int CMD_WIFI_TOGGLED = BASE + 8;
113 static final int CMD_AIRPLANE_TOGGLED = 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...]
H A DRttService.java213 private static final int BASE = Protocol.BASE_WIFI_RTT_SERVICE; field in class:RttService.RttServiceImpl
215 private static final int CMD_DRIVER_LOADED = BASE + 0;
216 private static final int CMD_DRIVER_UNLOADED = BASE + 1;
217 private static final int CMD_ISSUE_NEXT_REQUEST = BASE + 2;
218 private static final int CMD_RTT_RESPONSE = BASE + 3;
H A DWifiStateMachine.java424 static final int BASE = Protocol.BASE_WIFI; field in class:WifiStateMachine
426 static final int CMD_START_SUPPLICANT = BASE + 11;
428 static final int CMD_STOP_SUPPLICANT = BASE + 12;
430 static final int CMD_START_DRIVER = BASE + 13;
432 static final int CMD_STOP_DRIVER = BASE + 14;
434 static final int CMD_STATIC_IP_SUCCESS = BASE + 15;
436 static final int CMD_STATIC_IP_FAILURE = BASE + 16;
438 static final int CMD_STOP_SUPPLICANT_FAILED = BASE + 17;
440 static final int CMD_DELAYED_STOP_DRIVER = BASE + 18;
442 static final int CMD_DRIVER_START_TIMED_OUT = 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/wifi/java/android/net/wifi/
H A DWifiScanner.java558 private static final int BASE = Protocol.BASE_WIFI_SCANNER; field in class:WifiScanner
561 public static final int CMD_SCAN = BASE + 0;
563 public static final int CMD_START_BACKGROUND_SCAN = BASE + 2;
565 public static final int CMD_STOP_BACKGROUND_SCAN = BASE + 3;
567 public static final int CMD_GET_SCAN_RESULTS = BASE + 4;
569 public static final int CMD_SCAN_RESULT = BASE + 5;
571 public static final int CMD_SET_HOTLIST = BASE + 6;
573 public static final int CMD_RESET_HOTLIST = BASE + 7;
575 public static final int CMD_AP_FOUND = BASE + 9;
577 public static final int CMD_AP_LOST = BASE
[all...]
H A DWifiManager.java1581 private static final int BASE = Protocol.BASE_WIFI_MANAGER; field in class:WifiManager
1585 public static final int CONNECT_NETWORK = BASE + 1;
1587 public static final int CONNECT_NETWORK_FAILED = BASE + 2;
1589 public static final int CONNECT_NETWORK_SUCCEEDED = BASE + 3;
1592 public static final int FORGET_NETWORK = BASE + 4;
1594 public static final int FORGET_NETWORK_FAILED = BASE + 5;
1596 public static final int FORGET_NETWORK_SUCCEEDED = BASE + 6;
1599 public static final int SAVE_NETWORK = BASE + 7;
1601 public static final int SAVE_NETWORK_FAILED = BASE + 8;
1603 public static final int SAVE_NETWORK_SUCCEEDED = BASE
[all...]
H A DRttManager.java308 public static final int BASE = Protocol.BASE_WIFI_RTT_MANAGER; field in class:RttManager
310 public static final int CMD_OP_START_RANGING = BASE + 0;
311 public static final int CMD_OP_STOP_RANGING = BASE + 1;
312 public static final int CMD_OP_FAILED = BASE + 2;
313 public static final int CMD_OP_SUCCEEDED = BASE + 3;
314 public static final int CMD_OP_ABORTED = BASE + 4;
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DNetworkMonitor.java113 private static final int BASE = Protocol.BASE_NETWORK_MONITOR; field in class:NetworkMonitor
119 public static final int CMD_NETWORK_CONNECTED = BASE + 1;
126 public static final int EVENT_NETWORK_TESTED = BASE + 2;
138 public static final int CMD_NETWORK_LINGER = BASE + 3;
144 private static final int CMD_LINGER_EXPIRED = BASE + 4;
151 public static final int EVENT_NETWORK_LINGER_COMPLETE = BASE + 5;
157 private static final int CMD_REEVALUATE = BASE + 6;
162 public static final int CMD_NETWORK_DISCONNECTED = BASE + 7;
169 public static final int CMD_FORCE_REEVALUATION = BASE + 8;
177 private static final int CMD_CAPTIVE_PORTAL_APP_FINISHED = BASE
[all...]
/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...]

Completed in 9162 milliseconds

12