Home
last modified time | relevance | path

Searched defs:semaphore (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Car/libs/connected-device-lib/tests/unit/src/com/android/car/connecteddevice/ble/
DBleDeviceMessageStreamTest.java99 Semaphore semaphore = new Semaphore(0); in processPacket_notifiesWithEntireMessageForSinglePacketMessage() local
112 Semaphore semaphore = new Semaphore(0); in processPacket_notifiesWithEntireMessageForMultiPacketMessage() local
126 Semaphore semaphore = new Semaphore(0); in processPacket_receivingMultipleMessagesInParallelParsesSuccessfully() local
156 Semaphore semaphore = new Semaphore(0); in processPacket_doesNotNotifyOfNewMessageIfNotAllPacketsReceived() local
189 private boolean tryAcquire(Semaphore semaphore) throws InterruptedException { in tryAcquire()
195 Semaphore semaphore) { in createMessageReceivedListener()
DCarBlePeripheralManagerTest.java110 Semaphore semaphore = new Semaphore(0); in testStartAssociationAdvertisingSuccess() local
126 Semaphore semaphore = new Semaphore(0); in testStartAssociationAdvertisingFailure() local
142 Semaphore semaphore = new Semaphore(0); in testNotifyAssociationSuccess() local
159 Semaphore semaphore = new Semaphore(0); in testShowVerificationCode() local
169 Semaphore semaphore = new Semaphore(0); in testAssociationSuccess() local
188 Semaphore semaphore = new Semaphore(0); in testAssociationFailure_channelError() local
230 private boolean tryAcquire(Semaphore semaphore) throws InterruptedException { in tryAcquire()
240 private AssociationCallback createAssociationCallback(@NonNull final Semaphore semaphore) { in createAssociationCallback()
DSecureBleChannelTest.java72 Semaphore semaphore = new Semaphore(0); in testEncryptionHandshake_Association() local
106 Semaphore semaphore = new Semaphore(0); in testEncryptionHandshake_Association_wrongInitHandshakeMessage() local
124 Semaphore semaphore = new Semaphore(0); in testEncryptionHandshake_Association_wrongRespondToContinueMessage() local
193 ChannelCallback(Semaphore semaphore) { in ChannelCallback()
/packages/apps/Car/libs/connected-device-lib/tests/unit/src/com/android/car/connecteddevice/
DConnectedDeviceManagerTest.java215 Semaphore semaphore = new Semaphore(0); in connectionCallback_onDeviceConnectedInvokedForNewlyConnectedDevice() local
232 Semaphore semaphore = new Semaphore(0); in connectionCallback_onDeviceConnectedNotInvokedDeviceConnectedForDifferentUser() local
247 Semaphore semaphore = new Semaphore(0); in connectionCallback_onDeviceConnectedNotInvokedForDifferentBleManager() local
259 Semaphore semaphore = new Semaphore(0); in connectionCallback_onDeviceDisconnectedInvokedForActiveUserDevice() local
275 Semaphore semaphore = new Semaphore(0); in connectionCallback_onDeviceDisconnectedNotInvokedDeviceForDifferentUser() local
288 Semaphore semaphore = new Semaphore(0); in unregisterConnectionCallback_removesCallbackAndNotInvoked() local
340 Semaphore semaphore = new Semaphore(0); in deviceCallback_onSecureChannelEstablishedInvoked() local
358 Semaphore semaphore = new Semaphore(0); in deviceCallback_onSecureChannelEstablishedNotInvokedWithSecondBleManager() local
375 Semaphore semaphore = new Semaphore(0); in deviceCallback_onMessageReceivedInvokedForSameRecipientId() local
392 Semaphore semaphore = new Semaphore(0); in deviceCallback_onMessageReceivedNotInvokedForDifferentRecipientId() local
[all …]
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/finalization/
DDpcReceivedSuccessReceiverTest.java131 final Semaphore semaphore = new Semaphore(0); in invokeOnReceiveAndVerifyIntent() local
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/
DProvisioningManagerTest.java174 final Semaphore semaphore = new Semaphore(0); in testListener_preFinalizationCompleted() local
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DStartManagedProfileTask.java118 private final Semaphore semaphore = new Semaphore(0); field in StartManagedProfileTask.UserUnlockedReceiver
/packages/apps/Car/CompanionDeviceSupport/tests/unit/src/com/android/car/companiondevicesupport/api/external/
DConnectedDeviceManagerBinderTest.java178 private IConnectionCallback createConnectionCallback(@NonNull final Semaphore semaphore) { in createConnectionCallback()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/
DEncryptionControllerTest.java159 final Semaphore semaphore = new Semaphore(0); in runResumeProvisioningOnUiThread() local
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarPowerManagementServiceTest.java680 private static void waitForSemaphore(Semaphore semaphore, long timeoutMs) in waitForSemaphore()