Home
last modified time | relevance | path

Searched refs:action (Results 1 – 25 of 2420) sorted by relevance

12345678910>>...97

/aosp12/packages/apps/Settings/src/com/android/settings/core/instrumentation/
H A DStatsLogWriter.java48 public void action(Context context, int action, Pair<Integer, Object>... taggedData) { in action() method in StatsLogWriter
49 action(SettingsEnums.PAGE_UNKNOWN /* attribution */, in action()
50 action, in action()
57 public void action(Context context, int action, int value) { in action() method in StatsLogWriter
59 action, in action()
66 public void action(Context context, int action, boolean value) { in action() argument
68 action, in action()
75 public void action(Context context, int action, String pkg) { in action() argument
77 action, in action()
84 public void action(int attribution, int action, int pageId, String key, int value) { in action() method in StatsLogWriter
[all …]
H A DSettingsIntelligenceLogWriter.java82 public void action(Context context, int action, Pair<Integer, Object>... taggedData) { in action() method in SettingsIntelligenceLogWriter
84 action, in action()
91 public void action(Context context, int action, int value) { in action() method in SettingsIntelligenceLogWriter
93 action, in action()
100 public void action(Context context, int action, boolean value) { in action() argument
102 action, in action()
109 public void action(Context context, int action, String pkg) { in action() method in SettingsIntelligenceLogWriter
111 action, in action()
118 public void action(int attribution, int action, int pageId, String key, int value) { in action() argument
122 .setAction(action) in action()
[all …]
/aosp12/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
H A DActionServiceImpl.java17 package com.android.messaging.datamodel.action;
58 actionBundle.putParcelable(BUNDLE_ACTION, action); in startAction()
60 action.markStart(); in startAction()
247 Action action; in onHandleWork() local
253 executeAction(action); in onHandleWork()
266 processBackgroundFailure(action); in onHandleWork()
281 private void executeAction(final Action action) { in executeAction() argument
282 action.markBeginExecute(); in executeAction()
287 final Object result = action.executeAction(); in executeAction()
291 action.markEndExecute(result); in executeAction()
[all …]
H A DBackgroundWorkerService.java17 package com.android.messaging.datamodel.action;
60 for (final Action action : actions) { in queueBackgroundWork()
61 startServiceWithAction(action, 0); in queueBackgroundWork()
83 intent.putExtra(EXTRA_ACTION, action); in startServiceWithAction()
117 doBackgroundWork(action, attempt); in onHandleWork()
131 action.markBackgroundWorkStarting(); in doBackgroundWork()
138 response = action.doBackgroundWork(); in doBackgroundWork()
141 action.markBackgroundCompletionQueued(); in doBackgroundWork()
152 action.markBackgroundWorkQueued(); in doBackgroundWork()
153 startServiceWithAction(action, attempt + 1); in doBackgroundWork()
[all …]
H A DActionMonitor.java17 package com.android.messaging.datamodel.action;
89 void onActionStateChanged(Action action, int state); in onActionStateChanged() argument
256 listener.onActionStateChanged(action, newState); in updateState()
274 monitor.updateState(action, expectedOldState, newState); in setState()
294 private final void complete(final Action action, in complete() argument
299 setState(action, expectedOldState, STATE_COMPLETE); in complete()
319 action, mData, result); in complete()
322 action, mData, result); in complete()
364 final void executed(final Action action, in executed() argument
387 action, mData, result); in executed()
[all …]
H A DActionService.java17 package com.android.messaging.datamodel.action;
28 final Action action, final int requestCode, final boolean launchesAnActivity) { in makeStartActionPendingIntent() argument
29 return ActionServiceImpl.makeStartActionPendingIntent(context, action, requestCode, in makeStartActionPendingIntent()
36 public void startAction(final Action action) { in startAction() argument
37 ActionServiceImpl.startAction(action); in startAction()
43 public void scheduleAction(final Action action, final int code, in scheduleAction() argument
45 ActionServiceImpl.scheduleAction(action, code, delayMs); in scheduleAction()
52 final Action action, final Bundle response) { in handleResponseFromBackgroundWorker() argument
53 ActionServiceImpl.handleResponseFromBackgroundWorker(action, response); in handleResponseFromBackgroundWorker()
59 protected void handleFailureFromBackgroundWorker(final Action action, in handleFailureFromBackgroundWorker() argument
[all …]
/aosp12/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/utils/
H A DMockMessageNotificationBuilder.java319 Action action = mock(Action.class); in getMockReplyAction() local
321 when(action.title).thenReturn(TITLE_REPLY); in getMockReplyAction()
332 when(action.isContextual()).thenReturn(false); in getMockReplyAction()
334 return action; in getMockReplyAction()
346 Action action = mock(Action.class); in getMockMuteAction() local
348 when(action.title).thenReturn(TITLE_MUTE); in getMockMuteAction()
359 when(action.isContextual()).thenReturn(false); in getMockMuteAction()
361 return action; in getMockMuteAction()
373 Action action = mock(Action.class); in getMockMarkAsReadAction() local
386 when(action.isContextual()).thenReturn(false); in getMockMarkAsReadAction()
[all …]
/aosp12/system/core/init/
H A Daction_manager.cpp28 for (const auto& action : actions_) { in CheckAllCommands() local
29 failures += action->CheckAllCommands(); in CheckAllCommands()
40 actions_.emplace_back(std::move(action)); in AddAction()
61 action->AddCommand(std::move(func), {name}, 0); in QueueBuiltinAction()
63 event_queue_.emplace(action.get()); in QueueBuiltinAction()
64 actions_.emplace_back(std::move(action)); in QueueBuiltinAction()
72 for (const auto& action : actions_) { in ExecuteOneCommand() local
73 if (std::visit([&action](const auto& event) { return action->CheckEvent(event); }, in ExecuteOneCommand()
94 action->ExecuteOneCommand(current_command_); in ExecuteOneCommand()
103 if (action->oneshot()) { in ExecuteOneCommand()
[all …]
/aosp12/frameworks/base/core/java/com/android/internal/util/
H A DLatencyTracker.java216 for (int action : ACTIONS_ALL) { in updateProperties()
217 mTraceThresholdPerAction[action] = in updateProperties()
292 public void onActionStart(@Action int action) { in onActionStart() argument
293 onActionStart(action, null); in onActionStart()
308 if (mSessions.get(action) != null) { in onActionStart()
313 mSessions.put(action, session); in onActionStart()
326 public void onActionEnd(@Action int action) { in onActionEnd() argument
336 mSessions.delete(action); in onActionEnd()
337 logAction(action, session.duration()); in onActionEnd()
358 mSessions.delete(action); in onActionCancel()
[all …]
/aosp12/frameworks/base/core/java/android/view/
H A DHandlerActionQueue.java32 public void post(Runnable action) { in post() argument
33 postDelayed(action, 0); in post()
36 public void postDelayed(Runnable action, long delayMillis) { in postDelayed() argument
48 public void removeCallbacks(Runnable action) { in removeCallbacks() argument
55 if (actions[i].matches(action)) { in removeCallbacks()
101 return mActions[index].action; in getRunnable()
112 final Runnable action; field in HandlerActionQueue.HandlerAction
115 public HandlerAction(Runnable action, long delay) { in HandlerAction() argument
116 this.action = action; in HandlerAction()
121 return otherAction == null && action == null in matches()
[all …]
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/presets/
H A DUserPresetsAdapter.java58 public void add(Action action) { in add() argument
59 super.add(action); in add()
60 action.setAdapter(this); in add()
63 private void deletePreset(Action action) { in deletePreset() argument
68 remove(action); in deletePreset()
74 rep.setName(action.getName()); in changePreset()
108 Action action = getItem(position); in getView() local
110 if (action.getImage() == null) { in getView()
115 viewHolder.editText.setTag(action); in getView()
145 deletePreset(action); in onClick()
[all …]
/aosp12/build/make/tools/product_config/src/com/android/build/config/
H A DCsvParser.java123 int action = 0; in parse() local
132 action = ACTION_FIELD_COMPLETE; in parse()
137 action = ACTION_APPEND_CHAR; in parse()
148 action = ACTION_FIELD_COMPLETE; in parse()
154 action = ACTION_APPEND_CHAR; in parse()
164 action = ACTION_APPEND_CHAR; in parse()
171 action = ACTION_APPEND_CHAR; in parse()
174 action = ACTION_FIELD_COMPLETE; in parse()
188 action = ACTION_FIELD_COMPLETE; in parse()
194 action = ACTION_APPEND_CHAR; in parse()
[all …]
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
H A DPickActivity.java201 if (mState.action == ACTION_CREATE) { in setupLayout()
244 state.action = ACTION_OPEN; in includeState()
246 state.action = ACTION_CREATE; in includeState()
248 state.action = ACTION_GET_CONTENT; in includeState()
250 state.action = ACTION_OPEN_TREE; in includeState()
255 if (state.action == ACTION_OPEN || state.action == ACTION_GET_CONTENT) { in includeState()
260 if (state.action == ACTION_OPEN || state.action == ACTION_GET_CONTENT in includeState()
317 if (mState.action == ACTION_CREATE) { in onPrepareOptionsMenu()
353 if (mState.action == ACTION_CREATE) { in refreshDirectory()
384 } else if (mState.action == ACTION_OPEN || mState.action == ACTION_GET_CONTENT) { in onDocumentPicked()
[all …]
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
H A DDeviceSelectActionTest.java201 action.setActionTimer(actionTimer); in createDeviceSelectAction()
202 return action; in createDeviceSelectAction()
215 action.start(); in testDeviceSelect_DeviceInPowerOnStatus_Cec14b()
220 action.processCommand(REPORT_POWER_STATUS_ON); in testDeviceSelect_DeviceInPowerOnStatus_Cec14b()
234 action.start(); in testDeviceSelect_DeviceInStandbyStatus_Cec14b()
246 action.processCommand(REPORT_POWER_STATUS_ON); in testDeviceSelect_DeviceInStandbyStatus_Cec14b()
260 action.start(); in testDeviceSelect_DeviceInStandbyStatusWithSomeTimeouts_Cec14b()
287 action.start(); in testDeviceSelect_DeviceInStandbyAfterTimeoutForReportPowerStatus_Cec14b()
317 action.start(); in testDeviceSelect_DeviceInPowerOnStatus_Cec20()
333 action.start(); in testDeviceSelect_DeviceInPowerUnknownStatus_Cec20()
[all …]
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
H A DActionAdapter.java182 Action action = mActions.get(position); in getView() local
188 title.setText(action.getTitle()); in getView()
193 setIndicator(indicatorView, action); in getView()
237 public void addAction(Action action) { in addAction() argument
238 mActions.add(action); in addAction()
279 float titleAlpha = action.isEnabled() && !action.infoOnly() in changeFocus()
283 float chevronAlpha = action.hasNext() && !action.infoOnly() in changeFocus()
337 mListener.onActionClicked(action); in onClick()
359 if (!action.isEnabled() || action.infoOnly()) { in onKey()
480 if (!action.isChecked()) { in fadeCheckmarks()
[all …]
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
H A DCategoryAdapter.java55 Action action = getItem(i); in clear() local
56 action.clearBitmap(); in clear()
70 public void add(Action action) { in add() argument
71 super.add(action); in add()
72 action.setAdapter(this); in add()
98 view.setAction(action, this); in getView()
156 Action action = getItem(i); in getTinyPlanet() local
168 Action action = getItem(i); in removeTinyPlanet() local
172 super.remove(action); in removeTinyPlanet()
179 public void remove(Action action) { in remove() argument
[all …]
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/events/
H A DEvents.kt38 fun sendAlarmEvent(@StringRes action: Int, @StringRes label: Int) {
39 sendEvent(R.string.category_alarm, action, label)
49 fun sendClockEvent(@StringRes action: Int, @StringRes label: Int) {
50 sendEvent(R.string.category_clock, action, label)
60 fun sendTimerEvent(@StringRes action: Int, @StringRes label: Int) {
61 sendEvent(R.string.category_timer, action, label)
71 fun sendStopwatchEvent(@StringRes action: Int, @StringRes label: Int) {
72 sendEvent(R.string.category_stopwatch, action, label)
82 fun sendScreensaverEvent(@StringRes action: Int, @StringRes label: Int) {
83 sendEvent(R.string.category_screensaver, action, label)
[all …]
/aosp12/packages/services/Telecomm/src/com/android/server/telecom/
H A DTelecomBroadcastIntentProcessor.java117 String action = intent.getAction(); in processIntent() local
119 if (ACTION_SEND_SMS_FROM_NOTIFICATION.equals(action) || in processIntent()
121 ACTION_CLEAR_MISSED_CALLS.equals(action)) { in processIntent()
122 Log.v(this, "Action received: %s.", action); in processIntent()
132 if (ACTION_SEND_SMS_FROM_NOTIFICATION.equals(action)) { in processIntent()
146 } else if (ACTION_CLEAR_MISSED_CALLS.equals(action)) { in processIntent()
151 Log.v(this, "Action received: %s.", action); in processIntent()
198 } else if (ACTION_PROCEED_WITH_CALL.equals(action)) { in processIntent()
207 } else if (ACTION_CANCEL_CALL.equals(action)) { in processIntent()
216 } else if (ACTION_PLACE_REDIRECTED_CALL.equals(action)) { in processIntent()
[all …]
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/instrumentation/
H A DEventLogWriter.java39 MetricsLogger.action(logMaker); in visible()
48 MetricsLogger.action(logMaker); in hidden()
60 MetricsLogger.action(logMaker); in action()
64 public void action(Context context, int category, int value) { in action() method in EventLogWriter
65 MetricsLogger.action(context, category, value); in action()
70 MetricsLogger.action(context, category, value); in action()
74 public void action(Context context, int category, String pkg) { in action() method in EventLogWriter
79 MetricsLogger.action(logMaker); in action()
83 public void action(int attribution, int action, int pageId, String key, int value) { in action() argument
84 final LogMaker logMaker = new LogMaker(action) in action()
[all …]
/aosp12/packages/apps/Car/libs/car-assist-client-lib/src/com/android/car/assist/client/
H A DCarAssistUtils.java233 if (action.getSemanticAction() in getMarkAsReadAction()
235 return action; in getMarkAsReadAction()
249 return action; in getMuteAction()
262 if (action.getSemanticAction() in getReplyAction()
264 return action; in getReplyAction()
278 .filter(action -> action.getSemanticAction() == SEMANTIC_ACTION_REPLY) in replyCallbackHasRemoteInput()
289 .filter(action -> SUPPORTED_SEMANTIC_ACTIONS.contains(action.getSemanticAction())) in assistantCallbacksShowNoUi()
335 requestAction(action, sbn, args, callback); in readMessageNotification()
351 requestAction(action, sbn, args, callback); in replyMessageNotification()
359 handleFallback(sbn, action, callback); in requestAction()
[all …]
/aosp12/packages/apps/Car/libs/car-qc-lib/tests/unit/src/com/android/car/qc/
H A DQCActionItemTest.java48 assertThat(action.getType()).isEqualTo(QC_TYPE_ACTION_SWITCH); in onCreateSwitch_hasCorrectType()
55 assertThat(action.getType()).isEqualTo(QC_TYPE_ACTION_TOGGLE); in onCreateToggle_hasCorrectType()
62 writeAndLoadFromBundle(action); in onBundle_nullActions_noCrash()
68 QCActionItem action = createAction(QC_TYPE_ACTION_TOGGLE, mDefaultAction, in onBundle_nullIcon_noCrash() local
70 writeAndLoadFromBundle(action); in onBundle_nullIcon_noCrash()
76 QCActionItem action = createAction(QC_TYPE_ACTION_SWITCH, mDefaultAction, in onBundle_switch_accurateData() local
78 QCActionItem newAction = writeAndLoadFromBundle(action); in onBundle_switch_accurateData()
89 QCActionItem action = createAction(QC_TYPE_ACTION_TOGGLE, mDefaultAction, in onBundle_toggle_accurateDate() local
91 QCActionItem newAction = writeAndLoadFromBundle(action); in onBundle_toggle_accurateDate()
100 private QCActionItem createAction(String type, PendingIntent action, in createAction() argument
[all …]
/aosp12/packages/modules/SdkExtensions/gen_sdk/
H A Dgen_sdk_test.sh33 …diff golden_binary <(gen_sdk --action print_binary --database testdata/test_extensions_db.textpb |…
40 gen_sdk --action new_sdk --sdk 1 --modules MEDIA_PROVIDER
41 gen_sdk --action new_sdk --sdk 2 --modules MEDIA,IPSEC
42 gen_sdk --action new_sdk --sdk 3 --modules MEDIA_PROVIDER
43 gen_sdk --action new_sdk --sdk 4 --modules SDK_EXTENSIONS,IPSEC
54 if gen_sdk --action validate; then
60 gen_sdk --action new_sdk --sdk 1 --modules MEDIA_PROVIDER
61 if gen_sdk --action new_sdk --sdk 1 --modules SDK_EXTENSIONS; then
68 if gen_sdk --action validate --database testdata/dupe_req.textpb; then
73 if gen_sdk --action validate --database testdata/backward_req.textpb; then
[all …]
/aosp12/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
H A DActionTestHelpers.java17 package com.android.messaging.datamodel.action;
84 Action action; field in ActionTestHelpers.StubChatActionMonitor.StateTransition
87 public StateTransition(final Action action, final int from, final int to) { in StateTransition() argument
88 this.action = action; in StateTransition()
106 protected void updateState(final Action action, final int expectedState, in updateState() argument
108 mTransitions.add(new StateTransition(action, mState, state)); in updateState()
109 super.updateState(action, expectedState, state); in updateState()
123 public final Action action; field in ActionTestHelpers.StubActionService.StubActionServiceCallLog
129 public StubActionServiceCallLog(final Action action, in StubActionServiceCallLog() argument
134 this.action = action; in StubActionServiceCallLog()
[all …]
/aosp12/system/core/debuggerd/include/debuggerd/
H A Dhandler.h64 static void __attribute__((__unused__)) debuggerd_register_handlers(struct sigaction* action) { in debuggerd_register_handlers() argument
70 sigaction(SIGABRT, action, nullptr); in debuggerd_register_handlers()
71 sigaction(SIGBUS, action, nullptr); in debuggerd_register_handlers()
72 sigaction(SIGFPE, action, nullptr); in debuggerd_register_handlers()
73 sigaction(SIGILL, action, nullptr); in debuggerd_register_handlers()
74 sigaction(SIGSEGV, action, nullptr); in debuggerd_register_handlers()
75 sigaction(SIGSTKFLT, action, nullptr); in debuggerd_register_handlers()
76 sigaction(SIGSYS, action, nullptr); in debuggerd_register_handlers()
77 sigaction(SIGTRAP, action, nullptr); in debuggerd_register_handlers()
80 sigaction(BIONIC_SIGNAL_DEBUGGER, action, nullptr); in debuggerd_register_handlers()
/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/
H A DBottomActionBar.java281 BottomAction action) { in bindBottomSheetContentWithAction() argument
286 updateContentViewFor(action); in bindBottomSheetContentWithAction()
416 for (BottomAction action : actions) { in showActions()
430 if (isExpandable(action) && mSelectedAction == action) { in hideActions()
455 showActions(action); in showActionsOnly()
457 hideActions(action); in showActionsOnly()
518 mSelectedAction = action; in setDefaultSelectedButton()
525 if (isExpandable(action)) { in deselectAction()
529 if (action == mSelectedAction) { in deselectAction()
616 return action != null && mContentViewMap.containsKey(action); in isExpandable()
[all …]

12345678910>>...97