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 …]
DQSFragment.java305 public void setListening(boolean listening) { in setListening() argument
306 if (DEBUG) Log.d(TAG, "setListening " + listening); in setListening()
307 mListening = listening; in setListening()
308 mHeader.setListening(listening); in setListening()
309 mFooter.setListening(listening); in setListening()
314 public void setHeaderListening(boolean listening) { in setHeaderListening() argument
315 mHeader.setListening(listening); in setHeaderListening()
316 mFooter.setListening(listening); in setHeaderListening()
DGlobalSetting.java48 public void setListening(boolean listening) { in setListening() argument
49 if (listening) { in setListening()
DTileLayout.java50 public void setListening(boolean listening) { in setListening() argument
51 if (mListening == listening) return; in setListening()
52 mListening = listening; in setListening()
DQSCarrierGroup.java107 public void setListening(boolean listening) { in setListening() argument
108 if (listening == mListening) { in setListening()
111 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()
DBatterySaverTile.java76 public void handleSetListening(boolean listening) { in handleSetListening() argument
77 mSetting.setListening(listening); in handleSetListening()
DColorInversionTile.java68 public void handleSetListening(boolean listening) { in handleSetListening() argument
69 mSetting.setListening(listening); in handleSetListening()
DNfcTile.java56 public void handleSetListening(boolean listening) { in handleSetListening() argument
57 mListening = listening; in handleSetListening()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DCallbackHandler.java172 public void setListening(EmergencyListener listener, boolean listening) { in setListening() argument
173 obtainMessage(MSG_ADD_REMOVE_EMERGENCY, listening ? 1 : 0, 0, listener).sendToTarget(); in setListening()
176 public void setListening(SignalCallback listener, boolean listening) { in setListening() argument
177 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/tests/net/java/com/android/server/connectivity/tethering/
DUpstreamNetworkMonitorTest.java154 assertTrue(mCM.listening.isEmpty()); in testListensForAllNetworks()
158 assertFalse(mCM.listening.isEmpty()); in testListensForAllNetworks()
563 public Map<NetworkCallback, NetworkRequest> listening = new HashMap<>(); field in UpstreamNetworkMonitorTest.TestConnectivityManager
576 && listening.isEmpty() in hasNoCallbacks()
584 && listening.isEmpty() in onlyHasDefaultCallbacks()
593 for (NetworkRequest req : listening.values()) { in isListeningForAll()
664 assertFalse(listening.containsKey(cb)); in registerNetworkCallback()
665 listening.put(cb, req); in registerNetworkCallback()
687 } else if (listening.containsKey(cb)) { in unregisterNetworkCallback()
688 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