Home
last modified time | relevance | path

Searched refs:messenger (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsObservers.java77 public DataUsageRequest register(DataUsageRequest inputRequest, Messenger messenger, in register() argument
80 RequestInfo requestInfo = buildRequestInfo(request, messenger, binder, callingUid, in register()
209 Messenger messenger, IBinder binder, int callingUid, in buildRequestInfo() argument
212 return new UserUsageRequestInfo(this, request, messenger, binder, callingUid, in buildRequestInfo()
217 return new NetworkUsageRequestInfo(this, request, messenger, binder, callingUid, in buildRequestInfo()
237 Messenger messenger, IBinder binder, int callingUid, in RequestInfo() argument
241 mMessenger = messenger; in RequestInfo()
332 Messenger messenger, IBinder binder, int callingUid, in NetworkUsageRequestInfo() argument
334 super(statsObserver, request, messenger, binder, callingUid, accessLevel); in NetworkUsageRequestInfo()
374 Messenger messenger, IBinder binder, int callingUid, in UserUsageRequestInfo() argument
[all …]
DNetworkStatsService.java1032 DataUsageRequest request, Messenger messenger, IBinder binder) {
1036 Objects.requireNonNull(messenger, "messenger is null");
1044 normalizedRequest = mStatsObservers.register(request, messenger, binder,
/frameworks/base/core/java/android/net/
DIConnectivityManager.aidl160 int registerNetworkFactory(in Messenger messenger, in String name); in registerNetworkFactory() argument
161 void unregisterNetworkFactory(in Messenger messenger); in unregisterNetworkFactory() argument
163 int registerNetworkProvider(in Messenger messenger, in String name); in registerNetworkProvider() argument
164 void unregisterNetworkProvider(in Messenger messenger); in unregisterNetworkProvider() argument
168 Network registerNetworkAgent(in Messenger messenger, in NetworkInfo ni, in LinkProperties lp, in registerNetworkAgent() argument
173 in Messenger messenger, int timeoutSec, in IBinder binder, int legacy, in requestNetwork() argument
182 in Messenger messenger, in IBinder binder, String callingPackageName); in listenForNetwork() argument
DINetworkStatsService.aidl80 in DataUsageRequest request, in Messenger messenger, in IBinder binder); in registerUsageCallback() argument
DConnectivityManager.java3197 public int registerNetworkFactory(Messenger messenger, String name) { in registerNetworkFactory() argument
3199 return mService.registerNetworkFactory(messenger, name); in registerNetworkFactory()
3210 public void unregisterNetworkFactory(Messenger messenger) { in unregisterNetworkFactory() argument
3212 mService.unregisterNetworkFactory(messenger); in unregisterNetworkFactory()
3291 public Network registerNetworkAgent(Messenger messenger, NetworkInfo ni, LinkProperties lp, in registerNetworkAgent() argument
3293 return registerNetworkAgent(messenger, ni, lp, nc, score, config, NetworkProvider.ID_NONE); in registerNetworkAgent()
3304 public Network registerNetworkAgent(Messenger messenger, NetworkInfo ni, LinkProperties lp, in registerNetworkAgent() argument
3308 return mService.registerNetworkAgent(messenger, ni, lp, nc, score, config, providerId); in registerNetworkAgent()
3721 Messenger messenger = new Messenger(handler); in sendRequestForNetwork() local
3725 need, messenger, binder, callingPackageName); in sendRequestForNetwork()
[all …]
/frameworks/base/core/java/android/os/
DMessenger.java118 public static void writeMessengerOrNullToParcel(Messenger messenger, in writeMessengerOrNullToParcel() argument
120 out.writeStrongBinder(messenger != null ? messenger.mTarget.asBinder() in writeMessengerOrNullToParcel()
/frameworks/base/location/java/android/location/
DSettingInjectorService.java182 Messenger messenger = intent.getParcelableExtra(MESSENGER_KEY); in sendStatus() local
184 if (messenger == null) { in sendStatus()
200 messenger.send(message); in sendStatus()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DLocalOnlyHotspotRequestInfo.java53 LocalOnlyHotspotRequestInfo(@NonNull IBinder binder, @NonNull Messenger messenger, in LocalOnlyHotspotRequestInfo() argument
57 mMessenger = Preconditions.checkNotNull(messenger); in LocalOnlyHotspotRequestInfo()
/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/
DBidirectionalAsyncChannel.java45 public void connect(final Looper looper, final Messenger messenger, in connect() argument
80 mChannel.connect(null, rawMessageHandler, messenger); in connect()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkAgentInfo.java254 public final Messenger messenger; field in NetworkAgentInfo
271 public NetworkAgentInfo(Messenger messenger, AsyncChannel ac, Network net, NetworkInfo info, in NetworkAgentInfo() argument
276 this.messenger = messenger; in NetworkAgentInfo()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareDataPathStateManagerTest.java510 Messenger messenger = null; in testMultipleNdpsOnSingleNdi() local
523 messenger = ress[i].mMessenger; in testMultipleNdpsOnSingleNdi()
534 messenger.send(reqNetworkMsg); in testMultipleNdpsOnSingleNdi()
576 messenger.send(endNetworkReqMsg); in testMultipleNdpsOnSingleNdi()
624 Messenger messenger = initOobDataPathEndPoint(true, 2, clientId, inOrder, inOrderM); in testMultipleIdenticalRequests() local
642 messenger.send(reqNetworkMsg); in testMultipleIdenticalRequests()
655 messenger.send(endNetworkReqMsg); in testMultipleIdenticalRequests()
666 messenger.send(endNetworkReqMsg); in testMultipleIdenticalRequests()
703 messenger.send(reqNetworkMsg); in testMultipleIdenticalRequests()
712 messenger.send(reqNetworkMsg); in testMultipleIdenticalRequests()
[all …]
/frameworks/base/core/java/com/android/internal/util/
DScreenshotHelper.java125 Messenger messenger = new Messenger(service); in takeScreenshot()
149 messenger.send(msg); in takeScreenshot()
/frameworks/base/core/java/android/net/nsd/
DNsdManager.java481 final Messenger messenger = getMessenger(); in init() local
482 if (messenger == null) { in init()
488 mAsyncChannel.connect(mContext, mHandler, messenger); in init()
/frameworks/base/wifi/java/android/net/wifi/
DIWifiManager.aidl142 int startLocalOnlyHotspot(in Messenger messenger, in IBinder binder, String packageName); in startLocalOnlyHotspot() argument
146 void startWatchLocalOnlyHotspot(in Messenger messenger, in IBinder binder); in startWatchLocalOnlyHotspot() argument
DWifiScanner.java1252 Messenger messenger = null; in WifiScanner() local
1254 messenger = mService.getMessenger(); in WifiScanner()
1259 if (messenger == null) { in WifiScanner()
1266 mAsyncChannel.connectSync(mContext, mInternalHandler, messenger); in WifiScanner()
DWifiManager.java3658 Messenger messenger = getWifiServiceMessenger(); in getChannel() local
3659 if (messenger == null) { in getChannel()
3668 mAsyncChannel.connect(mContext, handler, messenger); in getChannel()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DNetworkScanRequestTracker.java213 Messenger messenger = nsri.mMessenger; in notifyMessenger() local
237 messenger.send(message); in notifyMessenger()
622 NetworkScanRequest request, Messenger messenger, IBinder binder, Phone phone, in startNetworkScan() argument
626 new NetworkScanRequestInfo(request, messenger, binder, scanId, phone, in startNetworkScan()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java3342 mNetworkAgentInfos.remove(nai.messenger); in disconnectAndDestroyNetwork()
5248 public final Messenger messenger; field in ConnectivityService.NetworkProviderInfo
5253 NetworkProviderInfo(String name, Messenger messenger, AsyncChannel asyncChannel, in NetworkProviderInfo() argument
5256 this.messenger = messenger; in NetworkProviderInfo()
5272 messenger.send(Message.obtain(null /* handler */, what, arg1, arg2, obj)); in sendMessageToNetworkProvider()
5299 mAsyncChannel.connect(context, handler, messenger); in connect()
5302 messenger.getBinder().linkToDeath(mDeathRecipient, 0); in connect()
5339 final Messenger messenger; field in ConnectivityService.NetworkRequestInfo
5345 messenger = null; in NetworkRequestInfo()
5354 messenger = m; in NetworkRequestInfo()
[all …]
/frameworks/base/wifi/java/com/android/server/wifi/
DBaseWifiService.java287 public int startLocalOnlyHotspot(Messenger messenger, IBinder binder, String packageName) { in startLocalOnlyHotspot() argument
297 public void startWatchLocalOnlyHotspot(Messenger messenger, IBinder binder) { in startWatchLocalOnlyHotspot() argument
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DSettingsInjector.java505 Messenger messenger = new Messenger(handler); in startService() local
508 intent.putExtra(SettingInjectorService.MESSENGER_KEY, messenger); in startService()
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pManager.java1154 Messenger messenger, Binder binder) { in initalizeChannel() argument
1155 if (messenger == null) return null; in initalizeChannel()
1158 if (c.mAsyncChannel.connectSync(srcContext, c.mHandler, messenger) in initalizeChannel()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DWifiScanningServiceImpl.java1878 ClientInfo(int uid, Messenger messenger) { in ClientInfo() argument
1880 mMessenger = messenger; in ClientInfo()
1987 ExternalClientInfo(int uid, Messenger messenger, AsyncChannel c) { in ExternalClientInfo() argument
1988 super(uid, messenger); in ExternalClientInfo()
2020 InternalClientInfo(int requesterUid, Messenger messenger) { in InternalClientInfo() argument
2021 super(requesterUid, messenger); in InternalClientInfo()
/frameworks/base/telephony/java/com/android/internal/telephony/
DITelephony.aidl903 int requestNetworkScan(int subId, in NetworkScanRequest request, in Messenger messenger, in requestNetworkScan() argument
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsServiceTest.java1052 Messenger messenger = new Messenger(latchedHandler);
1062 messenger, mBinder);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java610 final Messenger messenger = new Messenger(mClientHandler); in getMessenger() local
613 + ", messenger=" + messenger); in getMessenger()
623 mDeathDataByBinder.put(binder, new DeathHandlerData(dr, messenger)); in getMessenger()
630 return messenger; in getMessenger()

12