Home
last modified time | relevance | path

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

12345678910>>...84

/frameworks/base/core/tests/fuzzers/ParcelFuzzer/
DReadUtils.java99 (parcel, provider) -> {
100 parcel.setDataPosition(provider.consumeInt(0, Integer.MAX_VALUE));
102 (parcel, provider) -> {
103 parcel.setDataCapacity(provider.consumeInt());
105 (parcel, provider) -> {
106 parcel.setDataSize(provider.consumeInt());
108 (parcel, provider) -> {
111 (parcel, provider) -> {
114 (parcel, provider) -> {
119 (parcel, provider) -> {
[all …]
DFuzzUtils.java29 public void doFuzz(FuzzedDataProvider provider) {
31 int start = provider.consumeInt();
32 int len = provider.consumeInt();
41 provider.consumeBytes(
42 provider.consumeInt(0, provider.remainingBytes()));
44 FuzzBinder.fillRandomParcel(p2, provider.consumeRemainingAsBytes());
60 public void doFuzz(FuzzedDataProvider provider) {
64 int maxParcelBytes = provider.remainingBytes() / 3;
65 byte[] data = provider.consumeBytes(maxParcelBytes);
72 while (provider.remainingBytes() > 0) {
[all …]
/frameworks/native/libs/binder/tests/parcel_fuzzer/
Dmain.cpp43 void fillRandomParcel(::android::hardware::Parcel* p, FuzzedDataProvider&& provider, in fillRandomParcel() argument
48 std::vector<uint8_t> input = provider.ConsumeRemainingBytes<uint8_t>(); in fillRandomParcel()
62 static void fillRandomParcel(NdkParcelAdapter* p, FuzzedDataProvider&& provider, in fillRandomParcel() argument
65 fillRandomParcel(p->parcel(), std::move(provider), options); in fillRandomParcel()
69 void doTransactFuzz(const char* backend, const sp<B>& binder, FuzzedDataProvider&& provider) { in doTransactFuzz() argument
70 uint32_t code = provider.ConsumeIntegral<uint32_t>(); in doTransactFuzz()
71 uint32_t flag = provider.ConsumeIntegral<uint32_t>(); in doTransactFuzz()
79 fillRandomParcel(&data, std::move(provider), &options); in doTransactFuzz()
85 FuzzedDataProvider&& provider) { in doReadFuzz() argument
89 size_t maxInstructions = 20 + (provider.remaining_bytes() * 2 / 3); in doReadFuzz()
[all …]
Dlibbinder_driver.cpp30 void fuzzService(const sp<IBinder>& binder, FuzzedDataProvider&& provider) { in fuzzService() argument
31 fuzzService(std::vector<sp<IBinder>>{binder}, std::move(provider)); in fuzzService()
34 void fuzzService(const std::vector<sp<IBinder>>& binders, FuzzedDataProvider&& provider) { in fuzzService() argument
42 std::vector<uint8_t> reservedBytes = provider.ConsumeBytes<uint8_t>(8); in fuzzService()
52 int64_t maybeSetUid = provider.PickValueInArray<int64_t>( in fuzzService()
54 provider.ConsumeIntegralInRange<int64_t>(static_cast<int64_t>(AID_ROOT) << 32, in fuzzService()
56 provider.ConsumeIntegral<int64_t>()}); in fuzzService()
58 if (provider.ConsumeBool()) { in fuzzService()
63 while (provider.remaining_bytes() > 0) { in fuzzService()
66 uint32_t code = provider.ConsumeBool() ? provider.ConsumeIntegral<uint32_t>() in fuzzService()
[all …]
Drandom_parcel.cpp30 static void fillRandomParcelData(Parcel* p, FuzzedDataProvider&& provider) { in fillRandomParcelData() argument
31 std::vector<uint8_t> data = provider.ConsumeBytes<uint8_t>(provider.remaining_bytes()); in fillRandomParcelData()
35 void fillRandomParcel(Parcel* p, FuzzedDataProvider&& provider, RandomParcelOptions* options) { in fillRandomParcel() argument
38 if (provider.ConsumeBool()) { in fillRandomParcel()
49 options->writeHeader(p, provider); in fillRandomParcel()
52 fillRandomParcelData(p, std::move(provider)); in fillRandomParcel()
57 options->writeHeader(p, provider); in fillRandomParcel()
60 while (provider.remaining_bytes() > 0) { in fillRandomParcel()
61 auto fillFunc = provider.PickValueInArray<const std::function<void()>>({ in fillRandomParcel()
65 provider.ConsumeIntegralInRange<size_t>(0, provider.remaining_bytes()); in fillRandomParcel()
[all …]
/frameworks/base/services/tests/timetests/src/com/android/server/timezonedetector/location/
DLocationTimeZoneProviderTest.java85 TestLocationTimeZoneProvider provider = new TestLocationTimeZoneProvider( in lifecycle() local
93 provider.initialize(mProviderListener); in lifecycle()
94 provider.assertOnInitializeCalled(); in lifecycle()
97 provider, providerMetricsLogger, PROVIDER_STATE_STOPPED, in lifecycle()
100 assertSame(provider, currentState.provider); in lifecycle()
111 provider.startUpdates(config, arbitraryInitializationTimeout, in lifecycle()
114 provider.assertOnStartCalled( in lifecycle()
118 provider, providerMetricsLogger, PROVIDER_STATE_STARTED_INITIALIZING, in lifecycle()
120 assertSame(provider, currentState.provider); in lifecycle()
143 provider.simulateProviderEventReceived(event); in lifecycle()
[all …]
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/
DFaceService.java125 final ServiceProvider provider = mRegistry.getProviderForSensor(sensorId); in createTestSession() local
127 if (provider == null) { in createTestSession()
132 return provider.createTestSession(sensorId, callback, opPackageName); in createTestSession()
141 final ServiceProvider provider = mRegistry.getProviderForSensor(sensorId); in dumpSensorServiceStateProto() local
142 if (provider != null) { in dumpSensorServiceStateProto()
143 provider.dumpProtoState(sensorId, proto, clearSchedulerBuffer); in dumpSensorServiceStateProto()
164 final ServiceProvider provider = mRegistry.getProviderForSensor(sensorId); in getSensorProperties() local
165 if (provider == null) { in getSensorProperties()
171 return provider.getSensorProperties(sensorId); in getSensorProperties()
180 final ServiceProvider provider = mRegistry.getProviderForSensor(sensorId); in generateChallenge() local
[all …]
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/
DFingerprintService.java152 final ServiceProvider provider = mRegistry.getProviderForSensor(sensorId);
154 if (provider == null) {
159 return provider.createTestSession(sensorId, callback, opPackageName);
168 final ServiceProvider provider = mRegistry.getProviderForSensor(sensorId);
169 if (provider != null) {
170 provider.dumpProtoState(sensorId, proto, clearSchedulerBuffer);
192 final ServiceProvider provider = mRegistry.getProviderForSensor(sensorId);
193 if (provider == null) {
198 return provider.getSensorProperties(sensorId);
207 final ServiceProvider provider = mRegistry.getProviderForSensor(sensorId);
[all …]
/frameworks/base/services/core/java/com/android/server/location/eventlog/
DLocationEventLog.java35 import android.location.provider.ProviderRequest;
96 private AggregateStats getAggregateStats(String provider, CallerIdentity identity) { in getAggregateStats() argument
98 ArrayMap<CallerIdentity, AggregateStats> packageMap = mAggregateStats.get(provider); in getAggregateStats()
101 mAggregateStats.put(provider, packageMap); in getAggregateStats()
157 public void logProviderEnabled(String provider, int userId, boolean enabled) { in logProviderEnabled() argument
158 addLog(new ProviderEnabledEvent(provider, userId, enabled)); in logProviderEnabled()
162 public void logProviderMocked(String provider, boolean mocked) { in logProviderMocked() argument
163 addLog(new ProviderMockedEvent(provider, mocked)); in logProviderMocked()
167 public void logProviderClientRegistered(String provider, CallerIdentity identity, in logProviderClientRegistered() argument
169 addLog(new ProviderClientRegisterEvent(provider, true, identity, request)); in logProviderClientRegistered()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DInsetsStateController.java120 InsetsSourceProvider provider = mProviders.get(id); in getOrCreateSourceProvider() local
121 if (provider != null) { in getOrCreateSourceProvider()
122 return provider; in getOrCreateSourceProvider()
125 provider = id == ID_IME in getOrCreateSourceProvider()
128 provider.setFlags( in getOrCreateSourceProvider()
133 mProviders.put(id, provider); in getOrCreateSourceProvider()
134 return provider; in getOrCreateSourceProvider()
153 final InsetsSourceProvider provider = mProviders.valueAt(i); in setForcedConsumingTypes() local
154 changed |= provider.setFlags( in setForcedConsumingTypes()
155 (types & provider.getSource().getType()) != 0 in setForcedConsumingTypes()
[all …]
/frameworks/base/tests/testables/src/android/testing/
DTestableContentResolver.java69 public void addProvider(String name, ContentProvider provider) { in addProvider() argument
70 addProvider(name, provider, STABLE | UNSTABLE); in addProvider()
80 public void addProvider(String name, ContentProvider provider, int flags) { in addProvider() argument
82 mProviders.put(name, provider); in addProvider()
85 mUnstableProviders.put(name, provider); in addProvider()
91 final ContentProvider provider = mProviders.get(name); in acquireProvider() local
92 if (provider != null) { in acquireProvider()
93 return provider.getIContentProvider(); in acquireProvider()
101 final ContentProvider provider = mProviders.get(name); in acquireExistingProvider() local
102 if (provider != null) { in acquireExistingProvider()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayWindowSettingsProviderTests.java129 DisplayWindowSettingsProvider provider = new DisplayWindowSettingsProvider( in testReadingDisplaySettingsFromStorage_LegacyDisplayId_UpdateAfterAccess() local
131 SettingsEntry overrideSettings = provider.getOverrideSettings(mPrimaryDisplayInfo); in testReadingDisplaySettingsFromStorage_LegacyDisplayId_UpdateAfterAccess()
133 provider.updateOverrideSettings(mPrimaryDisplayInfo, overrideSettings); in testReadingDisplaySettingsFromStorage_LegacyDisplayId_UpdateAfterAccess()
174 final DisplayWindowSettingsProvider provider = in testReadingDisplaySettingsFromStorage_secondayVendorDisplaySettingsLocation() local
181 assertEquals(expectedSettings, provider.getSettings(mSecondaryDisplay.getDisplayInfo())); in testReadingDisplaySettingsFromStorage_secondayVendorDisplaySettingsLocation()
184 provider.setBaseSettingsStorage(mSecondaryVendorSettingsStorage); in testReadingDisplaySettingsFromStorage_secondayVendorDisplaySettingsLocation()
186 assertEquals(expectedSettings, provider.getSettings(mSecondaryDisplay.getDisplayInfo())); in testReadingDisplaySettingsFromStorage_secondayVendorDisplaySettingsLocation()
189 provider.setBaseSettingsStorage(mDefaultVendorSettingsStorage); in testReadingDisplaySettingsFromStorage_secondayVendorDisplaySettingsLocation()
191 assertEquals(expectedSettings, provider.getSettings(mSecondaryDisplay.getDisplayInfo())); in testReadingDisplaySettingsFromStorage_secondayVendorDisplaySettingsLocation()
200 final DisplayWindowSettingsProvider provider = in testReadingDisplaySettingsFromStorage_overrideSettingsTakePrecedenceOverVendor() local
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/communal/data/db/
DCommunalWidgetDaoTest.kt70 val (widgetId, provider, priority) = widgetInfo1 in <lambda>() constant
73 provider = provider, in <lambda>()
83 val (widgetId, provider, priority) = widgetInfo1 in <lambda>() constant
86 provider = provider, in <lambda>()
98 val (widgetId, provider, priority) = it in <lambda>() constant
101 provider = provider, in <lambda>()
121 val (widgetId, provider, priority) = it in <lambda>() constant
124 provider = provider, in <lambda>()
147 val (widgetId, provider, priority) = it in <lambda>() constant
150 provider = provider, in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DSysUICutoutProviderTest.kt45 val provider = SysUICutoutProvider(noCutoutDisplayContext, fakeProtectionLoader) in cutoutInfoForCurrentDisplay_noCutout_returnsNull() constant
47 val sysUICutout = provider.cutoutInfoForCurrentDisplayAndRotation() in cutoutInfoForCurrentDisplay_noCutout_returnsNull()
56 val provider = SysUICutoutProvider(cutoutDisplayContext, fakeProtectionLoader) in cutoutInfoForCurrentDisplay_returnsCutout() constant
58 val sysUICutout = provider.cutoutInfoForCurrentDisplayAndRotation()!! in cutoutInfoForCurrentDisplay_returnsCutout()
67 val provider = SysUICutoutProvider(cutoutDisplayContext, fakeProtectionLoader) in cutoutInfoForCurrentDisplay_noAssociatedProtection_returnsNoProtection() constant
69 val sysUICutout = provider.cutoutInfoForCurrentDisplayAndRotation()!! in cutoutInfoForCurrentDisplay_noAssociatedProtection_returnsNoProtection()
78 val provider = SysUICutoutProvider(outerDisplayContext, fakeProtectionLoader) in cutoutInfoForCurrentDisplay_outerDisplay_protectionAssociated_returnsProtection() constant
80 val sysUICutout = provider.cutoutInfoForCurrentDisplayAndRotation()!! in cutoutInfoForCurrentDisplay_outerDisplay_protectionAssociated_returnsProtection()
89 val provider = SysUICutoutProvider(outerDisplayContext, fakeProtectionLoader) in cutoutInfoForCurrentDisplay_outerDisplay_protectionNotAvailable_returnsNullProtection() constant
91 val sysUICutout = provider.cutoutInfoForCurrentDisplayAndRotation()!! in cutoutInfoForCurrentDisplay_outerDisplay_protectionNotAvailable_returnsNullProtection()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/
DNumberPickerTest.java45 final AccessibilityNodeProvider provider = np.getAccessibilityNodeProvider(); in testAccessibilityFocusedProperty() local
47 AccessibilityNodeInfo info = provider.createAccessibilityNodeInfo(View.NO_ID); in testAccessibilityFocusedProperty()
50 provider.performAction(View.NO_ID, AccessibilityNodeInfo.ACTION_ACCESSIBILITY_FOCUS, null); in testAccessibilityFocusedProperty()
51 info = provider.createAccessibilityNodeInfo(View.NO_ID); in testAccessibilityFocusedProperty()
55 info = provider.createAccessibilityNodeInfo(virtualViewIdIncrement); in testAccessibilityFocusedProperty()
58 provider.performAction( in testAccessibilityFocusedProperty()
63 info = provider.createAccessibilityNodeInfo(virtualViewIdIncrement); in testAccessibilityFocusedProperty()
67 info = provider.createAccessibilityNodeInfo(VirtualViewIdInput); in testAccessibilityFocusedProperty()
70 provider.performAction( in testAccessibilityFocusedProperty()
75 info = provider.createAccessibilityNodeInfo(VirtualViewIdInput); in testAccessibilityFocusedProperty()
[all …]
/frameworks/base/services/core/java/com/android/server/timezonedetector/location/
DLocationTimeZoneProviderController.java348 private void stopProviderIfStarted(@NonNull LocationTimeZoneProvider provider) { in stopProviderIfStarted() argument
349 if (provider.getCurrentState().isStarted()) { in stopProviderIfStarted()
350 stopProvider(provider); in stopProviderIfStarted()
355 private void stopProvider(@NonNull LocationTimeZoneProvider provider) { in stopProvider() argument
356 ProviderState providerState = provider.getCurrentState(); in stopProvider()
359 debugLog("No need to stop " + provider + ": already stopped"); in stopProvider()
365 debugLog("Stopping " + provider); in stopProvider()
366 provider.stopUpdates(); in stopProvider()
371 debugLog("Unable to stop " + provider + ": it is terminated."); in stopProvider()
375 warnLog("Unknown provider state: " + provider); in stopProvider()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/nearby/
DNearbyMediaDevicesManagerTest.kt53 val provider = TestProvider() in registerNearbyDevicesCallback_providerRegistered_providerReceivesCallback() constant
54 commandQueueCallbacks.registerNearbyMediaDevicesProvider(provider) in registerNearbyDevicesCallback_providerRegistered_providerReceivesCallback()
62 assertThat(provider.lastRegisteredCallback).isEqualTo(callback) in registerNearbyDevicesCallback_providerRegistered_providerReceivesCallback()
92 val provider = TestProvider() in unregisterNearbyDevicesCallback_providerRegistered_providerReceivesCallback() constant
93 commandQueueCallbacks.registerNearbyMediaDevicesProvider(provider) in unregisterNearbyDevicesCallback_providerRegistered_providerReceivesCallback()
101 assertThat(provider.lastUnregisteredCallback).isEqualTo(callback) in unregisterNearbyDevicesCallback_providerRegistered_providerReceivesCallback()
141 val provider = TestProvider() in providerUnregistered_doesNotReceiveNewCallback() constant
142 commandQueueCallbacks.registerNearbyMediaDevicesProvider(provider) in providerUnregistered_doesNotReceiveNewCallback()
143 commandQueueCallbacks.unregisterNearbyMediaDevicesProvider(provider) in providerUnregistered_doesNotReceiveNewCallback()
150 assertThat(provider.lastRegisteredCallback).isEqualTo(null) in providerUnregistered_doesNotReceiveNewCallback()
[all …]
/frameworks/native/libs/binder/tests/unit_fuzzers/
DRecordedTransactionFuzz.cpp28 FuzzedDataProvider provider = FuzzedDataProvider(data, size); in LLVMFuzzerTestOneInput() local
31 android::String16(provider.ConsumeRandomLengthString().c_str()); in LLVMFuzzerTestOneInput()
33 uint32_t code = provider.ConsumeIntegral<uint32_t>(); in LLVMFuzzerTestOneInput()
34 uint32_t flags = provider.ConsumeIntegral<uint32_t>(); in LLVMFuzzerTestOneInput()
35 time_t sec = provider.ConsumeIntegral<time_t>(); in LLVMFuzzerTestOneInput()
36 long nsec = provider.ConsumeIntegral<long>(); in LLVMFuzzerTestOneInput()
38 android::status_t transactionStatus = provider.ConsumeIntegral<android::status_t>(); in LLVMFuzzerTestOneInput()
40 std::vector<uint8_t> bytes = provider.ConsumeBytes<uint8_t>( in LLVMFuzzerTestOneInput()
41 provider.ConsumeIntegralInRange<size_t>(0, provider.remaining_bytes())); in LLVMFuzzerTestOneInput()
48 fillRandomParcel(&p1, std::move(provider), &options); in LLVMFuzzerTestOneInput()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DLetterboxBackgroundProviderTest.kt56 private lateinit var provider: LetterboxBackgroundProvider in <lambda>() variable in com.android.systemui.statusbar.phone.LetterboxBackgroundProviderTest
65 provider = in <lambda>()
86 assertThat(provider.letterboxBackgroundColor).isEqualTo(Color.BLACK) in <lambda>()
93 provider.start() in <lambda>()
95 assertThat(provider.letterboxBackgroundColor).isEqualTo(Color.BLACK) in <lambda>()
102 provider.start() in <lambda>()
105 assertThat(provider.letterboxBackgroundColor).isEqualTo(Color.RED) in <lambda>()
111 provider.start() in <lambda>()
113 expect.that(provider.letterboxBackgroundColor).isEqualTo(Color.RED) in <lambda>()
117 expect.that(provider.letterboxBackgroundColor).isEqualTo(Color.RED) in <lambda>()
[all …]
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java24 import static android.provider.DeviceConfig.NAMESPACE_SYSTEMUI;
101 import android.provider.DeviceConfig;
553 Provider provider = mProviders.get(i); in clearPreviewsForUidLocked() local
554 if (provider.id.uid == clearedUid) { in clearPreviewsForUidLocked()
555 changed |= provider.clearGeneratedPreviewsLocked(); in clearPreviewsForUidLocked()
588 Provider provider = mProviders.get(i); in reloadWidgetsMaskedState() local
589 int providerUserId = provider.getUserId(); in reloadWidgetsMaskedState()
594 boolean changed = provider.setMaskedByLockedProfileLocked(lockedProfile); in reloadWidgetsMaskedState()
595 changed |= provider.setMaskedByQuietProfileLocked(quietProfile); in reloadWidgetsMaskedState()
601 provider.id.componentName.getPackageName(), provider.getUserId()); in reloadWidgetsMaskedState()
[all …]
/frameworks/base/core/java/com/android/internal/pm/pkg/component/
DParsedProviderUtils.java63 final ParsedProviderImpl provider = new ParsedProviderImpl(); in parseProvider() local
69 ParsedMainComponentUtils.parseMainComponent(provider, tag, separateProcesses, in parseProvider()
92 provider.setSyncable(sa.getBoolean( in parseProvider()
105 provider.setReadPermission(pkg.getPermission()); in parseProvider()
107 provider.setReadPermission(readPermission); in parseProvider()
115 provider.setWritePermission(pkg.getPermission()); in parseProvider()
117 provider.setWritePermission(writePermission); in parseProvider()
120 provider.setGrantUriPermissions( in parseProvider()
128 .setFlags(provider.getFlags() | flag(ProviderInfo.FLAG_SINGLE_USER, in parseProvider()
132 provider.setFlags(provider.getFlags() | flag(ProviderInfo.FLAG_SYSTEM_USER_ONLY, in parseProvider()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/
DLocationUtils.java36 public static Location createLocation(String provider, Random random) { in createLocation() argument
37 return createLocation(provider, in createLocation()
43 public static LocationResult createLocationResult(String provider, Random random) { in createLocationResult() argument
44 return LocationResult.wrap(createLocation(provider, random)); in createLocationResult()
47 public static LocationResult createLocationResult(String provider, Random random, in createLocationResult() argument
51 locations[i] = createLocation(provider, random); in createLocationResult()
56 public static Location createLocation(String provider, double latitude, double longitude, in createLocation() argument
58 Location location = new Location(provider); in createLocation()
67 public static LocationResult createLocationResult(String provider, double latitude, in createLocationResult() argument
69 return LocationResult.wrap(createLocation(provider, latitude, longitude, accuracy)); in createLocationResult()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
DSliceProviderPermissionsTest.java55 SliceProviderPermissions provider = new SliceProviderPermissions(pkg, tracker); in testDirty_addAuthority() local
57 provider.getOrCreateAuthority("some_auth"); in testDirty_addAuthority()
59 verify(tracker).onPersistableDirty(eq(provider)); in testDirty_addAuthority()
66 SliceProviderPermissions provider = new SliceProviderPermissions(pkg, tracker); in testDirty_addPkg() local
68 SliceAuthority auth = provider.getOrCreateAuthority("some_auth"); in testDirty_addPkg()
73 verify(tracker).onPersistableDirty(eq(provider)); in testDirty_addPkg()
78 SliceProviderPermissions provider = createProvider(); in testCreation() local
79 ArrayList<SliceAuthority> authorities = new ArrayList<>(provider.getAuthorities()); in testCreation()
92 SliceProviderPermissions provider = createProvider(); in testSerialization() local
98 provider.writeTo(serializer); in testSerialization()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/permission/
DLegacyPermissionManagerInternal.java36 void setDialerAppPackagesProvider(PackagesProvider provider); in setDialerAppPackagesProvider() argument
42 void setLocationExtraPackagesProvider(PackagesProvider provider); in setLocationExtraPackagesProvider() argument
48 void setLocationPackagesProvider(PackagesProvider provider); in setLocationPackagesProvider() argument
54 void setSimCallManagerPackagesProvider(PackagesProvider provider); in setSimCallManagerPackagesProvider() argument
60 void setSmsAppPackagesProvider(PackagesProvider provider); in setSmsAppPackagesProvider() argument
66 void setSyncAdapterPackagesProvider(SyncAdapterPackagesProvider provider); in setSyncAdapterPackagesProvider() argument
72 void setUseOpenWifiAppPackagesProvider(PackagesProvider provider); in setUseOpenWifiAppPackagesProvider() argument
78 void setVoiceInteractionPackagesProvider(PackagesProvider provider); in setVoiceInteractionPackagesProvider() argument
/frameworks/base/location/java/android/location/
DILocationManager.aidl38 import android.location.provider.ForwardGeocodeRequest;
39 import android.location.provider.IGeocodeCallback;
40 import android.location.provider.IProviderRequestListener;
41 import android.location.provider.ProviderProperties;
42 import android.location.provider.ReverseGeocodeRequest;
54 …@nullable Location getLastLocation(String provider, in LastLocationRequest request, String package… in getLastLocation() argument
55 …@nullable ICancellationSignal getCurrentLocation(String provider, in LocationRequest request, in I… in getCurrentLocation() argument
57 …void registerLocationListener(String provider, in LocationRequest request, in ILocationListener li… in registerLocationListener() argument
60 …void registerLocationPendingIntent(String provider, in LocationRequest request, in PendingIntent p… in registerLocationPendingIntent() argument
66 void requestListenerFlush(String provider, in ILocationListener listener, int requestCode); in requestListenerFlush() argument
[all …]

12345678910>>...84