Searched defs:shared (Results 1 - 18 of 18) sorted by relevance

/frameworks/base/packages/ExtShared/src/android/ext/shared/
H A DVersion.java17 package android.ext.shared;
/frameworks/av/services/medialog/
H A DIMediaLogService.cpp43 virtual void registerWriter(const sp<IMemory>& shared, size_t size, const char *name) { argument
46 data.writeStrongBinder(IInterface::asBinder(shared));
53 virtual void unregisterWriter(const sp<IMemory>& shared) { argument
56 data.writeStrongBinder(IInterface::asBinder(shared));
81 sp<IMemory> shared = interface_cast<IMemory>(data.readStrongBinder()); local
84 registerWriter(shared, size, name);
90 sp<IMemory> shared = interface_cast<IMemory>(data.readStrongBinder()); local
91 unregisterWriter(shared);
H A DMediaLogService.cpp48 void MediaLogService::registerWriter(const sp<IMemory>& shared, size_t size, const char *name) argument
50 if (IPCThreadState::self()->getCallingUid() != AID_AUDIOSERVER || shared == 0 ||
52 shared->size() < NBLog::Timeline::sharedSize(size)) {
55 sp<NBLog::Reader> reader(new NBLog::Reader(shared, size));
62 void MediaLogService::unregisterWriter(const sp<IMemory>& shared) argument
64 if (IPCThreadState::self()->getCallingUid() != AID_AUDIOSERVER || shared == 0) {
69 if (mNamedReaders[i].reader()->isIMemory(shared)) {
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DDeletedEphemeralSsidsStoreData.java43 public void serializeData(XmlSerializer out, boolean shared) argument
45 if (shared) {
54 public void deserializeData(XmlPullParser in, int outerTagDepth, boolean shared) argument
56 if (shared) {
79 public void resetData(boolean shared) { argument
80 if (!shared) {
H A DNetworkListStoreData.java56 * List of saved shared networks visible to all the users to be stored in the shared store file.
68 public void serializeData(XmlSerializer out, boolean shared) argument
70 if (shared) {
78 public void deserializeData(XmlPullParser in, int outerTagDepth, boolean shared) argument
80 if (shared) {
88 public void resetData(boolean shared) { argument
89 if (shared) {
111 * An empty list will be returned if no shared configurations.
H A DWifiConfigStore.java75 * Config store file name for both shared & user specific stores.
141 * @param sharedStore StoreFile instance pointing to the shared store file. This should
181 * Helper method to create a store file instance for either the shared store or user store.
200 * Create a new instance of the shared store file.
239 * shared configurations to shared config store.
339 * shared configurations from the shared config store.
426 * This is used for both the shared and user config store data.
542 * Serialize a XML data block to the output stream. The |shared| fla
549 serializeData(XmlSerializer out, boolean shared) argument
563 deserializeData(XmlPullParser in, int outerTagDepth, boolean shared) argument
571 resetData(boolean shared) argument
[all...]
/frameworks/av/include/media/
H A DSingleStateQueue.h57 Mutator(Shared *shared) argument
58 : mSequence(0), mShared(shared)
61 // shared->init();
68 Shared *shared = mShared; local
71 android_atomic_acquire_store(sequence, &shared->mSequence);
72 shared->mValue = value;
74 android_atomic_release_store(sequence, &shared->mSequence);
109 Observer(Shared *shared) argument
110 : mSequence(0), mSeed(1), mShared(shared)
113 shared
119 Shared *shared = mShared; local
[all...]
/frameworks/av/media/libmedia/include/media/
H A DSingleStateQueue.h57 Mutator(Shared *shared) argument
58 : mSequence(0), mShared(shared)
61 // shared->init();
68 Shared *shared = mShared; local
71 android_atomic_acquire_store(sequence, &shared->mSequence);
72 shared->mValue = value;
74 android_atomic_release_store(sequence, &shared->mSequence);
109 Observer(Shared *shared) argument
110 : mSequence(0), mSeed(1), mShared(shared)
113 shared
119 Shared *shared = mShared; local
[all...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DDeletedEphemeralSsidsStoreDataTest.java64 * @param shared Flag indicating serializing shared or user configurations
68 private byte[] serializeData(boolean shared) throws Exception { argument
72 mDeletedEphemeralSsidsStoreData.serializeData(out, shared);
81 * @param shared Flag indicating parsing of shared or user configurations
85 private Set<String> deserializeData(byte[] data, boolean shared) throws Exception { argument
89 mDeletedEphemeralSsidsStoreData.deserializeData(in, in.getDepth(), shared);
102 serializeData(true /* shared */);
114 deserializeData(new byte[0], true /* shared */);
[all...]
H A DNetworkListStoreDataTest.java180 * @param shared Flag indicating serializing shared or user configurations
184 private byte[] serializeData(boolean shared) throws Exception { argument
188 mNetworkListStoreData.serializeData(out, shared);
197 * @param shared Flag indicating parsing of shared or user configurations
201 private List<WifiConfiguration> deserializeData(byte[] data, boolean shared) throws Exception { argument
205 mNetworkListStoreData.deserializeData(in, in.getDepth(), shared);
206 if (shared) {
217 * @param shared Fla
220 getTestNetworksConfig(boolean shared) argument
[all...]
H A DWifiConfigStoreTest.java311 * Tests the read API behaviour after a write to the shared store file when the user
386 openNetwork.shared, openNetwork.creatorUid, testSsid);
430 openNetwork.shared, openNetwork.creatorUid, testSsid);
532 public void serializeData(XmlSerializer out, boolean shared) argument
534 if (shared) {
542 public void deserializeData(XmlPullParser in, int outerTagDepth, boolean shared) argument
544 if (shared) {
552 public void resetData(boolean shared) { argument
553 if (shared) {
H A DWifiConfigurationTestUtil.java95 * @param shared whether the configuration is shared with other users on the device
102 boolean shared, boolean enabled, String fqdn, String providerFriendlyName) {
107 config.shared = shared;
120 * @param shared whether the configuration is shared with other users on the device
128 boolean shared, boolean enabled, String fqdn, String providerFriendlyName,
130 WifiConfiguration config = generateWifiConfig(networkId, uid, ssid, shared, enabled, fqdn,
437 assertEquals(expected.shared, actua
101 generateWifiConfig(int networkId, int uid, String ssid, boolean shared, boolean enabled, String fqdn, String providerFriendlyName) argument
127 generateWifiConfig(int networkId, int uid, String ssid, boolean shared, boolean enabled, String fqdn, String providerFriendlyName, int security) argument
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DPasspointConfigStoreData.java115 public void serializeData(XmlSerializer out, boolean shared) argument
117 if (shared) {
125 public void deserializeData(XmlPullParser in, int outerTagDepth, boolean shared) argument
127 if (shared) {
135 public void resetData(boolean shared) { argument
136 if (shared) {
/frameworks/av/media/libnbaio/
H A 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) argument
224 : mShared((Shared *) shared),
499 NBLog::LockedWriter::LockedWriter(void *shared, size_t size) argument
500 : Writer(shared, size)
585 NBLog::Reader::Reader(const void *shared, size_t size) argument
586 : mShared((/*const*/ Shared *) shared), /*mIMemory*/
959 NBLog::Merger::Merger(const void *shared, size_ argument
1030 MergeReader(const void *shared, size_t size, Merger &merger) argument
[all...]
/frameworks/base/libs/androidfw/
H A DAssetManager.cpp502 bool shared = true; local
538 ALOGV("Creating shared resources for %s", ap.path.string());
559 shared = false;
569 mResources->add(ass, idmap, nextEntryIdx + 1, !shared, appAsLib, ap.isSystemAsset);
573 if (!shared) {
855 * slice of shared memory.
862 // TODO: look for previously-created shared memory slice?
/frameworks/native/vulkan/libvulkan/
H A Dswapchain.cpp208 shared(present_mode == VK_PRESENT_MODE_SHARED_DEMAND_REFRESH_KHR ||
221 bool shared; member in struct:vulkan::driver::__anon1940::Swapchain
692 // shared present modes as for other modes.
983 // and we'd like to relax it in the shared case, but not all the pieces are
1113 if (!swapchain->shared) {
1209 if (swapchain.shared) {
1210 // In shared mode, we keep the buffer dequeued all the time, so we don't
1455 // If the swapchain is in shared mode, immediately dequeue the
1459 if (swapchain.shared && swapchain_result == VK_SUCCESS) {
1469 ALOGE("got wrong image back for shared swapchai
[all...]
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiConfiguration.java84 /** WPA pre-shared key (requires {@code preSharedKey} to be specified). */
92 /** WPA2 pre-shared key for use with soft access point
286 * Pre-shared key for use with WPA-PSK. Either an ASCII string enclosed in
401 public boolean shared; field in class:WifiConfiguration
1430 shared = true;
1802 if (!shared) {
1816 if (!shared) {
2012 shared = source.shared;
2077 dest.writeInt(shared
[all...]
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp521 // dump the serially shared record tee sink
588 sp<IMemory> shared = mLogMemoryDealer->allocate(NBLog::Timeline::sharedSize(size)); local
591 if (shared == 0) {
604 shared = mLogMemoryDealer->allocate(NBLog::Timeline::sharedSize(size));
605 if (shared != 0) {
614 NBLog::Shared *sharedRawPtr = (NBLog::Shared *) shared->pointer();
617 sMediaLogService->registerWriter(shared, size, name);
618 return new NBLog::Writer(shared, size);

Completed in 2645 milliseconds