/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationUiAdjustmentTest.java | 43 Notification.Action action = in needReinflate_differentLength() 55 Notification.Action firstAction = in needReinflate_differentLabels() 57 Notification.Action secondAction = in needReinflate_differentLabels() 70 Notification.Action firstAction = in needReinflate_differentIcons() 72 Notification.Action secondAction = in needReinflate_differentIcons() 88 Notification.Action firstAction = in needReinflate_differentPendingIntent() 91 Notification.Action secondAction = in needReinflate_differentPendingIntent() 111 Notification.Action firstAction = in needReinflate_differentChoices() 115 Notification.Action secondAction = in needReinflate_differentChoices() 136 Notification.Action firstAction = in needReinflate_differentRemoteInputLabel() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | InflatedSmartRepliesTest.java | 101 List<Notification.Action> smartActions = in chooseSmartRepliesAndActions_smartRepliesOff_noAppGeneratedSmartSuggestions() 144 List<Notification.Action> smartActions = in chooseSmartRepliesAndActions_appGeneratedSmartRepliesAndActions() 211 List<Notification.Action> appGenSmartActions = in chooseSmartRepliesAndActions_appGenPreferredOverSysGen() 290 List<Notification.Action> actions = new ArrayList<>(); in chooseSmartRepliesAndActions_lockTaskKioskModeEnabled_smartActionsAffected() 332 List<Notification.Action> leftActions = Arrays.asList( in areSuggestionsSimilar_trueForSimilar() 335 List<Notification.Action> rightActions = Arrays.asList( in areSuggestionsSimilar_trueForSimilar() 354 List<Notification.Action> leftActions = Arrays.asList( in areSuggestionsSimilar_falseForDifferentReplies() 357 List<Notification.Action> rightActions = Arrays.asList( in areSuggestionsSimilar_falseForDifferentReplies() 376 List<Notification.Action> leftActions = Arrays.asList( in areSuggestionsSimilar_falseForDifferentActions() 379 List<Notification.Action> rightActions = Arrays.asList( in areSuggestionsSimilar_falseForDifferentActions() [all …]
|
/frameworks/base/tools/aapt2/link/ |
D | ManifestFixer.cpp | 251 intent_filter_action["action"].Action(RequiredNameIsNotEmpty); in BuildRules() 252 intent_filter_action["category"].Action(RequiredNameIsNotEmpty); in BuildRules() 260 uses_feature_action.Action(VerifyUsesFeature); in BuildRules() 264 component_action.Action(RequiredNameIsJavaClassName); in BuildRules() 271 manifest_action.Action(AutoGenerateIsFeatureSplit); in BuildRules() 272 manifest_action.Action(VerifyManifest); in BuildRules() 273 manifest_action.Action(FixCoreAppAttribute); in BuildRules() 274 manifest_action.Action([&](xml::Element* el) -> bool { in BuildRules() 315 manifest_action["uses-sdk"].Action([&](xml::Element* el) -> bool { in BuildRules() 335 manifest_action["instrumentation"].Action(RequiredNameIsJavaClassName); in BuildRules() [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/native/services/inputflinger/ |
D | InputClassifierConverter.cpp | 58 static common::V1_0::Action getAction(int32_t actionMasked) { in getAction() 59 static_assert(static_cast<common::V1_0::Action>(AMOTION_EVENT_ACTION_DOWN) == in getAction() 60 common::V1_0::Action::DOWN, "ACTION_DOWN mismatch"); in getAction() 61 static_assert(static_cast<common::V1_0::Action>(AMOTION_EVENT_ACTION_UP) == in getAction() 62 common::V1_0::Action::UP, "ACTION_UP mismatch"); in getAction() 63 static_assert(static_cast<common::V1_0::Action>(AMOTION_EVENT_ACTION_MOVE) == in getAction() 64 common::V1_0::Action::MOVE, "ACTION_MOVE mismatch"); in getAction() 65 static_assert(static_cast<common::V1_0::Action>(AMOTION_EVENT_ACTION_CANCEL) == in getAction() 66 common::V1_0::Action::CANCEL, "ACTION_CANCEL mismatch"); in getAction() 67 static_assert(static_cast<common::V1_0::Action>(AMOTION_EVENT_ACTION_OUTSIDE) == in getAction() [all …]
|
/frameworks/base/packages/SystemUI/docs/ |
D | plugin_hooks.md | 2 ### 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/core/tests/coretests/src/android/app/ |
D | NotificationTest.java | 293 Notification.Action action = makeNotificationAction(null); in action_builder_hasDefault() 294 assertEquals(Notification.Action.SEMANTIC_ACTION_NONE, action.getSemanticAction()); in action_builder_hasDefault() 299 Notification.Action action = makeNotificationAction( in action_builder_setSemanticAction() 300 builder -> builder.setSemanticAction(Notification.Action.SEMANTIC_ACTION_REPLY)); in action_builder_setSemanticAction() 301 assertEquals(Notification.Action.SEMANTIC_ACTION_REPLY, action.getSemanticAction()); in action_builder_setSemanticAction() 306 Notification.Action action = writeAndReadParcelable( in action_parcel() 308 builder.setSemanticAction(Notification.Action.SEMANTIC_ACTION_ARCHIVE); in action_parcel() 312 assertEquals(Notification.Action.SEMANTIC_ACTION_ARCHIVE, action.getSemanticAction()); in action_parcel() 318 Notification.Action action = makeNotificationAction( in action_clone() 319 builder -> builder.setSemanticAction(Notification.Action.SEMANTIC_ACTION_DELETE)); in action_clone() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
D | ScreenshotNotificationSmartActionsTest.java | 85 CompletableFuture<List<Notification.Action>> smartActionsFuture = in testExceptionHandlingInGetSmartActionsFuture() 89 List<Notification.Action> smartActions = smartActionsFuture.get(5, TimeUnit.MILLISECONDS); in testExceptionHandlingInGetSmartActionsFuture() 98 CompletableFuture<List<Notification.Action>> smartActionsFuture = mock( in testExceptionHandlingInGetSmartActions() 103 List<Notification.Action> actions = GlobalScreenshot.getSmartActions( in testExceptionHandlingInGetSmartActions() 123 CompletableFuture<List<Notification.Action>> smartActionsFuture = in testUnsupportedBitmapConfiguration() 129 List<Notification.Action> smartActions = smartActionsFuture.get(5, TimeUnit.MILLISECONDS); in testUnsupportedBitmapConfiguration() 153 CompletableFuture<List<Notification.Action>> smartActionsFuture = in testSupportedBitmapConfiguration() 158 List<Notification.Action> smartActions = smartActionsFuture.get(5, TimeUnit.MILLISECONDS); in testSupportedBitmapConfiguration() 191 for (Notification.Action action : notification.actions) { in testNotificationActionExtras()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationTest.java | 447 .addAction(new Notification.Action.Builder(icon, "TEXT 1", intent).build()) in testActionsDifferentSame() 450 .addAction(new Notification.Action.Builder(icon, "TEXT 1", intent).build()) in testActionsDifferentSame() 462 .addAction(new Notification.Action.Builder(icon, "TEXT 1", intent).build()) in testActionsDifferentText() 465 .addAction(new Notification.Action.Builder(icon, "TEXT 2", intent).build()) in testActionsDifferentText() 477 .addAction(new Notification.Action.Builder(icon, in testActionsDifferentSpannables() 484 .addAction(new Notification.Action.Builder(icon, "test1", intent).build()) in testActionsDifferentSpannables() 496 .addAction(new Notification.Action.Builder(icon, "TEXT 1", intent).build()) in testActionsDifferentNumber() 499 .addAction(new Notification.Action.Builder(icon, "TEXT 1", intent).build()) in testActionsDifferentNumber() 500 .addAction(new Notification.Action.Builder(icon, "TEXT 2", intent).build()) in testActionsDifferentNumber() 513 .addAction(new Notification.Action.Builder(icon, "TEXT 1", intent1).build()) in testActionsDifferentIntent() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationUiAdjustment.java | 41 public final List<Notification.Action> smartActions; 46 String key, List<Notification.Action> smartActions, CharSequence[] smartReplies) { in NotificationUiAdjustment() 76 @NonNull List<Notification.Action> first, @NonNull List<Notification.Action> second) { in areDifferent() 87 Notification.Action firstAction = first.get(i); in areDifferent() 88 Notification.Action secondAction = second.get(i); in areDifferent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | InflatedSmartReplies.java | 172 Pair<RemoteInput, Notification.Action> remoteInputActionPair = in chooseSmartRepliesAndActions() 174 Pair<RemoteInput, Notification.Action> freeformRemoteInputActionPair = in chooseSmartRepliesAndActions() 196 List<Notification.Action> appGeneratedSmartActions = notification.getContextualActions(); in chooseSmartRepliesAndActions() 228 List<Notification.Action> systemGeneratedActions = in chooseSmartRepliesAndActions() 248 private static List<Notification.Action> filterWhiteListedLockTaskApps( in filterWhiteListedLockTaskApps() 249 List<Notification.Action> actions) { in filterWhiteListedLockTaskApps() 253 List<Notification.Action> filteredActions = new ArrayList<>(); in filterWhiteListedLockTaskApps() 254 for (Notification.Action action : actions) { in filterWhiteListedLockTaskApps() 296 @NonNull public List<Notification.Action> getSmartActions() { in getSmartActions()
|
/frameworks/base/core/java/android/speech/tts/ |
D | TextToSpeech.java | 747 private <R> R runActionNoReconnect(Action<R> action, R errorResult, String method, in runActionNoReconnect() 752 private <R> R runAction(Action<R> action, R errorResult, String method) { in runAction() 756 private <R> R runAction(Action<R> action, R errorResult, String method, in runAction() 861 runActionNoReconnect(new Action<Void>() { in shutdown() 1108 return runAction(new Action<Integer>() { in speak() 1181 return runAction(new Action<Integer>() { 1245 return runAction(new Action<Integer>() { 1305 return runAction(new Action<Set<String>>() { 1337 return runAction(new Action<Boolean>() { 1352 return runAction(new Action<Integer>() { [all …]
|
/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() 242 if (mPendingActionUponFinish == Action::Reset) { in animate() 245 } else if (mPendingActionUponFinish == Action::End) { in animate() 250 mPendingActionUponFinish = Action::None; in animate()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | ConnectToNetworkNotificationBuilder.java | 92 Notification.Action connectAction = new Notification.Action.Builder(null /* icon */, in createConnectToAvailableNetworkNotification() 95 Notification.Action allNetworksAction = new Notification.Action.Builder(null /* icon */, in createConnectToAvailableNetworkNotification()
|
/frameworks/base/core/java/android/widget/ |
D | RemoteViews.java | 228 private ArrayList<Action> mActions; 417 private abstract static class Action implements Parcelable { class in RemoteViews 449 public Action initActionAsync(ViewTree root, ViewGroup rootParent, OnClickHandler handler) { in initActionAsync() 476 private static abstract class RuntimeAction extends Action { 489 private static final Action ACTION_NOOP = new RuntimeAction() { 510 HashMap<String, Action> map = new HashMap<String, Action>(); in mergeRemoteViews() 512 mActions = new ArrayList<Action>(); in mergeRemoteViews() 517 Action a = mActions.get(i); in mergeRemoteViews() 521 ArrayList<Action> newActions = copy.mActions; in mergeRemoteViews() 525 Action a = newActions.get(i); in mergeRemoteViews() [all …]
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | LegacyGlobalActions.java | 57 import com.android.internal.globalactions.Action; 103 private ArrayList<Action> mItems; 106 private Action mSilentModeAction; 265 mItems = new ArrayList<Action>(); in createDialog() 332 final Action action = mAdapter.getItem(position); in createDialog() 413 private Action getSettingsAction() { in getSettingsAction() 436 private Action getEmergencyAction() { 456 private Action getAssistAction() { 478 private Action getVoiceAssistAction() { 500 private Action getLockdownAction() { [all …]
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | NotificationController.java | 22 import android.app.Notification.Action; 167 private Action createCancelAction(PrintJobInfo printJob) { in createCancelAction() 168 return new Action.Builder( in createCancelAction() 180 private void createNotification(@NonNull PrintJobInfo printJob, @Nullable Action firstAction, in createNotification() 181 @Nullable Action secondAction) { in createNotification() 227 Action.Builder restartActionBuilder = new Action.Builder( in createFailedNotification()
|
/frameworks/base/drm/java/android/drm/ |
D | DrmStore.java | 163 public static class Action { class in DrmStore 218 public Action() {} in Action() method in DrmStore.Action
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | GlobalScreenshot.java | 263 private List<Notification.Action> buildSmartActions( in buildSmartActions() 264 List<Notification.Action> actions, Context context) { in buildSmartActions() 265 List<Notification.Action> broadcastActions = new ArrayList<>(); in buildSmartActions() 266 for (Notification.Action action : actions) { in buildSmartActions() 281 broadcastActions.add(new Notification.Action.Builder(action.getIcon(), action.title, in buildSmartActions() 341 CompletableFuture<List<Notification.Action>> smartActionsFuture = in doInBackground() 390 CompletableFuture<List<Notification.Action>> smartActionsFuture, in populateNotificationActions() 429 Notification.Action.Builder shareActionBuilder = new Notification.Action.Builder( in populateNotificationActions() 455 Notification.Action.Builder editActionBuilder = new Notification.Action.Builder( in populateNotificationActions() 468 Notification.Action.Builder deleteActionBuilder = new Notification.Action.Builder( in populateNotificationActions() [all …]
|
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/ |
D | TetheringNotificationUpdater.java | 23 import android.app.Notification.Action; 282 RESTRICTED_NOTIFICATION_ID, false /* ongoing */, pi, new Action[0]); in notifyTetheringDisabledByRestriction() 300 final Action action = new Action.Builder(NO_ICON_ID, disableButton, pi).build(); in notifyTetheringNoUpstream() 327 ROAMING_NOTIFICATION_ID, true /* ongoing */, pi, new Action[0]); in setupRoamingNotification() 345 @Nullable PendingIntent pi, @NonNull final Action... actions) { in showNotification()
|
/frameworks/base/tools/aapt2/xml/ |
D | XmlActionExecutor.h | 62 void Action(ActionFunc f); 63 void Action(ActionFuncWithDiag);
|
D | XmlActionExecutor_test.cpp | 32 manifest_action.Action([&](Element* manifest) -> bool { in TEST() 38 application_action.Action([&](Element* application) -> bool { in TEST()
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
D | FwdLockEngine.cpp | 276 case Action::DEFAULT: in onCheckRightsStatus() 277 case Action::PLAY: in onCheckRightsStatus() 278 case Action::RINGTONE: in onCheckRightsStatus() 279 case Action::OUTPUT: in onCheckRightsStatus() 280 case Action::PREVIEW: in onCheckRightsStatus() 281 case Action::EXECUTE: in onCheckRightsStatus() 282 case Action::DISPLAY: in onCheckRightsStatus() 286 case Action::TRANSFER: in onCheckRightsStatus()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsDialog.java | 148 private ArrayList<Action> mItems; 151 private Action mSilentModeAction; 343 mItems = new ArrayList<Action>(); in createDialog() 734 private Action getSettingsAction() { in getSettingsAction() 757 private Action getAssistAction() { 779 private Action getVoiceAssistAction() { 801 private Action getLockdownAction() { 857 private void addUsersToMenu(ArrayList<Action> items) { 945 final Action action = mItems.get(i); 954 private boolean shouldBeShown(Action action) { [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/ |
D | RecordingService.java | 310 new Notification.Action.Builder( in setNotificationActions() 317 new Notification.Action.Builder( in setNotificationActions() 322 new Notification.Action.Builder( in setNotificationActions() 337 Notification.Action shareAction = new Notification.Action.Builder( in createSaveNotification() 347 Notification.Action deleteAction = new Notification.Action.Builder( in createSaveNotification()
|