/packages/apps/Car/libs/connected-device-lib/tests/unit/src/com/android/car/connecteddevice/ble/ |
D | BleDeviceMessageStreamTest.java | 99 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()
|
D | CarBlePeripheralManagerTest.java | 110 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()
|
D | SecureBleChannelTest.java | 72 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/ |
D | ConnectedDeviceManagerTest.java | 215 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/ |
D | DpcReceivedSuccessReceiverTest.java | 131 final Semaphore semaphore = new Semaphore(0); in invokeOnReceiveAndVerifyIntent() local
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/ |
D | ProvisioningManagerTest.java | 174 final Semaphore semaphore = new Semaphore(0); in testListener_preFinalizationCompleted() local
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | StartManagedProfileTask.java | 118 private final Semaphore semaphore = new Semaphore(0); field in StartManagedProfileTask.UserUnlockedReceiver
|
/packages/apps/Car/CompanionDeviceSupport/tests/unit/src/com/android/car/companiondevicesupport/api/external/ |
D | ConnectedDeviceManagerBinderTest.java | 178 private IConnectionCallback createConnectionCallback(@NonNull final Semaphore semaphore) { in createConnectionCallback()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/ |
D | EncryptionControllerTest.java | 159 final Semaphore semaphore = new Semaphore(0); in runResumeProvisioningOnUiThread() local
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarPowerManagementServiceTest.java | 680 private static void waitForSemaphore(Semaphore semaphore, long timeoutMs) in waitForSemaphore()
|