Searched refs:action (Results 1 - 25 of 288) sorted by path

1234567891011>>

/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/include/
H A DDrmManager.h75 DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action);
92 int checkRightsStatus(int uniqueId, const String8& path, int action);
94 status_t consumeRights(int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve);
100 int uniqueId, const String8& path, int action, const ActionDescription& description);
H A DDrmManagerClientImpl.h79 * @param[in] action Actions defined such as,
86 DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action);
175 * @param[in] action Action to perform (Action::DEFAULT, Action::PLAY, etc)
179 int checkRightsStatus(int uniqueId, const String8& path, int action);
188 * @param[in] action Action to perform. (Action::DEFAULT, Action::PLAY, etc)
193 status_t consumeRights(int uniqueId, sp<DecryptHandle> &decryptHandle, int action, bool reserve);
200 * @param[in] playbackStatus Playback action (Playback::START, Playback::STOP, Playback::PAUSE)
210 * Validates whether an action on the DRM content is allowed or not.
214 * @param[in] action Action to validate (Action::PLAY, Action::TRANSFER, etc)
215 * @param[in] description Detailed description of the action
[all...]
H A DDrmManagerService.h62 DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action);
79 int checkRightsStatus(int uniqueId, const String8& path,int action);
81 status_t consumeRights(int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve);
87 int action, const ActionDescription& description);
H A DIDrmManagerService.h99 int uniqueId, const String8* path, const int action) = 0;
117 virtual int checkRightsStatus(int uniqueId, const String8& path, int action) = 0;
120 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) = 0;
127 int action, const ActionDescription& description) = 0;
190 virtual DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action);
207 virtual int checkRightsStatus(int uniqueId, const String8& path, int action);
210 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve);
216 int uniqueId, const String8& path, int action, const ActionDescription& description);
/frameworks/av/drm/libdrmframework/plugins/common/include/
H A DDrmEngineBase.h37 DrmConstraints* getConstraints(int uniqueId, const String8* path, int action);
60 int checkRightsStatus(int uniqueId, const String8& path, int action);
62 status_t consumeRights(int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve);
68 int uniqueId, const String8& path, int action, const ActionDescription& description);
116 * @param[in] action Actions defined such as,
124 int uniqueId, const String8* path, int action) = 0;
250 * @param[in] action Action to perform (Action::DEFAULT, Action::PLAY, etc)
254 virtual int onCheckRightsStatus(int uniqueId, const String8& path, int action) = 0;
263 * @param[in] action Action to perform. (Action::DEFAULT, Action::PLAY, etc)
269 int action, boo
[all...]
H A DIDrmEngine.h97 * @param[in] action Actions defined such as,
105 int uniqueId, const String8* path, int action) = 0;
194 * @param[in] action Action to perform (Action::DEFAULT, Action::PLAY, etc)
198 virtual int checkRightsStatus(int uniqueId, const String8& path, int action) = 0;
207 * @param[in] action Action to perform. (Action::DEFAULT, Action::PLAY, etc)
213 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) = 0;
220 * @param[in] playbackStatus Playback action (Playback::START, Playback::STOP, Playback::PAUSE)
230 * Validates whether an action on the DRM content is allowed or not.
234 * @param[in] action Action to validate (Action::PLAY, Action::TRANSFER, etc)
235 * @param[in] description Detailed description of the action
[all...]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/
H A DFwdLockEngine.h50 * @param action Actions defined such as,
57 DrmConstraints* onGetConstraints(int uniqueId, const String8* path, int action);
180 * @param action Action to perform (Action::DEFAULT, Action::PLAY, etc)
186 int action);
195 * @param action Action to perform. (Action::DEFAULT, Action::PLAY, etc)
202 int action,
210 * @param playbackStatus Playback action (Playback::START, Playback::STOP, Playback::PAUSE)
229 * Validates whether an action on the DRM content is allowed or not.
233 * @param action Action to validate (Action::PLAY, Action::TRANSFER, etc)
234 * @param description Detailed description of the action
[all...]
/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/include/
H A DDrmPassthruPlugIn.h31 DrmConstraints* onGetConstraints(int uniqueId, const String8* path, int action);
54 int onCheckRightsStatus(int uniqueId, const String8& path, int action);
56 status_t onConsumeRights(int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve);
62 int uniqueId, const String8& path, int action, const ActionDescription& description);
/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/av/include/drm/
H A DDrmManagerClient.h110 * @param[in] action Action to perform. (Action::DEFAULT, Action::PLAY, etc)
116 status_t consumeRights(sp<DecryptHandle> &decryptHandle, int action, bool reserve);
122 * @param[in] playbackStatus Playback action (Playback::START, Playback::STOP, Playback::PAUSE)
188 * Validates whether an action on the DRM content is allowed or not.
191 * @param[in] action Action to validate. (Action::DEFAULT, Action::PLAY, etc)
192 * @param[in] description Detailed description of the action
193 * @return true if the action is allowed.
195 bool validateAction(const String8& path, int action, const ActionDescription& description);
216 * @param[in] action Actions defined such as,
223 DrmConstraints* getConstraints(const String8* path, const int action);
[all...]
/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 DIAccessibilityServiceConnection.aidl140 * Performs an accessibility action on an
150 * @param action The action to perform.
151 * @param arguments Optional action arguments.
155 * @return Whether the action was performed.
158 int action, in Bundle arguments, int interactionId,
167 * Performs a global action, such as going home, going back, etc.
169 * @param action The action to perform.
170 * @return Whether the action wa
[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);

Completed in 2490 milliseconds

1234567891011>>