Home
last modified time | relevance | path

Searched refs:parentHandle (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/core/jni/
Dandroid_os_HwParcel.cpp434 size_t parentHandle; in JHwParcel_native_writeString() local
435 status_t err = parcel->writeBuffer(s, sizeof(*s), &parentHandle); in JHwParcel_native_writeString()
439 *s, parcel, parentHandle, 0 /* parentOffset */); in JHwParcel_native_writeString()
472 size_t parentHandle; \
473 status_t err = parcel->writeBuffer(vec, sizeof(*vec), &parentHandle); \
481 parentHandle, \
528 size_t parentHandle; in DEFINE_PARCEL_VECTOR_WRITER() local
529 status_t err = parcel->writeBuffer(vec, sizeof(*vec), &parentHandle); in DEFINE_PARCEL_VECTOR_WRITER()
537 parentHandle, in DEFINE_PARCEL_VECTOR_WRITER()
549 size_t parentHandle; in WriteHidlVector() local
[all …]
Dandroid_os_HwBlob.h71 size_t parentHandle,
92 status_t writeSubBlobsToParcel(hardware::Parcel *parcel, size_t parentHandle) const;
Dandroid_os_HwBlob.cpp201 size_t parentHandle, in writeEmbeddedToParcel() argument
208 err = parcel->writeEmbeddedBuffer(data(), size(), &handle, parentHandle, parentOffset); in writeEmbeddedToParcel()
213 static_cast<const native_handle *>(data()), parentHandle, parentOffset); in writeEmbeddedToParcel()
229 size_t parentHandle) const { in writeSubBlobsToParcel()
232 status_t err = info.mBlob->writeEmbeddedToParcel(parcel, parentHandle, info.mOffset); in writeSubBlobsToParcel()
/frameworks/native/services/surfaceflinger/
DClient.cpp76 uint32_t flags, const sp<IBinder>& parentHandle, in createSurface() argument
81 parentHandle); in createSurface()
DSurfaceFlinger.h426 const sp<IBinder>& parentHandle, sp<GraphicBuffer>* outBuffer,
606 const sp<IBinder>& parentHandle, const sp<Layer>& parentLayer = nullptr);
636 const sp<IBinder>& parentHandle, const sp<Layer>& parentLayer,
DSurfaceFlinger.cpp3583 const sp<IBinder>& parentHandle, in addClientLayer() argument
3589 if (parentHandle != nullptr) { in addClientLayer()
3590 parent = fromHandle(parentHandle); in addClientLayer()
4250 const sp<IBinder>& parentHandle, in createLayer() argument
4258 ALOG_ASSERT(parentLayer == nullptr || parentHandle == nullptr, in createLayer()
4325 result = addClientLayer(client, *handle, *gbp, layer, parentHandle, parentLayer, in createLayer()
/frameworks/base/core/java/android/os/
DHwParcel.java424 long parentHandle, long offset); in readEmbeddedNativeHandle() argument
623 HidlMemory readEmbeddedHidlMemory(long fieldHandle, long parentHandle, long offset); in readEmbeddedHidlMemory() argument
648 long expectedSize, long parentHandle, long offset, in readEmbeddedBuffer() argument
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DDocumentLoader.java272 int parentHandle = mIdentifier.mObjectHandle; in loadObjectHandles() local
276 parentHandle = MtpManager.OBJECT_HANDLE_ROOT_CHILDREN; in loadObjectHandles()
280 mIdentifier.mDeviceId, mIdentifier.mStorageId, parentHandle); in loadObjectHandles()
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
DMtpDocumentsProviderTest.java701 final int parentHandle = i == 0 ? in testMappingDisconnectedDocuments() local
704 mMtpManager.setObjectHandles(0, 1, parentHandle, new int[] { objectHandle }); in testMappingDisconnectedDocuments()
966 int parentHandle, in setupDocuments() argument
975 mMtpManager.setObjectHandles(deviceId, storageId, parentHandle, handles); in setupDocuments()
986 int parentHandle; field in MtpDocumentsProviderTest.HierarchyDocument
992 doc.parentHandle = objectHandle; in createChildDocument()
1002 .setParent(parentHandle) in toObjectInfo()
DTestMtpManager.java53 void setObjectHandles(int deviceId, int storageId, int parentHandle, int[] objectHandles) { in setObjectHandles() argument
54 mObjectHandles.put(pack(deviceId, storageId, parentHandle), objectHandles); in setObjectHandles()
/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp1358 sp<IBinder> parentHandle; in createSurfaceChecked() local
1362 parentHandle = parent->getHandle(); in createSurfaceChecked()
1365 err = mClient->createSurface(name, w, h, format, flags, parentHandle, std::move(metadata), in createSurfaceChecked()
/frameworks/native/services/surfaceflinger/tests/
DTransaction_test.cpp215 static void captureLayers(std::unique_ptr<ScreenCapture>* sc, sp<IBinder>& parentHandle, in captureLayers() argument
221 ASSERT_EQ(NO_ERROR, sf->captureLayers(parentHandle, &outBuffer, crop, frameScale)); in captureLayers()
225 static void captureChildLayers(std::unique_ptr<ScreenCapture>* sc, sp<IBinder>& parentHandle, in captureChildLayers() argument
231 ASSERT_EQ(NO_ERROR, sf->captureLayers(parentHandle, &outBuffer, crop, frameScale, true)); in captureChildLayers()
236 std::unique_ptr<ScreenCapture>* sc, sp<IBinder>& parentHandle, in captureChildLayersExcluding() argument
243 sf->captureLayers(parentHandle, &outBuffer, ui::Dataspace::V0_SRGB, in captureChildLayersExcluding()
1070 sp<IBinder> parentHandle = parent->getHandle(); in TEST_P() local
1071 ScreenCapture::captureLayers(&screenshot, parentHandle, Rect(0, 0, 32, 32)); in TEST_P()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java679 final int parentHandle = parentInfo != null ? parentInfo.id : -1;
680 ks.onUserAdded(userHandle, parentHandle);
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java869 UserHandle parentHandle, boolean inQuietMode) { in broadcastProfileAvailabilityChanges() argument
880 mContext.sendBroadcastAsUser(intent, parentHandle); in broadcastProfileAvailabilityChanges()