Searched refs:trigger (Results 1 - 19 of 19) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DSelfRecoveryTest.java43 * Verifies that invocations of {@link SelfRecovery#trigger(int)} with valid reasons will send
48 mSelfRecovery.trigger(SelfRecovery.REASON_LAST_RESORT_WATCHDOG);
52 mSelfRecovery.trigger(SelfRecovery.REASON_HAL_CRASH);
56 mSelfRecovery.trigger(SelfRecovery.REASON_WIFICOND_CRASH);
63 * Verifies that invocations of {@link SelfRecovery#trigger(int)} with invalid reasons will not
68 mSelfRecovery.trigger(-1);
71 mSelfRecovery.trigger(8);
H A DWifiStateMachineTest.java525 // get the SoftApManager.Listener and trigger some updates
530 // note, this will trigger a mode change when TestLooper is dispatched
1549 // Now trigger the death notification.
1554 verify(mSelfRecovery).trigger(eq(SelfRecovery.REASON_HAL_CRASH));
1571 // Now trigger the death notification.
1576 verify(mSelfRecovery).trigger(eq(SelfRecovery.REASON_WIFICOND_CRASH));
1580 // Now trigger the network connection event for adding the WPS network.
H A DWifiLastResortWatchdogTest.java886 * can't cause a trigger though)
987 * Expected Behavior: Watchdog does not trigger
1003 // does not trigger, with only 3 over threshold
1030 // does not trigger
1091 // Increment failure count 5 more times, watchdog should not trigger
1154 // Increment failure count 5 more times, watchdog should not trigger
1167 * Expected behavior: The watchdog does not trigger
1210 * Case 21: Test Trigger Condition, Conditions right to trigger, but wifi is connected
1214 * Expected behavior: The watchdog does not trigger
1282 verify(mSelfRecovery).trigger(e
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DSelfRecovery.java61 public void trigger(int reason) { method in class:SelfRecovery
63 Log.e(TAG, "Invalid trigger reason. Ignoring...");
H A DHalDeviceManager.java229 * Removes (releases/destroys) the given interface. Will trigger any registered
1181 cb.trigger();
1783 listener.trigger();
1801 listener.trigger();
1818 listener.trigger();
1844 void trigger() { method in class:HalDeviceManager.ListenerProxy
H A DWifiLastResortWatchdog.java60 * Failure count that each available networks must meet to possibly trigger the Watchdog
76 // Is Watchdog allowed to trigger now? Set to false after triggering. Set to true after
190 // Have we met conditions to trigger the Watchdog Wifi restart?
199 mSelfRecovery.trigger(SelfRecovery.REASON_LAST_RESORT_WATCHDOG);
200 // increment various watchdog trigger count stats
219 // WiFi has connected after a Watchdog trigger, without any new networks becoming
226 // If the watchdog trigger was disabled (it triggered), connecting means we did
300 * Check trigger condition: For all available networks, have we met a failure threshold for each
302 * @return is the trigger condition true
306 // Don't check Watchdog trigger i
[all...]
H A DWifiStateMachine.java615 * Indicates the end of boot process, should be used to trigger load from config store,
1306 // We're already connected to the user specified network, don't trigger a
3380 // - in the case of a roaming event (intra-SSID), we probably trigger when L2 is
3976 mWifiInjector.getSelfRecovery().trigger(SelfRecovery.REASON_WIFICOND_CRASH);
3981 mWifiInjector.getSelfRecovery().trigger(SelfRecovery.REASON_HAL_CRASH);
4211 // Transitioning to Disconnected state will trigger a scan and subsequently AutoJoin
4876 // If the app has all the necessary permissions, this will trigger a connect
5515 //return true but to not trigger the scan
5758 // and thus, trigger a real disconnect
7024 * Returns whether CMD_IP_REACHABILITY_LOST events should trigger disconnect
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
H A DWaveTriggerFilter.java46 public synchronized void trigger() { method in class:WaveTriggerFilter
52 if (port.getName().equals("trigger")) {
H A DSmartCamera.java112 ((WaveTriggerFilter) mGraph.getFilter("snapEffect")).trigger();
/frameworks/base/core/java/android/widget/
H A DQuickContactBadge.java347 boolean trigger = false;
352 trigger = true;
366 trigger = true;
389 if (trigger && mContactUri != null) {
390 // Found contact, so trigger QuickContact
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3Device.cpp1681 // Mix-in this trigger into the next request and only the next request.
1682 RequestTrigger trigger[] = { local
1693 return mRequestThread->queueTrigger(trigger,
1694 sizeof(trigger)/sizeof(trigger[0]));
1702 // Mix-in this trigger into the next request and only the next request.
1703 RequestTrigger trigger[] = { local
1714 return mRequestThread->queueTrigger(trigger,
1715 sizeof(trigger)/sizeof(trigger[
1724 RequestTrigger trigger[] = { local
3458 queueTrigger( RequestTrigger trigger[], size_t count) argument
3483 queueTriggerLocked( RequestTrigger trigger) argument
4353 RequestTrigger trigger = mTriggerMap.valueAt(i); local
4437 RequestTrigger trigger = mTriggerReplacedMap.valueAt(i); local
4475 RequestTrigger trigger = mTriggerRemovedMap.valueAt(i); local
[all...]
H A DCamera3Device.h604 // Metadata value, e.g. 'START' or the trigger ID
663 * Queue a trigger to be dispatched with the next outgoing
665 * will be temporarily rewritten to add the trigger tag/value.
668 status_t queueTrigger(RequestTrigger trigger[], size_t count);
715 status_t queueTriggerLocked(RequestTrigger trigger);
722 // HAL workaround: Make sure a trigger ID always exists if
723 // a trigger does
1014 // trigger cancel.
/frameworks/base/services/core/java/com/android/server/job/controllers/
H A DContentObserverController.java98 Slog.i(TAG, "Tracking content-trigger job " + taskStatus);
104 // any pending content URI trigger reports.
168 // any pending content URI trigger reports.
253 mInstance.trigger();
313 void trigger() { method in class:ContentObserverController.JobInstance
409 JobInfo.TriggerContentUri trigger = observersOfUser.keyAt(observerIdx);
410 pw.print(trigger.getUri());
412 pw.print(Integer.toHexString(trigger.getFlags()));
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DAndroidCamera2AgentImpl.java205 // Available in FOCUS_LOCKED between AF trigger receipt and whenever the lens stops moving:
208 // Available when taking picture between AE trigger receipt and autoexposure convergence
441 // Send a one-time capture to trigger the camera driver to lock focus.
443 Camera2RequestSettingsSet trigger =
445 trigger.set(CaptureRequest.CONTROL_AF_TRIGGER,
449 trigger.createRequest(mCamera, CameraDevice.TEMPLATE_PREVIEW,
470 // Send a one-time capture to trigger the camera driver to resume scanning.
578 // trigger capture has made it into the pipeline, we'll start checking
621 // Set a one-time capture to trigger the camera driver's autoexposure:
/frameworks/base/tools/apilint/
H A Dapilint.py686 def error_if_exists(methods, trigger, expected, actual):
689 error(clazz, m, "M6", "Symmetric method for %s must be named %s" % (trigger, expected))
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskStackView.java1581 // Rebind all the task views. This will not trigger new resources to be loaded
1685 // If the doze trigger has already fired, then update the state for this task view
1984 // Poke the doze trigger on user interaction
2145 ReferenceCountedTrigger trigger = new ReferenceCountedTrigger();
2146 mAnimationHelper.startEnterAnimation(trigger);
2149 trigger.addLastDecrementRunnable(() -> {
2150 // Start the dozer to trigger to trigger any UI that shows after a timeout
/frameworks/av/services/audioflinger/
H A DAudioFlinger.h327 void trigger() { Mutex::Autolock _l(mLock); if (mCallback) mCallback(this); } function in class:android::AudioFlinger::SyncEvent
H A DTracks.cpp868 // remove from active track list, reset(), and trigger presentation complete
1085 mSyncEvents[i]->trigger();
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 572 milliseconds