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

12

/frameworks/base/core/java/android/net/
H A DLocalServerSocket.java50 impl.listen(LISTEN_BACKLOG);
55 * been created and bound. listen() will be called immediately on it.
65 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/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMapRfcommTransport.java42 public void listen() throws IOException { method in class:BluetoothMapRfcommTransport
/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);
318 public void setListening(boolean listen) { argument
319 if (mRequested == listen) return;
320 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/java/android/support/v4/net/
H A DDatagramSocketWrapper.java91 protected void listen(int backlog) throws IOException { method in class:DatagramSocketWrapper.DatagramSocketImplWrapper
/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/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.java109 mTelephonyManager.listen(mPhoneStateListener,
122 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.java141 //log("listen oscl: hasNotifySubscriptionInfoChangedOccurred==false no callback");
176 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.java462 TelephonyManager.from(mContext).listen(mPhoneStateListener,
/frameworks/base/services/core/java/com/android/server/content/
H A DSyncStorageEngine.java78 private static final String XML_ATTR_LISTEN_FOR_TICKLES = "listen-for-tickles";
1533 String listen = parser.getAttributeValue(null, XML_ATTR_LISTEN_FOR_TICKLES);
1563 mMasterSyncAutomatically.put(0, listen == null || Boolean.parseBoolean(listen));
1693 Slog.e(TAG, "error parsing the user for listen-for-tickles", e);
1695 Slog.e(TAG, "the user in listen-for-tickles is null", e);
1698 boolean listen = enabled == null || Boolean.parseBoolean(enabled);
1699 mMasterSyncAutomatically.put(userId, listen);
1886 Boolean listen = mMasterSyncAutomatically.valueAt(m);
1889 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.java830 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE);
887 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE);
/frameworks/base/services/core/java/com/android/server/
H A DTelephonyRegistry.java356 log("listen oscl: E pkg=" + callingPackage + " myUserId=" + UserHandle.myUserId()
393 if (DBG) log("listen oscl: add new record");
402 log("listen oscl: Register r=" + r);
407 if (VDBG) log("listen oscl: send to r=" + r);
409 if (VDBG) log("listen oscl: sent to r=" + r);
411 if (VDBG) log("listen oscl: remote exception sending to r=" + r + " e=" + e);
415 log("listen oscl: hasNotifySubscriptionInfoChangedOccurred==false no callback");
423 if (DBG) log("listen oscl: Unregister");
454 public void listen(String pkgForDebug, IPhoneStateListener callback, int events, method in class:TelephonyRegistry
463 listen(pkgForDebu
466 private void listen(String callingPackage, IPhoneStateListener callback, int events, method in class:TelephonyRegistry
[all...]
/frameworks/base/services/core/java/com/android/server/display/
H A DWifiDisplayController.java739 mRemoteDisplay = RemoteDisplay.listen(iface, new RemoteDisplay.Listener() {
/frameworks/base/services/core/java/com/android/server/policy/
H A DLegacyGlobalActions.java152 telephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_SERVICE_STATE);

Completed in 900 milliseconds

12