Searched defs:pair (Results 1 - 23 of 23) sorted by relevance

/frameworks/native/cmds/lshal/
H A DDebugCommand.cpp45 auto pair = splitFirst(mInterfaceName, '/'); local
47 pair.first, pair.second.empty() ? "default" : pair.second, mOptions,
H A DListCommand.cpp61 auto pair = mCmdlines.find(pid); local
62 if (pair != mCmdlines.end()) {
63 return pair->second;
367 auto pair = splitFirst(entry.interfaceName, '/');
368 mLshal.emitDebugInfo(pair.first, pair.second, {}, mOut.buf(),
426 for (auto &&pair : entries) {
427 putEntry(LIST_DLLIB, std::move(pair.second));
491 const auto pair = splitFirst(fqInstanceName, '/'); local
492 const auto &serviceName = pair
[all...]
/frameworks/base/libs/hwui/tests/unit/
H A DLinearAllocatorTests.cpp38 auto pair = la.create<SimplePair>(); local
41 EXPECT_EQ(1, pair->one);
42 EXPECT_EQ(2, pair->two);
/frameworks/base/tools/aapt/tests/
H A DMockDirectoryWalker.h13 using std::pair;
24 StringDirectoryWalker(String8& path, Vector< pair<String8,time_t> >& data) argument
82 Vector< pair<String8,time_t> > mData;
/frameworks/base/cmds/incidentd/src/
H A Dreport_directory.cpp113 stat_mtime_cmp(const pair<String8,struct stat>& a, const pair<String8,struct stat>& b) argument
125 vector<pair<String8,struct stat>> files;
150 files.push_back(pair<String8,struct stat>(filename, st));
167 for (vector<pair<String8,struct stat>>::iterator it = files.begin();
/frameworks/av/camera/ndk/
H A DNdkCameraDevice.cpp128 auto pair = container->mOutputs.insert(*output); local
129 if (!pair.second) {
H A DNdkCaptureRequest.cpp63 auto pair = req->targets->mOutputs.insert(*target); local
64 if (!pair.second) {
/frameworks/base/libs/hwui/
H A DPatchCache.cpp134 const patch_pair_t& pair = patchesToRemove[i]; local
137 Patch* patch = pair.getSecond();
144 mCache.remove(*pair.getFirst());
/frameworks/compile/mclinker/lib/Object/
H A DObjectBuilder.cpp40 SectionMap::const_mapping pair = local
43 std::string output_name = (pair.first == NULL) ? pName : pair.first->name();
57 SectionMap::mapping pair = m_Module.getScript().sectionMap().find( local
60 if (pair.first != NULL && pair.first->isDiscard()) {
66 (pair.first == NULL) ? pInputSection.name() : pair.first->name();
106 if (pair.first != NULL) {
107 assert(pair
[all...]
/frameworks/av/media/libmedia/
H A DAudioParameter.cpp56 char *pair = strtok_r(str, ";", &last); local
57 while (pair != NULL) {
58 if (strlen(pair) != 0) {
59 size_t eqIdx = strcspn(pair, "=");
60 String8 key = String8(pair, eqIdx);
62 if (eqIdx == strlen(pair)) {
65 value = String8(pair + eqIdx + 1);
73 ALOGV("AudioParameter() cstor empty key value pair");
75 pair = strtok_r(NULL, ";", &last);
/frameworks/base/core/jni/android/graphics/
H A DPathMeasure.cpp24 /* We declare an explicit pair, so that we don't have to rely on the java
59 PathMeasurePair* pair; local
61 pair = new PathMeasurePair(*path, forceClosed);
63 pair = new PathMeasurePair;
64 return reinterpret_cast<jlong>(pair);
69 PathMeasurePair* pair = reinterpret_cast<PathMeasurePair*>(pairHandle); local
74 pair->fPath.reset();
76 pair->fPath = *path;
78 pair->fMeasure.setPath(&pair
82 PathMeasurePair* pair = reinterpret_cast<PathMeasurePair*>(pairHandle); local
94 PathMeasurePair* pair = reinterpret_cast<PathMeasurePair*>(pairHandle); local
114 PathMeasurePair* pair = reinterpret_cast<PathMeasurePair*>(pairHandle); local
122 PathMeasurePair* pair = reinterpret_cast<PathMeasurePair*>(pairHandle); local
129 PathMeasurePair* pair = reinterpret_cast<PathMeasurePair*>(pairHandle); local
135 PathMeasurePair* pair = reinterpret_cast<PathMeasurePair*>(pairHandle); local
141 PathMeasurePair* pair = reinterpret_cast<PathMeasurePair*>(pairHandle); local
[all...]
H A DRegion.cpp285 RgnIterPair* pair = reinterpret_cast<RgnIterPair*>(pairHandle); local
286 SkASSERT(pair);
287 delete pair;
292 RgnIterPair* pair = reinterpret_cast<RgnIterPair*>(pairHandle); local
294 SkASSERT(pair);
297 if (!pair->fIter.done()) {
298 GraphicsJNI::irect_to_jrect(pair->fIter.rect(), env, rectObject);
299 pair->fIter.next();
/frameworks/base/keystore/java/android/security/
H A DCredentials.java198 public void install(Context context, KeyPair pair) { argument
201 intent.putExtra(EXTRA_PRIVATE_KEY, pair.getPrivate().getEncoded());
202 intent.putExtra(EXTRA_PUBLIC_KEY, pair.getPublic().getEncoded());
/frameworks/base/keystore/tests/src/android/security/keystore/
H A DAndroidKeyPairGeneratorTest.java157 final KeyPair pair = mGenerator.generateKeyPair();
158 assertNotNull("The KeyPair returned should not be null", pair);
160 assertKeyPairCorrect(pair, TEST_ALIAS_1, "RSA", 2048, null, TEST_DN_1, TEST_SERIAL_1, NOW,
176 final KeyPair pair = generator.generateKeyPair();
177 assertNotNull("The KeyPair returned should not be null", pair);
179 assertKeyPairCorrect(pair, TEST_ALIAS_1, "EC", 256, null, TEST_DN_1, TEST_SERIAL_1, NOW,
194 final KeyPair pair = mGenerator.generateKeyPair();
195 assertNotNull("The KeyPair returned should not be null", pair);
197 assertKeyPairCorrect(pair, TEST_ALIAS_1, "EC", 256, null, TEST_DN_1, TEST_SERIAL_1, NOW,
212 final KeyPair pair
330 assertKeyPairCorrect(KeyPair pair, String alias, String keyType, int keySize, AlgorithmParameterSpec spec, X500Principal dn, BigInteger serial, Date start, Date end) argument
[all...]
/frameworks/av/camera/ndk/impl/
H A DACameraManager.cpp185 for (auto& pair : cm->mDeviceStatusMap) {
186 const String8 &cameraId = pair.first;
199 auto pair = mCallbacks.insert(cb); local
201 if (pair.second) {
202 for (auto& pair : mDeviceStatusMap) {
203 const String8& cameraId = pair.first;
204 int32_t status = pair.second;
/frameworks/av/media/libstagefright/foundation/
H A DColorUtils.cpp46 ALookup<CU::ColorStandard, std::pair<CA::Primaries, CA::MatrixCoeffs>> sStandards {
118 std::pair<ColorAspects::Primaries, ColorAspects::MatrixCoeffs> res;
401 ALookup<CU::ColorStandard, std::pair<CA::Primaries, CA::MatrixCoeffs>> sStandardFallbacks {
499 auto pair = std::make_pair(aspects.mPrimaries, aspects.mMatrixCoeffs); local
500 if (!sStandards.map(pair, &standard)) {
501 if (!sStandardFallbacks.map(pair, &standard)) {
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
H A DBluetoothTestUtils.java49 /** Timeout for pair/unpair in ms. */
728 public void pair(BluetoothAdapter adapter, BluetoothDevice device, int passkey, byte[] pin) { method in class:BluetoothTestUtils
747 * Helper method used by {@link #pair(BluetoothAdapter, BluetoothDevice, int, byte[])} and
748 * {@link #acceptPair(BluetoothAdapter, BluetoothDevice, int, byte[])} to either pair or accept
755 * @param shouldPair Whether to pair or accept the pair.
763 methodName = String.format("pair(device=%s)", device);
/frameworks/av/services/camera/libcameraservice/device1/
H A DCameraHardwareInterface.cpp196 std::pair<bool, uint64_t> CameraHardwareInterface::getBufferId(
233 auto pair = getBufferId(anb); local
234 buf = (pair.first) ? anb->handle : nullptr;
235 bufferId = pair.second;
/frameworks/opt/net/voip/src/jni/rtp/
H A DAudioGroup.cpp589 int pair[2]; local
590 if (socketpair(AF_UNIX, SOCK_DGRAM, 0, pair)) {
594 mDeviceSocket = pair[0];
598 if (!mChain->set(AudioStream::NORMAL, pair[1], NULL, NULL,
600 close(pair[1]);
609 if (setsockopt(pair[0], SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv))) {
618 if (epoll_ctl(mEventQueue, EPOLL_CTL_ADD, pair[1], &event)) {
624 ALOGD("stream[%d] joins group[%d]", pair[1], pair[0]);
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3Device.cpp3132 auto pair = getBufferId(buf, streamId); local
3133 bool isNewBuffer = pair.first;
3134 uint64_t bufferId = pair.second;
3162 auto pair = getBufferId(buf, streamId); local
3163 bool isNewBuffer = pair.first;
3165 dst.bufferId = pair.second;
3200 for (auto& pair : mFreedBuffers) {
3202 if (mBufferIdMaps.find(pair.first) != mBufferIdMaps.end()) {
3203 cachesToRemove.push_back({pair.first, pair
3328 auto pair = std::make_pair(buffer, acquireFence); local
[all...]
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/libs/
H A Dgson-1.7.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/gson/ com/google/gson/annotations/ ...
/frameworks/support/samples/SupportLeanbackShowcase/libs/
H A Dgson-1.7.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/gson/ com/google/gson/annotations/ ...
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 1843 milliseconds