Home
last modified time | relevance | path

Searched refs:v (Results 1 – 25 of 2512) sorted by relevance

12345678910>>...101

/packages/modules/StatsD/lib/libkll/encoding/
Dvarint.h30 static char* Encode32(char* ptr, uint32_t v);
31 static char* Encode64(char* ptr, uint64_t v);
34 static int Length64(uint64_t v);
39 static char* Encode32Inline(char* ptr, uint32_t v);
42 inline int Varint::Length64(uint64_t v) { in Length64() argument
46 uint32_t log2value = BitsUtil::Log2FloorNonZero64(v | 0x1); in Length64()
50 inline char* Varint::Encode32Inline(char* sptr, uint32_t v) { in Encode32Inline() argument
54 if (v < (1 << 7)) { in Encode32Inline()
55 *(ptr++) = static_cast<uint8_t>(v); in Encode32Inline()
56 } else if (v < (1 << 14)) { in Encode32Inline()
[all …]
Dvarint.cpp20 char* Varint::Encode32(char* sptr, uint32_t v) { in Encode32() argument
21 return Encode32Inline(sptr, v); in Encode32()
24 char* Varint::Encode64(char* sptr, uint64_t v) { in Encode64() argument
25 if (v < (1u << 28)) { in Encode64()
26 return Varint::Encode32(sptr, v); in Encode64()
32 const uint32_t x32 = v | (1 << 7) | (1 << 21); in Encode64()
33 const uint32_t y32 = v | (1 << 14) | (1 << 28); in Encode64()
38 if (v < (1ull << 35)) { in Encode64()
39 *(ptr++) = v >> 28; in Encode64()
42 *(ptr++) = (v >> 28) | (1 << 7); in Encode64()
[all …]
/packages/modules/Bluetooth/system/common/
Dbase_bind_unittest.cc59 struct Vars v; in TEST_F() local
63 ASSERT_EQ(g_vars, v); in TEST_F()
65 v = {}; in TEST_F()
66 v.a = 1; in TEST_F()
70 ASSERT_EQ(g_vars, v); in TEST_F()
72 v = {}; in TEST_F()
73 v.a = 1; in TEST_F()
74 v.b = 2; in TEST_F()
78 ASSERT_EQ(g_vars, v); in TEST_F()
80 v = {}; in TEST_F()
[all …]
/packages/apps/DevCamera/src/com/android/devcamera/
DCameraDeviceReport.java55 Log.v(TAG, "Number of cameras:" + cameralist.length); in printCameraSystemInfo()
72 Log.v(TAG, "============= CAMERA " + id + " INFO ============="); in printCameraInfo()
86 Log.v(TAG, "SENSOR_INFO_ACTIVE_ARRAY_SIZE: " in printCameraInfo()
89 Log.v(TAG, "SENSOR_INFO_ACTIVE_ARRAY_SIZE: null"); in printCameraInfo()
93 Log.v(TAG, "SENSOR_INFO_PIXEL_ARRAY_SIZE: " + size2.getWidth() + "x" + size2.getHeight()); in printCameraInfo()
96 Log.v(TAG, "SENSOR_INFO_PHYSICAL_SIZE: " + size3.getWidth() + "x" + size3.getHeight()); in printCameraInfo()
100 Log.v(TAG, "SENSOR_ORIENTATION: " + sensorOrientation); in printCameraInfo()
102 Log.v(TAG, "SENSOR_INFO_TIMESTAMP_SOURCE: " + in printCameraInfo()
105 Log.v(TAG, "LENS_INFO_FOCUS_DISTANCE_CALIBRATION: " + in printCameraInfo()
109 Log.v(TAG, "STATISTICS_INFO_AVAILABLE_FACE_DETECT_MODES: "); in printCameraInfo()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/
DItemDragListener.java66 public boolean onDrag(final View v, DragEvent event) { in onDrag() argument
69 return mDragHost.canHandleDragEvent(v); in onDrag()
71 handleEnteredEvent(v, event); in onDrag()
74 handleLocationEvent(v, event.getX(), event.getY()); in onDrag()
77 mDragHost.onDragExited(v); in onDrag()
78 handleExitedEndedEvent(v, event); in onDrag()
82 handleExitedEndedEvent(v, event); in onDrag()
85 return handleDropEvent(v, event); in onDrag()
91 private void handleEnteredEvent(View v, DragEvent event) { in handleEnteredEvent() argument
92 mDragHost.onDragEntered(v); in handleEnteredEvent()
[all …]
/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/
DSendTestBroadcastActivity.java126 public void onClick(View v) { in onCreate()
127 if (mDelayBeforeSending && v != null) { in onCreate()
141 public void onClick(View v) { in onCreate()
142 if (mDelayBeforeSending && v != null) { in onCreate()
157 public void onClick(View v) { in onCreate()
158 if (mDelayBeforeSending && v != null) { in onCreate()
172 public void onClick(View v) { in onCreate()
173 if (mDelayBeforeSending && v != null) { in onCreate()
187 public void onClick(View v) { in onCreate()
188 if (mDelayBeforeSending && v != null) { in onCreate()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DItemLongClickListener.java63 private static boolean onWorkspaceItemLongClick(View v) { in onWorkspaceItemLongClick() argument
64 if (v instanceof LauncherAppWidgetHostView) { in onWorkspaceItemLongClick()
69 Launcher launcher = Launcher.getLauncher(v.getContext()); in onWorkspaceItemLongClick()
76 if (!(v.getTag() instanceof ItemInfo)) return false; in onWorkspaceItemLongClick()
79 beginDrag(v, launcher, (ItemInfo) v.getTag(), new DragOptions()); in onWorkspaceItemLongClick()
83 public static void beginDrag(View v, Launcher launcher, ItemInfo info, in beginDrag() argument
88 if (!folder.getIconsInReadingOrder().contains(v)) { in beginDrag()
91 folder.startDrag(v, dragOptions); in beginDrag()
97 CellInfo longClickCellInfo = new CellInfo(v, info, in beginDrag()
102 private static boolean onWidgetItemLongClick(WidgetCell v) { in onWidgetItemLongClick() argument
[all …]
DItemClickHandler.java95 private static void onClick(View v) { in onClick() argument
98 if (v.getWindowToken() == null) return; in onClick()
100 Launcher launcher = Launcher.getLauncher(v.getContext()); in onClick()
103 Object tag = v.getTag(); in onClick()
105 onClickAppShortcut(v, (WorkspaceItemInfo) tag, launcher); in onClick()
107 onClickFolderIcon(v); in onClick()
109 onClickAppPairIcon(v); in onClick()
111 startAppShortcutOrInfoActivity(v, (AppInfo) tag, launcher); in onClick()
113 if (v instanceof PendingAppWidgetHostView) { in onClick()
119 onClickPendingWidget((PendingAppWidgetHostView) v, launcher); in onClick()
[all …]
/packages/modules/Virtualization/libs/cborutil/src/
Dlib.rs32 pub fn serialize<T: ?Sized + Serialize>(v: &T) -> Result<Vec<u8>> { in serialize()
34 ciborium::into_writer(v, &mut data)?; in serialize()
55 pub fn value_to_array(v: Value, context: &'static str) -> Result<Vec<Value>> { in value_to_array()
56 v.into_array().map_err(|e| to_unexpected_item_error(&e, "array", context)) in value_to_array()
60 pub fn value_to_text(v: Value, context: &'static str) -> Result<String> { in value_to_text()
61 v.into_text().map_err(|e| to_unexpected_item_error(&e, "tstr", context)) in value_to_text()
65 pub fn value_to_map(v: Value, context: &'static str) -> Result<Vec<(Value, Value)>> { in value_to_map()
66 v.into_map().map_err(|e| to_unexpected_item_error(&e, "map", context)) in value_to_map()
70 pub fn value_to_num<T: TryFrom<Integer>>(v: Value, context: &'static str) -> Result<T> { in value_to_num()
71 let num = v.into_integer().map_err(|e| to_unexpected_item_error(&e, "int", context))?; in value_to_num()
[all …]
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/correction/
DTestHelpers.java31 public static void assertClose(double v, double c) { in assertClose() argument
32 Assert.assertTrue(abs(v - c) < 0.001); in assertClose()
35 public static void assertClose(SphericalVector v, SphericalVector c) {
36 assertClose(v.azimuth, c.azimuth);
37 assertClose(v.elevation, c.elevation);
38 assertClose(v.distance, c.distance);
41 public static void assertClose(AoaVector v, AoaVector c) {
42 assertClose(v.azimuth, c.azimuth);
43 assertClose(v.elevation, c.elevation);
44 assertClose(v.distance, c.distance);
[all …]
/packages/modules/Bluetooth/system/bta/test/
Dbta_dip_test.cc56 g_attr_service_class_id_list.attr_value.v.p_sub_attr = &g_sub_attr; in SetUp()
58 g_sub_attr.attr_value.v.u16 = 0x1200; in SetUp()
63 g_attr_spec_id.attr_value.v.u16 = 0x0103; in SetUp()
68 g_attr_vendor_id.attr_value.v.u16 = 0x18d1; in SetUp()
74 g_attr_vendor_id_src.attr_value.v.u16 = 1; in SetUp()
79 g_attr_vendor_product_id.attr_value.v.u16 = 0x1234; in SetUp()
84 g_attr_vendor_product_version.attr_value.v.u16 = 0x0100; in SetUp()
89 g_attr_vendor_product_primary_record.attr_value.v.u8 = 1; in SetUp()
137 g_attr_spec_id.attr_value.v.u16 = 0x0103; in TEST_F()
140 g_attr_vendor_id.attr_value.v.u16 = 0x18d1; in TEST_F()
[all …]
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/notifications/
DConsentNotificationActivity.java145 LogUtil.v("LANDING_PAGE_DISPLAYED logged!"); in handleAction()
155 LogUtil.v("LANDING_PAGE_DISMISSED logged!"); in handleAction()
163 LogUtil.v("LANDING_PAGE_SCROLLED logged!"); in handleAction()
171 LogUtil.v("LANDING_PAGE_SCROLLED_TO_BOTTOM logged!"); in handleAction()
179 LogUtil.v("LANDING_PAGE_ADDITIONAL_INFO_CLICKED logged!"); in handleAction()
187 LogUtil.v("LANDING_PAGE_ADDITIONAL_INFO_2_CLICKED logged!"); in handleAction()
195 LogUtil.v("LANDING_PAGE_MORE_BUTTON_CLICKED logged!"); in handleAction()
203 LogUtil.v("LANDING_PAGE_SETTINGS_BUTTON_CLICKED logged!"); in handleAction()
211 LogUtil.v("LANDING_PAGE_OPT_IN_CLICKED logged!"); in handleAction()
219 LogUtil.v("LANDING_PAGE_OPT_OUT_CLICKED logged!"); in handleAction()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DUtilitiesKt.kt106 v: View?, in modifyAttributesOnViewTree()
110 if (v == null) { in modifyAttributesOnViewTree()
113 if (v is ViewGroup) { in modifyAttributesOnViewTree()
115 modifier.saveAndChangeAttribute(v) in modifyAttributesOnViewTree()
118 if (v === parent) { in modifyAttributesOnViewTree()
121 if (v.parent is View) { in modifyAttributesOnViewTree()
122 modifyAttributesOnViewTree(v.parent as View, parent, *modifiers) in modifyAttributesOnViewTree()
140 v: View?, in restoreAttributesOnViewTree()
144 if (v == null) { in restoreAttributesOnViewTree()
147 if (v is ViewGroup) { in restoreAttributesOnViewTree()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
DDragHost.java59 public boolean canHandleDragEvent(View v) { in canHandleDragEvent() argument
60 return v instanceof RootItemView; in canHandleDragEvent()
64 public void setDropTargetHighlight(View v, boolean highlight) { in setDropTargetHighlight() argument
66 RootItemView itemView = (RootItemView) v; in setDropTargetHighlight()
71 public void onViewHovered(View v) { in onViewHovered() argument
73 RootItemView itemView = (RootItemView) v; in onViewHovered()
76 mDestinationLookup.lookup(v).open(); in onViewHovered()
80 public void onDragEntered(View v) { in onDragEntered() argument
81 final Item item = mDestinationLookup.lookup(v); in onDragEntered()
85 mDragAndDropManager.updateStateToNotAllowed(v); in onDragEntered()
[all …]
/packages/modules/Uwb/framework/java/android/uwb/
DRangingSession.java569 Log.v(mTag, "start - sessionHandle: " + mSessionHandle); in start()
595 Log.v(mTag, "reconfigure - sessionHandle: " + mSessionHandle); in reconfigure()
628 Log.v(mTag, "stop - sessionHandle: " + mSessionHandle); in stop()
663 Log.v(mTag, "close - sessionHandle: " + mSessionHandle); in close()
689 Log.v(mTag, "addControlee - sessionHandle: " + mSessionHandle); in addControlee()
715 Log.v(mTag, "removeControlee - sessionHandle: " + mSessionHandle); in removeControlee()
749 Log.v(mTag, "pause - sessionHandle: " + mSessionHandle); in pause()
778 Log.v(mTag, "resume - sessionHandle: " + mSessionHandle); in resume()
810 Log.v(mTag, "sendData - sessionHandle: " + mSessionHandle); in sendData()
839 Log.v(mTag, "setDataTransferPhaseConfig - sessionHandle: " + mSessionHandle); in setDataTransferPhaseConfig()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DActionAdapter.java273 private void changeFocus(View v, boolean hasFocus, boolean shouldAnimate) { in changeFocus() argument
274 if (v == null) { in changeFocus()
277 Action action = (Action) v.getTag(R.id.action_title); in changeFocus()
286 TextView title = (TextView) v.findViewById(R.id.action_title); in changeFocus()
289 TextView description = (TextView) v.findViewById(R.id.action_description); in changeFocus()
292 ImageView checkmark = (ImageView) v.findViewById(R.id.action_checkmark); in changeFocus()
295 ImageView icon = (ImageView) v.findViewById(R.id.action_icon); in changeFocus()
298 View chevronBackground = v.findViewById(R.id.action_next_chevron_background); in changeFocus()
303 mOnFocusListener.onActionFocused((Action) v.getTag(R.id.action_title)); in changeFocus()
334 public void onClick(View v) { in onClick() argument
[all …]
/packages/apps/Messaging/src/com/android/messaging/ui/
DVCardDetailAdapter.java55 PersonItemView v; in getChildView() local
57 v = instantiateView(parent); in getChildView()
59 v = (PersonItemView) convertView; in getChildView()
65 v.bind(item.getDisplayItem()); in getChildView()
66 return v; in getChildView()
92 PersonItemView v; in getGroupView() local
94 v = instantiateView(parent); in getGroupView()
96 v = (PersonItemView) convertView; in getGroupView()
100 v.bind(item.getDisplayItem()); in getGroupView()
101 return v; in getGroupView()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/util/
DLauncherBindableItemsContainer.java48 ItemOperator op = (info, v) -> { in updateWorkspaceItems()
49 if (v instanceof BubbleTextView && updates.contains(info)) { in updateWorkspaceItems()
51 BubbleTextView shortcut = (BubbleTextView) v; in updateWorkspaceItems()
61 } else if (info instanceof FolderInfo && v instanceof FolderIcon) { in updateWorkspaceItems()
62 ((FolderIcon) v).updatePreviewItems(updates::contains); in updateWorkspaceItems()
63 } else if (info instanceof AppPairInfo && v instanceof AppPairIcon appPairIcon) { in updateWorkspaceItems()
83 ItemOperator op = (info, v) -> { in updateRestoreItems()
84 if (info instanceof WorkspaceItemInfo && v instanceof BubbleTextView in updateRestoreItems()
86 ((BubbleTextView) v).applyLoadingState(null); in updateRestoreItems()
87 } else if (v instanceof PendingAppWidgetHostView in updateRestoreItems()
[all …]
/packages/modules/Uwb/service/java/com/android/server/uwb/correction/pose/
DApplicationPoseSource.java84 public void applyPose(float[] v) { in applyPose() argument
85 if (v.length == 7) { in applyPose()
86 publish(new Pose(new Vector3(v[0], v[1], v[2]), in applyPose()
87 new Quaternion(v[3], v[4], v[5], v[6]))); in applyPose()
88 } else if (v.length == 16) { in applyPose()
89 publish(Pose.fromMatrix(new Matrix(v))); in applyPose()
/packages/apps/CertInstaller/src/com/android/certinstaller/
DViewHelper.java34 TextView v = (TextView) mView.findViewById(R.id.error); in showError() local
35 v.setText(msgId); in showError()
36 if (v != null) v.setVisibility(View.VISIBLE); in showError()
45 TextView v = (TextView) mView.findViewById(viewId); in setText()
46 if (v != null) v.setText(text); in setText()
50 TextView v = (TextView) mView.findViewById(viewId); in setText() local
51 if (v != null) v.setText(textId); in setText()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DFledgeMaintenanceTasksWorker.java126 sLogger.v("Clearing expired Ad Selection data"); in clearExpiredAdSelectionData()
129 sLogger.v("Clearing expired Buyer Decision Logic data "); in clearExpiredAdSelectionData()
135 sLogger.v("Clearing expired Registered Ad Interaction data "); in clearExpiredAdSelectionData()
145 sLogger.v("Clearing expired Registered Ad Interaction data "); in clearExpiredAdSelectionData()
151 sLogger.v("Clearing expired Ad Selection Initialization data"); in clearExpiredAdSelectionData()
156 sLogger.v("Clearing expired Registered Ad Interaction data from unified table "); in clearExpiredAdSelectionData()
161 sLogger.v("Clearing expired Encryption Context"); in clearExpiredAdSelectionData()
166 sLogger.v("Clearing expired debug reports "); in clearExpiredAdSelectionData()
190 sLogger.v( in clearInvalidFrequencyCapHistogramData()
199 sLogger.v( in clearInvalidFrequencyCapHistogramData()
[all …]
DCustomAudienceServiceFilter.java95 sLogger.v("Validating caller package name."); in filterRequest()
98 sLogger.v("Validating API is not throttled."); in filterRequest()
102 sLogger.v("Checking caller is in foreground."); in filterRequest()
106 sLogger.v("Checking ad tech is allowed to use FLEDGE."); in filterRequest()
111 sLogger.v("Validating caller package is in allow list."); in filterRequest()
115 sLogger.v("Validating per-app user consent."); in filterRequest()
154 sLogger.v("Validating caller package name."); in filterRequestAndExtractIdentifier()
157 sLogger.v("Validating API is not throttled."); in filterRequestAndExtractIdentifier()
161 sLogger.v("Checking caller is in foreground."); in filterRequestAndExtractIdentifier()
167 sLogger.v("Using URI host as ad tech's identifier."); in filterRequestAndExtractIdentifier()
[all …]
/packages/apps/Messaging/src/com/android/messaging/mmslib/util/
DAbstractCache.java37 Log.v(TAG, "Trying to put " + key + " into cache."); in put()
44 Log.v(TAG, "Failed! size limitation reached."); in put()
55 Log.v(TAG, key + " cached, " + mCacheMap.size() + " items total."); in put()
64 Log.v(TAG, "Trying to get " + key + " from cache."); in get()
72 Log.v(TAG, key + " hit " + cacheEntry.hit + " times."); in get()
82 Log.v(TAG, "Trying to purge " + key); in purge()
85 CacheEntry<V> v = mCacheMap.remove(key); in purge() local
88 Log.v(TAG, mCacheMap.size() + " items cached."); in purge()
91 return v != null ? v.value : null; in purge()
96 Log.v(TAG, "Purging cache, " + mCacheMap.size() in purgeAll()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DHighlightablePreferenceGroupAdapter.java64 View v = holder.itemView; in updateBackground() local
66 addHighlightBackground(v); in updateBackground()
67 } else if (hasHighlightBackground(v)) { in updateBackground()
68 removeHighlightBackground(v); in updateBackground()
112 private void addHighlightBackground(View v) { in addHighlightBackground() argument
113 v.setTag(R.id.preference_highlighted, true); in addHighlightBackground()
114 v.setBackgroundResource(mHighlightBackgroundRes); in addHighlightBackground()
117 private void removeHighlightBackground(View v) { in removeHighlightBackground() argument
118 v.setTag(R.id.preference_highlighted, false); in removeHighlightBackground()
119 v.setBackgroundResource(mNormalBackgroundRes); in removeHighlightBackground()
[all …]
/packages/services/Car/tests/NetworkPreferenceApp/src/com/google/android/car/networking/preferenceupdater/fragments/
DManagerFragment.java116 View v = inflater.inflate(R.layout.manager, container, false); in onCreateView() local
124 defineViewsFromFragment(v); in onCreateView()
137 return v; in onCreateView()
148 private void defineViewsFromFragment(View v) { in defineViewsFromFragment() argument
149 mOEMPaidAppsEditText = v.findViewById(R.id.OEMPaidAppsEditText); in defineViewsFromFragment()
150 mOEMPaidNoFallbackAppsEditText = v.findViewById(R.id.OEMPaidNoFallbackAppsEditText); in defineViewsFromFragment()
151 mOEMPaidOnlyAppsEditText = v.findViewById(R.id.OEMPaidOnlyAppsEditText); in defineViewsFromFragment()
152 mOEMPrivateOnlyAppsEditText = v.findViewById(R.id.OEMPrivateOnlyAppsEditText); in defineViewsFromFragment()
153 mOEMPaidWifiSSIDsEditText = v.findViewById(R.id.OEMPaidWifiSSIDsEditText); in defineViewsFromFragment()
154 mOEMPrivateWifiSSIDsEditText = v.findViewById(R.id.OEMPrivateWifiSSIDsEditText); in defineViewsFromFragment()
[all …]

12345678910>>...101