/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/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/base/core/java/android/accessibilityservice/ |
H A D | IAccessibilityServiceConnection.aidl | 53 int action, in Bundle arguments, int interactionId, 58 boolean performGlobalAction(int action);
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/ |
H A D | PhotoViewPager.java | 124 final int action = ev.getAction() & MotionEventCompat.ACTION_MASK; 126 if (action == MotionEvent.ACTION_CANCEL || action == MotionEvent.ACTION_UP) { 130 switch (action) {
|
/frameworks/base/core/java/android/view/ |
H A D | ScaleGestureDetector.java | 264 final int action = event.getActionMasked(); 266 final boolean streamComplete = action == MotionEvent.ACTION_UP || 267 action == MotionEvent.ACTION_CANCEL; 268 if (action == MotionEvent.ACTION_DOWN || streamComplete) { 284 final boolean configChanged = action == MotionEvent.ACTION_DOWN || 285 action == MotionEvent.ACTION_POINTER_UP || 286 action == MotionEvent.ACTION_POINTER_DOWN; 287 final boolean pointerUp = action == MotionEvent.ACTION_POINTER_UP; 351 if (action == MotionEvent.ACTION_MOVE) {
|
H A D | InputEventConsistencyVerifier.java | 201 final int action = event.getAction(); 205 switch (action) { 237 problem("Invalid action " + KeyEvent.actionToString(action) 263 final int action = event.getAction(); 266 switch (action) { 291 problem("Invalid action " + MotionEvent.actionToString(action) 323 final int action = event.getAction(); 324 final boolean newStream = action [all...] |
H A D | DragEvent.java | 31 * an action type that indicates the state of the drag and drop operation. This allows a View 33 * For example, a View can react to the {@link #ACTION_DRAG_ENTERED} action type by 38 * is called a drag shadow. Several action types reflect the position of the drag shadow relative 195 * The View can also react to this action by changing its appearance. 255 private void init(int action, float x, float y, ClipDescription description, ClipData data, argument 257 mAction = action; 271 public static DragEvent obtain(int action, float x, float y, Object localState, argument 277 ev.init(action, x, y, description, data, localState, result); 288 ev.init(action, x, y, description, data, localState, result); 300 * Inspect the action valu [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | IdleMaintenanceService.java | 70 "com.android.server.IdleMaintenanceService.action.UPDATE_IDLE_MAINTENANCE_STATE"; 260 String action = intent.getAction(); 261 if (Intent.ACTION_BATTERY_CHANGED.equals(action)) { 271 } else if (Intent.ACTION_SCREEN_ON.equals(action) 272 || Intent.ACTION_DREAMING_STOPPED.equals(action)) { 280 } else if (Intent.ACTION_SCREEN_OFF.equals(action) 281 || Intent.ACTION_DREAMING_STARTED.equals(action)) { 287 } else if (ACTION_UPDATE_IDLE_MAINTENANCE_STATE.equals(action)) { 289 } else if (Intent.ACTION_IDLE_MAINTENANCE_START.equals(action) 290 || Intent.ACTION_IDLE_MAINTENANCE_END.equals(action)) { [all...] |
/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
|
/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
|
/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/base/core/java/com/android/internal/view/ |
H A D | IInputMethodSession.aidl | 45 void appPrivateCommand(String action, in Bundle data);
|
/frameworks/base/drm/java/android/drm/ |
H A D | DrmStore.java | 41 * {@link android.drm.DrmStore.Action action}. 50 * {@link android.drm.DrmStore.Action action}. 58 * an {@link android.drm.DrmStore.Action action} can be performed on 67 * an {@link android.drm.DrmStore.Action action} can not be performed on 165 * The default action. 197 /* package */ static boolean isValid(int action) { argument 200 switch (action) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
H A D | SettingsUI.java | 43 String action = intent.getAction(); 44 if (action.equals(Intent.ACTION_SHOW_BRIGHTNESS_DIALOG)) {
|
/frameworks/support/v4/java/android/support/v4/content/ |
H A D | LocalBroadcastManager.java | 143 String action = filter.getAction(i); 144 ArrayList<ReceiverRecord> entries = mActions.get(action); 147 mActions.put(action, entries); 172 String action = filter.getAction(j); 173 ArrayList<ReceiverRecord> receivers = mActions.get(action); 182 mActions.remove(action); 202 final String action = intent.getAction(); 231 int match = receiver.filter.match(action, type, scheme, data, 245 case IntentFilter.NO_MATCH_ACTION: reason = "action"; break;
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | LaunchpadActivity.java | 171 String action = getIntent().getAction(); 174 if (LIFECYCLE_BASIC.equals(action)) { 177 } else if (LIFECYCLE_SCREEN.equals(action)) { 182 } else if (LIFECYCLE_DIALOG.equals(action)) { 186 } else if (LIFECYCLE_FINISH_CREATE.equals(action)) { 194 } else if (LIFECYCLE_FINISH_START.equals(action)) { 227 String action = getIntent().getAction(); 231 if (LAUNCH.equals(action)) { 238 } else if (FORWARD_RESULT.equals(action)) { 243 } else if (BAD_PARCELABLE.equals(action)) { 438 makeBroadcastIntent(String action) argument [all...] |
/frameworks/base/core/java/com/android/internal/content/ |
H A D | PackageMonitor.java | 298 String action = intent.getAction(); 299 if (Intent.ACTION_PACKAGE_ADDED.equals(action)) { 325 } else if (Intent.ACTION_PACKAGE_REMOVED.equals(action)) { 351 } else if (Intent.ACTION_PACKAGE_CHANGED.equals(action)) { 365 } else if (Intent.ACTION_QUERY_PACKAGE_RESTART.equals(action)) { 372 } else if (Intent.ACTION_PACKAGE_RESTARTED.equals(action)) { 377 } else if (Intent.ACTION_UID_REMOVED.equals(action)) { 379 } else if (Intent.ACTION_USER_STOPPED.equals(action)) { 383 } else if (Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE.equals(action)) { 394 } else if (Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE.equals(action)) { [all...] |
/frameworks/base/services/input/tests/ |
H A D | InputReader_test.cpp | 1524 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, args.action); 1530 ASSERT_EQ(AKEY_EVENT_ACTION_UP, args.action); 1562 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, args.action); 1577 ASSERT_EQ(AKEY_EVENT_ACTION_UP, args.action); 1594 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, args.action); 1611 ASSERT_EQ(AKEY_EVENT_ACTION_UP, args.action); 1628 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, args.action); 1645 ASSERT_EQ(AKEY_EVENT_ACTION_UP, args.action); 1788 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, args.action); 1797 ASSERT_EQ(AKEY_EVENT_ACTION_UP, args.action); [all...] |
/frameworks/av/drm/libdrmframework/include/ |
H A D | DrmManager.h | 75 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 D | DrmManagerClientImpl.h | 79 * @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...] |
/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/base/core/java/android/view/inputmethod/ |
H A D | InputConnection.java | 562 * Have the editor perform an action it has said it can do. 565 * associated with the action.</p> 567 * @param editorAction This must be one of the action constants for 576 * Perform a context menu action on the field. The given id may be one of: 703 * @param action Name of the command to be performed. This <em>must</em> 711 public boolean performPrivateCommand(String action, Bundle data); argument
|
H A D | InputMethodSession.java | 160 * @param action Name of the command to be performed. This <em>must</em> 165 public void appPrivateCommand(String action, Bundle data); argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | BluetoothController.java | 82 final String action = intent.getAction(); 84 if (action.equals(BluetoothAdapter.ACTION_STATE_CHANGED)) { 87 } else if (action.equals(BluetoothAdapter.ACTION_CONNECTION_STATE_CHANGED)) { 91 } else if (action.equals(BluetoothDevice.ACTION_BOND_STATE_CHANGED)) {
|