/packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/ |
D | trie_map_test.cpp | 34 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/ |
D | DocumentStackTest.java | 79 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/ |
D | FetchDownloadsLoaderTest.java | 43 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/ |
D | AbstractActionHandler.java | 368 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()
|
D | DragAndDropManager.java | 430 calculateOpType(clipData, dstStack.getRoot()), in drop() 489 final RootInfo root = dstStack.getRoot(); in canCopyTo()
|
D | BaseActivity.java | 553 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/ |
D | ClipStorageTest.java | 70 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/ |
D | MediaBrowser.java | 101 public String getRoot() { in getRoot() method in MediaBrowser 102 return mDelegate.getRoot(); in getRoot()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapFolderElement.java | 133 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/ |
D | AbstractSource.java | 108 public Source getRoot() { in getRoot() method in AbstractSource 115 Source s = ((Source) o).getRoot(); in equals()
|
D | Source.java | 147 Source getRoot(); in getRoot() method
|
/packages/apps/DocumentsUI/perf-tests/src/com/android/documentsui/ |
D | FilesActivityPerfTest.java | 70 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/ |
D | DragHost.java | 105 mDragAndDropManager.updateState(v, mState.stack.getRoot(), mDestinationLookup.lookup(v)); in onDragEntered() 110 return (doc != null) && mDragAndDropManager.canSpringOpen(mState.stack.getRoot(), doc); in canSpringOpen()
|
D | Message.java | 123 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/ |
D | AbstractJobTest.java | 94 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/ |
D | ContentFragment.java | 140 public RelativeLayout getRoot() { in getRoot() method in ContentFragment 141 return mBase.getRoot(); in getRoot()
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ |
D | ActivityTest.java | 104 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/ |
D | BrowserPlayerWrapperTest.java | 54 when(mMockBrowser.getRoot()).thenReturn("root_folder"); in setUp() 95 doReturn("").when(mMockBrowser).getRoot(); in testEmptyRoot()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | LastAccessedProvider.java | 253 if (stack.getRoot() != null && predicate.test(stack.getRoot().authority)) { in purgeByAuthority()
|
/packages/apps/Car/Radio/src/com/android/car/radio/service/ |
D | RadioAppService.java | 138 mBrowseTree.getRoot().getRootId(), null); in onStartCommand() 249 return mBrowseTree.getRoot(); in onGetRoot()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/files/ |
D | Config.java | 34 final RootInfo root = stack.getRoot(); in managedModeEnabled()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | DocumentStackAsserts.java | 19 assertEquals(root, stack.getRoot()); in assertEqualsTo()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/ |
D | language_model_dict_content.cpp | 162 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/ |
D | PickResultTest.java | 50 assertThat(mPickResult.getRoot()).isEqualTo(2); in testRoot()
|
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/ |
D | TmaLibrary.java | 57 TmaMediaItem getRoot(TmaBrowseNodeType rootType) { in getRoot() method in TmaLibrary
|