Home
last modified time | relevance | path

Searched refs:trigger (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSelfRecoveryTest.java63 mSelfRecovery.trigger(SelfRecovery.REASON_LAST_RESORT_WATCHDOG); in testValidTriggerReasonsSendMessageToWifiController()
69 mSelfRecovery.trigger(SelfRecovery.REASON_WIFINATIVE_FAILURE); in testValidTriggerReasonsSendMessageToWifiController()
80 mSelfRecovery.trigger(-1); in testInvalidTriggerReasonsDoesNotSendMessageToWifiController()
83 mSelfRecovery.trigger(8); in testInvalidTriggerReasonsDoesNotSendMessageToWifiController()
92 mSelfRecovery.trigger(SelfRecovery.REASON_STA_IFACE_DOWN); in testStaIfaceDownDisablesWifi()
107 mSelfRecovery.trigger(SelfRecovery.REASON_WIFINATIVE_FAILURE); in testTimeWindowLimiting_typicalUse()
113 mSelfRecovery.trigger(SelfRecovery.REASON_WIFINATIVE_FAILURE); in testTimeWindowLimiting_typicalUse()
119 mSelfRecovery.trigger(SelfRecovery.REASON_WIFINATIVE_FAILURE); in testTimeWindowLimiting_typicalUse()
125 mSelfRecovery.trigger(SelfRecovery.REASON_LAST_RESORT_WATCHDOG); in testTimeWindowLimiting_typicalUse()
130 mSelfRecovery.trigger(SelfRecovery.REASON_STA_IFACE_DOWN); in testTimeWindowLimiting_typicalUse()
[all …]
DWifiMetricsTest.java2966 int[] trigger = mTestUnusableEvents[index]; in generateUnusableEventAtGivenTime() local
2967 when(mFacade.getMobileTxBytes()).thenReturn((long) trigger[9]); in generateUnusableEventAtGivenTime()
2968 when(mFacade.getMobileRxBytes()).thenReturn((long) trigger[10]); in generateUnusableEventAtGivenTime()
2969 when(mFacade.getTotalTxBytes()).thenReturn((long) trigger[11]); in generateUnusableEventAtGivenTime()
2970 when(mFacade.getTotalRxBytes()).thenReturn((long) trigger[12]); in generateUnusableEventAtGivenTime()
2971 mWifiMetrics.incrementWifiScoreCount(trigger[1]); in generateUnusableEventAtGivenTime()
2972 mWifiMetrics.incrementWifiUsabilityScoreCount(1, trigger[8], 15); in generateUnusableEventAtGivenTime()
2973 mWifiMetrics.updateWifiIsUnusableLinkLayerStats(trigger[2], trigger[3], trigger[4], in generateUnusableEventAtGivenTime()
2974 trigger[5], trigger[6]); in generateUnusableEventAtGivenTime()
2976 switch(trigger[0]) { in generateUnusableEventAtGivenTime()
[all …]
/frameworks/base/cmds/statsd/tests/utils/
DMultiConditionTrigger_test.cpp44 MultiConditionTrigger trigger(conditionNames, [&lock, &cv, &triggerCalled] { in TEST() local
57 threads.emplace_back([&done, &conditionName, &trigger, i] { in TEST()
60 trigger.markComplete(conditionName); in TEST()
84 MultiConditionTrigger trigger({}, [&lock, &cv, &triggerCalled] { in TEST() local
106 MultiConditionTrigger trigger(conditionNames, [&lock, &cv, &triggerCalled] { in TEST() local
114 trigger.markComplete(t1); in TEST()
115 trigger.markComplete(t1); in TEST()
123 trigger.markComplete(t2); in TEST()
138 MultiConditionTrigger trigger(conditionNames, [&lock, &cv, &triggerCalled, &triggerCount] { in TEST() local
147 trigger.markComplete(t1); in TEST()
[all …]
/frameworks/av/services/mediametrics/
DAnalyticsActions.h97 for (const auto &[trigger, action] : mFilters) { in getActionsForItem()
98 if (isWildcardMatch(trigger, item) == in getActionsForItem()
111 static inline bool isMatch(const Trigger& trigger, in isMatch() argument
113 const auto& [key, elem] = trigger; in isMatch()
120 static inline int isWildcardMatch(const Trigger& trigger, in isWildcardMatch() argument
122 const auto& [key, elem] = trigger; in isWildcardMatch()
/frameworks/base/data/keyboards/
DVendor_054c_Product_0268.kl49 # L2 trigger
52 # R2 trigger
55 # L1 trigger
58 # R1 trigger
DVendor_054c_Product_0268_Version_8000.kl45 # L2 trigger
48 # R2 trigger
DVendor_054c_Product_0268_Version_8100.kl45 # L2 trigger
48 # R2 trigger
DVendor_054c_Product_0268_Version_8111.kl45 # L2 trigger
48 # R2 trigger
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeConditions.java66 public void evaluateConfig(ZenModeConfig config, ComponentName trigger, in evaluateConfig() argument
78 evaluateRule(automaticRule, current, trigger, processSubscriptions); in evaluateConfig()
123 private void evaluateRule(ZenRule rule, ArraySet<Uri> current, ComponentName trigger, in evaluateRule() argument
155 if (processSubscriptions && ((trigger != null && trigger.equals(rule.component)) in evaluateRule()
/frameworks/base/cmds/statsd/src/utils/
DMultiConditionTrigger.cpp29 function<void()> trigger) in MultiConditionTrigger() argument
31 mTrigger(trigger), in MultiConditionTrigger()
DMultiConditionTrigger.h36 std::function<void()> trigger);
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DContentObserverController.java236 mInstance.trigger(); in run()
296 void trigger() { in trigger() method in ContentObserverController.JobInstance
394 JobInfo.TriggerContentUri trigger = observersOfUser.keyAt(observerIdx); in dumpControllerStateLocked() local
395 pw.print(trigger.getUri()); in dumpControllerStateLocked()
397 pw.print(Integer.toHexString(trigger.getFlags())); in dumpControllerStateLocked()
493 JobInfo.TriggerContentUri trigger = observersOfUser.keyAt(observerIdx); in dumpControllerStateLocked() local
494 Uri u = trigger.getUri(); in dumpControllerStateLocked()
498 proto.write(TriggerContentData.FLAGS, trigger.getFlags()); in dumpControllerStateLocked()
/frameworks/base/core/java/android/widget/
DQuickContactBadge.java349 boolean trigger = false; in onQueryComplete()
354 trigger = true; in onQueryComplete()
368 trigger = true; in onQueryComplete()
391 if (trigger && mContactUri != null) { in onQueryComplete()
/frameworks/base/tests/SmokeTestApps/
DREADME2 to trigger the smoke tests to fail. They are otherwise not useful.
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.cpp1934 RequestTrigger trigger[] = { in triggerAutofocus() local
1945 return mRequestThread->queueTrigger(trigger, in triggerAutofocus()
1946 sizeof(trigger)/sizeof(trigger[0])); in triggerAutofocus()
1955 RequestTrigger trigger[] = { in triggerCancelAutofocus() local
1966 return mRequestThread->queueTrigger(trigger, in triggerCancelAutofocus()
1967 sizeof(trigger)/sizeof(trigger[0])); in triggerCancelAutofocus()
1976 RequestTrigger trigger[] = { in triggerPrecaptureMetering() local
1987 return mRequestThread->queueTrigger(trigger, in triggerPrecaptureMetering()
1988 sizeof(trigger)/sizeof(trigger[0])); in triggerPrecaptureMetering()
3830 RequestTrigger trigger[], in queueTrigger() argument
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DWaveTriggerFilter.java46 public synchronized void trigger() { in trigger() method in WaveTriggerFilter
DSmartCamera.java112 ((WaveTriggerFilter) mGraph.getFilter("snapEffect")).trigger(); in captureImages()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSelfRecovery.java87 public void trigger(@RecoveryReason int reason) { in trigger() method in SelfRecovery
DBssidBlocklistMonitor.java532 public void add(BssidStatus bssidStatus, String trigger) { in add() argument
542 sb.append(", trigger=" + trigger); in add()
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/
DBmgr.java330 private final Object trigger = new Object(); field in Bmgr.Observer
345 synchronized (trigger) { in backupFinished()
347 trigger.notify(); in backupFinished()
365 synchronized (trigger) { in waitForCompletion()
369 trigger.wait(1000L); in waitForCompletion()
/frameworks/base/core/proto/android/os/
Dheader.proto41 // Details about the trigger. com.android.os.AlertTriggerDetails
/frameworks/base/tools/dump-coverage/
DREADME.md3 …tomatically starts recording data on process start, and we need a way to trigger the resetting or …
/frameworks/base/cmds/statsd/src/metrics/
Dmetrics_manager_util.cpp88 const int64_t trigger, const int metricIndex, in handlePullMetricTriggerWithLogTrackers() argument
92 auto logTrackerIt = logTrackerMap.find(trigger); in handlePullMetricTriggerWithLogTrackers()
94 ALOGW("cannot find the AtomMatcher \"%lld\" in config", (long long)trigger); in handlePullMetricTriggerWithLogTrackers()
100 (long long)trigger); in handlePullMetricTriggerWithLogTrackers()
/frameworks/native/services/surfaceflinger/sysprop/
DSurfaceFlingerProperties.sysprop346 # This value is used by the Scheduler to trigger touch inactivity callbacks that will switch the
357 # This value is used by the Scheduler to trigger display power inactivity callbacks that will
428 # SurfaceFlinger wakeups will trigger this boost whenever they are separated by more than this
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCamera2AgentImpl.java443 Camera2RequestSettingsSet trigger = in handleMessage() local
445 trigger.set(CaptureRequest.CONTROL_AF_TRIGGER, in handleMessage()
449 trigger.createRequest(mCamera, CameraDevice.TEMPLATE_PREVIEW, in handleMessage()

12