/frameworks/native/libs/vr/libpdx/private/pdx/ |
H A D | mock_service_endpoint.h | 30 const LocalChannelHandle& handle)); 33 const BorrowedChannelHandle& handle)); 36 const RemoteChannelHandle& handle)); 45 const LocalHandle& handle)); 48 const BorrowedHandle& handle)); 51 const RemoteHandle& handle)); 54 const LocalChannelHandle& handle)); 57 const BorrowedChannelHandle& handle)); 60 const RemoteChannelHandle& handle));
|
H A D | service_endpoint.h | 90 // Replies to the message with a local channel handle. 92 Message* message, const LocalChannelHandle& handle) = 0; 94 // Replies to the message with a borrowed local channel handle. 96 Message* message, const BorrowedChannelHandle& handle) = 0; 98 // Replies to the message with a remote channel handle. 100 Message* message, const RemoteChannelHandle& handle) = 0; 113 const LocalHandle& handle) = 0; 115 Message* message, const BorrowedHandle& handle) = 0; 117 const RemoteHandle& handle) = 0; 119 Message* message, const LocalChannelHandle& handle) [all...] |
H A D | utility.h | 155 Status<FileReference> PushFileHandle(const LocalHandle& handle) override { 156 return handle.Get(); 159 Status<FileReference> PushFileHandle(const BorrowedHandle& handle) override { 160 return handle.Get(); 163 Status<FileReference> PushFileHandle(const RemoteHandle& handle) override { 164 return handle.Get(); 168 const LocalChannelHandle& handle) override { 169 return handle.value(); 173 const BorrowedChannelHandle& handle) override { 174 return handle [all...] |
H A D | client_channel.h | 55 const LocalHandle& handle) = 0; 57 const BorrowedHandle& handle) = 0; 59 void* transaction_state, const LocalChannelHandle& handle) = 0; 61 void* transaction_state, const BorrowedChannelHandle& handle) = 0; 63 LocalHandle* handle) const = 0; 65 LocalChannelHandle* handle) const = 0;
|
H A D | mock_client_channel.h | 38 const LocalHandle& handle)); 40 const BorrowedHandle& handle)); 43 const LocalChannelHandle& handle)); 46 const BorrowedChannelHandle& handle)); 49 LocalHandle* handle)); 52 LocalChannelHandle* handle));
|
H A D | message_reader.h | 14 virtual bool GetFileHandle(FileReference ref, LocalHandle* handle) = 0; 16 LocalChannelHandle* handle) = 0;
|
H A D | mock_message_reader.h | 12 MOCK_METHOD2(GetFileHandle, bool(FileReference ref, LocalHandle* handle)); 14 bool(ChannelReference ref, LocalChannelHandle* handle));
|
/frameworks/av/services/audiopolicy/tests/ |
H A D | audiopolicymanager_tests.cpp | 53 ALOGE("%s: Module handle %d has not been allocated yet (next is %d)", 69 ALOGE("%s: Module handle %d has not been allocated yet (next is %d)", 78 audio_patch_handle_t* handle, 80 *handle = mNextPatchHandle++; 81 mActivePatches.insert(*handle); 85 status_t releaseAudioPatch(audio_patch_handle_t handle, 87 if (mActivePatches.erase(handle) != 1) { 88 if (handle >= mNextPatchHandle) { 89 ALOGE("%s: Patch handle %d has not been allocated yet (next is %d)", 90 __func__, handle, mNextPatchHandl 137 audio_patch_handle_t handle = AUDIO_PATCH_HANDLE_NONE; local 170 audio_patch_handle_t handle = AUDIO_PATCH_HANDLE_NONE; local [all...] |
/frameworks/base/core/java/com/android/internal/content/ |
H A D | NativeLibraryHelper.java | 67 * A handle to an opened package, consisting of one or more APKs. Used as 168 private static native void nativeClose(long handle); argument 170 private static native long nativeSumNativeBinaries(long handle, String cpuAbi, argument 173 private native static int nativeCopyNativeBinaries(long handle, String sharedLibraryPath, argument 177 private static long sumNativeBinaries(Handle handle, String abi) { argument 179 for (long apkHandle : handle.apkHandles) { 180 sum += nativeSumNativeBinaries(apkHandle, abi, handle.debuggable); 188 * @param handle APK file to scan for native libraries 193 public static int copyNativeBinaries(Handle handle, File sharedLibraryDir, String abi) { argument 194 for (long apkHandle : handle 211 findSupportedAbi(Handle handle, String[] supportedAbis) argument 236 nativeFindSupportedAbi(long handle, String[] supportedAbis, boolean debuggable) argument 307 sumNativeBinariesForSupportedAbi(Handle handle, String[] abiList) argument 316 copyNativeBinariesForSupportedAbi(Handle handle, File libraryRoot, String[] abiList, boolean useIsaSubdir) argument 349 copyNativeBinariesWithOverride(Handle handle, File libraryRoot, String abiOverride) argument 410 sumNativeBinariesWithOverride(Handle handle, String abiOverride) argument 456 hasRenderscriptBitcode(Handle handle) argument [all...] |
/frameworks/native/libs/ui/ |
H A D | GraphicBufferMapper.cpp | 88 void GraphicBufferMapper::getTransportSize(buffer_handle_t handle, argument 91 mMapper->getTransportSize(handle, outTransportNumFds, outTransportNumInts); 94 status_t GraphicBufferMapper::freeBuffer(buffer_handle_t handle) argument 98 mMapper->freeBuffer(handle); 112 status_t GraphicBufferMapper::lock(buffer_handle_t handle, uint32_t usage, argument 115 return lockAsync(handle, usage, bounds, vaddr, -1); 118 status_t GraphicBufferMapper::lockYCbCr(buffer_handle_t handle, uint32_t usage, argument 121 return lockAsyncYCbCr(handle, usage, bounds, ycbcr, -1); 124 status_t GraphicBufferMapper::unlock(buffer_handle_t handle) argument 127 status_t error = unlockAsync(handle, 135 lockAsync(buffer_handle_t handle, uint32_t usage, const Rect& bounds, void** vaddr, int fenceFd) argument 141 lockAsync(buffer_handle_t handle, uint64_t producerUsage, uint64_t consumerUsage, const Rect& bounds, void** vaddr, int fenceFd) argument 158 lockAsyncYCbCr(buffer_handle_t handle, uint32_t usage, const Rect& bounds, android_ycbcr *ycbcr, int fenceFd) argument 178 unlockAsync(buffer_handle_t handle, int *fenceFd) argument [all...] |
/frameworks/av/camera/ |
H A D | ICameraRecordingProxy.cpp | 74 void releaseRecordingFrameHandle(native_handle_t *handle) { argument 78 data.writeNativeHandle(handle); 82 // Close the native handle because camera received a dup copy. 83 native_handle_close(handle); 84 native_handle_delete(handle); 93 for (auto& handle : handles) { 94 data.writeNativeHandle(handle); 98 // Close the native handle because camera received a dup copy. 99 for (auto& handle : handles) { 100 native_handle_close(handle); 155 native_handle_t* handle = data.readNativeHandle(); local [all...] |
/frameworks/av/include/media/ |
H A D | MmapStreamInterface.h | 61 * \param[out] same unique handle as the one used for the first client stream started. 75 audio_port_handle_t *handle); 110 * \param[out] handle unique handle for this instance. Used with stop(). 115 virtual status_t start(const AudioClient& client, audio_port_handle_t *handle) = 0; 121 * \param[in] handle unique handle allocated by start(). 126 virtual status_t stop(audio_port_handle_t handle) = 0;
|
/frameworks/native/libs/sensor/ |
H A D | ISensorEventConnection.cpp | 61 virtual status_t enableDisable(int handle, bool enabled, nsecs_t samplingPeriodNs, argument 66 data.writeInt32(handle); 75 virtual status_t setEventRate(int handle, nsecs_t ns) argument 79 data.writeInt32(handle); 92 virtual int32_t configureChannel(int32_t handle, int32_t rateLevel) { argument 95 data.writeInt32(handle); 133 int handle = data.readInt32(); local 138 status_t result = enableDisable(handle, enabled, samplingPeriodNs, 145 int handle = data.readInt32(); local 147 status_t result = setEventRate(handle, n 159 int handle = data.readInt32(); local [all...] |
/frameworks/native/libs/sensor/include/sensor/ |
H A D | ISensorEventConnection.h | 40 virtual status_t enableDisable(int handle, bool enabled, nsecs_t samplingPeriodNs, 42 virtual status_t setEventRate(int handle, nsecs_t ns) = 0; 44 virtual int32_t configureChannel(int32_t handle, int32_t rateLevel) = 0;
|
/frameworks/base/core/jni/ |
H A D | android_database_SQLiteCommon.cpp | 123 /* throw a SQLiteException with a message appropriate for the error in handle */ 124 void throw_sqlite3_exception(JNIEnv* env, sqlite3* handle) { argument 125 throw_sqlite3_exception(env, handle, NULL); 133 /* throw a SQLiteException with a message appropriate for the error in handle 136 void throw_sqlite3_exception(JNIEnv* env, sqlite3* handle, const char* message) { argument 137 if (handle) { 142 throw_sqlite3_exception(env, sqlite3_extended_errcode(handle), 143 sqlite3_errmsg(handle), message);
|
/frameworks/native/cmds/servicemanager/ |
H A D | service_manager.c | 138 uint32_t handle; member in struct:svcinfo 166 if (si->handle) { 167 binder_release(bs, si->handle); 168 si->handle = 0; 182 if (!si || !si->handle) { 199 return si->handle; 202 int do_add_service(struct binder_state *bs, const uint16_t *s, size_t len, uint32_t handle, argument 206 //ALOGI("add_service('%s',%x,%s) uid=%d\n", str8(s, len), handle, 209 if (!handle || (len == 0) || (len > 127)) 214 str8(s, len), handle, ui 258 uint32_t handle; local [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | Client.h | 48 void attachLayer(const sp<IBinder>& handle, const sp<Layer>& layer); 52 sp<Layer> getLayerUser(const sp<IBinder>& handle) const; 62 sp<IBinder>* handle, 65 virtual status_t destroySurface(const sp<IBinder>& handle); 67 virtual status_t clearLayerFrameStats(const sp<IBinder>& handle) const; 69 virtual status_t getLayerFrameStats(const sp<IBinder>& handle, FrameStats* outStats) const;
|
H A D | Client.cpp | 91 void Client::attachLayer(const sp<IBinder>& handle, const sp<Layer>& layer) argument 94 mLayers.add(handle, layer); 109 sp<Layer> Client::getLayerUser(const sp<IBinder>& handle) const 113 wp<Layer> layer(mLayers.valueFor(handle)); 116 ALOGE_IF(lbc==0, "getLayerUser(name=%p) is dead", handle.get()); 152 sp<IBinder>* handle, 180 sp<IBinder>* handle; member in class:android::MessageCreateLayer 194 sp<IBinder>* handle, int32_t windowType, int32_t ownerUid, 198 handle(handle), gb 148 createSurface( const String8& name, uint32_t w, uint32_t h, PixelFormat format, uint32_t flags, const sp<IBinder>& parentHandle, int32_t windowType, int32_t ownerUid, sp<IBinder>* handle, sp<IGraphicBufferProducer>* gbp) argument 191 MessageCreateLayer(SurfaceFlinger* flinger, const String8& name, Client* client, uint32_t w, uint32_t h, PixelFormat format, uint32_t flags, sp<IBinder>* handle, int32_t windowType, int32_t ownerUid, sp<IGraphicBufferProducer>* gbp, sp<Layer>* parent) argument 217 destroySurface(const sp<IBinder>& handle) argument 230 getLayerFrameStats(const sp<IBinder>& handle, FrameStats* outStats) const argument [all...] |
/frameworks/base/services/core/jni/ |
H A D | com_android_server_input_InputApplicationHandle.cpp | 94 NativeInputApplicationHandle* handle; local 96 handle = reinterpret_cast<NativeInputApplicationHandle*>(ptr); 99 handle = new NativeInputApplicationHandle(objWeak); 100 handle->incStrong((void*)android_server_InputApplicationHandle_getHandle); 102 reinterpret_cast<jlong>(handle)); 104 return handle; 117 NativeInputApplicationHandle* handle = reinterpret_cast<NativeInputApplicationHandle*>(ptr); local 118 handle->decStrong((void*)android_server_InputApplicationHandle_getHandle);
|
/frameworks/native/libs/gui/ |
H A D | ISurfaceComposerClient.cpp | 51 int32_t ownerUid, sp<IBinder>* handle, 57 handle, gbp); 60 status_t destroySurface(const sp<IBinder>& handle) override { 62 handle); 65 status_t clearLayerFrameStats(const sp<IBinder>& handle) const override { 68 handle); 71 status_t getLayerFrameStats(const sp<IBinder>& handle, FrameStats* outStats) const override { 73 &ISurfaceComposerClient::getLayerFrameStats)>(Tag::GET_LAYER_FRAME_STATS, handle,
|
/frameworks/native/libs/vr/libpdx_uds/ |
H A D | client_channel.cpp | 20 bool GetLocalFileHandle(int index, LocalHandle* handle) { argument 22 handle->Reset(index); 24 *handle = std::move(response.file_descriptors[index]); 31 bool GetLocalChannelHandle(int index, LocalChannelHandle* handle) { argument 33 *handle = LocalChannelHandle{nullptr, index}; 36 *handle = ChannelManager::Get().CreateHandle( 46 FileReference PushFileHandle(BorrowedHandle handle) { argument 47 if (!handle) 48 return handle.Get(); 49 request.file_descriptors.push_back(std::move(handle)); 53 PushChannelHandle(BorrowedChannelHandle handle) argument 230 LocalHandle handle; local 250 LocalChannelHandle handle; local 259 PushFileHandle(void* transaction_state, const LocalHandle& handle) argument 265 PushFileHandle(void* transaction_state, const BorrowedHandle& handle) argument 271 PushChannelHandle( void* transaction_state, const LocalChannelHandle& handle) argument 277 PushChannelHandle( void* transaction_state, const BorrowedChannelHandle& handle) argument [all...] |
/frameworks/native/libs/vr/libpdx_uds/private/uds/ |
H A D | channel_manager.h | 23 ChannelEventReceiver* GetChannelData(int32_t handle); 28 void CloseHandle(int32_t handle) override;
|
/frameworks/native/services/sensorservice/ |
H A D | SensorEventConnection.h | 57 bool hasSensor(int32_t handle) const; 60 bool addSensor(int32_t handle); 61 bool removeSensor(int32_t handle); 62 void setFirstFlushPending(int32_t handle, bool value); 76 virtual status_t enableDisable(int handle, bool enabled, nsecs_t samplingPeriodNs, 78 virtual status_t setEventRate(int handle, nsecs_t samplingPeriodNs); 80 virtual int32_t configureChannel(int handle, int rateLevel); 116 // Increment mPendingFlushEventsToSend for the given sensor handle. 117 void incrementPendingFlushCount(int32_t handle); 159 // protected by SensorService::mLock. Key for this vector is the sensor handle [all...] |
H A D | SensorInterface.h | 37 virtual status_t setDelay(void* ident, int handle, int64_t ns) = 0; 38 virtual status_t batch(void* ident, int handle, int /*flags*/, int64_t samplingPeriodNs, 41 virtual status_t flush(void* /*ident*/, int /*handle*/) = 0; 45 virtual void autoDisable(void* /*ident*/, int /*handle*/) = 0; 54 virtual status_t batch(void* ident, int handle, int, int64_t samplingPeriodNs, 57 return setDelay(ident, handle, samplingPeriodNs); 62 virtual status_t flush(void* /*ident*/, int /*handle*/) override { 67 virtual void autoDisable(void* /*ident*/, int /*handle*/) override { } 86 virtual status_t batch(void* ident, int handle, int flags, int64_t samplingPeriodNs, 88 virtual status_t setDelay(void* ident, int handle, int64_ [all...] |
H A D | SensorList.h | 41 bool add(int handle, SensorInterface* si, bool isForDebug = false, bool isVirtual = false); 43 // After a handle is removed, the object that SensorInterface * pointing to may get deleted if 45 bool remove(int handle); 55 String8 getName(int handle) const; 56 sp<SensorInterface> getInterface(int handle) const; 57 bool isNewHandle(int handle) const; 100 T getOne(int handle, const TF& accessor, T def = T()) const; 125 T SensorList::getOne(int handle, const TF& accessor, T def) const { argument 127 auto i = mHandleMap.find(handle);
|