/frameworks/av/drm/mediadrm/plugins/clearkey/aidl/include/ |
D | DrmPlugin.h | 45 ::ndk::ScopedAStatus closeSession(const std::vector<uint8_t>& in_sessionId) override; 46 ::ndk::ScopedAStatus decrypt(const std::vector<uint8_t>& in_sessionId, 47 const std::vector<uint8_t>& in_keyId, 48 const std::vector<uint8_t>& in_input, 49 const std::vector<uint8_t>& in_iv, 50 std::vector<uint8_t>* _aidl_return) override; 51 ::ndk::ScopedAStatus encrypt(const std::vector<uint8_t>& in_sessionId, 52 const std::vector<uint8_t>& in_keyId, 53 const std::vector<uint8_t>& in_input, 54 const std::vector<uint8_t>& in_iv, [all …]
|
/frameworks/minikin/tests/unittest/ |
D | CmapCoverageTest.cpp | 66 static std::vector<uint8_t> buildCmapFormat4Table(const std::vector<uint16_t>& ranges) { in buildCmapFormat4Table() 75 std::vector<uint8_t> out(finalLength); in buildCmapFormat4Table() 118 static std::vector<uint8_t> buildCmapFormat12Table(const std::vector<uint32_t>& ranges) { in buildCmapFormat12Table() 125 std::vector<uint8_t> out(finalLength); in buildCmapFormat12Table() 151 std::vector<uint32_t> defaultUVSRanges; 152 std::vector<uint32_t> nonDefaultUVS; 154 std::vector<uint8_t> getDefaultUVSAsBinary() const { in getDefaultUVSAsBinary() 156 return std::vector<uint8_t>(); in getDefaultUVSAsBinary() 162 std::vector<uint8_t> out(length); in getDefaultUVSAsBinary() 175 std::vector<uint8_t> getNonDefaultUVSAsBinary() const { in getNonDefaultUVSAsBinary() [all …]
|
/frameworks/base/core/jni/ |
D | com_android_internal_os_LongArrayMultiStateCounter.cpp | 32 new battery::LongArrayMultiStateCounter(stateCount, std::vector<uint64_t>(arrayLength)); in native_init() 69 std::vector<uint64_t> *vector = in native_setValues() local 70 reinterpret_cast<std::vector<uint64_t> *>(longArrayContainerNativePtr); in native_setValues() 72 counter->setValue(state, *vector); in native_setValues() 79 std::vector<uint64_t> *vector = in native_updateValues() local 80 reinterpret_cast<std::vector<uint64_t> *>(longArrayContainerNativePtr); in native_updateValues() 82 counter->updateValue(*vector, timestamp); in native_updateValues() 89 std::vector<uint64_t> *vector = in native_incrementValues() local 90 reinterpret_cast<std::vector<uint64_t> *>(longArrayContainerNativePtr); in native_incrementValues() 92 counter->incrementValue(*vector, timestamp); in native_incrementValues() [all …]
|
D | com_android_internal_os_KernelSingleUidTimeReader.cpp | 27 static jlongArray copyVecsToArray(JNIEnv *env, std::vector<std::vector<uint64_t>> &vec) { in copyVecsToArray() 53 std::optional<std::vector<std::vector<uint64_t>>> timeInFreqDataNanos, in addCpuTimeInFreqDelta() 64 std::vector<uint64_t> flattened; in addCpuTimeInFreqDelta() 80 const std::vector<uint64_t> &delta = counter->updateValue(flattened, timestampMs); in addCpuTimeInFreqDelta() 82 std::vector<uint64_t> *vector = in addCpuTimeInFreqDelta() local 83 reinterpret_cast<std::vector<uint64_t> *>(deltaOutContainerNativePtr); in addCpuTimeInFreqDelta() 84 *vector = delta; in addCpuTimeInFreqDelta() 101 std::optional<std::vector<std::vector<uint64_t>>>(), in addDeltaForTest() 105 std::vector<std::vector<uint64_t>> timeInFreqData; in addDeltaForTest() 108 std::vector<uint64_t> cluster; in addDeltaForTest()
|
/frameworks/native/libs/ftl/ |
D | small_vector_test.cpp | 33 ftl::SmallVector<char, 3> vector; in TEST() local 34 EXPECT_TRUE(vector.empty()); in TEST() 35 EXPECT_FALSE(vector.dynamic()); in TEST() 37 vector = {'a', 'b', 'c'}; in TEST() 38 EXPECT_EQ(vector.size(), 3u); in TEST() 39 EXPECT_FALSE(vector.dynamic()); in TEST() 41 vector.push_back('d'); in TEST() 42 EXPECT_TRUE(vector.dynamic()); in TEST() 44 vector.unstable_erase(vector.begin()); in TEST() 45 EXPECT_EQ(vector, (ftl::SmallVector{'d', 'b', 'c'})); in TEST() [all …]
|
D | static_vector_test.cpp | 33 ftl::StaticVector<char, 3> vector; in TEST() local 34 EXPECT_TRUE(vector.empty()); in TEST() 36 vector = {'a', 'b'}; in TEST() 37 EXPECT_EQ(vector.size(), 2u); in TEST() 39 vector.push_back('c'); in TEST() 40 EXPECT_TRUE(vector.full()); in TEST() 42 EXPECT_FALSE(vector.push_back('d')); in TEST() 43 EXPECT_EQ(vector.size(), 3u); in TEST() 45 vector.unstable_erase(vector.begin()); in TEST() 46 EXPECT_EQ(vector, (ftl::StaticVector{'c', 'b'})); in TEST() [all …]
|
/frameworks/native/libs/cputimeinstate/ |
D | cputimeinstate.h | 27 std::optional<std::vector<std::vector<uint64_t>>> getTotalCpuFreqTimes(); 28 std::optional<std::vector<std::vector<uint64_t>>> getUidCpuFreqTimes(uint32_t uid); 29 std::optional<std::unordered_map<uint32_t, std::vector<std::vector<uint64_t>>>> 31 std::optional<std::unordered_map<uint32_t, std::vector<std::vector<uint64_t>>>> 33 std::optional<std::vector<std::vector<uint32_t>>> getCpuFreqs(); 36 std::vector<uint64_t> active; 37 std::vector<std::vector<uint64_t>> policy; 48 std::optional<std::unordered_map<uint16_t, std::vector<std::vector<uint64_t>>>> 49 getAggregatedTaskCpuFreqTimes(pid_t pid, const std::vector<uint16_t> &aggregationKeys);
|
/frameworks/libs/systemui/toruslib/torus-math/src/main/java/com/google/android/torus/math/ |
D | Vector3.kt | 79 constructor(vector: Vector3) : this(vector.x, vector.y, vector.z) 94 fun multiplyBy(vector: Vector3): Vector3 { in multiplyBy() 95 return multiplyBy(vector.x, vector.y, vector.z) in multiplyBy() 121 fun dot(vector: Vector3): Float { in dot() 122 return dot(vector.x, vector.y, vector.z) in dot() 145 fun distanceTo(vector: Vector3): Float { in distanceTo() 146 return distanceTo(vector.x, vector.y, vector.z) in distanceTo() 187 operator fun minus(vector: Vector3): Vector3 { in minus() 188 return minus(vector.x, vector.y, vector.z) in minus() 191 operator fun plus(vector: Vector3): Vector3 { in plus() [all …]
|
D | Vector2.kt | 58 constructor(vector: Vector2) : this(vector.x, vector.y) 72 fun multiplyBy(vector: Vector2): Vector2 { in multiplyBy() 73 return multiplyBy(vector.x, vector.y) in multiplyBy() 99 fun dot(vector: Vector2): Float { in dot() 100 return dot(vector.x, vector.y) in dot() 122 fun distanceTo(vector: Vector2): Float { in distanceTo() 123 return distanceTo(vector.x, vector.y) in distanceTo() 160 operator fun minus(vector: Vector2): Vector2 { in minus() 161 return minus(vector.x, vector.y) in minus() 164 operator fun plus(vector: Vector2): Vector2 { in plus() [all …]
|
/frameworks/native/libs/battery/ |
D | LongArrayMultiStateCounterTest.cpp | 27 LongArrayMultiStateCounter testCounter(2, std::vector<uint64_t>(4)); in TEST_F() 28 testCounter.updateValue(std::vector<uint64_t>({0, 0, 0, 0}), 1000); in TEST_F() 31 testCounter.updateValue(std::vector<uint64_t>({100, 200, 300, 400}), 3000); in TEST_F() 34 EXPECT_EQ(std::vector<uint64_t>({50, 100, 150, 200}), testCounter.getCount(0)); in TEST_F() 35 EXPECT_EQ(std::vector<uint64_t>({50, 100, 150, 200}), testCounter.getCount(1)); in TEST_F() 39 LongArrayMultiStateCounter testCounter(2, std::vector<uint64_t>(4)); in TEST_F() 40 testCounter.updateValue(std::vector<uint64_t>({0, 0, 0, 0}), 1000); in TEST_F() 43 testCounter.updateValue(std::vector<uint64_t>({100, 200, 300, 400}), 3000); in TEST_F() 45 testCounter.updateValue(std::vector<uint64_t>({200, 300, 400, 500}), 8000); in TEST_F() 53 EXPECT_EQ(std::vector<uint64_t>({130, 180, 230, 280}), testCounter.getCount(0)); in TEST_F() [all …]
|
/frameworks/av/media/libeffects/dynamicsproc/aidl/ |
D | DynamicsProcessingContext.h | 50 RetCode setPreEq(const std::vector<DynamicsProcessing::ChannelConfig>& eqChannels); 51 RetCode setPostEq(const std::vector<DynamicsProcessing::ChannelConfig>& eqChannels); 52 RetCode setPreEqBand(const std::vector<DynamicsProcessing::EqBandConfig>& eqBands); 53 RetCode setPostEqBand(const std::vector<DynamicsProcessing::EqBandConfig>& eqBands); 54 RetCode setMbc(const std::vector<DynamicsProcessing::ChannelConfig>& mbcChannels); 55 RetCode setMbcBand(const std::vector<DynamicsProcessing::MbcBandConfig>& eqBands); 56 RetCode setLimiter(const std::vector<DynamicsProcessing::LimiterConfig>& limiters); 57 RetCode setInputGain(const std::vector<DynamicsProcessing::InputGain>& gain); 60 std::vector<DynamicsProcessing::ChannelConfig> getPreEq(); 61 std::vector<DynamicsProcessing::ChannelConfig> getPostEq(); [all …]
|
/frameworks/native/services/surfaceflinger/FrontEnd/ |
D | LayerLifecycleManager.h | 41 void addLayers(std::vector<std::unique_ptr<RequestedLayerState>>); 46 void applyTransactions(const std::vector<TransactionState>&, bool ignoreUnknownLayers = false); 50 void onHandlesDestroyed(const std::vector<std::pair<uint32_t, std::string /* debugName */>>&, 78 const std::vector<std::unique_ptr<RequestedLayerState>>& getLayers() const; 79 const std::vector<std::unique_ptr<RequestedLayerState>>& getDestroyedLayers() const; 80 const std::vector<RequestedLayerState*>& getChangedLayers() const; 91 std::vector<uint32_t>* getLinkedLayersFromId(uint32_t); 94 std::vector<uint32_t> unlinkLayers(const std::vector<uint32_t>& layerIds, uint32_t linkedLayer); 101 std::vector<uint32_t> references; 106 std::vector<std::shared_ptr<ILifecycleListener>> mListeners; [all …]
|
/frameworks/base/omapi/aidl/vts/functional/AccessControlApp/ |
D | VtsHalOmapiSeAccessControlTestCases.cpp | 58 bool verifyBerTlvData(std::vector<uint8_t> tlv) { in verifyBerTlvData() 83 std::vector<std::vector<uint8_t>> authorizedAids) { in testSelectableAid() 91 std::vector<uint8_t> selectResponse = {}; in testSelectableAid() 124 std::vector<std::vector<uint8_t>> unAuthorizedAids) { in testUnauthorisedAid() 158 std::vector<uint8_t> aid, in testTransmitAPDU() 159 std::vector<std::vector<uint8_t>> apdus) { in testTransmitAPDU() 169 std::vector<uint8_t> selectResponse = {}; in testTransmitAPDU() 170 std::vector<uint8_t> transmitResponse = {}; in testTransmitAPDU() 203 std::vector<uint8_t> aid, in testUnauthorisedAPDU() 204 std::vector<std::vector<uint8_t>> apdus) { in testUnauthorisedAPDU() [all …]
|
/frameworks/native/libs/binder/tests/ |
D | binderRpcWireProtocolTest.cpp | 43 static const std::vector<std::function<void(Parcel* p)>> kFillFuns { 90 …[](Parcel* p) { ASSERT_EQ(OK, p->writeByteVector(std::optional<std::vector<int8_t>>(std::nullopt))… in __anon4b266a362f02() 91 …[](Parcel* p) { ASSERT_EQ(OK, p->writeByteVector(std::optional<std::vector<int8_t>>({-1, 0, 17})))… in __anon4b266a363002() 92 [](Parcel* p) { ASSERT_EQ(OK, p->writeByteVector(std::vector<int8_t>({}))); }, in __anon4b266a363102() 93 [](Parcel* p) { ASSERT_EQ(OK, p->writeByteVector(std::vector<int8_t>({-1, 0, 17}))); }, in __anon4b266a363202() 94 …[](Parcel* p) { ASSERT_EQ(OK, p->writeByteVector(std::optional<std::vector<uint8_t>>(std::nullopt)… in __anon4b266a363302() 95 …[](Parcel* p) { ASSERT_EQ(OK, p->writeByteVector(std::optional<std::vector<uint8_t>>({0, 1, 17})))… in __anon4b266a363402() 96 [](Parcel* p) { ASSERT_EQ(OK, p->writeByteVector(std::vector<uint8_t>({}))); }, in __anon4b266a363502() 97 [](Parcel* p) { ASSERT_EQ(OK, p->writeByteVector(std::vector<uint8_t>({0, 1, 17}))); }, in __anon4b266a363602() 98 …[](Parcel* p) { ASSERT_EQ(OK, p->writeInt32Vector(std::optional<std::vector<int32_t>>(std::nullopt… in __anon4b266a363702() [all …]
|
/frameworks/rs/script_api/ |
D | rs_vector_math.spec | 48 test: vector 59 test: vector 75 test: vector 86 test: vector 100 test: vector 111 test: vector 130 test: vector 140 summary: Approximate length of a vector 142 Computes the approximate length of a vector. 148 test: vector [all …]
|
/frameworks/native/libs/input/tests/ |
D | MotionPredictorMetricsManager_test.cpp | 92 T average(std::vector<T> values) { in average() 97 T standardDeviation(std::vector<T> values) { in standardDeviation() 108 T rmse(std::vector<T> errors) { in rmse() 117 std::vector<float> values{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; in TEST() 123 std::vector<float> values{10, 12, 23, 23, 16, 23, 21, 16}; in TEST() 128 std::vector<float> errors{1, 5, 7, 7, 8, 20}; in TEST() 150 MotionEvent makeMotionEvent(const std::vector<PredictionPoint>& predictionPoints) { in makeMotionEvent() 202 const std::vector<PredictionPoint> in TEST() 243 std::vector<GroundTruthPoint> generateConstantGroundTruthPoints( in generateConstantGroundTruthPoints() 246 std::vector<GroundTruthPoint> groundTruthPoints; in generateConstantGroundTruthPoints() [all …]
|
/frameworks/native/libs/binder/tests/parcel_fuzzer/ |
D | binder.cpp | 105 std::vector<ParcelRead<::android::Parcel>> BINDER_PARCEL_READ_FUNCTIONS { 120 std::vector<uint8_t> bytes = provider.ConsumeBytes<uint8_t>(len); in __anonb0ef96d30202() 128 PARCEL_READ_NO_STATUS(std::vector<android::sp<android::IBinder>>, debugReadAllStrongBinders), 129 PARCEL_READ_NO_STATUS(std::vector<int>, debugReadAllFileDescriptors), 148 std::vector<uint8_t> data(len); in __anonb0ef96d30502() 197 PARCEL_READ_WITH_STATUS(std::vector<ByteEnum>, readEnumVector), 198 PARCEL_READ_WITH_STATUS(std::unique_ptr<std::vector<ByteEnum>>, readEnumVector), 199 PARCEL_READ_WITH_STATUS(std::optional<std::vector<ByteEnum>>, readEnumVector), 200 PARCEL_READ_WITH_STATUS(std::vector<IntEnum>, readEnumVector), 201 PARCEL_READ_WITH_STATUS(std::unique_ptr<std::vector<IntEnum>>, readEnumVector), [all …]
|
D | binder_ndk.cpp | 84 std::vector<ParcelRead<NdkParcelAdapter>> BINDER_NDK_PARCEL_READ_FUNCTIONS{ 139 PARCEL_READ(std::vector<std::string>, ndk::AParcel_readVector), 140 … PARCEL_READ(std::optional<std::vector<std::optional<std::string>>>, ndk::AParcel_readVector), 141 PARCEL_READ(std::vector<SomeParcelable>, ndk::AParcel_readVector), 142 … PARCEL_READ(std::optional<std::vector<std::optional<SomeParcelable>>>, ndk::AParcel_readVector), 143 PARCEL_READ(std::vector<ndk::SpAIBinder>, ndk::AParcel_readVector), 144 PARCEL_READ(std::optional<std::vector<ndk::SpAIBinder>>, ndk::AParcel_readVector), 145 PARCEL_READ(std::vector<ndk::ScopedFileDescriptor>, ndk::AParcel_readVector), 146 PARCEL_READ(std::optional<std::vector<ndk::ScopedFileDescriptor>>, ndk::AParcel_readVector), 147 PARCEL_READ(std::vector<std::shared_ptr<ISomeInterface>>, ndk::AParcel_readVector), [all …]
|
/frameworks/compile/slang/tests/F_vector_cast/ |
D | stderr.txt.expect | 1 …: error: cannot convert between vector values of different size ('float2' (vector of 2 'float' val… 2 …1: error: cannot convert between vector values of different size ('int3' (vector of 3 'int' values… 3 vector_cast.rscript:7:9: error: invalid vector cast 4 vector_cast.rscript:14:9: error: invalid vector cast 5 vector_cast.rscript:21:9: error: invalid vector cast 6 vector_cast.rscript:31:13: error: invalid vector cast
|
/frameworks/av/media/mtp/ |
D | MtpTypes.h | 53 typedef std::vector<MtpStorage *> MtpStorageList; 54 typedef std::vector<MtpDevice*> MtpDeviceList; 55 typedef std::vector<MtpProperty*> MtpPropertyList; 57 typedef std::vector<uint8_t> UInt8List; 58 typedef std::vector<uint16_t> UInt16List; 59 typedef std::vector<uint32_t> UInt32List; 60 typedef std::vector<uint64_t> UInt64List; 61 typedef std::vector<int8_t> Int8List; 62 typedef std::vector<int16_t> Int16List; 63 typedef std::vector<int32_t> Int32List; [all …]
|
/frameworks/av/services/camera/virtualcamera/util/ |
D | MetadataUtil.h | 95 const std::vector<float>& focalLengths); 124 const std::vector<camera_metadata_enum_android_statistics_face_detect_mode_t>& 129 const std::vector<camera_metadata_enum_android_sensor_test_pattern_mode>& 134 const std::vector< 148 const std::vector<StreamConfiguration>& streamConfigurations); 152 const std::vector< 163 const std::vector<camera_metadata_enum_android_noise_reduction_mode>& 182 const std::vector<camera_metadata_enum_android_control_mode_t>& 191 const std::vector<camera_metadata_enum_android_control_scene_mode>& 200 const std::vector<camera_metadata_enum_android_control_effect_mode>& [all …]
|
/frameworks/minikin/include/minikin/ |
D | LayoutCore.h | 46 const std::vector<uint8_t>& fontIndices() const { return mFontIndices; } in fontIndices() 47 const std::vector<uint32_t>& glyphIds() const { return mGlyphIds; } in glyphIds() 48 const std::vector<Point>& points() const { return mPoints; } in points() 49 const std::vector<float>& advances() const { return mAdvances; } in advances() 52 const std::vector<FakedFont>& fonts() const { return mFonts; } in fonts() 73 std::vector<uint8_t> mFontIndices; // per glyph 74 std::vector<uint32_t> mGlyphIds; // per glyph 75 std::vector<Point> mPoints; // per glyph 76 std::vector<uint8_t> mClusters; // per glyph 78 std::vector<float> mAdvances; // per code units [all …]
|
/frameworks/av/drm/mediadrm/plugins/clearkey/aidl/ |
D | DrmPlugin.cpp | 52 std::vector<uint8_t> uint32ToVector(uint32_t value) { in uint32ToVector() 57 return std::vector<uint8_t>(buffer, buffer + sizeof(buffer)); in uint32ToVector() 96 std::vector<uint8_t> valueVector; in initProperties() 132 void DrmPlugin::installSecureStop(const std::vector<uint8_t>& sessionId) { in installSecureStop() 139 mSecureStops.insert(std::pair<std::vector<uint8_t>, ClearkeySecureStop>(clearkeySecureStop.id, in installSecureStop() 143 ::ndk::ScopedAStatus DrmPlugin::closeSession(const std::vector<uint8_t>& in_sessionId) { in closeSession() 165 ::ndk::ScopedAStatus DrmPlugin::decrypt(const std::vector<uint8_t>& in_sessionId, in decrypt() 166 const std::vector<uint8_t>& in_keyId, in decrypt() 167 const std::vector<uint8_t>& in_input, in decrypt() 168 const std::vector<uint8_t>& in_iv, in decrypt() [all …]
|
/frameworks/av/drm/libmediadrmrkp/include/ |
D | DrmRemotelyProvisionedComponent.h | 38 std::string drmDesc, std::vector<uint8_t> bcc); 42 std::vector<uint8_t>* privateKeyHandle) override; 45 const std::vector<MacedPublicKey>& keysToSign, 46 const std::vector<uint8_t>& endpointEncCertChain, 47 const std::vector<uint8_t>& challenge, 49 std::vector<uint8_t>* keysToSignMac) override; 51 ScopedAStatus generateCertificateRequestV2(const std::vector<MacedPublicKey>& keysToSign, 52 const std::vector<uint8_t>& challenge, 53 std::vector<uint8_t>* csr) override; 57 ScopedAStatus getDeviceInfo(std::vector<uint8_t>* deviceInfo); [all …]
|
/frameworks/native/libs/gui/ |
D | BatchBufferOps.cpp | 33 const std::vector<int32_t>& slots, in requestBuffers() 34 std::vector<RequestBufferOutput>* outputs) { in requestBuffers() 46 const std::vector<DequeueBufferInput>& inputs, in dequeueBuffers() 47 std::vector<DequeueBufferOutput>* outputs) { in dequeueBuffers() 66 const std::vector<int32_t>& slots, in detachBuffers() 67 std::vector<status_t>* results) { in detachBuffers() 77 const std::vector<sp<GraphicBuffer>>& buffers, in attachBuffers() 78 std::vector<AttachBufferOutput>* outputs) { in attachBuffers() 89 const std::vector<QueueBufferInput>& inputs, in queueBuffers() 90 std::vector<QueueBufferOutput>* outputs) { in queueBuffers() [all …]
|