Home
last modified time | relevance | path

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

1234

/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeService.java297 private void listenForPulseSignals(boolean listen) { in listenForPulseSignals() argument
298 if (DEBUG) Log.d(mTag, "listenForPulseSignals: " + listen); in listenForPulseSignals()
299 mSigMotionSensor.setListening(listen); in listenForPulseSignals()
300 mPickupSensor.setListening(listen); in listenForPulseSignals()
301 listenForBroadcasts(listen); in listenForPulseSignals()
302 listenForNotifications(listen); in listenForPulseSignals()
305 private void listenForBroadcasts(boolean listen) { in listenForBroadcasts() argument
306 if (listen) { in listenForBroadcasts()
320 private void listenForNotifications(boolean listen) { in listenForNotifications() argument
321 if (listen) { in listenForNotifications()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DUsageTracker.java48 public void setListening(boolean listen) { in setListening() argument
49 if (listen && !mRegistered) { in setListening()
52 } else if (!listen && mRegistered) { in setListening()
/frameworks/base/core/java/android/net/
DLocalServerSocket.java50 impl.listen(LISTEN_BACKLOG); in LocalServerSocket()
65 impl.listen(LISTEN_BACKLOG); in LocalServerSocket()
/frameworks/base/obex/javax/obex/
DObexTransport.java60 void listen() throws IOException; in listen() method
DServerOperation.java104 ServerRequestHandler listen) throws IOException { in ServerOperation() argument
115 mListener = listen; in ServerOperation()
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
DBluetoothMapRfcommTransport.java42 public void listen() throws IOException { in listen() method in BluetoothMapRfcommTransport
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/
DBluetoothPbapObexTransport.java76 public void listen() throws IOException { in listen() method in BluetoothPbapObexTransport
/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/docs/html/distribute/users/
Dknow-your-user.jd2 page.metaDescription=It\'s essential to understand your users and listen to their input. Here are s…
33 "{@docRoot}distribute/essentials/optimizing-your-app.html#listen-to-your-users">
34 how to listen to users</a>.
/frameworks/base/docs/html/training/graphics/opengl/
Dtouch.jd39 android.opengl.GLSurfaceView#onTouchEvent onTouchEvent()} to listen for touch events.</p>
41 <p>This lesson shows you how to listen for touch events to let users rotate an OpenGL ES object.</p>
48 {@link android.opengl.GLSurfaceView} class. The example implementation below shows how to listen for
/frameworks/base/docs/html/training/wearables/data-layer/
Dindex.jd48 lets you listen for important data layer events in a service. The system manages the lifecycle of
56 in an activity lets you listen for important data layer events when an activity
59 lets you listen for changes only when the user is actively using your app.
Devents.jd18 of the call when it completes as well as listen for any changes that
73 wearable, you normally want to listen for important events, such as when data items
76 <p>To listen for data layer events, you have two options:</p>
99 so the handheld app doesn't listen for any data events from the wearable app.</p>
101 <p>You can listen for the following events with
225 change, you can listen for events in an activity by implementing one or more
/frameworks/base/media/java/android/media/
DRemoteDisplay.java69 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/native/opengl/libs/GLES_trace/src/
Dgltrace_transport.cpp57 if (listen(serverSocket, 1) < 0) { in acceptClientConnection()
/frameworks/base/docs/html/training/monitoring-device-state/
Dconnectivity-monitoring.jd70 <p>Having disabled your updates, it's important that you listen for changes in connectivity in order
79 can register a broadcast receiver in your manifest to listen for these changes and resume (or
/frameworks/base/telephony/java/com/android/internal/telephony/
DITelephonyRegistry.aidl37 void listen(String pkg, IPhoneStateListener callback, int events, boolean notifyNow); in listen() method
/frameworks/base/docs/html/distribute/essentials/
Doptimizing-your-app.jd11 <li><a href="#listen-to-your-users">Listen to Your Users</a></li>
56 <h2 id="listen-to-your-users">
70 listen after launch.
78 You can listen to your users during the development of your apps. This
123 Once you have launched, the most obvious way to listen to users is by reading
375 In usability and in app design too, you should listen carefully to your
459 Again, listen to your users by collecting and responding to feature requests.
/frameworks/base/services/core/java/com/android/server/connectivity/
DDataConnectionStats.java56 phone.listen(mPhoneStateListener, in startMonitoring()
/frameworks/base/docs/html/training/connect-devices-wirelessly/
Dwifi-direct.jd63 <p>To use Wi-Fi P2P, you need to listen for broadcast intents that tell your
66 android.content.IntentFilter} and set it to listen for the following:</p>
119 android.content.BroadcastReceiver} class that you'll use to listen for changes
315 To listen for <em>changes</em> in connection state, implement the {@link
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DSoundTriggerHelper.java143 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE); in startRecognition()
528 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE); in internalClearStateLocked()
/frameworks/base/docs/html/training/accessibility/
Dservice.jd106 // Set the type of events that this service wants to listen to. Others
112 // package names here. Otherwise, when the service is activated, it will listen
169 <p>Now that your service is set up to run and listen for events, write some code
/frameworks/base/docs/html/training/managing-audio/
Daudio-output.jd60 automatically reroutes to the built in speaker. If you listen to your music at as high a volume as I
Dindex.jd55 audio playback. Learn how to request the audio focus, listen for a loss of audio focus, and how to
/frameworks/base/libs/common_time/
Ddiag_thread.cpp117 if (listen(listen_fd_, 1) < 0) { in openListenSocket()

1234