/frameworks/av/drm/common/ |
H A D | DrmEngineBase.cpp | 30 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 D | IDrmManagerService.cpp | 157 int uniqueId, const String8* path, const int action) { 164 data.writeInt32(action); 399 int BpDrmManagerService::checkRightsStatus(int uniqueId, const String8& path, int action) { argument 406 data.writeInt32(action); 414 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) { 423 data.writeInt32(action); 449 int action, const ActionDescription& description) { 456 data.writeInt32(action); 1099 const int action = data.readInt32(); local 1100 const int result = checkRightsStatus(uniqueId, path, action); 156 getConstraints( int uniqueId, const String8* path, const int action) argument 413 consumeRights( int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) argument 447 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument 1116 const int action = data.readInt32(); local 1153 const int action = data.readInt32(); local [all...] |
/frameworks/av/drm/drmserver/ |
H A D | DrmManager.cpp | 158 DrmConstraints* DrmManager::getConstraints(int uniqueId, const String8* path, const int action) { argument 163 return rDrmEngine.getConstraints(uniqueId, path, action); 264 int DrmManager::checkRightsStatus(int uniqueId, const String8& path, int action) { argument 269 return rDrmEngine.checkRightsStatus(uniqueId, path, action); 275 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) { 280 result = drmEngine->consumeRights(uniqueId, decryptHandle, action, reserve); 297 int uniqueId, const String8& path, int action, const ActionDescription& description) { 302 return rDrmEngine.validateAction(uniqueId, path, action, description); 274 consumeRights( int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) argument 296 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument
|
H A D | DrmManagerService.cpp | 102 int uniqueId, const String8* path, const int action) { 104 return mDrmManager->getConstraints(uniqueId, path, action); 146 int uniqueId, const String8& path, int action) { 148 return mDrmManager->checkRightsStatus(uniqueId, path, action); 152 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) { 157 return mDrmManager->consumeRights(uniqueId, decryptHandle, action, reserve); 171 int action, const ActionDescription& description) { 173 return mDrmManager->validateAction(uniqueId, path, action, description); 101 getConstraints( int uniqueId, const String8* path, const int action) argument 145 checkRightsStatus( int uniqueId, const String8& path, int action) argument 151 consumeRights( int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) argument 169 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument
|
/frameworks/av/drm/libdrmframework/ |
H A D | DrmManagerClient.cpp | 42 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 D | DrmManagerClientImpl.cpp | 101 int uniqueId, const String8* path, const int action) { 105 getDrmManagerService()->getConstraints(uniqueId, path, action); 171 int uniqueId, const String8& path, int action) { 175 getDrmManagerService()->checkRightsStatus(uniqueId, path, action); 182 int action, bool reserve) { 186 uniqueId, decryptHandle.get(), action, reserve); 204 int action, const ActionDescription& description) { 208 uniqueId, path, action, description); 100 getConstraints( int uniqueId, const String8* path, const int action) argument 170 checkRightsStatus( int uniqueId, const String8& path, int action) argument 180 consumeRights( int uniqueId, sp<DecryptHandle> &decryptHandle, int action, bool reserve) argument 202 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument
|
H A D | NoOpDrmManagerClientImpl.cpp | 35 DrmConstraints* NoOpDrmManagerClientImpl::getConstraints(int uniqueId, const String8* path, const int action) { argument 68 int NoOpDrmManagerClientImpl::checkRightsStatus(int uniqueId, const String8& path, int action) { argument 72 status_t NoOpDrmManagerClientImpl::consumeRights(int uniqueId, sp<DecryptHandle> &decryptHandle, int action, bool reserve) { argument 82 int uniqueId, const String8& path, int action, const ActionDescription& description) { 81 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument
|
/frameworks/av/drm/libdrmframework/include/ |
H A D | DrmManager.h | 73 DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action); 90 int checkRightsStatus(int uniqueId, const String8& path, int action); 92 status_t consumeRights(int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve); 98 int uniqueId, const String8& path, int action, const ActionDescription& description);
|
H A D | DrmManagerClientImpl.h | 79 * @param[in] action Actions defined such as, 86 virtual DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action); 175 * @param[in] action Action to perform (Action::DEFAULT, Action::PLAY, etc) 179 virtual int checkRightsStatus(int uniqueId, const String8& path, int action); 188 * @param[in] action Action to perform. (Action::DEFAULT, Action::PLAY, etc) 193 virtual 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 D | DrmManagerService.h | 60 DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action); 77 int checkRightsStatus(int uniqueId, const String8& path,int action); 79 status_t consumeRights(int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve); 85 int action, const ActionDescription& description);
|
H A D | IDrmManagerService.h | 97 int uniqueId, const String8* path, const int action) = 0; 115 virtual int checkRightsStatus(int uniqueId, const String8& path, int action) = 0; 118 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) = 0; 125 int action, const ActionDescription& description) = 0; 186 virtual DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action); 203 virtual int checkRightsStatus(int uniqueId, const String8& path, int action); 206 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve); 212 int uniqueId, const String8& path, int action, const ActionDescription& description);
|
H A D | NoOpDrmManagerClientImpl.h | 33 DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action); 43 int checkRightsStatus(int uniqueId, const String8& path, int action); 44 status_t consumeRights(int uniqueId, sp<DecryptHandle> &decryptHandle, int action, bool reserve); 48 int uniqueId, const String8& path, int action, const ActionDescription& description);
|
/frameworks/av/drm/libdrmframework/plugins/common/include/ |
H A D | DrmEngineBase.h | 37 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 D | IDrmEngine.h | 97 * @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 D | FwdLockEngine.h | 50 * @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 D | FwdLockEngine.cpp | 108 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 D | DrmPassthruPlugIn.h | 31 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 D | DrmPassthruPlugIn.cpp | 60 int uniqueId, const String8* path, int action) { 178 int DrmPassthruPlugIn::onCheckRightsStatus(int uniqueId, const String8& path, int action) { argument 185 int action, bool reserve) { 197 int action, const ActionDescription& description) { 59 onGetConstraints( int uniqueId, const String8* path, int action) argument 184 onConsumeRights(int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) argument 196 onValidateAction(int uniqueId, const String8& path, int action, const ActionDescription& description) argument
|
/frameworks/av/include/drm/ |
H A D | DrmManagerClient.h | 110 * @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/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayer.cpp | 146 // the action. 1503 ALOGV("postponing action mFlushingAudio=%d, mFlushingVideo=%d", 1509 sp<Action> action = *mDeferredActions.begin(); local 1512 action->execute(this);
|
/frameworks/base/cmds/input/src/com/android/commands/input/ |
H A D | Input.java | 241 * @param action the MotionEvent.ACTION_* for the event 247 private void injectMotionEvent(int inputSource, int action, long when, float x, float y, float pressure) { argument 254 MotionEvent event = MotionEvent.obtain(when, when, action, x, y, pressure, DEFAULT_SIZE,
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | UiAutomatorBridge.java | 30 * each action. 136 public boolean performGlobalAction(int action) { argument 137 return mUiAutomation.performGlobalAction(action);
|
/frameworks/base/core/java/android/accessibilityservice/ |
H A D | AccessibilityService.java | 61 * accessibility service is triggered exclusively by an explicit user action through 80 * <action android:name="android.accessibilityservice.AccessibilityService" /> 99 * <action android:name="android.accessibilityservice.AccessibilityService" /> 517 * Performs a global action. Such an action can be performed 522 * @param action The action to perform. 523 * @return Whether the action was successfully performed. 530 public final boolean performGlobalAction(int action) { argument 535 return connection.performGlobalAction(action); [all...] |
H A D | IAccessibilityServiceConnection.aidl | 54 int action, in Bundle arguments, int interactionId, 63 boolean performGlobalAction(int action);
|
/frameworks/base/core/java/android/app/ |
H A D | Activity.java | 1692 // Do this last; the action bar will need to access 2092 * a traditional window decor action bar. The toolbar's menu will be populated with the 2094 * {@link android.R.id#home home} menu select action.</p> 2099 * @param toolbar Toolbar to set as the Activity's action bar 2103 throw new IllegalStateException("This Activity already has an action bar supplied " + 2352 * it will set up the dispatch to call {@link #onKeyUp} where the action 2354 * action immediately in on-down, as those versions of the platform 2580 * <p>Note that this callback will be invoked for the touch down action 2694 // Let action bars open menus in response to the menu key prioritized over 2859 Log.e(TAG, "Tried to open action ba 5289 runOnUiThread(Runnable action) argument [all...] |