Home
last modified time | relevance | path

Searched refs:Action (Results 1 – 25 of 167) sorted by relevance

1234567

/aosp14/frameworks/base/core/java/android/service/credentials/
H A DAction.java34 public final class Action implements Parcelable { class
58 public Action(@NonNull Slice slice) { in Action() method in Action
63 private Action(@NonNull Parcel in) { in Action() method in Action
68 public static final Creator<Action> CREATOR = new Creator<Action>() {
70 public Action createFromParcel(@NonNull Parcel in) {
71 return new Action(in);
75 public Action[] newArray(int size) {
76 return new Action[size];
H A DBeginGetCredentialResponse.java42 private final @NonNull ParceledListSlice<Action> mAuthenticationEntries;
45 private final @NonNull ParceledListSlice<Action> mActions;
63 @NonNull ParceledListSlice<Action> authenticationEntries, in BeginGetCredentialResponse()
64 @NonNull ParceledListSlice<Action> actions, in BeginGetCredentialResponse()
118 public @NonNull List<Action> getAuthenticationActions() { in getAuthenticationActions()
125 public @NonNull List<Action> getActions() { in getActions()
143 private List<Action> mAuthenticationEntries = new ArrayList<>();
144 private List<Action> mActions = new ArrayList<>();
221 public @NonNull Builder addAction(@NonNull Action action) { in addAction()
232 public @NonNull Builder setActions(@NonNull List<Action> actions) { in setActions()
[all …]
/aosp14/system/core/init/
H A Daction.cpp99 Action::Action(bool oneshot, Subcontext* subcontext, const std::string& filename, int line, in Action() function in android::init::Action
109 const BuiltinFunctionMap* Action::function_map_ = nullptr;
130 std::size_t Action::NumCommands() const { in NumCommands()
134 size_t Action::CheckAllCommands() const { in CheckAllCommands()
146 void Action::ExecuteOneCommand(std::size_t command) const { in ExecuteOneCommand()
153 void Action::ExecuteAllCommands() const { in ExecuteAllCommands()
159 void Action::ExecuteCommand(const Command& command) const { in ExecuteCommand()
211 bool Action::CheckEvent(const EventTrigger& event_trigger) const { in CheckEvent()
220 bool Action::CheckEvent(const BuiltinAction& builtin_action) const { in CheckEvent()
224 std::string Action::BuildTriggersString() const { in BuildTriggersString()
[all …]
H A Daction_manager.h39 void AddAction(std::unique_ptr<Action> action);
58 std::vector<std::unique_ptr<Action>> actions_;
62 std::queue<const Action*> current_executing_actions_;
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
H A DNotificationUiAdjustmentTest.java46 Notification.Action action = in needReinflate_differentLength()
60 Notification.Action firstAction = in needReinflate_differentLabels()
62 Notification.Action secondAction = in needReinflate_differentLabels()
77 Notification.Action firstAction = in needReinflate_differentIcons()
79 Notification.Action secondAction = in needReinflate_differentIcons()
100 Notification.Action firstAction = in needReinflate_differentPendingIntent()
103 Notification.Action secondAction = in needReinflate_differentPendingIntent()
125 Notification.Action firstAction = in needReinflate_differentChoices()
129 Notification.Action secondAction = in needReinflate_differentChoices()
152 Notification.Action firstAction = in needReinflate_differentRemoteInputLabel()
[all …]
/aosp14/frameworks/base/tools/aapt2/link/
H A DManifestFixer.cpp414 intent_filter_action.Action(VerifyDeepLinkIntentAction); in BuildRules()
428 uses_feature_action.Action(VerifyUsesFeature); in BuildRules()
432 component_action.Action(RequiredNameIsJavaClassName); in BuildRules()
440 manifest_action.Action(AutoGenerateIsFeatureSplit); in BuildRules()
441 manifest_action.Action(AutoGenerateIsSplitRequired); in BuildRules()
442 manifest_action.Action(VerifyManifest); in BuildRules()
443 manifest_action.Action(FixCoreAppAttribute); in BuildRules()
444 manifest_action.Action([&](xml::Element* el) -> bool { in BuildRules()
583 application_action.Action(OptionalNameIsJavaClassName); in BuildRules()
602 sdk_library_action.Action(RequiredNameIsJavaPackage); in BuildRules()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DInflatedSmartRepliesTest.java115 List<Notification.Action> smartActions = in chooseSmartRepliesAndActions_smartRepliesOff_noAppGeneratedSmartSuggestions()
166 List<Notification.Action> smartActions = in chooseSmartRepliesAndActions_appGeneratedSmartRepliesAndActions()
249 mNotification.actions = new Notification.Action[]{ in chooseSmartRepliesAndActions_sysGeneratedPhishingSmartAction()
283 List<Notification.Action> appGenSmartActions = in chooseSmartRepliesAndActions_appGenPreferredOverSysGen()
419 List<Notification.Action> leftActions = Arrays.asList( in areSuggestionsSimilar_trueForSimilar()
450 List<Notification.Action> leftActions = Arrays.asList( in areSuggestionsSimilar_falseForDifferentReplies()
481 List<Notification.Action> leftActions = Arrays.asList( in areSuggestionsSimilar_falseForDifferentActions()
512 List<Notification.Action> leftActions = Arrays.asList( in areSuggestionsSimilar_falseForDifferentSuppressedActions()
543 List<Notification.Action> leftActions = Arrays.asList( in areSuggestionsSimilar_falseForDifferentPhishing()
580 Notification.Action action = in setupAppGeneratedReplies()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DSaveImageInBackgroundTask.java140 Notification.Action quickShare = in doInBackground()
293 Notification.Action.Builder shareActionBuilder = new Notification.Action.Builder( in createShareAction()
343 Notification.Action.Builder editActionBuilder = new Notification.Action.Builder( in createEditAction()
370 Notification.Action.Builder deleteActionBuilder = new Notification.Action.Builder(
394 private List<Notification.Action> buildSmartActions(
395 List<Notification.Action> actions, Context context) {
397 for (Notification.Action action : actions) {
429 Notification.Action createQuickShareAction(
435 Notification.Action quickShareWithUri =
488 Notification.Action queryQuickShareAction(
[all …]
/aosp14/frameworks/base/core/java/com/android/internal/globalactions/
H A DActionsAdapter.java33 private final List<Action> mItems;
37 public ActionsAdapter(Context context, List<Action> items, in ActionsAdapter()
52 final Action action = mItems.get(i); in getCount()
76 public Action getItem(int position) { in getItem()
82 final Action action = mItems.get(i); in getItem()
109 Action action = getItem(position); in getView()
/aosp14/frameworks/base/packages/SystemUI/docs/
H A Dplugin_hooks.md2 ### Action: com.android.systemui.action.PLUGIN_OVERLAY
7 ### Action: com.android.systemui.action.PLUGIN_QS
14 ### Action: com.android.systemui.action.PLUGIN_QS_FACTORY
19 ### Action: com.android.systemui.action.PLUGIN_NAV_BUTTON
24 ### Action: com.android.systemui.action.PLUGIN_NAV_GESTURE
29 ### Action: com.android.systemui.action.PLUGIN_LOCKSCREEN_RIGHT_BUTTON
34 ### Action: com.android.systemui.action.PLUGIN_LOCKSCREEN_LEFT_BUTTON
39 ### Action: com.android.systemui.action.PLUGIN_GLOBAL_ACTIONS
44 ### Action: com.android.systemui.action.PLUGIN_VOLUME
54 ### Action: com.android.systemui.action.PLUGIN_CLOCK_PROVIDER
[all …]
/aosp14/frameworks/base/core/java/android/hardware/input/
H A DVirtualMouseButtonEvent.java52 public @interface Action {} annotation in VirtualMouseButtonEvent
84 private final @Action int mAction;
88 private VirtualMouseButtonEvent(@Action int action, @Button int buttonCode, in VirtualMouseButtonEvent()
123 public @Action int getAction() { in getAction()
142 private @Action int mAction = ACTION_UNKNOWN;
179 public @NonNull Builder setAction(@Action int action) { in setAction()
H A DVirtualTouchEvent.java86 public @interface Action {} annotation in VirtualTouchEvent
94 private final @Action int mAction;
101 private VirtualTouchEvent(int pointerId, @ToolType int toolType, @Action int action, in VirtualTouchEvent()
158 public @Action int getAction() { in getAction()
207 private @Action int mAction = ACTION_UNKNOWN;
272 public @NonNull Builder setAction(@Action int action) { in setAction()
H A DVirtualKeyEvent.java58 public @interface Action { annotation in VirtualKeyEvent
180 private final @Action int mAction;
184 private VirtualKeyEvent(@Action int action, int keyCode, long eventTimeNanos) { in VirtualKeyEvent()
218 public @Action int getAction() { in getAction()
237 private @Action int mAction = ACTION_UNKNOWN;
267 public @NonNull Builder setAction(@Action int action) { in setAction()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
H A DTvPipSystemAction.java19 import static android.app.Notification.Action.SEMANTIC_ACTION_DELETE;
20 import static android.app.Notification.Action.SEMANTIC_ACTION_NONE;
77 Notification.Action toNotificationAction(Context context) { in toNotificationAction()
78 Notification.Action.Builder builder = new Notification.Action.Builder( in toNotificationAction()
H A DTvPipCustomAction.java19 import static android.app.Notification.Action.SEMANTIC_ACTION_DELETE;
20 import static android.app.Notification.Action.SEMANTIC_ACTION_NONE;
81 Notification.Action toNotificationAction(Context context) { in toNotificationAction()
82 Notification.Action.Builder builder = new Notification.Action.Builder( in toNotificationAction()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
H A DScreenshotNotificationSmartActionsTest.java88 CompletableFuture<List<Notification.Action>> smartActionsFuture = in testExceptionHandlingInGetSmartActionsFuture()
94 List<Notification.Action> smartActions = smartActionsFuture.get(5, TimeUnit.MILLISECONDS); in testExceptionHandlingInGetSmartActionsFuture()
103 CompletableFuture<List<Notification.Action>> smartActionsFuture = mock( in testExceptionHandlingInGetSmartActions()
108 List<Notification.Action> actions = mScreenshotSmartActions.getSmartActions( in testExceptionHandlingInGetSmartActions()
129 CompletableFuture<List<Notification.Action>> smartActionsFuture = in testUnsupportedBitmapConfiguration()
136 List<Notification.Action> smartActions = smartActionsFuture.get(5, TimeUnit.MILLISECONDS); in testUnsupportedBitmapConfiguration()
161 CompletableFuture<List<Notification.Action>> smartActionsFuture = in testSupportedBitmapConfiguration()
166 List<Notification.Action> smartActions = smartActionsFuture.get(5, TimeUnit.MILLISECONDS); in testSupportedBitmapConfiguration()
186 Notification.Action shareAction = task.createShareAction(mContext, mContext.getResources(), in testShareActionExtras()
214 Notification.Action editAction = task.createEditAction(mContext, mContext.getResources(), in testEditActionExtras()
[all …]
H A DSaveImageInBackgroundTaskTest.kt58 private val smartActionsUriFuture = mock<CompletableFuture<List<Notification.Action>>>()
59 private val smartActionsFuture = mock<CompletableFuture<List<Notification.Action>>>()
134 .thenReturn(ArrayList<Notification.Action>())
144 val actions = ArrayList<Notification.Action>()
182 val actions = ArrayList<Notification.Action>()
211 val actions = ArrayList<Notification.Action>()
246 val actions = ArrayList<Notification.Action>()
280 private fun constructAction(title: String, intent: PendingIntent): Notification.Action {
281 return Notification.Action.Builder(testIcon, title, intent).build()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationUiAdjustment.java39 public final List<Notification.Action> smartActions;
45 String key, List<Notification.Action> smartActions, List<CharSequence> smartReplies, in NotificationUiAdjustment()
83 @NonNull List<Notification.Action> first, @NonNull List<Notification.Action> second) { in areDifferent()
94 Notification.Action firstAction = first.get(i); in areDifferent()
95 Notification.Action secondAction = second.get(i); in areDifferent()
/aosp14/frameworks/base/core/tests/coretests/src/android/app/
H A DNotificationTest.java389 Notification.Action action = makeNotificationAction(null); in action_builder_hasDefault()
395 Notification.Action action = makeNotificationAction( in action_builder_setSemanticAction()
402 Notification.Action action = writeAndReadParcelable( in action_parcel()
414 Notification.Action action = makeNotificationAction( in action_clone()
417 Notification.Action.SEMANTIC_ACTION_DELETE, in action_clone()
1465 Notification.Action actionWithRemoteInput = in testFreeformRemoteInputActionPair_hasRemoteInput()
1471 Notification.Action actionWithoutRemoteInput = in testFreeformRemoteInputActionPair_hasRemoteInput()
1514 Notification.Action actionWithFreeformRemoteInput = in testFreeformRemoteInputActionPair_requestFreeform_hasFreeformRemoteInput()
1520 Notification.Action actionWithoutFreeformRemoteInput = in testFreeformRemoteInputActionPair_requestFreeform_hasFreeformRemoteInput()
1716 private Notification.Action makeNotificationAction( in makeNotificationAction()
[all …]
/aosp14/frameworks/base/core/java/com/android/internal/util/
H A DLatencyTracker.java271 public @interface Action { annotation in LatencyTracker
533 public void onActionStart(@Action int action) { in onActionStart()
567 public void onActionEnd(@Action int action) { in onActionEnd()
592 public void onActionCancel(@Action int action) { in onActionCancel()
631 public void logAction(@Action int action, int duration) { in logAction()
670 @Action
678 Session(@Action int action, @Nullable String tag) { in Session()
734 @Action
742 @Action int action, in ActionProperties()
748 Action.class, null, mAction); in ActionProperties()
[all …]
/aosp14/system/core/libsysutils/include/sysutils/
H A DNetlinkEvent.h25 enum class Action { enum
42 Action mAction;
54 Action getAction() { return mAction; } in getAction()
/aosp14/system/core/libsysutils/src/
H A DNetlinkEvent.cpp198 mAction = Action::kUnknown; in NetlinkEvent()
393 mAction = (type == RTM_NEWADDR) ? Action::kAddressUpdated : in parseIfAddrMessage()
394 Action::kAddressRemoved; in parseIfAddrMessage()
434 mAction = Action::kChange; in parseUlogPacketMessage()
482 mAction = Action::kChange; in parseNfPacketMessage()
568 mAction = (type == RTM_NEWROUTE) ? Action::kRouteUpdated : in parseRtMessage()
569 Action::kRouteRemoved; in parseRtMessage()
671 mAction = Action::kRdnss; in parseNdUserOptMessage()
800 mAction = Action::kAdd; in parseAsciiNetlinkMessage()
802 mAction = Action::kRemove; in parseAsciiNetlinkMessage()
[all …]
/aosp14/frameworks/base/tools/aapt2/xml/
H A DXmlActionExecutor.h63 void Action(ActionFunc f);
64 void Action(ActionFuncWithDiag);
65 void Action(ActionFuncWithPolicyAndDiag);
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
H A DAuthDialogPanelInteractionDetector.kt18 private var action: Action? = null
24 action = Action(onPanelInteraction)
77 private data class Action(val onPanelInteraction: Runnable) dataClass
/aosp14/frameworks/base/services/credentials/java/com/android/server/credentials/
H A DProviderGetSession.java34 import android.service.credentials.Action;
266 Action actionEntry = mProviderResponseDataHandler.getActionEntry(entryKey); in onUiEntrySelected()
275 Action authenticationEntry = mProviderResponseDataHandler in onUiEntrySelected()
530 private final Map<String, Pair<Action, Entry>> mUiActionsEntries = new HashMap<>();
532 private final Map<String, Pair<Action, AuthenticationEntry>> mUiAuthenticationEntries =
546 List<Action> actions, List<Action> authenticationActions, in addResponseContent()
574 public void addAction(Action action) { in addAction()
582 public void addAuthenticationAction(Action authenticationAction, in addAuthenticationAction()
672 public Action getAuthenticationAction(String entryKey) { in getAuthenticationAction()
678 public Action getActionEntry(String entryKey) { in getActionEntry()
[all …]

1234567