/frameworks/av/services/camera/libcameraservice/device2/ |
H A D | Camera2Device.h | 294 status_t pushIntoStream(buffer_handle_t *handle, 320 buffer_handle_t *handle; member in struct:android::Camera2Device::ReprocessStreamAdapter::QueueEntry
|
/frameworks/av/soundtrigger/ |
H A D | SoundTrigger.cpp | 153 sound_model_handle_t *handle) 160 return mISoundTrigger->loadSoundModel(modelMemory, handle); 163 status_t SoundTrigger::unloadSoundModel(sound_model_handle_t handle) argument 169 return mISoundTrigger->unloadSoundModel(handle); 172 status_t SoundTrigger::startRecognition(sound_model_handle_t handle, argument 179 return mISoundTrigger->startRecognition(handle, dataMemory); 182 status_t SoundTrigger::stopRecognition(sound_model_handle_t handle) argument 188 return mISoundTrigger->stopRecognition(handle); 152 loadSoundModel(const sp<IMemory>& modelMemory, sound_model_handle_t *handle) argument
|
/frameworks/base/core/java/com/android/internal/content/ |
H A D | NativeLibraryHelper.java | 65 * A handle to an opened package, consisting of one or more APKs. Used as 145 private static native void nativeClose(long handle); argument 147 private static native long nativeSumNativeBinaries(long handle, String cpuAbi); argument 149 private native static int nativeCopyNativeBinaries(long handle, argument 152 private static long sumNativeBinaries(Handle handle, String abi) { argument 154 for (long apkHandle : handle.apkHandles) { 163 * @param handle APK file to scan for native libraries 168 public static int copyNativeBinaries(Handle handle, File sharedLibraryDir, String abi) { argument 169 for (long apkHandle : handle.apkHandles) { 185 public static int findSupportedAbi(Handle handle, Strin argument 210 nativeFindSupportedAbi(long handle, String[] supportedAbis) argument 275 sumNativeBinariesForSupportedAbi(Handle handle, String[] abiList) argument 284 copyNativeBinariesForSupportedAbi(Handle handle, File libraryRoot, String[] abiList, boolean useIsaSubdir) argument 317 copyNativeBinariesWithOverride(Handle handle, File libraryRoot, String abiOverride) argument 378 sumNativeBinariesWithOverride(Handle handle, String abiOverride) argument 421 hasRenderscriptBitcode(Handle handle) argument [all...] |
H A D | PackageHelper.java | 432 NativeLibraryHelper.Handle handle = null; 434 handle = NativeLibraryHelper.Handle.create(pkg); 435 return calculateInstalledSize(pkg, handle, isForwardLocked, abiOverride); 437 IoUtils.closeQuietly(handle); 441 public static long calculateInstalledSize(PackageLite pkg, NativeLibraryHelper.Handle handle, argument 456 sizeBytes += NativeLibraryHelper.sumNativeBinariesWithOverride(handle, abiOverride);
|
/frameworks/base/core/jni/ |
H A D | android_opengl_EGLExt.cpp | 114 toEGLHandle(JNIEnv *_env, jclass cls, jmethodID con, void * handle) { argument 116 (EGLContext)handle == EGL_NO_CONTEXT) { 121 (EGLDisplay)handle == EGL_NO_DISPLAY) { 126 (EGLSurface)handle == EGL_NO_SURFACE) { 130 return _env->NewObject(cls, con, reinterpret_cast<jlong>(handle));
|
H A D | android_hardware_SensorManager.cpp | 44 jfieldID handle; member in struct:android::SensorOffsets 71 sensorOffsets.handle = _env->GetFieldID(sensorClass, "mHandle", "I"); 106 env->SetIntField(sensor, sensorOffsets.handle, list->getHandle()); 236 static jint nativeEnableSensor(JNIEnv *env, jclass clazz, jlong eventQ, jint handle, jint rate_us, argument 239 return receiver->getSensorEventQueue()->enableSensor(handle, rate_us, maxBatchReportLatency, 243 static jint nativeDisableSensor(JNIEnv *env, jclass clazz, jlong eventQ, jint handle) { argument 245 return receiver->getSensorEventQueue()->disableSensor(handle); 248 static void nativeDestroySensorEventQueue(JNIEnv *env, jclass clazz, jlong eventQ, jint handle) { argument
|
/frameworks/base/media/jni/ |
H A D | android_mtp_MtpServer.cpp | 97 android_mtp_MtpServer_send_object_added(JNIEnv *env, jobject thiz, jint handle) argument 103 server->sendObjectAdded(handle); 109 android_mtp_MtpServer_send_object_removed(JNIEnv *env, jobject thiz, jint handle) argument 115 server->sendObjectRemoved(handle);
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_input_InputWindowHandle.cpp | 178 NativeInputWindowHandle* handle; local 180 handle = reinterpret_cast<NativeInputWindowHandle*>(ptr); 189 handle = new NativeInputWindowHandle(inputApplicationHandle, objWeak); 190 handle->incStrong((void*)android_server_InputWindowHandle_getHandle); 192 reinterpret_cast<jlong>(handle)); 194 return handle; 207 NativeInputWindowHandle* handle = reinterpret_cast<NativeInputWindowHandle*>(ptr); local 208 handle->decStrong((void*)android_server_InputWindowHandle_getHandle);
|
/frameworks/native/cmds/servicemanager/ |
H A D | service_manager.c | 131 uint32_t handle; member in struct:svcinfo 158 if (si->handle) { 159 binder_release(bs, si->handle); 160 si->handle = 0; 180 //ALOGI("check_service('%s') handle = %x\n", str8(s, len), si ? si->handle : 0); 181 if (si && si->handle) { 190 return si->handle; 198 uint32_t handle, uid_t uid, int allow_isolated, 203 //ALOGI("add_service('%s',%x,%s) uid=%d\n", str8(s, len), handle, 196 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 254 uint32_t handle; local [all...] |
H A D | binder.c | 310 data.payload.handle = target; 333 writebuf.txn.target.handle = target; 502 void bio_put_ref(struct binder_io *bio, uint32_t handle) argument 506 if (handle) 516 obj->handle = handle; 633 return obj->handle;
|
/frameworks/native/libs/binder/ |
H A D | BpBinder.cpp | 89 BpBinder::BpBinder(int32_t handle) argument 90 : mHandle(handle) 95 ALOGV("Creating BpBinder %p handle %d\n", this, mHandle); 98 IPCThreadState::self()->incWeakHandle(handle); 193 ALOGV("Requesting death notification: %p handle %d\n", this, mHandle); 229 ALOGV("Clearing death notification: %p handle %d\n", this, mHandle); 245 ALOGV("Sending obituary for proxy %p handle %d, mObitsSent=%s\n", 254 ALOGV("Clearing sent death notification: %p handle %d\n", this, mHandle); 314 ALOGV("Destroying BpBinder %p handle %d\n", this, mHandle); 341 ALOGV("onFirstRef BpBinder %p handle [all...] |
H A D | ProcessState.cpp | 165 ProcessState::handle_entry* ProcessState::lookupHandleLocked(int32_t handle) argument 168 if (N <= (size_t)handle) { 172 status_t err = mHandleToObject.insertAt(e, N, handle+1-N); 175 return &mHandleToObject.editItemAt(handle); 178 sp<IBinder> ProcessState::getStrongProxyForHandle(int32_t handle) argument 184 handle_entry* e = lookupHandleLocked(handle); 192 if (handle == 0) { 208 // stop special casing handle 0 for context manager and add 209 // a driver API to get a handle to the context manager with 219 b = new BpBinder(handle); 235 getWeakProxyForHandle(int32_t handle) argument 266 expungeHandle(int32_t handle, IBinder* binder) argument [all...] |
/frameworks/native/libs/gui/ |
H A D | SurfaceControl.cpp | 49 const sp<IBinder>& handle, 51 : mClient(client), mHandle(handle), mGraphicBufferProducer(gbp) 165 ALOGE("invalid handle (%p) or client (%p)", 47 SurfaceControl( const sp<SurfaceComposerClient>& client, const sp<IBinder>& handle, const sp<IGraphicBufferProducer>& gbp) argument
|
/frameworks/native/libs/ui/ |
H A D | FramebufferNativeWindow.cpp | 127 GRALLOC_USAGE_HW_FB, &buffers[i]->handle, &buffers[i]->stride); 168 grDev->free(grDev, buffers[i]->handle); 280 buffer_handle_t handle = static_cast<NativeBuffer*>(buffer)->handle; local 286 int res = fb->post(fb, handle);
|
/frameworks/opt/net/wifi/service/lib/ |
H A D | wifi_hal.cpp | 4 wifi_error wifi_initialize(wifi_handle *handle) { argument 8 void wifi_cleanup(wifi_handle handle, wifi_cleaned_up_handler handler) { argument 11 void wifi_event_loop(wifi_handle handle) { argument 19 wifi_error wifi_get_supported_feature_set(wifi_interface_handle handle, feature_set *set) { argument 23 wifi_error wifi_get_concurrency_matrix(wifi_interface_handle handle, int max_size, argument 28 wifi_error wifi_set_scanning_mac_oui(wifi_interface_handle handle, unsigned char *oui) { argument 33 wifi_error wifi_get_supported_channels(wifi_handle handle, int *size, wifi_channel *list) { argument 38 wifi_error wifi_is_epr_supported(wifi_handle handle) { argument 43 wifi_error wifi_get_ifaces(wifi_handle handle, int *num_ifaces, wifi_interface_handle **ifaces) { argument 97 wifi_error wifi_get_gscan_capabilities(wifi_interface_handle handle, argument 116 wifi_get_valid_channels(wifi_interface_handle handle, int band, int max_channels, wifi_channel *channels, int *num_channels) argument [all...] |
/frameworks/av/media/libeffects/testlibs/ |
H A D | EffectEqualizer.cpp | 166 extern "C" int EffectRelease(effect_handle_t handle) { argument 167 EqualizerContext * pContext = (EqualizerContext *)handle; 169 ALOGV("EffectLibReleaseEffect %p", handle); 349 // pEqualizer - handle to instance data 521 // pEqualizer - handle to instance data
|
/frameworks/av/media/libstagefright/ |
H A D | MediaCodecSource.cpp | 687 native_handle_t* handle = NULL; local
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | Converter.cpp | 690 native_handle_t* handle = NULL; local 725 if (outbuf->meta()->findPointer("handle", (void**)&handle) && 726 handle != NULL) { 730 outbuf->meta()->setPointer("handle", NULL); 740 buffer->meta()->setPointer("handle", handle); 756 if (!handle) { 777 if (!handle) {
|
/frameworks/base/core/java/android/hardware/ |
H A D | SystemSensorManager.java | 76 // ", handle=" + sensor.getHandle()); 227 private static native int nativeEnableSensor(long eventQ, int handle, int rateUs, argument 229 private static native int nativeDisableSensor(long eventQ, int handle); argument 253 int handle = sensor.getHandle(); 254 if (mActiveSensors.get(handle)) return false; 257 mActiveSensors.put(handle, true); 273 int handle = mActiveSensors.keyAt(i); 274 Sensor sensor = sHandleToSensor.get(handle); 277 mActiveSensors.put(handle, false); 288 final int handle 343 dispatchSensorEvent(int handle, float[] values, int accuracy, long timestamp) argument 345 dispatchFlushCompleteEvent(int handle) argument 380 dispatchSensorEvent(int handle, float[] values, int inAccuracy, long timestamp) argument 409 dispatchFlushCompleteEvent(int handle) argument 447 dispatchSensorEvent(int handle, float[] values, int accuracy, long timestamp) argument 472 dispatchFlushCompleteEvent(int handle) argument [all...] |
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | ValidateNotificationPeople.java | 81 // maps raw person handle to resolved person object 225 final String handle = people[personIdx]; 226 if (TextUtils.isEmpty(handle)) continue; 229 final String cacheKey = getCacheKey(context.getUserId(), handle); 232 pendingLookups.add(handle); 254 private String getCacheKey(int userId, String handle) { argument 255 return Integer.toString(userId) + ":" + handle; 425 for (final String handle: mPendingLookups) { 427 final Uri uri = Uri.parse(handle); 429 if (DEBUG) Slog.d(TAG, "checking telephone URI: " + handle); [all...] |
/frameworks/base/telecomm/java/android/telecom/ |
H A D | ParcelableCall.java | 66 Uri handle, 86 mHandle = handle; 145 * The presentation requirements for the handle. See {@link TelecomManager} for valid values. 249 Uri handle = source.readParcelable(classLoader); 273 handle, 58 ParcelableCall( String id, int state, DisconnectCause disconnectCause, List<String> cannedSmsResponses, int capabilities, int properties, long connectTimeMillis, Uri handle, int handlePresentation, String callerDisplayName, int callerDisplayNamePresentation, GatewayInfo gatewayInfo, PhoneAccountHandle accountHandle, IVideoProvider videoCallProvider, String parentCallId, List<String> childCallIds, StatusHints statusHints, int videoState, List<String> conferenceableCallIds, Bundle extras) argument
|
/frameworks/av/drm/common/ |
H A D | IDrmManagerService.cpp | 41 const DecryptHandle* handle, Parcel* data) { 42 data->writeInt32(handle->decryptId); 43 data->writeString8(handle->mimeType); 44 data->writeInt32(handle->decryptApiType); 45 data->writeInt32(handle->status); 47 int size = handle->copyControlVector.size(); 50 data->writeInt32(handle->copyControlVector.keyAt(i)); 51 data->writeInt32(handle->copyControlVector.valueAt(i)); 54 size = handle->extendedData.size(); 57 data->writeString8(handle 40 writeDecryptHandleToParcelData( const DecryptHandle* handle, Parcel* data) argument 68 readDecryptHandleFromParcelData( DecryptHandle* handle, const Parcel& data) argument 101 clearDecryptHandle(DecryptHandle* handle) argument 621 DecryptHandle* handle = NULL; local 646 DecryptHandle* handle = NULL; local 673 DecryptHandle* handle = NULL; local 1113 DecryptHandle handle; local 1133 DecryptHandle handle; local 1311 DecryptHandle* handle local 1331 DecryptHandle* handle = openDecryptSession(uniqueId, uri.string(), mime.string()); local 1355 DecryptHandle* handle = openDecryptSession(uniqueId, buf, mimeType); local 1375 DecryptHandle* handle = new DecryptHandle(); local 1390 DecryptHandle handle; local 1416 DecryptHandle handle; local 1460 DecryptHandle handle; local 1477 DecryptHandle handle; local [all...] |
/frameworks/av/drm/drmserver/ |
H A D | DrmManager.cpp | 411 DecryptHandle* handle = new DecryptHandle(); local 412 if (NULL != handle) { 413 handle->decryptId = mDecryptSessionId + 1; 418 result = rDrmEngine.openDecryptSession(uniqueId, handle, fd, offset, length, mime); 428 delete handle; handle = NULL; 430 return handle; 439 DecryptHandle* handle = new DecryptHandle(); local 440 if (NULL != handle) { 441 handle 468 DecryptHandle* handle = new DecryptHandle(); local [all...] |
/frameworks/av/drm/libdrmframework/ |
H A D | DrmManagerClientImpl.cpp | 270 DecryptHandle* handle = NULL; local 272 handle = getDrmManagerService()->openDecryptSession(uniqueId, uri, mime); 274 return handle;
|
/frameworks/av/media/libeffects/downmix/ |
H A D | EffectDownmix.c | 218 int32_t DownmixLib_Release(effect_handle_t handle) { argument 219 downmix_module_t *pDwmModule = (downmix_module_t *)handle; 221 ALOGV("DownmixLib_Release() %p", handle); 222 if (handle == NULL) { 675 * pDownmixer handle to instance data 729 * pDownmixer handle to instance data
|