Home
last modified time | relevance | path

Searched refs:provider (Results 1 – 25 of 3298) sorted by relevance

12345678910>>...132

/packages/apps/Car/systemlibs/car-qc-lib/tests/unit/src/com/android/car/qc/provider/
DBaseQCProviderTest.java17 package com.android.car.qc.provider;
19 import static com.android.car.qc.provider.BaseQCProvider.EXTRA_ITEM;
20 import static com.android.car.qc.provider.BaseQCProvider.EXTRA_URI;
21 import static com.android.car.qc.provider.BaseQCProvider.METHOD_BIND;
22 import static com.android.car.qc.provider.BaseQCProvider.METHOD_DESTROY;
23 import static com.android.car.qc.provider.BaseQCProvider.METHOD_SUBSCRIBE;
24 import static com.android.car.qc.provider.BaseQCProvider.METHOD_UNSUBSCRIBE;
64 ContentProviderClient provider = getClient(mDefaultUri); in callOnBind_allowed_returnsItem() local
65 assertThat(provider).isNotNull(); in callOnBind_allowed_returnsItem()
68 Bundle res = provider.call(METHOD_BIND, null, extras); in callOnBind_allowed_returnsItem()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DLocalBluetoothDeviceProvider.java28 BluetoothDeviceProvider provider = getHostBluetoothDeviceProvider(); in connectDevice() local
29 if (provider != null) { in connectDevice()
30 provider.connectDevice(device); in connectDevice()
36 BluetoothDeviceProvider provider = getHostBluetoothDeviceProvider(); in disconnectDevice() local
37 if (provider != null) { in disconnectDevice()
38 provider.disconnectDevice(device); in disconnectDevice()
44 BluetoothDeviceProvider provider = getHostBluetoothDeviceProvider(); in forgetDevice() local
45 if (provider != null) { in forgetDevice()
46 provider.forgetDevice(device); in forgetDevice()
52 BluetoothDeviceProvider provider = getHostBluetoothDeviceProvider(); in renameDevice() local
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DLegacyApiSupport.java32 import android.provider.BaseColumns;
33 import android.provider.Contacts.ContactMethods;
34 import android.provider.Contacts.Extensions;
35 import android.provider.Contacts.People;
36 import android.provider.ContactsContract;
37 import android.provider.ContactsContract.CommonDataKinds.Email;
38 import android.provider.ContactsContract.CommonDataKinds.GroupMembership;
39 import android.provider.ContactsContract.CommonDataKinds.Im;
40 import android.provider.ContactsContract.CommonDataKinds.Note;
41 import android.provider.ContactsContract.CommonDataKinds.Organization;
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/search/
DCarSettingsSearchIndexablesProvider.java19 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_NON_INDEXABLE_KEYS_KEY_VALUE;
20 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_CLASS_NAME;
21 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_ENTRIES;
22 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_ICON_RESID;
23 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_INTENT_ACTION;
24 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_INTENT_TARGET_CLASS;
25 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_INTENT_TARGET_PACKAGE;
26 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_KEY;
27 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_KEYWORDS;
28 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_SCREEN_TITLE;
[all …]
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/search/
DCarSettingsSearchIndexablesProviderTest.java19 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_NON_INDEXABLE_KEYS_KEY_VALUE;
20 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_CLASS_NAME;
21 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_ENTRIES;
22 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_ICON_RESID;
23 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_INTENT_ACTION;
24 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_INTENT_TARGET_CLASS;
25 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_INTENT_TARGET_PACKAGE;
26 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_KEY;
27 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_KEYWORDS;
28 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_SCREEN_TITLE;
[all …]
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/legal/
DModuleLicenseProviderTest.java52 ModuleLicenseProvider provider = new ModuleLicenseProvider(); in onCreate_returnsTrue() local
53 assertThat(provider.onCreate()).isTrue(); in onCreate_returnsTrue()
58 ModuleLicenseProvider provider = new ModuleLicenseProvider(); in query_throwsUnsupportedOperationException() local
59 provider.query(null, null, null, null, null); in query_throwsUnsupportedOperationException()
64 ModuleLicenseProvider provider = new ModuleLicenseProvider(); in insert_throwsUnsupportedOperationException() local
65 provider.insert(null, null); in insert_throwsUnsupportedOperationException()
70 ModuleLicenseProvider provider = new ModuleLicenseProvider(); in delete_throwsUnsupportedOperationException() local
71 provider.delete(null, null, null); in delete_throwsUnsupportedOperationException()
76 ModuleLicenseProvider provider = new ModuleLicenseProvider(); in update_throwsUnsupportedOperationException() local
77 provider.update(null, null, null, null); in update_throwsUnsupportedOperationException()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointManager.java218 for (PasspointProvider provider : providers) { in setProviders()
219 provider.enableVerboseLogging(mVerboseLoggingEnabled); in setProviders()
220 mProviders.put(provider.getConfig().getUniqueId(), provider); in setProviders() local
221 if (provider.getPackageName() != null) { in setProviders()
222 startTrackingAppOpsChange(provider.getPackageName(), in setProviders()
223 provider.getCreatorUid()); in setProviders()
300 mProviders.values().forEach(provider -> { in onUserConnectChoiceRemove()
301 if (TextUtils.equals(provider.getConnectChoice(), choiceKey)) { in onUserConnectChoiceRemove()
302 provider.setUserConnectChoice(null, 0); in onUserConnectChoiceRemove()
316 PasspointProvider provider = mProviders.get(config.getProfileKey()); in onUserConnectChoiceSet() local
[all …]
DPasspointConfigUserStoreData.java184 for (PasspointProvider provider : providerList) { in serializeProviderList()
185 serializeProvider(out, provider); in serializeProviderList()
198 private void serializeProvider(XmlSerializer out, PasspointProvider provider) in serializeProvider() argument
201 XmlUtil.writeNextValue(out, XML_TAG_PROVIDER_ID, provider.getProviderId()); in serializeProvider()
202 XmlUtil.writeNextValue(out, XML_TAG_CREATOR_UID, provider.getCreatorUid()); in serializeProvider()
203 if (provider.getPackageName() != null) { in serializeProvider()
204 XmlUtil.writeNextValue(out, XML_TAG_PACKAGE_NAME, provider.getPackageName()); in serializeProvider()
207 provider.getCaCertificateAliases()); in serializeProvider()
209 provider.getClientPrivateKeyAndCertificateAlias()); in serializeProvider()
210 XmlUtil.writeNextValue(out, XML_TAG_HAS_EVER_CONNECTED, provider.getHasEverConnected()); in serializeProvider()
[all …]
/packages/providers/MediaProvider/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt23 Landroid/provider/MediaStore$Audio$AudioColumns;->ALBUM_ARTIST:Ljava/lang/String;
24 Landroid/provider/MediaStore$Audio$AudioColumns;->COMPILATION:Ljava/lang/String;
25 Landroid/provider/MediaStore$Audio$AudioColumns;->GENRE:Ljava/lang/String;
26 Landroid/provider/MediaStore$Audio$AudioColumns;->TITLE_RESOURCE_URI:Ljava/lang/String;
27 Landroid/provider/MediaStore$Audio$Media;->EXTERNAL_PATHS:[Ljava/lang/String;
28 Landroid/provider/MediaStore$Audio$Radio;-><init>()V
29 Landroid/provider/MediaStore$Files;->getDirectoryUri(Ljava/lang/String;)Landroid/net/Uri;
30 Landroid/provider/MediaStore$Images$Media;->StoreThumbnail(Landroid/content/ContentResolver;Landroi…
31 Landroid/provider/MediaStore$InternalThumbnails;-><init>()V
32 Landroid/provider/MediaStore$InternalThumbnails;->cancelThumbnailRequest(Landroid/content/ContentRe…
[all …]
/packages/apps/Settings/src/com/android/settings/search/
DSettingsSearchIndexablesProvider.java19 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_NON_INDEXABLE_KEYS_KEY_VALUE;
20 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_CLASS_NAME;
21 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_ENTRIES;
22 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_ICON_RESID;
23 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_INTENT_ACTION;
24 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_INTENT_TARGET_CLASS;
25 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_INTENT_TARGET_PACKAGE;
26 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_KEY;
27 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_KEYWORDS;
28 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_SCREEN_TITLE;
[all …]
/packages/modules/ConfigInfrastructure/framework/api/
Dsystem-lint-baseline.txt2 UnflaggedApi: android.provider.DeviceConfig#NAMESPACE_CORE_EXPERIMENTS_TEAM_INTERNAL:
3 …New API must be flagged with @FlaggedApi: field android.provider.DeviceConfig.NAMESPACE_CORE_EXPER…
4 UnflaggedApi: android.provider.DeviceConfig#NAMESPACE_NFC:
5 New API must be flagged with @FlaggedApi: field android.provider.DeviceConfig.NAMESPACE_NFC
6 UnflaggedApi: android.provider.DeviceConfig#clearAllLocalOverrides():
7 …New API must be flagged with @FlaggedApi: method android.provider.DeviceConfig.clearAllLocalOverri…
8 UnflaggedApi: android.provider.DeviceConfig#clearLocalOverride(String, String):
9 …New API must be flagged with @FlaggedApi: method android.provider.DeviceConfig.clearLocalOverride(…
10 UnflaggedApi: android.provider.DeviceConfig#getAllProperties():
11 … New API must be flagged with @FlaggedApi: method android.provider.DeviceConfig.getAllProperties()
[all …]
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/util/unfold/
DPreemptiveUnfoldTransitionProgressProviderTest.kt48 private lateinit var provider: PreemptiveUnfoldTransitionProgressProvider variable in com.android.quickstep.util.unfold.PreemptiveUnfoldTransitionProgressProviderTest
60 provider = PreemptiveUnfoldTransitionProgressProvider(testSource, handler) in before()
61 provider.init() in before()
62 provider.addCallback(listener) in before()
72 provider.preemptivelyStartTransition(initialProgress = null) in preemptiveStartInitialProgressNull_transitionStarts()
80 provider.preemptivelyStartTransition(initialProgress = 0.5f) in preemptiveStartWithInitialProgress_startsAnimationAndSendsProgress()
88 provider.preemptivelyStartTransition() in preemptiveStartAndCancel_finishesAnimation()
89 provider.cancelPreemptiveStart() in preemptiveStartAndCancel_finishesAnimation()
99 provider.preemptivelyStartTransition() in preemptiveStartAndThenSourceStartsTransition_transitionStarts()
107 provider.preemptivelyStartTransition() in preemptiveStartAndThenSourceStartsAndFinishesTransition_transitionFinishes()
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarInsetsController.kt178 for (provider in layoutParams.providedInsets) { in <lambda>() constant
179 setProviderInsets(provider, layoutParams.gravity, rotation) in <lambda>()
183 for (provider in windowLayoutParams.providedInsets) { in <lambda>() constant
184 setProviderInsets(provider, windowLayoutParams.gravity, context.display.rotation) in <lambda>()
200 for (provider in providedInsets) { in <lambda>() constant
201 if (provider.type == navigationBars()) { in <lambda>()
202 provider.setFlags(navBarsFlag, FLAG_SUPPRESS_SCRIM or FLAG_INSETS_ROUNDED_CORNER) in <lambda>()
233 private fun setProviderInsets(provider: InsetsFrameProvider, gravity: Int, endRotation: Int) { in <lambda>()
237 if (provider.type == navigationBars()) { in <lambda>()
238 provider.insetsSize = getInsetsForGravityWithCutout(contentHeight, gravity, endRotation) in <lambda>()
[all …]
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/profiles/
DProfilesPreferenceProviderTest.java100 ProfilesPreferenceProvider provider = createProvider(); in testCreateUserList_firstUserIsCurrentUser() local
102 Preference first = provider.createProfileList().get(0); in testCreateUserList_firstUserIsCurrentUser()
109 ProfilesPreferenceProvider provider = createProvider(); in testCreateUserList_repeatedGuestUserNotShown() local
111 List<Preference> userList = provider.createProfileList(); in testCreateUserList_repeatedGuestUserNotShown()
121 ProfilesPreferenceProvider provider = createProvider(); in testCreateUserList_guestShownAsSeparateLastElement() local
123 List<Preference> userList = provider.createProfileList(); in testCreateUserList_guestShownAsSeparateLastElement()
130 ProfilesPreferenceProvider provider = createProvider(); in testCreateUserList_currentUserNotShown() local
131 provider.setIncludeCurrentProfile(false); in testCreateUserList_currentUserNotShown()
133 List<Preference> userList = provider.createProfileList(); in testCreateUserList_currentUserNotShown()
143 ProfilesPreferenceProvider provider = createProvider(); in testCreateUserList_guestNotShown() local
[all …]
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastSearchIndexableProvider.java19 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_NON_INDEXABLE_KEYS_KEY_VALUE;
20 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_INTENT_ACTION;
21 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_INTENT_TARGET_CLASS;
22 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_INTENT_TARGET_PACKAGE;
23 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_KEY;
24 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_KEYWORDS;
25 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_SCREEN_TITLE;
26 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_TITLE;
27 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_XML_RES_CLASS_NAME;
28 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_XML_RES_ICON_RESID;
[all …]
/packages/apps/Traceur/src/com/android/traceur/
DSearchProvider.java19 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_INTENT_ACTION;
20 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_INTENT_TARGET_CLASS;
21 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_INTENT_TARGET_PACKAGE;
22 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_KEY;
23 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_KEYWORDS;
24 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_SUMMARY_ON;
25 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_TITLE;
26 import static android.provider.SearchIndexablesContract.INDEXABLES_RAW_COLUMNS;
27 import static android.provider.SearchIndexablesContract.NON_INDEXABLES_KEYS_COLUMNS;
33 import android.provider.SearchIndexablesProvider;
[all …]
/packages/providers/MediaProvider/apex/framework/api/
Dsystem-current.txt2 package android.provider {
6 method public void onSuccess(@NonNull android.provider.MediaCognitionProcessingVersions);
11 …method public void onSuccess(@NonNull java.util.List<android.provider.MediaCognitionProcessingResp…
20 …field @NonNull public static final android.os.Parcelable.Creator<android.provider.MediaCognitionPr…
25 …method @NonNull public android.provider.MediaCognitionProcessingRequest.Builder addProcessingReque…
26 method @NonNull public android.provider.MediaCognitionProcessingRequest build();
27 …method @NonNull public android.provider.MediaCognitionProcessingRequest.Builder setProcessingCombi…
33 method @NonNull public android.provider.MediaCognitionProcessingRequest getRequest();
37 …ctor public MediaCognitionProcessingResponse.Builder(@NonNull android.provider.MediaCognitionProce…
38 method @NonNull public android.provider.MediaCognitionProcessingResponse build();
[all …]
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DMediaScanTriggerJob.java18 import static android.provider.BaseColumns._ID;
19 import static android.provider.Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI;
20 import static android.provider.Downloads.Impl.COLUMN_DESTINATION;
21 import static android.provider.Downloads.Impl.COLUMN_IS_VISIBLE_IN_DOWNLOADS_UI;
22 import static android.provider.Downloads.Impl.COLUMN_MEDIASTORE_URI;
23 import static android.provider.Downloads.Impl.COLUMN_MEDIA_SCANNED;
24 import static android.provider.Downloads.Impl.DESTINATION_EXTERNAL;
25 import static android.provider.Downloads.Impl.DESTINATION_FILE_URI;
26 import static android.provider.Downloads.Impl.DESTINATION_NON_DOWNLOADMANAGER_DOWNLOAD;
27 import static android.provider.Downloads.Impl.MEDIA_SCANNED;
[all …]
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/searchindexables/
DHealthConnectSearchIndexablesProvider.kt24 import android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_INTENT_ACTION
25 import android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_INTENT_TARGET_PACKAGE
26 import android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_KEY
27 import android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_KEYWORDS
28 import android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_SCREEN_TITLE
29 import android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_SUMMARY_ON
30 import android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_TITLE
31 import android.provider.SearchIndexablesContract.INDEXABLES_RAW_COLUMNS
32 import android.provider.SearchIndexablesContract.INDEXABLES_XML_RES_COLUMNS
33 import android.provider.SearchIndexablesContract.NON_INDEXABLES_KEYS_COLUMNS
[all …]
/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/
DDataItem.java21 import android.provider.ContactsContract.CommonDataKinds.Email;
22 import android.provider.ContactsContract.CommonDataKinds.Event;
23 import android.provider.ContactsContract.CommonDataKinds.GroupMembership;
24 import android.provider.ContactsContract.CommonDataKinds.Identity;
25 import android.provider.ContactsContract.CommonDataKinds.Im;
26 import android.provider.ContactsContract.CommonDataKinds.Nickname;
27 import android.provider.ContactsContract.CommonDataKinds.Note;
28 import android.provider.ContactsContract.CommonDataKinds.Organization;
29 import android.provider.ContactsContract.CommonDataKinds.Phone;
30 import android.provider.ContactsContract.CommonDataKinds.Photo;
[all …]
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/
DDataItem.java21 import android.provider.ContactsContract.CommonDataKinds.Email;
22 import android.provider.ContactsContract.CommonDataKinds.Event;
23 import android.provider.ContactsContract.CommonDataKinds.GroupMembership;
24 import android.provider.ContactsContract.CommonDataKinds.Identity;
25 import android.provider.ContactsContract.CommonDataKinds.Im;
26 import android.provider.ContactsContract.CommonDataKinds.Nickname;
27 import android.provider.ContactsContract.CommonDataKinds.Note;
28 import android.provider.ContactsContract.CommonDataKinds.Organization;
29 import android.provider.ContactsContract.CommonDataKinds.Phone;
30 import android.provider.ContactsContract.CommonDataKinds.Photo;
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/util/
DCannedAnimationCoordinator.kt62 fun setAnimation(provider: Any, factory: Consumer<PendingAnimation>, duration: Long) { in <lambda>()
63 if (provider != animationProvider) { in <lambda>()
64 Log.e(TAG, "Trying to play two animations together, $provider and $animationProvider") in <lambda>()
71 animationProvider = provider in <lambda>()
120 recreateAnimation(provider) in <lambda>()
135 fun getPlaybackController(provider: Any): AnimatorPlaybackController? { in <lambda>()
136 return if (provider == animationProvider) animationController in <lambda>()
138 Log.d(TAG, "Wrong controller access from $provider, actual provider $animationProvider") in <lambda>()
156 fun recreateAnimation(provider: Any) { in <lambda>()
157 if (provider != animationProvider) { in <lambda>()
[all …]
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DSettingsFacade.java19 import static android.provider.Settings.Global.DEVICE_PROVISIONED;
20 import static android.provider.Settings.Secure.CROSS_PROFILE_CALENDAR_ENABLED;
21 import static android.provider.Settings.Secure.MANAGED_PROFILE_CONTACT_REMOTE_SEARCH;
22 import static android.provider.Settings.Secure.USER_SETUP_COMPLETE;
23 import static android.provider.Settings.Secure.USER_SETUP_PERSONALIZATION_STARTED;
24 import static android.provider.Settings.Secure.USER_SETUP_PERSONALIZATION_STATE;
27 import android.provider.Settings;
28 import android.provider.Settings.Global;
29 import android.provider.Settings.Secure;
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/preview/video/
DPlaybackState.kt19 import android.provider.CloudMediaProvider.CloudMediaSurfaceStateChangedCallback.PLAYBACK_STATE_BUF…
20 import android.provider.CloudMediaProvider.CloudMediaSurfaceStateChangedCallback.PLAYBACK_STATE_COM…
21 import android.provider.CloudMediaProvider.CloudMediaSurfaceStateChangedCallback.PLAYBACK_STATE_ERR…
22 import android.provider.CloudMediaProvider.CloudMediaSurfaceStateChangedCallback.PLAYBACK_STATE_ERR…
23 import android.provider.CloudMediaProvider.CloudMediaSurfaceStateChangedCallback.PLAYBACK_STATE_MED…
24 import android.provider.CloudMediaProvider.CloudMediaSurfaceStateChangedCallback.PLAYBACK_STATE_PAU…
25 import android.provider.CloudMediaProvider.CloudMediaSurfaceStateChangedCallback.PLAYBACK_STATE_REA…
26 import android.provider.CloudMediaProvider.CloudMediaSurfaceStateChangedCallback.PLAYBACK_STATE_STA…
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMulticastNetworkInterfaceProviderTests.java72 private MulticastNetworkInterfaceProvider provider; field in MulticastNetworkInterfaceProviderTests
161 provider = in setUp()
182 provider.getMulticastNetworkInterfaces()); in testGetMulticastNetworkInterfaces()
189 provider.connectivityMonitor.notifyConnectivityChange(); in testGetMulticastNetworkInterfaces()
191 assertEquals(networkInterfaces, provider.getMulticastNetworkInterfaces()); in testGetMulticastNetworkInterfaces()
197 provider.connectivityMonitor = mockMonitor; in testStartWatchingConnectivityChanges()
201 provider.startWatchingConnectivityChanges(); in testStartWatchingConnectivityChanges()
204 provider.stopWatchingConnectivityChanges(); in testStartWatchingConnectivityChanges()
211 assertFalse(provider.isOnIpV6OnlyNetwork(networkInterfaces)); in testIpV6OnlyNetwork_EmptyNetwork()
219 assertFalse(provider.isOnIpV6OnlyNetwork(networkInterfaces)); in testIpV6OnlyNetwork_IPv4Only()
[all …]

12345678910>>...132