Home
last modified time | relevance | path

Searched refs:getRoot (Results 1 – 25 of 50) sorted by relevance

12

/packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/
Dtrie_map_test.cpp34 EXPECT_EQ(10ull, trieMap.getRoot(10).mValue); in TEST()
36 EXPECT_EQ(10ull, trieMap.getRoot(10).mValue); in TEST()
37 EXPECT_EQ(10ull, trieMap.getRoot(0x10A).mValue); in TEST()
39 EXPECT_EQ(1000ull, trieMap.getRoot(10).mValue); in TEST()
41 EXPECT_EQ(1000ull, trieMap.getRoot(11).mValue); in TEST()
43 EXPECT_EQ(1000ull, trieMap.getRoot(10).mValue); in TEST()
48 EXPECT_EQ(0xFFFFFFFFFull, trieMap.getRoot(0).mValue); in TEST()
54 EXPECT_EQ(10ull, trieMap.getRoot(10).mValue); in TEST()
56 EXPECT_FALSE(trieMap.getRoot(10).mIsValid); in TEST()
64 EXPECT_EQ(0x3FFFFFull, trieMap.getRoot(10).mValue); in TEST()
[all …]
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/base/
DDocumentStackTest.java79 assertNull(mStack.getRoot()); in testInitialStateEmpty()
110 assertEquals(ROOT_1, mStack.getRoot()); in testChangeRoot()
130 assertNull(mStack.getRoot()); in testReset()
146 assertEquals(ROOT_1, stack.getRoot()); in testCopyConstructor()
162 assertEquals(ROOT_1, stack.getRoot()); in testCopyConstructor_MakesDeepCopy()
179 if (!Objects.equals(left.getRoot(), right.getRoot()) || left.size() != right.size()) { in testParceling()
/packages/apps/StorageManager/tests/unit/src/com/android/storagemanager/deletionhelper/
DFetchDownloadsLoaderTest.java43 FetchDownloadsLoader.collectFiles(temporaryFolder.getRoot()); in testEmptyDirectory()
55 FetchDownloadsLoader.collectFiles(temporaryFolder.getRoot()); in testFilesInDirectory()
69 FetchDownloadsLoader.collectFiles(temporaryFolder.getRoot()); in testNestedDirectories()
92 FetchDownloadsLoader.collectFiles(temporaryFolder.getRoot()); in testSumFileSizes()
108 FetchDownloadsLoader.collectFiles(temporaryFolder.getRoot()); in testFetchesThumbnailsForImages()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DAbstractActionHandler.java368 if (!Objects.equals(mState.stack.getRoot(), stack.getRoot())) { in openFolderInSearchResult()
369 Log.w(TAG, "Provider returns " + stack.getRoot() + " rather than expected " in openFolderInSearchResult()
370 + mState.stack.getRoot()); in openFolderInSearchResult()
531 Metrics.logLaunchAtLocation(mState, stack.getRoot().getUri()); in onStackLoaded()
543 if (!mState.stack.getRoot().isRecents() && mState.stack.isEmpty()) { in restoreRootAndDirectory()
544 mActivity.onRootPicked(mState.stack.getRoot()); in restoreRootAndDirectory()
604 mState.stack.getRoot().authority, in onCreateLoader()
605 mState.stack.getRoot().rootId, in onCreateLoader()
DDragAndDropManager.java430 calculateOpType(clipData, dstStack.getRoot()), in drop()
489 final RootInfo root = dstStack.getRoot(); in canCopyTo()
DBaseActivity.java553 mState.derivedMode = LocalPreferences.getViewMode(this, mState.stack.getRoot(), MODE_GRID); in refreshCurrentRootAndDirectory()
662 final RootInfo root = mState.stack.getRoot(); in updateHeaderTitle()
758 RootInfo root = mState.stack.getRoot(); in getCurrentRoot()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/clipping/
DClipStorageTest.java70 File clipDir = ClipStorage.prepareStorage(folder.getRoot()); in setUp()
145 File clipDir = ClipStorage.prepareStorage(folder.getRoot()); in testPrepareStorage_CreatesDir()
148 assertFalse(clipDir.equals(folder.getRoot())); in testPrepareStorage_CreatesDir()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/mockable/
DMediaBrowser.java101 public String getRoot() { in getRoot() method in MediaBrowser
102 return mDelegate.getRoot(); in getRoot()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapFolderElement.java133 BluetoothMapFolderElement folderElement = this.getRoot(); in getFolderByName()
152 return findFolderById(id, folderStructure.getRoot()); in getFolderById()
176 public BluetoothMapFolderElement getRoot() { in getRoot() method in BluetoothMapFolderElement
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DAbstractSource.java108 public Source getRoot() { in getRoot() method in AbstractSource
115 Source s = ((Source) o).getRoot(); in equals()
DSource.java147 Source getRoot(); in getRoot() method
/packages/apps/DocumentsUI/perf-tests/src/com/android/documentsui/
DFilesActivityPerfTest.java70 rootDir0 = mDocsHelper.getRoot(STRESS_ROOT_0_ID); in setupTestingRoots()
71 rootDir1 = mDocsHelper.getRoot(STRESS_ROOT_1_ID); in setupTestingRoots()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDragHost.java105 mDragAndDropManager.updateState(v, mState.stack.getRoot(), mDestinationLookup.lookup(v)); in onDragEntered()
110 return (doc != null) && mDragAndDropManager.canSpringOpen(mState.stack.getRoot(), doc); in canSpringOpen()
DMessage.java123 RootInfo root = mEnv.getDisplayState().stack.getRoot(); in updateToAuthenticationExceptionHeader()
171 mEnv.getDisplayState().stack.getRoot().title); in updateToInflatedEmptyMessage()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/services/
DAbstractJobTest.java94 mSrcRoot = mDocs.getRoot(ROOT_0_ID); in initTestFiles()
95 mDestRoot = mDocs.getRoot(ROOT_1_ID); in initTestFiles()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DContentFragment.java140 public RelativeLayout getRoot() { in getRoot() method in ContentFragment
141 return mBase.getRoot(); in getRoot()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DActivityTest.java104 rootDir0 = mDocsHelper.getRoot(StubProvider.ROOT_0_ID); in setupTestingRoots()
105 rootDir1 = mDocsHelper.getRoot(StubProvider.ROOT_1_ID); in setupTestingRoots()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/newavrcp/
DBrowserPlayerWrapperTest.java54 when(mMockBrowser.getRoot()).thenReturn("root_folder"); in setUp()
95 doReturn("").when(mMockBrowser).getRoot(); in testEmptyRoot()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DLastAccessedProvider.java253 if (stack.getRoot() != null && predicate.test(stack.getRoot().authority)) { in purgeByAuthority()
/packages/apps/Car/Radio/src/com/android/car/radio/service/
DRadioAppService.java138 mBrowseTree.getRoot().getRootId(), null); in onStartCommand()
249 return mBrowseTree.getRoot(); in onGetRoot()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DConfig.java34 final RootInfo root = stack.getRoot(); in managedModeEnabled()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DDocumentStackAsserts.java19 assertEquals(root, stack.getRoot()); in assertEqualsTo()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
Dlanguage_model_dict_content.cpp162 const TrieMap::Result result = mTrieMap.getRoot(wordId); in exportAllNgramEntriesRelatedToWord()
342 && !mTrieMap.getRoot(entry.key()).mIsValid) { in updateAllProbabilityEntriesForGCInner()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DPickResultTest.java50 assertThat(mPickResult.getRoot()).isEqualTo(2); in testRoot()
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/
DTmaLibrary.java57 TmaMediaItem getRoot(TmaBrowseNodeType rootType) { in getRoot() method in TmaLibrary

12