Home
last modified time | relevance | path

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

1234

/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardSecurityModel.java73 KeyguardUpdateMonitor monitor = KeyguardUpdateMonitor.getInstance(mContext); in isBiometricUnlockSuppressed() local
74 final boolean backupIsTimedOut = monitor.getFailedUnlockAttempts() >= in isBiometricUnlockSuppressed()
76 return monitor.getMaxBiometricUnlockAttemptsReached() || backupIsTimedOut in isBiometricUnlockSuppressed()
77 || !monitor.isAlternateUnlockEnabled() in isBiometricUnlockSuppressed()
78 || monitor.getPhoneState() != TelephonyManager.CALL_STATE_IDLE; in isBiometricUnlockSuppressed()
82 KeyguardUpdateMonitor monitor = KeyguardUpdateMonitor.getInstance(mContext); in getSecurityMode() local
85 monitor.getNextSubIdForState(IccCardConstants.State.PIN_REQUIRED))) { in getSecurityMode()
88 monitor.getNextSubIdForState(IccCardConstants.State.PUK_REQUIRED)) in getSecurityMode()
DKeyguardFaceUnlockView.java210 KeyguardUpdateMonitor monitor = KeyguardUpdateMonitor.getInstance(mContext); in maybeStartBiometricUnlock() local
212 monitor.getFailedUnlockAttempts() >= in maybeStartBiometricUnlock()
234 if (monitor.getPhoneState() == TelephonyManager.CALL_STATE_IDLE in maybeStartBiometricUnlock()
235 && monitor.isAlternateUnlockEnabled() in maybeStartBiometricUnlock()
236 && !monitor.getMaxBiometricUnlockAttemptsReached() in maybeStartBiometricUnlock()
DKeyguardSecurityContainer.java274 final KeyguardUpdateMonitor monitor = KeyguardUpdateMonitor.getInstance(mContext); in reportFailedUnlockAttempt() local
275 final int failedAttempts = monitor.getFailedUnlockAttempts() + 1; // +1 for this time in reportFailedUnlockAttempt()
329 monitor.reportFailedUnlockAttempt(); in reportFailedUnlockAttempt()
498 KeyguardUpdateMonitor monitor = KeyguardUpdateMonitor.getInstance(mContext);
500 monitor.clearFailedUnlockAttempts();
504 monitor.reportFailedBiometricUnlockAttempt();
DKeyguardSimPinView.java76 KeyguardUpdateMonitor monitor = KeyguardUpdateMonitor.getInstance(mContext); in resetState() local
77 mSubId = monitor.getNextSubIdForState(IccCardConstants.State.PIN_REQUIRED); in resetState()
86 SubscriptionInfo info = monitor.getSubscriptionInfoForSubId(mSubId); in resetState()
DKeyguardSimPukView.java119 KeyguardUpdateMonitor monitor = KeyguardUpdateMonitor.getInstance(mContext); in reset() local
120 mSubId = monitor.getNextSubIdForState(IccCardConstants.State.PUK_REQUIRED); in reset()
129 SubscriptionInfo info = monitor.getSubscriptionInfoForSubId(mSubId); in reset()
/frameworks/base/services/core/java/com/android/server/
DWatchdog.java104 public void addMonitor(Monitor monitor) { in addMonitor() argument
105 mMonitors.add(monitor); in addMonitor()
173 mCurrentMonitor.monitor(); in run()
195 void monitor(); in monitor() method
262 public void addMonitor(Monitor monitor) { in addMonitor() argument
267 mMonitorChecker.addMonitor(monitor); in addMonitor()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DLockSettingsStorageTests.java118 final Object monitor = new Object(); in testKeyValue_Concurrency() local
125 synchronized (monitor) { in testKeyValue_Concurrency()
127 monitor.wait(); in testKeyValue_Concurrency()
147 synchronized (monitor) { in testKeyValue_Concurrency()
148 monitor.notifyAll(); in testKeyValue_Concurrency()
/frameworks/base/core/java/android/app/
DInstrumentation.java609 public void addMonitor(ActivityMonitor monitor) { in addMonitor() argument
614 mActivityMonitors.add(monitor); in addMonitor()
678 public boolean checkMonitorHit(ActivityMonitor monitor, int minHits) { in checkMonitorHit() argument
681 if (monitor.getHits() < minHits) { in checkMonitorHit()
684 mActivityMonitors.remove(monitor); in checkMonitorHit()
698 public Activity waitForMonitor(ActivityMonitor monitor) { in waitForMonitor() argument
699 Activity activity = monitor.waitForActivity(); in waitForMonitor()
701 mActivityMonitors.remove(monitor); in waitForMonitor()
717 public Activity waitForMonitorWithTimeout(ActivityMonitor monitor, long timeOut) { in waitForMonitorWithTimeout() argument
718 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/native/services/inputflinger/
DInputDispatcher.h281 virtual void monitor() = 0;
342 const sp<InputWindowHandle>& inputWindowHandle, bool monitor) = 0;
371 virtual void monitor();
394 const sp<InputWindowHandle>& inputWindowHandle, bool monitor);
803 bool monitor; variable
819 const sp<InputWindowHandle>& inputWindowHandle, bool monitor);
DEventHub.h259 virtual void monitor() = 0;
318 virtual void monitor();
DInputDispatcher.cpp2133 notify = status != DEAD_OBJECT || !connection->monitor; in handleReceiveCallback()
2142 notify = !connection->monitor; in handleReceiveCallback()
3233 connection->getStatusLabel(), toString(connection->monitor), in dumpDispatchStateLocked()
3287 const sp<InputWindowHandle>& inputWindowHandle, bool monitor) { in registerInputChannel() argument
3290 toString(monitor)); in registerInputChannel()
3302 sp<Connection> connection = new Connection(inputChannel, inputWindowHandle, monitor); in registerInputChannel()
3307 if (monitor) { in registerInputChannel()
3351 if (connection->monitor) { in unregisterInputChannelLocked()
3783 void InputDispatcher::monitor() { in monitor() function in android::InputDispatcher
4348 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/base/cmds/media/src/com/android/commands/media/
DMedia.java121 ControllerMonitor monitor = new ControllerMonitor(controller); in runMonitor() local
122 monitor.run(); in runMonitor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
DRecentsPackageMonitor.java35 public void onPackagesChanged(RecentsPackageMonitor monitor, String packageName, in onPackagesChanged() argument
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp183 const sp<InputWindowHandle>& inputWindowHandle, bool monitor);
355 const sp<InputWindowHandle>& inputWindowHandle, bool monitor) { in registerInputChannel() argument
357 inputChannel, inputWindowHandle, monitor); in registerInputChannel()
1118 jlong ptr, jobject inputChannelObj, jobject inputWindowHandleObj, jboolean monitor) { in nativeRegisterInputChannel() argument
1132 env, inputChannel, inputWindowHandle, monitor); in nativeRegisterInputChannel()
1140 if (! monitor) { in nativeRegisterInputChannel()
1340 im->getInputManager()->getReader()->monitor(); in nativeMonitor()
1341 im->getInputManager()->getDispatcher()->monitor(); in nativeMonitor()
/frameworks/base/docs/html/tools/help/
Dmonitor.jd35 <pre>monitor</pre>
/frameworks/native/opengl/libs/GLES2/
Dgl2ext_api.in115 void API_ENTRY(glSelectPerfMonitorCountersAMD)(GLuint monitor, GLboolean enable, GLuint group, GLin…
116 CALL_GL_API(glSelectPerfMonitorCountersAMD, monitor, enable, group, numCounters, counterList);
118 void API_ENTRY(glBeginPerfMonitorAMD)(GLuint monitor) {
119 CALL_GL_API(glBeginPerfMonitorAMD, monitor);
121 void API_ENTRY(glEndPerfMonitorAMD)(GLuint monitor) {
122 CALL_GL_API(glEndPerfMonitorAMD, monitor);
124 void API_ENTRY(glGetPerfMonitorCounterDataAMD)(GLuint monitor, GLenum pname, GLsizei dataSize, GLui…
125 CALL_GL_API(glGetPerfMonitorCounterDataAMD, monitor, pname, dataSize, data, bytesWritten);
/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/tools/studio/
Dindex.jd246 <p>Android Studio provides a memory monitor view so you can more easily monitor your
249 <strong>Memory Monitor</strong> tab in the lower right corner to launch the memory monitor. </p>
251 <img src="{@docRoot}images/tools/studio-memory-monitor.png" />
320 <a href="{@docRoot}tools/help/monitor.html">Android Debug Monitor</a>, you can launch it by
322 <img src="{@docRoot}images/tools/monitor-studio.png" style="vertical-align:bottom;margin:0;height:1…
/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>

1234