/cts/tests/src/android/app/cts/ |
D | LaunchpadActivity.java | 180 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 …]
|
D | IntentServiceStub.java | 71 String action = intent.getAction(); in onHandleIntent() local 72 if (action != null && action.equals(ISS_ADD)) { in onHandleIntent()
|
D | MockAlarmReceiver.java | 37 final String action = intent.getAction(); in onReceive() local 38 if (action.equals(MOCKACTION)) { in onReceive()
|
D | SearchManagerStubActivity.java | 52 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()
|
D | ActivityTestsBase.java | 129 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()
|
D | ExpandableListTestActivity.java | 141 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/ |
D | MockListener.java | 75 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/ |
D | TaskProcessTest.cpp | 29 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()
|
D | TaskCaseCommon.h | 31 inline TaskCase* getTaskCase(TaskGeneric*& setup, TaskGeneric*& action) in getTaskCase() argument 37 action = factory.createTask(TaskGeneric::ETaskAction); in getTaskCase() 38 taskCase->addChild(action); in getTaskCase()
|
D | TaskSequentialTest.cpp | 26 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/ |
D | GrantUriPermission.java | 46 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/ |
D | BleServerStartActivity.java | 117 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) {
|
D | BleReliableWriteActivity.java | 107 String action = intent.getAction(); 108 if (action == BleClientService.BLE_CHARACTERISTIC_WRITE) { 111 } else if (action == BleClientService.BLE_RELIABLE_WRITE_COMPLETED) {
|
D | BleReadWriteActivity.java | 118 String action = intent.getAction(); 119 if (action == mWriteFilter) 121 else if (action == mReadFilter) {
|
/cts/tests/tests/permission2/src/android/permission2/cts/ |
D | ProtectedBroadcastsTest.java | 91 for (String action : BROADCASTS) { in testSendProtectedBroadcasts() 93 Intent intent = new Intent(action); in testSendProtectedBroadcasts() 95 fail("expected security exception broadcasting action: " + action); in testSendProtectedBroadcasts()
|
D | NoReceiveSmsPermissionTest.java | 141 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/ |
D | TestPlugin.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);
|
D | TestPlugin.cpp | 60 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/ |
D | SearchManagerTest.java | 23 private void setupActivity(String action) { in setupActivity() argument 25 intent.setAction(action); in setupActivity()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | ScannerNotificationReceiver.java | 35 ScannerNotificationReceiver(String action) { in ScannerNotificationReceiver() argument 36 mAction = action; in ScannerNotificationReceiver()
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | NoBroadcastPackageRemovedPermissionTest.java | 98 private Intent createIntent(String action) { in createIntent() argument 100 intent.setAction(action); in createIntent()
|
/cts/tests/src/android/widget/cts/ |
D | ViewGroupStubActivity.java | 47 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/ |
D | ConcurrencyTest.java | 46 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/ |
D | GoNegRespTestCase.java | 85 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/ |
D | BaseEmulatorActivity.java | 79 String action = intent.getAction(); 80 if (HceUtils.ACTION_APDU_SEQUENCE_COMPLETE.equals(action)) { 87 } else if (HceUtils.ACTION_APDU_SEQUENCE_ERROR.equals(action)) {
|