Home
last modified time | relevance | path

Searched refs:Get (Results 1 – 25 of 120) sorted by relevance

12345

/frameworks/libs/binary_translation/tests/ndk_program_tests/arm/
Dcpu_features_test.cc59 bool Get(const char* name) const { in Get() function in __anon70b111a90111::ProcCpuinfoFeatures
80 bool Get(uint64_t bits) const { return (features_ & bits) != 0; } in Get() function in __anon70b111a90111::BitFeatures
101 EXPECT_TRUE(cpuinfo.Get("vfpv3")); in TEST()
102 EXPECT_TRUE(cpuinfo.Get("thumb")); in TEST()
109 EXPECT_TRUE(cpuinfo.Get("neon")); in TEST()
110 EXPECT_TRUE(cpuinfo.Get("vfp")); in TEST()
111 EXPECT_TRUE(cpuinfo.Get("swp")); in TEST()
112 EXPECT_TRUE(cpuinfo.Get("half")); in TEST()
113 EXPECT_TRUE(cpuinfo.Get("thumb")); in TEST()
114 EXPECT_TRUE(cpuinfo.Get("fastmult")); in TEST()
[all …]
/frameworks/libs/binary_translation/tests/ndk_program_tests/arm64/
Dcpu_features_test.cc55 bool Get(const char* name) const { in Get() function in __anon9b4153530111::ProcCpuinfoFeatures
73 bool Get(uint64_t bits) const { return (features_ & bits) != 0; } in Get() function in __anon9b4153530111::BitFeatures
100 EXPECT_TRUE(cpuinfo.Get("fp")); in TEST()
101 EXPECT_TRUE(cpuinfo.Get("asimd")); in TEST()
102 EXPECT_TRUE(cpuinfo.Get("aes")); in TEST()
103 EXPECT_TRUE(cpuinfo.Get("pmull")); in TEST()
106 EXPECT_TRUE(cpuinfo.Get("crc32")); in TEST()
108 EXPECT_TRUE(cpuinfo.Get("sha1")); in TEST()
109 EXPECT_TRUE(cpuinfo.Get("sha2")); in TEST()
116 EXPECT_TRUE(hwcap.Get(HWCAP_FP)); in TEST()
[all …]
/frameworks/libs/binary_translation/runtime_primitives/
Dtable_of_tables_test.cc28 ASSERT_EQ(42U, tot.Get(25)); in TEST()
30 ASSERT_EQ(1729U, tot.Get(25)); in TEST()
31 ASSERT_EQ(42U, tot.Get(255)); in TEST()
32 ASSERT_EQ(42U, tot.Get((25 << 16) | 25)); in TEST()
37 ASSERT_EQ(42U, tot.Get(25)); in TEST()
40 ASSERT_EQ(42U, tot.Get(25)); in TEST()
43 ASSERT_EQ(1729U, tot.Get(25)); in TEST()
44 ASSERT_EQ(42U, tot.Get(255)); in TEST()
58 ASSERT_EQ(42U, tot->Get(page | (base + 4))); in TEST()
60 ASSERT_EQ(42U, tot->Get(page | (base + 4))); in TEST()
[all …]
/frameworks/native/libs/vr/libpdx_uds/
Dchannel_event_set.cpp59 eventfd_write(pollin_event_fd_.Get(), 1); in ModifyEvents()
61 eventfd_read(pollin_event_fd_.Get(), &value); in ModifyEvents()
64 eventfd_write(pollhup_event_fd_.Get(), 1); in ModifyEvents()
66 eventfd_read(pollhup_event_fd_.Get(), &value); in ModifyEvents()
82 if (epoll_ctl(epoll_fd.Get(), EPOLL_CTL_ADD, data_fd.Get(), &event) < 0) { in ChannelEventReceiver()
91 if (epoll_ctl(epoll_fd.Get(), EPOLL_CTL_ADD, pollin_event_fd.Get(), &event) < in ChannelEventReceiver()
101 if (epoll_ctl(epoll_fd.Get(), EPOLL_CTL_ADD, pollhup_event_fd.Get(), &event) < in ChannelEventReceiver()
117 std::array<pollfd, 3> pfds = {{{pollin_event_fd_.Get(), POLLIN, 0}, in PollPendingEvents()
118 {pollhup_event_fd_.Get(), POLLIN, 0}, in PollPendingEvents()
119 {data_fd_.Get(), POLLHUP | POLLRDHUP, 0}}}; in PollPendingEvents()
[all …]
Dchannel_parcelable.cpp33 return ChannelManager::Get().CreateHandle(std::move(data_fd_), in TakeChannelHandle()
52 res = parcel->writeFileDescriptor(data_fd_.Get()); in writeToParcel()
59 res = parcel->writeFileDescriptor(pollin_event_fd_.Get()); in writeToParcel()
68 res = parcel->writeFileDescriptor(pollhup_event_fd_.Get()); in writeToParcel()
116 data_fd_.Get(), pollin_event_fd_.Get(), pollhup_event_fd_.Get()); in readFromParcel()
Dchannel_manager.cpp9 ChannelManager& ChannelManager::Get() { in Get() function in android::pdx::uds::ChannelManager
29 const int32_t handle = data_fd.Get(); in CreateHandle()
39 data_fd.Get(), pollin_event_fd.Get(), pollhup_event_fd.Get()); in CreateHandle()
Dservice_endpoint.cpp51 *handle = ChannelManager::Get().CreateHandle( in GetLocalChannelHandle()
63 return handle.Get(); in PushFileHandle()
73 ChannelManager::Get().GetChannelData(handle.value())) { in PushChannelHandle()
152 fcntl(fd.Get(), F_SETFD, FD_CLOEXEC);
165 bind(fd.Get(), reinterpret_cast<sockaddr*>(&local), sizeof(local));
175 CHECK_EQ(listen(socket_fd.Get(), kMaxBackLogForSocketListen), 0) in Init()
189 socket_event.data.fd = socket_fd.Get(); in Init()
190 int ret = epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_ADD, socket_fd.Get(), in Init()
199 cancel_event.data.fd = cancel_event_fd_.Get(); in Init()
201 int ret = epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_ADD, cancel_event_fd_.Get(), in Init()
[all …]
Dipc_helper.cpp60 RETRY_EINTR(sender->Send(socket_fd.Get(), ptr, size, MSG_NOSIGNAL)); in SendAll()
77 RETRY_EINTR(sender->SendMessage(socket_fd.Get(), msg, MSG_NOSIGNAL)); in SendMsgAll()
115 socket_fd.Get(), msg, MSG_WAITALL | MSG_CMSG_CLOEXEC)); in RecvMsgAll()
151 socket_fd.Get(), ptr, size, MSG_WAITALL | MSG_CMSG_CLOEXEC)); in RecvAll()
244 file_handles_.push_back(handle.Get()); in PushFileHandle()
247 return handle.Get(); in PushFileHandle()
255 file_handles_.push_back(handle.Get()); in PushFileHandle()
258 return handle.Get(); in PushFileHandle()
263 return handle.Get(); in PushFileHandle()
424 int ret = fcntl(fd.Get(), F_GETFL); in WaitForEndpoint()
[all …]
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
Dring_buffer.h33 Get(size_) = val; in Append()
40 Get(size_) = std::move(val); in Append()
52 T& Get(size_t i) { return buffer_[(start_ + i) % buffer_.size()]; } in Get() function
54 const T& Get(size_t i) const { in Get() function
58 const T& Back() const { return Get(size_ - 1); } in Back()
60 T& Back() { return Get(size_ - 1); } in Back()
62 const T& Front() const { return Get(0); } in Front()
64 T& Front() { return Get(0); } in Front()
68 Get(size_ - 1) = T(); in PopBack()
75 Get(0) = T(); in PopFront()
/frameworks/libs/binary_translation/intrinsics/include/berberis/intrinsics/
Dsimd_register.h107 [[nodiscard]] constexpr auto Get(int index) const
116 [[nodiscard]] constexpr auto Get() const -> std::enable_if_t<sizeof(T) == 16, std::decay_t<T>> {
120 [[nodiscard]] constexpr auto Get(int index) const
138 if constexpr (sizeof(decltype(lhs == rhs.template Get<T>())) == sizeof(SIMD128Register)) {
141 return _mm_movemask_epi8(lhs == rhs.template Get<T>()) == 0xffff;
143 return lhs == rhs.Get<T>();
150 if constexpr (sizeof(decltype(lhs != rhs.template Get<T>())) == sizeof(SIMD128Register)) {
153 return _mm_movemask_epi8(lhs == rhs.template Get<T>()) != 0xffff;
155 return lhs != rhs.Get<T>();
162 if constexpr (sizeof(decltype(lhs.template Get<T>() == rhs)) == sizeof(SIMD128Register)) {
[all …]
/frameworks/base/packages/CredentialManager/wear/src/com/android/credentialmanager/ui/mappers/
DCredentialSelectorUiStateGetMapper.kt22 import com.android.credentialmanager.CredentialSelectorUiState.Get.MultipleEntry.PerUserNameEntries in <lambda>()
27 fun Request.Get.toGet(isPrimary: Boolean): CredentialSelectorUiState.Get { in <lambda>()
36 CredentialSelectorUiState.Get.SingleEntry( in <lambda>()
50 CredentialSelectorUiState.Get.MultipleEntryPrimaryScreen( in <lambda>()
57 CredentialSelectorUiState.Get.MultipleEntry( in <lambda>()
/frameworks/native/libs/vr/libpdx/
Dservice_dispatcher.cpp44 if (epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_ADD, event_fd_.Get(), &event) < 0) { in ServiceDispatcher()
78 if (epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_ADD, service->endpoint()->epoll_fd(), in AddService()
96 if (epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_DEL, service->endpoint()->epoll_fd(), in RemoveService()
117 int count = epoll_wait(epoll_fd_.Get(), events, kMaxEventsPerLoop, timeout); in ReceiveAndDispatch()
150 int count = epoll_wait(epoll_fd_.Get(), events, kMaxEventsPerLoop, -1); in EnterDispatchLoop()
180 eventfd_write(event_fd_.Get(), 1); // Signal threads to quit. in SetCanceled()
185 eventfd_read(event_fd_.Get(), &value); // Unsignal. in SetCanceled()
/frameworks/base/packages/CredentialManager/wear/robotests/src/com/android/credentialmanager/
DCredentialSelectorUiStateGetMapperTest.kt33 import com.android.credentialmanager.CredentialSelectorUiState.Get.MultipleEntry.PerUserNameEntries
100 val getCredentialUiState = Request.Get( in On primary screen, just one account returns SingleEntry()
106 CredentialSelectorUiState.Get.SingleEntry(passkeyCredentialEntryInfo) in On primary screen, just one account returns SingleEntry()
112 val getCredentialUiState = Request.Get( in On primary screen, multiple accounts returns SingleEntryPerAccount()
119 CredentialSelectorUiState.Get.MultipleEntryPrimaryScreen( in On primary screen, multiple accounts returns SingleEntryPerAccount()
131 val getCredentialUiState = Request.Get( in On secondary screen, a MultipleEntry is returned()
137 CredentialSelectorUiState.Get.MultipleEntry( in On secondary screen, a MultipleEntry is returned()
149 val getCredentialUiState = Request.Get( in Returned multiple entry is sorted by credentialType and lastUsedTimeMillis()
156 CredentialSelectorUiState.Get.MultipleEntry( in Returned multiple entry is sorted by credentialType and lastUsedTimeMillis()
/frameworks/libs/binary_translation/base/include/berberis/base/
Dchecks.h32 constexpr static const char (&Get(int32_t))[sizeof "%" PRId32] { return "%" PRId32; } in Get() function
33 constexpr static const char (&Get(uint32_t))[sizeof "%" PRIu32] { return "%" PRIu32; } in Get() function
34 constexpr static const char (&Get(int64_t))[sizeof "%" PRId64] { return "%" PRId64; } in Get() function
35 constexpr static const char (&Get(uint64_t))[sizeof "%" PRIu64] { return "%" PRIu64; } in Get() function
36 constexpr static const char (&Get(double))[sizeof "%f"] { return "%f"; } in Get() function
37 constexpr static const char (&Get(const void*))[sizeof "%p"] { return "%p"; } in Get() function
41 constexpr static auto& kValue = FmtSpec::Get(static_cast<std::decay_t<Type>>(0));
/frameworks/base/packages/CredentialManager/wear/src/com/android/credentialmanager/
DFlowEngine.kt71 sealed class Get : CredentialSelectorUiState() { in back() class in com.android.credentialmanager.CredentialSelectorUiState
73 data class SingleEntry(val entry: CredentialEntryInfo) : Get() in back()
81 ) : Get() in back()
87 ) : Get() { in back()
DCredentialSelectorViewModel.kt23 import com.android.credentialmanager.CredentialSelectorUiState.Get in <lambda>()
71 is Request.Get -> request.toGet(isPrimary) in <lambda>()
87 is Get.MultipleEntry -> isPrimaryScreen.value = true in <lambda>()
89 is Get.SingleEntry, is Get.MultipleEntryPrimaryScreen -> cancel() in <lambda>()
/frameworks/rs/script_api/
Drs_graphics.spec627 summary: Get the surface height
629 Get the height of the current rendering surface.
638 summary: Get the surface width
640 Get the width of the current rendering surface.
654 summary: Get the bounding box for a text string
800 summary: Get the projection matrix for a fixed function vertex program
802 Get the projection matrix for a currently bound fixed function
856 summary: Get program raster cull mode
858 Get program raster cull mode
868 summary: Get program raster point sprite state
[all …]
/frameworks/libs/binary_translation/interpreter/riscv64/
Dinterpreter_test.cc109 SIMD128Register{__v2du{0x7ff4'0000'0000'0000, 0x3ff0'0000'0000'0000}}.Get<__uint128_t>(); in TestFPExceptions()
111 SIMD128Register{__v2du{0x3ff0'0000'0000'0000, 0x7ff4'0000'0000'0000}}.Get<__uint128_t>(); in TestFPExceptions()
114 0x7fa0'0000, 0x3f80'0000, 0x3f80'0000, 0x7fa0'0000}}.Get<__uint128_t>(); in TestFPExceptions()
148 const auto kUndisturbedValue = SIMD128Register{kUndisturbedResult}.Get<__uint128_t>(); in TestVlXreXX()
159 : SIMD128Register{kVectorComparisonSource[index]}.Get<__uint128_t>())); in TestVlXreXX()
199 state_.cpu.v[16 + reg_no] = index_register.Get<__uint128_t>(); in VlxsegXeiXX()
232 const auto kUndisturbedValue = SIMD128Register{kUndisturbedResult}.Get<__uint128_t>(); in TestVectorLoad()
250 state_.cpu.v[0] = SIMD128Register{kMask}.Get<__uint128_t>(); in TestVectorLoad()
267 SIMD128Register{kUndisturbedResult}.Get<ElementType>(element); in TestVectorLoad()
271 SIMD128Register{kUndisturbedResult}.Get<ElementType>(element); in TestVectorLoad()
[all …]
/frameworks/libs/binary_translation/backend/x86_64/
Drename_vregs_local.cc31 [[nodiscard]] MachineReg Get(MachineReg reg) const { return vreg_set_[reg.GetVRegIndex()]; } in Get() function in berberis::x86_64::__anonc3bb9fbb0111::VRegMap
72 insn_list.insert(insn_it, machine_ir->NewInsn<MovqRegReg>(new_reg, vreg_map.Get(reg))); in TryRenameRegOperand()
83 insn->SetRegAt(operand_index, vreg_map.Get(reg)); in TryRenameRegOperand()
102 out_reg = vreg_map.Get(out_reg); in RenameLiveOuts()
114 in_reg = vreg_map.Get(in_reg); in RenameSuccessorsLiveIns()
Drename_vregs.cc32 insn->SetRegAt(i, Get(reg, bb)); in AssignNewVRegs()
41 MachineReg VRegMap::Get(MachineReg reg, const MachineBasicBlock* bb) { in Get() function in berberis::x86_64::VRegMap
55 MachineReg pred_vreg = vreg_map->Get(vreg, pred_bb); in GenInterBasicBlockMove()
56 MachineReg succ_vreg = vreg_map->Get(vreg, succ_bb); in GenInterBasicBlockMove()
/frameworks/native/libs/vr/libbufferhub/
Dbuffer_hub_base.cpp158 if (pending_fence_fd_.Get() != new_fence.Get()) { in UpdateSharedFence()
162 const int ret = epoll_ctl(shared_fence.Get(), EPOLL_CTL_DEL, in UpdateSharedFence()
163 pending_fence_fd_.Get(), nullptr); in UpdateSharedFence()
176 if (epoll_ctl(shared_fence.Get(), EPOLL_CTL_ADD, pending_fence_fd_.Get(), in UpdateSharedFence()
/frameworks/native/opengl/tools/glgen/stubs/gles11/
Dcommon.cpp69 static void* Get(JNIEnv* _env, jbyteArray array, jboolean* is_copy) { in Get() function in ByteArrayGetter
75 static void* Get(JNIEnv* _env, jbooleanArray array, jboolean* is_copy) { in Get() function in BooleanArrayGetter
81 static void* Get(JNIEnv* _env, jcharArray array, jboolean* is_copy) { in Get() function in CharArrayGetter
87 static void* Get(JNIEnv* _env, jshortArray array, jboolean* is_copy) { in Get() function in ShortArrayGetter
93 static void* Get(JNIEnv* _env, jintArray array, jboolean* is_copy) { in Get() function in IntArrayGetter
99 static void* Get(JNIEnv* _env, jlongArray array, jboolean* is_copy) { in Get() function in LongArrayGetter
105 static void* Get(JNIEnv* _env, jfloatArray array, jboolean* is_copy) { in Get() function in FloatArrayGetter
111 static void* Get(JNIEnv* _env, jdoubleArray array, jboolean* is_copy) { in Get() function in DoubleArrayGetter
119 return ARRAYGETTER::Get(_env, array, is_copy); in getArrayPointer()
/frameworks/native/libs/vr/libbroadcastring/
Dbroadcast_ring_test.cc147 EXPECT_FALSE(ring.Get(&sequence, &record)); in TYPED_TEST()
156 EXPECT_TRUE(ring.Get(&sequence, &record)); in TYPED_TEST()
163 EXPECT_FALSE(ring.Get(&sequence, &record)); in TYPED_TEST()
183 EXPECT_TRUE(ring.Get(&sequence, &record)); in TYPED_TEST()
191 EXPECT_FALSE(ring.Get(&sequence, &record)); in TYPED_TEST()
219 EXPECT_TRUE(ring.Get(&sequence, &record)); in TYPED_TEST()
242 EXPECT_TRUE(ring.Get(&sequence, &record)); in TYPED_TEST()
258 EXPECT_FALSE(ring.Get(&sequence, &record)); in TYPED_TEST()
274 EXPECT_TRUE(ring.Get(&sequence, &record)); in TYPED_TEST()
313 EXPECT_TRUE(imported_ring.Get(&sequence, &imported_record)); in TYPED_TEST()
[all …]
/frameworks/base/packages/CredentialManager/wear/src/com/android/credentialmanager/ui/
DWearApp.kt32 import com.android.credentialmanager.CredentialSelectorUiState.Get.MultipleEntryPrimaryScreen
33 import com.android.credentialmanager.CredentialSelectorUiState.Get.SingleEntry
34 import com.android.credentialmanager.CredentialSelectorUiState.Get.MultipleEntry
123 is CredentialSelectorUiState.Get -> { in WearApp()
148 state: CredentialSelectorUiState.Get, in handleGetNavigation()
/frameworks/base/packages/CredentialManager/shared/src/com/android/credentialmanager/mapper/
DRequestGetMapper.kt27 fun Intent.toGet(context: Context): Request.Get { in Intent()
28 return Request.Get( in Intent()

12345