Home
last modified time | relevance | path

Searched refs:BASE (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/base/telephony/java/com/android/internal/telephony/
DDctConstants.java59 public static final int BASE = Protocol.BASE_DATA_CONNECTION_TRACKER; field in 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 + 8;
[all …]
/frameworks/native/include/ui/
DTVecHelpers.h68 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<T>::size() ; i++) {
83 BASE<T>& operator -= (const BASE<OTHER>& v) {
84 BASE<T>& rhs = static_cast<BASE<T>&>(*this);
85 for (size_t i=0 ; i<BASE<T>::size() ; i++) {
96 BASE<T>& operator += (const BASE<T>& v) {
97 BASE<T>& rhs = static_cast<BASE<T>&>(*this);
98 for (size_t i=0 ; i<BASE<T>::size() ; i++) {
[all …]
DTMatHelpers.h186 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<T>& lhs(static_cast< BASE<T>& >(*this));
209 friend BASE<T> PURE operator *(const BASE<T>& lhs, const BASE<U>& rhs) {
210 return matrix::multiply<BASE<T> >(lhs, rhs);
229 template<template<typename U> class BASE, typename T>
239 friend BASE<T> PURE inverse(const BASE<T>& m) { return matrix::inverse(m); } in inverse()
240 friend BASE<T> PURE transpose(const BASE<T>& m) { return matrix::transpose(m); } in transpose()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcSwitchAsyncChannel.java38 private static final int BASE = Protocol.BASE_DATA_CONNECTION_TRACKER + 0x00002000; field in DcSwitchAsyncChannel
39 static final int REQ_CONNECT = BASE + 0;
40 static final int REQ_RETRY_CONNECT = BASE + 1;
41 static final int REQ_DISCONNECT_ALL = BASE + 2;
42 static final int REQ_IS_IDLE_STATE = BASE + 3;
43 static final int RSP_IS_IDLE_STATE = BASE + 4;
44 static final int REQ_IS_IDLE_OR_DETACHING_STATE = BASE + 5;
45 static final int RSP_IS_IDLE_OR_DETACHING_STATE = BASE + 6;
46 static final int EVENT_DATA_ATTACHED = BASE + 7;
47 static final int EVENT_DATA_DETACHED = BASE + 8;
[all …]
DDcAsyncChannel.java39 public static final int BASE = Protocol.BASE_DATA_CONNECTION_AC; field in 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 + 8;
[all …]
DDataConnection.java203 static final int BASE = Protocol.BASE_DATA_CONNECTION; field in DataConnection
204 static final int EVENT_CONNECT = BASE + 0;
205 static final int EVENT_SETUP_DATA_CONNECTION_DONE = BASE + 1;
206 static final int EVENT_GET_LAST_FAIL_DONE = BASE + 2;
207 static final int EVENT_DEACTIVATE_DONE = BASE + 3;
208 static final int EVENT_DISCONNECT = BASE + 4;
209 static final int EVENT_RIL_CONNECTED = BASE + 5;
210 static final int EVENT_DISCONNECT_ALL = BASE + 6;
211 static final int EVENT_DATA_STATE_CHANGED = BASE + 7;
212 static final int EVENT_TEAR_DOWN_NOW = BASE + 8;
[all …]
DDcSwitchStateMachine.java41 private static final int BASE = Protocol.BASE_DATA_CONNECTION_TRACKER + 0x00001000; field in DcSwitchStateMachine
42 private static final int EVENT_CONNECTED = BASE + 0;
43 private static final int EVENT_DATA_ALLOWED = BASE + 1;
44 private static final int CMD_RETRY_ATTACH = BASE + 2;
45 private static final int EVENT_DATA_DISALLOWED = BASE + 3;
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pManager.java288 private static final int BASE = Protocol.BASE_WIFI_P2P_MANAGER; field in 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 + 9;
[all …]
/frameworks/base/core/java/android/net/
DNetworkAgent.java60 private static final int BASE = Protocol.BASE_NETWORK_AGENT; field in NetworkAgent
67 public static final int CMD_SUSPECT_BAD = BASE;
75 public static final int EVENT_NETWORK_INFO_CHANGED = BASE + 1;
82 public static final int EVENT_NETWORK_CAPABILITIES_CHANGED = BASE + 2;
89 public static final int EVENT_NETWORK_PROPERTIES_CHANGED = BASE + 3;
101 public static final int EVENT_NETWORK_SCORE_CHANGED = BASE + 4;
108 public static final int EVENT_UID_RANGES_ADDED = BASE + 5;
115 public static final int EVENT_UID_RANGES_REMOVED = BASE + 6;
124 public static final int CMD_REPORT_NETWORK_STATUS = BASE + 7;
136 public static final int EVENT_SET_EXPLICITLY_SELECTED = BASE + 8;
[all …]
DDhcpStateMachine.java78 private static final int BASE = Protocol.BASE_DHCP; field in DhcpStateMachine
81 public static final int CMD_START_DHCP = BASE + 1;
82 public static final int CMD_STOP_DHCP = BASE + 2;
83 public static final int CMD_RENEW_DHCP = BASE + 3;
86 public static final int CMD_PRE_DHCP_ACTION = BASE + 4;
89 public static final int CMD_POST_DHCP_ACTION = BASE + 5;
91 public static final int CMD_ON_QUIT = BASE + 6;
95 public static final int CMD_PRE_DHCP_ACTION_COMPLETE = BASE + 7;
98 private static final int CMD_GET_DHCP_RESULTS = BASE + 8;
DNetworkFactory.java53 private static final int BASE = Protocol.BASE_NETWORK_FACTORY; field in NetworkFactory
76 public static final int CMD_REQUEST_NETWORK = BASE;
82 public static final int CMD_CANCEL_REQUEST = BASE + 1;
88 private static final int CMD_SET_SCORE = BASE + 2;
95 private static final int CMD_SET_FILTER = BASE + 3;
DDnsPinger.java76 private static final int BASE = Protocol.BASE_DNS_PINGER; field in 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;
DConnectivityManager.java2265 private static final int BASE = Protocol.BASE_CONNECTIVITY_MANAGER; field in ConnectivityManager
2267 public static final int CALLBACK_PRECHECK = BASE + 1;
2269 public static final int CALLBACK_AVAILABLE = BASE + 2;
2271 public static final int CALLBACK_LOSING = BASE + 3;
2273 public static final int CALLBACK_LOST = BASE + 4;
2275 public static final int CALLBACK_UNAVAIL = BASE + 5;
2277 public static final int CALLBACK_CAP_CHANGED = BASE + 6;
2279 public static final int CALLBACK_IP_CHANGED = BASE + 7;
2281 public static final int CALLBACK_RELEASED = BASE + 8;
2283 public static final int CALLBACK_EXIT = BASE + 9;
[all …]
/frameworks/base/core/java/android/net/nsd/
DNsdManager.java159 private static final int BASE = Protocol.BASE_NSD_MANAGER; field in 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 + 9;
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiMonitor.java432 private static final int BASE = Protocol.BASE_WIFI_MONITOR; field in WifiMonitor
435 public static final int SUP_CONNECTION_EVENT = BASE + 1;
437 public static final int SUP_DISCONNECTION_EVENT = BASE + 2;
439 public static final int NETWORK_CONNECTION_EVENT = BASE + 3;
441 public static final int NETWORK_DISCONNECTION_EVENT = BASE + 4;
443 public static final int SCAN_RESULTS_EVENT = BASE + 5;
445 public static final int SUPPLICANT_STATE_CHANGE_EVENT = BASE + 6;
447 public static final int AUTHENTICATION_FAILURE_EVENT = BASE + 7;
449 public static final int WPS_SUCCESS_EVENT = BASE + 8;
451 public static final int WPS_FAIL_EVENT = BASE + 9;
[all …]
DWifiController.java103 private static final int BASE = Protocol.BASE_WIFI_CONTROLLER; field in 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 + 9;
[all …]
DWifiWatchdogStateMachine.java81 private static final int BASE = Protocol.BASE_WIFI_WATCHDOG; field in 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 + 9;
[all …]
DWifiStateMachine.java590 static final int BASE = Protocol.BASE_WIFI; field in WifiStateMachine
592 static final int CMD_START_SUPPLICANT = BASE + 11;
594 static final int CMD_STOP_SUPPLICANT = BASE + 12;
596 static final int CMD_START_DRIVER = BASE + 13;
598 static final int CMD_STOP_DRIVER = BASE + 14;
600 static final int CMD_STATIC_IP_SUCCESS = BASE + 15;
602 static final int CMD_STATIC_IP_FAILURE = BASE + 16;
604 static final int CMD_STOP_SUPPLICANT_FAILED = BASE + 17;
606 static final int CMD_DELAYED_STOP_DRIVER = BASE + 18;
608 static final int CMD_DRIVER_START_TIMED_OUT = BASE + 19;
[all …]
DRttService.java226 private static final int BASE = Protocol.BASE_WIFI_RTT_SERVICE; field in RttService.RttServiceImpl
228 private static final int CMD_DRIVER_LOADED = BASE + 0;
229 private static final int CMD_DRIVER_UNLOADED = BASE + 1;
230 private static final int CMD_ISSUE_NEXT_REQUEST = BASE + 2;
231 private static final int CMD_RTT_RESPONSE = BASE + 3;
/frameworks/base/wifi/java/android/net/wifi/
DWifiScanner.java731 private static final int BASE = Protocol.BASE_WIFI_SCANNER; field in WifiScanner
734 public static final int CMD_SCAN = BASE + 0;
736 public static final int CMD_START_BACKGROUND_SCAN = BASE + 2;
738 public static final int CMD_STOP_BACKGROUND_SCAN = BASE + 3;
740 public static final int CMD_GET_SCAN_RESULTS = BASE + 4;
742 public static final int CMD_SCAN_RESULT = BASE + 5;
744 public static final int CMD_SET_HOTLIST = BASE + 6;
746 public static final int CMD_RESET_HOTLIST = BASE + 7;
748 public static final int CMD_AP_FOUND = BASE + 9;
750 public static final int CMD_AP_LOST = BASE + 10;
[all …]
DWifiManager.java1734 private static final int BASE = Protocol.BASE_WIFI_MANAGER;
1738 public static final int CONNECT_NETWORK = BASE + 1;
1740 public static final int CONNECT_NETWORK_FAILED = BASE + 2;
1742 public static final int CONNECT_NETWORK_SUCCEEDED = BASE + 3;
1745 public static final int FORGET_NETWORK = BASE + 4;
1747 public static final int FORGET_NETWORK_FAILED = BASE + 5;
1749 public static final int FORGET_NETWORK_SUCCEEDED = BASE + 6;
1752 public static final int SAVE_NETWORK = BASE + 7;
1754 public static final int SAVE_NETWORK_FAILED = BASE + 8;
1756 public static final int SAVE_NETWORK_SUCCEEDED = BASE + 9;
[all …]
/frameworks/base/media/mca/filterfw/native/core/
Dvalue.cpp53 template<typename BASE, int TYPEID>
54 Value MakePtrValue(const BASE* values, int count) { in MakePtrValue()
57 result.value = malloc(sizeof(BASE) * count); in MakePtrValue()
58 memcpy(result.value, values, sizeof(BASE) * count); in MakePtrValue()
77 template<typename BASE, int TYPEID>
78 int SetPtrValue(Value* value, const BASE* new_values, int count) { in SetPtrValue()
81 value->value = malloc(sizeof(BASE) * count); in SetPtrValue()
85 memcpy(value->value, new_values, sizeof(BASE) * count); in SetPtrValue()
/frameworks/base/wifi/java/android/net/wifi/passpoint/
DWifiPasspointManager.java382 private static final int BASE = Protocol.BASE_WIFI_PASSPOINT_MANAGER; field in WifiPasspointManager
384 public static final int REQUEST_ANQP_INFO = BASE + 1;
385 public static final int REQUEST_ANQP_INFO_FAILED = BASE + 2;
386 public static final int REQUEST_ANQP_INFO_SUCCEEDED = BASE + 3;
387 public static final int REQUEST_OSU_ICON = BASE + 4;
388 public static final int REQUEST_OSU_ICON_FAILED = BASE + 5;
389 public static final int REQUEST_OSU_ICON_SUCCEEDED = BASE + 6;
390 public static final int START_OSU = BASE + 7;
391 public static final int START_OSU_BROWSER = BASE + 8;
392 public static final int START_OSU_FAILED = BASE + 9;
[all …]
/frameworks/base/core/java/com/android/internal/util/
DAsyncChannel.java93 private static final int BASE = Protocol.BASE_SYSTEM_ASYNC_CHANNEL; field in 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] = "CMD_CHANNEL_FULLY_CONNECTED";
[all …]
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkMonitor.java110 private static final int BASE = Protocol.BASE_NETWORK_MONITOR; field in NetworkMonitor
116 public static final int CMD_NETWORK_CONNECTED = BASE + 1;
123 public static final int EVENT_NETWORK_TESTED = BASE + 2;
135 public static final int CMD_NETWORK_LINGER = BASE + 3;
141 private static final int CMD_LINGER_EXPIRED = BASE + 4;
148 public static final int EVENT_NETWORK_LINGER_COMPLETE = BASE + 5;
154 private static final int CMD_REEVALUATE = BASE + 6;
159 public static final int CMD_NETWORK_DISCONNECTED = BASE + 7;
165 public static final int CMD_FORCE_REEVALUATION = BASE + 8;
174 private static final int CMD_CAPTIVE_PORTAL_APP_FINISHED = BASE + 9;
[all …]

12