Searched refs:testRecord (Results 1 – 6 of 6) sorted by relevance
38 int testRecord(FILE* inputFile, int outputFileFd) { in testRecord() function117 return android::main(argc, argv, android::testRecord); in main()
392 final BroadcastRecord testRecord = (BroadcastRecord) args.arg1; in replaceBroadcastInQueue() local394 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 …]
917 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 …]
1483 TransactionManager.TransactionRecord testRecord = in testUpdateSplitAttributes_doNotNeedToUpdateSplitContainer_doNotApplyTransaction() local1485 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() local1503 doReturn(testRecord).when(mTransactionManager).startNewTransaction(); in testUpdateSplitAttributes_splitContainerUpdated_updateAttrs()1508 verify(testRecord).apply(eq(false)); in testUpdateSplitAttributes_splitContainerUpdated_updateAttrs()
67 public void testRecord() { in testRecord() method in PackageDynamicCodeLoadingTests
628 private void doRunnableAt_Cached(BroadcastRecord testRecord, int testRunnableAtReason) { in doRunnableAt_Cached() argument641 enqueueOrReplaceBroadcast(queue, testRecord, 0); in doRunnableAt_Cached()642 assertThat(queue.getRunnableAt()).isAtMost(testRecord.enqueueTime); in doRunnableAt_Cached()