Searched refs:action (Results 176 - 200 of 583) sorted by relevance

1234567891011>>

/frameworks/base/media/java/android/media/session/
H A DISessionCallback.aidl49 void onCustomAction(String action, in Bundle args);
/frameworks/base/media/java/android/media/tv/
H A DITvInputSession.aidl43 void appPrivateCommand(in String action, in Bundle data);
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
H A DFusedLocationProvider.java74 String action = intent.getAction();
75 if (Intent.ACTION_USER_SWITCHED.equals(action)) {
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DBluetoothEventManager.java60 private void addHandler(String action, Handler handler) { argument
61 mHandlerMap.put(action, handler);
62 mAdapterIntentFilter.addAction(action);
65 void addProfileHandler(String action, Handler handler) { argument
66 mHandlerMap.put(action, handler);
67 mProfileIntentFilter.addAction(action);
140 String action = intent.getAction();
144 Handler handler = mHandlerMap.get(action);
/frameworks/ex/common/java/com/android/common/
H A DNetworkConnectivityListener.java66 String action = intent.getAction();
68 if (!action.equals(ConnectivityManager.CONNECTIVITY_ACTION) ||
/frameworks/native/libs/input/tests/
H A DStructLayout_test.cpp41 CHECK_OFFSET(InputMessage::Body::Key, action, 24);
53 CHECK_OFFSET(InputMessage::Body::Motion, action, 24);
/frameworks/opt/setupwizard/library/full-support/test/src/com/android/setupwizardlib/test/
H A DRecyclerViewRequireScrollHelperTest.java132 public boolean post(Runnable action) { argument
133 action.run();
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/
H A DRequireScrollHelperTest.java112 public boolean post(Runnable action) { argument
113 action.run();
/frameworks/support/v4/api21/android/support/v4/media/session/
H A DPlaybackStateCompatApi21.java95 public static Object newInstance(String action, CharSequence name, argument
98 new PlaybackState.CustomAction.Builder(action, name, icon);
/frameworks/base/drm/java/android/drm/
H A DDrmManagerClient.java369 * @param action Action defined in {@link DrmStore.Action}.
375 public ContentValues getConstraints(String path, int action) { argument
376 if (null == path || path.equals("") || !DrmStore.Action.isValid(action)) {
379 return _getConstraints(mUniqueId, path, action);
401 * @param action Action defined in {@link DrmStore.Action}.
406 public ContentValues getConstraints(Uri uri, int action) { argument
410 return getConstraints(convertUriToPath(uri), action);
674 * @param action The {@link DrmStore.Action} to perform.
678 public int checkRightsStatus(String path, int action) { argument
679 if (null == path || path.equals("") || !DrmStore.Action.isValid(action)) {
694 checkRightsStatus(Uri uri, int action) argument
895 _checkRightsStatus(int uniqueId, String path, int action) argument
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DUiModeManagerService.java121 Slog.v(TAG, "Handling broadcast result for action " + intent.getAction()
448 String action = null;
465 action = UiModeManager.ACTION_ENTER_CAR_MODE;
473 action = UiModeManager.ACTION_ENTER_DESK_MODE;
477 action = oldAction;
480 if (action != null) {
483 "updateLocked: preparing broadcast: action=%s enable=0x%08x disable=0x%08x",
484 action, enableFlags, disableFlags));
493 Intent intent = new Intent(action);
523 Slog.v(TAG, "updateLocked: null action, mDockStat
544 updateAfterBroadcastLocked(String action, int enableFlags, int disableFlags) argument
[all...]
/frameworks/base/core/java/android/view/inputmethod/
H A DInputConnection.java629 * Have the editor perform an action it has said it can do.
632 * associated with the action.</p>
634 * @param editorAction This must be one of the action constants for
643 * Perform a context menu action on the field. The given id may be one of:
770 * @param action Name of the command to be performed. This <em>must</em>
778 public boolean performPrivateCommand(String action, Bundle data); argument
/frameworks/base/core/java/android/widget/
H A DDropDownListView.java121 final int action = ev.getActionMasked();
122 if (action == MotionEvent.ACTION_HOVER_EXIT && mResolveHoverRunnable == null) {
132 if (action == MotionEvent.ACTION_HOVER_ENTER
133 || action == MotionEvent.ACTION_HOVER_MOVE) {
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
H A DMtpClient.java51 "android.mtp.MtpClient.action.USB_PERMISSION";
66 String action = intent.getAction();
73 if (UsbManager.ACTION_USB_DEVICE_ATTACHED.equals(action)) {
82 } else if (UsbManager.ACTION_USB_DEVICE_DETACHED.equals(action)) {
89 } else if (ACTION_USB_PERMISSION.equals(action)) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
H A DCarBatteryController.java129 String action = intent.getAction();
132 Log.d(TAG, "onReceive(). action: " + action);
135 if (BluetoothHeadsetClient.ACTION_AG_EVENT.equals(action)) {
148 } else if (BluetoothHeadsetClient.ACTION_CONNECTION_STATE_CHANGED.equals(action)) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
H A DNightModeFragment.java96 MetricsLogger.action(getContext(), MetricsEvent.ACTION_TUNER_NIGHT_MODE, newState);
125 MetricsLogger.action(getContext(), MetricsEvent.ACTION_TUNER_NIGHT_MODE_AUTO, value);
128 MetricsLogger.action(getContext(),
133 MetricsLogger.action(getContext(),
H A DTunerSwitch.java47 MetricsLogger.action(getContext(), mAction, isChecked());
/frameworks/base/services/core/java/com/android/server/location/
H A DLocationProviderProxy.java56 Context context, String name, String action,
59 LocationProviderProxy proxy = new LocationProviderProxy(context, name, action,
69 private LocationProviderProxy(Context context, String name, String action, argument
74 mServiceWatcher = new ServiceWatcher(mContext, TAG + "-" + name, action, overlaySwitchResId,
55 createAndBind( Context context, String name, String action, int overlaySwitchResId, int defaultServicePackageNameResId, int initialPackageNamesResId, Handler handler) argument
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
H A DSourceActivity.java219 String action = intent.getAction();
220 if (action.equals(UsbManager.ACTION_USB_ACCESSORY_ATTACHED)) {
222 } else if (action.equals(UsbManager.ACTION_USB_ACCESSORY_DETACHED)) {
224 } else if (action.equals(ACTION_USB_ACCESSORY_PERMISSION)) {
/frameworks/base/tools/aapt2/
H A DFlags.h54 std::function<bool(const StringPiece& value)> action; member in struct:aapt::Flags::Flag
/frameworks/compile/mclinker/lib/LD/
H A DStaticResolver.cpp66 LinkAction action; local
69 action = link_action[row][col];
71 switch (action) {
77 case NOACT: { /* no action. */
203 error(diag::undefined_situation) << action << old->name()
207 } // end of the big switch (action)
/frameworks/support/design/tests/src/android/support/design/widget/
H A DSnackbarTest.java38 import static android.support.test.espresso.action.ViewActions.*;
76 // If the action is not empty, verify that we're showing it
90 // Verify different combinations of snackbar content (message and action) and duration
96 // String message and no action
101 // Resource message and no action
106 // String message and string action
112 // String message and resource action
118 // Resource message and resource action
126 final @Nullable ViewAction action, final @Nullable DismissAction dismissAction,
144 if (action !
125 verifyDismissCallback(final ViewInteraction interaction, final @Nullable ViewAction action, final @Nullable DismissAction dismissAction, final int length, @Snackbar.Callback.DismissEvent final int expectedEvent) argument
[all...]
/frameworks/support/v4/ics/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompatIcs.java42 public static void addAction(Object info, int action) { argument
43 ((AccessibilityNodeInfo) info).addAction(action);
140 public static boolean performAction(Object info, int action) { argument
141 return ((AccessibilityNodeInfo) info).performAction(action);
/frameworks/support/v4/tests/java/android/support/v4/view/
H A DViewPagerActions.java24 import android.support.test.espresso.action.CoordinatesProvider;
25 import android.support.test.espresso.action.GeneralClickAction;
26 import android.support.test.espresso.action.Press;
27 import android.support.test.espresso.action.Tap;
97 throw new IllegalArgumentException("Don't wrap an already wrapped action");
124 // wrapped action results in the view pager getting to the STATE_IDLE state
/frameworks/opt/net/ims/src/java/com/android/ims/
H A DImsUt.java47 public static final String KEY_ACTION = "action";
310 public void updateCallBarring(int cbType, int action, Message result, String[] barrList) { argument
318 + ", action=" + action + ", barrList=" + bList);
322 + ", action=" + action);
328 int id = miUt.updateCallBarring(cbType, action, barrList);
348 public void updateCallForward(int action, int condition, String number, argument
351 log("updateCallForward :: Ut=" + miUt + ", action=" + action
[all...]

Completed in 700 milliseconds

1234567891011>>