Home
last modified time | relevance | path

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

123

/frameworks/av/services/mediametrics/include/mediametricsservice/
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/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/
DDesktopModeControllerTest.java391 RunningTaskInfo trigger = new RunningTaskInfo(); in testHandleTransitionRequest_notFreeform_returnsNull() local
392 trigger.configuration.windowConfiguration.setWindowingMode(WINDOWING_MODE_FULLSCREEN); in testHandleTransitionRequest_notFreeform_returnsNull()
395 new TransitionRequestInfo(TRANSIT_TO_FRONT, trigger, null /* remote */)); in testHandleTransitionRequest_notFreeform_returnsNull()
401 RunningTaskInfo trigger = new RunningTaskInfo(); in testHandleTransitionRequest_taskOpen_returnsWct() local
402 trigger.token = new MockToken().token(); in testHandleTransitionRequest_taskOpen_returnsWct()
403 trigger.configuration.windowConfiguration.setWindowingMode(WINDOWING_MODE_FREEFORM); in testHandleTransitionRequest_taskOpen_returnsWct()
406 new TransitionRequestInfo(TRANSIT_OPEN, trigger, null /* remote */)); in testHandleTransitionRequest_taskOpen_returnsWct()
412 RunningTaskInfo trigger = new RunningTaskInfo(); in testHandleTransitionRequest_taskToFront_returnsWct() local
413 trigger.token = new MockToken().token(); in testHandleTransitionRequest_taskToFront_returnsWct()
414 trigger.configuration.windowConfiguration.setWindowingMode(WINDOWING_MODE_FREEFORM); in testHandleTransitionRequest_taskToFront_returnsWct()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DTransitionController.java392 @NonNull WindowContainer trigger) { in requestTransitionIfNeeded() argument
393 return requestTransitionIfNeeded(type, 0 /* flags */, trigger, trigger /* readyGroupRef */); in requestTransitionIfNeeded()
401 @WindowManager.TransitionFlags int flags, @Nullable WindowContainer trigger, in requestTransitionIfNeeded() argument
403 return requestTransitionIfNeeded(type, flags, trigger, readyGroupRef, in requestTransitionIfNeeded()
420 @WindowManager.TransitionFlags int flags, @Nullable WindowContainer trigger, in requestTransitionIfNeeded() argument
439 trigger != null ? trigger.asTask() : null, remoteTransition, displayChange); in requestTransitionIfNeeded()
441 if (trigger != null) { in requestTransitionIfNeeded()
443 collectExistenceChange(trigger); in requestTransitionIfNeeded()
445 collect(trigger); in requestTransitionIfNeeded()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DContentObserverController.java260 mInstance.trigger(); in run()
320 void trigger() { in trigger() method in ContentObserverController.JobInstance
421 JobInfo.TriggerContentUri trigger = observersOfUser.keyAt(observerIdx); in dumpControllerStateLocked() local
422 pw.print(trigger.getUri()); in dumpControllerStateLocked()
424 pw.print(Integer.toHexString(trigger.getFlags())); in dumpControllerStateLocked()
520 JobInfo.TriggerContentUri trigger = observersOfUser.keyAt(observerIdx); in dumpControllerStateLocked() local
521 Uri u = trigger.getUri(); in dumpControllerStateLocked()
525 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/av/services/camera/libcameraservice/device3/
DCamera3Device.cpp1694 RequestTrigger trigger[] = { in triggerAutofocus() local
1705 return mRequestThread->queueTrigger(trigger, in triggerAutofocus()
1706 sizeof(trigger)/sizeof(trigger[0])); in triggerAutofocus()
1715 RequestTrigger trigger[] = { in triggerCancelAutofocus() local
1726 return mRequestThread->queueTrigger(trigger, in triggerCancelAutofocus()
1727 sizeof(trigger)/sizeof(trigger[0])); in triggerCancelAutofocus()
1736 RequestTrigger trigger[] = { in triggerPrecaptureMetering() local
1747 return mRequestThread->queueTrigger(trigger, in triggerPrecaptureMetering()
1748 sizeof(trigger)/sizeof(trigger[0])); in triggerPrecaptureMetering()
2994 RequestTrigger trigger[], in queueTrigger() argument
[all …]
/frameworks/base/tests/SmokeTestApps/
DREADME2 to trigger the smoke tests to fail. They are otherwise not useful.
/frameworks/native/libs/binder/
DFdTrigger.h35 void trigger();
DFdTrigger.cpp38 void FdTrigger::trigger() { in trigger() function in android::FdTrigger
DRpcServer.cpp219 mShutdownTrigger->trigger(); in shutdown()
225 session->mShutdownTrigger->trigger(); in shutdown()
/frameworks/base/core/java/com/android/internal/util/
DPerfettoTrigger.java40 public static void trigger(String triggerName) { in trigger() method in PerfettoTrigger
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DWaveTriggerFilter.java46 public synchronized void trigger() { in trigger() method in WaveTriggerFilter
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/
DAlarmManagerServiceTest.java955 testQuotasDeferralOnSet(trigger -> setTestAlarm(ELAPSED_REALTIME_WAKEUP, trigger, in testStandbyQuotasDeferralOnSet()
963 testQuotasDeferralOnExpiration(trigger -> setTestAlarm(ELAPSED_REALTIME_WAKEUP, trigger, in testStandbyQuotasDeferralOnExpiration()
971 testQuotasNoDeferral(trigger -> setTestAlarm(ELAPSED_REALTIME_WAKEUP, trigger, in testStandbyQuotasNoDeferral()
1788 final long trigger = mNowElapsedTest + 1; in allowWhileIdleCompatHistorySeparate() local
1789 setAllowWhileIdleAlarm(ELAPSED_REALTIME_WAKEUP, trigger, getNewMockPendingIntent(), in allowWhileIdleCompatHistorySeparate()
1791 assertEquals(trigger, mTestTimer.getElapsed()); in allowWhileIdleCompatHistorySeparate()
1821 final long trigger = mNowElapsedTest + 1; in allowWhileIdleCompatHistorySeparate() local
1822 setAllowWhileIdleAlarm(ELAPSED_REALTIME_WAKEUP, trigger, getNewMockPendingIntent(), in allowWhileIdleCompatHistorySeparate()
1824 assertEquals(trigger, mTestTimer.getElapsed()); in allowWhileIdleCompatHistorySeparate()
1947 testQuotasDeferralOnSet(trigger -> setAllowWhileIdleAlarm(ELAPSED_REALTIME_WAKEUP, trigger, in allowWhileIdleAlarmsInBatterySaver()
[all …]
/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/services/core/java/com/android/server/soundtrigger_middleware/
DREADME.md4 Sound Trigger Middleware is a system service that exposes sound trigger functionality (low-power
31 of the sound trigger HAL driver. It has two main implementations, `SoundTriggerHw2Compat` and
104 - Typically, a one or more mutexes that exist in every layer of the sound trigger middleware stack
/frameworks/base/services/core/java/com/android/server/rollback/
DREADME.md49 As mentioned above, it is possible to trigger rollback on device using a shell
56 device. The platform provides several different watchdogs that can trigger
61 There is a package watchdog service running on device that will trigger rollback
200 trigger rollback manually on device:
/frameworks/native/services/inputflinger/docs/
Danr.md18 … the `waitQueue`. If the entry sits in the `waitQueue` past `entry.timeoutTime`, we trigger an ANR.
35 …value. If the nearest timeout value is in the past, InputDispatcher will trigger the ANR for the c…
/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
418 # SurfaceFlinger wakeups will trigger this boost whenever they are separated by more than this

123