Searched refs:TEST_HANDLE (Results 1 – 3 of 3) sorted by relevance
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/ |
D | EventTest.java | 44 private static final long TEST_HANDLE = 1; field in EventTest 87 mEvent = mObserver.new Event(TEST_EVENT_TYPE, TEST_HANDLE, TEST_FOLDER, TEST_TYPE); in setUp() 93 mObserver.new Event(TEST_EVENT_TYPE, TEST_HANDLE, TEST_FOLDER, TEST_TYPE); in constructor() 96 assertThat(event.handle).isEqualTo(TEST_HANDLE); in constructor() 103 mObserver.new Event(TEST_EVENT_TYPE, TEST_HANDLE, TEST_FOLDER, null, TEST_TYPE); in constructor_withNullOldFolder() 106 assertThat(event.handle).isEqualTo(TEST_HANDLE); in constructor_withNullOldFolder() 115 .new Event(TEST_EVENT_TYPE, TEST_HANDLE, TEST_FOLDER, TEST_OLD_FOLDER, TEST_TYPE); in constructor_withNonNullOldFolder() 118 assertThat(event.handle).isEqualTo(TEST_HANDLE); in constructor_withNonNullOldFolder() 129 TEST_HANDLE, in constructor_forExtendedEventTypeOnePointOne() 138 assertThat(event.handle).isEqualTo(TEST_HANDLE); in constructor_forExtendedEventTypeOnePointOne() [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/ |
D | BrowseTreeTest.java | 36 private static final String TEST_HANDLE = "test_handle"; field in BrowseTreeTest 181 assertThat(browseTree.getNodesUsingCoverArt(TEST_HANDLE)).isEmpty(); in indicateCoverArtUsedAndUnused() 183 browseTree.indicateCoverArtUsed(TEST_NODE_ID, TEST_HANDLE); in indicateCoverArtUsedAndUnused() 185 assertThat(browseTree.getNodesUsingCoverArt(TEST_HANDLE).get(0)).isEqualTo(TEST_NODE_ID); in indicateCoverArtUsedAndUnused() 187 browseTree.indicateCoverArtUnused(TEST_NODE_ID, TEST_HANDLE); in indicateCoverArtUsedAndUnused() 189 assertThat(browseTree.getNodesUsingCoverArt(TEST_HANDLE)).isEmpty(); in indicateCoverArtUsedAndUnused() 190 assertThat(browseTree.getAndClearUnusedCoverArt().get(0)).isEqualTo(TEST_HANDLE); in indicateCoverArtUsedAndUnused() 199 browseTree.indicateCoverArtUsed(TEST_NODE_ID, TEST_HANDLE); in notifyImageDownload() 200 browseTree.indicateCoverArtUsed(testDeviceId, TEST_HANDLE); in notifyImageDownload() 201 Set<BrowseTree.BrowseNode> parents = browseTree.notifyImageDownload(TEST_HANDLE, null); in notifyImageDownload()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | BlockCheckerFilterTest.java | 83 private static final Uri TEST_HANDLE = Uri.parse("tel:1235551234"); field in BlockCheckerFilterTest 89 when(mCall.getHandle()).thenReturn(TEST_HANDLE); in setUp() 98 eq(TEST_HANDLE.getSchemeSpecificPart()), anyInt(), anyBoolean())) in testBlockNumber() 110 eq(TEST_HANDLE.getSchemeSpecificPart()), anyInt(), anyBoolean())) in testBlockNumberWhenEnhancedBlockingEnabled() 124 eq(TEST_HANDLE.getSchemeSpecificPart()), anyInt(), anyBoolean())) in testDontBlockNumber() 136 eq(TEST_HANDLE.getSchemeSpecificPart()), anyInt(), anyBoolean())) in testDontBlockNumberWhenEnhancedBlockingEnabled() 161 .startLookup(eq(TEST_HANDLE), captor.capture()); in verifyEnhancedLookupStart() 162 captor.getValue().onCallerInfoQueryComplete(TEST_HANDLE, null); in verifyEnhancedLookupStart()
|