Home
last modified time | relevance | path

Searched refs:payload (Results 1 – 10 of 10) sorted by relevance

/cts/hostsidetests/appsecurity/test-apps/NoRestartApp/src/com/android/cts/norestart/
DNoRestartActivity.java48 final Bundle payload = new Bundle(); in sendResponse() local
49 payload.putInt("CREATE_COUNT", sCreateCount); in sendResponse()
50 payload.putInt("NEW_INTENT_COUNT", mNewIntentCount); in sendResponse()
51 callback.sendResult(payload); in sendResponse()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hcef/
DHceFReaderActivity.java58 static byte[] createEchoCommand(byte[] nfcid2, byte[] payload) { in createEchoCommand() argument
59 byte length = (byte) (2 + nfcid2.length + payload.length); in createEchoCommand()
65 System.arraycopy(payload, 0, echo_cmd, 2 + nfcid2.length, payload.length); in createEchoCommand()
105 byte[] payload = new byte[] {0x14, (byte)i}; in onTagDiscovered()
106 byte[] echo_cmd = createEchoCommand(MyHostFelicaService.NFCID2, payload); in onTagDiscovered()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DNotificationListenerVerifierActivity.java556 for (JSONObject payload : result) { in test()
559 payload.getString(JSON_PACKAGE), in test()
561 String tag = payload.getString(JSON_TAG); in test()
564 pass &= checkEquals(mIcon1, payload.getInt(JSON_ICON), in test()
566 pass &= checkFlagSet(mFlag1, payload.getInt(JSON_FLAGS), in test()
568 pass &= checkEquals(mId1, payload.getInt(JSON_ID), in test()
570 pass &= checkEquals(mWhen1, payload.getLong(JSON_WHEN), in test()
574 pass &= checkEquals(mIcon2, payload.getInt(JSON_ICON), in test()
576 pass &= checkFlagSet(mFlag2, payload.getInt(JSON_FLAGS), in test()
578 pass &= checkEquals(mId2, payload.getInt(JSON_ID), in test()
[all …]
DAttentionManagementVerifierActivity.java272 for (JSONObject payload : result) { in test()
274 String tag = payload.getString(JSON_TAG); in test()
275 boolean zen = payload.getBoolean(JSON_MATCHES_ZEN_FILTER); in test()
332 for (JSONObject payload : result) { in test()
334 String tag = payload.getString(JSON_TAG); in test()
335 boolean zen = payload.getBoolean(JSON_MATCHES_ZEN_FILTER); in test()
391 for (JSONObject payload : result) { in test()
393 String tag = payload.getString(JSON_TAG); in test()
394 boolean zen = payload.getBoolean(JSON_MATCHES_ZEN_FILTER); in test()
450 for (JSONObject payload : result) { in test()
[all …]
/cts/tests/tests/syncmanager/apps/app1/src/android/content/syncmanager/cts/app/
DCommReceiver.java57 protected byte[] responseToBytes(Payload payload) { in responseToBytes() argument
58 return payload.toByteArray(); in responseToBytes()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/
DNdefPushSenderActivity.java64 byte[] payload = "CTS Verifier NDEF Push Tag".getBytes(Charset.forName("US-ASCII")); in getTestMessage()
66 new NdefRecord(NdefRecord.TNF_MIME_MEDIA, mimeBytes, id, payload) in getTestMessage()
DLlcpVersionActivity.java66 byte[] payload = "CTS Verifier NDEF Push Tag".getBytes(Charset.forName("US-ASCII")); in getTestMessage()
68 new NdefRecord(NdefRecord.TNF_MIME_MEDIA, mimeBytes, id, payload) in getTestMessage()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DNfcTestActivity.java121 byte[] payload = SAMPLE_TEXT.getBytes(Charset.forName("US-ASCII")); in getTestMessage()
123 new NdefRecord(NdefRecord.TNF_MIME_MEDIA, mimeBytes, id, payload) in getTestMessage()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/tech/
DNdefTagTester.java103 byte[] payload = PAYLOAD.getBytes(Charset.forName("US-ASCII"));
104 return new NdefRecord(NdefRecord.TNF_MIME_MEDIA, mimeBytes, id, payload);
/cts/tests/tests/batterysaving/apps/app_target_api_current/src/android/os/cts/batterysaving/app/
DCommReceiver.java114 protected byte[] responseToBytes(Payload payload) { in responseToBytes() argument
115 return payload.toByteArray(); in responseToBytes()