Home
last modified time | relevance | path

Searched refs:extensions (Results 1 – 25 of 111) sorted by relevance

12345

/packages/modules/SdkExtensions/java/android/os/ext/
DSdkExtensions.java59 Map<Integer, Integer> extensions = new HashMap<Integer, Integer>();
60 extensions.put(VERSION_CODES.R, R_EXTENSION_INT); in extensions.put()
62 extensions.put(VERSION_CODES.S, S_EXTENSION_INT); in extensions.put()
65 extensions.put(VERSION_CODES.TIRAMISU, T_EXTENSION_INT); in extensions.put()
66 extensions.put(AD_SERVICES, AD_SERVICES_EXTENSION_INT); in extensions.put()
69 extensions.put(VERSION_CODES.UPSIDE_DOWN_CAKE, U_EXTENSION_INT); in extensions.put()
71 ALL_EXTENSION_INTS = Collections.unmodifiableMap(extensions);
/packages/modules/NeuralNetworks/extensions/
DREADME.md3 Neural Networks API (NNAPI) vendor extensions, introduced in Android 10, are
6 supporting corresponding vendor extensions. Vendor extensions don't modify the
9 Vendor extensions provide a more structured alternative to OEM operation and
15 Vendor extensions can only be used by explicitly specified Android apps and
18 extensions.
20 A list of Android apps and binaries permitted to use NNAPI vendor extensions is
48 name to distinguish between vendor extensions.
83 types and operand types from other extensions. When using an operand type from
98 ## Using extensions in NNAPI clients
159 Drivers report supported extensions through the `IDevice::getSupportedExtensions`
[all …]
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/
DAudioManagerTest.cpp81 std::list<RtpHeaderExtension> extensions; member in AudioManagerCallback
113 extensions.clear(); in onCallbackHeaderExtension()
116 std::copy(list.begin(), list.end(), std::back_inserter(extensions)); in onCallbackHeaderExtension()
477 std::list<RtpHeaderExtension> extensions; in TEST_F() local
483 extensions.push_back(extension); in TEST_F()
487 parcel.writeInt32(extensions.size()); in TEST_F()
489 for (auto& item : extensions) in TEST_F()
496 EXPECT_CALL(manager, sendRtpHeaderExtension(kSessionId, Pointee(Eq(extensions)))) in TEST_F()
593 std::list<RtpHeaderExtension> extensions; in TEST_F() local
599 extensions.push_back(extension); in TEST_F()
[all …]
/packages/modules/ImsMedia/tests/unit/src/com/android/telephony/imsmedia/
DAudioListenerTest.java162 List<RtpHeaderExtension> extensions = new ArrayList<>(); in testEventRtpHeaderExtensionInd() local
163 extensions.add(new RtpHeaderExtension(1, new byte[]{5})); in testEventRtpHeaderExtensionInd()
164 extensions.add(new RtpHeaderExtension(2, new byte[]{10})); in testEventRtpHeaderExtensionInd()
167 parcel.writeInt(extensions.size()); in testEventRtpHeaderExtensionInd()
168 for (RtpHeaderExtension item : extensions) { in testEventRtpHeaderExtensionInd()
176 times(1)).onHeaderExtensionReceived(eq(extensions)); in testEventRtpHeaderExtensionInd()
DImsVideoSessionTest.java75 List<RtpHeaderExtension> extensions = new ArrayList<RtpHeaderExtension>(); in testConstructorAndApis() local
76 imsVideoSession.sendHeaderExtension(extensions); in testConstructorAndApis()
86 verify(mMockIImsVideoSession).sendHeaderExtension(extensions); in testConstructorAndApis()
DImsAudioSessionTest.java72 List<RtpHeaderExtension> extensions = new ArrayList<RtpHeaderExtension>(); in testConstructorAndApis() local
73 imsAudioSession.sendHeaderExtension(extensions); in testConstructorAndApis()
84 verify(mMockIImsAudioSession).sendHeaderExtension(extensions); in testConstructorAndApis()
DVideoSessionTest.java270 ArrayList extensions = new ArrayList<RtpHeaderExtension>(); in testHeaderExtension() local
271 mVideoSession.sendHeaderExtension(extensions); in testHeaderExtension()
273 verify(mVideoLocalSession, times(1)).sendHeaderExtension(eq(extensions)); in testHeaderExtension()
276 Utils.sendMessage(mHandler, VideoSession.EVENT_RTP_HEADER_EXTENSION_IND, extensions); in testHeaderExtension()
279 verify(mCallback, times(1)).onHeaderExtensionReceived(eq(extensions)); in testHeaderExtension()
DAudioSessionTest.java266 ArrayList extensions = new ArrayList<RtpHeaderExtension>(); in testHeaderExtension() local
267 audioSession.sendHeaderExtension(extensions); in testHeaderExtension()
269 verify(audioLocalSession, times(1)).sendHeaderExtension(eq(extensions)); in testHeaderExtension()
272 Utils.sendMessage(handler, AudioSession.EVENT_RTP_HEADER_EXTENSION_IND, extensions); in testHeaderExtension()
275 verify(callback, times(1)).onHeaderExtensionReceived(eq(extensions)); in testHeaderExtension()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/
DAudioLocalSession.java160 public void sendHeaderExtension(final List<RtpHeaderExtension> extensions) { in sendHeaderExtension() argument
161 Log.d(TAG, "sendHeaderExtension, extension=" + extensions); in sendHeaderExtension()
164 parcel.writeInt(extensions.size()); in sendHeaderExtension()
165 for (RtpHeaderExtension item : extensions) { in sendHeaderExtension()
DVideoSession.java142 public void sendHeaderExtension(List<RtpHeaderExtension> extensions) { in sendHeaderExtension() argument
144 Utils.sendMessage(mHandler, CMD_SEND_RTP_HDR_EXTN, extensions); in sendHeaderExtension()
274 private void handleSendRtpHeaderExtension(List<RtpHeaderExtension> extensions) { in handleSendRtpHeaderExtension() argument
275 mLocalSession.sendHeaderExtension(extensions); in handleSendRtpHeaderExtension()
335 private void handleRtpHeaderExtensionInd(List<RtpHeaderExtension> extensions) { in handleRtpHeaderExtensionInd() argument
337 mCallback.onHeaderExtensionReceived(extensions); in handleRtpHeaderExtensionInd()
DAudioSession.java198 public void sendHeaderExtension(List<RtpHeaderExtension> extensions) { in sendHeaderExtension() argument
200 Utils.sendMessage(mHandler, CMD_SEND_RTP_HDR_EXTN, extensions); in sendHeaderExtension()
408 private void handleSendRtpHeaderExtension(List<RtpHeaderExtension> extensions) { in handleSendRtpHeaderExtension() argument
412 halExtensions = extensions.stream().map(Utils::convertRtpHeaderExtension) in handleSendRtpHeaderExtension()
419 mLocalSession.sendHeaderExtension(extensions); in handleSendRtpHeaderExtension()
502 private void handleRtpHeaderExtensionInd(List<RtpHeaderExtension> extensions) { in handleRtpHeaderExtensionInd() argument
504 mCallback.onHeaderExtensionReceived(extensions); in handleRtpHeaderExtensionInd()
DAudioListener.java99 final List<RtpHeaderExtension> extensions = new ArrayList<RtpHeaderExtension>(); in onMessage() local
102 extensions.add(RtpHeaderExtension.CREATOR.createFromParcel(parcel)); in onMessage()
104 Utils.sendMessage(mHandler, event, extensions); in onMessage()
/packages/modules/SdkExtensions/
DREADME.md21 extension SDK (for instance `build.version.extensions.r`).
127 extensions and the S extensions.
147 * add a unit test to `derive_sdk_test.cpp` verifying the new extensions
150 * update the hard-coded list of extensions in `ReadSystemProperties`
154 - Make the `SdkExtensions.getExtensionVersion` API support the new extensions.
158 * e.g. [for U extensions](http://ag/21507939)
160 - Add a new sdk tag in sdk-extensions-info.xml
/packages/providers/ContactsProvider/tests/assets/testUnsynced/
Dlegacy_contacts.sql15 CREATE TABLE extensions (_id INTEGER PRIMARY KEY AUTOINCREMENT,name TEXT NOT NULL,value TEXT NOT NU… table
75 CREATE INDEX extensionsIndex1 ON extensions (person, name);
90 …old._id;DELETE FROM groupmembership WHERE person = old._id;DELETE FROM extensions WHERE person = o…
96 CREATE TRIGGER extensions_delete DELETE ON extensions BEGIN UPDATE people SET _sync_dirty=1 WHERE p…
97 CREATE TRIGGER extensions_insert INSERT ON extensions BEGIN UPDATE people SET _sync_dirty=1 WHERE p…
98 CREATE TRIGGER extensions_update AFTER UPDATE ON extensions BEGIN UPDATE people SET _sync_dirty=1 W…
/packages/providers/ContactsProvider/tests/assets/testSynced/
Dlegacy_contacts.sql18 CREATE TABLE extensions (_id INTEGER PRIMARY KEY AUTOINCREMENT,name TEXT NOT NULL,value TEXT NOT NU… table
131 CREATE INDEX extensionsIndex1 ON extensions (person, name);
146 …old._id;DELETE FROM groupmembership WHERE person = old._id;DELETE FROM extensions WHERE person = o…
152 CREATE TRIGGER extensions_delete DELETE ON extensions BEGIN UPDATE people SET _sync_dirty=1 WHERE p…
153 CREATE TRIGGER extensions_insert INSERT ON extensions BEGIN UPDATE people SET _sync_dirty=1 WHERE p…
154 CREATE TRIGGER extensions_update AFTER UPDATE ON extensions BEGIN UPDATE people SET _sync_dirty=1 W…
/packages/providers/ContactsProvider/tests/assets/test1/
Dlegacy_contacts.sql31 CREATE TABLE extensions (_id INTEGER PRIMARY KEY AUTOINCREMENT,name TEXT NOT NULL,value TEXT NOT NU… table
107 CREATE INDEX extensionsIndex1 ON extensions (person, name);
122 …old._id;DELETE FROM groupmembership WHERE person = old._id;DELETE FROM extensions WHERE person = o…
128 CREATE TRIGGER extensions_delete DELETE ON extensions BEGIN UPDATE people SET _sync_dirty=1 WHERE p…
129 CREATE TRIGGER extensions_insert INSERT ON extensions BEGIN UPDATE people SET _sync_dirty=1 WHERE p…
130 CREATE TRIGGER extensions_update AFTER UPDATE ON extensions BEGIN UPDATE people SET _sync_dirty=1 W…
/packages/services/Car/tools/telemetry/lua-interpreter/static/js/
Dindex.js82 function configureCodeMirror(textArea, extensions) { argument
84 new EditorView({doc: textArea.value, extensions: extensions}); property
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/nodes/
DRtpDecoderNode.cpp445 std::list<RtpHeaderExtension>* extensions = DecodeRtpHeaderExtension(extensionInfo); in OnMediaDataInd() local
447 if (mCallback != nullptr && extensions != nullptr) in OnMediaDataInd()
450 kImsMediaEventHeaderExtensionReceived, reinterpret_cast<uint64_t>(extensions)); in OnMediaDataInd()
605 std::list<RtpHeaderExtension>* extensions = new std::list<RtpHeaderExtension>(); in DecodeRtpHeaderExtension() local
656 extensions->push_back(extension); in DecodeRtpHeaderExtension()
665 return extensions; in DecodeRtpHeaderExtension()
/packages/modules/ImsMedia/framework/src/android/telephony/imsmedia/
DVideoSessionCallback.java130 public void onHeaderExtensionReceived(final List<RtpHeaderExtension> extensions) { in onHeaderExtensionReceived() argument
135 mExecutor.execute(() -> mLocalCallback.onHeaderExtensionReceived(extensions)); in onHeaderExtensionReceived()
222 public void onHeaderExtensionReceived(final List<RtpHeaderExtension> extensions){ in onHeaderExtensionReceived() argument
DAudioSessionCallback.java147 public void onHeaderExtensionReceived(final List<RtpHeaderExtension> extensions){ in onHeaderExtensionReceived() argument
152 mExecutor.execute(() -> mLocalCallback.onHeaderExtensionReceived(extensions)); in onHeaderExtensionReceived()
266 public void onHeaderExtensionReceived(final List<RtpHeaderExtension> extensions){ in onHeaderExtensionReceived() argument
DImsVideoSession.java113 public void sendHeaderExtension(final List<RtpHeaderExtension> extensions) { in sendHeaderExtension() argument
115 mSession.sendHeaderExtension(extensions); in sendHeaderExtension()
DImsAudioSession.java174 public void sendHeaderExtension(final List<RtpHeaderExtension> extensions) { in sendHeaderExtension() argument
176 miSession.sendHeaderExtension(extensions); in sendHeaderExtension()
/packages/modules/ImsMedia/test/imsmediahal/src/com/android/telephony/testimsmediahal/
DAudioListenerProxy.java132 final List<RtpHeaderExtension> extensions = new ArrayList<RtpHeaderExtension>(); in onMessage() local
135 extensions.add(RtpHeaderExtension.CREATOR.createFromParcel(parcel)); in onMessage()
139 mMediaSessionListener.onHeaderExtensionReceived(extensions); in onMessage()
/packages/apps/Car/Settings/
DAndroid.bp31 "androidx.lifecycle_lifecycle-extensions",
109 "androidx.lifecycle_lifecycle-extensions",
171 "androidx.lifecycle_lifecycle-extensions",
/packages/apps/TvSettings/TwoPanelSettingsLib/
DAndroid.bp40 "androidx.lifecycle_lifecycle-extensions",
45 "androidx.lifecycle_lifecycle-extensions",

12345