Searched refs:listenerId (Results 1 – 2 of 2) sorted by relevance
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/ |
D | NsdPublisher.java | 105 int listenerId) { in registerService() argument 108 mHandler.post(() -> registerInternal(serviceInfo, receiver, listenerId, "service")); in registerService() 136 String name, List<String> addresses, INsdStatusReceiver receiver, int listenerId) { in registerHost() argument 138 mHandler.post(() -> registerInternal(serviceInfo, receiver, listenerId, "host")); in registerHost() 158 int listenerId, in registerInternal() argument 166 + listenerId in registerInternal() 169 RegistrationListener listener = new RegistrationListener(serviceInfo, listenerId, receiver); in registerInternal() 170 mRegistrationListeners.append(listenerId, listener); in registerInternal() 179 public void unregister(INsdStatusReceiver receiver, int listenerId) { in unregister() argument 180 mHandler.post(() -> unregisterInternal(receiver, listenerId)); in unregister() [all …]
|
D | ThreadNetworkControllerService.java | 1473 private void onThreadEnabledChanged(int state, long listenerId) { 1478 if (!stateChanged && callbackEntry.getValue().id != listenerId) { 1503 public void onStateChanged(OtDaemonState newState, long listenerId) { 1504 mHandler.post(() -> onStateChangedInternal(newState, listenerId)); 1507 private void onStateChangedInternal(OtDaemonState newState, long listenerId) { 1510 onDeviceRoleChanged(newState.deviceRole, listenerId); 1511 onPartitionIdChanged(newState.partitionId, listenerId); 1512 onThreadEnabledChanged(newState.threadEnabled, listenerId); 1523 onActiveOperationalDatasetChanged(newActiveDataset, listenerId); 1538 onPendingOperationalDatasetChanged(newPendingDataset, listenerId); [all …]
|