Home
last modified time | relevance | path

Searched refs:isLocalOnly (Results 1 – 13 of 13) sorted by relevance

/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/
DCloudProviderQueryExtras.java87 boolean isLocalOnly, int pageSize, long dateTakenBeforeMs, int rowId, in CloudProviderQueryExtras() argument
98 mIsLocalOnly = isLocalOnly; in CloudProviderQueryExtras()
128 final boolean isLocalOnly = bundle.getBoolean(PickerDataLayer.QUERY_ARG_LOCAL_ONLY, in fromMediaStoreBundle()
141 generation, limit, isFavorite, isVideo, isLocalOnly, pageSize, dateTakenBeforeMs, in fromMediaStoreBundle()
163 final boolean isLocalOnly = BOOLEAN_DEFAULT; in fromCloudMediaBundle()
176 generation, limit, isFavorite, isVideo, isLocalOnly, pageSize, dateTakenBeforeMs, in fromCloudMediaBundle()
257 public boolean isLocalOnly() { in isLocalOnly() method in CloudProviderQueryExtras
DPickerDbFacade.java725 boolean isVideo, boolean isLocalOnly, boolean shouldScreenSelectionUris, in QueryFilter() argument
737 this.mIsLocalOnly = isLocalOnly; in QueryFilter()
867 public QueryFilterBuilder setIsLocalOnly(boolean isLocalOnly) { in setIsLocalOnly() argument
868 this.mIsLocalOnly = isLocalOnly; in setIsLocalOnly()
1151 int limit, boolean isLocalOnly, String tableName, String authority) { in queryMediaForUi() argument
1156 if (isLocalOnly) { in queryMediaForUi()
1494 private static String getWhereForFavorite(boolean isLocalOnly) { in getWhereForFavorite() argument
1495 if (isLocalOnly) { in getWhereForFavorite()
DItemsProvider.java192 boolean isLocalOnly, in getItemsForPreselectedMedia() argument
196 return queryMedia(isLocalOnly ? URI_MEDIA_LOCAL : URI_MEDIA_ALL, in getItemsForPreselectedMedia()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/
DPickerDataLayer.java164 final boolean isLocalOnly = queryExtras.isLocalOnly(); in fetchMediaInternal()
172 syncAllMedia(isLocalOnly); in fetchMediaInternal()
182 if (!isLocalOnly) { in fetchMediaInternal()
196 if (isLocalOnly && !isLocal(albumAuthority)) { in fetchMediaInternal()
236 private void syncAllMedia(boolean isLocalOnly) { in syncAllMedia() argument
237 if (isLocalOnly) { in syncAllMedia()
272 final boolean isLocalOnly = queryArgs.getBoolean(QUERY_ARG_LOCAL_ONLY, false); in fetchAlbumsInternal()
276 syncAllMedia(isLocalOnly); in fetchAlbumsInternal()
300 if (!isLocalOnly) { in fetchAlbumsInternal()
/packages/providers/MediaProvider/src/com/android/providers/media/
DPickerUriResolver.java368 String cloudProvider, boolean isLocalOnly) { in processUrisForSelection() argument
383 inputUris, localProvider, cloudProvider, isLocalOnly); in processUrisForSelection()
395 } else if (isLocalOnly) { in processUrisForSelection()
439 String cloudProvider, boolean isLocalOnly) { in populateLocalAndCloudIdListsForSelection() argument
450 } else if (!isLocalOnly && cloudProvider != null && cloudProvider.equals( in populateLocalAndCloudIdListsForSelection()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/viewmodel/
DPickerViewModelTest.java594 boolean isLocalOnly, int callingPackageUid, boolean shouldScreenSelectionUris, in getItemsForPreselectedMedia() argument
724 assertThat(mPickerViewModel.isLocalOnly()).isTrue(); in testParseValuesFromPickImagesIntent_localOnlyTrue()
733 assertThat(mPickerViewModel.isLocalOnly()).isFalse(); in testParseValuesFromPickImagesIntent_localOnlyFalse()
765 assertThat(mPickerViewModel.isLocalOnly()).isTrue(); in testParseValuesFromGetContentIntent_localOnlyTrue()
775 assertThat(mPickerViewModel.isLocalOnly()).isFalse(); in testParseValuesFromGetContentIntent_localOnlyFalse()
905 assertThat(mPickerViewModel.isLocalOnly()).isTrue(); in testShouldShowOnlyLocalFeatures()
910 assertThat(mPickerViewModel.isLocalOnly()).isFalse(); in testShouldShowOnlyLocalFeatures()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DGlobalSearchLoader.java71 if (!root.isLocalOnly() || !root.supportsSearch()) { in shouldIgnoreRoot()
DRecentsLoader.java83 return !root.isLocalOnly() || !root.supportsRecents() || !mUserId.equals(root.userId); in shouldIgnoreRoot()
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/
DProvidersAccess.java101 if (state.localOnly && !root.isLocalOnly()) { in getMatchingRoots()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringTest.java991 private void verifyStartHotspot(boolean isLocalOnly) throws Exception { in verifyStartHotspot() argument
1001 final int expectedState = isLocalOnly ? IFACE_IP_MODE_LOCAL_ONLY : IFACE_IP_MODE_TETHERED; in verifyStartHotspot()
1006 if (isLocalOnly) { in verifyStartHotspot()
3156 private void verifyHotspotClientUpdate(final boolean isLocalOnly, final MacAddress testMac, in verifyHotspotClientUpdate() argument
3161 final TetheredClient noAddrClient = notifyConnectedWifiClientsChanged(testMac, isLocalOnly); in verifyHotspotClientUpdate()
3172 boolean isLocalOnly) throws Exception { in notifyConnectedWifiClientsChanged() argument
3177 if (isLocalOnly) { in notifyConnectedWifiClientsChanged()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DRootInfo.java400 public boolean isLocalOnly() { in isLocalOnly() method in RootInfo
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/viewmodel/
DPickerViewModel.java1624 boolean isLocalOnly() { in isLocalOnly() method in PickerViewModel
1643 return isUserSelectForApp() || isLocalOnly() in shouldShowOnlyLocalFeatures()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DClientModeImpl.java2610 private boolean isLocalOnly() { in isLocalOnly() method in ClientModeImpl
3047 if (isLocalOnly()) { in getNetworkStateListenerCmmRole()
6222 targetedNetwork, mTargetBssid) || isLocalOnly(); in processMessageImpl()