/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | BleClientTestBaseActivity.java | 222 String actionName = null; 233 actionName = getString(R.string.ble_client_connect_name); 240 actionName = getString(R.string.ble_discover_service_name); 247 actionName = getString(R.string.ble_mtu_23_name); 255 actionName = getString(R.string.ble_mtu_512_name); 262 actionName = getString(R.string.ble_read_characteristic_name); 269 actionName = getString(R.string.ble_write_characteristic_name); 276 actionName = getString(R.string.ble_read_characteristic_nopermission_name); 283 actionName = getString(R.string.ble_write_characteristic_nopermission_name); 291 actionName = getString(R.string.ble_reliable_write_name); [all …]
|
D | BleCocClientTestBaseActivity.java | 169 String actionName = null; 177 actionName = getString(R.string.ble_coc_client_le_connect); 185 actionName = getString(R.string.ble_coc_client_get_psm); 193 actionName = getString(R.string.ble_coc_client_coc_connect); 201 actionName = getString(R.string.ble_coc_client_check_connection_type); 209 actionName = getString(R.string.ble_coc_client_send_data_8bytes); 217 actionName = getString(R.string.ble_coc_client_receive_data_8bytes); 225 actionName = getString(R.string.ble_coc_client_data_exchange); 270 .setTitle(actionName)
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | QuietModeHostsideTest.java | 173 private void verifyBroadcastSent(String actionName, boolean needPermissions) in verifyBroadcastSent() argument 177 buildReceivedBroadcastRegex(actionName, "CrossProfileEnabledAppReceiver")); in verifyBroadcastSent() 179 buildReceivedBroadcastRegex(actionName, "CrossProfileUserEnabledAppReceiver")); in verifyBroadcastSent() 180 String noPermsString = buildReceivedBroadcastRegex(actionName, in verifyBroadcastSent() 188 buildReceivedBroadcastRegex(actionName, in verifyBroadcastSent() 191 buildReceivedBroadcastRegex(actionName, "ModifyQuietModeEnabledAppReceiver")); in verifyBroadcastSent() 194 private String buildReceivedBroadcastRegex(String actionName, String className) { in buildReceivedBroadcastRegex() argument 195 return String.format("%s: onReceive(%s)", className, actionName); in buildReceivedBroadcastRegex()
|
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/ |
D | TestUtils.java | 318 String actionName = forWrite ? CAN_OPEN_FILE_FOR_WRITE_QUERY : CAN_OPEN_FILE_FOR_READ_QUERY; in canOpenFileAs() local 319 return getResultFromTestApp(testApp, file.getPath(), actionName); in canOpenFileAs() 354 String actionName = IS_URI_REDACTED_VIA_FILE_DESCRIPTOR_FOR_READ; in isFileDescriptorRedacted() local 355 return getFromTestApp(testApp, uri, actionName).getBoolean(actionName, false); in isFileDescriptorRedacted() 366 String actionName = IS_URI_REDACTED_VIA_FILE_DESCRIPTOR_FOR_WRITE; in canOpenRedactedUriForWrite() local 367 return getFromTestApp(testApp, uri, actionName).getBoolean(actionName, false); in canOpenRedactedUriForWrite() 379 final String actionName = IS_URI_REDACTED_VIA_FILEPATH; in isFileOpenRedacted() local 380 return getFromTestApp(testApp, uri, actionName).getBoolean(actionName, false); in isFileOpenRedacted() 389 final String actionName = QUERY_URI; in canQueryOnUri() local 390 return getFromTestApp(testApp, uri, actionName).getBoolean(actionName, false); in canQueryOnUri() [all …]
|
/cts/tests/MediaProviderTranscode/src/android/mediaprovidertranscode/cts/ |
D | TranscodeTestUtils.java | 330 String actionName = getContext().getPackageName() + ".open_file"; in openFileAs() local 331 Bundle bundle = getFromTestApp(testApp, dirPath.getPath(), actionName); in openFileAs() 333 bundle.getParcelable(actionName), "rw"); in openFileAs() 339 private static Bundle getFromTestApp(TestApp testApp, String dirPath, String actionName) in getFromTestApp() argument 351 sendIntentToTestApp(testApp, dirPath, actionName, broadcastReceiver, latch); in getFromTestApp() 358 private static void sendIntentToTestApp(TestApp testApp, String dirPath, String actionName, in sendIntentToTestApp() argument 364 intentFilter.addAction(actionName); in sendIntentToTestApp() 372 intent.putExtra(INTENT_QUERY_TYPE, actionName); in sendIntentToTestApp() 378 final String errorMessage = "Timed out while waiting to receive " + actionName in sendIntentToTestApp()
|
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/ |
D | MockIme.java | 127 CommandReceiver(@NonNull String actionName, in CommandReceiver() argument 129 mActionName = actionName; in CommandReceiver() 538 final String actionName = getCommandActionName(mSettings.getEventCallbackActionName()); in onCreate() local 539 mCommandReceiver = new CommandReceiver(actionName, this::onReceiveCommand); in onCreate() 540 final IntentFilter filter = new IntentFilter(actionName); in onCreate()
|
D | MockImeSession.java | 124 MockImeEventReceiver(@NonNull String actionName) { in MockImeEventReceiver() argument 125 mActionName = actionName; in MockImeEventReceiver()
|