Home
last modified time | relevance | path

Searched refs:details (Results 1 – 25 of 272) sorted by relevance

1234567891011

/frameworks/base/telephony/java/android/telephony/ims/stub/
DRcsCapabilityExchangeImplBase.java208 default void onNetworkResponse(@NonNull SipDetails details) throws ImsException { in onNetworkResponse() argument
209 if (TextUtils.isEmpty(details.getReasonHeaderText())) { in onNetworkResponse()
210 onNetworkResponse(details.getResponseCode(), details.getResponsePhrase()); in onNetworkResponse()
212 onNetworkResponse(details.getResponseCode(), details.getResponsePhrase(), in onNetworkResponse()
213 details.getReasonHeaderCause(), details.getReasonHeaderText()); in onNetworkResponse()
348 default void onNetworkResponse(@NonNull SipDetails details) throws ImsException { in onNetworkResponse() argument
349 if (TextUtils.isEmpty(details.getReasonHeaderText())) { in onNetworkResponse()
350 onNetworkResponse(details.getResponseCode(), details.getResponsePhrase()); in onNetworkResponse()
352 onNetworkResponse(details.getResponseCode(), details.getResponsePhrase(), in onNetworkResponse()
353 details.getReasonHeaderCause(), details.getReasonHeaderText()); in onNetworkResponse()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/presence/publish/
DPublishRequestResponse.java69 public PublishRequestResponse(String pidfXml, @Nullable SipDetails details) { in PublishRequestResponse() argument
76 mNetworkRespSipCode = Optional.of(details.getResponseCode()); in PublishRequestResponse()
77 mReasonPhrase = Optional.ofNullable(details.getResponsePhrase()); in PublishRequestResponse()
78 if (details.getReasonHeaderCause() != 0) { in PublishRequestResponse()
79 mReasonHeaderCause = Optional.of(details.getReasonHeaderCause()); in PublishRequestResponse()
83 if (TextUtils.isEmpty(details.getReasonHeaderText())) { in PublishRequestResponse()
86 mReasonHeaderText = Optional.ofNullable(details.getReasonHeaderText()); in PublishRequestResponse()
88 mSipDetails = Optional.ofNullable(details); in PublishRequestResponse()
99 public void onNetworkResponse(@NonNull SipDetails details) {
100 PublishRequestResponse.this.onNetworkResponse(details);
[all …]
/frameworks/native/libs/math/include/math/
Dvec2.h33 namespace details {
110 typedef details::TVec2<double> double2;
111 typedef details::TVec2<float> float2;
112 typedef details::TVec2<float> vec2;
113 typedef details::TVec2<half> half2;
114 typedef details::TVec2<int32_t> int2;
115 typedef details::TVec2<uint32_t> uint2;
116 typedef details::TVec2<int16_t> short2;
117 typedef details::TVec2<uint16_t> ushort2;
118 typedef details::TVec2<int8_t> byte2;
[all …]
Dvec4.h31 namespace details {
113 typedef details::TVec4<double> double4;
114 typedef details::TVec4<float> float4;
115 typedef details::TVec4<float> vec4;
116 typedef details::TVec4<half> half4;
117 typedef details::TVec4<int32_t> int4;
118 typedef details::TVec4<uint32_t> uint4;
119 typedef details::TVec4<int16_t> short4;
120 typedef details::TVec4<uint16_t> ushort4;
121 typedef details::TVec4<int8_t> byte4;
[all …]
Dvec3.h31 namespace details {
116 typedef details::TVec3<double> double3;
117 typedef details::TVec3<float> float3;
118 typedef details::TVec3<float> vec3;
119 typedef details::TVec3<half> half3;
120 typedef details::TVec3<int32_t> int3;
121 typedef details::TVec3<uint32_t> uint3;
122 typedef details::TVec3<int16_t> short3;
123 typedef details::TVec3<uint16_t> ushort3;
124 typedef details::TVec3<int8_t> byte3;
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
DStorageMeasurement.java93 void onDetailsChanged(MeasurementDetails details); in onDetailsChanged() argument
152 final MeasurementDetails details = new MeasurementDetails(); in measureExactStorage() local
153 if (mVolume == null) return details; in measureExactStorage()
157 details.totalSize = mVolume.getPath().getTotalSpace(); in measureExactStorage()
158 details.availSize = mVolume.getPath().getUsableSpace(); in measureExactStorage()
159 return details; in measureExactStorage()
163 details.totalSize = mStats.getTotalBytes(mVolume.fsUuid); in measureExactStorage()
164 details.availSize = mStats.getFreeBytes(mVolume.fsUuid); in measureExactStorage()
168 return details; in measureExactStorage()
177 details.mediaSize.put(user.id, mediaMap); in measureExactStorage()
[all …]
/frameworks/native/include/ftl/
Dfunction.h159 static_assert(N <= details::kFunctionMaximumN);
161 using OpaqueStorageTraits = details::function_opaque_storage<N>;
176 Function(NoOpTag) : function_(details::bind_opaque_no_op<Ret, Args...>()) {}
187 function_(details::bind_opaque_function_object<F, Ret, Args...>(f)) {}
192 details::bind_opaque_function_object<F, Ret, Args...>(f)};
233 details::bind_member_function<MemberFunction>(instance,
235 return Function{details::bind_member_function<MemberFunction>(
242 details::bind_free_function<FreeFunction>(static_cast<Ret (*)(Args...)>(nullptr))}) {
244 details::bind_free_function<FreeFunction>(static_cast<Ret (*)(Args...)>(nullptr))};
271 template <typename F, typename T = details::function_traits<F>>
[all …]
Dmatch.h47 const auto matcher = details::Matcher{std::forward<Ms>(matchers)...}; in decltype()
48 static_assert(details::is_exhaustive_match_v<decltype(matcher), Ts&...>, "Non-exhaustive match"); in decltype()
50 return details::Match<Ts...>::match(variant, matcher); in decltype()
55 const auto matcher = details::Matcher{std::forward<Ms>(matchers)...}; in decltype()
56 static_assert(details::is_exhaustive_match_v<decltype(matcher), const Ts&...>, in decltype()
59 return details::Match<Ts...>::match(variant, matcher); in decltype()
Dfuture.h34 class Future final : public details::BaseFuture<Future<T, FutureImpl>, T, FutureImpl> {
35 using Base = details::BaseFuture<Future, T, FutureImpl>;
38 friend details::BaseFuture<Future<T>, T, std::future>; // For BaseFuture<...>::share.
71 auto then(F&& op) && -> Future<details::future_result_t<R>> {
75 if constexpr (std::is_same_v<R, details::future_result_t<R>>) {
92 Future(details::ValueTag, Args&&... args) in Future()
116 return {details::ValueTag{}, std::move(value)}; in yield()
121 return {details::ValueTag{}, std::forward<Args>(args)...}; in yield()
Doptional.h45 using R = details::transform_result_t<F, decltype(value())>; in transform()
52 using R = details::transform_result_t<F, decltype(value())>; in transform()
59 using R = details::transform_result_t<F, decltype(std::move(value()))>; in transform()
66 using R = details::transform_result_t<F, decltype(std::move(value()))>; in transform()
74 using R = details::and_then_result_t<F, decltype(value())>; in and_then()
81 using R = details::and_then_result_t<F, decltype(value())>; in and_then()
88 using R = details::and_then_result_t<F, decltype(std::move(value()))>; in and_then()
95 using R = details::and_then_result_t<F, decltype(std::move(value()))>; in and_then()
102 constexpr auto or_else(F&& f) const& -> details::or_else_result_t<F, T> {
108 constexpr auto or_else(F&& f) && -> details::or_else_result_t<F, T> {
Dmixins.h75 friend class details::Mixin;
94 struct Equatable : details::Mixin<Self, Equatable> {
104 struct Orderable : details::Mixin<Self, Orderable> {
116 struct Incrementable : details::Mixin<Self, Incrementable> {
131 struct Addable : details::Mixin<Self, Addable>, Incrementable<Self> {
143 using Base = details::Mixin<Self, Addable>;
Dhash.h33 return details::hash_length_0_to_16(view.data(), length); in stable_hash()
36 return details::hash_length_17_to_32(view.data(), length); in stable_hash()
39 return details::hash_length_33_to_64(view.data(), length); in stable_hash()
Denum.h178 namespace details {
237 return details::EnumRange<E>{};
279 constexpr auto kRange = details::EnumRange<E, details::EnumName>{};
298 constexpr auto kRange = details::EnumRange<E, details::EnumNameFull>{};
316 constexpr auto kRange = details::EnumRange<E, details::FlagName>{};
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobNotificationCoordinator.java165 final NotificationDetails details = new NotificationDetails( in enqueueNotification() local
174 mNotificationDetails.put(hostingContext, details); in enqueueNotification()
184 final NotificationDetails details = mNotificationDetails.remove(hostingContext); in removeNotificationAssociation() local
185 if (details == null) { in removeNotificationAssociation()
189 mCurrentAssociations.get(details.userPackage); in removeNotificationAssociation()
190 if (associations == null || !associations.remove(details.notificationId, hostingContext)) { in removeNotificationAssociation()
194 final int userId = UserHandle.getUserId(details.appUid); in removeNotificationAssociation()
195 final String packageName = details.userPackage.packageName; in removeNotificationAssociation()
196 final int notificationId = details.notificationId; in removeNotificationAssociation()
205 if (details.jobEndNotificationPolicy == JOB_END_NOTIFICATION_POLICY_REMOVE in removeNotificationAssociation()
[all …]
/frameworks/av/services/camera/libcameraservice/api2/
DHeicEncoderInfoManager.cpp147 status_t HeicEncoderInfoManager::getFrameRateMaps(sp<AMessage> details, FrameRateMaps* maps) { in getFrameRateMaps() argument
148 if (details == nullptr || maps == nullptr) { in getFrameRateMaps()
149 ALOGE("%s: Invalid input: details: %p, maps: %p", __FUNCTION__, details.get(), maps); in getFrameRateMaps()
153 for (size_t i = 0; i < details->countEntries(); i++) { in getFrameRateMaps()
155 const char* entryName = details->getEntryNameAt(i, &type); in getFrameRateMaps()
162 AMessage::ItemData item = details->getEntryAt(i); in getFrameRateMaps()
184 sp<AMessage> details, in getCodecSizeRange() argument
189 details == nullptr || frameRateMaps == nullptr) { in getCodecSizeRange()
194 auto hasItem = details->findString("size-range", &sizeRange); in getCodecSizeRange()
219 auto res = getFrameRateMaps(details, frameRateMaps); in getCodecSizeRange()
[all …]
/frameworks/base/telephony/java/android/telephony/ims/aidl/
DRcsPublishResponseAidlWrapper.java50 SipDetails details = new SipDetails.Builder(SipDetails.METHOD_PUBLISH) in onNetworkResponse() local
54 mResponseBinder.onNetworkResponse(details); in onNetworkResponse()
64 SipDetails details = new SipDetails.Builder(SipDetails.METHOD_PUBLISH) in onNetworkResponse() local
69 mResponseBinder.onNetworkResponse(details); in onNetworkResponse()
76 public void onNetworkResponse(@NonNull SipDetails details) in onNetworkResponse() argument
79 mResponseBinder.onNetworkResponse(details); in onNetworkResponse()
DCapabilityExchangeAidlWrapper.java99 SipDetails details = new SipDetails.Builder(SipDetails.METHOD_PUBLISH) in onPublishUpdated() local
103 listener.onPublishUpdated(details); in onPublishUpdated()
115 public void onPublishUpdated(@NonNull SipDetails details) throws ImsException { in onPublishUpdated() argument
121 listener.onPublishUpdated(details); in onPublishUpdated()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/request/
DUceRequestCoordinator.java143 public static RequestResult createSuccessResult(long taskId, @Nullable SipDetails details) { in createSuccessResult() argument
144 return new RequestResult(taskId, details); in createSuccessResult()
165 @Nullable SipDetails details) { in createFailedResult() argument
166 return new RequestResult(taskId, errorCode, retry, details); in createFailedResult()
185 private RequestResult(long taskId, SipDetails details) { in RequestResult() argument
190 if (details == null) { in RequestResult()
193 mSipDetails = Optional.ofNullable(details); in RequestResult()
207 private RequestResult(long taskId, int errorCode, long retryMillis, SipDetails details) { in RequestResult() argument
212 if (details == null) { in RequestResult()
215 mSipDetails = Optional.ofNullable(details); in RequestResult()
DSubscribeRequestCoordinator.java116 SipDetails details = response.getSipDetails().orElse(null);
120 return RequestResult.createFailedResult(taskId, errorCode, retryAfter, details);
124 return RequestResult.createFailedResult(taskId, errorCode, retryAfter, details);
143 SipDetails details = response.getSipDetails().orElse(null);
153 return RequestResult.createFailedResult(taskId, errorCode, retryAfterMillis, details);
155 return RequestResult.createSuccessResult(taskId, details);
554 SipDetails details = null; in checkAndFinishRequestCoordinator() local
557 details = result.getSipDetails().orElse(null); in checkAndFinishRequestCoordinator()
564 triggerErrorCallback(errorCode, retryAfter, details); in checkAndFinishRequestCoordinator()
566 triggerCompletedCallback(details); in checkAndFinishRequestCoordinator()
[all …]
/frameworks/native/services/inputflinger/reader/mapper/gestures/
DGestureConverter.cpp156 return handleMultiFingerSwipe(when, readTime, 3, gesture.details.swipe.dx, in handleGesture()
157 gesture.details.swipe.dy); in handleGesture()
159 return handleMultiFingerSwipe(when, readTime, 4, gesture.details.four_finger_swipe.dx, in handleGesture()
160 gesture.details.four_finger_swipe.dy); in handleGesture()
174 float deltaX = gesture.details.move.dx; in handleMove()
175 float deltaY = gesture.details.move.dy; in handleMove()
234 if (gesture.details.buttons.is_tap && when <= mWhenToEnableTapToClick) { in handleButtonsChange()
240 if (gesture.details.buttons.is_tap) { in handleButtonsChange()
246 const uint32_t buttonsPressed = gesture.details.buttons.down; in handleButtonsChange()
277 const uint32_t buttonsReleased = gesture.details.buttons.up; in handleButtonsChange()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DAppTimeTracker.java99 public void dumpWithHeader(PrintWriter pw, String prefix, boolean details) { in dumpWithHeader() argument
103 dump(pw, prefix + " ", details); in dumpWithHeader()
106 public void dump(PrintWriter pw, String prefix, boolean details) { in dump() argument
117 if (details && mStartedTime != 0) { in dump()
125 public void dumpDebug(ProtoOutputStream proto, long fieldId, boolean details) { in dumpDebug() argument
135 if (details && mStartedTime != 0) { in dumpDebug()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DSigningDetailsTest.java931 SigningDetails details = createSigningDetails(FIRST_SIGNATURE); in hasAncestorOrSelfWithDigest_nullSet_returnsFalse() local
933 assertFalse(details.hasAncestorOrSelfWithDigest(null)); in hasAncestorOrSelfWithDigest_nullSet_returnsFalse()
940 SigningDetails details = SigningDetails.UNKNOWN; in hasAncestorOrSelfWithDigest_unknownDetails_returnsFalse() local
943 assertFalse(details.hasAncestorOrSelfWithDigest(digests)); in hasAncestorOrSelfWithDigest_unknownDetails_returnsFalse()
950 SigningDetails details = createSigningDetails(FIRST_SIGNATURE); in hasAncestorOrSelfWithDigest_singleSignerInSet_returnsTrue() local
953 assertTrue(details.hasAncestorOrSelfWithDigest(digests)); in hasAncestorOrSelfWithDigest_singleSignerInSet_returnsTrue()
960 SigningDetails details = createSigningDetails(FIRST_SIGNATURE); in hasAncestorOrSelfWithDigest_singleSignerNotInSet_returnsFalse() local
963 assertFalse(details.hasAncestorOrSelfWithDigest(digests)); in hasAncestorOrSelfWithDigest_singleSignerNotInSet_returnsFalse()
970 SigningDetails details = createSigningDetails(FIRST_SIGNATURE, SECOND_SIGNATURE); in hasAncestorOrSelfWithDigest_multipleSignersInSet_returnsTrue() local
973 assertTrue(details.hasAncestorOrSelfWithDigest(digests)); in hasAncestorOrSelfWithDigest_multipleSignersInSet_returnsTrue()
[all …]
/frameworks/native/libs/math/tests/
Dmat_test.cpp388 typedef ::android::details::TMat44<TypeParam> M44T; in TYPED_TEST()
426 typedef ::android::details::TMat33<TypeParam> M33T; in TYPED_TEST()
459 typedef ::android::details::TMat22<TypeParam> M22T; in TYPED_TEST()
520 typedef ::android::details::TMat44<TypeParam> M44T; in TYPED_TEST()
521 typedef ::android::details::TVec4<TypeParam> V4T; in TYPED_TEST()
560 typedef ::android::details::TMat44<TypeParam> M44T; in TYPED_TEST()
579 typedef ::android::details::TMat33<TypeParam> M33T; in TYPED_TEST()
598 typedef ::android::details::TMat44<TypeParam> M44T; in TYPED_TEST()
599 typedef ::android::details::TVec4<TypeParam> V4T; in TYPED_TEST()
600 typedef ::android::details::TQuaternion<TypeParam> QuatT; in TYPED_TEST()
[all …]
/frameworks/native/libs/binder/ndk/include_cpp/android/
Dbinder_to_string.h71 namespace details {
195 } else if constexpr (details::IsPointerLike<_T>::value || std::is_pointer_v<_T>) {
200 } else if constexpr (details::HasToStringMethod<_T>::value) {
202 } else if constexpr (details::HasToStringFunction<_T>::value) {
204 } else if constexpr (details::IsIterable<_T>::value) {
221 static_assert(details::TypeDependentFalse<_T>::value, "no toString implemented, huh?");
/frameworks/base/telephony/java/android/telephony/ims/
DRcsUceAdapter.java521 default void onComplete(@Nullable SipDetails details) { in onComplete() argument
540 @Nullable SipDetails details) { in onError() argument
629 public void onComplete(@Nullable SipDetails details) { in requestCapabilities()
632 executor.execute(() -> c.onComplete(details)); in requestCapabilities()
639 @Nullable SipDetails details) { in requestCapabilities()
642 executor.execute(() -> c.onError(errorCode, retryAfterMilliseconds, details)); in requestCapabilities()
728 public void onComplete(@Nullable SipDetails details) { in requestAvailability()
731 executor.execute(() -> c.onComplete(details)); in requestAvailability()
738 @Nullable SipDetails details) { in requestAvailability()
741 executor.execute(() -> c.onError(errorCode, retryAfterMilliseconds, details)); in requestAvailability()

1234567891011