Home
last modified time | relevance | path

Searched refs:mResult (Results 1 – 25 of 29) sorted by relevance

12

/packages/services/AlternativeNetworkAccess/tests/src/com/android/ons/
DOpportunisticNetworkServiceTest.java54 private int mResult; field in OpportunisticNetworkServiceTest
120 mResult = -1; in testHandleSimStateChange()
131 mResult = result; in testHandleSimStateChange()
161 mResult = -1; in testSystemPreferredDataWhileCarrierAppIsActive()
172 mResult = result; in testSystemPreferredDataWhileCarrierAppIsActive()
186 mResult = -1; in testSystemPreferredDataWhileCarrierAppIsActive()
191 mResult = result; in testSystemPreferredDataWhileCarrierAppIsActive()
204 assertEquals(TelephonyManager.SET_OPPORTUNISTIC_SUB_VALIDATION_FAILED, mResult); in testSystemPreferredDataWhileCarrierAppIsActive()
209 mResult = -1; in testSetPreferredDataSubscriptionId()
214 mResult = result; in testSetPreferredDataSubscriptionId()
[all …]
DONSProfileSelectorTest.java50 private int mResult; field in ONSProfileSelectorTest
141 mResult = result; in testStartProfileSelectionWithNoOpportunisticSub()
145 mResult = -1; in testStartProfileSelectionWithNoOpportunisticSub()
173 TelephonyManager.UPDATE_AVAILABLE_NETWORKS_NO_OPPORTUNISTIC_SUB_AVAILABLE, mResult); in testStartProfileSelectionWithNoOpportunisticSub()
202 mResult = result; in testStartProfileSelectionSuccess()
206 mResult = -1; in testStartProfileSelectionSuccess()
245 assertEquals(TelephonyManager.UPDATE_AVAILABLE_NETWORKS_SUCCESS, mResult); in testStartProfileSelectionSuccess()
287 mResult = result; in testStartProfileSelectionWithDifferentPrioritySubInfo()
291 mResult = -1; in testStartProfileSelectionWithDifferentPrioritySubInfo()
321 assertEquals(TelephonyManager.UPDATE_AVAILABLE_NETWORKS_SUCCESS, mResult); in testStartProfileSelectionWithDifferentPrioritySubInfo()
[all …]
/packages/apps/Settings/tests/perftests/src/com/android/settings/tests/perf/
DLaunchSettingsTest.java81 private Map<String, ArrayList<Integer>> mResult; field in LaunchSettingsTest
90 mResult = new LinkedHashMap<>(); in setUp()
100 mResult.put(page.title, new ArrayList<Integer>()); in setUp()
134 mResult.get(title).add(Integer.valueOf(mMatcher.group().split("\\s")[1])); in handleLaunchResult()
146 for (String string : mResult.keySet()) { in putResultToBundle()
160 mResult.get(string).toString()); in putResultToBundle()
162 String.valueOf(mResult.get(string).size())); in putResultToBundle()
167 if (mResult.get(page).size() == TEST_TIME) { in getMax()
168 return String.format("%s", Collections.max(mResult.get(page))); in getMax()
176 if (mResult.get(page).size() == TEST_TIME) { in getMin()
[all …]
/packages/apps/StorageManager/src/com/android/storagemanager/utils/
DAsyncLoader.java33 private T mResult; field in AsyncLoader
41 if (mResult != null) { in onStartLoading()
42 deliverResult(mResult); in onStartLoading()
45 if (takeContentChanged() || mResult == null) { in onStartLoading()
64 final T oldResult = mResult; in deliverResult()
65 mResult = data; in deliverResult()
71 if (oldResult != null && oldResult != mResult) { in deliverResult()
82 if (mResult != null) { in onReset()
83 onDiscardResult(mResult); in onReset()
85 mResult = null; in onReset()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/utils/
DAsyncLoader.java16 private T mResult; field in AsyncLoader
24 if (mResult != null) { in onStartLoading()
25 deliverResult(mResult); in onStartLoading()
28 if (takeContentChanged() || mResult == null) { in onStartLoading()
47 final T oldResult = mResult; in deliverResult()
48 mResult = data; in deliverResult()
54 if (oldResult != null && oldResult != mResult) { in deliverResult()
65 if (mResult != null) { in onReset()
66 onDiscardResult(mResult); in onReset()
68 mResult = null; in onReset()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DSuggestions.java42 private SourceResult mResult; field in Suggestions
81 return mDone || mResult != null; in isDone()
102 mResult = result; in addResults()
143 if (mResult != null) { in close()
144 mResult.close(); in close()
146 mResult = null; in close()
169 return mResult; in getResult()
173 return mResult; in getWebResult()
184 return mResult == null ? 0 : mResult.getCount(); in getResultCount()
/packages/apps/Contacts/src/com/android/contacts/activities/
DContactEditorSpringBoardActivity.java49 private RawContactsMetadata mResult; field in ContactEditorSpringBoardActivity
73 mResult = result;
139 if (mShowReadOnly || (mResult.rawContacts.size() > 1 && mHasWritableAccount)) { in onLoad()
150 mResult.showReadOnly = mShowReadOnly; in maybeTrimReadOnly()
155 mResult.trimReadOnly(AccountTypeManager.getInstance(this)); in maybeTrimReadOnly()
174 pick = PickRawContactDialogFragment.getInstance(mResult); in showDialog()
195 intent = getIntentForRawContact(mResult.rawContacts.get(mWritableAccountPosition).id); in loadEditor()
209 mWritableAccountPosition = mResult.getIndexOfFirstWritableAccount( in setHasWritableAccount()
253 this, mResult.contactId, ContentUris.parseId(data.getData()), in onActivityResult()
276 outState.putParcelable(KEY_RAW_CONTACTS_METADATA, mResult); in onSaveInstanceState()
[all …]
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DBinaryDictOffdeviceUtils.java66 public T mResult; field in BinaryDictOffdeviceUtils.DecoderChainSpec
70 mResult = null; in DecoderChainSpec()
75 mResult = src.mResult; in DecoderChainSpec()
230 spec.mResult = processor.process(input); in decodeDictionaryForProcess()
275 if (CombinedInputOutput.isCombinedDictionary(decodedSpec.mResult.getAbsolutePath())) { in getDictionary()
279 System.out.println("Uncompressed size : " + decodedSpec.mResult.length()); in getDictionary()
282 new InputStreamReader(new FileInputStream(decodedSpec.mResult), "UTF-8"))) { in getDictionary()
287 decodedSpec.mResult, 0, decodedSpec.mResult.length(), in getDictionary()
292 System.out.println("Uncompressed size : " + decodedSpec.mResult.length()); in getDictionary()
/packages/apps/Car/libs/car-settings-lib/src/com/android/car/settingslib/loader/
DAsyncLoader.java36 private T mResult; field in AsyncLoader
44 if (mResult != null) { in onStartLoading()
45 deliverResult(mResult); in onStartLoading()
48 if (takeContentChanged() || mResult == null) { in onStartLoading()
63 mResult = data; in deliverResult()
73 mResult = null; in onReset()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DDirectoryLoader.java69 private DirectoryResult mResult; field in DirectoryLoader
196 DirectoryResult oldResult = mResult; in deliverResult()
197 mResult = result; in deliverResult()
210 if (mResult != null) { in onStartLoading()
211 deliverResult(mResult); in onStartLoading()
213 if (takeContentChanged() || mResult == null) { in onStartLoading()
235 FileUtils.closeQuietly(mResult); in onReset()
236 mResult = null; in onReset()
DMultiRootDocumentsLoader.java97 private DirectoryResult mResult; field in MultiRootDocumentsLoader
287 DirectoryResult oldResult = mResult; in deliverResult()
288 mResult = result; in deliverResult()
301 if (mResult != null) { in onStartLoading()
302 deliverResult(mResult); in onStartLoading()
304 if (takeContentChanged() || mResult == null) { in onStartLoading()
332 FileUtils.closeQuietly(mResult); in onReset()
333 mResult = null; in onReset()
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/
DRootsLoader.java43 private Collection<RootInfo> mResult; field in RootsLoader
65 mResult = result; in deliverResult()
74 if (mResult != null) { in onStartLoading()
75 deliverResult(mResult); in onStartLoading()
77 if (takeContentChanged() || mResult == null) { in onStartLoading()
94 mResult = null; in onReset()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DStateManager.java45 private ActivityState.ResultEntry mResult; field in StateManager
87 state.mResult = new ActivityState.ResultEntry(); in startStateForResult()
88 state.mResult.requestCode = requestCode; in startStateForResult()
94 as.mReceivedResults = state.mResult; in startStateForResult()
97 mResult = state.mResult; in startStateForResult()
181 if (mResult != null) { in finishState()
182 activity.setResult(mResult.resultCode, mResult.resultData); in finishState()
DActivityState.java55 protected ResultEntry mResult; field in ActivityState
101 if (mResult == null) return; in setStateResult()
102 mResult.resultCode = resultCode; in setStateResult()
103 mResult.resultData = data; in setStateResult()
/packages/services/Telecomm/src/com/android/server/telecom/callfiltering/
DIncomingCallFilter.java57 private CallFilteringResult mResult = new Builder() field in IncomingCallFilter
92 mListener.onCallFilteringComplete(mCall, mResult); in performFiltering()
102 mResult = result.combine(mResult); in onCallFilteringComplete()
109 Log.addEvent(mCall, LogUtils.Events.FILTERING_COMPLETED, mResult); in onCallFilteringComplete()
110 mListener.onCallFilteringComplete(mCall, mResult); in onCallFilteringComplete()
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/
DDataModel.java242 private Result<List<MediaItem>> mResult; field in DataModel.FilesystemListTask
248 mResult = result; in FilesystemListTask()
299 mResult.sendResult(results); in doInBackground()
305 private Result<List<MediaItem>> mResult; field in DataModel.QueryTask
326 mResult = builder.mResult; in QueryTask()
390 mResult.sendResult(results); in doInBackground()
398 private Result<List<MediaItem>> mResult; field in DataModel.QueryTask.Builder
451 mResult = result; in setResult()
467 mResult == null || mTitleColumn == null) { in build()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DMediaSet.java281 private int mResult = -1; field in MediaSet.MultiSetSyncFuture
303 if (mResult < 0) mResult = SYNC_RESULT_CANCELLED; in cancel()
319 return mResult; in get()
336 if (resultCode == SYNC_RESULT_ERROR) mResult = SYNC_RESULT_ERROR; in onSyncDone()
345 if (listener != null) listener.onSyncDone(MediaSet.this, mResult); in onSyncDone()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DJobLimiter.java46 private T mResult; field in JobLimiter.JobWrapper
72 mResult = null; in cancel()
95 return mResult; in get()
123 mResult = result; in run()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DAsyncResultHolder.java33 private E mResult; field in AsyncResultHolder
50 mResult = result; in set()
66 return mLatch.await(timeOut, TimeUnit.MILLISECONDS) ? mResult : defaultValue; in get()
DTargetPackageInfoGetterTask.java42 private final AsyncResultHolder<AppWorkaroundsUtils> mResult; field in TargetPackageInfoGetterTask
47 mResult = result; in TargetPackageInfoGetterTask()
65 mResult.set(new AppWorkaroundsUtils(info)); in onPostExecute()
/packages/apps/Bluetooth/src/com/android/bluetooth/
DObexRejectServer.java42 private final int mResult; field in ObexRejectServer
54 mResult = result; in ObexRejectServer()
71 return mResult; in onConnect()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DTelephonyStatusControlSession.java41 private Collection<Future<Boolean>> mResult = new ArrayList<>(); field in TelephonyStatusControlSession
71 controllers.forEach(prefCtrl -> mResult in TelephonyStatusControlSession()
84 for (Future<Boolean> result : mResult) { in close()
/packages/services/Car/tests/BugReportApp/src/com/google/android/car/bugreport/
DSimpleUploaderAsyncTask.java63 private final Result mResult; field in SimpleUploaderAsyncTask
78 mResult = result; in SimpleUploaderAsyncTask()
175 mResult.reschedule(success); in onPostExecute()
202 mResult.reschedule(true); in onCancelled()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/
DThreadPool.java116 private T mResult; field in ThreadPool.Worker
141 mResult = result; in run()
183 return mResult; in get()
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/dicttool/
DBinaryDictOffdeviceUtilsTests.java111 final DictDecoder dictDecoder = BinaryDictIOUtils.getDictDecoder(decodeSpec.mResult, 0, in testGetRawDictWorks()
112 decodeSpec.mResult.length()); in testGetRawDictWorks()
201 final DictionaryHeader header = spec.mResult; in runTestHeaderReaderProcessorWithOneSpec()

12