Home
last modified time | relevance | path

Searched refs:shared (Results 1 – 25 of 72) sorted by relevance

123

/frameworks/av/media/libmedia/include/media/
DSingleStateQueue.h57 Mutator(Shared *shared) in Mutator() argument
58 : mSequence(0), mShared(shared) in Mutator()
68 Shared *shared = mShared; in push() local
71 android_atomic_acquire_store(sequence, &shared->mSequence); in push()
72 shared->mValue = value; in push()
74 android_atomic_release_store(sequence, &shared->mSequence); in push()
109 Observer(Shared *shared) in Observer() argument
110 : mSequence(0), mSeed(1), mShared(shared) in Observer()
113 shared->init(); in Observer()
119 Shared *shared = mShared; in poll() local
[all …]
DIMediaLogService.h31 virtual void registerWriter(const sp<IMemory>& shared, size_t size, const char *name) = 0;
32 virtual void unregisterWriter(const sp<IMemory>& shared) = 0;
/frameworks/av/include/media/
DSingleStateQueue.h57 Mutator(Shared *shared) in Mutator() argument
58 : mSequence(0), mShared(shared) in Mutator()
68 Shared *shared = mShared; in push() local
71 android_atomic_acquire_store(sequence, &shared->mSequence); in push()
72 shared->mValue = value; in push()
74 android_atomic_release_store(sequence, &shared->mSequence); in push()
109 Observer(Shared *shared) in Observer() argument
110 : mSequence(0), mSeed(1), mShared(shared) in Observer()
113 shared->init(); in Observer()
119 Shared *shared = mShared; in poll() local
[all …]
DIMediaLogService.h31 virtual void registerWriter(const sp<IMemory>& shared, size_t size, const char *name) = 0;
32 virtual void unregisterWriter(const sp<IMemory>& shared) = 0;
/frameworks/av/services/medialog/
DIMediaLogService.cpp43 virtual void registerWriter(const sp<IMemory>& shared, size_t size, const char *name) { in registerWriter() argument
46 data.writeStrongBinder(IInterface::asBinder(shared)); in registerWriter()
53 virtual void unregisterWriter(const sp<IMemory>& shared) { in unregisterWriter() argument
56 data.writeStrongBinder(IInterface::asBinder(shared)); in unregisterWriter()
81 sp<IMemory> shared = interface_cast<IMemory>(data.readStrongBinder()); in onTransact() local
84 registerWriter(shared, size, name); in onTransact()
90 sp<IMemory> shared = interface_cast<IMemory>(data.readStrongBinder()); in onTransact() local
91 unregisterWriter(shared); in onTransact()
DMediaLogService.cpp48 void MediaLogService::registerWriter(const sp<IMemory>& shared, size_t size, const char *name) in registerWriter() argument
50 if (IPCThreadState::self()->getCallingUid() != AID_AUDIOSERVER || shared == 0 || in registerWriter()
52 shared->size() < NBLog::Timeline::sharedSize(size)) { in registerWriter()
55 sp<NBLog::Reader> reader(new NBLog::Reader(shared, size)); in registerWriter()
62 void MediaLogService::unregisterWriter(const sp<IMemory>& shared) in unregisterWriter() argument
64 if (IPCThreadState::self()->getCallingUid() != AID_AUDIOSERVER || shared == 0) { in unregisterWriter()
69 if (mNamedReaders[i].reader()->isIMemory(shared)) { in unregisterWriter()
DMediaLogService.h38 virtual void registerWriter(const sp<IMemory>& shared, size_t size, const char *name);
39 virtual void unregisterWriter(const sp<IMemory>& shared);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DNetworkListStoreDataTest.java184 private byte[] serializeData(boolean shared) throws Exception { in serializeData() argument
188 mNetworkListStoreData.serializeData(out, shared); in serializeData()
201 private List<WifiConfiguration> deserializeData(byte[] data, boolean shared) throws Exception { in deserializeData() argument
205 mNetworkListStoreData.deserializeData(in, in.getDepth(), shared); in deserializeData()
206 if (shared) { in deserializeData()
220 private List<WifiConfiguration> getTestNetworksConfig(boolean shared) { in getTestNetworksConfig() argument
222 openNetwork.shared = shared; in getTestNetworksConfig()
226 eapNetwork.shared = shared; in getTestNetworksConfig()
248 openNetwork.shared, openNetwork.creatorUid); in getTestNetworksXmlBytes()
252 eapNetwork.shared, eapNetwork.creatorUid); in getTestNetworksXmlBytes()
[all …]
DDeletedEphemeralSsidsStoreDataTest.java68 private byte[] serializeData(boolean shared) throws Exception { in serializeData() argument
72 mDeletedEphemeralSsidsStoreData.serializeData(out, shared); in serializeData()
85 private Set<String> deserializeData(byte[] data, boolean shared) throws Exception { in deserializeData() argument
89 mDeletedEphemeralSsidsStoreData.deserializeData(in, in.getDepth(), shared); in deserializeData()
DWifiConfigStoreTest.java386 openNetwork.shared, openNetwork.creatorUid, testSsid); in testReadWifiConfigStoreData()
430 openNetwork.shared, openNetwork.creatorUid, testSsid); in testWriteWifiConfigStoreData()
532 public void serializeData(XmlSerializer out, boolean shared) in serializeData() argument
534 if (shared) { in serializeData()
542 public void deserializeData(XmlPullParser in, int outerTagDepth, boolean shared) in deserializeData() argument
544 if (shared) { in deserializeData()
552 public void resetData(boolean shared) { in resetData() argument
553 if (shared) { in resetData()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DDeletedEphemeralSsidsStoreData.java43 public void serializeData(XmlSerializer out, boolean shared) in serializeData() argument
45 if (shared) { in serializeData()
54 public void deserializeData(XmlPullParser in, int outerTagDepth, boolean shared) in deserializeData() argument
56 if (shared) { in deserializeData()
79 public void resetData(boolean shared) { in resetData() argument
80 if (!shared) { in resetData()
DNetworkListStoreData.java68 public void serializeData(XmlSerializer out, boolean shared) in serializeData() argument
70 if (shared) { in serializeData()
78 public void deserializeData(XmlPullParser in, int outerTagDepth, boolean shared) in deserializeData() argument
80 if (shared) { in deserializeData()
88 public void resetData(boolean shared) { in resetData() argument
89 if (shared) { in resetData()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointConfigStoreData.java115 public void serializeData(XmlSerializer out, boolean shared) in serializeData() argument
117 if (shared) { in serializeData()
125 public void deserializeData(XmlPullParser in, int outerTagDepth, boolean shared) in deserializeData() argument
127 if (shared) { in deserializeData()
135 public void resetData(boolean shared) { in resetData() argument
136 if (shared) { in resetData()
/frameworks/compile/mclinker/include/mcld/LD/
DDiagCommonKinds.inc34 "cannot link shared objects with -static option.\nShared object `%0': %1",
35 "cannot link shared objects with -static option.\nShared object `%0': %1")
98 "can not enable --as-needed on the target which does not support shared "
100 "can not enable --as-needed on the target which does not support shared "
188 "Add DT_TEXTREL in a shared object!",
189 "Add DT_TEXTREL in a shared object.")
196 "cannot mix -nmagic option with -shared",
197 "cannot mix -nmagic option with -shared")
200 "cannot mix -omagic option with -shared",
201 "cannot mix -omagic option with -shared")
/frameworks/av/media/libnbaio/include/
DNBLog.h213 Timeline(size_t size, void *shared = NULL);
242 Writer(void *shared, size_t size);
295 LockedWriter(void *shared, size_t size);
353 Reader(const void *shared, size_t size);
413 Merger(const void *shared, size_t size);
435 MergeReader(const void *shared, size_t size, Merger &merger);
/frameworks/av/media/libnbaio/
DNBLog.cpp193 NBLog::Timeline::Timeline(size_t size, void *shared)
194 : mSize(roundup(size)), mOwn(shared == NULL),
195 mShared((Shared *) (mOwn ? new char[sharedSize(size)] : shared))
223 NBLog::Writer::Writer(void *shared, size_t size) in Writer() argument
224 : mShared((Shared *) shared), in Writer()
499 NBLog::LockedWriter::LockedWriter(void *shared, size_t size) in LockedWriter() argument
500 : Writer(shared, size) in LockedWriter()
585 NBLog::Reader::Reader(const void *shared, size_t size) in Reader() argument
586 : mShared((/*const*/ Shared *) shared), /*mIMemory*/ in Reader()
959 NBLog::Merger::Merger(const void *shared, size_t size): in Merger() argument
[all …]
/frameworks/base/packages/ExtShared/src/android/ext/shared/
DVersion.java17 package android.ext.shared;
/frameworks/base/libs/androidfw/tests/data/lib_one/
Dbuild20 aapt package -M AndroidManifest.xml -S res -F lib_one.apk -f --shared-lib
/frameworks/base/libs/androidfw/tests/data/lib_two/
Dbuild20 aapt package -M AndroidManifest.xml -S res -F lib_two.apk -f --shared-lib
/frameworks/base/media/lib/tvremote/
DREADME.txt1 This library (com.android.media.tv.remoteprovider.jar) is a shared java library
14 a shared library. So you can change the implementation, but not
/frameworks/base/media/lib/signer/
DREADME.txt1 This library (com.android.mediadrm.signer.jar) is a shared java library
16 a shared library. So you can change the implementation, but not
/frameworks/base/media/lib/remotedisplay/
DREADME.txt1 This library (com.android.media.remotedisplay.jar) is a shared java library
14 a shared library. So you can change the implementation, but not
/frameworks/base/location/lib/
DREADME.txt1 This library (com.android.location.provider.jar) is a shared java library
15 a shared library. So you can change the implementation, but not
/frameworks/base/libs/androidfw/tests/data/appaslib/
Dbuild23 …package -M AndroidManifest.xml -S res -I $PATH_TO_FRAMEWORK_RES -F appaslib_lib.apk -f --shared-lib
/frameworks/base/tests/SharedLibrary/lib/
DAndroid.mk7 LOCAL_AAPT_FLAGS := --shared-lib

123