Searched refs:listen (Results 1 - 25 of 35) sorted by relevance

12

/frameworks/base/core/java/android/net/
H A DLocalServerSocket.java51 impl.listen(LISTEN_BACKLOG);
56 * been created and bound. listen() will be called immediately on it.
66 impl.listen(LISTEN_BACKLOG);
H A DLocalSocketImpl.java217 * but the caller can verify socket state by calling listen().
311 protected void listen(int backlog) throws IOException method in class:LocalSocketImpl
317 Os.listen(fd, backlog);
/frameworks/base/obex/javax/obex/
H A DObexTransport.java60 void listen() throws IOException; method in interface:ObexTransport
H A DServerOperation.java122 * @param listen the listener that is responding to the request
126 ServerRequestHandler listen) throws IOException {
137 mListener = listen;
125 ServerOperation(ServerSession p, InputStream in, int request, int maxSize, ServerRequestHandler listen) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
H A DDozeSensors.java136 public void setListening(boolean listen) { argument
138 s.setListening(listen);
139 if (listen) {
143 if (!listen) {
172 public void setProxListening(boolean listen) { argument
173 mProxSensor.setRequested(listen);
320 public void setListening(boolean listen) { argument
321 if (mRequested == listen) return;
322 mRequested = listen;
/frameworks/base/media/java/android/media/
H A DRemoteDisplay.java71 public static RemoteDisplay listen(String iface, Listener listener, Handler handler, method in class:RemoteDisplay
/frameworks/support/compat/src/main/java/androidx/core/net/
H A DDatagramSocketWrapper.java91 protected void listen(int backlog) throws IOException { method in class:DatagramSocketWrapper.DatagramSocketImplWrapper
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DSarManagerTest.java122 verify(mTelephonyManager).listen(phoneStateListenerCaptor.capture(),
138 verify(mTelephonyManager).listen(any(), eq(PhoneStateListener.LISTEN_CALL_STATE));
148 verify(mTelephonyManager, never()).listen(any(), anyInt());
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
H A DTrackerService.java147 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CELL_LOCATION);
161 mTelephonyManager.listen(mPhoneStateListener,
252 mTelephonyManager.listen(mPhoneStateListener, 0);
/frameworks/base/services/core/java/com/android/server/emergency/
H A DEmergencyAffordanceService.java142 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE);
179 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CELL_INFO
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DITelephonyRegistry.aidl36 void listen(String pkg, IPhoneStateListener callback, int events, boolean notifyNow);
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DDataConnectionStats.java56 phone.listen(mPhoneStateListener,
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DSarManager.java168 mTelephonyManager.listen(
/frameworks/base/services/core/java/com/android/server/location/
H A DComprehensiveCountryDetector.java451 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_SERVICE_STATE);
457 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDcController.java127 mTelephonyManager.listen(mPhoneStateListener,
140 if(mTelephonyManager != null) mTelephonyManager.listen(mPhoneStateListener, 0);
/frameworks/base/libs/common_time/
H A Ddiag_thread.cpp117 if (listen(listen_fd_, 1) < 0) {
205 ALOGE("Failed to open listen socket");
/frameworks/base/services/core/java/com/android/server/am/
H A DNativeCrashListener.java122 Os.listen(serverFd, 1);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
H A DTelephonyRegistryMock.java143 //log("listen oscl: hasNotifySubscriptionInfoChangedOccurred==false no callback");
178 public void listen(String pkg, IPhoneStateListener callback, int events, boolean notifyNow) { method in class:TelephonyRegistryMock
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DMobileSignalController.java151 mPhone.listen(mPhoneStateListener,
169 mPhone.listen(mPhoneStateListener, 0);
H A DUserSwitcherController.java455 TelephonyManager.from(mContext).listen(mPhoneStateListener,
/frameworks/base/services/core/java/com/android/server/content/
H A DSyncStorageEngine.java87 private static final String XML_ATTR_LISTEN_FOR_TICKLES = "listen-for-tickles";
1616 String listen = parser.getAttributeValue(null, XML_ATTR_LISTEN_FOR_TICKLES);
1646 mMasterSyncAutomatically.put(0, listen == null || Boolean.parseBoolean(listen));
1776 Slog.e(TAG, "error parsing the user for listen-for-tickles", e);
1778 Slog.e(TAG, "the user in listen-for-tickles is null", e);
1781 boolean listen = enabled == null || Boolean.parseBoolean(enabled);
1782 mMasterSyncAutomatically.put(userId, listen);
1969 Boolean listen = mMasterSyncAutomatically.valueAt(m);
1972 out.attribute(null, XML_ATTR_ENABLED, Boolean.toString(listen));
[all...]
/frameworks/base/location/java/com/android/internal/location/
H A DGpsNetInitiatedHandler.java202 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE);
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
H A DSoundTriggerHelper.java833 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE);
895 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE);
/frameworks/base/services/core/java/com/android/server/
H A DTelephonyRegistry.java384 log("listen oscl: E pkg=" + callingPackage + " myUserId=" + UserHandle.myUserId()
405 log("listen oscl: Register r=" + r);
410 if (VDBG) log("listen oscl: send to r=" + r);
412 if (VDBG) log("listen oscl: sent to r=" + r);
414 if (VDBG) log("listen oscl: remote exception sending to r=" + r + " e=" + e);
418 log("listen oscl: hasNotifySubscriptionInfoChangedOccurred==false no callback");
426 if (DBG) log("listen oscl: Unregister");
457 public void listen(String pkgForDebug, IPhoneStateListener callback, int events, method in class:TelephonyRegistry
466 listen(pkgForDebug, callback, events, notifyNow, subId);
469 private void listen(Strin method in class:TelephonyRegistry
[all...]
/frameworks/base/services/core/java/com/android/server/display/
H A DWifiDisplayController.java738 mRemoteDisplay = RemoteDisplay.listen(iface, new RemoteDisplay.Listener() {

Completed in 267 milliseconds

12