Searched refs:monitor (Results 1 - 25 of 27) sorted by relevance

12

/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardSecurityModel.java68 KeyguardUpdateMonitor monitor = KeyguardUpdateMonitor.getInstance(mContext);
69 final boolean backupIsTimedOut = monitor.getFailedUnlockAttempts() >=
71 return monitor.getMaxBiometricUnlockAttemptsReached() || backupIsTimedOut
72 || !monitor.isAlternateUnlockEnabled()
73 || monitor.getPhoneState() != TelephonyManager.CALL_STATE_IDLE;
H A DKeyguardFaceUnlockView.java155 KeyguardUpdateMonitor monitor = KeyguardUpdateMonitor.getInstance(mContext);
157 monitor.getFailedUnlockAttempts() >=
177 if (monitor.getPhoneState() == TelephonyManager.CALL_STATE_IDLE
178 && !monitor.getMaxBiometricUnlockAttemptsReached()
H A DKeyguardSelectorView.java179 final KeyguardUpdateMonitor monitor = KeyguardUpdateMonitor.getInstance(getContext());
180 boolean disabledBySimState = monitor.isSimLocked();
H A DKeyguardHostView.java466 final KeyguardUpdateMonitor monitor = KeyguardUpdateMonitor.getInstance(mContext);
467 final int failedAttempts = monitor.getFailedUnlockAttempts() + 1; // +1 for this time
512 monitor.reportFailedUnlockAttempt();
/frameworks/base/services/java/com/android/server/am/
H A DDeviceMonitor.java44 /** Is the monitor currently running? */
50 monitor();
59 private void monitor() { method in class:DeviceMonitor
/frameworks/base/core/java/android/app/
H A DInstrumentation.java55 * before any of the application code, allowing you to monitor all of the
409 * when a new activity is being started the monitor will be checked and, if
434 * @param which The set of intents this monitor is responsible for.
435 * @param result A canned result to return if the monitor is hit; can
437 * @param block Controls whether the monitor should block the activity
455 * @param cls The activity class this monitor is responsible for.
456 * @param result A canned result to return if the monitor is hit; can
458 * @param block Controls whether the monitor should block the activity
488 * Check whether this monitor blocks activity starts (not allowing the
496 * Retrieve the number of times the monitor ha
597 addMonitor(ActivityMonitor monitor) argument
666 checkMonitorHit(ActivityMonitor monitor, int minHits) argument
686 waitForMonitor(ActivityMonitor monitor) argument
705 waitForMonitorWithTimeout(ActivityMonitor monitor, long timeOut) argument
721 removeMonitor(ActivityMonitor monitor) argument
[all...]
/frameworks/base/services/java/com/android/server/
H A DWatchdog.java45 /** This class calls its monitor every minute. Killing this process if they don't return **/
112 * Used for scheduling monitor callbacks and checking memory usage.
132 mCurrentMonitor.monitor();
171 void monitor(); method in interface:Watchdog.Monitor
216 public void addMonitor(Monitor monitor) { argument
221 mMonitors.add(monitor);
H A DNativeDaemonConnector.java466 public void monitor() { method in class:NativeDaemonConnector
H A DNetworkManagementService.java1512 public void monitor() { method in class:NetworkManagementService
1514 mConnector.monitor();
H A DMountService.java2674 public void monitor() { method in class:MountService
2676 mConnector.monitor();
/frameworks/base/services/input/
H A DEventHub.h240 virtual void monitor() = 0;
297 virtual void monitor();
H A DInputDispatcher.h281 virtual void monitor() = 0;
337 * If monitor is true, the channel will receive a copy of all input events.
342 const sp<InputWindowHandle>& inputWindowHandle, bool monitor) = 0;
371 virtual void monitor();
394 const sp<InputWindowHandle>& inputWindowHandle, bool monitor);
801 bool monitor; member in class:android::InputDispatcher::Connection
817 const sp<InputWindowHandle>& inputWindowHandle, bool monitor);
H A DInputDispatcher.cpp2142 notify = status != DEAD_OBJECT || !connection->monitor;
2151 notify = !connection->monitor;
3179 "status=%s, monitor=%s, inputPublisherBlocked=%s\n",
3181 connection->getStatusLabel(), toString(connection->monitor),
3235 const sp<InputWindowHandle>& inputWindowHandle, bool monitor) {
3237 ALOGD("channel '%s' ~ registerInputChannel - monitor=%s", inputChannel->getName().string(),
3238 toString(monitor));
3250 sp<Connection> connection = new Connection(inputChannel, inputWindowHandle, monitor);
3255 if (monitor) {
3299 if (connection->monitor) {
3234 registerInputChannel(const sp<InputChannel>& inputChannel, const sp<InputWindowHandle>& inputWindowHandle, bool monitor) argument
3729 void InputDispatcher::monitor() { function in class:android::InputDispatcher
4251 Connection(const sp<InputChannel>& inputChannel, const sp<InputWindowHandle>& inputWindowHandle, bool monitor) argument
[all...]
H A DInputReader.h304 virtual void monitor() = 0;
388 virtual void monitor();
H A DEventHub.cpp1188 // If the device isn't recognized as something we handle, don't monitor it.
1509 void EventHub::monitor() {
H A DInputReader.cpp761 void InputReader::monitor() { function in class:android::InputReader
769 mEventHub->monitor();
/frameworks/base/services/jni/
H A Dcom_android_server_input_InputManagerService.cpp170 const sp<InputWindowHandle>& inputWindowHandle, bool monitor);
338 const sp<InputWindowHandle>& inputWindowHandle, bool monitor) {
340 inputChannel, inputWindowHandle, monitor);
1075 jint ptr, jobject inputChannelObj, jobject inputWindowHandleObj, jboolean monitor) {
1089 env, inputChannel, inputWindowHandle, monitor);
1097 if (! monitor) {
1281 im->getInputManager()->getReader()->monitor();
1282 im->getInputManager()->getDispatcher()->monitor();
336 registerInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel, const sp<InputWindowHandle>& inputWindowHandle, bool monitor) argument
1074 nativeRegisterInputChannel(JNIEnv* env, jclass clazz, jint ptr, jobject inputChannelObj, jobject inputWindowHandleObj, jboolean monitor) argument
/frameworks/native/opengl/include/GLES2/
H A Dgl2ext.h855 GL_APICALL void GL_APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *countersList);
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 dataSize, GLuint *data, GLint *bytesWritten);
867 typedef void (GL_APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *countersList);
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, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DSmsUsageMonitorShortCodeTest.java460 SmsUsageMonitor monitor = new SmsUsageMonitor(getContext());
463 test.category, monitor.checkDestination(test.address, test.countryIso));
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_api.h193 void GLTrace_glSelectPerfMonitorCountersAMD(GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *countersList);
194 void GLTrace_glBeginPerfMonitorAMD(GLuint monitor);
195 void GLTrace_glEndPerfMonitorAMD(GLuint monitor);
196 void GLTrace_glGetPerfMonitorCounterDataAMD(GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
H A Dgltrace_api.cpp6943 void GLTrace_glSelectPerfMonitorCountersAMD(GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *countersList) { argument
6949 // copy argument monitor
6953 arg_monitor->add_intvalue(monitor);
6982 glContext->hooks->gl.glSelectPerfMonitorCountersAMD(monitor, enable, group, numCounters, countersList);
6996 void GLTrace_glBeginPerfMonitorAMD(GLuint monitor) { argument
7002 // copy argument monitor
7006 arg_monitor->add_intvalue(monitor);
7011 glContext->hooks->gl.glBeginPerfMonitorAMD(monitor);
7024 void GLTrace_glEndPerfMonitorAMD(GLuint monitor) { argument
7030 // copy argument monitor
7052 GLTrace_glGetPerfMonitorCounterDataAMD(GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten) argument
[all...]
/frameworks/base/services/java/com/android/server/input/
H A DInputManagerService.java167 InputWindowHandle inputWindowHandle, boolean monitor);
1247 public void monitor() { method in class:InputManagerService
166 nativeRegisterInputChannel(int ptr, InputChannel inputChannel, InputWindowHandle inputWindowHandle, boolean monitor) argument
/frameworks/base/services/java/com/android/server/accessibility/
H A DAccessibilityManagerService.java216 PackageMonitor monitor = new PackageMonitor() {
293 monitor.register(mContext, null, UserHandle.ALL, true);
/frameworks/base/services/java/com/android/server/power/
H A DPowerManagerService.java2146 public void monitor() { method in class:PowerManagerService
2147 // Grab and release lock for watchdog monitor to detect deadlocks.
/frameworks/base/services/input/tests/
H A DInputReader_test.cpp690 virtual void monitor() { function in class:android::FakeEventHub

Completed in 335 milliseconds

12