/frameworks/av/services/camera/libcameraservice/api1/ |
H A D | Camera2Client.cpp | 1170 // Right now camera device cannot handle configureStream failure gracefully 1305 void Camera2Client::releaseRecordingFrameHandle(native_handle_t *handle) { argument 1306 (void)handle;
|
/frameworks/base/core/java/android/content/ |
H A D | ContentResolver.java | 1158 // Client can't handle a sub-section of a file, so close what 2840 * @return a handle that can be used to remove the listener at a later time 2862 * @param handle the handle that was returned by {@link #addStatusChangeListener} 2864 public static void removeStatusChangeListener(Object handle) { argument 2865 if (handle == null) { 2866 throw new IllegalArgumentException("you passed in a null handle"); 2869 getContentService().removeStatusChangeListener((ISyncStatusObserver.Stub) handle);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LockPatternUtils.java | 168 public static final String SYNTHETIC_PASSWORD_HANDLE_KEY = "sp-handle"; 1022 * @param userHandle profile user handle. 1571 * @return a unique 64-bit token handle which is needed to refer to this token later. 1582 * @return true if the given handle refers to a valid token previously returned from 1585 public boolean removeEscrowToken(long handle, int userId) { argument 1586 return getLockSettingsInternal().removeEscrowToken(handle, userId); 1595 public boolean isEscrowTokenActive(long handle, int userId) { argument 1596 return getLockSettingsInternal().isEscrowTokenActive(handle, userId);
|
/frameworks/base/core/jni/ |
H A D | android_hardware_SoundTrigger.cpp | 428 i, nModules[i].handle, nModules[i].properties.description, 432 nModules[i].handle, 467 sound_trigger_module_handle_t handle = local 470 sp<SoundTrigger> module = SoundTrigger::attach(handle, callback); 512 sound_model_handle_t handle = 0; local 655 status = module->loadSoundModel(memory, &handle); 656 ALOGV("loadSoundModel status %d handle %d", status, handle); 660 nHandle[0] = (jint)handle;
|
H A D | android_view_SurfaceControl.cpp | 348 sp<IBinder> handle = ibinderForJavaObject(env, relativeTo); local 352 transaction->setRelativeLayer(ctrl, handle, zorder); 798 sp<IBinder> handle = ibinderForJavaObject(env, handleObject); local 802 transaction->deferTransactionUntil(ctrl, handle, frameNumber); 822 sp<IBinder> handle = ibinderForJavaObject(env, newParentObject); local 826 transaction->reparentChildren(ctrl, handle);
|
H A D | android_media_AudioSystem.cpp | 424 // plus 1 integer for the patch handle 689 ALOGV("convertAudioPortConfigToNative handle %d role %d type %d", 762 ALOGV("convertAudioPortConfigFromNative handle %d is a %s", nAudioPortConfig->id, 768 // create dummy port and port config objects with just the correct handle 773 jHandle, // handle 785 ALOGV("convertAudioPortConfigFromNative jAudioPort created for handle %d", 1118 jHandle, nAudioPort->ext.mix.handle, 1283 audio_patch_handle_t handle = (audio_patch_handle_t)0; local 1291 handle = (audio_patch_handle_t)env->GetIntField(jPatchHandle, gAudioHandleFields.mId); 1296 nPatch.id = handle; 1383 audio_patch_handle_t handle = (audio_patch_handle_t)0; local [all...] |
/frameworks/base/media/jni/ |
H A D | android_mtp_MtpDatabase.cpp | 117 virtual void endSendObject(MtpObjectHandle handle, bool succeeded); 120 MtpObjectHandle handle, 138 virtual MtpResponseCode getObjectPropertyValue(MtpObjectHandle handle, 142 virtual MtpResponseCode setObjectPropertyValue(MtpObjectHandle handle, 154 virtual MtpResponseCode getObjectPropertyList(MtpObjectHandle handle, 159 virtual MtpResponseCode getObjectInfo(MtpObjectHandle handle, 162 virtual void* getThumbnail(MtpObjectHandle handle, size_t& outThumbSize); 164 virtual MtpResponseCode getObjectFilePath(MtpObjectHandle handle, 168 virtual MtpResponseCode beginDeleteObject(MtpObjectHandle handle); 169 virtual void endDeleteObject(MtpObjectHandle handle, boo 260 endSendObject(MtpObjectHandle handle, bool succeeded) argument 267 rescanFile(const char* path, MtpObjectHandle handle, MtpObjectFormat format) argument 382 getObjectPropertyValue(MtpObjectHandle handle, MtpObjectProperty property, MtpDataPacket& packet) argument 540 setObjectPropertyValue(MtpObjectHandle handle, MtpObjectProperty property, MtpDataPacket& packet) argument 671 getObjectPropertyList(MtpObjectHandle handle, uint32_t format, uint32_t property, int groupCode, int depth, MtpDataPacket& packet) argument 828 getObjectInfo(MtpObjectHandle handle, MtpObjectInfo& info) argument 926 getThumbnail(MtpObjectHandle handle, size_t& outThumbSize) argument 997 getObjectFilePath(MtpObjectHandle handle, MtpStringBuffer& outFilePath, int64_t& outFileLength, MtpObjectFormat& outFormat) argument 1022 beginDeleteObject(MtpObjectHandle handle) argument 1030 endDeleteObject(MtpObjectHandle handle, bool succeeded) argument 1037 beginMoveObject(MtpObjectHandle handle, MtpObjectHandle newParent, MtpStorageID newStorage) argument 1047 endMoveObject(MtpObjectHandle oldParent, MtpObjectHandle newParent, MtpStorageID oldStorage, MtpStorageID newStorage, MtpObjectHandle handle, bool succeeded) argument 1058 beginCopyObject(MtpObjectHandle handle, MtpObjectHandle newParent, MtpStorageID newStorage) argument 1068 endCopyObject(MtpObjectHandle handle, bool succeeded) argument 1141 getObjectReferences(MtpObjectHandle handle) argument 1159 setObjectReferences(MtpObjectHandle handle, MtpObjectHandleList* references) argument [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
H A D | GLES20Canvas.java | 182 public int handle; field in class:GLES20Canvas.ShaderParameter 199 handle = GLES20.glGetUniformLocation(program, mName); 211 handle = GLES20.glGetAttribLocation(program, mName); 517 GLES20.glUniform4fv(mDrawParameters[INDEX_COLOR].handle, 1, colorArray, 0); 547 GLES20.glVertexAttribPointer(params[INDEX_POSITION].handle, COORDS_PER_VERTEX, 557 int positionHandle = params[INDEX_POSITION].handle; 570 GLES20.glUniformMatrix4fv(params[INDEX_MATRIX].handle, 1, false, mTempMatrix, MATRIX_SIZE); 670 GLES20.glUniformMatrix4fv(params[INDEX_TEXTURE_MATRIX].handle, 1, false, textureMatrix, 0); 709 GLES20.glUniform1i(params[INDEX_TEXTURE_SAMPLER].handle, 0); 711 GLES20.glUniform1f(params[INDEX_ALPHA].handle, getAlph [all...] |
/frameworks/base/services/core/java/com/android/server/locksettings/ |
H A D | SyntheticPasswordManager.java | 67 * The SP has an associated password handle, which binds to the SID for that user. The password 68 * handle is persisted by SyntheticPasswordManager internally. 73 * SP_HANDLE_NAME: GateKeeper password handle of synthetic password. Only available if user 78 * for each SP blob under the user (stored under the corresponding handle): 92 private static final String SP_HANDLE_NAME = "handle"; 209 // For GateKeeper-based credential, this is the password handle returned by GK, 405 for (long handle : mStorage.listSyntheticPasswordHandlesForUser(SP_BLOB_NAME, userId)) { 406 destroyWeaverSlot(handle, userId); 407 destroySPBlobKey(getHandleName(handle)); 411 public int getCredentialType(long handle, in argument 518 loadWeaverSlot(long handle, int userId) argument 534 saveWeaverSlot(int slot, long handle, int userId) argument 541 destroyWeaverSlot(long handle, int userId) argument 683 migrateFrpPasswordLocked(long handle, UserInfo userInfo, int requestedQuality) argument 757 removePendingToken(long handle, int userId) argument 764 activateTokenBasedSyntheticPassword(long handle, AuthenticationToken authToken, int userId) argument 795 createSyntheticPasswordBlob(long handle, byte type, AuthenticationToken authToken, byte[] applicationId, long sid, int userId) argument 818 unwrapPasswordBasedSyntheticPassword(IGateKeeperService gatekeeper, long handle, String credential, int userId, ICheckCredentialProgressCallback progressCallback) argument 898 unwrapTokenBasedSyntheticPassword( IGateKeeperService gatekeeper, long handle, byte[] token, int userId) argument 936 unwrapSyntheticPasswordBlob(long handle, byte type, byte[] applicationId, long sid, int userId) argument 1021 existsHandle(long handle, int userId) argument 1025 destroyTokenBasedSyntheticPassword(long handle, int userId) argument 1030 destroyPasswordBasedSyntheticPassword(long handle, int userId) argument 1036 destroySyntheticPassword(long handle, int userId) argument 1062 createSecdiscardable(long handle, int userId) argument 1068 saveSecdiscardable(long handle, byte[] secdiscardable, int userId) argument 1072 loadSecdiscardable(long handle, int userId) argument 1076 hasState(String stateName, long handle, int userId) argument 1080 loadState(String stateName, long handle, int userId) argument 1084 saveState(String stateName, byte[] data, long handle, int userId) argument 1088 destroyState(String stateName, long handle, int userId) argument 1126 getHandleName(long handle) argument 1147 sidFromPasswordHandle(byte[] handle) argument 1155 nativeSidFromPasswordHandle(byte[] handle) argument [all...] |
H A D | LockSettingsService.java | 607 final long handle = getSyntheticPasswordHandleLocked(userId); 611 getGateKeeperService(), handle, noCredential, userId, null); 1060 long handle = getSyntheticPasswordHandleLocked(userId); 1061 return mSpManager.getCredentialType(handle, userId) == 1074 long handle = getSyntheticPasswordHandleLocked(userId); 1075 return mSpManager.getCredentialType(handle, userId) == 1086 long handle = getSyntheticPasswordHandleLocked(userId); 1087 return mSpManager.getCredentialType(handle, userId) != 2290 long handle = mSpManager.createPasswordBasedSyntheticPassword(getGateKeeperService(), 2294 // Since when initializing SP, we didn't provide an existing password handle 2615 isEscrowTokenActive(long handle, int userId) argument 2621 removeEscrowToken(long handle, int userId) argument 2876 removeEscrowToken(long handle, int userId) argument 2881 isEscrowTokenActive(long handle, int userId) argument [all...] |
/frameworks/base/telecomm/java/android/telecom/ |
H A D | ConnectionService.java | 1935 * not handle the call. 1954 * not handle the call. 2032 * @param phoneAccountHandle The phone account handle for the connection. 2054 * @param phoneAccountHandle The phone account handle for the connection. 2124 * not handle the call. 2213 * of {@link Connection#createFailedConnection(DisconnectCause)} to not handle the call. 2445 private String addExistingConnectionInternal(PhoneAccountHandle handle, Connection connection) { argument 2453 } else if (handle == null) { 2454 // If no phone account handle was provided, we cannot be sure the call ID is unique, 2458 // Phone account handle wa 2466 addConnection(PhoneAccountHandle handle, String callId, Connection connection) argument [all...] |
H A D | Call.java | 612 * @return The handle (e.g., phone number) to which the {@code Call} is currently 620 * @return The presentation requirements for the handle. See 790 Uri handle, 806 mHandle = handle; 865 * You can handle these callbacks by extending the {@link Callback} class and overriding the 1038 * Where possible, the Call should make an attempt to handle {@link Connection} events which 1040 * it does not wish to handle. Unexpected events should be handled gracefully, as it is 1471 * No assumptions should be made as to how a {@link ConnectionService} will handle these events. 1593 * No assumptions should be made as to how an In-Call UI or service will handle these 788 Details( String telecomCallId, Uri handle, int handlePresentation, String callerDisplayName, int callerDisplayNamePresentation, PhoneAccountHandle accountHandle, int capabilities, int properties, DisconnectCause disconnectCause, long connectTimeMillis, GatewayInfo gatewayInfo, int videoState, StatusHints statusHints, Bundle extras, Bundle intentExtras, long creationTimeMillis) argument
|
/frameworks/base/tools/aapt2/ |
H A D | ResourceParser.cpp | 227 StringBuilder::UntranslatableHandle handle = builder->StartUntranslatable(); variable 229 builder->EndUntranslatable(handle);
|
/frameworks/native/libs/vr/libvrflinger/ |
H A D | hardware_composer.cpp | 564 // Set idle state based on whether there are any surfaces to handle. 1097 if (LocalHandle handle{buffer.data(), O_RDONLY}) { 1102 display_info.driver_vsync_event_fd = std::move(handle); 1400 sp<GraphicBuffer> handle; local 1405 std::tie(right, bottom, id, handle, acquire_fence_, slot) = 1419 if (!handle.get()) { 1443 handle = nullptr; 1448 slot, handle, acquire_fence_.Get());
|
/frameworks/native/services/sensorservice/ |
H A D | SensorService.cpp | 306 int handle = s->getSensor().getHandle(); local 308 if (mSensors.add(handle, s, isDebug, isVirtual)){ 309 mRecentEvent.emplace(handle, new RecentEventLogger(type)); 320 bool SensorService::unregisterDynamicSensorLocked(int handle) { argument 321 bool ret = mSensors.remove(handle); 323 const auto i = mRecentEvent.find(handle); 452 int handle = mActiveSensors.keyAt(i); local 453 result.appendFormat("%s (handle=0x%08x, connections=%zu)\n", 454 getSensorName(handle).string(), 455 handle, 596 int handle = buffer[i].sensor; local 739 int handle = mSensorEventBuffer[i].dynamic_sensor_meta.handle; local 763 int handle = mSensorEventBuffer[i].dynamic_sensor_meta.handle; local 899 int handle = event.sensor; local 1147 setOperationParameter( int32_t handle, int32_t type, const Vector<float> &floats, const Vector<int32_t> &ints) argument 1259 int handle = mActiveSensors.keyAt(i); local 1309 enable(const sp<SensorEventConnection>& connection, int handle, nsecs_t samplingPeriodNs, nsecs_t maxBatchReportLatencyNs, int reservedFlags, const String16& opPackageName) argument 1436 disable(const sp<SensorEventConnection>& connection, int handle) argument 1455 cleanupWithoutDisable( const sp<SensorEventConnection>& connection, int handle) argument 1461 cleanupWithoutDisableLocked( const sp<SensorEventConnection>& connection, int handle) argument 1484 setEventRate(const sp<SensorEventConnection>& connection, int handle, nsecs_t ns, const String16& opPackageName) argument 1515 const int handle = connection->mSensorInfo.keyAt(i); local [all...] |
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | ComposerHal.cpp | 46 // nullptr is not a valid handle to HIDL 66 native_handle_t* handle; local 68 handle = native_handle_init(mStorage, 1, 0); 69 handle->data[0] = fd; 71 // nullptr is not a valid handle to HIDL 72 handle = native_handle_init(mStorage, 0, 0); 74 mHandle = handle; 537 const native_handle_t* handle = nullptr; local 539 handle = target->getNativeBuffer()->handle; 664 const native_handle_t* handle = nullptr; local [all...] |
H A D | HWC2.cpp | 624 auto handle = buffer->getNativeBuffer()->handle; local 625 auto intError = mComposer.setOutputBuffer(mId, handle, fenceFd);
|
/frameworks/native/services/surfaceflinger/ |
H A D | Layer.cpp | 635 // we can only handle simple transformation 1191 sp<Handle> handle = static_cast<Handle*>(relativeToHandle.get()); local 1192 if (handle == nullptr) { 1195 sp<Layer> relative = handle->owner.promote(); 1347 sp<Handle> handle = static_cast<Handle*>(barrierHandle.get()); local 1348 deferTransactionUntil(handle->owner.promote(), frameNumber); 1563 sp<Handle> handle = nullptr; local 1568 handle = static_cast<Handle*>(newParentHandle.get()); 1569 newParent = handle->owner.promote(); 1571 ALOGE("Unable to promote Layer handle"); 1599 auto handle = static_cast<Handle*>(newParentHandle.get()); local [all...] |
/frameworks/native/vulkan/libvulkan/ |
H A D | swapchain.cpp | 195 Surface* SurfaceFromHandle(VkSurfaceKHR handle) { argument 196 return reinterpret_cast<Surface*>(handle); 247 Swapchain* SwapchainFromHandle(VkSwapchainKHR handle) { argument 248 return reinterpret_cast<Swapchain*>(handle); 1249 image_native_buffer.handle = img.buffer->handle; 1436 // should handle any additional structures that get passed in
|
/frameworks/av/services/audioflinger/ |
H A D | Threads.h | 179 audio_patch_handle_t handle) : 180 mPatch(patch), mHandle(handle) {} 183 snprintf(buffer, size, "Patch handle: %u\n", mHandle); 193 audio_patch_handle_t handle) : 195 mData = new CreateAudioPatchConfigEventData(patch, handle); 203 explicit ReleaseAudioPatchConfigEventData(const audio_patch_handle_t handle) : argument 204 mHandle(handle) {} 207 snprintf(buffer, size, "Patch handle: %u\n", mHandle); 215 explicit ReleaseAudioPatchConfigEvent(const audio_patch_handle_t handle) : argument 217 mData = new ReleaseAudioPatchConfigEventData(handle); 178 CreateAudioPatchConfigEventData(const struct audio_patch patch, audio_patch_handle_t handle) argument 192 CreateAudioPatchConfigEvent(const struct audio_patch patch, audio_patch_handle_t handle) argument [all...] |
H A D | AudioFlinger.cpp | 272 audio_port_handle_t *handle) 283 sessionId, callback, interface, handle); 296 audio_port_handle_t *handle) 340 *handle = portId; 384 // check a match for the requested module handle 702 ALOGE("createTrack() getOutputForAttr() return error %d or invalid output handle", lStatus); 731 ALOGE("no playback thread found for output handle %d", output.outputId); 811 // return handle to client 853 // should examine all callers and fix them to handle smaller counts 873 ALOGW("latency(): no playback thread found for output handle 264 openMmapStream(MmapStreamInterface::stream_direction_t direction, const audio_attributes_t *attr, audio_config_base_t *config, const AudioClient& client, audio_port_handle_t *deviceId, audio_session_t *sessionId, const sp<MmapStreamCallback>& callback, sp<MmapStreamInterface>& interface, audio_port_handle_t *handle) argument 288 openMmapStream(MmapStreamInterface::stream_direction_t direction, const audio_attributes_t *attr, audio_config_base_t *config, const AudioClient& client, audio_port_handle_t *deviceId, audio_session_t *sessionId, const sp<MmapStreamCallback>& callback, sp<MmapStreamInterface>& interface, audio_port_handle_t *handle) argument 1858 audio_module_handle_t handle = (audio_module_handle_t) nextUniqueId(AUDIO_UNIQUE_ID_USE_MODULE); local 2965 sp<EffectHandle> handle; local [all...] |
/frameworks/base/core/java/android/view/ |
H A D | SurfaceControl.java | 145 IBinder handle, long frame); 150 IBinder handle); 767 public void deferTransactionUntil(IBinder handle, long frame) { argument 769 sGlobalTransaction.deferTransactionUntil(this, handle, frame); 1478 public Transaction deferTransactionUntil(SurfaceControl sc, IBinder handle, argument 1484 nativeDeferTransactionUntil(mNativeObject, sc.mNativeObject, handle, frameNumber); 144 nativeDeferTransactionUntil(long transactionObj, long nativeObject, IBinder handle, long frame) argument 149 nativeReparentChildren(long transactionObj, long nativeObject, IBinder handle) argument
|
/frameworks/native/libs/binder/ |
H A D | Parcel.cpp | 119 const sp<IBinder> b = proc->getStrongProxyForHandle(obj.handle); 127 const wp<IBinder> b = proc->getWeakProxyForHandle(obj.handle); 132 if ((obj.cookie != 0) && (outAshmemSize != NULL) && ashmem_valid(obj.handle)) { 134 int size = ashmem_get_size_region(obj.handle); 167 const sp<IBinder> b = proc->getStrongProxyForHandle(obj.handle); 175 const wp<IBinder> b = proc->getWeakProxyForHandle(obj.handle); 181 if ((outAshmemSize != NULL) && ashmem_valid(obj.handle)) { 182 int size = ashmem_get_size_region(obj.handle); 188 close(obj.handle); 229 const int32_t handle local 263 const int32_t handle = proxy ? proxy->handle() : 0; local 1130 writeNativeHandle(const native_handle* handle) argument [all...] |
/frameworks/native/services/surfaceflinger/tests/hwc2/ |
H A D | Hwc2Test.cpp | 130 * display is connected, the display handle is stored in mDisplays. */ 810 void setClientTarget(hwc2_display_t display, buffer_handle_t handle, argument 818 auto err = static_cast<hwc2_error_t>(pfn(mHwc2Device, display, handle, 1342 * 1) It attempts to set a valid property value to bad layer handle. 1623 buffer_handle_t handle = nullptr; local 1636 && testLayers->getBuffer(layer, &handle, &acquireFence) < 0) 1647 EXPECT_NO_FATAL_FAILURE(setLayerBuffer(display, layer, handle, 1697 buffer_handle_t handle; local 1701 clearLayers, flipClientTarget, displayArea, &handle, 1703 EXPECT_NO_FATAL_FAILURE(setClientTarget(display, handle, acquireFenc 1978 buffer_handle_t handle; local 3753 buffer_handle_t handle; local 3801 buffer_handle_t handle; local 4680 buffer_handle_t handle; local [all...] |
/frameworks/av/services/audiopolicy/managerdefault/ |
H A D | AudioPolicyManager.cpp | 122 // handle output devices 133 // handle output device connection 177 // handle output device disconnection 251 // handle input devices 258 // handle input device connection 292 // handle input device disconnection 560 // if leaving call state, handle special case of active streams 646 // if entering in call state, handle special case of active streams 1288 // handle special case for sonification while in call 1379 // always handle strea 2845 createAudioPatch(const struct audio_patch *patch, audio_patch_handle_t *handle, uid_t uid) argument 3111 releaseAudioPatch(audio_patch_handle_t handle, uid_t uid) argument 3353 startAudioSource(const struct audio_port_config *source, const audio_attributes_t *attributes, audio_patch_handle_t *handle, uid_t uid) argument [all...] |