Home
last modified time | relevance | path

Searched refs:listen (Results 1 – 25 of 44) 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.java315 protected void listen(int backlog) throws IOException in listen() method in LocalSocketImpl
321 Os.listen(fd, backlog); in listen()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeSensors.java174 public void setListening(boolean listen) { in setListening() argument
176 s.setListening(listen); in setListening()
178 registerSettingsObserverIfNeeded(listen); in setListening()
196 public void setProxListening(boolean listen) { in setProxListening() argument
197 mProxSensor.setRequested(listen); in setProxListening()
384 public void setListening(boolean listen) { in setListening() argument
385 if (mRequested == listen) return; in setListening()
386 mRequested = listen; in setListening()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyRegistryTest.java109 mTelephonyRegistry.listen(mContext.getOpPackageName(), in testPhoneCapabilityChanged()
132 mTelephonyRegistry.listen(mContext.getOpPackageName(), in testActiveDataSubChanged()
/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/emergency/
DEmergencyAffordanceService.java142 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE); in stopScanning()
179 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CELL_INFO in startScanning()
/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.java151 mTelephonyManager.listen(mPhoneStateListener, LISTEN_NONE); in updatePhoneStateListener()
155 mTelephonyManager.listen(mPhoneStateListener, LISTEN_CALL_STATE); in updatePhoneStateListener()
DDcController.java118 mTelephonyManager.listen(mPhoneStateListener, in DcController()
131 if(mTelephonyManager != null) mTelephonyManager.listen(mPhoneStateListener, 0); in dispose()
/frameworks/base/services/core/java/com/android/server/connectivity/
DDataConnectionStats.java56 phone.listen(mPhoneStateListener, in startMonitoring()
/frameworks/base/telephony/java/com/android/internal/telephony/
DITelephonyRegistry.aidl42 void listen(String pkg, IPhoneStateListener callback, int events, boolean notifyNow); in listen() method
/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/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/base/packages/SystemUI/src/com/android/keyguard/
DCarrierTextController.java239 telephonyManager.listen(mPhoneStateListener, in setListening()
252 telephonyManager.listen(mPhoneStateListener, LISTEN_NONE); in setListening()
/frameworks/base/tests/net/java/android/net/netlink/
DInetDiagSocketTest.java121 Os.listen(remoteFd, 10); in TcpConnection()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DTelephonyRegistryMock.java253 public void listen(String pkg, IPhoneStateListener callback, int events, boolean notifyNow) { in listen() method in TelephonyRegistryMock
/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.java160 mPhone.listen(mPhoneStateListener, in registerListener()
178 mPhone.listen(mPhoneStateListener, 0); in unregisterListener()
/frameworks/base/location/java/com/android/internal/location/
DGpsNetInitiatedHandler.java202 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.
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerHelper.java868 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE); in internalClearGlobalStateLocked()
930 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE); in initializeTelephonyAndPowerStateListeners()

12