/cts/tests/tests/companion/core/src/android/companion/cts/core/ |
D | BackupAndRestoreTest.kt | 56 val payload = getBackupPayload(userId) in <lambda>() constant 59 assertNotNull(payload) in <lambda>() 69 val payload = getBackupPayload(userId) in <lambda>() constant 74 applyRestoredPayload(payload, userId) in <lambda>() 86 val payload = getBackupPayload(userId) in <lambda>() constant 91 applyRestoredPayload(payload, userId) in <lambda>() 103 val payload = getBackupPayload(userId) in <lambda>() constant 115 applyRestoredPayload(payload, userId) in <lambda>() 122 val payload = asSecondaryProfile { secondaryUserId -> in <lambda>() constant 128 val payload = getBackupPayload(secondaryUserId) in <lambda>() constant [all …]
|
/cts/tests/tests/view/receivecontent/src/android/view/cts/receivecontent/ |
D | ContentInfoTest.java | 70 ContentInfo payload = in testPartition_multipleItems() local 79 split = payload.partition(item -> item.getUri() != null); in testPartition_multipleItems() 84 .isNotSameInstanceAs(payload.getClip().getDescription()); in testPartition_multipleItems() 86 .isNotSameInstanceAs(payload.getClip().getDescription()); in testPartition_multipleItems() 95 split = payload.partition(item -> false); in testPartition_multipleItems() 97 assertThat(split.second).isSameInstanceAs(payload); in testPartition_multipleItems() 100 split = payload.partition(item -> true); in testPartition_multipleItems() 101 assertThat(split.first).isSameInstanceAs(payload); in testPartition_multipleItems() 108 ContentInfo payload = in testPartition_singleItem() local 116 split = payload.partition(item -> false); in testPartition_singleItem() [all …]
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-35669/test-app/src/android/security/cts/CVE_2023_35669_test/ |
D | PocAuthService.java | 91 Parcel payload = Parcel.obtain(); in getAccountRemovalAllowed() local 92 payload.writeString(null /* resultWho */); in getAccountRemovalAllowed() 93 payload.writeInt(-1 /* requestCode */); in getAccountRemovalAllowed() 94 payload.writeInt(0 /* flags */); in getAccountRemovalAllowed() 95 payload.writeTypedObject(null, 0 /* profilerInfo */); in getAccountRemovalAllowed() 96 payload.writeInt(1 /* value */); in getAccountRemovalAllowed() 97 payload.appendFrom(optionPayload, 0 /* offset */, optionPayload.dataSize()); in getAccountRemovalAllowed() 102 new URLSpan(new String(payload.marshall(), StandardCharsets.UTF_16LE)), in getAccountRemovalAllowed()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21124/test-app/src/android/security/cts/CVE_2023_21124_test/ |
D | PocAuthService.java | 93 Parcel payload = Parcel.obtain(); in addAccount() local 94 payload.writeString("" /* val */); in addAccount() 95 payload.writeInt(0 /* val */); in addAccount() 96 payload.writeInt(0 /* val */); in addAccount() 97 payload.writeTypedObject(null /* val */, 0 /* parcelableFlags */); in addAccount() 98 payload.writeInt(1 /* val */); in addAccount() 99 payload.appendFrom(optionPayload, 0 /* offset */, optionPayload.dataSize()); in addAccount() 113 new URLSpan(new String(payload.marshall(), StandardCharsets.UTF_16LE)), in addAccount()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21131/test-app/src/android/security/cts/CVE_2023_21131_test/ |
D | PocAuthService.java | 95 Parcel payload = Parcel.obtain(); in getAccountRemovalAllowed() local 96 payload.writeString(null /* resultWho */); in getAccountRemovalAllowed() 97 payload.writeInt(-1 /* requestCode */); in getAccountRemovalAllowed() 98 payload.writeInt(0 /* flags */); in getAccountRemovalAllowed() 99 payload.writeTypedObject(null, 0 /* profilerInfo */); in getAccountRemovalAllowed() 100 payload.writeInt(1 /* value */); in getAccountRemovalAllowed() 101 payload.appendFrom(optionPayload, 0 /* offset */, optionPayload.dataSize()); in getAccountRemovalAllowed() 105 new URLSpan(new String(payload.marshall(), StandardCharsets.UTF_16LE)), in getAccountRemovalAllowed()
|
/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/apps/CtsVerifier/src/com/android/cts/verifier/presence/ble/ |
D | BleAdvertiser.java | 92 public void startAdvertising(byte[] payload, boolean isExtendedAdvertisement, int txPower) { in startAdvertising() argument 99 payload.length <= freeBytesForPayload, in startAdvertising() 102 payload.length); in startAdvertising() 114 .addServiceData(Const.PARCEL_UUID, payload) in startAdvertising() 122 Log.i(TAG, "startAdvertising: %s" + Arrays.toString(payload)); in startAdvertising()
|
/cts/tests/tests/mediacujtest/common/src/android/media/cujcommon/cts/ |
D | LockPlaybackControllerTestPlayerListener.java | 74 mActivity.mPlayer.createMessage((messageType, payload) -> { in onEventsMediaItemTransition() argument 81 mActivity.mPlayer.createMessage((messageType, payload) -> { in onEventsMediaItemTransition() argument 91 mActivity.mPlayer.createMessage((messageType, payload) -> { in onEventsMediaItemTransition() argument 100 mActivity.mPlayer.createMessage((messageType, payload) -> { in onEventsMediaItemTransition() argument
|
D | PipModeTestPlayerListener.java | 53 mActivity.mPlayer.createMessage((messageType, payload) -> { in onEventsMediaItemTransition() argument 60 mActivity.mPlayer.createMessage((messageType, payload) -> { in onEventsMediaItemTransition() argument
|
D | SplitScreenTestPlayerListener.java | 52 mActivity.mPlayer.createMessage((messageType, payload) -> { in onEventsMediaItemTransition() argument 61 mActivity.mPlayer.createMessage((messageType, payload) -> { in onEventsMediaItemTransition() argument
|
D | DeviceLockTestPlayerListener.java | 72 mActivity.mPlayer.createMessage((messageType, payload) -> { in onEventsMediaItemTransition() argument 81 mActivity.mPlayer.createMessage((messageType, payload) -> { in onEventsMediaItemTransition() argument
|
D | MessageNotificationTestPlayerListener.java | 53 mActivity.mPlayer.createMessage((messageType, payload) -> { in onEventsMediaItemTransition() argument
|
/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 | AbstractUserAuthenticationAeadCipherTest.java | 61 void doKeystoreOperation(byte[] payload) throws Exception { in doKeystoreOperation() argument 65 Utils.doEncrypt(mCipher, 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()
|
/cts/hostsidetests/wifibroadcasts/src/android/wifibroadcasts/cts/ |
D | WifiBroadcastsHostJUnit4Test.java | 159 String payload = line.split(":")[1].trim(); in testCleanLogcat() local 160 assertFalse(payload, payload.contains(PROHIBITED_STRING)); in testCleanLogcat()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | NotificationListenerVerifierActivity.java | 839 for (JSONObject payload : result) { in test() 844 payload.getString(JSON_PACKAGE), in test() 846 String tag = payload.getString(JSON_TAG); in test() 852 payload.getInt(JSON_ICON), in test() 857 payload.getInt(JSON_FLAGS), in test() 862 payload.getInt(JSON_ID), in test() 867 payload.getLong(JSON_WHEN), in test() 874 payload.getInt(JSON_ICON), in test() 879 payload.getInt(JSON_FLAGS), in test() 884 payload.getInt(JSON_ID), 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/tests/tests/car_permission_tests/src/android/car/cts/permissiontest/occupantconnection/ |
D | CarOccupantConnectionManagerPermissionTest.java | 95 (senderZone, payload) -> {})); in testRegisterReceiver() 134 Payload payload = new Payload(new byte[0]); in testSendPayload() local 136 () -> mCarOccupantConnectionManager.sendPayload(mReceiverZone, payload)); in testSendPayload()
|
/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/tests/tests/car/src/android/car/cts/ |
D | CarOccupantConnectionManagerTest.java | 107 (senderZone, payload) -> { in testRegisterAndUnregisterReceiver() 305 public void onPayloadReceived(OccupantZoneInfo senderZone, Payload payload) { in onPayloadReceived() argument 306 mOnPayloadReceivedInvokedRecords.add(new Pair(senderZone, payload)); in onPayloadReceived() 309 if (PAYLOAD1.equals(payload)) { in onPayloadReceived()
|
/cts/tests/tests/nfc/src/android/nfc/cts/ |
D | NfcAdapterTest.java | 537 byte[] payload = new byte[1]; in testSendVendorCmd() 538 payload[0] = 0; in testSendVendorCmd() 539 nfcAdapter.sendVendorNciMessage(NfcAdapter.MESSAGE_TYPE_COMMAND, gid, oid, payload); in testSendVendorCmd() 545 assertThat(cb.payload).isNotEmpty(); in testSendVendorCmd() 679 public byte[] payload; field in NfcAdapterTest.NfcVendorNciCallback 687 public void onVendorNciResponse(int gid, int oid, byte[] payload) { in onVendorNciResponse() argument 690 this.payload = payload; in onVendorNciResponse() 695 public void onVendorNciNotification(int gid, int oid, byte[] payload) { in onVendorNciNotification() argument 698 this.payload = payload; in onVendorNciNotification()
|
/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/nfc/src/android/nfc/tech/cts/interactive/ |
D | NdefTagTester.java | 103 byte[] payload = PAYLOAD.getBytes(StandardCharsets.US_ASCII); 104 return new NdefRecord(NdefRecord.TNF_MIME_MEDIA, mimeBytes, id, payload);
|