Home
last modified time | relevance | path

Searched refs:testRecord (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/media/libaudioclient/tests/
Dtest_create_audiorecord.cpp38 int testRecord(FILE* inputFile, int outputFileFd) { in testRecord() function
117 return android::main(argc, argv, android::testRecord); in main()
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastProcessQueue.java392 final BroadcastRecord testRecord = (BroadcastRecord) args.arg1; in replaceBroadcastInQueue() local
394 final Object testReceiver = testRecord.receivers.get(testRecordIndex); in replaceBroadcastInQueue()
398 if (record == testRecord) { in replaceBroadcastInQueue()
401 if ((record.callingUid == testRecord.callingUid) in replaceBroadcastInQueue()
402 && (record.userId == testRecord.userId) in replaceBroadcastInQueue()
403 && record.intent.filterEquals(testRecord.intent) in replaceBroadcastInQueue()
405 && testRecord.allReceiversPending() in replaceBroadcastInQueue()
406 && record.isMatchingRecord(testRecord)) { in replaceBroadcastInQueue()
410 record.copyEnqueueTimeFrom(testRecord); in replaceBroadcastInQueue()
411 onBroadcastDequeued(testRecord, testRecordIndex); in replaceBroadcastInQueue()
[all …]
DBroadcastQueueModernImpl.java917 forEachMatchingBroadcast(QUEUE_PREDICATE_ANY, (testRecord, testIndex) -> { in applyDeliveryGroupPolicy()
919 if (isDeliveryStateTerminal(testRecord.getDeliveryState(testIndex))) { in applyDeliveryGroupPolicy()
923 if ((r.callingUid != testRecord.callingUid) in applyDeliveryGroupPolicy()
924 || (r.userId != testRecord.userId) in applyDeliveryGroupPolicy()
925 || !r.matchesDeliveryGroup(testRecord)) { in applyDeliveryGroupPolicy()
932 if (testRecord.ordered || testRecord.prioritized) { in applyDeliveryGroupPolicy()
933 return containsAllReceivers(r, testRecord, recordsLookupCache); in applyDeliveryGroupPolicy()
934 } else if (testRecord.resultTo != null) { in applyDeliveryGroupPolicy()
935 return testRecord.getDeliveryState(testIndex) == DELIVERY_DEFERRED in applyDeliveryGroupPolicy()
936 ? r.containsReceiver(testRecord.receivers.get(testIndex)) in applyDeliveryGroupPolicy()
[all …]
/frameworks/base/libs/WindowManager/Jetpack/tests/unittest/src/androidx/window/extensions/embedding/
DSplitControllerTest.java1483 TransactionManager.TransactionRecord testRecord = in testUpdateSplitAttributes_doNotNeedToUpdateSplitContainer_doNotApplyTransaction() local
1485 doReturn(testRecord).when(mTransactionManager).startNewTransaction(); in testUpdateSplitAttributes_doNotNeedToUpdateSplitContainer_doNotApplyTransaction()
1490 verify(testRecord).abort(); in testUpdateSplitAttributes_doNotNeedToUpdateSplitContainer_doNotApplyTransaction()
1501 TransactionManager.TransactionRecord testRecord = in testUpdateSplitAttributes_splitContainerUpdated_updateAttrs() local
1503 doReturn(testRecord).when(mTransactionManager).startNewTransaction(); in testUpdateSplitAttributes_splitContainerUpdated_updateAttrs()
1508 verify(testRecord).apply(eq(false)); in testUpdateSplitAttributes_splitContainerUpdated_updateAttrs()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DPackageDynamicCodeLoadingTests.java67 public void testRecord() { in testRecord() method in PackageDynamicCodeLoadingTests
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DBroadcastQueueModernImplTest.java628 private void doRunnableAt_Cached(BroadcastRecord testRecord, int testRunnableAtReason) { in doRunnableAt_Cached() argument
641 enqueueOrReplaceBroadcast(queue, testRecord, 0); in doRunnableAt_Cached()
642 assertThat(queue.getRunnableAt()).isAtMost(testRecord.enqueueTime); in doRunnableAt_Cached()