Home
last modified time | relevance | path

Searched refs:eventCode (Results 1 – 13 of 13) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfpclient/
DVendorCommandResponseProcessor.java121 String eventCode; in getVendorIdFromAtCommand() local
123 eventCode = atString.substring(0, indexOfEqual + 1); in getVendorIdFromAtCommand()
125 eventCode = atString.substring(0, indexOfColon + 1); in getVendorIdFromAtCommand()
127 eventCode = atString; in getVendorIdFromAtCommand()
131 eventCode = eventCode.replaceAll("\\s+", ""); in getVendorIdFromAtCommand()
133 return eventCode; in getVendorIdFromAtCommand()
137 String eventCode = getVendorIdFromAtCommand(atString); in isAndroidAtCommand() local
138 Integer vendorId = SUPPORTED_VENDOR_EVENTS.get(eventCode); in isAndroidAtCommand()
151 String eventCode = getVendorIdFromAtCommand(atString); in processEvent() local
152 Integer vendorId = SUPPORTED_VENDOR_EVENTS.get(eventCode); in processEvent()
[all …]
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/observations/
DPrivateIndexCalculations.java142 int eventCode = eventVector.eventCodes().get(i); in eventVectorToIndex() local
144 int index = eventCodeToIndexForDimension(eventCode, dimension); in eventVectorToIndex()
168 private static int eventCodeToIndexForDimension(int eventCode, MetricDimension dimension) { in eventCodeToIndexForDimension() argument
171 if (eventCode > dimension.getMaxEventCode()) { in eventCodeToIndexForDimension()
175 eventCode, dimension.getMaxEventCode())); in eventCodeToIndexForDimension()
177 return eventCode; in eventCodeToIndexForDimension()
182 if (eventCode == dimensionEventCodes[i]) { in eventCodeToIndexForDimension()
188 "event_code %s was not found in the dimension's event codes", eventCode)); in eventCodeToIndexForDimension()
196 for (Integer eventCode : eventCodesSet) { in getSortedEnumeratedEventCodes()
197 eventCodes[index++] = eventCode; in getSortedEnumeratedEventCodes()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DSupplicantEventInfo.java31 SupplicantEventInfo(@SupplicantEventCode int eventCode, @NonNull MacAddress bssid, in SupplicantEventInfo() argument
45 this.eventCode = eventCode; in SupplicantEventInfo()
47 public final @SupplicantEventCode int eventCode; field in SupplicantEventInfo
55 .supplicantEventCodeToString(eventCode)); in toString()
DWifiMonitor.java696 public void broadcastAuxiliarySupplicantEvent(String iface, @SupplicantEventCode int eventCode, in broadcastAuxiliarySupplicantEvent() argument
699 new SupplicantEventInfo(eventCode, bssid, reasonString)); in broadcastAuxiliarySupplicantEvent()
DSupplicantStaIfaceCallbackAidlImpl.java1193 int eventCode) { in halAuxiliaryEventToFrameworkSupplicantEventCode() argument
1194 switch (eventCode) { in halAuxiliaryEventToFrameworkSupplicantEventCode()
1276 public void onAuxiliarySupplicantEvent(int eventCode, byte[] bssid, in onAuxiliarySupplicantEvent() argument
1280 halAuxiliaryEventToFrameworkSupplicantEventCode(eventCode); in onAuxiliarySupplicantEvent()
DSupplicantStaIfaceHal.java638 protected static String supplicantEventCodeToString(@SupplicantEventCode int eventCode) { in supplicantEventCodeToString() argument
639 switch (eventCode) { in supplicantEventCodeToString()
657 return "Invalid SupplicantEventCode: " + eventCode; in supplicantEventCodeToString()
DClientModeImpl.java1010 @SupplicantEventCode int eventCode, MacAddress bssid, String reasonString) { in logEventIfManagedNetwork() argument
1020 if (eventCode == SupplicantStaIfaceHal.SUPPLICANT_EVENT_DISCONNECTED) { in logEventIfManagedNetwork()
1025 SupplicantStaIfaceHal.supplicantEventCodeToString(eventCode), reasonString); in logEventIfManagedNetwork()
5953 eventInfo.eventCode, eventInfo.bssid, in processMessageImpl()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/download/
DMddLogger.java39 public void log(MessageLite log, int eventCode) { in log() argument
41 switch (Code.forNumber(eventCode)) { in log()
52 LogUtil.d("%s: Received unsupported event code %d, skipping log", TAG, eventCode); in log()
DMobileDataDownloadFactory.java315 public void log(MessageLite event, int eventCode) { in getTopicsManifestPopulator()
366 public void log(MessageLite event, int eventCode) {
436 public void log(MessageLite event, int eventCode) {
487 public void log(MessageLite event, int eventCode) {
/packages/services/Telephony/testapps/TelephonyRegistryTestApp/src/com/android/phone/testapps/telephonyregistry/
DTelephonyRegistryTestApp.java106 final int eventCode = EVENTS.keyAt(i); in onCreate() local
109 mSelectedEvents |= eventCode; in onCreate()
111 mSelectedEvents &= ~eventCode; in onCreate()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/cobalt/
DTopicsCobaltLogger.java85 int eventCode = in logTopicOccurrences() local
92 mCobaltLogger.get().logOccurrence(METRIC_ID, count, ImmutableList.of(eventCode)); in logTopicOccurrences()
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/impl/
DCobaltLoggerImpl.java264 for (int eventCode : eventCodes) { in validateEventAndGetMetric()
265 checkArgument(eventCode >= 0, "event vectors can't contain negative event codes"); in validateEventAndGetMetric()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiMonitorTest.java806 mWifiMonitor.broadcastAuxiliarySupplicantEvent(WLAN_IFACE_NAME, expectedInfo.eventCode, in testBroadcastAuxiliarySupplicantEvent()
814 assertEquals(expectedInfo.eventCode, info.eventCode); in testBroadcastAuxiliarySupplicantEvent()