Searched refs:payload (Results 1 – 6 of 6) sorted by relevance
/development/samples/ReceiveContentDemo/src/com/example/android/receivecontent/ |
D | Utils.java | 35 public static Pair<ContentInfo, ContentInfo> partition(ContentInfo payload, in partition() argument 37 ClipData clip = payload.getClip(); in partition() 40 return Pair.create(matched ? payload : null, matched ? null : payload); in partition() 53 return Pair.create(null, payload); in partition() 56 return Pair.create(payload, null); in partition() 58 ContentInfo accepted = new ContentInfo.Builder(payload) in partition() 61 ContentInfo remaining = new ContentInfo.Builder(payload) in partition()
|
D | MyReceiver.java | 87 private void receive(@NonNull Context context, @NonNull ContentInfo payload) { in receive() argument 91 List<Uri> uris = Utils.collectUris(payload.getClip()); in receive() 112 Log.i(Logcat.TAG, "Processed content: " + payload); in receive() 116 Log.e(Logcat.TAG,"Error processing content: " + payload, t); in receive()
|
/development/samples/training/testingfun/app/src/com/example/android/testingfun/lesson4/ |
D | NextActivity.java | 45 public static Intent makeIntent(Context context, String payload) { in makeIntent() argument 46 return new Intent(context, NextActivity.class).putExtra(EXTRAS_PAYLOAD_KEY, payload); in makeIntent()
|
/development/samples/training/testingfun/app/tests/src/com/example/android/testingfun/tests/lesson4/ |
D | LaunchActivityTest.java | 88 final String payload = launchIntent.getStringExtra(NextActivity.EXTRAS_PAYLOAD_KEY); in testNextActivityWasLaunchedWithIntent() local 91 , payload); in testNextActivityWasLaunchedWithIntent()
|
/development/samples/browseable/DataLayer/Wearable/src/com.example.android.wearable.datalayer/ |
D | DataLayerListenerService.java | 78 byte[] payload = uri.toString().getBytes(); in onDataChanged() 82 payload); in onDataChanged()
|
/development/samples/browseable/CardReader/src/com.example.android.cardreader/ |
D | LoyaltyCardReader.java | 87 byte[] payload = Arrays.copyOf(result, resultLength-2); in onTagDiscovered() 90 String accountNumber = new String(payload, "UTF-8"); in onTagDiscovered()
|