Home
last modified time | relevance | path

Searched refs:listening (Results 1 – 25 of 55) sorted by relevance

123

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DSecureSetting.java56 public void setListening(boolean listening) { in setListening() argument
57 if (listening == mListening) return; in setListening()
58 mListening = listening; in setListening()
59 if (listening) { in setListening()
DQSPanel.java367 public void setListening(boolean listening) { in setListening() argument
368 if (mListening == listening) return; in setListening()
369 mListening = listening; in setListening()
371 mTileLayout.setListening(listening); in setListening()
378 public void setListening(boolean listening, boolean expanded) { in setListening() argument
379 setListening(listening && expanded); in setListening()
380 getFooter().setListening(listening); in setListening()
383 setBrightnessListening(listening); in setListening()
386 public void setBrightnessListening(boolean listening) { in setBrightnessListening() argument
387 if (listening) { in setBrightnessListening()
[all …]
DGlobalSetting.java48 public void setListening(boolean listening) { in setListening() argument
49 if (listening) { in setListening()
DQSFragment.java342 public void setListening(boolean listening) { in setListening() argument
343 if (DEBUG) Log.d(TAG, "setListening " + listening); in setListening()
344 mListening = listening; in setListening()
345 mHeader.setListening(listening); in setListening()
346 mFooter.setListening(listening); in setListening()
351 public void setHeaderListening(boolean listening) { in setHeaderListening() argument
352 mHeader.setListening(listening); in setHeaderListening()
353 mFooter.setListening(listening); in setHeaderListening()
DTileLayout.java50 public void setListening(boolean listening) { in setListening() argument
51 if (mListening == listening) return; in setListening()
52 mListening = listening; in setListening()
DQSCarrierGroup.java112 public void setListening(boolean listening) { in setListening() argument
113 if (listening == mListening) { in setListening()
116 mListening = listening; in setListening()
DQSFooter.java61 void setListening(boolean listening); in setListening() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DAirplaneModeTile.java130 public void handleSetListening(boolean listening) { in handleSetListening() argument
131 if (mListening == listening) return; in handleSetListening()
132 mListening = listening; in handleSetListening()
133 if (listening) { in handleSetListening()
140 mSetting.setListening(listening); in handleSetListening()
DHotspotTile.java70 public void handleSetListening(boolean listening) { in handleSetListening() argument
71 if (mListening == listening) return; in handleSetListening()
72 mListening = listening; in handleSetListening()
73 if (listening) { in handleSetListening()
DNightDisplayTile.java192 protected void handleSetListening(boolean listening) { in handleSetListening() argument
193 mIsListening = listening; in handleSetListening()
194 if (listening) { in handleSetListening()
DColorInversionTile.java68 public void handleSetListening(boolean listening) { in handleSetListening() argument
69 mSetting.setListening(listening); in handleSetListening()
DBatterySaverTile.java76 public void handleSetListening(boolean listening) { in handleSetListening() argument
77 mSetting.setListening(listening); in handleSetListening()
DNfcTile.java58 public void handleSetListening(boolean listening) { in handleSetListening() argument
59 mListening = listening; in handleSetListening()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DCallbackHandler.java167 public void setListening(EmergencyListener listener, boolean listening) { in setListening() argument
168 obtainMessage(MSG_ADD_REMOVE_EMERGENCY, listening ? 1 : 0, 0, listener).sendToTarget(); in setListening()
171 public void setListening(SignalCallback listener, boolean listening) { in setListening() argument
172 obtainMessage(MSG_ADD_REMOVE_SIGNAL, listening ? 1 : 0, 0, listener).sendToTarget(); in setListening()
DRotationLockControllerImpl.java80 public void setListening(boolean listening) { in setListening() argument
81 if (listening) { in setListening()
DListenable.java21 void setListening(boolean listening); in setListening() argument
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DUpstreamNetworkMonitorTest.java154 assertTrue(mCM.listening.isEmpty()); in testListensForAllNetworks()
158 assertFalse(mCM.listening.isEmpty()); in testListensForAllNetworks()
574 public Map<NetworkCallback, NetworkRequest> listening = new HashMap<>(); field in UpstreamNetworkMonitorTest.TestConnectivityManager
587 && listening.isEmpty() in hasNoCallbacks()
595 && listening.isEmpty() in onlyHasDefaultCallbacks()
604 for (NetworkRequest req : listening.values()) { in isListeningForAll()
668 assertFalse(listening.containsKey(cb)); in registerNetworkCallback()
669 listening.put(cb, req); in registerNetworkCallback()
691 } else if (listening.containsKey(cb)) { in unregisterNetworkCallback()
692 listening.remove(cb); in unregisterNetworkCallback()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DManagedProfileControllerImpl.java121 private void setListening(boolean listening) { in setListening() argument
122 mListening = listening; in setListening()
123 if (listening) { in setListening()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/qs/car/
DCarQSFragment.java111 public void setHeaderListening(boolean listening) { in setHeaderListening() argument
112 mFooter.setListening(listening); in setHeaderListening()
116 public void setListening(boolean listening) { in setListening() argument
117 mFooter.setListening(listening); in setListening()
DCarQSFooter.java112 public void setListening(boolean listening) { in setListening() argument
113 if (listening) { in setListening()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/
DQS.java51 void setListening(boolean listening); in setListening() argument
58 void setHeaderListening(boolean listening); in setHeaderListening() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileImpl.java139 public void setListening(Object listener, boolean listening) { in setListening() argument
140 mHandler.obtainMessage(H.SET_LISTENING, listening ? 1 : 0, 0, listener).sendToTarget(); in setListening()
266 public void setDetailListening(boolean listening) { in setDetailListening() argument
359 private void handleSetListeningInternal(Object listener, boolean listening) { in handleSetListeningInternal() argument
360 if (listening) { in handleSetListeningInternal()
364 handleSetListening(listening); in handleSetListeningInternal()
371 handleSetListening(listening); in handleSetListeningInternal()
387 protected abstract void handleSetListening(boolean listening); in handleSetListening() argument
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DServiceListing.java75 public void setListening(boolean listening) { in setListening() argument
76 if (mListening == listening) return; in setListening()
77 mListening = listening; in setListening()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DCustomTile.java205 public void handleSetListening(boolean listening) { in handleSetListening() argument
206 if (mListening == listening) return; in handleSetListening()
207 mListening = listening; in handleSetListening()
209 if (listening) { in handleSetListening()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
DFakeRotationLockController.java29 public void setListening(boolean listening) { in setListening() argument

123