Home
last modified time | relevance | path

Searched refs:action (Results 1 – 25 of 55) sorted by relevance

123

/cts/tests/src/android/app/cts/
DLaunchpadActivity.java180 final String action = getIntent().getAction(); in onCreate() local
181 if (LIFECYCLE_BASIC.equals(action)) { in onCreate()
185 } else if (LIFECYCLE_SCREEN.equals(action)) { in onCreate()
194 } else if (LIFECYCLE_DIALOG.equals(action)) { in onCreate()
277 final String action = getIntent().getAction(); in onResume() local
281 if (LAUNCH.equals(action)) { in onResume()
287 } else if (FORWARD_RESULT.equals(action)) { in onResume()
292 } else if (BAD_PARCELABLE.equals(action)) { in onResume()
298 } else if (BROADCAST_REGISTERED.equals(action)) { in onResume()
305 } else if (BROADCAST_LOCAL.equals(action)) { in onResume()
[all …]
DIntentServiceStub.java71 String action = intent.getAction(); in onHandleIntent() local
72 if (action != null && action.equals(ISS_ADD)) { in onHandleIntent()
DMockAlarmReceiver.java37 final String action = intent.getAction(); in onReceive() local
38 if (action.equals(MOCKACTION)) { in onReceive()
DSearchManagerStubActivity.java52 String action = getIntent().getAction(); in onCreate() local
53 if (action.equals(TEST_STOP_SEARCH)) { in onCreate()
55 } else if (action.equals(TEST_ON_DISMISSLISTENER)) { in onCreate()
57 } else if (action.equals(TEST_ON_CANCELLISTENER)) { in onCreate()
DActivityTestsBase.java129 public int runLaunchpad(String action) { in runLaunchpad() argument
130 startLaunchpadActivity(action); in runLaunchpad()
134 private void startLaunchpadActivity(String action) { in startLaunchpadActivity() argument
138 mIntent.setAction(action); in startLaunchpadActivity()
DExpandableListTestActivity.java141 final String action = getIntent().getAction(); in onResume() local
142 if (LaunchpadActivity.EXPANDLIST_SELECT.equals(action)) { in onResume()
144 } else if (LaunchpadActivity.EXPANDLIST_VIEW.equals(action)) { in onResume()
146 } else if (LaunchpadActivity.EXPANDLIST_CALLBACK.equals(action)) { in onResume()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nls/
DMockListener.java75 String action = intent.getAction(); in onCreate()
76 if (SERVICE_CHECK.equals(action)) { in onCreate()
79 } else if (SERVICE_POSTED.equals(action)) { in onCreate()
85 } else if (SERVICE_PAYLOADS.equals(action)) { in onCreate()
91 } else if (SERVICE_REMOVED.equals(action)) { in onCreate()
97 } else if (SERVICE_CLEAR_ONE.equals(action)) { in onCreate()
103 } else if (SERVICE_CLEAR_ALL.equals(action)) { in onCreate()
106 } else if (SERVICE_RESET.equals(action)) { in onCreate()
192 private static void sendCommand(Context context, String action, String tag, int code) { in sendCommand() argument
193 Intent broadcast = new Intent(action); in sendCommand()
[all …]
/cts/suite/audio_quality/test/
DTaskProcessTest.cpp29 TaskGeneric* action = NULL; in SetUp() local
30 mTestCase = getTaskCase(setup, action); in SetUp()
33 ASSERT_TRUE(action != NULL); in SetUp()
41 ASSERT_TRUE(action->addChild(mSequential)); in SetUp()
DTaskCaseCommon.h31 inline TaskCase* getTaskCase(TaskGeneric*& setup, TaskGeneric*& action) in getTaskCase() argument
37 action = factory.createTask(TaskGeneric::ETaskAction); in getTaskCase()
38 taskCase->addChild(action); in getTaskCase()
DTaskSequentialTest.cpp26 TaskGeneric* action = NULL; in SetUp() local
27 mTestCase = getTaskCase(setup, action); in SetUp()
30 ASSERT_TRUE(action != NULL); in SetUp()
32 action->addChild(mSequential); in SetUp()
/cts/hostsidetests/appsecurity/test-apps/PermissionDeclareApp/src/com/android/cts/permissiondeclareapp/
DGrantUriPermission.java46 final String action = intent.getAction(); in onReceive() local
47 if (ACTION_GRANT_URI.equals(action)) { in onReceive()
52 } else if (ACTION_REVOKE_URI.equals(action)) { in onReceive()
56 } else if (ACTION_START_ACTIVITY.equals(action)) { in onReceive()
61 } else if (ACTION_START_SERVICE.equals(action)) { in onReceive()
65 } else if (ACTION_VERIFY_OUTGOING_PERSISTED.equals(action)) { in onReceive()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleServerStartActivity.java117 String action = intent.getAction();
118 if (action == BleServerService.BLE_SERVICE_ADDED) {
121 } else if (action == BleServerService.BLE_SERVER_CONNECTED) {
124 } else if (action == BleServerService.BLE_CHARACTERISTIC_READ_REQUEST) {
127 } else if (action == BleServerService.BLE_CHARACTERISTIC_WRITE_REQUEST) {
130 } else if (action == BleServerService.BLE_DESCRIPTOR_READ_REQUEST) {
133 } else if (action == BleServerService.BLE_DESCRIPTOR_WRITE_REQUEST) {
136 } else if (action == BleServerService.BLE_EXECUTE_WRITE) {
139 } else if (action == BleServerService.BLE_SERVER_DISCONNECTED) {
DBleReliableWriteActivity.java107 String action = intent.getAction();
108 if (action == BleClientService.BLE_CHARACTERISTIC_WRITE) {
111 } else if (action == BleClientService.BLE_RELIABLE_WRITE_COMPLETED) {
DBleReadWriteActivity.java118 String action = intent.getAction();
119 if (action == mWriteFilter)
121 else if (action == mReadFilter) {
/cts/tests/tests/permission2/src/android/permission2/cts/
DProtectedBroadcastsTest.java91 for (String action : BROADCASTS) { in testSendProtectedBroadcasts()
93 Intent intent = new Intent(action); in testSendProtectedBroadcasts()
95 fail("expected security exception broadcasting action: " + action); in testSendProtectedBroadcasts()
DNoReceiveSmsPermissionTest.java141 private void handleResultCode(int resultCode, String action) { in handleResultCode() argument
143 Log.i(LOG_TAG, String.format("message %1$s successful", action)); in handleResultCode()
148 Log.e(LOG_TAG, String.format("message %1$s failed: %2$s", action, reason)); in handleResultCode()
/cts/tests/tests/drm/lib/
DTestPlugin.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);
DTestPlugin.cpp60 int uniqueId, const String8* path, int action) { in onGetConstraints() argument
108 int TestPlugIn::onCheckRightsStatus(int uniqueId, const String8& path, int action) { in onCheckRightsStatus() argument
114 int action, bool reserve) { in onConsumeRights() argument
124 int action, const ActionDescription& description) { in onValidateAction() argument
/cts/tests/tests/app/src/android/app/cts/
DSearchManagerTest.java23 private void setupActivity(String action) { in setupActivity() argument
25 intent.setAction(action); in setupActivity()
/cts/tests/tests/media/src/android/media/cts/
DScannerNotificationReceiver.java35 ScannerNotificationReceiver(String action) { in ScannerNotificationReceiver() argument
36 mAction = action; in ScannerNotificationReceiver()
/cts/tests/tests/permission/src/android/permission/cts/
DNoBroadcastPackageRemovedPermissionTest.java98 private Intent createIntent(String action) { in createIntent() argument
100 intent.setAction(action); in createIntent()
/cts/tests/src/android/widget/cts/
DViewGroupStubActivity.java47 String action = getIntent().getAction(); in onResume() local
48 if (action.equals(ACTION_INVALIDATE_CHILD)) { in onResume()
/cts/tests/tests/net/src/android/net/wifi/cts/
DConcurrencyTest.java46 final String action = intent.getAction();
47 if (action.equals(WifiManager.WIFI_STATE_CHANGED_ACTION)) {
53 } else if(action.equals(WifiP2pManager.WIFI_P2P_STATE_CHANGED_ACTION)) {
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
DGoNegRespTestCase.java85 String action = intent.getAction(); in onReceive() local
86 if (WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED_ACTION.equals(action)) { in onReceive()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
DBaseEmulatorActivity.java79 String action = intent.getAction();
80 if (HceUtils.ACTION_APDU_SEQUENCE_COMPLETE.equals(action)) {
87 } else if (HceUtils.ACTION_APDU_SEQUENCE_ERROR.equals(action)) {

123