Home
last modified time | relevance | path

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

12345

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationUiAdjustmentTest.java43 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/opt/gamesdk/third_party/protobuf-3.0.0/benchmarks/
DProtoBench.java104 benchmark("Serialize to byte string", inputData.length, new Action() { in runTest()
107 benchmark("Serialize to byte array", inputData.length, new Action() { in runTest()
110 benchmark("Serialize to memory stream", inputData.length, new Action() { in runTest()
116 benchmark("Serialize to /dev/null with FileOutputStream", inputData.length, new Action() { in runTest()
121 … benchmark("Serialize to /dev/null reusing FileOutputStream", inputData.length, new Action() { in runTest()
128 benchmark("Deserialize from byte string", inputData.length, new Action() { in runTest()
133 benchmark("Deserialize from byte array", inputData.length, new Action() { in runTest()
139 benchmark("Deserialize from memory stream", inputData.length, new Action() { in runTest()
156 private static void benchmark(String name, long dataSize, Action action) throws IOException { in benchmark()
180 private static long timeAction(Action action, int iterations) throws IOException { in timeAction()
[all …]
/frameworks/base/tools/aapt2/link/
DManifestFixer.cpp241 intent_filter_action["action"].Action(RequiredNameIsNotEmpty); in BuildRules()
242 intent_filter_action["category"].Action(RequiredNameIsNotEmpty); in BuildRules()
250 uses_feature_action.Action(VerifyUsesFeature); in BuildRules()
254 component_action.Action(RequiredNameIsJavaClassName); in BuildRules()
261 manifest_action.Action(AutoGenerateIsFeatureSplit); in BuildRules()
262 manifest_action.Action(VerifyManifest); in BuildRules()
263 manifest_action.Action(FixCoreAppAttribute); in BuildRules()
264 manifest_action.Action([&](xml::Element* el) -> bool { in BuildRules()
305 manifest_action["uses-sdk"].Action([&](xml::Element* el) -> bool { in BuildRules()
325 manifest_action["instrumentation"].Action(RequiredNameIsJavaClassName); in BuildRules()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DInflatedSmartRepliesTest.java101 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/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/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/tools/preload2/src/com/android/preload/ui/
DSequenceUI.java8 import javax.swing.Action;
17 private List<Action> actions;
31 List<Action> actions) { in prepare()
37 public SequenceUI action(Action a) { in action()
42 public SequenceUI action(Class<? extends Action> actionClass) { in action()
43 for (Action a : actions) { in action()
120 if (next instanceof Action) { in ready()
121 ((Action)next).actionPerformed(null); in ready()
DIUI.java6 import javax.swing.Action;
17 List<Action> actions); in prepare()
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationTest.java293 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/src/com/android/systemui/statusbar/
DNotificationUiAdjustment.java41 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/
DInflatedSmartReplies.java171 Pair<RemoteInput, Notification.Action> remoteInputActionPair = in chooseSmartRepliesAndActions()
173 Pair<RemoteInput, Notification.Action> freeformRemoteInputActionPair = in chooseSmartRepliesAndActions()
195 List<Notification.Action> appGeneratedSmartActions = notification.getContextualActions(); in chooseSmartRepliesAndActions()
227 List<Notification.Action> systemGeneratedActions = in chooseSmartRepliesAndActions()
247 private static List<Notification.Action> filterWhiteListedLockTaskApps( in filterWhiteListedLockTaskApps()
248 List<Notification.Action> actions) { in filterWhiteListedLockTaskApps()
252 List<Notification.Action> filteredActions = new ArrayList<>(); in filterWhiteListedLockTaskApps()
253 for (Notification.Action action : actions) { in filterWhiteListedLockTaskApps()
295 @NonNull public List<Notification.Action> getSmartActions() { in getSmartActions()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationTest.java447 .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/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Reflection/
DReflectionUtil.cs85 internal static Action<IMessage, object> CreateActionIMessageObject(MethodInfo method) in CreateActionIMessageObject()
92 … return Expression.Lambda<Action<IMessage, object>>(call, targetParameter, argParameter).Compile(); in CreateActionIMessageObject()
99 internal static Action<IMessage> CreateActionIMessage(MethodInfo method) in CreateActionIMessage()
104 return Expression.Lambda<Action<IMessage>>(call, targetParameter).Compile(); in CreateActionIMessage()
DSingleFieldAccessor.cs49 private readonly Action<IMessage, object> setValueDelegate;
50 private readonly Action<IMessage> clearDelegate;
/frameworks/base/core/java/android/speech/tts/
DTextToSpeech.java747 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/
DAnimator.cpp125 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/
DConnectToNetworkNotificationBuilder.java92 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/drm/java/android/drm/
DDrmStore.java163 public static class Action { class in DrmStore
218 public Action() {} in Action() method in DrmStore.Action
/frameworks/base/services/core/java/com/android/server/policy/
DLegacyGlobalActions.java20 import com.android.internal.globalactions.Action;
105 private ArrayList<Action> mItems;
108 private Action mSilentModeAction;
269 mItems = new ArrayList<Action>(); in createDialog()
336 final Action action = mAdapter.getItem(position); in createDialog()
417 private Action getSettingsAction() { in getSettingsAction()
440 private Action getEmergencyAction() {
460 private Action getAssistAction() {
482 private Action getVoiceAssistAction() {
504 private Action getLockdownAction() {
[all …]
/frameworks/base/tools/aapt2/xml/
DXmlActionExecutor.h62 void Action(ActionFunc f);
63 void Action(ActionFuncWithDiag);
DXmlActionExecutor_test.cpp32 manifest_action.Action([&](Element* manifest) -> bool { in TEST()
38 application_action.Action([&](Element* application) -> bool { in TEST()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DNotificationController.java22 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/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
DFwdLockEngine.cpp276 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/screenrecord/
DRecordingService.java333 new Notification.Action.Builder( in setNotificationActions()
340 new Notification.Action.Builder( in setNotificationActions()
345 new Notification.Action.Builder( in setNotificationActions()
363 Notification.Action shareAction = new Notification.Action.Builder( in createSaveNotification()
373 Notification.Action deleteAction = new Notification.Action.Builder( in createSaveNotification()
/frameworks/base/tools/aapt2/
DMain.cpp56 int Action(const std::vector<std::string>& /* args */) override { in Action() function in aapt::VersionCommand
77 int Action(const std::vector<std::string>& args) override { in Action() function in aapt::MainCommand
108 int Action(const std::vector<std::string>& arguments) override { in Action() function in aapt::DaemonCommand

12345