Home
last modified time | relevance | path

Searched refs:pair (Results 1 – 24 of 24) sorted by relevance

/packages/apps/Contacts/tests/src/com/android/contacts/editor/
DEditorUiUtilsTest.java71 final Pair pair = EditorUiUtils.getLocalAccountInfo(getContext(), in testGetProfileAccountInfo_AccountName() local
74 assertNotNull(pair); in testGetProfileAccountInfo_AccountName()
75 assertEquals(ACCOUNT_NAME, pair.first); in testGetProfileAccountInfo_AccountName()
77 pair.second); // My LunkedIn profile in testGetProfileAccountInfo_AccountName()
81 final Pair pair = EditorUiUtils.getLocalAccountInfo(getContext(), in testGetProfileAccountInfo_NoAccountName() local
84 assertNotNull(pair); in testGetProfileAccountInfo_NoAccountName()
85 assertNull(pair.first); in testGetProfileAccountInfo_NoAccountName()
87 pair.second); // "My local profile in testGetProfileAccountInfo_NoAccountName()
91 final Pair pair = EditorUiUtils.getAccountInfo(getContext(), in testGetAccountInfo_AccountName_DisplayLabel() local
94 assertNotNull(pair); in testGetAccountInfo_AccountName_DisplayLabel()
[all …]
/packages/apps/Email/tests/src/com/android/email/mail/transport/
DMockTransport.java127 Transaction pair = new Transaction(pattern, responses); in expect() local
128 mPairs.add(pair); in expect()
156 private void sendResponse(Transaction pair) { in sendResponse() argument
157 switch (pair.mAction) { in sendResponse()
159 for (String s : pair.mResponses) { in sendResponse()
167 Assert.fail("Invalid action for sendResponse: " + pair.mAction); in sendResponse()
260 Transaction pair = mPairs.get(0); in readLine() local
261 if (pair.mPattern == null) { in readLine()
263 sendResponse(pair); in readLine()
318 Transaction pair = mPairs.remove(0); in writeLine() local
[all …]
/packages/apps/TV/usbtuner/src/com/android/usbtuner/exoplayer/ac3/
DAudioTrackMonitor.java88 Pair<Long, Integer> pair = mPtsList.get(mPtsList.size() - 1); in addPts() local
89 mPtsList.set(mPtsList.size() - 1, Pair.create(pair.first, pair.second + 1)); in addPts()
108 for (Pair<Long, Integer> pair : mPtsList) { in maybeLog()
109 ptsBuilder.append('[').append(pair.first).append(':').append(pair.second) in maybeLog()
/packages/apps/Camera2/src/com/android/camera/async/
DConcurrentState.java68 for (ExecutorListenerPair pair : mListeners) { in update()
69 pair.run(); in update()
77 final ExecutorListenerPair pair = new ExecutorListenerPair(executor, callback); in addCallback() local
78 mListeners.add(pair); in addCallback()
82 mListeners.remove(pair); in addCallback()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DCallLogPullRequest.java84 for (Pair<String, String> pair : irmc) { in onPullComplete()
85 if (pair.first.startsWith(TIMESTAMP_PROPERTY)) { in onPullComplete()
87 date = parser.parse(pair.second); in onPullComplete()
89 Log.d(TAG, "Failed to parse date " + pair.second); in onPullComplete()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDevicePreference.java140 Pair<Integer, String> pair = getBtClassDrawableWithDescription(); in onDeviceAttributesChanged() local
141 if (pair.first != 0) { in onDeviceAttributesChanged()
142 setIcon(pair.first); in onDeviceAttributesChanged()
143 contentDescription = pair.second; in onDeviceAttributesChanged()
215 pair(); in onClicked()
239 private void pair() { in pair() method in BluetoothDevicePreference
/packages/apps/TV/usbtuner/src/com/android/usbtuner/exoplayer/
DReplaySampleSourceExtractor.java71 Pair<String, android.media.MediaFormat> pair = trackInfos.get(i); in prepare() local
72 ids.add(pair.first); in prepare()
73 mMediaFormats[i] = pair.second; in prepare()
/packages/apps/Camera2/src/com/android/camera/util/
DCaptureDataSerializer.java222 private static String toString(Pair<?, ?> pair) { in toString() argument
223 return "Pair: " + metadataValueToString(pair.first) + " / " in toString()
224 + metadataValueToString(pair.second); in toString()
/packages/services/Car/service/src/com/android/car/pm/
DCarPackageManagerService.java539 Pair<String, CarAppBlockingPolicy> pair = new Pair<>(packageName, policy); in requestUpdatingPolicy() local
540 Message msg = obtainMessage(MSG_UPDATE_POLICY, flags, 0, pair); in requestUpdatingPolicy()
554 Pair<String, CarAppBlockingPolicy> pair = in handleMessage() local
556 doUpdatePolicy(pair.first, pair.second, msg.arg1); in handleMessage()
/packages/apps/TV/src/com/android/tv/util/
DTvInputManagerHelper.java160 for (Map.Entry<String, Integer> pair : mInputStateMap.entrySet()) { in getTvInputInfos()
161 if (availableOnly && pair.getValue() == TvInputManager.INPUT_STATE_DISCONNECTED) { in getTvInputInfos()
164 TvInputInfo input = getTvInputInfo(pair.getKey()); in getTvInputInfos()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/mbs/
DA2dpMediaBrowserService.java108 Pair<PlaybackState, MediaMetadata> pair = in handleMessage() local
110 inst.msgTrack(pair.first, pair.second); in handleMessage()
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/
Dtrie_map_test.cpp121 std::vector<std::pair<int, int>> secondLevelKeys; in TEST()
157 const std::pair<int, int> secondLevelKey = in TEST()
/packages/apps/TV/usbtuner/jni/
Dtunertvinput_jni.cpp62 sDvbManagers.insert(std::pair<jlong, DvbManager *>(deviceId, dvbManager)); in Java_com_android_usbtuner_TunerHal_nativeTune()
DDvbManager.cpp223 mPidFilters.insert(std::pair<int, int>(pid, demuxFd)); in startTsPidFilter()
/packages/apps/TV/usbtuner/src/com/android/usbtuner/tvinput/
DTunerSessionWorker.java662 Pair<TunerChannel, List<EitItem>> pair = in handleMessage() local
664 TunerChannel channel = pair.first; in handleMessage()
671 mPrograms = pair.second; in handleMessage()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java248 for (KeyValue pair : pairs) { in execute()
249 String value = pair.value; in execute()
250 if (CalendarContract.Events.STATUS.equals(pair.key)) { in execute()
252 map.put(pair.key, Integer.parseInt(value)); in execute()
254 map.put(pair.key, value); in execute()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dfaq.md209 3. What is surrogate pair? Does RapidJSON support it?
211 …those characters with two 16-bit values, which is called UTF-16 surrogate pair. For example, the E…
Ddom.md140 `kParseErrorStringUnicodeSurrogateInvalid` | The surrogate pair in string is invalid.
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dproximity_info_state_utils.cpp324 currentNearKeysDistances->insert(std::pair<int, float>(k, dist)); in updateNearKeysDistances()
/packages/apps/TV/usbtuner/libs/
Dexoplayer_1.5.6.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/Messaging/build/gcheckstyle/
Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz
Dnb_wordlist.combined.gz1dictionary=main:nb,locale=nb,description=Norsk bokmål,date=1393228136 ...
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...