Searched defs:action (Results 1 - 25 of 136) sorted by path

123456

/frameworks/av/drm/common/
H A DDrmEngineBase.cpp30 int uniqueId, const String8* path, int action) {
31 return onGetConstraints(uniqueId, path, action);
77 int DrmEngineBase::checkRightsStatus(int uniqueId, const String8& path, int action) { argument
78 return onCheckRightsStatus(uniqueId, path, action);
82 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) {
83 return onConsumeRights(uniqueId, decryptHandle, action, reserve);
93 int action, const ActionDescription& description) {
94 return onValidateAction(uniqueId, path, action, description);
29 getConstraints( int uniqueId, const String8* path, int action) argument
81 consumeRights( int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) argument
91 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument
H A DIDrmManagerService.cpp169 int uniqueId, const String8* path, const int action) {
176 data.writeInt32(action);
409 int BpDrmManagerService::checkRightsStatus(int uniqueId, const String8& path, int action) { argument
416 data.writeInt32(action);
424 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) {
433 data.writeInt32(action);
459 int action, const ActionDescription& description) {
466 data.writeInt32(action);
1120 const int action = data.readInt32(); local
1121 const int result = checkRightsStatus(uniqueId, path, action);
168 getConstraints( int uniqueId, const String8* path, const int action) argument
423 consumeRights( int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) argument
457 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument
1137 const int action = data.readInt32(); local
1174 const int action = data.readInt32(); local
[all...]
/frameworks/av/drm/drmserver/
H A DDrmManager.cpp168 DrmConstraints* DrmManager::getConstraints(int uniqueId, const String8* path, const int action) { argument
173 return rDrmEngine.getConstraints(uniqueId, path, action);
289 int DrmManager::checkRightsStatus(int uniqueId, const String8& path, int action) { argument
294 return rDrmEngine.checkRightsStatus(uniqueId, path, action);
300 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) {
305 result = drmEngine->consumeRights(uniqueId, decryptHandle, action, reserve);
322 int uniqueId, const String8& path, int action, const ActionDescription& description) {
327 return rDrmEngine.validateAction(uniqueId, path, action, description);
299 consumeRights( int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) argument
321 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument
H A DDrmManagerService.cpp96 int uniqueId, const String8* path, const int action) {
98 return mDrmManager->getConstraints(uniqueId, path, action);
140 int uniqueId, const String8& path, int action) {
142 return mDrmManager->checkRightsStatus(uniqueId, path, action);
146 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) {
151 return mDrmManager->consumeRights(uniqueId, decryptHandle, action, reserve);
165 int action, const ActionDescription& description) {
167 return mDrmManager->validateAction(uniqueId, path, action, description);
95 getConstraints( int uniqueId, const String8* path, const int action) argument
139 checkRightsStatus( int uniqueId, const String8& path, int action) argument
145 consumeRights( int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) argument
163 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument
/frameworks/av/drm/libdrmframework/
H A DDrmManagerClient.cpp42 DrmConstraints* DrmManagerClient::getConstraints(const String8* path, const int action) { argument
43 return mDrmManagerClientImpl->getConstraints(mUniqueId, path, action);
75 int DrmManagerClient::checkRightsStatus(const String8& path, int action) { argument
76 return mDrmManagerClientImpl->checkRightsStatus(mUniqueId, path, action);
80 sp<DecryptHandle> &decryptHandle, int action, bool reserve) {
81 return mDrmManagerClientImpl->consumeRights(mUniqueId, decryptHandle, action, reserve);
91 const String8& path, int action, const ActionDescription& description) {
92 return mDrmManagerClientImpl->validateAction(mUniqueId, path, action, description);
79 consumeRights( sp<DecryptHandle> &decryptHandle, int action, bool reserve) argument
90 validateAction( const String8& path, int action, const ActionDescription& description) argument
H A DDrmManagerClientImpl.cpp99 int uniqueId, const String8* path, const int action) {
103 getDrmManagerService()->getConstraints(uniqueId, path, action);
169 int uniqueId, const String8& path, int action) {
173 getDrmManagerService()->checkRightsStatus(uniqueId, path, action);
180 int action, bool reserve) {
184 uniqueId, decryptHandle.get(), action, reserve);
202 int action, const ActionDescription& description) {
206 uniqueId, path, action, description);
98 getConstraints( int uniqueId, const String8* path, const int action) argument
168 checkRightsStatus( int uniqueId, const String8& path, int action) argument
178 consumeRights( int uniqueId, sp<DecryptHandle> &decryptHandle, int action, bool reserve) argument
200 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
H A DFwdLockEngine.cpp108 DrmConstraints* FwdLockEngine::onGetConstraints(int uniqueId, const String8* path, int action) { argument
114 (RightsStatus::RIGHTS_VALID == onCheckRightsStatus(uniqueId, *path, action))) {
265 int action) {
270 // Only Transfer action is not allowed for forward Lock files.
272 switch(action) {
295 int action,
304 int action,
309 return (onCheckRightsStatus(uniqueId, path, action) == RightsStatus::RIGHTS_VALID);
263 onCheckRightsStatus(int uniqueId, const String8& path, int action) argument
293 onConsumeRights(int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) argument
302 onValidateAction(int uniqueId, const String8& path, int action, const ActionDescription& description) argument
/frameworks/av/drm/libdrmframework/plugins/passthru/src/
H A DDrmPassthruPlugIn.cpp60 int uniqueId, const String8* path, int action) {
177 int DrmPassthruPlugIn::onCheckRightsStatus(int uniqueId, const String8& path, int action) { argument
184 int action, bool reserve) {
196 int action, const ActionDescription& description) {
59 onGetConstraints( int uniqueId, const String8* path, int action) argument
183 onConsumeRights(int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) argument
195 onValidateAction(int uniqueId, const String8& path, int action, const ActionDescription& description) argument
/frameworks/base/cmds/input/src/com/android/commands/input/
H A DInput.java209 * @param action the MotionEvent.ACTION_* for the event
215 private void injectMotionEvent(int inputSource, int action, long when, float x, float y, float pressure) { argument
222 MotionEvent event = MotionEvent.obtain(when, when, action, x, y, pressure, DEFAULT_SIZE,
/frameworks/base/cmds/service/
H A Dservice.cpp152 char* action = NULL; local
172 if (strcmp(key, "action") == 0)
174 action = value;
208 writeString16(data, action);
269 // " action=STR data=STR type=STR launchFlags=INT component=STR categories=STR[,STR,...]\n";
/frameworks/base/core/java/android/accessibilityservice/
H A DAccessibilityService.java52 * accessibility service is triggered exclusively by an explicit user action through
71 * &lt;action android:name="android.accessibilityservice.AccessibilityService" /&gt;
90 * &lt;action android:name="android.accessibilityservice.AccessibilityService" /&gt;
423 * Performs a global action. Such an action can be performed
428 * @param action The action to perform.
429 * @return Whether the action was successfully performed.
436 public final boolean performGlobalAction(int action) { argument
441 return connection.performGlobalAction(action);
[all...]
H A DUiTestAutomationBridge.java444 * Performs an accessibility action on an {@link AccessibilityNodeInfo}
448 * @param action The action to perform.
449 * @param arguments Optional action arguments.
450 * @return Whether the action was performed.
452 public boolean performAccessibilityActionInActiveWindow(long accessibilityNodeId, int action, argument
454 return performAccessibilityAction(ACTIVE_WINDOW_ID, accessibilityNodeId, action, arguments);
458 * Performs an accessibility action on an {@link AccessibilityNodeInfo}.
463 * @param action The action t
467 performAccessibilityAction(int accessibilityWindowId, long accessibilityNodeId, int action, Bundle arguments) argument
[all...]
/frameworks/base/core/java/android/app/
H A DActivity.java1465 // Do this last; the action bar will need to access
2043 * it will set up the dispatch to call {@link #onKeyUp} where the action
2045 * action immediately in on-down, as those versions of the platform
2265 * <p>Note that this callback will be invoked for the touch down action
2526 Log.e(TAG, "Tried to open action bar menu with no action bar");
2699 * activity hierarchy from the action bar.
3291 // Make sure that action views can get an appropriate theme.
3452 * here; otherwise, its associated action will be executed (such as
4634 * Runs the specified action o
4640 runOnUiThread(Runnable action) argument
[all...]
H A DActivityManagerNative.java1193 String action = data.readString();
1195 startRunning(pkg, cls, action, indata);
3299 public void startRunning(String pkg, String cls, String action, argument
3306 data.writeString(action);
H A DFragmentManager.java191 * enqueues the request to pop, but the action will not be performed until the
208 * request to pop, but the action will not be performed until the application
230 * request to pop, but the action will not be performed until the application
1319 "Can not perform this action after onSaveInstanceState");
1323 "Can not perform this action inside of " + mNoTransactionsBecause);
1327 public void enqueueAction(Runnable action, boolean allowStateLoss) { argument
1338 mPendingActions.add(action);
H A DIActivityManager.java236 public void startRunning(String pkg, String cls, String action, argument
H A DNotification.java443 * Structure to encapsulate an "action", including title and icon, that can be attached to a Notification.
890 sb.append(" action");
1382 * Add an action to this notification. Actions are typically displayed by
1385 * @param icon Resource ID of a drawable that represents the action.
1386 * @param title Text describing the action.
1387 * @param intent PendingIntent to be fired when the action is invoked.
1529 //Log.d("Notification", "adding action " + i + ": " + mActions.get(i).title);
1564 private RemoteViews generateActionButton(Action action) { argument
1565 final boolean tombstone = (action.actionIntent == null);
1569 button.setTextViewCompoundDrawables(R.id.action0, action
[all...]
H A DSearchDialog.java531 * @param actionKey The key code of the action key that was pressed,
533 * @param actionMsg The message for the action key that was pressed,
538 String action = Intent.ACTION_SEARCH;
539 Intent intent = createIntent(action, null, null, query, actionKey, actionMsg);
575 * @param action Intent action.
579 * @param actionKey The key code of the action key that was pressed,
581 * @param actionMsg The message for the action key that was pressed,
587 private Intent createIntent(String action, Uri data, String extraData, String query, argument
590 Intent intent = new Intent(action);
[all...]
H A DWallpaperManager.java90 * which allows them to provide a custom large icon associated with this action.
96 * host when the user taps on an empty area (not performing an action
105 * (not performing an action in the host). The x and y arguments are
739 * @param action Name of the command to perform. This must be a scoped
746 public void sendWallpaperCommand(IBinder windowToken, String action, argument
751 windowToken, action, x, y, z, extras, false);
/frameworks/base/core/java/android/content/
H A DIntent.java62 * holding an abstract description of an action to be performed.</p>
76 * <li> <p><b>action</b> -- The general action to be performed, such as
86 * <p>Some examples of action/data pairs are:</p>
97 * VIEW action does what what is considered the most reasonable thing for
119 * <li> <p><b>category</b> -- Gives additional information about the action
130 * at the other information in the intent (the action, data/type, and
137 * For example, if we have a action to send an e-mail message, we could
166 * <p>There are a variety of standard Intent action and category constants
170 * "android.intent.action
3449 Intent(String action) argument
3469 Intent(String action, Uri uri) argument
3517 Intent(String action, Uri uri, Context packageContext, Class<?> cls) argument
4795 setAction(String action) argument
[all...]
H A DIntentFilter.java50 * <em>action</em>, <em>data</em>, and <em>categories</em>. For each of these
84 * the <strong>action</strong> and <strong>category</strong> must match, and
89 * Intent action, <em>or</em> if no actions were specified in the filter.
126 * that unlike the action, an IntentFilter with no categories
141 private static final String ACTION_STR = "action";
315 * Create a new IntentFilter instance with a specified action and MIME
320 * @param action The action to match, i.e. Intent.ACTION_VIEW.
323 * @return A new IntentFilter for the given action and type.
327 public static IntentFilter create(String action, Strin argument
350 IntentFilter(String action) argument
372 IntentFilter(String action, String dataType) argument
441 addAction(String action) argument
469 hasAction(String action) argument
481 matchAction(String action) argument
1103 match(String action, String type, String scheme, Uri data, Set<String> categories, String logTag) argument
[all...]
/frameworks/base/core/java/android/inputmethodservice/
H A DIInputMethodSessionWrapper.java202 public void appPrivateCommand(String action, Bundle data) { argument
203 mCaller.executeOrSendMessage(mCaller.obtainMessageOO(DO_APP_PRIVATE_COMMAND, action, data));
H A DInputMethodService.java517 public void appPrivateCommand(String action, Bundle data) { argument
521 InputMethodService.this.onAppPrivateCommand(action, data);
1835 public void onAppPrivateCommand(String action, Bundle data) { argument
1961 * Ask the input target to execute its default action via
1968 * EditorInfo.IME_FLAG_NO_ENTER_ACTION}. If false, the action will be
1971 * @return Returns a boolean indicating whether an action has been sent.
1972 * If false, either the editor did not specify a default action or it
1973 * does not want an action from the enter key. If true, the action was
1984 // action associate
[all...]
/frameworks/base/core/java/android/service/wallpaper/
H A DWallpaperService.java108 String action; field in class:WallpaperService.WallpaperCommand
301 public void dispatchWallpaperCommand(String action, int x, int y,
306 cmd.action = action;
452 * @param action The name of the command to perform. This tells you
463 public Bundle onCommand(String action, int x, int y, int z, argument
871 result = onCommand(cmd.action, cmd.x, cmd.y, cmd.z,
1001 public void dispatchWallpaperCommand(String action, int x, int y, argument
1004 mEngine.mWindow.dispatchWallpaperCommand(action, x, y, z, extras, false);
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeech.java261 "android.intent.action.TTS_SERVICE";
556 private <R> R runActionNoReconnect(Action<R> action, R errorResult, String method) { argument
557 return runAction(action, errorResult, method, false);
560 private <R> R runAction(Action<R> action, R errorResult, String method) { argument
561 return runAction(action, errorResult, method, true);
564 private <R> R runAction(Action<R> action, R errorResult, String method, boolean reconnect) { argument
570 return mServiceConnection.runAction(action, errorResult, method, reconnect);
1333 public <R> R runAction(Action<R> action, R errorResult, String method, boolean reconnect) { argument
1340 return action.run(mService);
1384 * {@code android.intent.action
[all...]

Completed in 288 milliseconds

123456