/frameworks/base/tools/aapt2/link/ |
D | ManifestFixer.cpp | 331 intent_filter_action["action"].Action(RequiredNameIsNotEmpty); in BuildRules() 332 intent_filter_action["category"].Action(RequiredNameIsNotEmpty); in BuildRules() 340 property_action.Action(RequiredOneAndroidAttribute("resource", "value")); in BuildRules() 344 uses_feature_action.Action(VerifyUsesFeature); in BuildRules() 348 component_action.Action(RequiredNameIsJavaClassName); in BuildRules() 356 manifest_action.Action(AutoGenerateIsFeatureSplit); in BuildRules() 357 manifest_action.Action(AutoGenerateIsSplitRequired); in BuildRules() 358 manifest_action.Action(VerifyManifest); in BuildRules() 359 manifest_action.Action(FixCoreAppAttribute); in BuildRules() 360 manifest_action.Action([&](xml::Element* el) -> bool { in BuildRules() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationUiAdjustmentTest.java | 47 Notification.Action action = in needReinflate_differentLength() 62 Notification.Action firstAction = in needReinflate_differentLabels() 64 Notification.Action secondAction = in needReinflate_differentLabels() 80 Notification.Action firstAction = in needReinflate_differentIcons() 82 Notification.Action secondAction = in needReinflate_differentIcons() 102 Notification.Action firstAction = in needReinflate_differentPendingIntent() 105 Notification.Action secondAction = in needReinflate_differentPendingIntent() 128 Notification.Action firstAction = in needReinflate_differentChoices() 132 Notification.Action secondAction = in needReinflate_differentChoices() 156 Notification.Action firstAction = in needReinflate_differentRemoteInputLabel() [all …]
|
/frameworks/native/services/inputflinger/ |
D | InputCommonConverter.cpp | 64 static common::Action getAction(int32_t actionMasked) { in getAction() 65 static_assert(static_cast<common::Action>(AMOTION_EVENT_ACTION_DOWN) == common::Action::DOWN, in getAction() 67 static_assert(static_cast<common::Action>(AMOTION_EVENT_ACTION_UP) == common::Action::UP, in getAction() 69 static_assert(static_cast<common::Action>(AMOTION_EVENT_ACTION_MOVE) == common::Action::MOVE, in getAction() 71 static_assert(static_cast<common::Action>(AMOTION_EVENT_ACTION_CANCEL) == in getAction() 72 common::Action::CANCEL, in getAction() 74 static_assert(static_cast<common::Action>(AMOTION_EVENT_ACTION_OUTSIDE) == in getAction() 75 common::Action::OUTSIDE, in getAction() 77 static_assert(static_cast<common::Action>(AMOTION_EVENT_ACTION_POINTER_DOWN) == in getAction() 78 common::Action::POINTER_DOWN, in getAction() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | InflatedSmartRepliesTest.java | 115 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/ |
D | ActionsAdapter.java | 33 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/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/ |
D | TvPipNotificationController.java | 19 import static android.app.Notification.Action.SEMANTIC_ACTION_DELETE; 20 import static android.app.Notification.Action.SEMANTIC_ACTION_NONE; 201 private Notification.Action getToggleAction(boolean expanded) { in getToggleAction() 211 private Notification.Action createSystemAction(int iconRes, int titleRes, String action) { in createSystemAction() 212 Notification.Action.Builder builder = new Notification.Action.Builder( in createSystemAction() 233 private Notification.Action remoteToNotificationAction(RemoteAction action) { in remoteToNotificationAction() 237 private Notification.Action remoteToNotificationAction(RemoteAction action, in remoteToNotificationAction() 239 Notification.Action.Builder builder = new Notification.Action.Builder(action.getIcon(), in remoteToNotificationAction() 253 private Notification.Action[] getNotificationActions() { in getNotificationActions() 254 final List<Notification.Action> actions = new ArrayList<>(); in getNotificationActions() [all …]
|
/frameworks/base/packages/SystemUI/docs/ |
D | plugin_hooks.md | 2 ### Action: com.android.systemui.action.PLUGIN_OVERLAY 8 ### Action: com.android.systemui.action.PLUGIN_QS 15 ### Action: com.android.systemui.action.PLUGIN_QS_FACTORY 20 ### Action: com.android.systemui.action.PLUGIN_NAV_BUTTON 25 ### Action: com.android.systemui.action.PLUGIN_NAV_GESTURE 30 ### Action: com.android.systemui.action.PLUGIN_LOCKSCREEN_RIGHT_BUTTON 35 ### Action: com.android.systemui.action.PLUGIN_LOCKSCREEN_LEFT_BUTTON 40 ### Action: com.android.systemui.action.PLUGIN_GLOBAL_ACTIONS 45 ### Action: com.android.systemui.action.PLUGIN_VOLUME 50 ### Action: com.android.systemui.action.PLUGIN_NOTIFICATION_SWIPE_ACTION [all …]
|
/frameworks/base/core/java/android/hardware/input/ |
D | VirtualMouseButtonEvent.java | 50 public @interface Action {} annotation in VirtualMouseButtonEvent 82 private final @Action int mAction; 85 private VirtualMouseButtonEvent(@Action int action, @Button int buttonCode) { in VirtualMouseButtonEvent() 116 public @Action int getAction() { in getAction() 125 private @Action int mAction = ACTION_UNKNOWN; 161 public @NonNull Builder setAction(@Action int action) { in setAction()
|
D | VirtualTouchEvent.java | 78 public @interface Action {} annotation in VirtualTouchEvent 82 private final @Action int mAction; 88 private VirtualTouchEvent(int pointerId, @ToolType int toolType, @Action int action, in VirtualTouchEvent() 142 public @Action int getAction() { in getAction() 181 private @Action int mAction = ACTION_UNKNOWN; 233 public @NonNull Builder setAction(@Action int action) { in setAction()
|
D | VirtualKeyEvent.java | 56 public @interface Action { annotation in VirtualKeyEvent 177 private final @Action int mAction; 180 private VirtualKeyEvent(@Action int action, int keyCode) { in VirtualKeyEvent() 211 public @Action int getAction() { in getAction() 220 private @Action int mAction = ACTION_UNKNOWN; 249 public @NonNull Builder setAction(@Action int action) { in setAction()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | SaveImageInBackgroundTask.java | 155 CompletableFuture<List<Notification.Action>> smartActionsFuture = in doInBackground() 160 List<Notification.Action> smartActions = new ArrayList<>(); in doInBackground() 293 Notification.Action.Builder shareActionBuilder = new Notification.Action.Builder( in createShareAction() 343 Notification.Action.Builder editActionBuilder = new Notification.Action.Builder( in createEditAction() 353 Notification.Action createDeleteAction(Context context, Resources r, Uri uri, 370 Notification.Action.Builder deleteActionBuilder = new Notification.Action.Builder( 394 private List<Notification.Action> buildSmartActions( 395 List<Notification.Action> actions, Context context) { 396 List<Notification.Action> broadcastActions = new ArrayList<>(); 397 for (Notification.Action action : actions) { [all …]
|
D | ScreenshotSmartActions.java | 65 CompletableFuture<List<Notification.Action>> getSmartActionsFuture( in getSmartActionsFuture() 90 CompletableFuture<List<Notification.Action>> smartActionsFuture; in getSmartActionsFuture() 116 List<Notification.Action> getSmartActions(String screenshotId, in getSmartActions() 117 CompletableFuture<List<Notification.Action>> smartActionsFuture, int timeoutMs, in getSmartActions() 127 List<Notification.Action> actions = smartActionsFuture.get(timeoutMs, in getSmartActions()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | LatencyTracker.java | 265 public @interface Action { annotation in LatencyTracker 413 private static String getTraceNameOfAction(@Action int action, String tag) { in getTraceNameOfAction() 421 private static String getTraceTriggerNameForAction(@Action int action) { in getTraceTriggerNameForAction() 462 public void onActionStart(@Action int action) { in onActionStart() 472 public void onActionStart(@Action int action, String tag) { in onActionStart() 496 public void onActionEnd(@Action int action) { in onActionEnd() 521 public void onActionCancel(@Action int action) { in onActionCancel() 542 public void logAction(@Action int action, int duration) { in logAction() 571 @Action int action, int duration, boolean writeToStatsLog) { in logActionDeprecated() 582 @Action [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
D | ScreenshotNotificationSmartActionsTest.java | 88 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 …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationUiAdjustment.java | 39 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/av/services/mediametrics/include/mediametricsservice/ |
D | AnalyticsActions.h | 66 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/tests/coretests/src/android/app/ |
D | NotificationTest.java | 335 Notification.Action action = makeNotificationAction(null); in action_builder_hasDefault() 336 assertEquals(Notification.Action.SEMANTIC_ACTION_NONE, action.getSemanticAction()); in action_builder_hasDefault() 341 Notification.Action action = makeNotificationAction( in action_builder_setSemanticAction() 342 builder -> builder.setSemanticAction(Notification.Action.SEMANTIC_ACTION_REPLY)); in action_builder_setSemanticAction() 343 assertEquals(Notification.Action.SEMANTIC_ACTION_REPLY, action.getSemanticAction()); in action_builder_setSemanticAction() 348 Notification.Action action = writeAndReadParcelable( in action_parcel() 350 builder.setSemanticAction(Notification.Action.SEMANTIC_ACTION_ARCHIVE); in action_parcel() 354 assertEquals(Notification.Action.SEMANTIC_ACTION_ARCHIVE, action.getSemanticAction()); in action_parcel() 360 Notification.Action action = makeNotificationAction( in action_clone() 361 builder -> builder.setSemanticAction(Notification.Action.SEMANTIC_ACTION_DELETE)); in action_clone() [all …]
|
/frameworks/base/tools/aapt2/xml/ |
D | XmlActionExecutor.h | 64 void Action(ActionFunc f); 65 void Action(ActionFuncWithDiag); 66 void Action(ActionFuncWithPolicyAndDiag);
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/tare/ |
D | JobSchedulerEconomicPolicy.java | 156 private final SparseArray<Action> mActions = new SparseArray<>(); 205 Action getAction(@AppAction int actionId) { in getAction() 243 mActions.put(ACTION_JOB_MAX_START, new Action(ACTION_JOB_MAX_START, in loadConstants() 250 mActions.put(ACTION_JOB_MAX_RUNNING, new Action(ACTION_JOB_MAX_RUNNING, in loadConstants() 257 mActions.put(ACTION_JOB_HIGH_START, new Action(ACTION_JOB_HIGH_START, in loadConstants() 264 mActions.put(ACTION_JOB_HIGH_RUNNING, new Action(ACTION_JOB_HIGH_RUNNING, in loadConstants() 271 mActions.put(ACTION_JOB_DEFAULT_START, new Action(ACTION_JOB_DEFAULT_START, in loadConstants() 278 mActions.put(ACTION_JOB_DEFAULT_RUNNING, new Action(ACTION_JOB_DEFAULT_RUNNING, in loadConstants() 285 mActions.put(ACTION_JOB_LOW_START, new Action(ACTION_JOB_LOW_START, in loadConstants() 292 mActions.put(ACTION_JOB_LOW_RUNNING, new Action(ACTION_JOB_LOW_RUNNING, in loadConstants() [all …]
|
D | AlarmManagerEconomicPolicy.java | 154 private final SparseArray<Action> mActions = new SparseArray<>(); 208 Action getAction(@AppAction int actionId) { in getAction() 249 new Action(ACTION_ALARM_WAKEUP_EXACT_ALLOW_WHILE_IDLE, in loadConstants() 255 new Action(ACTION_ALARM_WAKEUP_EXACT, in loadConstants() 269 new Action(ACTION_ALARM_WAKEUP_INEXACT_ALLOW_WHILE_IDLE, in loadConstants() 275 new Action(ACTION_ALARM_WAKEUP_INEXACT, in loadConstants() 287 new Action(ACTION_ALARM_NONWAKEUP_EXACT_ALLOW_WHILE_IDLE, in loadConstants() 294 new Action(ACTION_ALARM_NONWAKEUP_EXACT, in loadConstants() 309 new Action(ACTION_ALARM_NONWAKEUP_INEXACT_ALLOW_WHILE_IDLE, in loadConstants() 314 new Action(ACTION_ALARM_NONWAKEUP_INEXACT, in loadConstants() [all …]
|
D | CompleteEconomicPolicy.java | 33 private final SparseArray<Action> mActions = new SparseArray<>(); 115 Action getAction(@AppAction int actionId) { in getAction() 123 Action a = mEnabledEconomicPolicies.valueAt(i).getAction(actionId); in getAction() 130 final Action action = exists ? new Action(actionId, ctp, price) : null; in getAction()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/ |
D | NotificationEntryTest.java | 225 new Notification.Action[]{createContextualAction("appGeneratedAction")}; in testCreateNotificationDataEntry_RankingUpdate() 227 ArrayList<Notification.Action> systemGeneratedSmartActions = in testCreateNotificationDataEntry_RankingUpdate() 318 private Notification.Action createContextualAction(String title) { in createContextualAction() 319 return new Notification.Action.Builder( in createContextualAction() 328 private Notification.Action createAction(String title) { in createAction() 329 return new Notification.Action.Builder( in createAction() 336 private ArrayList<Notification.Action> createActions(String... titles) { in createActions() 337 ArrayList<Notification.Action> actions = new ArrayList<>(); in createActions()
|
/frameworks/base/libs/hwui/ |
D | Animator.cpp | 125 mPendingActionUponFinish = Action::None; in resolveStagingRequest() 132 mPendingActionUponFinish = Action::None; in resolveStagingRequest() 137 mPendingActionUponFinish = Action::Reset; in resolveStagingRequest() 141 mPendingActionUponFinish = Action::None; in resolveStagingRequest() 146 mPendingActionUponFinish = Action::End; in resolveStagingRequest() 238 if (mPendingActionUponFinish == Action::Reset) { in animate() 241 } else if (mPendingActionUponFinish == Action::End) { in animate() 246 mPendingActionUponFinish = Action::None; in animate()
|
/frameworks/base/core/java/android/hardware/biometrics/ |
D | BiometricStateListener.java | 54 public @interface Action { annotation in BiometricStateListener 68 public void onBiometricAction(@BiometricStateListener.Action int action) { in onBiometricAction()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/ |
D | ControlActionCoordinatorImplTest.kt | 83 private lateinit var action: ControlActionCoordinatorImpl.Action in any() 114 action = spy(coordinator.Action(ID, {}, false, true)) in any() 150 action = spy(coordinator.Action(ID, {}, false, false)) in testToggleRunsWhenLockedAndAuthNotRequired() 165 action = spy(coordinator.Action(ID, {}, false, false)) in testToggleWhenLockedDoesNotTriggerDialog_featureFlagEnabled() 180 action = spy(coordinator.Action(ID, {}, false, true)) in testToggleDoesNotRunsWhenLockedAndAuthRequired()
|