Home
last modified time | relevance | path

Searched refs:listen (Results 1 – 25 of 50) sorted by relevance

12

/frameworks/base/core/java/android/net/
DLocalServerSocket.java51 impl.listen(LISTEN_BACKLOG); in LocalServerSocket()
66 impl.listen(LISTEN_BACKLOG); in LocalServerSocket()
DLocalSocketImpl.java281 protected void listen(int backlog) throws IOException in listen() method in LocalSocketImpl
287 Os.listen(fd, backlog); in listen()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeSensors.java181 public void setListening(boolean listen) { in setListening() argument
182 if (mListening == listen) { in setListening()
185 mListening = listen; in setListening()
238 public void setProxListening(boolean listen) { in setProxListening() argument
239 mProxSensor.setRequested(listen); in setProxListening()
424 public void setListening(boolean listen) { in setListening() argument
425 if (mRequested == listen) return; in setListening()
426 mRequested = listen; in setListening()
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsSubscriptionsMonitorTest.java176 verify(mTelephonyManager, times(2)).listen(ratTypeListenerCaptor.capture(), in testSubChangedAndRatTypeChanged()
203 verify(mTelephonyManager).listen(any(), eq(PhoneStateListener.LISTEN_NONE)); in testSubChangedAndRatTypeChanged()
217 verify(mTelephonyManager, times(2)).listen(any(), eq(PhoneStateListener.LISTEN_NONE)); in testSubChangedAndRatTypeChanged()
231 verify(mTelephonyManager, times(1)).listen(ratTypeListenerCaptor.capture(), in test5g()
/frameworks/base/obex/javax/obex/
DObexTransport.java60 void listen() throws IOException; in listen() method
DServerOperation.java126 ServerRequestHandler listen) throws IOException { in ServerOperation() argument
137 mListener = listen; in ServerOperation()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
DTrackerService.java147 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CELL_LOCATION); in initLocationListeners()
161 mTelephonyManager.listen(mPhoneStateListener, in initLocationListeners()
252 mTelephonyManager.listen(mPhoneStateListener, 0); in stopListeners()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsSubscriptionsMonitor.java115 .listen(listener, PhoneStateListener.LISTEN_SERVICE_STATE); in onSubscriptionsChanged()
167 .listen(listener, PhoneStateListener.LISTEN_NONE); in handleRemoveRatTypeListener()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/vendor/dataconnection/
DVendorDataResetEventTracker.java164 listen(mPhoneStateListener, PhoneStateListener.LISTEN_CELL_LOCATION); in startResetEventTracker()
176 mTelephonyManager.listen(mPhoneStateListener, in stopResetEventTracker()
/frameworks/base/services/core/java/com/android/server/location/
DComprehensiveCountryDetector.java451 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_SERVICE_STATE); in addPhoneStateListener()
457 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE); in removePhoneStateListener()
/frameworks/base/media/java/android/media/
DRemoteDisplay.java72 public static RemoteDisplay listen(String iface, Listener listener, Handler handler, in listen() method in RemoteDisplay
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataEnabledSettings.java153 mTelephonyManager.listen(mPhoneStateListener, LISTEN_NONE); in updatePhoneStateListener()
157 mTelephonyManager.listen(mPhoneStateListener, LISTEN_CALL_STATE); in updatePhoneStateListener()
DDcController.java147 mTelephonyManager.listen(mPhoneStateListener, in DcController()
160 if(mTelephonyManager != null) mTelephonyManager.listen(mPhoneStateListener, 0); in dispose()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyRegistryTest.java456 mTelephonyRegistry.listen(mContext.getOpPackageName(), in assertSecurityExceptionThrown()
465 mTelephonyRegistry.listen(mContext.getOpPackageName(), in assertSecurityExceptionNotThrown()
/frameworks/base/core/java/android/net/util/
DMultinetworkPolicyTracker.java97 ctx.getSystemService(TelephonyManager.class).listen( in MultinetworkPolicyTracker()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSarManagerTest.java205 verify(mTelephonyManager).listen(phoneStateListenerCaptor.capture(), in createSarManager()
260 verify(mTelephonyManager).listen(phoneStateListenerCaptor.capture(), in createSarManagerSensorNegTest()
294 verify(mTelephonyManager).listen(any(), eq(PhoneStateListener.LISTEN_CALL_STATE)); in testSarMgr_enabledTxPowerScenario_registerPhone()
304 verify(mTelephonyManager, never()).listen(any(), anyInt()); in testSarMgr_disabledTxPowerScenario_registerPhone()
/frameworks/base/services/core/java/com/android/server/connectivity/
DDataConnectionStats.java64 phone.listen(mPhoneStateListener, in startMonitoring()
/frameworks/base/core/java/com/android/internal/telephony/
DITelephonyRegistry.aidl49 void listen(String pkg, IPhoneStateListener callback, int events, boolean notifyNow); in listen() method
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DCarrierTextController.java230 telephonyManager.listen(mPhoneStateListener, in setListening()
243 telephonyManager.listen(mPhoneStateListener, LISTEN_NONE); in setListening()
/frameworks/base/services/core/java/com/android/server/am/
DNativeCrashListener.java121 Os.listen(serverFd, 1); in run()
/frameworks/base/services/core/java/com/android/server/content/
DSyncStorageEngine.java1632 String listen = parser.getAttributeValue(null, XML_ATTR_LISTEN_FOR_TICKLES); in readAccountInfoLocked() local
1662 mMasterSyncAutomatically.put(0, listen == null || Boolean.parseBoolean(listen)); in readAccountInfoLocked()
1797 boolean listen = enabled == null || Boolean.parseBoolean(enabled); in parseListenForTickles()
1798 mMasterSyncAutomatically.put(userId, listen); in parseListenForTickles()
1985 Boolean listen = mMasterSyncAutomatically.valueAt(m); in writeAccountInfoLocked() local
1988 out.attribute(null, XML_ATTR_ENABLED, Boolean.toString(listen)); in writeAccountInfoLocked()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSarManager.java310 mTelephonyManager.listen( in registerPhoneStateListener()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DMobileSignalController.java161 mPhone.listen(mPhoneStateListener, in registerListener()
181 mPhone.listen(mPhoneStateListener, 0); in unregisterListener()
/frameworks/base/location/java/com/android/internal/location/
DGpsNetInitiatedHandler.java212 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE); in GpsNetInitiatedHandler()
/frameworks/base/packages/SystemUI/docs/
Dplugins.md15 …face (entry point) for the plugin should extend the interface Plugin so that you can listen for it.
33 To actually listen for plugins, you implement a plugin listener that has the following interface.

12