Home
last modified time | relevance | path

Searched refs:impl (Results 1 – 25 of 429) sorted by relevance

12345678910>>...18

/frameworks/base/core/java/android/net/
DLocalSocket.java36 private final LocalSocketImpl impl; field in LocalSocket
70 private LocalSocket(LocalSocketImpl impl, int sockType) { in LocalSocket() argument
71 this.impl = impl; in LocalSocket()
91 static LocalSocket createLocalSocketForAccept(LocalSocketImpl impl) { in createLocalSocketForAccept() argument
92 return createConnectedLocalSocket(impl, SOCKET_UNKNOWN); in createLocalSocketForAccept()
98 private static LocalSocket createConnectedLocalSocket(LocalSocketImpl impl, int sockType) { in createConnectedLocalSocket() argument
99 LocalSocket socket = new LocalSocket(impl, sockType); in createConnectedLocalSocket()
109 return super.toString() + " impl:" + impl; in toString()
124 impl.create(sockType); in implCreateIfNeeded()
148 impl.connect(endpoint, 0); in connect()
[all …]
DLocalServerSocket.java28 private final LocalSocketImpl impl; field in LocalServerSocket
44 impl = new LocalSocketImpl(); in LocalServerSocket()
46 impl.create(LocalSocket.SOCKET_STREAM); in LocalServerSocket()
49 impl.bind(localAddress); in LocalServerSocket()
51 impl.listen(LISTEN_BACKLOG); in LocalServerSocket()
65 impl = new LocalSocketImpl(fd); in LocalServerSocket()
66 impl.listen(LISTEN_BACKLOG); in LocalServerSocket()
67 localAddress = impl.getSockAddress(); in LocalServerSocket()
91 impl.accept(acceptedImpl); in accept()
102 return impl.getFileDescriptor(); in getFileDescriptor()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/om/
DOverlayManagerServiceImplRebootTests.java46 final OverlayManagerServiceImpl impl = getImpl(); in testUpdateOverlaysForUser() local
52 final List<String> a = impl.updateOverlaysForUser(USER); in testUpdateOverlaysForUser()
59 final List<String> b = impl.updateOverlaysForUser(USER); in testUpdateOverlaysForUser()
64 final List<String> c = impl.updateOverlaysForUser(USER); in testUpdateOverlaysForUser()
70 final List<String> d = impl.updateOverlaysForUser(USER); in testUpdateOverlaysForUser()
75 final List<String> f = impl.updateOverlaysForUser(USER); in testUpdateOverlaysForUser()
82 final OverlayManagerServiceImpl impl = getImpl(); in testImmutableEnabledChange() local
87 impl.updateOverlaysForUser(USER); in testImmutableEnabledChange()
88 final OverlayInfo o1 = impl.getOverlayInfo(OVERLAY, USER); in testImmutableEnabledChange()
94 impl.updateOverlaysForUser(USER); in testImmutableEnabledChange()
[all …]
DOverlayManagerServiceImplTests.java56 final OverlayManagerServiceImpl impl = getImpl(); in testGetOverlayInfo() local
57 final OverlayInfo oi = impl.getOverlayInfo(OVERLAY, USER); in testGetOverlayInfo()
70 final OverlayManagerServiceImpl impl = getImpl(); in testGetOverlayInfosForTarget() local
71 final List<OverlayInfo> ois = impl.getOverlayInfosForTarget(TARGET, USER); in testGetOverlayInfosForTarget()
73 assertTrue(ois.contains(impl.getOverlayInfo(OVERLAY, USER))); in testGetOverlayInfosForTarget()
74 assertTrue(ois.contains(impl.getOverlayInfo(OVERLAY2, USER))); in testGetOverlayInfosForTarget()
76 final List<OverlayInfo> ois2 = impl.getOverlayInfosForTarget(TARGET, USER2); in testGetOverlayInfosForTarget()
78 assertTrue(ois2.contains(impl.getOverlayInfo(OVERLAY3, USER2))); in testGetOverlayInfosForTarget()
80 final List<OverlayInfo> ois3 = impl.getOverlayInfosForTarget(TARGET, USER3); in testGetOverlayInfosForTarget()
84 final List<OverlayInfo> ois4 = impl.getOverlayInfosForTarget("no.such.overlay", USER); in testGetOverlayInfosForTarget()
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/
DTimestampedScoredNetworkTest.java34 private TimestampedScoredNetwork impl; field in TimestampedScoredNetworkTest
43 impl = new TimestampedScoredNetwork(createTestScoredNetwork("test"), in setUp()
51 impl.update(updated, time); in testUpdate()
53 assertThat(impl.getScore()).isEqualTo(updated); in testUpdate()
54 assertThat(impl.getUpdatedTimestampMillis()).isEqualTo(time); in testUpdate()
60 impl.writeToParcel(parcel, 0); in testParcel()
65 assertThat(fromParcel.getScore()).isEqualTo(impl.getScore()); in testParcel()
66 assertThat(fromParcel.getUpdatedTimestampMillis()).isEqualTo(impl.getUpdatedTimestampMillis()); in testParcel()
/frameworks/av/media/extractors/mpeg2/
DMPEG2TSExtractor.cpp56 const sp<AnotherPacketSource> &impl,
80 const sp<AnotherPacketSource> &impl, in MPEG2TSSource() argument
83 mImpl(impl), in MPEG2TSSource()
310 status_t MPEG2TSExtractor::findIndexOfSource(const sp<AnotherPacketSource> &impl, size_t *index) { in findIndexOfSource() argument
312 if (mSourceImpls[i] == impl) { in findIndexOfSource()
320 void MPEG2TSExtractor::addSource(const sp<AnotherPacketSource> &impl) { in addSource() argument
322 if (findIndexOfSource(impl, &index) != OK) { in addSource()
323 mSourceImpls.push(impl); in addSource()
343 sp<AnotherPacketSource> impl = mParser->getSource(ATSParser::VIDEO); in init() local
345 if (impl != NULL) { in init()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/plugins/
DVersionInfoTest.java53 VersionInfo impl = new VersionInfo().addClass(OverlayImpl.class); in testSingleProvides() local
54 overlay.checkVersion(impl); in testSingleProvides()
60 VersionInfo impl = new VersionInfo().addClass(OverlayImplIncorrectVersion.class); in testIncorrectVersion() local
62 overlay.checkVersion(impl); in testIncorrectVersion()
68 VersionInfo impl = new VersionInfo(); in testMissingRequired() local
70 overlay.checkVersion(impl); in testMissingRequired()
76 VersionInfo impl = new VersionInfo().addClass(QSImplNoDeps.class); in testMissingDependencies() local
78 overlay.checkVersion(impl); in testMissingDependencies()
84 VersionInfo impl = new VersionInfo().addClass(QSImpl.class); in testHasDependencies() local
85 overlay.checkVersion(impl); in testHasDependencies()
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableScheduler.h34 mLayerHistory = std::make_unique<scheduler::impl::LayerHistoryV2>(configs);
36 mLayerHistory = std::make_unique<scheduler::impl::LayerHistory>();
46 mLayerHistory = std::make_unique<scheduler::impl::LayerHistoryV2>(configs); in TestableScheduler()
48 mLayerHistory = std::make_unique<scheduler::impl::LayerHistory>(); in TestableScheduler()
59 return static_cast<scheduler::impl::LayerHistoryV2*>(mLayerHistory.get()) in layerHistorySize()
62 return static_cast<scheduler::impl::LayerHistory*>(mLayerHistory.get()) in layerHistorySize()
76 return static_cast<scheduler::impl::LayerHistory*>(mLayerHistory.get()); in mutableLayerHistory()
79 return static_cast<scheduler::impl::LayerHistoryV2*>(mLayerHistory.get()); in mutableLayerHistoryV2()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/people/
DPeopleHubModule.kt27 impl: PeopleHubViewAdapterImpl
31 abstract fun peopleHubDataSource(impl: PeopleHubDataSourceImpl): DataSource<PeopleHubModel>
35 impl: PeopleHubSettingChangeDataSourceImpl
40 impl: PeopleHubViewModelFactoryDataSourceImpl
45 impl: PeopleNotificationIdentifierImpl
/frameworks/native/libs/nativedisplay/
DADisplay.cpp29 namespace android::display::impl { namespace
114 using namespace android::display::impl;
122 DisplayImpl* impl = reinterpret_cast<DisplayImpl*>(display); in getToken() local
123 return SurfaceComposerClient::getPhysicalDisplayToken(impl->id); in getToken()
231 DisplayImpl* impl = reinterpret_cast<DisplayImpl*>(display); in ADisplay_getMaxSupportedFps() local
233 for (int i = 0; i < impl->numConfigs; ++i) { in ADisplay_getMaxSupportedFps()
234 maxFps = std::max(maxFps, impl->configs[i].fps); in ADisplay_getMaxSupportedFps()
251 DisplayImpl* impl = reinterpret_cast<DisplayImpl*>(display); in ADisplay_getPreferredWideColorFormat() local
252 *outDataspace = impl->wcgDataspace; in ADisplay_getPreferredWideColorFormat()
253 *outPixelFormat = impl->wcgPixelFormat; in ADisplay_getPreferredWideColorFormat()
[all …]
/frameworks/av/camera/ndk/
DAndroid.bp42 "impl/ACameraManager.cpp",
43 "impl/ACameraMetadata.cpp",
44 "impl/ACameraDevice.cpp",
45 "impl/ACameraCaptureSession.cpp",
85 "ndk_vendor/impl/ACameraDevice.cpp",
86 "ndk_vendor/impl/ACameraManager.cpp",
87 "ndk_vendor/impl/utils.cpp",
88 "impl/ACameraMetadata.cpp",
89 "impl/ACameraCaptureSession.cpp",
104 "impl",
/frameworks/native/services/surfaceflinger/
DSurfaceFlingerDefaultFactory.cpp51 return std::make_unique<android::impl::DispSync>(name, hasSyncFramework); in createDispSync()
56 return std::make_unique<android::impl::EventControlThread>(std::move(setVSyncEnabled)); in createEventControlThread()
60 return std::make_unique<android::impl::HWComposer>(serviceName); in createHWComposer()
64 return std::make_unique<android::impl::MessageQueue>(); in createMessageQueue()
70 return std::make_unique<scheduler::impl::PhaseDurations>(refreshRateConfigs); in createPhaseConfiguration()
72 return std::make_unique<scheduler::impl::PhaseOffsets>(refreshRateConfigs); in createPhaseConfiguration()
86 return std::make_unique<android::impl::SurfaceInterceptor>(flinger); in createSurfaceInterceptor()
124 return surfaceflinger::impl::createNativeWindowSurface(producer); in createNativeWindowSurface()
128 return compositionengine::impl::createCompositionEngine(); in createCompositionEngine()
/frameworks/base/core/java/android/app/
DResourcesManager.java204 ResourcesImpl impl = mResourceImpls.removeAt(i).get(); in invalidatePath() local
205 if (impl != null) { in invalidatePath()
206 impl.flushLayoutCache(); in invalidatePath()
548 final ResourcesImpl impl = new ResourcesImpl(assets, dm, config, daj); in createResourcesImpl() local
551 Slog.d(TAG, "- creating impl=" + impl + " with key: " + key); in createResourcesImpl()
553 return impl; in createResourcesImpl()
564 ResourcesImpl impl = weakImplRef != null ? weakImplRef.get() : null; in findResourcesImplForKeyLocked() local
565 if (impl != null && impl.getAssets().isUpToDate()) { in findResourcesImplForKeyLocked()
566 return impl; in findResourcesImplForKeyLocked()
579 ResourcesImpl impl = findResourcesImplForKeyLocked(key); in findOrCreateResourcesImplForKeyLocked() local
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DRecentsModule.java46 RecentsImplementation impl = componentHelper.resolveRecents(clsName); in provideRecentsImpl() local
48 if (impl == null) { in provideRecentsImpl()
56 impl = (RecentsImplementation) cls.newInstance(); in provideRecentsImpl()
62 return impl; in provideRecentsImpl()
70 OverviewProxyRecentsImpl impl); in bindOverviewProxyRecentsImpl() argument
/frameworks/native/services/vr/hardware_composer/
DAndroid.bp5 "impl/vr_hwc.cpp",
6 "impl/vr_composer_client.cpp",
73 name: "libvr_hwc-impl",
105 "libvr_hwc-impl",
106 // NOTE: This needs to be included after the *-impl lib otherwise the
138 "libvr_hwc-impl",
139 // NOTE: This needs to be included after the *-impl lib otherwise the
/frameworks/base/core/java/android/content/res/
DResources.java277 final ResourcesImpl impl = mResourcesImpl; in onLoadersChanged() local
278 impl.clearAllCaches(); in onLoadersChanged()
279 impl.getAssets().setLoaders(newLoaders); in onLoadersChanged()
284 final ResourcesImpl impl = mResourcesImpl; in onLoaderUpdated() local
285 final AssetManager assets = impl.getAssets(); in onLoaderUpdated()
287 impl.clearAllCaches(); in onLoaderUpdated()
348 public void setImpl(ResourcesImpl impl) { in setImpl() argument
349 if (impl == mResourcesImpl) { in setImpl()
353 mBaseApkAssetsSize = ArrayUtils.size(impl.getAssets().getApkAssets()); in setImpl()
354 mResourcesImpl = impl; in setImpl()
[all …]
/frameworks/native/libs/vr/libvr_manager/
Dvr_manager.cpp31 explicit BpVrStateCallbacks(const sp<IBinder>& impl) in BpVrStateCallbacks() argument
32 : BpInterface<IVrStateCallbacks>(impl) {} in BpVrStateCallbacks()
62 explicit BpPersistentVrStateCallbacks(const sp<IBinder>& impl) in BpPersistentVrStateCallbacks() argument
63 : BpInterface<IPersistentVrStateCallbacks>(impl) {} in BpPersistentVrStateCallbacks()
94 explicit BpVrManager(const sp<IBinder>& impl) in BpVrManager() argument
95 : BpInterface<IVrManager>(impl) {} in BpVrManager()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DDisplayTest.cpp88 class FullImplDisplay : public impl::Display {
90 using impl::Display::injectOutputLayerForTest;
93 using impl::Display::maybeAllocateDisplayIdForVirtualDisplay;
98 struct PartialMockDisplay : public impl::Display {
124 MOCK_METHOD1(applyChangedTypesToLayers, void(const impl::Display::ChangedTypes&));
125 MOCK_METHOD1(applyDisplayRequests, void(const impl::Display::DisplayRequests&));
126 MOCK_METHOD1(applyLayerRequestsToLayers, void(const impl::Display::LayerRequests&));
129 impl::OutputCompositionState mState;
143 return impl::createDisplayTemplated<Display>(compositionEngine, args); in createDisplay()
236 impl::createDisplay(mCompositionEngine, getDisplayCreationArgsForPhysicalHWCDisplay()); in TEST_F()
[all …]
/frameworks/native/opengl/tools/glgen/stubs/jsr239/
DGLCHeader.cpp189 supportsExtension(JNIEnv *_env, jobject impl, jfieldID fieldId) {
190 if (!_env->GetBooleanField(impl, haveCheckedExtensionsID)) {
191 _env->SetBooleanField(impl, haveCheckedExtensionsID, true);
193 _env->SetBooleanField(impl, have_OES_blend_equation_separateID,
195 _env->SetBooleanField(impl, have_OES_blend_subtractID,
197 _env->SetBooleanField(impl, have_OES_framebuffer_objectID,
199 _env->SetBooleanField(impl, have_OES_texture_cube_mapID,
202 return _env->GetBooleanField(impl, fieldId);
/frameworks/base/services/core/jni/
Dcom_android_server_AlarmManagerService.cpp215 AlarmImpl *impl = reinterpret_cast<AlarmImpl *>(nativeData); in android_server_AlarmManagerService_setKernelTime() local
228 ret = impl->setTime(&tv); in android_server_AlarmManagerService_setKernelTime()
397 AlarmImpl *impl = reinterpret_cast<AlarmImpl *>(nativeData); in android_server_AlarmManagerService_getNextAlarm() local
400 const int result = impl->getTime(type, &spec); in android_server_AlarmManagerService_getNextAlarm()
414 AlarmImpl *impl = reinterpret_cast<AlarmImpl *>(nativeData); in android_server_AlarmManagerService_close() local
415 delete impl; in android_server_AlarmManagerService_close()
420 AlarmImpl *impl = reinterpret_cast<AlarmImpl *>(nativeData); in android_server_AlarmManagerService_set() local
425 const int result = impl->set(type, &ts); in android_server_AlarmManagerService_set()
437 AlarmImpl *impl = reinterpret_cast<AlarmImpl *>(nativeData); in android_server_AlarmManagerService_waitForAlarm() local
442 result = impl->waitForAlarm(); in android_server_AlarmManagerService_waitForAlarm()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/nitz/
DNitzSignalInputFilterPredicateFactoryTest.java63 NitzSignalInputFilterPredicateImpl impl = in testNitzSignalInputFilterPredicateImpl_nullSecondArgumentRejected() local
66 impl.mustProcessNitzSignal(nitzSignal, null); in testNitzSignalInputFilterPredicateImpl_nullSecondArgumentRejected()
77 NitzSignalInputFilterPredicateImpl impl = in testNitzSignalInputFilterPredicateImpl_defaultIsTrue() local
79 assertTrue(impl.mustProcessNitzSignal(null, nitzSignal)); in testNitzSignalInputFilterPredicateImpl_defaultIsTrue()
89 NitzSignalInputFilterPredicateImpl impl = in testNitzSignalInputFilterPredicateImpl_nullIsIgnored() local
91 assertTrue(impl.mustProcessNitzSignal(null, nitzSignal)); in testNitzSignalInputFilterPredicateImpl_nullIsIgnored()
109 NitzSignalInputFilterPredicateImpl impl = in testNitzSignalInputFilterPredicateImpl_trueIsHonored() local
111 assertTrue(impl.mustProcessNitzSignal(null, nitzSignal)); in testNitzSignalInputFilterPredicateImpl_trueIsHonored()
129 NitzSignalInputFilterPredicateImpl impl = in testNitzSignalInputFilterPredicateImpl_falseIsHonored() local
131 assertFalse(impl.mustProcessNitzSignal(null, nitzSignal)); in testNitzSignalInputFilterPredicateImpl_falseIsHonored()
/frameworks/base/config/
Dpreloaded-classes-extra1 android.icu.impl.coll.CollationRoot
2 android.icu.impl.IDNA2003
3 android.icu.impl.number.Parse
/frameworks/av/camera/aidl/android/hardware/camera2/
DICameraDeviceCallbacks.aidl19 import android.hardware.camera2.impl.CameraMetadataNative;
20 import android.hardware.camera2.impl.CaptureResultExtras;
21 import android.hardware.camera2.impl.PhysicalCaptureResultInfo;
/frameworks/av/media/codec2/vndk/
DC2Buffer.cpp209 C2Block1D::C2Block1D(std::shared_ptr<Impl> impl, const _C2LinearRangeAspect &range) in C2Block1D() argument
211 : _C2LinearRangeAspect(impl.get(), range.offset(), range.size()), mImpl(impl) { in C2Block1D()
225 C2ReadView::C2ReadView(std::shared_ptr<Impl> impl, uint32_t offset, uint32_t size) in C2ReadView() argument
226 : _C2LinearCapacityAspect(C2LinearCapacity(impl->size()).range(offset, size).size()), in C2ReadView()
227 mImpl(impl), in C2ReadView()
228 mOffset(C2LinearCapacity(impl->size()).range(offset, size).offset()) { } in C2ReadView()
255 C2WriteView::C2WriteView(std::shared_ptr<Impl> impl) in C2WriteView() argument
259 …2EditableLinearRangeAspect(std::make_unique<C2LinearCapacity>(impl->size()).get()), mImpl(impl) { } in C2WriteView()
273 C2ConstLinearBlock::C2ConstLinearBlock(std::shared_ptr<Impl> impl, const _C2LinearRangeAspect &rang… in C2ConstLinearBlock() argument
274 : C2Block1D(impl, range), mFence(fence) { } in C2ConstLinearBlock()
[all …]
/frameworks/native/libs/binder/ndk/include_ndk/android/
Dbinder_auto_utils.h113 namespace impl {
184 class ScopedAParcel : public impl::ScopedAResource<AParcel*, void, AParcel_delete, nullptr> {
197 class ScopedAStatus : public impl::ScopedAResource<AStatus*, void, AStatus_delete, nullptr> {
266 : public impl::ScopedAResource<AIBinder_DeathRecipient*, void, AIBinder_DeathRecipient_delete,
282 : public impl::ScopedAResource<AIBinder_Weak*, void, AIBinder_Weak_delete, nullptr> {
300 class ScopedFileDescriptor : public impl::ScopedAResource<int, int, close, -1> {

12345678910>>...18