/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 150 private static native void nativeClose(long handle); argument 152 private static native long nativeSumNativeBinaries(long handle, String cpuAbi); argument 154 private native static int nativeCopyNativeBinaries(long handle, String sharedLibraryPath, argument 157 private static long sumNativeBinaries(Handle handle, String abi) { argument 159 for (long apkHandle : handle.apkHandles) { 168 * @param handle APK file to scan for native libraries 173 public static int copyNativeBinaries(Handle handle, File sharedLibraryDir, String abi) { argument 174 for (long apkHandle : handle.apkHandles) { 176 handle 191 findSupportedAbi(Handle handle, String[] supportedAbis) argument 216 nativeFindSupportedAbi(long handle, String[] supportedAbis) argument 283 sumNativeBinariesForSupportedAbi(Handle handle, String[] abiList) argument 292 copyNativeBinariesForSupportedAbi(Handle handle, File libraryRoot, String[] abiList, boolean useIsaSubdir) argument 325 copyNativeBinariesWithOverride(Handle handle, File libraryRoot, String abiOverride) argument 386 sumNativeBinariesWithOverride(Handle handle, String abiOverride) argument 432 hasRenderscriptBitcode(Handle handle) argument [all...] |
H A D | PackageHelper.java | 353 // TODO: handle existing apps installed in ASEC; currently assumes 526 NativeLibraryHelper.Handle handle = null; 528 handle = NativeLibraryHelper.Handle.create(pkg); 529 return calculateInstalledSize(pkg, handle, isForwardLocked, abiOverride); 531 IoUtils.closeQuietly(handle); 535 public static long calculateInstalledSize(PackageLite pkg, NativeLibraryHelper.Handle handle, argument 550 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));
|
/frameworks/base/services/core/java/com/android/server/input/ |
H A D | PersistentDataStore.java | 395 public String getKeyboardLayout(InputMethodSubtypeHandle handle) { argument 396 return mKeyboardLayouts.get(handle); 500 InputMethodSubtypeHandle handle = new InputMethodSubtypeHandle( 502 if (mKeyboardLayouts.containsKey(handle)) { 505 + handle); 507 mKeyboardLayouts.put(handle, descriptor); 583 final InputMethodSubtypeHandle handle = mKeyboardLayouts.keyAt(i); 587 serializer.attribute(null, "input-method-id", handle.getInputMethodId()); 589 Integer.toString(handle.getSubtypeId()));
|
/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 | 142 uint32_t handle; member in struct:svcinfo 169 if (si->handle) { 170 binder_release(bs, si->handle); 171 si->handle = 0; 185 if (!si || !si->handle) { 202 return si->handle; 207 uint32_t handle, uid_t uid, int allow_isolated, 212 //ALOGI("add_service('%s',%x,%s) uid=%d\n", str8(s, len), handle, 215 if (!handle || (len == 0) || (len > 127)) 220 str8(s, len), handle, ui 205 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 263 uint32_t handle; local [all...] |
H A D | binder.c | 329 data.payload.handle = target; 352 writebuf.txn.target.handle = target; 521 void bio_put_ref(struct binder_io *bio, uint32_t handle) argument 525 if (handle) 535 obj->handle = handle; 652 return obj->handle;
|
/frameworks/native/include/private/gui/ |
H A D | LayerState.h | 97 sp<IBinder> handle; member in struct:android::layer_state_t
|
/frameworks/native/libs/binder/ |
H A D | BpBinder.cpp | 90 BpBinder::BpBinder(int32_t handle) argument 91 : mHandle(handle) 96 ALOGV("Creating BpBinder %p handle %d\n", this, mHandle); 99 IPCThreadState::self()->incWeakHandle(handle); 194 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 | 166 ProcessState::handle_entry* ProcessState::lookupHandleLocked(int32_t handle) argument 169 if (N <= (size_t)handle) { 173 status_t err = mHandleToObject.insertAt(e, N, handle+1-N); 176 return &mHandleToObject.editItemAt(handle); 179 sp<IBinder> ProcessState::getStrongProxyForHandle(int32_t handle) argument 185 handle_entry* e = lookupHandleLocked(handle); 193 if (handle == 0) { 209 // stop special casing handle 0 for context manager and add 210 // a driver API to get a handle to the context manager with 220 b = new BpBinder(handle); 236 getWeakProxyForHandle(int32_t handle) argument 267 expungeHandle(int32_t handle, IBinder* binder) argument [all...] |
/frameworks/native/libs/gui/ |
H A D | SurfaceControl.cpp | 50 const sp<IBinder>& handle, 52 : mClient(client), mHandle(handle), mGraphicBufferProducer(gbp) 166 status_t SurfaceControl::deferTransactionUntil(sp<IBinder> handle, argument 170 return mClient->deferTransactionUntil(mHandle, handle, frameNumber); 196 ALOGE("invalid handle (%p) or client (%p)", 48 SurfaceControl( const sp<SurfaceComposerClient>& client, const sp<IBinder>& handle, const sp<IGraphicBufferProducer>& gbp) argument
|
/frameworks/native/services/sensorservice/ |
H A D | SensorDevice.cpp | 66 mActivationCount.add(list[i].handle, model); 69 list[i].handle, 0); 75 void SensorDevice::handleDynamicSensorConnection(int handle, bool connected) { argument 78 mActivationCount.add(handle, model); 80 reinterpret_cast<struct sensors_poll_device_t *>(mSensorDevice), handle, 0); local 82 mActivationCount.removeItem(handle); 101 const Info& info = mActivationCount.valueFor(list[i].handle); 103 result.appendFormat("0x%08x) active-count = %zu; ", list[i].handle, 145 void SensorDevice::autoDisable(void *ident, int handle) { argument 146 Info& info( mActivationCount.editValueFor(handle) ); 151 activate(void* ident, int handle, int enabled) argument 230 handle, info.bestBatchParams.batchDelay); local 235 batch(void* ident, int handle, int flags, int64_t samplingPeriodNs, int64_t maxBatchReportLatencyNs) argument 300 setDelay(void* ident, int handle, int64_t samplingPeriodNs) argument 329 flush(void* ident, int handle) argument [all...] |
H A D | SensorEventConnection.cpp | 90 bool SensorService::SensorEventConnection::addSensor(int32_t handle) { argument 92 sp<SensorInterface> si = mService->getSensorInterfaceFromHandle(handle); 95 mSensorInfo.indexOfKey(handle) >= 0) { 98 mSensorInfo.add(handle, FlushInfo()); 102 bool SensorService::SensorEventConnection::removeSensor(int32_t handle) { argument 104 if (mSensorInfo.removeItem(handle) >= 0) { 110 bool SensorService::SensorEventConnection::hasSensor(int32_t handle) const { 112 return mSensorInfo.indexOfKey(handle) >= 0; 123 const int handle = mSensorInfo.keyAt(i); local 124 sp<SensorInterface> si = mService->getSensorInterfaceFromHandle(handle); 136 setFirstFlushPending(int32_t handle, bool value) argument 167 const int handle = mSensorInfo.keyAt(i); local 197 incrementPendingFlushCount(int32_t handle) argument 389 const int handle = mSensorInfo.keyAt(i); local 502 enableDisable( int handle, bool enabled, nsecs_t samplingPeriodNs, nsecs_t maxBatchReportLatencyNs, int reservedFlags) argument 517 setEventRate( int handle, nsecs_t samplingPeriodNs) argument [all...] |
/frameworks/opt/net/wifi/service/jni/ |
H A D | com_android_server_wifi_nan_WifiNanNative.cpp | 215 wifi_interface_handle handle = getIfaceHandle(helper, wifi_native_cls, iface); local 217 ALOGD("android_net_wifi_nan_register_handler handle=%p", handle); 236 return hal_fn.wifi_nan_register_handler(handle, handlers); 245 wifi_interface_handle handle = getIfaceHandle(helper, wifi_native_cls, iface); local 247 ALOGD("android_net_wifi_nan_enable_request handle=%p, id=%d", 248 handle, transaction_id); 260 return hal_fn.wifi_nan_enable_request(transaction_id, handle, &msg); 268 wifi_interface_handle handle = getIfaceHandle(helper, wifi_native_cls, iface); local 270 ALOGD("android_net_wifi_nan_get_capabilities handle 281 wifi_interface_handle handle = getIfaceHandle(helper, wifi_native_cls, iface); local 297 wifi_interface_handle handle = getIfaceHandle(helper, wifi_native_cls, iface); local 365 wifi_interface_handle handle = getIfaceHandle(helper, wifi_native_cls, iface); local 435 wifi_interface_handle handle = getIfaceHandle(helper, wifi_native_cls, iface); local 466 wifi_interface_handle handle = getIfaceHandle(helper, wifi_native_cls, iface); local 484 wifi_interface_handle handle = getIfaceHandle(helper, wifi_native_cls, iface); local [all...] |
/frameworks/webview/chromium/loader/ |
H A D | loader.cpp | 90 void* handle = android_dlopen_ext(lib, RTLD_NOW, &extinfo); local 92 if (handle == NULL) { 128 void* handle = android_dlopen_ext(lib, RTLD_NOW, &extinfo); local 130 if (handle == NULL) { 139 /* JNI wrappers - handle string lifetimes and 32/64 ABI choice */ 210 // return, so no need to handle errors here.
|
/frameworks/av/camera/ |
H A D | Camera.cpp | 235 void Camera::releaseRecordingFrameHandle(native_handle_t* handle) argument 240 c->releaseRecordingFrameHandle(handle); 392 void Camera::recordingFrameHandleCallbackTimestamp(nsecs_t timestamp, native_handle_t* handle) argument 403 proxylistener->recordingFrameHandleCallbackTimestamp(timestamp, handle); 414 listener->postRecordingFrameHandleTimestamp(timestamp, handle); 417 releaseRecordingFrameHandle(handle); 446 void Camera::RecordingProxy::releaseRecordingFrameHandle(native_handle_t* handle) { argument 448 mCamera->releaseRecordingFrameHandle(handle);
|
H A D | ICamera.cpp | 162 void releaseRecordingFrameHandle(native_handle_t *handle) { argument 166 data.writeNativeHandle(handle); 170 // Close the native handle because camera received a dup copy. 171 native_handle_close(handle); 172 native_handle_delete(handle); 377 // releaseRecordingFrameHandle will be responsble to close the native handle.
|
/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/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); 739 buffer->meta()->setPointer("handle", handle); 755 if (!handle) { 776 if (!handle) {
|
/frameworks/base/media/java/android/mtp/ |
H A D | MtpDevice.java | 156 * @param objectHandle handle of the object to read 171 * @param objectHandle handle of the object to read 193 * @param objectHandle handle of the object to read 212 * @param objectHandle handle of the object to read 232 * @param objectHandle the handle of the object 244 * @param objectHandle handle of the object to delete 252 * Retrieves the object handle for the parent of an object on the device. 254 * @param objectHandle handle of the object to query 255 * @return the parent's handle, or zero if it is in the root of the storage 264 * @param objectHandle handle o 367 getObjectSizeLong(int handle, int format) argument 395 native_reap_event_request(int handle) argument 396 native_discard_event_request(int handle) argument 397 native_get_object_size_long(int handle, int format) argument [all...] |
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | ValidateNotificationPeople.java | 84 // maps raw person handle to resolved person object 238 final String handle = people[personIdx]; 239 if (TextUtils.isEmpty(handle)) continue; 242 final String cacheKey = getCacheKey(context.getUserId(), handle); 245 pendingLookups.add(handle); 270 private String getCacheKey(int userId, String handle) { argument 271 return Integer.toString(userId) + ":" + handle; 443 for (final String handle: mPendingLookups) { 445 final Uri uri = Uri.parse(handle); 447 if (DEBUG) Slog.d(TAG, "checking telephone URI: " + handle); [all...] |
/frameworks/base/telecomm/java/android/telecom/ |
H A D | ParcelableCall.java | 68 Uri handle, 90 mHandle = handle; 151 * The presentation requirements for the handle. See {@link TelecomManager} for valid values. 277 Uri handle = source.readParcelable(classLoader); 303 handle, 60 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, boolean isVideoCallProviderChanged, IVideoProvider videoCallProvider, String parentCallId, List<String> childCallIds, StatusHints statusHints, int videoState, List<String> conferenceableCallIds, Bundle intentExtras, Bundle extras) argument
|
/frameworks/native/include/android/ |
H A D | sensor.h | 212 int32_t handle; member in struct:ADynamicSensorEvent
|
/frameworks/av/drm/common/ |
H A D | IDrmManagerService.cpp | 42 const DecryptHandle* handle, Parcel* data) { 43 data->writeInt32(handle->decryptId); 44 data->writeString8(handle->mimeType); 45 data->writeInt32(handle->decryptApiType); 46 data->writeInt32(handle->status); 48 int size = handle->copyControlVector.size(); 51 data->writeInt32(handle->copyControlVector.keyAt(i)); 52 data->writeInt32(handle->copyControlVector.valueAt(i)); 55 size = handle->extendedData.size(); 58 data->writeString8(handle 41 writeDecryptHandleToParcelData( const DecryptHandle* handle, Parcel* data) argument 69 readDecryptHandleFromParcelData( DecryptHandle* handle, const Parcel& data) argument 102 clearDecryptHandle(DecryptHandle* handle) argument 624 DecryptHandle* handle = NULL; local 649 DecryptHandle* handle = NULL; local 676 DecryptHandle* handle = NULL; local 1131 DecryptHandle handle; local 1151 DecryptHandle handle; local 1332 DecryptHandle* handle local 1352 DecryptHandle* handle = openDecryptSession(uniqueId, uri.string(), mime.string()); local 1376 DecryptHandle* handle = openDecryptSession(uniqueId, buf, mimeType); local 1396 DecryptHandle* handle = new DecryptHandle(); local 1411 DecryptHandle handle; local 1442 DecryptHandle handle; local 1498 DecryptHandle handle; local 1515 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...] |