/cts/tests/tests/view/receivecontent/src/android/view/cts/receivecontent/ |
D | ContentInfoTest.java | 63 ContentInfo payload = new ContentInfo.Builder(clip, SOURCE_CLIPBOARD) in testPartition_multipleItems() local 71 split = payload.partition(item -> item.getUri() != null); in testPartition_multipleItems() 76 payload.getClip().getDescription()); in testPartition_multipleItems() 78 payload.getClip().getDescription()); in testPartition_multipleItems() 87 split = payload.partition(item -> false); in testPartition_multipleItems() 89 assertThat(split.second).isSameInstanceAs(payload); in testPartition_multipleItems() 92 split = payload.partition(item -> true); in testPartition_multipleItems() 93 assertThat(split.first).isSameInstanceAs(payload); in testPartition_multipleItems() 100 ContentInfo payload = new ContentInfo.Builder(clip, SOURCE_CLIPBOARD) in testPartition_singleItem() local 107 split = payload.partition(item -> false); in testPartition_singleItem() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hcef/ |
D | HceFReaderActivity.java | 58 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/hostsidetests/wifibroadcasts/src/android/wifibroadcasts/cts/ |
D | WifiBroadcastsHostJUnit4Test.java | 158 String payload = line.split(":")[1].trim(); in testCleanLogcat() local 159 assertFalse(payload, payload.contains(PROHIBITED_STRING)); in testCleanLogcat()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/biometrics/ |
D | AbstractUserAuthenticationMacTest.java | 55 void doKeystoreOperation(byte[] payload) throws Exception { in doKeystoreOperation() argument 57 mMac.doFinal(payload); in doKeystoreOperation()
|
D | AbstractUserAuthenticationSignatureTest.java | 59 void doKeystoreOperation(byte[] payload) throws Exception { in doKeystoreOperation() argument 61 Utils.doSign(mSignature, payload); in doKeystoreOperation()
|
D | AbstractUserAuthenticationCipherTest.java | 60 void doKeystoreOperation(byte[] payload) throws Exception { in doKeystoreOperation() argument 62 Utils.doEncrypt(mCipher, payload); in doKeystoreOperation()
|
D | AbstractUserAuthenticationTest.java | 99 abstract void doKeystoreOperation(byte[] payload) throws Exception; in doKeystoreOperation() argument 270 int allowedAuthenticators, boolean shouldKeyBeUsable, byte[] payload, in testCredentialBoundEncryption() argument 349 doKeystoreOperation(payload); in testCredentialBoundEncryption()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | NotificationListenerVerifierActivity.java | 744 for (JSONObject payload : result) { in test() 747 payload.getString(JSON_PACKAGE), in test() 749 String tag = payload.getString(JSON_TAG); in test() 752 pass &= checkEquals(mIcon1, payload.getInt(JSON_ICON), in test() 754 pass &= checkFlagSet(mFlag1, payload.getInt(JSON_FLAGS), in test() 756 pass &= checkEquals(mId1, payload.getInt(JSON_ID), in test() 758 pass &= checkEquals(mWhen1, payload.getLong(JSON_WHEN), in test() 762 pass &= checkEquals(mIcon2, payload.getInt(JSON_ICON), in test() 764 pass &= checkFlagSet(mFlag2, payload.getInt(JSON_FLAGS), in test() 766 pass &= checkEquals(mId2, payload.getInt(JSON_ID), in test() [all …]
|
D | AttentionManagementVerifierActivity.java | 263 for (JSONObject payload : result) { in test() 265 String tag = payload.getString(JSON_TAG); in test() 266 boolean zen = payload.getBoolean(JSON_MATCHES_ZEN_FILTER); in test() 323 for (JSONObject payload : result) { in test() 325 String tag = payload.getString(JSON_TAG); in test() 326 boolean zen = payload.getBoolean(JSON_MATCHES_ZEN_FILTER); in test() 382 for (JSONObject payload : result) { in test() 384 String tag = payload.getString(JSON_TAG); in test() 385 boolean zen = payload.getBoolean(JSON_MATCHES_ZEN_FILTER); in test() 441 for (JSONObject payload : result) { in test() [all …]
|
/cts/tests/tests/syncmanager/apps/app1/src/android/content/syncmanager/cts/app/ |
D | CommReceiver.java | 57 protected byte[] responseToBytes(Payload payload) { in responseToBytes() argument 58 return payload.toByteArray(); in responseToBytes()
|
/cts/hostsidetests/securitybulletin/test-apps/launchanywhere/src/com/android/security/cts/launchanywhere/ |
D | Authenticator.java | 71 Intent payload = new Intent(); 72 payload.setAction(Intent.ACTION_REBOOT); 73 data = exploit.generate(payload);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/ |
D | NdefPushSenderActivity.java | 64 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()
|
D | LlcpVersionActivity.java | 66 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/ |
D | NfcTestActivity.java | 121 byte[] payload = SAMPLE_TEXT.getBytes(Charset.forName("US-ASCII")); in getTestMessage() 123 new NdefRecord(NdefRecord.TNF_MIME_MEDIA, mimeBytes, id, payload) in getTestMessage()
|
/cts/tests/tests/identity/src/android/security/identity/cts/ |
D | Util.java | 339 byte[] payload, in coseBuildToBeSigned() argument 355 if (payload != null && payload.length > 0) { in coseBuildToBeSigned() 356 array.add(payload); in coseBuildToBeSigned() 542 byte[] payload = new byte[0]; in coseSign1CheckSignature() 553 payload = ((co.nstant.in.cbor.model.ByteString) items.get(2)).getBytes(); in coseSign1CheckSignature() 564 int dataLen = payload.length; in coseSign1CheckSignature() 571 payload, detachedContent); in coseSign1CheckSignature() 606 byte[] payload = new byte[0]; in coseSign1GetData() 617 payload = ((co.nstant.in.cbor.model.ByteString) items.get(2)).getBytes(); in coseSign1GetData() 621 return payload; in coseSign1GetData() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/tech/ |
D | NdefTagTester.java | 103 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/ |
D | CommReceiver.java | 120 protected byte[] responseToBytes(Payload payload) { in responseToBytes() argument 121 return payload.toByteArray(); in responseToBytes()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/inline/ |
D | InlineAugmentedContentTest.java | 242 public ContentInfo onReceiveContent(View view, ContentInfo payload) { 244 ClipData clip = payload.getClip();
|
/cts/tests/framework/base/windowmanager/dndtargetapp/src/android/server/wm/dndtargetapp/ |
D | DropTarget.java | 350 public ContentInfo onReceiveContent(View view, ContentInfo payload) { in onReceiveContent() argument 353 result = accessContent(payload.getClip().getItemAt(0).getUri()); in onReceiveContent()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | SecurityLoggingTest.java | 789 Object[] payload = (Object[]) event.getData(); in byTagAndPayload() 790 boolean payloadMatch = Arrays.equals(payload, expectedPayload); in byTagAndPayload() 796 + ", actual=" + Arrays.toString(payload)); in byTagAndPayload() 800 + Arrays.toString(payload) + ")"); in byTagAndPayload()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewReceiveContentTest.java | 800 ContentInfo payload = in onReceive() local 804 receiver.onReceiveContent(mTextView, payload); in onReceive()
|