Home
last modified time | relevance | path

Searched refs:monitor (Results 1 – 25 of 77) sorted by relevance

1234

/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardSecurityModel.java68 KeyguardUpdateMonitor monitor = KeyguardUpdateMonitor.getInstance(mContext); in isBiometricUnlockSuppressed() local
69 final boolean backupIsTimedOut = monitor.getFailedUnlockAttempts() >= in isBiometricUnlockSuppressed()
71 return monitor.getMaxBiometricUnlockAttemptsReached() || backupIsTimedOut in isBiometricUnlockSuppressed()
72 || !monitor.isAlternateUnlockEnabled() in isBiometricUnlockSuppressed()
73 || monitor.getPhoneState() != TelephonyManager.CALL_STATE_IDLE; in isBiometricUnlockSuppressed()
DKeyguardFaceUnlockView.java212 KeyguardUpdateMonitor monitor = KeyguardUpdateMonitor.getInstance(mContext); in maybeStartBiometricUnlock() local
214 monitor.getFailedUnlockAttempts() >= in maybeStartBiometricUnlock()
239 if (monitor.getPhoneState() == TelephonyManager.CALL_STATE_IDLE in maybeStartBiometricUnlock()
240 && monitor.isAlternateUnlockEnabled() in maybeStartBiometricUnlock()
241 && !monitor.getMaxBiometricUnlockAttemptsReached() in maybeStartBiometricUnlock()
DKeyguardSelectorView.java184 final KeyguardUpdateMonitor monitor = KeyguardUpdateMonitor.getInstance(getContext()); in updateTargets() local
185 boolean disabledBySimState = monitor.isSimLocked(); in updateTargets()
/frameworks/base/services/java/com/android/server/
DWatchdog.java111 public void addMonitor(Monitor monitor) { in addMonitor() argument
112 mMonitors.add(monitor); in addMonitor()
180 mCurrentMonitor.monitor(); in run()
202 void monitor(); in monitor() method
271 public void addMonitor(Monitor monitor) { in addMonitor() argument
276 mMonitorChecker.addMonitor(monitor); in addMonitor()
/frameworks/base/core/java/android/app/
DInstrumentation.java604 public void addMonitor(ActivityMonitor monitor) { in addMonitor() argument
609 mActivityMonitors.add(monitor); in addMonitor()
673 public boolean checkMonitorHit(ActivityMonitor monitor, int minHits) { in checkMonitorHit() argument
676 if (monitor.getHits() < minHits) { in checkMonitorHit()
679 mActivityMonitors.remove(monitor); in checkMonitorHit()
693 public Activity waitForMonitor(ActivityMonitor monitor) { in waitForMonitor() argument
694 Activity activity = monitor.waitForActivity(); in waitForMonitor()
696 mActivityMonitors.remove(monitor); in waitForMonitor()
712 public Activity waitForMonitorWithTimeout(ActivityMonitor monitor, long timeOut) { in waitForMonitorWithTimeout() argument
713 Activity activity = monitor.waitForActivityWithTimeout(timeOut); in waitForMonitorWithTimeout()
[all …]
/frameworks/base/docs/html/training/activity-testing/
Dactivity-functional-testing.jd80 <p>The test waits for an {@link android.app.Activity} that matches this monitor,
90 <p>To monitor a single {@link android.app.Activity} in your application, you
94 If a match is found, the monitor’s hit count is updated.</p>
106 <li>Verify that the monitor hits were incremented.</li>
107 <li>Remove the monitor.</li>
/frameworks/base/tests/AccessoryDisplay/
DREADME13 a monitor or video dock that the user will want to plug a phone into.
28 play content to an external monitor.
/frameworks/base/cmds/media/src/com/android/commands/media/
DMedia.java222 RemoteDisplayMonitor monitor = new RemoteDisplayMonitor(); in runRemoteDisplay() local
223 monitor.run(); in runRemoteDisplay()
/frameworks/native/opengl/libs/GLES2/
Dgl2ext_api.in73 void API_ENTRY(glSelectPerfMonitorCountersAMD)(GLuint monitor, GLboolean enable, GLuint group, GLin…
74 CALL_GL_API(glSelectPerfMonitorCountersAMD, monitor, enable, group, numCounters, countersList);
76 void API_ENTRY(glBeginPerfMonitorAMD)(GLuint monitor) {
77 CALL_GL_API(glBeginPerfMonitorAMD, monitor);
79 void API_ENTRY(glEndPerfMonitorAMD)(GLuint monitor) {
80 CALL_GL_API(glEndPerfMonitorAMD, monitor);
82 void API_ENTRY(glGetPerfMonitorCounterDataAMD)(GLuint monitor, GLenum pname, GLsizei dataSize, GLui…
83 CALL_GL_API(glGetPerfMonitorCounterDataAMD, monitor, pname, dataSize, data, bytesWritten);
/frameworks/base/services/input/
DInputDispatcher.h284 virtual void monitor() = 0;
345 const sp<InputWindowHandle>& inputWindowHandle, bool monitor) = 0;
374 virtual void monitor();
397 const sp<InputWindowHandle>& inputWindowHandle, bool monitor);
805 bool monitor; variable
821 const sp<InputWindowHandle>& inputWindowHandle, bool monitor);
DEventHub.h257 virtual void monitor() = 0;
316 virtual void monitor();
DInputDispatcher.cpp2143 notify = status != DEAD_OBJECT || !connection->monitor; in handleReceiveCallback()
2152 notify = !connection->monitor; in handleReceiveCallback()
3207 connection->getStatusLabel(), toString(connection->monitor), in dumpDispatchStateLocked()
3261 const sp<InputWindowHandle>& inputWindowHandle, bool monitor) { in registerInputChannel() argument
3264 toString(monitor)); in registerInputChannel()
3276 sp<Connection> connection = new Connection(inputChannel, inputWindowHandle, monitor); in registerInputChannel()
3281 if (monitor) { in registerInputChannel()
3325 if (connection->monitor) { in unregisterInputChannelLocked()
3757 void InputDispatcher::monitor() { in monitor() function in android::InputDispatcher
4296 const sp<InputWindowHandle>& inputWindowHandle, bool monitor) : in Connection() argument
[all …]
/frameworks/base/docs/html/training/monitoring-device-state/
Dbattery-monitoring.jd80 monitor the charging state for changes and alter your refresh rate accordingly.</p>
130 <p>You can't easily continually monitor the battery state, but you don't need to.</p>
133 impact on the battery than your app's normal behavior, so it's good practice to only monitor
154 lesson shows you how to determine the current dock state and monitor for changes in device
Dindex.jd27 host device. After this class you will be able to build apps that monitor modify their functionality
48 determine, and monitor, the docking state and type of dock being used to affect your app's
Dmanifest-receivers.jd30 <p>The simplest way to monitor device state changes is to create a {@link
/frameworks/native/opengl/libs/
Ddebug.in5 TRACE_GL_VOID(glBeginPerfMonitorAMD, (GLuint monitor), (monitor), 1, "GLuint", monitor)
59 TRACE_GL_VOID(glEndPerfMonitorAMD, (GLuint monitor), (monitor), 1, "GLuint", monitor)
111 …int monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten), (monitor, pname, …
204monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *countersList), (monitor, enabl…
/frameworks/base/services/jni/
Dcom_android_server_input_InputManagerService.cpp171 const sp<InputWindowHandle>& inputWindowHandle, bool monitor);
340 const sp<InputWindowHandle>& inputWindowHandle, bool monitor) { in registerInputChannel() argument
342 inputChannel, inputWindowHandle, monitor); in registerInputChannel()
1085 jint ptr, jobject inputChannelObj, jobject inputWindowHandleObj, jboolean monitor) { in nativeRegisterInputChannel() argument
1099 env, inputChannel, inputWindowHandle, monitor); in nativeRegisterInputChannel()
1107 if (! monitor) { in nativeRegisterInputChannel()
1291 im->getInputManager()->getReader()->monitor(); in nativeMonitor()
1292 im->getInputManager()->getDispatcher()->monitor(); in nativeMonitor()
/frameworks/native/opengl/include/GLES2/
Dgl2ext.h855 GL_APICALL void GL_APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuin…
856 GL_APICALL void GL_APIENTRY glBeginPerfMonitorAMD (GLuint monitor);
857 GL_APICALL void GL_APIENTRY glEndPerfMonitorAMD (GLuint monitor);
858 GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei d…
867 typedef void (GL_APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable…
868 typedef void (GL_APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor);
869 typedef void (GL_APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor);
870 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GL…
/frameworks/base/docs/html/tools/help/
Dmonitor.jd34 <pre>monitor</pre>
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSmsUsageMonitorShortCodeTest.java460 SmsUsageMonitor monitor = new SmsUsageMonitor(getContext()); in testSmsUsageMonitor() local
463 test.category, monitor.checkDestination(test.address, test.countryIso)); in testSmsUsageMonitor()
/frameworks/base/docs/html/guide/topics/sensors/
Dsensors_overview.jd11 <li>Find out how to list sensors, determine sensor capabilities, and monitor sensor data.</li>
18 <li><a href="#sensors-monitor">Monitoring Sensor Events</a></li>
55 precision and accuracy, and are useful if you want to monitor three-dimensional device movement or
56 positioning, or you want to monitor changes in the ambient environment near a device. For example, a
92 <li>Register and unregister sensor event listeners that monitor sensor changes.</li>
452 needs to monitor user gestures such as tilt and shake, you could create one set of data filtering
512 href="#sensors-monitor">Monitoring Sensor Events</a>.</p>
514 <h2 id="sensors-monitor">Monitoring Sensor Events</h2>
516 <p>To monitor raw sensor data you need to implement two callback methods that are exposed through
545 android.hardware.SensorEventListener#onSensorChanged onSensorChanged()} method to monitor data from
/frameworks/base/docs/html/training/managing-audio/
Daudio-focus.jd128 monitor changes in audio focus and be prepared to resume playback where it was paused once you’ve
183 The next lesson demonstrates how to monitor them to improve the user’s overall experience.</p>
/frameworks/base/services/java/com/android/server/print/
DPrintManagerService.java400 PackageMonitor monitor = new PackageMonitor() { in registerBoradcastReceivers() local
502 monitor.register(mContext, BackgroundThread.getHandler().getLooper(), in registerBoradcastReceivers()
/frameworks/base/docs/html/guide/topics/manifest/
Dinstrumentation-element.jd20 to monitor an application's interaction with the system. The Instrumentation
/frameworks/base/docs/html/training/location/
Dindex.jd41 get periodic location updates, look up addresses, create and monitor geofences, and

1234