Home
last modified time | relevance | path

Searched refs:BASE (Results 1 – 25 of 36) 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/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/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcSwitchAsyncChannel.java36 private static final int BASE = Protocol.BASE_DATA_CONNECTION_TRACKER + 0x00002000; field in 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 + 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.java198 static final int BASE = Protocol.BASE_DATA_CONNECTION; field in 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 + 8;
[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/base/core/java/android/net/
DNetworkAgent.java52 private static final int BASE = Protocol.BASE_NETWORK_AGENT; field in 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 + 8;
DDhcpStateMachine.java83 private static final int BASE = Protocol.BASE_DHCP; field in 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;
DNetworkFactory.java51 private static final int BASE = Protocol.BASE_NETWORK_FACTORY; field in 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;
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.java2061 private static final int BASE = Protocol.BASE_CONNECTIVITY_MANAGER; field in ConnectivityManager
2063 public static final int CALLBACK_PRECHECK = BASE + 1;
2065 public static final int CALLBACK_AVAILABLE = BASE + 2;
2067 public static final int CALLBACK_LOSING = BASE + 3;
2069 public static final int CALLBACK_LOST = BASE + 4;
2071 public static final int CALLBACK_UNAVAIL = BASE + 5;
2073 public static final int CALLBACK_CAP_CHANGED = BASE + 6;
2075 public static final int CALLBACK_IP_CHANGED = BASE + 7;
2077 public static final int CALLBACK_RELEASED = BASE + 8;
2079 public static final int CALLBACK_EXIT = BASE + 9;
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiMonitor.java401 private static final int BASE = Protocol.BASE_WIFI_MONITOR; field in 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 + 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.java424 static final int BASE = Protocol.BASE_WIFI; field in 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 + 19;
[all …]
DRttService.java213 private static final int BASE = Protocol.BASE_WIFI_RTT_SERVICE; field in 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;
/frameworks/base/wifi/java/android/net/wifi/
DWifiScanner.java558 private static final int BASE = Protocol.BASE_WIFI_SCANNER; field in 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 + 10;
[all …]
DWifiManager.java1581 private static final int BASE = Protocol.BASE_WIFI_MANAGER; field in 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 + 9;
[all …]
DRttManager.java308 public static final int BASE = Protocol.BASE_WIFI_RTT_MANAGER; field in 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/media/mca/filterfw/native/core/
Dvalue.cpp52 template<typename BASE, int TYPEID>
53 Value MakePtrValue(const BASE* values, int count) { in MakePtrValue()
56 result.value = malloc(sizeof(BASE) * count); in MakePtrValue()
57 memcpy(result.value, values, sizeof(BASE) * count); in MakePtrValue()
76 template<typename BASE, int TYPEID>
77 int SetPtrValue(Value* value, const BASE* new_values, int count) { in SetPtrValue()
80 value->value = malloc(sizeof(BASE) * count); in SetPtrValue()
84 memcpy(value->value, new_values, sizeof(BASE) * count); in SetPtrValue()
/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.java113 private static final int BASE = Protocol.BASE_NETWORK_MONITOR; field in 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 + 9;
[all …]
/frameworks/native/libs/ui/
DGraphicBuffer.cpp45 : BASE(), mOwner(ownData), mBufferMapper(GraphicBufferMapper::get()), in GraphicBuffer()
58 : BASE(), mOwner(ownData), mBufferMapper(GraphicBufferMapper::get()), in GraphicBuffer()
73 : BASE(), mOwner(keepOwnership ? ownHandle : ownNone), in GraphicBuffer()
86 : BASE(), mOwner(keepOwnership ? ownHandle : ownNone), in GraphicBuffer()

12