Home
last modified time | relevance | path

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

12

/frameworks/base/telephony/java/com/android/internal/telephony/
DDctConstants.java61 public static final int BASE = Protocol.BASE_DATA_CONNECTION_TRACKER; field in DctConstants
62 public static final int EVENT_DATA_SETUP_COMPLETE = BASE + 0;
63 public static final int EVENT_RADIO_AVAILABLE = BASE + 1;
64 public static final int EVENT_RECORDS_LOADED = BASE + 2;
65 public static final int EVENT_TRY_SETUP_DATA = BASE + 3;
66 public static final int EVENT_DATA_STATE_CHANGED = BASE + 4;
67 public static final int EVENT_POLL_PDP = BASE + 5;
68 public static final int EVENT_RADIO_OFF_OR_NOT_AVAILABLE = BASE + 6;
69 public static final int EVENT_VOICE_CALL_STARTED = BASE + 7;
70 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 …]
DANativeObjectBase.h70 typedef ANativeObjectBase<NATIVE_TYPE, TYPE, REF> BASE; typedef
/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/
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.java173 static final int BASE = Protocol.BASE_DATA_CONNECTION; field in DataConnection
174 static final int EVENT_CONNECT = BASE + 0;
175 static final int EVENT_SETUP_DATA_CONNECTION_DONE = BASE + 1;
176 static final int EVENT_GET_LAST_FAIL_DONE = BASE + 2;
177 static final int EVENT_DEACTIVATE_DONE = BASE + 3;
178 static final int EVENT_DISCONNECT = BASE + 4;
179 static final int EVENT_RIL_CONNECTED = BASE + 5;
180 static final int EVENT_DISCONNECT_ALL = BASE + 6;
181 static final int EVENT_DATA_STATE_CHANGED = BASE + 7;
182 static final int EVENT_TEAR_DOWN_NOW = BASE + 8;
[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;
127 public static final int CMD_REPORT_NETWORK_STATUS = BASE + 7;
141 public static final int EVENT_SET_EXPLICITLY_SELECTED = BASE + 8;
[all …]
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;
DConnectivityManager.java2632 private static final int BASE = Protocol.BASE_CONNECTIVITY_MANAGER; field in ConnectivityManager
2634 public static final int CALLBACK_PRECHECK = BASE + 1;
2636 public static final int CALLBACK_AVAILABLE = BASE + 2;
2638 public static final int CALLBACK_LOSING = BASE + 3;
2640 public static final int CALLBACK_LOST = BASE + 4;
2642 public static final int CALLBACK_UNAVAIL = BASE + 5;
2644 public static final int CALLBACK_CAP_CHANGED = BASE + 6;
2646 public static final int CALLBACK_IP_CHANGED = BASE + 7;
2648 public static final int CALLBACK_RELEASED = BASE + 8;
2650 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.java441 private static final int BASE = Protocol.BASE_WIFI_MONITOR; field in WifiMonitor
444 public static final int SUP_CONNECTION_EVENT = BASE + 1;
446 public static final int SUP_DISCONNECTION_EVENT = BASE + 2;
448 public static final int NETWORK_CONNECTION_EVENT = BASE + 3;
450 public static final int NETWORK_DISCONNECTION_EVENT = BASE + 4;
452 public static final int SCAN_RESULTS_EVENT = BASE + 5;
454 public static final int SUPPLICANT_STATE_CHANGE_EVENT = BASE + 6;
456 public static final int AUTHENTICATION_FAILURE_EVENT = BASE + 7;
458 public static final int WPS_SUCCESS_EVENT = BASE + 8;
460 public static final int WPS_FAIL_EVENT = BASE + 9;
[all …]
DWifiController.java110 private static final int BASE = Protocol.BASE_WIFI_CONTROLLER; field in WifiController
112 static final int CMD_EMERGENCY_MODE_CHANGED = BASE + 1;
113 static final int CMD_SCREEN_ON = BASE + 2;
114 static final int CMD_SCREEN_OFF = BASE + 3;
115 static final int CMD_BATTERY_CHANGED = BASE + 4;
116 static final int CMD_DEVICE_IDLE = BASE + 5;
117 static final int CMD_LOCKS_CHANGED = BASE + 6;
118 static final int CMD_SCAN_ALWAYS_MODE_CHANGED = BASE + 7;
119 static final int CMD_WIFI_TOGGLED = BASE + 8;
120 static final int CMD_AIRPLANE_TOGGLED = BASE + 9;
[all …]
DWifiStateMachine.java568 static final int BASE = Protocol.BASE_WIFI; field in WifiStateMachine
570 static final int CMD_START_SUPPLICANT = BASE + 11;
572 static final int CMD_STOP_SUPPLICANT = BASE + 12;
574 static final int CMD_START_DRIVER = BASE + 13;
576 static final int CMD_STOP_DRIVER = BASE + 14;
578 static final int CMD_STATIC_IP_SUCCESS = BASE + 15;
580 static final int CMD_STATIC_IP_FAILURE = BASE + 16;
582 static final int CMD_STOP_SUPPLICANT_FAILED = BASE + 17;
584 static final int CMD_DRIVER_START_TIMED_OUT = BASE + 19;
587 static final int CMD_START_AP = BASE + 21;
[all …]
DRttService.java260 private static final int BASE = Protocol.BASE_WIFI_RTT_SERVICE; field in RttService.RttServiceImpl
262 private static final int CMD_DRIVER_LOADED = BASE + 0;
263 private static final int CMD_DRIVER_UNLOADED = BASE + 1;
264 private static final int CMD_ISSUE_NEXT_REQUEST = BASE + 2;
265 private static final int CMD_RTT_RESPONSE = BASE + 3;
/frameworks/base/wifi/java/android/net/wifi/
DWifiScanner.java1116 private static final int BASE = Protocol.BASE_WIFI_SCANNER; field in WifiScanner
1119 public static final int CMD_SCAN = BASE + 0;
1121 public static final int CMD_START_BACKGROUND_SCAN = BASE + 2;
1123 public static final int CMD_STOP_BACKGROUND_SCAN = BASE + 3;
1125 public static final int CMD_GET_SCAN_RESULTS = BASE + 4;
1127 public static final int CMD_SCAN_RESULT = BASE + 5;
1129 public static final int CMD_SET_HOTLIST = BASE + 6;
1131 public static final int CMD_RESET_HOTLIST = BASE + 7;
1133 public static final int CMD_AP_FOUND = BASE + 9;
1135 public static final int CMD_AP_LOST = BASE + 10;
[all …]
DWifiManager.java1697 private static final int BASE = Protocol.BASE_WIFI_MANAGER;
1701 public static final int CONNECT_NETWORK = BASE + 1;
1703 public static final int CONNECT_NETWORK_FAILED = BASE + 2;
1705 public static final int CONNECT_NETWORK_SUCCEEDED = BASE + 3;
1708 public static final int FORGET_NETWORK = BASE + 4;
1710 public static final int FORGET_NETWORK_FAILED = BASE + 5;
1712 public static final int FORGET_NETWORK_SUCCEEDED = BASE + 6;
1715 public static final int SAVE_NETWORK = BASE + 7;
1717 public static final int SAVE_NETWORK_FAILED = BASE + 8;
1719 public static final int SAVE_NETWORK_SUCCEEDED = BASE + 9;
[all …]
DRttManager.java1096 public static final int BASE = Protocol.BASE_WIFI_RTT_MANAGER; field in RttManager
1098 public static final int CMD_OP_START_RANGING = BASE + 0;
1099 public static final int CMD_OP_STOP_RANGING = BASE + 1;
1100 public static final int CMD_OP_FAILED = BASE + 2;
1101 public static final int CMD_OP_SUCCEEDED = BASE + 3;
1102 public static final int CMD_OP_ABORTED = BASE + 4;
1103 public static final int CMD_OP_ENABLE_RESPONDER = BASE + 5;
1104 public static final int CMD_OP_DISABLE_RESPONDER = BASE + 6;
1106 CMD_OP_ENALBE_RESPONDER_SUCCEEDED = BASE + 7;
1108 CMD_OP_ENALBE_RESPONDER_FAILED = BASE + 8;
/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/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.java118 private static final int BASE = Protocol.BASE_NETWORK_MONITOR; field in NetworkMonitor
124 public static final int CMD_NETWORK_CONNECTED = BASE + 1;
132 public static final int EVENT_NETWORK_TESTED = BASE + 2;
138 private static final int CMD_REEVALUATE = BASE + 6;
143 public static final int CMD_NETWORK_DISCONNECTED = BASE + 7;
149 public static final int CMD_FORCE_REEVALUATION = BASE + 8;
158 private static final int CMD_CAPTIVE_PORTAL_APP_FINISHED = BASE + 9;
166 public static final int EVENT_PROVISIONING_NOTIFICATION = BASE + 10;
173 private static final int CMD_LAUNCH_CAPTIVE_PORTAL_APP = BASE + 11;
180 private static final int CMD_CAPTIVE_PORTAL_RECHECK = BASE + 12;
/frameworks/base/services/core/java/com/android/server/
DNsdService.java78 private static final int BASE = Protocol.BASE_NSD_MANAGER; field in NsdService
79 private static final int CMD_TO_STRING_COUNT = NsdManager.RESOLVE_SERVICE - BASE + 1;
83 sCmdToString[NsdManager.DISCOVER_SERVICES - BASE] = "DISCOVER";
84 sCmdToString[NsdManager.STOP_DISCOVERY - BASE] = "STOP-DISCOVER";
85 sCmdToString[NsdManager.REGISTER_SERVICE - BASE] = "REGISTER";
86 sCmdToString[NsdManager.UNREGISTER_SERVICE - BASE] = "UNREGISTER";
87 sCmdToString[NsdManager.RESOLVE_SERVICE - BASE] = "RESOLVE";
91 cmd -= BASE; in cmdToString()
/frameworks/native/libs/ui/
DGraphicBuffer.cpp45 : BASE(), mOwner(ownData), mBufferMapper(GraphicBufferMapper::get()), in GraphicBuffer()
58 : BASE(), mOwner(ownData), mBufferMapper(GraphicBufferMapper::get()), in GraphicBuffer()
74 : BASE(), mOwner(keepOwnership ? ownHandle : ownNone), in GraphicBuffer()
87 : BASE(), mOwner(keepOwnership ? ownHandle : ownNone), in GraphicBuffer()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java136 private static final int BASE = Protocol.BASE_WIFI_P2P_SERVICE; field in WifiP2pServiceImpl
139 public static final int GROUP_CREATING_TIMED_OUT = BASE + 1;
142 private static final int PEER_CONNECTION_USER_ACCEPT = BASE + 2;
144 private static final int PEER_CONNECTION_USER_REJECT = BASE + 3;
146 private static final int DROP_WIFI_USER_ACCEPT = BASE + 4;
148 private static final int DROP_WIFI_USER_REJECT = BASE + 5;
150 public static final int DISABLE_P2P_TIMED_OUT = BASE + 6;
154 public static final int P2P_CONNECTION_CHANGED = BASE + 11;
167 public static final int DISCONNECT_WIFI_REQUEST = BASE + 12;
168 public static final int DISCONNECT_WIFI_RESPONSE = BASE + 13;
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DWifiScanningServiceImpl.java233 private static final int BASE = Protocol.BASE_WIFI_SCANNER_SERVICE; field in WifiScanningServiceImpl
235 private static final int CMD_SCAN_RESULTS_AVAILABLE = BASE + 0;
236 private static final int CMD_FULL_SCAN_RESULTS = BASE + 1;
237 private static final int CMD_HOTLIST_AP_FOUND = BASE + 2;
238 private static final int CMD_HOTLIST_AP_LOST = BASE + 3;
239 private static final int CMD_WIFI_CHANGE_DETECTED = BASE + 4;
240 private static final int CMD_WIFI_CHANGE_TIMEOUT = BASE + 5;
241 private static final int CMD_DRIVER_LOADED = BASE + 6;
242 private static final int CMD_DRIVER_UNLOADED = BASE + 7;
243 private static final int CMD_SCAN_PAUSED = BASE + 8;
[all …]

12