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

12

/frameworks/base/telephony/java/com/android/internal/telephony/
H A DDctConstants.java61 public static final int BASE = Protocol.BASE_DATA_CONNECTION_TRACKER; field in class: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
[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 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.java173 static final int BASE = Protocol.BASE_DATA_CONNECTION; field in class: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
[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/
H A DNetworkAgent.java60 private static final int BASE = Protocol.BASE_NETWORK_AGENT; field in class: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
[all...]
H A DNetworkFactory.java53 private static final int BASE = Protocol.BASE_NETWORK_FACTORY; field in class: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;
H A DConnectivityManager.java2642 private static final int BASE = Protocol.BASE_CONNECTIVITY_MANAGER; field in class:ConnectivityManager
2644 public static final int CALLBACK_PRECHECK = BASE + 1;
2646 public static final int CALLBACK_AVAILABLE = BASE + 2;
2648 public static final int CALLBACK_LOSING = BASE + 3;
2650 public static final int CALLBACK_LOST = BASE + 4;
2652 public static final int CALLBACK_UNAVAIL = BASE + 5;
2654 public static final int CALLBACK_CAP_CHANGED = BASE + 6;
2656 public static final int CALLBACK_IP_CHANGED = BASE + 7;
2658 public static final int CALLBACK_RELEASED = BASE + 8;
2660 public static final int CALLBACK_EXIT = 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/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiMonitor.java441 private static final int BASE = Protocol.BASE_WIFI_MONITOR; field in class: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
[all...]
H A DWifiController.java110 private static final int BASE = Protocol.BASE_WIFI_CONTROLLER; field in class: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
[all...]
H A DWifiStateMachine.java573 static final int BASE = Protocol.BASE_WIFI; field in class:WifiStateMachine
575 static final int CMD_START_SUPPLICANT = BASE + 11;
577 static final int CMD_STOP_SUPPLICANT = BASE + 12;
579 static final int CMD_START_DRIVER = BASE + 13;
581 static final int CMD_STOP_DRIVER = BASE + 14;
583 static final int CMD_STATIC_IP_SUCCESS = BASE + 15;
585 static final int CMD_STATIC_IP_FAILURE = BASE + 16;
587 static final int CMD_STOP_SUPPLICANT_FAILED = BASE + 17;
589 static final int CMD_DRIVER_START_TIMED_OUT = BASE + 19;
592 static final int CMD_START_AP = BASE
[all...]
H A DRttService.java260 private static final int BASE = Protocol.BASE_WIFI_RTT_SERVICE; field in class: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/media/mca/filterfw/native/core/
H A Dvalue.cpp53 template<typename BASE, int TYPEID>
54 Value MakePtrValue(const BASE* values, int count) {
57 result.value = malloc(sizeof(BASE) * count);
58 memcpy(result.value, values, sizeof(BASE) * count);
77 template<typename BASE, int TYPEID>
78 int SetPtrValue(Value* value, const BASE* new_values, int count) {
81 value->value = malloc(sizeof(BASE) * count);
85 memcpy(value->value, new_values, sizeof(BASE) * count);
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiScanner.java1132 private static final int BASE = Protocol.BASE_WIFI_SCANNER; field in class:WifiScanner
1135 public static final int CMD_SCAN = BASE + 0;
1137 public static final int CMD_START_BACKGROUND_SCAN = BASE + 2;
1139 public static final int CMD_STOP_BACKGROUND_SCAN = BASE + 3;
1141 public static final int CMD_GET_SCAN_RESULTS = BASE + 4;
1143 public static final int CMD_SCAN_RESULT = BASE + 5;
1145 public static final int CMD_SET_HOTLIST = BASE + 6;
1147 public static final int CMD_RESET_HOTLIST = BASE + 7;
1149 public static final int CMD_AP_FOUND = BASE + 9;
1151 public static final int CMD_AP_LOST = BASE
[all...]
H A DWifiManager.java1699 private static final int BASE = Protocol.BASE_WIFI_MANAGER; field in class:WifiManager
1703 public static final int CONNECT_NETWORK = BASE + 1;
1705 public static final int CONNECT_NETWORK_FAILED = BASE + 2;
1707 public static final int CONNECT_NETWORK_SUCCEEDED = BASE + 3;
1710 public static final int FORGET_NETWORK = BASE + 4;
1712 public static final int FORGET_NETWORK_FAILED = BASE + 5;
1714 public static final int FORGET_NETWORK_SUCCEEDED = BASE + 6;
1717 public static final int SAVE_NETWORK = BASE + 7;
1719 public static final int SAVE_NETWORK_FAILED = BASE + 8;
1721 public static final int SAVE_NETWORK_SUCCEEDED = BASE
[all...]
H A DRttManager.java1096 public static final int BASE = Protocol.BASE_WIFI_RTT_MANAGER; field in class: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
[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...]
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DNetworkMonitor.java127 private static final int BASE = Protocol.BASE_NETWORK_MONITOR; field in class:NetworkMonitor
133 public static final int CMD_NETWORK_CONNECTED = BASE + 1;
141 public static final int EVENT_NETWORK_TESTED = BASE + 2;
147 private static final int CMD_REEVALUATE = BASE + 6;
152 public static final int CMD_NETWORK_DISCONNECTED = BASE + 7;
158 public static final int CMD_FORCE_REEVALUATION = BASE + 8;
167 private static final int CMD_CAPTIVE_PORTAL_APP_FINISHED = BASE + 9;
175 public static final int EVENT_PROVISIONING_NOTIFICATION = BASE + 10;
182 private static final int CMD_LAUNCH_CAPTIVE_PORTAL_APP = BASE + 11;
189 private static final int CMD_CAPTIVE_PORTAL_RECHECK = BASE
[all...]
/frameworks/native/libs/ui/
H A DGraphicBuffer.cpp45 : BASE(), mOwner(ownData), mBufferMapper(GraphicBufferMapper::get()),
58 : BASE(), mOwner(ownData), mBufferMapper(GraphicBufferMapper::get()),
74 : BASE(), mOwner(keepOwnership ? ownHandle : ownNone),
87 : BASE(), mOwner(keepOwnership ? ownHandle : ownNone),
/frameworks/base/services/core/java/com/android/server/
H A DNsdService.java78 private static final int BASE = Protocol.BASE_NSD_MANAGER; field in class: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;
/frameworks/base/core/java/android/os/
H A DBuild.java253 public static final int BASE = 1; field in class:Build.VERSION_CODES
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
H A DWifiScanningServiceImpl.java235 private static final int BASE = Protocol.BASE_WIFI_SCANNER_SERVICE; field in class:WifiScanningServiceImpl
237 private static final int CMD_SCAN_RESULTS_AVAILABLE = BASE + 0;
238 private static final int CMD_FULL_SCAN_RESULTS = BASE + 1;
239 private static final int CMD_HOTLIST_AP_FOUND = BASE + 2;
240 private static final int CMD_HOTLIST_AP_LOST = BASE + 3;
241 private static final int CMD_WIFI_CHANGE_DETECTED = BASE + 4;
242 private static final int CMD_WIFI_CHANGE_TIMEOUT = BASE + 5;
243 private static final int CMD_DRIVER_LOADED = BASE + 6;
244 private static final int CMD_DRIVER_UNLOADED = BASE + 7;
245 private static final int CMD_SCAN_PAUSED = BASE
[all...]

Completed in 759 milliseconds

12