/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 | 153 Status<FileReference> PushFileHandle(const LocalHandle& handle) override { 154 return handle.Get(); 157 Status<FileReference> PushFileHandle(const BorrowedHandle& handle) override { 158 return handle.Get(); 161 Status<FileReference> PushFileHandle(const RemoteHandle& handle) override { 162 return handle.Get(); 166 const LocalChannelHandle& handle) override { 167 return handle.value(); 171 const BorrowedChannelHandle& handle) override { 172 return handle [all...] |
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/media/libaaudio/src/utility/ |
H A D | HandleTracker.h | 24 typedef int32_t handle_tracker_type_t; // what kind of handle 34 * Represent Objects using an integer handle that can be used with Java. 56 * Store a pointer and return a handle that can be used to retrieve the pointer. 61 * @param address pointer to be converted to a handle 62 * @return a valid handle or a negative error 67 * Get the original pointer associated with the handle. 68 * The handle will be validated to prevent stale handles from being reused. 73 * @param handle to be converted to a pointer 74 * @return address associated with handle or nullptr 76 handle_tracker_address_t get(handle_tracker_type_t expectedType, aaudio_handle_t handle) cons [all...] |
/frameworks/native/libs/ui/ |
H A D | GraphicBuffer.cpp | 56 handle = NULL; 86 GraphicBuffer::GraphicBuffer(const native_handle_t* handle, argument 93 mInitCheck = initWithHandle(handle, method, width, height, format, 99 if (handle) { 107 mBufferMapper.freeBuffer(handle); 110 allocator.free(handle); 112 handle = NULL; 137 if (handle && 145 if (handle) { 147 allocator.free(handle); 185 initWithHandle(const native_handle_t* handle, HandleWrapMethod method, uint32_t width, uint32_t height, PixelFormat format, uint32_t layerCount, uint64_t usage, uint32_t stride) argument 217 ANativeWindowBuffer::handle = handle; member in class:android::ANativeWindowBuffer [all...] |
/frameworks/base/core/java/com/android/internal/content/ |
H A D | NativeLibraryHelper.java | 66 * A handle to an opened package, consisting of one or more APKs. Used as 155 private static native void nativeClose(long handle); argument 157 private static native long nativeSumNativeBinaries(long handle, String cpuAbi, argument 160 private native static int nativeCopyNativeBinaries(long handle, String sharedLibraryPath, argument 164 private static long sumNativeBinaries(Handle handle, String abi) { argument 166 for (long apkHandle : handle.apkHandles) { 167 sum += nativeSumNativeBinaries(apkHandle, abi, handle.debuggable); 175 * @param handle APK file to scan for native libraries 180 public static int copyNativeBinaries(Handle handle, File sharedLibraryDir, String abi) { argument 181 for (long apkHandle : handle 198 findSupportedAbi(Handle handle, String[] supportedAbis) argument 223 nativeFindSupportedAbi(long handle, String[] supportedAbis, boolean debuggable) argument 291 sumNativeBinariesForSupportedAbi(Handle handle, String[] abiList) argument 300 copyNativeBinariesForSupportedAbi(Handle handle, File libraryRoot, String[] abiList, boolean useIsaSubdir) argument 333 copyNativeBinariesWithOverride(Handle handle, File libraryRoot, String abiOverride) argument 394 sumNativeBinariesWithOverride(Handle handle, String abiOverride) argument 440 hasRenderscriptBitcode(Handle handle) 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/media/libaudiohal/ |
H A D | EffectsFactoryHalLocal.cpp | 51 effect_handle_t handle; local 52 int result = EffectCreate(pEffectUuid, sessionId, ioId, &handle); 54 *effect = new EffectHalLocal(handle);
|
/frameworks/native/libs/sensor/ |
H A D | ISensorEventConnection.cpp | 60 virtual status_t enableDisable(int handle, bool enabled, nsecs_t samplingPeriodNs, argument 65 data.writeInt32(handle); 74 virtual status_t setEventRate(int handle, nsecs_t ns) argument 78 data.writeInt32(handle); 91 virtual int32_t configureChannel(int32_t handle, int32_t rateLevel) { argument 94 data.writeInt32(handle); 121 int handle = data.readInt32(); local 126 status_t result = enableDisable(handle, enabled, samplingPeriodNs, 133 int handle = data.readInt32(); local 135 status_t result = setEventRate(handle, n 147 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/native/cmds/servicemanager/ |
H A D | service_manager.c | 139 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; 204 uint32_t handle, uid_t uid, int allow_isolated, 209 //ALOGI("add_service('%s',%x,%s) uid=%d\n", str8(s, len), handle, 212 if (!handle || (len == 0) || (len > 127)) 217 str8(s, len), handle, ui 202 do_add_service(struct binder_state *bs, const uint16_t *s, size_t len, uint32_t handle, uid_t uid, int allow_isolated, pid_t spid) argument 260 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 | 77 void Client::attachLayer(const sp<IBinder>& handle, const sp<Layer>& layer) argument 80 mLayers.add(handle, layer); 95 sp<Layer> Client::getLayerUser(const sp<IBinder>& handle) const 99 wp<Layer> layer(mLayers.valueFor(handle)); 102 ALOGE_IF(lbc==0, "getLayerUser(name=%p) is dead", handle.get()); 138 sp<IBinder>* handle, 165 sp<IBinder>* handle; member in class:android::MessageCreateLayer 179 sp<IBinder>* handle, uint32_t windowType, uint32_t ownerUid, 183 handle(handle), gb 134 createSurface( const String8& name, uint32_t w, uint32_t h, PixelFormat format, uint32_t flags, const sp<IBinder>& parentHandle, uint32_t windowType, uint32_t ownerUid, sp<IBinder>* handle, sp<IGraphicBufferProducer>* gbp) argument 176 MessageCreateLayer(SurfaceFlinger* flinger, const String8& name, Client* client, uint32_t w, uint32_t h, PixelFormat format, uint32_t flags, sp<IBinder>* handle, uint32_t windowType, uint32_t ownerUid, sp<IGraphicBufferProducer>* gbp, sp<Layer>* parent) argument 202 destroySurface(const sp<IBinder>& handle) argument 215 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 uint32_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/private/uds/ |
H A D | channel_manager.h | 25 ChannelData* GetChannelData(int32_t handle); 30 void CloseHandle(int32_t handle) override;
|
/frameworks/native/services/sensorservice/ |
H A D | SensorEventConnection.h | 56 bool hasSensor(int32_t handle) const; 59 bool addSensor(int32_t handle); 60 bool removeSensor(int32_t handle); 61 void setFirstFlushPending(int32_t handle, bool value); 73 virtual status_t enableDisable(int handle, bool enabled, nsecs_t samplingPeriodNs, 75 virtual status_t setEventRate(int handle, nsecs_t samplingPeriodNs); 77 virtual int32_t configureChannel(int handle, int rateLevel); 112 // Increment mPendingFlushEventsToSend for the given sensor handle. 113 void incrementPendingFlushCount(int32_t handle); 155 // 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);
|
H A D | SensorService.cpp | 282 int handle = s->getSensor().getHandle(); local 284 if (mSensors.add(handle, s, isDebug, isVirtual)){ 285 mRecentEvent.emplace(handle, new RecentEventLogger(type)); 296 bool SensorService::unregisterDynamicSensorLocked(int handle) { argument 297 bool ret = mSensors.remove(handle); 299 const auto i = mRecentEvent.find(handle); 426 int handle = mActiveSensors.keyAt(i); local 427 result.appendFormat("%s (handle=0x%08x, connections=%zu)\n", 428 getSensorName(handle).string(), 429 handle, 494 int handle = buffer[i].sensor; local 637 int handle = mSensorEventBuffer[i].dynamic_sensor_meta.handle; local 661 int handle = mSensorEventBuffer[i].dynamic_sensor_meta.handle; local 798 int handle = event.sensor; local 1133 int handle = mActiveSensors.keyAt(i); local 1183 enable(const sp<SensorEventConnection>& connection, int handle, nsecs_t samplingPeriodNs, nsecs_t maxBatchReportLatencyNs, int reservedFlags, const String16& opPackageName) argument 1310 disable(const sp<SensorEventConnection>& connection, int handle) argument 1329 cleanupWithoutDisable( const sp<SensorEventConnection>& connection, int handle) argument 1335 cleanupWithoutDisableLocked( const sp<SensorEventConnection>& connection, int handle) argument 1358 setEventRate(const sp<SensorEventConnection>& connection, int handle, nsecs_t ns, const String16& opPackageName) argument 1389 const int handle = connection->mSensorInfo.keyAt(i); local [all...] |
/frameworks/base/core/jni/ |
H A D | android_util_jar_StrictJarFile.cpp | 62 ZipArchiveHandle handle; local 63 int32_t error = OpenArchiveFd(fd, nameChars.c_str(), &handle, 66 CloseArchive(handle); 71 return reinterpret_cast<jlong>(handle); 100 IterationHandle* handle = new IterationHandle(); local 104 handle->CookieAddress(), NULL, NULL); 108 handle->CookieAddress(), &entry_name, NULL); 116 return reinterpret_cast<jlong>(handle); 123 IterationHandle* handle = reinterpret_cast<IterationHandle*>(iterationHandle); local 124 const int32_t error = Next(*handle [all...] |
/frameworks/base/core/java/android/service/trust/ |
H A D | TrustAgentService.java | 219 long handle = data.getLong(EXTRA_TOKEN_HANDLE); 221 onEscrowTokenAdded(token, handle, user); 226 long handle = data.getLong(EXTRA_TOKEN_HANDLE); 228 onEscrowTokenStateReceived(handle, tokenState); 233 long handle = data.getLong(EXTRA_TOKEN_HANDLE); 235 onEscrowTokenRemoved(handle, success); 310 * @param handle the handle to the corresponding internal synthetic password. A user is unlocked 311 * by presenting both handle and escrow token. 315 public void onEscrowTokenAdded(byte[] token, long handle, UserHandl argument 325 onEscrowTokenStateReceived(long handle, @TokenState int tokenState) argument 335 onEscrowTokenRemoved(long handle, boolean successful) argument 501 isEscrowTokenActive(long handle, UserHandle user) argument 524 removeEscrowToken(long handle, UserHandle user) argument 546 unlockUserWithToken(long handle, byte[] token, UserHandle user) argument 625 onEscrowTokenAdded(byte[] token, long handle, UserHandle user) argument 633 onTokenStateReceived(long handle, int tokenState) argument 640 onEscrowTokenRemoved(long handle, boolean successful) argument [all...] |
/frameworks/av/include/soundtrigger/ |
H A D | SoundTrigger.h | 49 sound_model_handle_t *handle); 51 status_t unloadSoundModel(sound_model_handle_t handle); 53 status_t startRecognition(sound_model_handle_t handle, const sp<IMemory>& dataMemory); 54 status_t stopRecognition(sound_model_handle_t handle);
|