Home
last modified time | relevance | path

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

12345

/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeService.java303 private void listenForPulseSignals(boolean listen) { in listenForPulseSignals() argument
304 if (DEBUG) Log.d(mTag, "listenForPulseSignals: " + listen); in listenForPulseSignals()
305 mSigMotionSensor.setListening(listen); in listenForPulseSignals()
306 mPickupSensor.setListening(listen); in listenForPulseSignals()
307 listenForBroadcasts(listen); in listenForPulseSignals()
308 listenForNotifications(listen); in listenForPulseSignals()
311 private void listenForBroadcasts(boolean listen) { in listenForBroadcasts() argument
312 if (listen) { in listenForBroadcasts()
326 private void listenForNotifications(boolean listen) { in listenForNotifications() argument
327 if (listen) { in listenForNotifications()
[all …]
/frameworks/base/core/java/android/net/
DLocalServerSocket.java50 impl.listen(LISTEN_BACKLOG); in LocalServerSocket()
65 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/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/docs/html/work/
Dmanaged-configurations.jd13 <li><a href="#listen-configuration">Listen for Managed Configuration Changes</a></li>
195 configurations are when your app starts or resumes, and listen for a
212 <a href="#listen-configuration">Listen for Managed Configuration
251 starts or resumes, and cache the fetched managed configurations bundle. Then listen
255 <a href="#listen-configuration">Listen for Managed Configuration Changes</a>.
308 <h2 id="listen-configuration">
315 ACTION_APPLICATION_RESTRICTIONS_CHANGED} intent. Your app has to listen for
/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/opt/bluetooth/src/android/bluetooth/client/map/
DBluetoothMapRfcommTransport.java42 public void listen() throws IOException { in listen() method in BluetoothMapRfcommTransport
/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/support/v4/ics/android/support/v4/net/
DDatagramSocketWrapper.java92 protected void listen(int backlog) throws IOException { in listen() method in DatagramSocketWrapper.DatagramSocketImplWrapper
/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/media/java/android/media/
DRemoteDisplay.java71 public static RemoteDisplay listen(String iface, Listener listener, Handler handler, in listen() method in RemoteDisplay
/frameworks/base/docs/html/training/wearables/data-layer/
Devents.jd18 of the call when it completes as well as listen for any changes that
74 wearable, it is usually necessary to listen for important events. Examples of
78 To listen for data layer events, you have two options:
102 listen for any data events from the wearable app.
105 Some of the events you can listen for using <a
131 In addition to those on this list, you can listen for events from
280 change. In such a case, you can listen for events in an activity by
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.
/frameworks/base/docs/html/wear/preview/features/
Dui-nav-actions.jd16 <li><a href="#listen to events">Listen for Drawer Events</a></li>
176 <h2 id="listen to events">Listen for Drawer Events</h2>
177 <p>To listen for drawer events, call {@code setDrawerStateCallback()}on your
/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/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcController.java109 mTelephonyManager.listen(mPhoneStateListener, in DcController()
122 if(mTelephonyManager != null) mTelephonyManager.listen(mPhoneStateListener, 0); in dispose()
/frameworks/base/telephony/java/com/android/internal/telephony/
DITelephonyRegistry.aidl36 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/docs/html/preview/features/
Ddirect-boot.jd117 to listen for unlock notification messages. When the user unlocks the device
122 listen for the {@code ACTION_USER_UNLOCKED} message.</li>
124 notification, listen for the
Dbackground-optimization.jd52 to listen for it, even if those processes may not do much work. This can have
65 listen for {@code CONNECTIVITY_CHANGE} on their main thread by registering a
108 to listen for network changes or perform bulk network activities when the
170 Apps that are running can still listen for {@code CONNECTIVITY_CHANGE} with a
/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/core/java/com/android/server/connectivity/
DDataConnectionStats.java56 phone.listen(mPhoneStateListener, in startMonitoring()
/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

12345