Home
last modified time | relevance | path

Searched refs:isPrivate (Results 1 – 25 of 31) sorted by relevance

12

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DStorageFragment.java178 final boolean isPrivate = mVolumeInfo.getType() == VolumeInfo.TYPE_PRIVATE; in refresh()
184 if (isPrivate) { in refresh()
194 mAppsUsagePref.setVisible(isPrivate); in refresh()
197 mDcimUsagePref.setVisible(isPrivate); in refresh()
198 mMusicUsagePref.setVisible(isPrivate); in refresh()
199 mDownloadsUsagePref.setVisible(isPrivate); in refresh()
200 mCacheUsagePref.setVisible(isPrivate); in refresh()
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DStorageEntry.java163 if (isPrivate() && !other.isPrivate()) { in compareTo()
166 if (!isPrivate() && other.isPrivate()) { in compareTo()
240 public boolean isPrivate() { in isPrivate() method in StorageEntry
DStorageUsageProgressBarPreferenceController.java78 if (mStorageEntry != null && mStorageEntry.isMounted() && mStorageEntry.isPrivate()) { in getStorageStatsAndUpdateUi()
92 if (mStorageEntry.isPrivate()) { in getStorageStatsAndUpdateUi()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DVolumeOptionMenuController.java143 if (mStorageEntry.isPrivate()) { in updateOptionsMenu()
188 if (mStorageEntry.isPrivate() && !mStorageEntry.isDefaultInternalStorage()) { in onOptionsItemSelected()
203 if ((mStorageEntry.isPrivate() && !mStorageEntry.isDefaultInternalStorage()) in onOptionsItemSelected()
219 if (mStorageEntry.isPrivate()) { in onOptionsItemSelected()
252 if (mStorageEntry.isPrivate()) { in onOptionsItemSelected()
DStorageCategoryFragment.java114 if (mStorageCacheHelper.hasCachedSizeInfo() && mSelectedStorageEntry.isPrivate()) { in refreshUi()
120 if (mSelectedStorageEntry.isPrivate()) { in refreshUi()
DStorageDashboardFragment.java246 if (mStorageCacheHelper.hasCachedSizeInfo() && mSelectedStorageEntry.isPrivate()) { in refreshUi()
253 if (mSelectedStorageEntry.isPrivate()) { in refreshUi()
/packages/services/Car/libs/car-test-lib/src/android/car/test/util/
DDisplayUtils.java58 boolean isPrivate) { in createDisplayWithDefaultDisplayMetricsAndWait() argument
95 int flags = isPrivate ? 0 in createDisplayWithDefaultDisplayMetricsAndWait()
/packages/apps/Launcher3/tests/src/com/android/launcher3/popup/
DSystemShortcutTest.java310 when(mUserIconInfo.isPrivate()).thenReturn(false); in testUninstallGetShortcutWithNonPrivateItemInfo()
314 verify(mUserIconInfo).isPrivate(); in testUninstallGetShortcutWithNonPrivateItemInfo()
327 when(mUserIconInfo.isPrivate()).thenReturn(true); in testUninstallGetShortcutWithSystemItemInfo()
345 when(mUserIconInfo.isPrivate()).thenReturn(true); in testUninstallGetShortcutWithPrivateItemInfo()
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/storage/
DStorageEntryTest.java210 assertThat(privateStorage.isPrivate()).isTrue(); in isPrivate_privateVolume_shouldReturnTrue()
229 assertThat(diskStorage.isPrivate()).isFalse(); in isPrivate_nonVolumeInfo_shouldReturnFalse()
230 assertThat(recordStorage2.isPrivate()).isFalse(); in isPrivate_nonVolumeInfo_shouldReturnFalse()
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/src/main/java/com/android/development/
DDexToStubConverter.java274 if (!"<init>".equals(method.getName()) && isPrivate(method)) { in writeClass()
355 if (isPrivate(field)) { in writeClass()
506 private static boolean isPrivate(Member member) { in isPrivate() method in DexToStubConverter
/packages/apps/Launcher3/src/com/android/launcher3/
DSessionCommitReceiver.java104 && UserCache.getInstance(context).getUserInfo(user).isPrivate()) { in isEnabled()
DSecondaryDropTarget.java183 info.user).isPrivate()) { in getButtonType()
/packages/services/Car/tools/GenericCarApiBuilder/src/com/android/car/tool/apibuilder/
DParsedDataBuilder.java171 if (n.isInterface() && field.isPrivate()) { in getFieldData()
205 if (n.isInterface() && method.isPrivate()) { in getMethodData()
/packages/apps/Launcher3/src/com/android/launcher3/model/data/
DWorkspaceItemInfo.java127 if (UserCache.INSTANCE.get(context).getUserInfo(user).isPrivate()) { in WorkspaceItemInfo()
DAppInfo.java207 if (userIconInfo.isPrivate()) { in updateRuntimeFlagsForActivityTarget()
DItemInfo.java533 } else if (info.isPrivate()) { in getUserType()
/packages/apps/Launcher3/src/com/android/launcher3/pm/
DUserCache.java136 List<String> preInstallApp = userIconInfo.isPrivate() in fetchPreInstallApps()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DSystemShortcut.java344 itemInfo.user).isPrivate()) {
/packages/apps/Launcher3/src/com/android/launcher3/model/
DPackageUpdatedTask.java192 } else if (userCache.getUserInfo(mUser).isPrivate()) { in execute()
DLoaderTask.java709 } else if (mUserCache.getUserInfo(user).isPrivate()) { in loadAllApps()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/
DHotseatPredictionController.java419 activity.getApplicationContext()).getUserInfo(itemInfo.user).isPrivate()) { in getShortcut()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DPrivateProfileManager.java143 mPrivateProfileMatcher = (user) -> userCache.getUserInfo(user).isPrivate(); in PrivateProfileManager()
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
DWorkspaceItemProcessorTest.kt159 mock<UserIconInfo>().apply { whenever(isPrivate).thenReturn(false) } in setup()
/packages/apps/Car/DebuggingRestrictionController/libs/
Dokhttp-3.12.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/proguard/ okhttp3/ ...
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DTaskView.kt1644 UserCache.getInstance(context).getUserInfo(componentKey.user).isPrivate in <lambda>()

12