Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeSensors.java136 public void setListening(boolean listen) { in setListening() argument
138 s.setListening(listen); in setListening()
139 if (listen) { in setListening()
143 if (!listen) { in setListening()
172 public void setProxListening(boolean listen) { in setProxListening() argument
173 mProxSensor.setRequested(listen); in setProxListening()
320 public void setListening(boolean listen) { in setListening() argument
321 if (mRequested == listen) return; in setListening()
322 mRequested = listen; in setListening()
/frameworks/base/core/java/android/net/
DLocalServerSocket.java51 impl.listen(LISTEN_BACKLOG); in LocalServerSocket()
66 impl.listen(LISTEN_BACKLOG); in LocalServerSocket()
DLocalSocketImpl.java311 protected void listen(int backlog) throws IOException in listen() method in LocalSocketImpl
317 Os.listen(fd, backlog); in listen()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSarManagerTest.java122 verify(mTelephonyManager).listen(phoneStateListenerCaptor.capture(), in createSarManager()
138 verify(mTelephonyManager).listen(any(), eq(PhoneStateListener.LISTEN_CALL_STATE)); in testSarMgr_enabledTxPowerScenario_registerPhone()
148 verify(mTelephonyManager, never()).listen(any(), anyInt()); in testSarMgr_disabledTxPowerScenario_registerPhone()
/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/support/compat/src/main/java/androidx/core/net/
DDatagramSocketWrapper.java91 protected void listen(int backlog) throws IOException { in listen() method in DatagramSocketWrapper.DatagramSocketImplWrapper
/frameworks/base/media/java/android/media/
DRemoteDisplay.java71 public static RemoteDisplay listen(String iface, Listener listener, Handler handler, in listen() method in RemoteDisplay
/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/telephony/java/com/android/internal/telephony/
DITelephonyRegistry.aidl36 void listen(String pkg, IPhoneStateListener callback, int events, boolean notifyNow); in listen() method
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSarManager.java168 mTelephonyManager.listen( in registerPhoneListener()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcController.java127 mTelephonyManager.listen(mPhoneStateListener, in DcController()
140 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/libs/common_time/
Ddiag_thread.cpp117 if (listen(listen_fd_, 1) < 0) { in openListenSocket()
/frameworks/base/services/core/java/com/android/server/am/
DNativeCrashListener.java122 Os.listen(serverFd, 1); in run()
/frameworks/base/services/core/java/com/android/server/content/
DSyncStorageEngine.java1616 String listen = parser.getAttributeValue(null, XML_ATTR_LISTEN_FOR_TICKLES); in readAccountInfoLocked() local
1646 mMasterSyncAutomatically.put(0, listen == null || Boolean.parseBoolean(listen)); in readAccountInfoLocked()
1781 boolean listen = enabled == null || Boolean.parseBoolean(enabled); in parseListenForTickles()
1782 mMasterSyncAutomatically.put(userId, listen); in parseListenForTickles()
1969 Boolean listen = mMasterSyncAutomatically.valueAt(m); in writeAccountInfoLocked() local
1972 out.attribute(null, XML_ATTR_ENABLED, Boolean.toString(listen)); in writeAccountInfoLocked()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DTelephonyRegistryMock.java178 public void listen(String pkg, IPhoneStateListener callback, int events, boolean notifyNow) { in listen() method in TelephonyRegistryMock
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DMobileSignalController.java151 mPhone.listen(mPhoneStateListener, in registerListener()
169 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.java833 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE); in internalClearGlobalStateLocked()
895 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE); in initializeTelephonyAndPowerStateListeners()
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java457 public void listen(String pkgForDebug, IPhoneStateListener callback, int events, in listen() method in TelephonyRegistry
466 listen(pkgForDebug, callback, events, notifyNow, subId); in listenForSubscriber()
469 private void listen(String callingPackage, IPhoneStateListener callback, int events, in listen() method in TelephonyRegistry
/frameworks/base/services/core/java/com/android/server/policy/
DLegacyGlobalActions.java148 telephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_SERVICE_STATE); in LegacyGlobalActions()

12