Home
last modified time | relevance | path

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

12345678910>>...17

/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/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/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/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/
DSurfaceFlingerFactory.cpp53 auto primaryDispSync = std::make_unique<android::impl::DispSync>(name); in createSurfaceFlinger()
60 return std::make_unique<android::impl::EventControlThread>(setVSyncEnabled); in createSurfaceFlinger()
64 return std::make_unique<android::impl::HWComposer>( in createSurfaceFlinger()
65 std::make_unique<Hwc2::impl::Composer>(serviceName)); in createSurfaceFlinger()
69 return std::make_unique<android::impl::MessageQueue>(); in createSurfaceFlinger()
73 return std::make_unique<scheduler::impl::PhaseOffsets>(); in createSurfaceFlinger()
84 return std::make_unique<android::impl::SurfaceInterceptor>(flinger); in createSurfaceFlinger()
110 return surfaceflinger::impl::createNativeWindowSurface(producer); in createSurfaceFlinger()
114 return compositionengine::impl::createCompositionEngine(); in createSurfaceFlinger()
134 return std::make_shared<android::impl::TimeStats>(); in createSurfaceFlinger()
/frameworks/av/camera/ndk/
DAndroid.bp42 "impl/ACameraManager.cpp",
43 "impl/ACameraMetadata.cpp",
44 "impl/ACameraDevice.cpp",
45 "impl/ACameraCaptureSession.cpp",
82 "ndk_vendor/impl/ACameraDevice.cpp",
83 "ndk_vendor/impl/ACameraManager.cpp",
84 "ndk_vendor/impl/utils.cpp",
85 "impl/ACameraMetadata.cpp",
86 "impl/ACameraCaptureSession.cpp",
101 "impl",
/frameworks/base/core/java/android/app/
DResourcesManager.java530 final ResourcesImpl impl = new ResourcesImpl(assets, dm, config, daj); in createResourcesImpl() local
533 Slog.d(TAG, "- creating impl=" + impl + " with key: " + key); in createResourcesImpl()
535 return impl; in createResourcesImpl()
546 ResourcesImpl impl = weakImplRef != null ? weakImplRef.get() : null; in findResourcesImplForKeyLocked() local
547 if (impl != null && impl.getAssets().isUpToDate()) { in findResourcesImplForKeyLocked()
548 return impl; in findResourcesImplForKeyLocked()
561 ResourcesImpl impl = findResourcesImplForKeyLocked(key); in findOrCreateResourcesImplForKeyLocked() local
562 if (impl == null) { in findOrCreateResourcesImplForKeyLocked()
563 impl = createResourcesImpl(key); in findOrCreateResourcesImplForKeyLocked()
564 if (impl != null) { in findOrCreateResourcesImplForKeyLocked()
[all …]
/frameworks/native/services/vr/hardware_composer/
DAndroid.bp5 "impl/vr_hwc.cpp",
6 "impl/vr_composer_client.cpp",
67 name: "libvr_hwc-impl",
99 "libvr_hwc-impl",
100 // NOTE: This needs to be included after the *-impl lib otherwise the
132 "libvr_hwc-impl",
133 // NOTE: This needs to be included after the *-impl lib otherwise the
/frameworks/base/core/java/android/content/res/
DResources.java281 public void setImpl(ResourcesImpl impl) { in setImpl() argument
282 if (impl == mResourcesImpl) { in setImpl()
286 mResourcesImpl = impl; in setImpl()
385 final ResourcesImpl impl = mResourcesImpl; in getFont() local
386 impl.getValue(id, value, true); in getFont()
387 Typeface typeface = impl.loadFont(this, value, id); in getFont()
642 final ResourcesImpl impl = mResourcesImpl; in obtainTypedArray() local
643 int len = impl.getAssets().getResourceArraySize(id); in obtainTypedArray()
649 array.mLength = impl.getAssets().getResourceArray(id, array.mData); in obtainTypedArray()
674 final ResourcesImpl impl = mResourcesImpl; in getDimension() local
[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/base/services/core/jni/
Dcom_android_server_AlarmManagerService.cpp203 AlarmImpl *impl = reinterpret_cast<AlarmImpl *>(nativeData); in android_server_AlarmManagerService_setKernelTime() local
215 int ret = impl->setTime(&tv); in android_server_AlarmManagerService_setKernelTime()
332 AlarmImpl *impl = reinterpret_cast<AlarmImpl *>(nativeData); in android_server_AlarmManagerService_getNextAlarm() local
335 const int result = impl->getTime(type, &spec); in android_server_AlarmManagerService_getNextAlarm()
349 AlarmImpl *impl = reinterpret_cast<AlarmImpl *>(nativeData); in android_server_AlarmManagerService_close() local
350 delete impl; in android_server_AlarmManagerService_close()
355 AlarmImpl *impl = reinterpret_cast<AlarmImpl *>(nativeData); in android_server_AlarmManagerService_set() local
360 const int result = impl->set(type, &ts); in android_server_AlarmManagerService_set()
372 AlarmImpl *impl = reinterpret_cast<AlarmImpl *>(nativeData); in android_server_AlarmManagerService_waitForAlarm() local
377 result = impl->waitForAlarm(); in android_server_AlarmManagerService_waitForAlarm()
/frameworks/av/media/codec2/vndk/
DC2Buffer.cpp206 C2Block1D::C2Block1D(std::shared_ptr<Impl> impl, const _C2LinearRangeAspect &range) in C2Block1D() argument
208 : _C2LinearRangeAspect(impl.get(), range.offset(), range.size()), mImpl(impl) { in C2Block1D()
222 C2ReadView::C2ReadView(std::shared_ptr<Impl> impl, uint32_t offset, uint32_t size) in C2ReadView() argument
223 : _C2LinearCapacityAspect(C2LinearCapacity(impl->size()).range(offset, size).size()), in C2ReadView()
224 mImpl(impl), in C2ReadView()
225 mOffset(C2LinearCapacity(impl->size()).range(offset, size).offset()) { } in C2ReadView()
252 C2WriteView::C2WriteView(std::shared_ptr<Impl> impl) in C2WriteView() argument
256 …2EditableLinearRangeAspect(std::make_unique<C2LinearCapacity>(impl->size()).get()), mImpl(impl) { } in C2WriteView()
270 C2ConstLinearBlock::C2ConstLinearBlock(std::shared_ptr<Impl> impl, const _C2LinearRangeAspect &rang… in C2ConstLinearBlock() argument
271 : C2Block1D(impl, range), mFence(fence) { } in C2ConstLinearBlock()
[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/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/libs/net/common/hostdevice/com/android/testutils/
DPacketFilter.kt45 private val impl = OffsetFilter(ETHER_TYPE_OFFSET, 0x08, 0x00 /* IPv4 */).and( constant
47 override fun test(t: ByteArray) = impl.test(t) in test()
54 private val impl = IPv4UdpFilter() in test() constant
57 override fun test(t: ByteArray) = impl.test(t) in test()
/frameworks/native/libs/binder/ndk/include_cpp/android/
Dbinder_auto_utils.h113 namespace impl {
184 class ScopedAParcel : public impl::ScopedAResource<AParcel*, void, AParcel_delete, nullptr> {
198 class ScopedAStatus : public impl::ScopedAResource<AStatus*, void, AStatus_delete, nullptr> {
267 : public impl::ScopedAResource<AIBinder_DeathRecipient*, void, AIBinder_DeathRecipient_delete,
284 : public impl::ScopedAResource<AIBinder_Weak*, void, AIBinder_Weak_delete, nullptr> {
303 class ScopedFileDescriptor : public impl::ScopedAResource<int, int, close, -1> {
/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/native/services/surfaceflinger/CompositionEngine/src/
DDisplay.cpp28 namespace android::compositionengine::impl { namespace
37 : compositionengine::impl::Output(compositionEngine), in Display()
114 setDisplayColorProfile(compositionengine::impl::createDisplayColorProfile(std::move(args))); in createDisplayColorProfile()
118 setRenderSurface(compositionengine::impl::createRenderSurface(getCompositionEngine(), *this, in createRenderSurface()
DCompositionEngine.cpp28 namespace impl { namespace
39 return compositionengine::impl::createDisplay(*this, std::move(args)); in createDisplay()
43 return compositionengine::impl::createLayer(*this, std::move(args)); in createLayer()
/frameworks/base/tools/sdkparcelables/src/com/android/sdkparcelables/
DParcelableDetector.kt26 val impl = Impl(ancestors) in ancestorsToParcelables() constant
27 impl.build() in ancestorsToParcelables()
28 return impl.parcelables in ancestorsToParcelables()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogComponent.java95 VolumeDialogImpl impl = new VolumeDialogImpl(mContext); in createDefault() local
96 impl.setStreamImportant(AudioManager.STREAM_SYSTEM, false); in createDefault()
97 impl.setAutomute(true); in createDefault()
98 impl.setSilentMode(false); in createDefault()
99 return impl; in createDefault()
/frameworks/av/media/bufferpool/2.0/
DAccessorImpl.h126 const std::shared_ptr<Accessor::Impl> &impl) in Pending()
131 mImpl(impl) in Pending()
160 const std::shared_ptr<Accessor::Impl> &impl);
240 const std::shared_ptr<Accessor::Impl> &impl);
370 void flush(const std::shared_ptr<Accessor::Impl> &impl);
382 void addAccessor(uint32_t accessorId, const std::weak_ptr<Accessor::Impl> &impl);
/frameworks/av/camera/include/camera/
DCaptureResult.h29 namespace impl {
126 using hardware::camera2::impl::CaptureResultExtras;
127 using hardware::camera2::impl::PhysicalCaptureResultInfo;

12345678910>>...17