Home
last modified time | relevance | path

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

12

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DSelfRecoveryTest.java64 mSelfRecovery.trigger(SelfRecovery.REASON_LAST_RESORT_WATCHDOG); in testValidTriggerReasonsSendMessageToWifiController()
71 mSelfRecovery.trigger(SelfRecovery.REASON_WIFINATIVE_FAILURE); in testValidTriggerReasonsSendMessageToWifiController()
83 mSelfRecovery.trigger(-1); in testInvalidTriggerReasonsDoesNotSendMessageToWifiController()
86 mSelfRecovery.trigger(8); in testInvalidTriggerReasonsDoesNotSendMessageToWifiController()
95 mSelfRecovery.trigger(SelfRecovery.REASON_STA_IFACE_DOWN); in testStaIfaceDownDisablesWifi()
110 mSelfRecovery.trigger(SelfRecovery.REASON_WIFINATIVE_FAILURE); in testTimeWindowLimiting_typicalUse()
117 mSelfRecovery.trigger(SelfRecovery.REASON_WIFINATIVE_FAILURE); in testTimeWindowLimiting_typicalUse()
124 mSelfRecovery.trigger(SelfRecovery.REASON_WIFINATIVE_FAILURE); in testTimeWindowLimiting_typicalUse()
132 mSelfRecovery.trigger(SelfRecovery.REASON_LAST_RESORT_WATCHDOG); in testTimeWindowLimiting_typicalUse()
138 mSelfRecovery.trigger(SelfRecovery.REASON_STA_IFACE_DOWN); in testTimeWindowLimiting_typicalUse()
[all …]
DWifiMetricsTest.java3510 int[] trigger = mTestUnusableEvents[index]; in generateUnusableEventAtGivenTime() local
3511 when(mFacade.getMobileTxBytes()).thenReturn((long) trigger[9]); in generateUnusableEventAtGivenTime()
3512 when(mFacade.getMobileRxBytes()).thenReturn((long) trigger[10]); in generateUnusableEventAtGivenTime()
3513 when(mFacade.getTotalTxBytes()).thenReturn((long) trigger[11]); in generateUnusableEventAtGivenTime()
3514 when(mFacade.getTotalRxBytes()).thenReturn((long) trigger[12]); in generateUnusableEventAtGivenTime()
3515 mWifiMetrics.incrementWifiScoreCount(TEST_IFACE_NAME, trigger[1]); in generateUnusableEventAtGivenTime()
3516 mWifiMetrics.incrementWifiUsabilityScoreCount(TEST_IFACE_NAME, 1, trigger[8], 15); in generateUnusableEventAtGivenTime()
3517 mWifiMetrics.updateWifiIsUnusableLinkLayerStats(trigger[2], trigger[3], trigger[4], in generateUnusableEventAtGivenTime()
3518 trigger[5], trigger[6]); in generateUnusableEventAtGivenTime()
3520 switch(trigger[0]) { in generateUnusableEventAtGivenTime()
[all …]
DConcreteClientModeManagerTest.java581 verify(mSelfRecovery).trigger(SelfRecovery.REASON_STA_IFACE_DOWN); in clientModeStartedStopsWhenInterfaceDown()
602 verify(mSelfRecovery, never()).trigger(SelfRecovery.REASON_STA_IFACE_DOWN); in clientModeStartedWithConnectedMacRandDoesNotStopWhenInterfaceDown()
DActiveModeWardenTest.java972 verify(mSelfRecovery).trigger(eq(SelfRecovery.REASON_WIFINATIVE_FAILURE)); in handleWifiNativeFailureDeviceNotShuttingDown()
985 verify(mSelfRecovery, never()).trigger(eq(SelfRecovery.REASON_WIFINATIVE_FAILURE)); in handleWifiNativeFailureDeviceShuttingDown()
997 verify(mSelfRecovery, never()).trigger(eq(SelfRecovery.REASON_WIFINATIVE_FAILURE)); in handleWifiNativeStatusReady()
/packages/modules/StatsD/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 …]
/packages/modules/Virtualization/microdroid/
Dinit.rc65 trigger early-fs
71 trigger fs
72 trigger post-fs
79 trigger late-fs
81 trigger post-fs-data
84 trigger load_persist_props_action
87 trigger load_bpf_programs
90 trigger zygote-start
93 trigger firmware_mounts_complete
95 trigger early-boot
[all …]
/packages/services/Car/service/src/com/android/car/pm/
DVendorServiceInfo.java73 @Trigger int trigger) { in VendorServiceInfo() argument
76 mTrigger = trigger; in VendorServiceInfo()
126 int trigger = TRIGGER_UNLOCKED; in parse() local
162 trigger = TRIGGER_ASAP; in parse()
164 trigger = TRIGGER_UNLOCKED; in parse()
175 return new VendorServiceInfo(cn, bind, userScope, trigger); in parse()
/packages/apps/Provision/src/com/android/provision/
DDpcInfo.java44 public final int trigger; field in DpcInfo
59 int trigger) { in DpcInfo() argument
66 this.trigger = trigger; in DpcInfo()
82 + ", trigger=" + trigger in toString()
DDefaultActivity.java131 intent.putExtra(EXTRA_PROVISIONING_TRIGGER, dpcInfo.trigger); in provisionDeviceOwner()
/packages/apps/Car/libs/car-arch-common/src/com/android/car/arch/common/
DLiveDataFunctions.java216 public static <T, R> LiveData<FutureData<R>> loadingSwitchMap(LiveData<T> trigger,
218 LiveData<R> output = Transformations.switchMap(trigger, func);
221 addSource(trigger, data -> setValue(new FutureData<>(true, null)));
373 @NonNull LiveData<P> trigger,
377 trigger, value, (p, v) -> p == null || !predicate.test(p) ? null : v);
410 @NonNull LiveData<P> trigger,
415 trigger,
451 @NonNull LiveData<P> trigger,
456 trigger,
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/
DSelfRefreshDescriptionLiveData.java62 addSource(stateLiveData, (trigger) -> updateDescription()); in SelfRefreshDescriptionLiveData()
63 addSource(heartBeatLiveData, (trigger) -> updateDescription()); in SelfRefreshDescriptionLiveData()
64 addSource(mNumberLiveData, (trigger) -> updateDescription()); in SelfRefreshDescriptionLiveData()
65 addSource(mConnectTimeLiveData, (trigger) -> updateDescription()); in SelfRefreshDescriptionLiveData()
/packages/apps/Nfc/nci/jni/
DRoutingManager.cpp804 if (action.trigger == NFC_EE_TRIG_SELECT) in nfaEeCallback()
807 action.ee_handle, action.trigger); in nfaEeCallback()
808 else if (action.trigger == NFC_EE_TRIG_APP_INIT) { in nfaEeCallback()
813 fn, action.ee_handle, action.trigger, app_init.len_aid, in nfaEeCallback()
815 } else if (action.trigger == NFC_EE_TRIG_RF_PROTOCOL) in nfaEeCallback()
818 action.ee_handle, action.trigger); in nfaEeCallback()
819 else if (action.trigger == NFC_EE_TRIG_RF_TECHNOLOGY) in nfaEeCallback()
822 action.ee_handle, action.trigger); in nfaEeCallback()
826 action.ee_handle, action.trigger); in nfaEeCallback()
/packages/modules/StatsD/statsd/src/utils/
DMultiConditionTrigger.cpp29 function<void()> trigger) in MultiConditionTrigger() argument
31 mTrigger(trigger), in MultiConditionTrigger()
DMultiConditionTrigger.h36 std::function<void()> trigger);
/packages/providers/MediaProvider/
Dsqlite3.sh40 sqlite3-trigger-upgrade
43 function sqlite3-trigger-upgrade () {
/packages/modules/Wifi/service/java/com/android/server/wifi/
DSelfRecovery.java126 public void trigger(@RecoveryReason int reason) { in trigger() method in SelfRecovery
DHalDeviceManager.java1538 cb.trigger(); in managerStatusListenerDispatch()
2412 listener.trigger(); in dispatchDestroyedListeners()
2435 listener.trigger(); in dispatchAllDestroyedListeners()
2455 void trigger() { in trigger() method in HalDeviceManager.ListenerProxy
DWifiLastResortWatchdog.java365 mWifiInjector.getSelfRecovery().trigger(SelfRecovery.REASON_LAST_RESORT_WATCHDOG); in noteConnectionFailureAndTriggerIfNeeded()
DWifiMetrics.java1907 int trigger = WifiStatsLog.WIFI_CONNECTION_RESULT_REPORTED__TRIGGER__UNKNOWN; in startConnectionEvent() local
1910 trigger = WifiStatsLog.WIFI_CONNECTION_RESULT_REPORTED__TRIGGER__MANUAL; in startConnectionEvent()
1912trigger = WifiStatsLog.WIFI_CONNECTION_RESULT_REPORTED__TRIGGER__AUTOCONNECT_BOOT; in startConnectionEvent()
1914trigger = WifiStatsLog.WIFI_CONNECTION_RESULT_REPORTED__TRIGGER__RECONNECT_SAME_NETWORK; in startConnectionEvent()
1916trigger = WifiStatsLog.WIFI_CONNECTION_RESULT_REPORTED__TRIGGER__AUTOCONNECT_CONFIGURED_NETWORK; in startConnectionEvent()
1918 currentConnectionEvent.mTrigger = trigger; in startConnectionEvent()
DConcreteClientModeManager.java910 mSelfRecovery.trigger(SelfRecovery.REASON_STA_IFACE_DOWN); in processMessage()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/contact/
DContactListViewModel.java95 addSource(mPreferencesLiveData, trigger -> onSortOrderChanged()); in SortedContactListLiveData()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/
DUiCallLogLiveData.java66 addSource(heartBeatLiveData, (trigger) -> updateRelativeTime()); in UiCallLogLiveData()
/packages/modules/SdkExtensions/testing/
DAndroid.bp126 // Output the api files to a special directory that won't trigger an API
/packages/modules/Wifi/service/proto/src/
Dmetrics.proto194 // Total number of times WiFi connected immediately after a Last Resort Watchdog trigger,
428 // WifiLastResortWatchdog time milliseconds delta between trigger and first connection success
1732 // enabled which did not trigger ranging
2301 // Minimum number of txBad to trigger a data stall
2304 // Minimum number of txSuccess to trigger a data stall
2311 // Duration for evaluating Wifi condition to trigger a data stall
2315 // Threshold of Tx throughput below which to trigger a data stall
2319 // Threshold of Rx throughput below which to trigger a data stall
2323 // Threshold of Tx packet error rate above which to trigger a data stall
2327 // Threshold of CCA level above which to trigger a data stall in percentage
/packages/modules/adb/
DSERVICES.TXT214 one byte through the channel, which will trigger the service

12