Home
last modified time | relevance | path

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

12345678

/frameworks/base/core/java/android/service/credentials/
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];
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<>();
205 public @NonNull Builder addAuthenticationAction(@NonNull Action authenticationAction) { in addAuthenticationAction()
221 public @NonNull Builder addAction(@NonNull Action action) { in addAction()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
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 …]
/frameworks/base/tools/aapt2/link/
DManifestFixer.cpp414 intent_filter_action.Action(VerifyDeepLinkIntentAction); in BuildRules()
415 intent_filter_action["action"].Action(RequiredNameIsNotEmpty); in BuildRules()
416 intent_filter_action["category"].Action(RequiredNameIsNotEmpty); in BuildRules()
426 property_action.Action(RequiredOneAndroidAttribute("resource", "value")); in BuildRules()
430 uses_feature_action.Action(VerifyUsesFeature); in BuildRules()
434 component_action.Action(RequiredNameIsJavaClassName); in BuildRules()
442 manifest_action.Action(AutoGenerateIsFeatureSplit); in BuildRules()
443 manifest_action.Action(AutoGenerateIsSplitRequired); in BuildRules()
444 manifest_action.Action(VerifyManifest); in BuildRules()
445 manifest_action.Action(FixCoreAppAttribute); in BuildRules()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
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()
260 .setSemanticAction(Notification.Action in chooseSmartRepliesAndActions_sysGeneratedPhishingSmartAction()
283 List<Notification.Action> appGenSmartActions = in chooseSmartRepliesAndActions_appGenPreferredOverSysGen()
370 ArrayList<Notification.Action> actions = new ArrayList<>(); in chooseSmartRepliesAndActions_lockTaskKioskModeEnabled_smartActionsAffected()
419 List<Notification.Action> leftActions = Arrays.asList( in areSuggestionsSimilar_trueForSimilar()
422 List<Notification.Action> rightActions = Arrays.asList( in areSuggestionsSimilar_trueForSimilar()
450 List<Notification.Action> leftActions = Arrays.asList( in areSuggestionsSimilar_falseForDifferentReplies()
453 List<Notification.Action> rightActions = Arrays.asList( in areSuggestionsSimilar_falseForDifferentReplies()
[all …]
/frameworks/base/core/java/com/android/internal/globalactions/
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()
/frameworks/native/services/inputflinger/
DInputCommonConverter.cpp67 static common::Action getAction(int32_t actionMasked) { in getAction()
68 static_assert(static_cast<common::Action>(AMOTION_EVENT_ACTION_DOWN) == common::Action::DOWN, in getAction()
70 static_assert(static_cast<common::Action>(AMOTION_EVENT_ACTION_UP) == common::Action::UP, in getAction()
72 static_assert(static_cast<common::Action>(AMOTION_EVENT_ACTION_MOVE) == common::Action::MOVE, in getAction()
74 static_assert(static_cast<common::Action>(AMOTION_EVENT_ACTION_CANCEL) == in getAction()
75 common::Action::CANCEL, in getAction()
77 static_assert(static_cast<common::Action>(AMOTION_EVENT_ACTION_OUTSIDE) == in getAction()
78 common::Action::OUTSIDE, in getAction()
80 static_assert(static_cast<common::Action>(AMOTION_EVENT_ACTION_POINTER_DOWN) == in getAction()
81 common::Action::POINTER_DOWN, in getAction()
[all …]
/frameworks/base/services/tests/PermissionServiceMockingTests/src/com/android/server/permission/test/
DAppIdPermissionPolicyPermissionResetTest.kt33 @Parameterized.Parameter(0) lateinit var action: Action
102 Action.ON_PACKAGE_UNINSTALLED -> onPackageUninstalled(packageName, appId, userId) in testAction()
103 Action.RESET_RUNTIME_PERMISSIONS -> resetRuntimePermissions(packageName, userId) in testAction()
108 enum class Action { ON_PACKAGE_UNINSTALLED, RESET_RUNTIME_PERMISSIONS } class in com.android.server.permission.test.AppIdPermissionPolicyPermissionResetTest
113 fun data(): Array<Action> = Action.values()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DSaveImageInBackgroundTask.java125 Notification.Action quickShare = in doInBackground()
142 CompletableFuture<List<Notification.Action>> smartActionsFuture = in doInBackground()
147 List<Notification.Action> smartActions = new ArrayList<>(); in doInBackground()
217 private List<Notification.Action> buildSmartActions( in buildSmartActions()
218 List<Notification.Action> actions, Context context) { in buildSmartActions()
219 List<Notification.Action> broadcastActions = new ArrayList<>(); in buildSmartActions()
220 for (Notification.Action action : actions) { in buildSmartActions()
234 broadcastActions.add(new Notification.Action.Builder(action.getIcon(), action.title, in buildSmartActions()
252 Notification.Action createQuickShareAction( in createQuickShareAction()
253 Notification.Action quickShare, String screenshotId, Uri uri, long imageTime, in createQuickShareAction()
[all …]
/frameworks/base/packages/SystemUI/docs/
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
49 ### Action: com.android.systemui.action.PLUGIN_NOTIFICATION_SWIPE_ACTION
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
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()
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()
/frameworks/base/core/java/android/hardware/input/
DVirtualStylusButtonEvent.java54 public @interface Action {} annotation in VirtualStylusButtonEvent
71 @Action
77 private VirtualStylusButtonEvent(@Action int action, @Button int buttonCode, in VirtualStylusButtonEvent()
113 @Action
134 @Action
177 public Builder setAction(@Action int action) { in setAction()
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()
131 public @Action int getAction() { in getAction()
150 private @Action int mAction = ACTION_UNKNOWN;
187 public @NonNull Builder setAction(@Action int action) { in setAction()
DVirtualStylusMotionEvent.java84 public @interface Action {} annotation in VirtualStylusMotionEvent
88 @Action
97 private VirtualStylusMotionEvent(@ToolType int toolType, @Action int action, int x, int y, in VirtualStylusMotionEvent()
148 @Action
217 @Action
277 public Builder setAction(@Action int action) { in setAction()
DVirtualKeyEvent.java58 public @interface Action { annotation in VirtualKeyEvent
181 private final @Action int mAction;
185 private VirtualKeyEvent(@Action int action, int keyCode, long eventTimeNanos) { in VirtualKeyEvent()
227 public @Action int getAction() { in getAction()
246 private @Action int mAction = ACTION_UNKNOWN;
276 public @NonNull Builder setAction(@Action int action) { in setAction()
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()
171 public @Action int getAction() { in getAction()
220 private @Action int mAction = ACTION_UNKNOWN;
285 public @NonNull Builder setAction(@Action int action) { in setAction()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DScreenshotNotificationSmartActionsTest.java82 CompletableFuture<List<Notification.Action>> smartActionsFuture = in testExceptionHandlingInGetSmartActionsFuture()
88 List<Notification.Action> smartActions = smartActionsFuture.get(5, TimeUnit.MILLISECONDS); in testExceptionHandlingInGetSmartActionsFuture()
97 CompletableFuture<List<Notification.Action>> smartActionsFuture = mock( in testExceptionHandlingInGetSmartActions()
102 List<Notification.Action> actions = mScreenshotSmartActions.getSmartActions( in testExceptionHandlingInGetSmartActions()
123 CompletableFuture<List<Notification.Action>> smartActionsFuture = in testUnsupportedBitmapConfiguration()
130 List<Notification.Action> smartActions = smartActionsFuture.get(5, TimeUnit.MILLISECONDS); in testUnsupportedBitmapConfiguration()
155 CompletableFuture<List<Notification.Action>> smartActionsFuture = in testSupportedBitmapConfiguration()
160 List<Notification.Action> smartActions = smartActionsFuture.get(5, TimeUnit.MILLISECONDS); in testSupportedBitmapConfiguration()
DSaveImageInBackgroundTaskTest.kt55 private val smartActionsUriFuture = mock<CompletableFuture<List<Notification.Action>>>()
56 private val smartActionsFuture = mock<CompletableFuture<List<Notification.Action>>>()
130 .thenReturn(ArrayList<Notification.Action>()) in testQueryQuickShare_noAction()
140 val actions = ArrayList<Notification.Action>() in testQueryQuickShare_withActions()
178 val actions = ArrayList<Notification.Action>() in testCreateQuickShareAction_immutableIntentDifferentAction_returnsNull()
207 val actions = ArrayList<Notification.Action>() in testCreateQuickShareAction_mutableIntent_returnsSafeIntent()
242 val actions = ArrayList<Notification.Action>() in testCreateQuickShareAction_immutableIntent_returnsSafeIntent()
276 private fun constructAction(title: String, intent: PendingIntent): Notification.Action { in constructAction()
277 return Notification.Action.Builder(testIcon, title, intent).build() in constructAction()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
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()
/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayModeControllerTest.cpp50 using Action = DisplayModeController::DesiredModeAction; typedef in android::display::__anond29a626b0111::DisplayModeControllerTest
144 EXPECT_EQ(Action::None, mDmc.setDesiredMode(mDisplayId, DisplayModeRequest(kDesiredMode60))); in TEST_F()
152 EXPECT_EQ(Action::InitiateDisplayModeSwitch, in TEST_F()
157 EXPECT_EQ(Action::None, mDmc.setDesiredMode(mDisplayId, DisplayModeRequest(kDesiredMode120))); in TEST_F()
165 EXPECT_EQ(Action::InitiateDisplayModeSwitch, in TEST_F()
177 EXPECT_EQ(Action::InitiateDisplayModeSwitch, in TEST_F()
196 EXPECT_EQ(Action::InitiateRenderRateSwitch, in TEST_F()
205 EXPECT_EQ(Action::InitiateDisplayModeSwitch, in TEST_F()
217 EXPECT_EQ(Action::None, mDmc.setDesiredMode(mDisplayId, DisplayModeRequest(kDesiredMode120))); in TEST_F()
/frameworks/av/services/mediametrics/include/mediametricsservice/
DAnalyticsActions.h66 using Action = std::shared_ptr<Function>; variable
92 std::vector<Action>
94 std::vector<Action> actions; in getActionsForItem()
128 using FilterType = std::multimap<Trigger, Action>;
/frameworks/base/core/java/com/android/internal/util/
DLatencyTracker.java315 public @interface Action { annotation in LatencyTracker
547 private static String getTraceNameOfAction(@Action int action, String tag) { in getTraceNameOfAction()
555 private static String getTraceTriggerNameForAction(@Action int action) { in getTraceTriggerNameForAction()
596 public void onActionStart(@Action int action) { in onActionStart()
606 public void onActionStart(@Action int action, String tag) { in onActionStart()
630 public void onActionEnd(@Action int action) { in onActionEnd()
655 public void onActionCancel(@Action int action) { in onActionCancel()
679 public long getActiveActionStartTime(@Action int action) { in getActiveActionStartTime()
694 public void logAction(@Action int action, int duration) { in logAction()
733 @Action
[all …]
/frameworks/base/tools/aapt2/xml/
DXmlActionExecutor.h63 void Action(ActionFunc f);
64 void Action(ActionFuncWithDiag);
65 void Action(ActionFuncWithPolicyAndDiag);
/frameworks/proto_logging/stats/express/catalog/
Daccessibility.cfg3 display_name: "Accessibility FAB Shortcut Dismiss Action"
13 display_name: "Accessibility FAB Shortcut Edit Action"
23 display_name: "Accessibility QS Shortcut Add Action"
35 display_name: "Accessibility QS Shortcut Remove Action"

12345678