/frameworks/base/core/java/android/net/ |
D | LocalServerSocket.java | 51 impl.listen(LISTEN_BACKLOG); in LocalServerSocket() 66 impl.listen(LISTEN_BACKLOG); in LocalServerSocket()
|
D | LocalSocketImpl.java | 281 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/ |
D | DozeSensors.java | 181 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/ |
D | NetworkStatsSubscriptionsMonitorTest.java | 176 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/ |
D | ObexTransport.java | 60 void listen() throws IOException; in listen() method
|
D | ServerOperation.java | 126 ServerRequestHandler listen) throws IOException { in ServerOperation() argument 137 mListener = listen; in ServerOperation()
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/ |
D | TrackerService.java | 147 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/ |
D | NetworkStatsSubscriptionsMonitor.java | 115 .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/ |
D | VendorDataResetEventTracker.java | 164 listen(mPhoneStateListener, PhoneStateListener.LISTEN_CELL_LOCATION); in startResetEventTracker() 176 mTelephonyManager.listen(mPhoneStateListener, in stopResetEventTracker()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | ComprehensiveCountryDetector.java | 451 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_SERVICE_STATE); in addPhoneStateListener() 457 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE); in removePhoneStateListener()
|
/frameworks/base/media/java/android/media/ |
D | RemoteDisplay.java | 72 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/ |
D | DataEnabledSettings.java | 153 mTelephonyManager.listen(mPhoneStateListener, LISTEN_NONE); in updatePhoneStateListener() 157 mTelephonyManager.listen(mPhoneStateListener, LISTEN_CALL_STATE); in updatePhoneStateListener()
|
D | DcController.java | 147 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/ |
D | TelephonyRegistryTest.java | 456 mTelephonyRegistry.listen(mContext.getOpPackageName(), in assertSecurityExceptionThrown() 465 mTelephonyRegistry.listen(mContext.getOpPackageName(), in assertSecurityExceptionNotThrown()
|
/frameworks/base/core/java/android/net/util/ |
D | MultinetworkPolicyTracker.java | 97 ctx.getSystemService(TelephonyManager.class).listen( in MultinetworkPolicyTracker()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | SarManagerTest.java | 205 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/ |
D | DataConnectionStats.java | 64 phone.listen(mPhoneStateListener, in startMonitoring()
|
/frameworks/base/core/java/com/android/internal/telephony/ |
D | ITelephonyRegistry.aidl | 49 void listen(String pkg, IPhoneStateListener callback, int events, boolean notifyNow); in listen() method
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | CarrierTextController.java | 230 telephonyManager.listen(mPhoneStateListener, in setListening() 243 telephonyManager.listen(mPhoneStateListener, LISTEN_NONE); in setListening()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | NativeCrashListener.java | 121 Os.listen(serverFd, 1); in run()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncStorageEngine.java | 1632 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/ |
D | SarManager.java | 310 mTelephonyManager.listen( in registerPhoneStateListener()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | MobileSignalController.java | 161 mPhone.listen(mPhoneStateListener, in registerListener() 181 mPhone.listen(mPhoneStateListener, 0); in unregisterListener()
|
/frameworks/base/location/java/com/android/internal/location/ |
D | GpsNetInitiatedHandler.java | 212 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE); in GpsNetInitiatedHandler()
|
/frameworks/base/packages/SystemUI/docs/ |
D | plugins.md | 15 …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.
|