Home
last modified time | relevance | path

Searched refs:hint (Results 1 – 25 of 98) sorted by relevance

1234

/frameworks/proto_logging/stats/atoms/adpf/
Dadpf_atoms.proto11 // This tag is used to mark uncategorized hint sessions.
13 // This tag is used to mark the SurfaceFlinger hint session.
15 // This tag is used to mark hint sessions created by HWUI.
17 // This tag is used to mark hint sessions created by applications that are
20 // This tag is used to mark the hint session is created by the application.
34 // Unique ID of the hint session.
48 // True if SurfaceFlinger CPU hint is enabled on the device.
51 // True if HWUI hint is enabled on the device.
/frameworks/opt/net/voip/src/java/android/net/rtp/
DAudioCodec.java115 AudioCodec hint = null; in getCodec() local
122 hint = codec; in getCodec()
130 hint = codec; in getCodec()
137 if (hint == null) { in getCodec()
140 if (hint == AMR && fmtp != null) { in getCodec()
/frameworks/base/core/java/android/app/usage/
DCacheQuotaHint.java109 public Builder(@NonNull CacheQuotaHint hint) { in Builder() argument
110 setVolumeUuid(hint.getVolumeUuid()); in Builder()
111 setUid(hint.getUid()); in Builder()
112 setUsageStats(hint.getUsageStats()); in Builder()
113 setQuota(hint.getQuota()); in Builder()
/frameworks/base/core/java/android/app/slice/
DSliceItem.java262 public boolean hasHint(@Slice.SliceHint String hint) { in hasHint() argument
263 return ArrayUtils.contains(mHints, hint); in hasHint()
294 for (String hint : hints) { in hasHints()
295 if (!TextUtils.isEmpty(hint) && !ArrayUtils.contains(mHints, hint)) { in hasHints()
307 for (String hint : hints) { in hasAnyHints()
308 if (ArrayUtils.contains(mHints, hint)) { in hasAnyHints()
/frameworks/base/core/java/android/view/inputmethod/
DExtractedText.java96 public CharSequence hint; field in ExtractedText
112 TextUtils.writeToParcel(hint, dest, flags); in writeToParcel()
129 res.hint = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source);
/frameworks/base/services/core/java/com/android/server/power/hint/
Dflags.aconfig1 package: "com.android.server.power.hint"
14 description: "Feature flag for adding session tag to hint session atom"
DAndroid.bp3 package: "com.android.server.power.hint",
DTEST_MAPPING7 "include-filter": "com.android.server.power.hint"
/frameworks/base/core/java/android/os/
DPerformanceHintManager.java254 public void sendHint(@Hint int hint) { in sendHint() argument
255 Preconditions.checkArgumentNonNegative(hint, "the hint ID should be at least" in sendHint()
258 nativeSendHint(mNativeSessionPtr, hint); in sendHint()
361 private static native void nativeSendHint(long nativeSessionPtr, int hint); in nativeSendHint() argument
DIHintSession.aidl27 void sendHint(int hint); in sendHint() argument
/frameworks/base/native/android/
Dperformance_hint.cpp98 int sendHint(SessionHint hint);
275 int APerformanceHintSession::sendHint(SessionHint hint) { in sendHint() argument
277 if (hint < 0 || hint >= static_cast<int32_t>(mLastHintSentTimestamp.size())) { in sendHint()
278 ALOGE("%s: invalid session hint %d", __FUNCTION__, hint); in sendHint()
284 if (now < (mLastHintSentTimestamp[hint] + SEND_HINT_TIMEOUT)) { in sendHint()
288 ndk::ScopedAStatus ret = mHintSession->sendHint(hint); in sendHint()
294 mLastHintSentTimestamp[hint] = now; in sendHint()
508 int APerformanceHint_sendHint(APerformanceHintSession* session, SessionHint hint) { in APerformanceHint_sendHint() argument
510 return session->sendHint(hint); in APerformanceHint_sendHint()
/frameworks/base/core/tests/coretests/src/android/widget/
DEditorCursorTest.java194 private void setEditTextProperties(final String text, final String hint, in setEditTextProperties() argument
199 if (hint != null) mEditText.setHint(hint); in setEditTextProperties()
216 private void setEditTextHint(final String hint, final int textDirection, final int selection) in setEditTextHint() argument
218 setEditTextProperties(null, hint, textDirection, selection); in setEditTextHint()
/frameworks/native/services/surfaceflinger/tests/unittests/
DPowerAdvisorTest.cpp203 SessionHint hint; in testGpuScenario() local
211 .WillOnce(DoAll(testing::SaveArg<0>(&hint), in testGpuScenario()
231 ASSERT_EQ(msgs[1].data.getTag(), ChannelMessage::ChannelMessageContents::Tag::hint); in testGpuScenario()
232 hint = msgs[1].data.get<ChannelMessage::ChannelMessageContents::Tag::hint>(); in testGpuScenario()
235 ASSERT_EQ(hint, SessionHint::CPU_LOAD_UP); in testGpuScenario()
803 ASSERT_EQ(msgs[0].data.getTag(), ChannelMessage::ChannelMessageContents::Tag::hint); in TEST_F()
804 auto hint = msgs[0].data.get<ChannelMessage::ChannelMessageContents::Tag::hint>(); in TEST_F() local
805 ASSERT_EQ(hint, SessionHint::CPU_LOAD_UP); in TEST_F()
812 SessionHint hint; in TEST_F() local
815 .WillOnce(DoAll(testing::SaveArg<0>(&hint), in TEST_F()
[all …]
/frameworks/libs/binary_translation/backend/include/berberis/backend/common/
Dlifetime.h284 VRegLifetime* hint = FindMoveHint(); in SetMoveHint() local
287 if (hint->begin() > other_hint->begin()) { in SetMoveHint()
288 hint->move_hint_ = other_hint; in SetMoveHint()
289 } else if (other_hint != hint) { in SetMoveHint()
290 other_hint->move_hint_ = hint; in SetMoveHint()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
DAlternateBouncerUdfpsViewBinder.kt50 viewModel.accessibilityDelegateHint.collect { hint -> in <lambda>() method
51 view.accessibilityHintType = hint in <lambda>()
DDeviceEntryIconViewBinder.kt121 viewModel.accessibilityDelegateHint.collect { hint -> in <lambda>() method
122 view.accessibilityHintType = hint in <lambda>()
123 if (hint != DeviceEntryIconView.AccessibilityHintType.NONE) { in <lambda>()
/frameworks/native/services/powermanager/tests/
DPowerHalWrapperHidlV1_3Test.cpp48 MOCK_METHOD(hardware::Return<void>, powerHint, (PowerHintV1_0 hint, int32_t data), (override));
52 MOCK_METHOD(hardware::Return<void>, powerHintAsync, (PowerHintV1_0 hint, int32_t data),
54 MOCK_METHOD(hardware::Return<void>, powerHintAsync_1_2, (PowerHintV1_2 hint, int32_t data),
56 MOCK_METHOD(hardware::Return<void>, powerHintAsync_1_3, (PowerHintV1_3 hint, int32_t data),
/frameworks/native/libs/binder/
DRpcSocketAddress.h91 addrinfo hint{ in getAddrInfo()
98 if (int rc = getaddrinfo(addr, std::to_string(port).data(), &hint, &aiStart); 0 != rc) { in getAddrInfo()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/hint/
DTEST_MAPPING7 "include-filter": "com.android.server.power.hint"
/frameworks/base/services/core/jni/
Dcom_android_server_hint_HintManagerService.cpp146 static void sendHint(int64_t session_ptr, hal::SessionHint hint) { in sendHint() argument
148 appSession->sendHint(hint); in sendHint()
232 static void nativeSendHint(JNIEnv* env, jclass /* clazz */, jlong session_ptr, jint hint) { in nativeSendHint() argument
233 sendHint(session_ptr, static_cast<hal::SessionHint>(hint)); in nativeSendHint()
/frameworks/base/core/java/android/widget/
DAutoCompleteTextView.java360 public void setCompletionHint(CharSequence hint) { in setCompletionHint() argument
361 mHintText = hint; in setCompletionHint()
362 if (hint != null) { in setCompletionHint()
370 mHintView.setText(hint); in setCompletionHint()
1175 protected void onDisplayHint(int hint) { in onDisplayHint() argument
1176 super.onDisplayHint(hint); in onDisplayHint()
1177 switch (hint) { in onDisplayHint()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DEventLogTags.logtags32 ## 3: TAP_UNLOCK_HINT Tapped in empty area, causes unlock hint.
36 ## 7: TAP_NOTIFICATION_ACTIVATE Tapped a lockscreen notification, causes "tap again" hint.
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DNotificationChannels.java92 final NotificationChannel hint = new NotificationChannel( in createAll() local
106 hint in createAll()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/
DCompatUILayout.java70 final LinearLayout hint = findViewById(R.id.camera_compat_hint); in updateCameraTreatmentButton() local
71 ((TextView) hint.findViewById(R.id.compat_mode_hint_text)).setText(hintStringId); in updateCameraTreatmentButton()
/frameworks/native/include/private/
Dperformance_hint_private.h96 int APerformanceHint_sendHint(APerformanceHintSession* session, SessionHint hint);

1234