Home
last modified time | relevance | path

Searched refs:Vector (Results 1 – 25 of 565) sorted by relevance

12345678910>>...23

/frameworks/av/drm/libmediadrm/include/mediadrm/
DIDrm.h48 Vector<uint8_t> &sessionId) = 0;
50 virtual status_t closeSession(Vector<uint8_t> const &sessionId) = 0;
53 getKeyRequest(Vector<uint8_t> const &sessionId,
54 Vector<uint8_t> const &initData,
57 Vector<uint8_t> &request, String8 &defaultUrl,
60 virtual status_t provideKeyResponse(Vector<uint8_t> const &sessionId,
61 Vector<uint8_t> const &response,
62 Vector<uint8_t> &keySetId) = 0;
64 virtual status_t removeKeys(Vector<uint8_t> const &keySetId) = 0;
66 virtual status_t restoreKeys(Vector<uint8_t> const &sessionId,
[all …]
DDrmHal.h56 inline bool operator==(const Vector<uint8_t> &l, const Vector<uint8_t> &r) {
66 explicit DrmSessionClient(DrmHal* drm, const Vector<uint8_t>& sessionId) in DrmSessionClient()
73 const Vector<uint8_t> mSessionId;
100 Vector<uint8_t> &sessionId);
102 virtual status_t closeSession(Vector<uint8_t> const &sessionId);
105 getKeyRequest(Vector<uint8_t> const &sessionId,
106 Vector<uint8_t> const &initData,
109 Vector<uint8_t> &request, String8 &defaultUrl,
112 virtual status_t provideKeyResponse(Vector<uint8_t> const &sessionId,
113 Vector<uint8_t> const &response,
[all …]
DDrmSessionManager.h38 bool isEqualSessionId(const Vector<uint8_t> &sessionId1, const Vector<uint8_t> &sessionId2);
54 … void addSession(int pid, const sp<IResourceManagerClient>& drm, const Vector<uint8_t>& sessionId);
55 void useSession(const Vector<uint8_t>& sessionId);
56 void removeSession(const Vector<uint8_t>& sessionId);
61 bool containsSession(const Vector<uint8_t>& sessionId) const;
/frameworks/native/headers/media_plugin/media/drm/
DDrmAPI.h126 Vector<uint8_t> mKeyId;
198 virtual status_t openSession(Vector<uint8_t> &sessionId) = 0;
201 virtual status_t closeSession(Vector<uint8_t> const &sessionId) = 0;
231 getKeyRequest(Vector<uint8_t> const &scope,
232 Vector<uint8_t> const &initData,
235 Vector<uint8_t> &request, String8 &defaultUrl,
252 virtual status_t provideKeyResponse(Vector<uint8_t> const &scope,
253 Vector<uint8_t> const &response,
254 Vector<uint8_t> &keySetId) = 0;
257 virtual status_t removeKeys(Vector<uint8_t> const &sessionId) = 0;
[all …]
/frameworks/av/drm/mediadrm/plugins/mock/
DMockDrmCryptoPlugin.h59 status_t openSession(Vector<uint8_t> &sessionId);
60 status_t closeSession(Vector<uint8_t> const &sessionId);
62 status_t getKeyRequest(Vector<uint8_t> const &sessionId,
63 Vector<uint8_t> const &initData,
66 Vector<uint8_t> &request, String8 &defaultUrl,
69 status_t provideKeyResponse(Vector<uint8_t> const &sessionId,
70 Vector<uint8_t> const &response,
71 Vector<uint8_t> &keySetId);
73 status_t removeKeys(Vector<uint8_t> const &keySetId);
75 status_t restoreKeys(Vector<uint8_t> const &sessionId,
[all …]
DMockDrmCryptoPlugin.cpp83 status_t MockDrmPlugin::openSession(Vector<uint8_t> &sessionId) in openSession()
98 status_t MockDrmPlugin::closeSession(Vector<uint8_t> const &sessionId) in closeSession()
112 status_t MockDrmPlugin::getKeyRequest(Vector<uint8_t> const &sessionId, in getKeyRequest()
113 Vector<uint8_t> const &initData, in getKeyRequest()
116 Vector<uint8_t> &request, String8 &defaultUrl, in getKeyRequest()
185 status_t MockDrmPlugin::provideKeyResponse(Vector<uint8_t> const &sessionId, in provideKeyResponse()
186 Vector<uint8_t> const &response, in provideKeyResponse()
187 Vector<uint8_t> &keySetId) in provideKeyResponse()
216 status_t MockDrmPlugin::removeKeys(Vector<uint8_t> const &keySetId) in removeKeys()
232 status_t MockDrmPlugin::restoreKeys(Vector<uint8_t> const &sessionId, in restoreKeys()
[all …]
/frameworks/av/drm/mediadrm/plugins/clearkey/default/include/
DDrmPlugin.h38 using android::Vector;
46 virtual status_t openSession(Vector<uint8_t>& sessionId);
48 virtual status_t closeSession(const Vector<uint8_t>& sessionId);
51 const Vector<uint8_t>& scope,
52 const Vector<uint8_t>& mimeType,
56 Vector<uint8_t>& request,
61 const Vector<uint8_t>& scope,
62 const Vector<uint8_t>& response,
63 Vector<uint8_t>& keySetId);
65 virtual status_t removeKeys(const Vector<uint8_t>& sessionId) { in removeKeys()
[all …]
DJsonWebKey.h33 using android::Vector;
44 Vector<jsmntok_t> mJsmnTokens;
45 Vector<String8> mJsonObjects;
46 Vector<String8> mTokens;
49 Vector<uint8_t>* decodedText);
54 bool parseJsonObject(const String8& jsonObject, Vector<String8>* tokens);
55 bool parseJsonWebKeySet(const String8& jsonWebKeySet, Vector<String8>* jsonObjects);
DSession.h34 explicit Session(const android::Vector<uint8_t>& sessionId) in Session()
38 const android::Vector<uint8_t>& sessionId() const { return mSessionId; } in sessionId()
41 const android::Vector<uint8_t>& mimeType,
43 android::Vector<uint8_t>* keyRequest) const;
46 const android::Vector<uint8_t>& response);
56 const android::Vector<uint8_t> mSessionId;
DInitDataParser.h31 android::status_t parse(const android::Vector<uint8_t>& initData,
33 android::Vector<uint8_t>* licenseRequest);
38 android::status_t parsePssh(const android::Vector<uint8_t>& initData,
39 android::Vector<const uint8_t*>* keyIds);
42 const android::Vector<const uint8_t*>& keyIds);
/frameworks/native/services/utils/tests/
DPriorityDumper_test.cpp35 MOCK_METHOD3(dumpCritical, status_t(int, const Vector<String16>&, bool));
36 MOCK_METHOD3(dumpHigh, status_t(int, const Vector<String16>&, bool));
37 MOCK_METHOD3(dumpNormal, status_t(int, const Vector<String16>&, bool));
38 MOCK_METHOD3(dumpAll, status_t(int, const Vector<String16>&, bool));
43 MOCK_METHOD3(dumpCritical, status_t(int, const Vector<String16>&, bool));
44 MOCK_METHOD3(dumpHigh, status_t(int, const Vector<String16>&, bool));
45 MOCK_METHOD3(dumpNormal, status_t(int, const Vector<String16>&, bool));
56 static void addAll(Vector<String16>& av, const std::vector<std::string>& v) { in addAll()
63 Vector<String16> args; in TEST_F()
69 Vector<String16> args; in TEST_F()
[all …]
/frameworks/av/drm/mediadrm/plugins/clearkey/default/tests/
DInitDataParserUnittest.cpp40 status_t attemptParse(const Vector<uint8_t>& initData, in attemptParse()
42 Vector<uint8_t>* licenseRequest) { in attemptParse()
47 void attemptParseExpectingSuccess(const Vector<uint8_t>& initData, in attemptParseExpectingSuccess()
49 const Vector<String8>& expectedKeys) { in attemptParseExpectingSuccess()
52 Vector<uint8_t> request; in attemptParseExpectingSuccess()
70 void attemptParseExpectingFailure(const Vector<uint8_t>& initData, in attemptParseExpectingFailure()
72 Vector<uint8_t> request; in attemptParseExpectingFailure()
90 Vector<uint8_t> initData; in TEST_F()
93 Vector<String8> expectedKeys; in TEST_F()
115 Vector<uint8_t> initData; in TEST_F()
[all …]
/frameworks/av/drm/libmediadrm/
DIDrm.cpp131 Vector<uint8_t> &sessionId) { in openSession()
145 virtual status_t closeSession(Vector<uint8_t> const &sessionId) { in closeSession()
159 getKeyRequest(Vector<uint8_t> const &sessionId, in getKeyRequest()
160 Vector<uint8_t> const &initData, in getKeyRequest()
163 Vector<uint8_t> &request, String8 &defaultUrl, in getKeyRequest()
191 virtual status_t provideKeyResponse(Vector<uint8_t> const &sessionId, in provideKeyResponse()
192 Vector<uint8_t> const &response, in provideKeyResponse()
193 Vector<uint8_t> &keySetId) { in provideKeyResponse()
209 virtual status_t removeKeys(Vector<uint8_t> const &keySetId) { in removeKeys()
222 virtual status_t restoreKeys(Vector<uint8_t> const &sessionId, in restoreKeys()
[all …]
DDrmSessionManager.cpp37 static String8 GetSessionIdString(const Vector<uint8_t> &sessionId) { in GetSessionIdString()
45 static std::vector<uint8_t> toStdVec(const Vector<uint8_t> &vector) { in toStdVec()
55 static Vector<MediaResource> toResourceVec(const Vector<uint8_t> &sessionId) { in toResourceVec()
56 Vector<MediaResource> resources; in toResourceVec()
74 bool isEqualSessionId(const Vector<uint8_t> &sessionId1, const Vector<uint8_t> &sessionId2) { in isEqualSessionId()
122 const sp<IResourceManagerClient>& drm, const Vector<uint8_t> &sessionId) { in addSession()
137 void DrmSessionManager::useSession(const Vector<uint8_t> &sessionId) { in useSession()
150 void DrmSessionManager::removeSession(const Vector<uint8_t> &sessionId) { in removeSession()
178 Vector<uint8_t> dummy; in reclaimSession()
187 bool DrmSessionManager::containsSession(const Vector<uint8_t>& sessionId) const { in containsSession()
DDrmHal.cpp111 static const Vector<uint8_t> toVector(const hidl_vec<uint8_t> &vec) { in toVector()
112 Vector<uint8_t> vector; in toVector()
114 return *const_cast<const Vector<uint8_t> *>(&vector); in toVector()
117 static hidl_vec<uint8_t> toHidlVec(const Vector<uint8_t> &vector) { in toHidlVec()
219 static List<Vector<uint8_t>> toSecureStops(const hidl_vec<SecureStop>& in toSecureStops()
221 List<Vector<uint8_t>> secureStops; in toSecureStops()
228 static List<Vector<uint8_t>> toSecureStopIds(const hidl_vec<SecureStopId>& in toSecureStopIds()
230 List<Vector<uint8_t>> secureStopIds; in toSecureStopIds()
237 static List<Vector<uint8_t>> toKeySetIds(const hidl_vec<KeySetId>& in toKeySetIds()
239 List<Vector<uint8_t>> keySetIds; in toKeySetIds()
[all …]
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
Drange.h16 Range(Eigen::Vector<T, d> p1, Eigen::Vector<T, d> p2) : p1(p1), p2(p2) {} in Range()
18 static Range<T, d> FromSize(Eigen::Vector<T, d> p1, in FromSize()
19 Eigen::Vector<T, d> size) { in FromSize()
27 Eigen::Vector<T, d> GetMinPoint() const { return p1; } in GetMinPoint()
29 Eigen::Vector<T, d> GetMaxPoint() const { return p2; } in GetMaxPoint()
31 Eigen::Vector<T, d> GetSize() const { return p2 - p1; } in GetSize()
33 Eigen::Vector<T, d> p1;
34 Eigen::Vector<T, d> p2;
/frameworks/base/tools/split-select/
DAbi.cpp24 static Vector<Variant> buildVariants(Variant v1, Variant v2) { in buildVariants()
25 Vector<Variant> v; in buildVariants()
31 static Vector<Variant> buildVariants(Variant v1, Variant v2, Variant v3) { in buildVariants()
32 Vector<Variant> v; in buildVariants()
39 static const Vector<Variant> sNoneVariants;
40 static const Vector<Variant> sArmVariants = buildVariants(Variant_armeabi, Variant_armeabi_v7a, Var…
41 static const Vector<Variant> sIntelVariants = buildVariants(Variant_x86, Variant_x86_64);
42 static const Vector<Variant> sMipsVariants = buildVariants(Variant_mips, Variant_mips64);
62 const Vector<Variant>& getVariants(Family family) { in getVariants()
DGrouper_test.cpp32 Vector<SplitDescription> splits; in SetUp()
58 void addSplit(Vector<SplitDescription>& splits, const char* str);
63 void expectHasGroupWithSplits(const Vector<const char*>& expectedStrs);
65 Vector<SortedVector<SplitDescription> > mGroups;
104 Vector<const char*> expected; in expectHasGroupWithSplits()
110 Vector<const char*> expected; in expectHasGroupWithSplits()
117 Vector<const char*> expected; in expectHasGroupWithSplits()
125 Vector<const char*> expected; in expectHasGroupWithSplits()
133 void GrouperTest::expectHasGroupWithSplits(const Vector<const char*>& expectedStrs) { in expectHasGroupWithSplits()
134 Vector<SplitDescription> splits; in expectHasGroupWithSplits()
[all …]
/frameworks/av/include/media/
DMicrophoneInfo.h56 Vector<float> frequencies; in MicrophoneInfo()
57 Vector<float> responses; in MicrophoneInfo()
116 Vector<float> frequencies; in readFromParcel()
120 Vector<float> responses; in readFromParcel()
173 const Vector<float>& getGeometricLocation() const { in getGeometricLocation()
177 const Vector<float>& getOrientation() const { in getOrientation()
181 const Vector<Vector<float>>& getFrequencyResponses() const { in getFrequencyResponses()
185 const Vector<int>& getChannelMapping() const { in getChannelMapping()
207 const Parcel* parcel, Vector<float> *vectorPtr, size_t defaultLength) { in readFloatVector()
221 status_t writeFloatVector(Parcel* parcel, const Vector<float>& vector) const { in writeFloatVector()
[all …]
/frameworks/av/media/libmedia/include/media/
DMediaProfiles.h129 Vector<output_format> getOutputFileFormats() const;
134 Vector<video_encoder> getVideoEncoders() const;
155 Vector<audio_encoder> getAudioEncoders() const;
174 Vector<video_decoder> getVideoDecoders() const;
179 Vector<audio_decoder> getAudioDecoders() const;
184 Vector<int> getImageEncodingQualityLevels(int cameraId) const;
343 Vector<int> mLevels;
347 void initRequiredProfileRefs(const Vector<int>& cameraIds);
374 int cameraId, const char **atts, Vector<int>& cameraIds);
450 Vector<CamcorderProfile*> mCamcorderProfiles;
[all …]
/frameworks/base/tools/aapt/
DStringPool.h51 Vector<size_t> indices;
53 Vector<ResTable_config> configs;
78 Vector<entry_style_span> spans;
98 ssize_t add(const String16& value, const Vector<entry_style_span>& spans,
103 status_t addStyleSpans(size_t idx, const Vector<entry_style_span>& spans);
138 const Vector<size_t>* offsetsForString(const String16& val) const;
158 Vector<entry> mEntries;
165 Vector<size_t> mEntryArray;
168 Vector<entry_style> mEntryStyleArray;
178 Vector<size_t> mOriginalPosToNewPos;
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.h113 Vector<Area> focusingAreas;
140 Vector<Area> meteringAreas;
343 Vector<Area> *areas);
350 status_t validateAreas(const Vector<Area> &areas,
396 Vector<Size> availablePreviewSizes;
397 Vector<Size> availableVideoSizes;
400 status_t getFilteredSizes(Size limit, Vector<Size> *sizes);
420 Vector<StreamConfiguration> getStreamConfigurations();
423 Vector<StreamConfiguration> getPreferredStreamConfigurations(int32_t usecaseId) const;
436 bool isFpsSupported(const Vector<Size> &size, int format, int32_t fps);
[all …]
/frameworks/av/drm/mediadrm/plugins/clearkey/default/
DDrmPlugin.cpp60 Vector<uint8_t> testDeviceId; in initProperties()
65 status_t DrmPlugin::openSession(Vector<uint8_t>& sessionId) { in openSession()
71 status_t DrmPlugin::closeSession(const Vector<uint8_t>& sessionId) { in closeSession()
84 const Vector<uint8_t>& scope, in getKeyRequest()
85 const Vector<uint8_t>& initData, in getKeyRequest()
89 Vector<uint8_t>& request, in getKeyRequest()
119 const Vector<uint8_t>& scope, in provideKeyResponse()
120 const Vector<uint8_t>& response, in provideKeyResponse()
121 Vector<uint8_t>& keySetId) { in provideKeyResponse()
141 const String8& name, Vector<uint8_t>& value) const { in getPropertyByteArray()
[all …]
/frameworks/base/media/native/midi/
DMidiDeviceInfo.h41 const Vector<String16>& getInputPortNames() const { return mInputPortNames; } in getInputPortNames()
42 const Vector<String16>& getOutputPortNames() const { return mOutputPortNames; } in getOutputPortNames()
66 const Parcel* parcel, Vector<String16> *vectorPtr, size_t defaultLength);
67 status_t writeStringVector(Parcel* parcel, const Vector<String16>& vector) const;
71 Vector<String16> mInputPortNames;
72 Vector<String16> mOutputPortNames;
/frameworks/native/services/utils/include/serviceutils/
DPriorityDumper.h42 status_t priorityDump(int fd, const Vector<String16>& args);
45 virtual status_t dumpCritical(int /*fd*/, const Vector<String16>& /*args*/, bool /*asProto*/) { in dumpCritical()
50 virtual status_t dumpHigh(int /*fd*/, const Vector<String16>& /*args*/, bool /*asProto*/) { in dumpHigh()
55 virtual status_t dumpNormal(int /*fd*/, const Vector<String16>& /*args*/, bool /*asProto*/) { in dumpNormal()
62 virtual status_t dumpAll(int fd, const Vector<String16>& args, bool asProto);

12345678910>>...23