Home
last modified time | relevance | path

Searched refs:System (Results 1 – 25 of 642) sorted by relevance

12345678910>>...26

/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DInfo.java40 System.out.println("Header attributes :"); in showInfo()
41 System.out.print(dict.mOptions.toString(2, plumbing)); in showInfo()
61 System.out.println("Words in the dictionary : " + wordCount); in showInfo()
62 System.out.println("Bigram count : " + bigramCount); in showInfo()
63 System.out.println("Shortcuts : " + shortcutCount + " (out of which " + whitelistCount in showInfo()
70 System.out.println(word + " is not in the dictionary"); in showWordInfo()
73 System.out.println("Word: " + word); in showWordInfo()
74 System.out.println(" Freq: " + ptNode.getProbability()); in showWordInfo()
76 System.out.println(" Is not a word"); in showWordInfo()
79 System.out.println(" Is possibly offensive"); in showWordInfo()
[all …]
DDiff.java62 System.out.println("Header :"); in run()
71 System.out.println("Body :"); in run()
92 System.out.println(" " + optionKey + " : " in diffHeaders()
100 System.out.println(" " + optionKey + " : null <=> " + options1.get(optionKey)); in diffHeaders()
104 System.out.println(" No differences"); in diffHeaders()
115 System.out.println("Deleted: " + word0Property.mWord + " " in diffWords()
121 System.out.println("Probability changed: " + word0Property.mWord + " " in diffWords()
127 System.out.println("Not a word: " + word0Property.mWord + " " in diffWords()
132 System.out.println("Possibly-offensive: " + word0Property.mWord + " " in diffWords()
149 System.out.println("Added: " + word1Property.mWord + " " in diffWords()
[all …]
DHeader.java60 System.out.println("Dictionary : " + dictFile.getAbsolutePath()); in run()
61 System.out.println("Size : " + dictFile.length() + " bytes"); in run()
62 System.out.println("Format : Binary dictionary format"); in run()
63 System.out.println("Format version : " + header.mFormatOptions.mVersion); in run()
64 System.out.println("Packaging : " + spec.describeChain()); in run()
65 System.out.println("Header attributes :"); in run()
66 System.out.print(header.mDictionaryOptions.toString(2 /* indentCount */, plumbing)); in run()
DDicttool.java43 return System.in; in getFileInputStreamOrStdIn()
56 return System.out; in getFileOutputStreamOrStdOut()
91 System.out.println("Syntax: dicttool <command [arguments]>\nAvailable commands:\n"); in help()
93 System.out.println("*** " + commandName); in help()
94 System.out.println(getCommandInstance(commandName).getHelp()); in help()
95 System.out.println(""); in help()
125 System.out.println("Exception while processing command " in execute()
138 System.exit(execute(arguments)); in main()
DBinaryDictOffdeviceUtils.java267 System.out.println("Dictionary : " + file.getAbsolutePath()); in getDictionary()
268 System.out.println("Size : " + file.length() + " bytes"); in getDictionary()
277 System.out.println("Format : Combined format"); in getDictionary()
278 System.out.println("Packaging : " + decodedSpec.describeChain()); in getDictionary()
279 System.out.println("Uncompressed size : " + decodedSpec.mResult.length()); in getDictionary()
290 System.out.println("Format : Binary dictionary format"); in getDictionary()
291 System.out.println("Packaging : " + decodedSpec.describeChain()); in getDictionary()
292 System.out.println("Uncompressed size : " + decodedSpec.mResult.length()); in getDictionary()
/packages/apps/Dialer/src/com/android/dialer/settings/
DSoundSettingsFragment.java119 Settings.System.getInt(context.getContentResolver(), in onCreate()
120 Settings.System.DTMF_TONE_TYPE_WHEN_DIALING, in onCreate()
132 if (!SettingsCompat.System.canWrite(getContext())) { in onResume()
155 if (!SettingsCompat.System.canWrite(getContext())) { in onPreferenceChange()
165 Settings.System.putInt(getActivity().getContentResolver(), in onPreferenceChange()
166 Settings.System.VIBRATE_WHEN_RINGING, in onPreferenceChange()
170 Settings.System.putInt(getActivity().getContentResolver(), in onPreferenceChange()
171 Settings.System.DTMF_TONE_TYPE_WHEN_DIALING, index); in onPreferenceChange()
181 if (!SettingsCompat.System.canWrite(getContext())) { in onPreferenceTreeClick()
189 Settings.System.putInt(getActivity().getContentResolver(), in onPreferenceTreeClick()
[all …]
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
DSipPreferences.java43 Settings.System.putString(mContext.getContentResolver(), in setSipCallOption()
44 Settings.System.SIP_CALL_OPTIONS, option); in setSipCallOption()
54 String option = Settings.System.getString(mContext.getContentResolver(), in getSipCallOption()
55 Settings.System.SIP_CALL_OPTIONS); in getSipCallOption()
61 Settings.System.putInt(mContext.getContentResolver(), in setReceivingCallsEnabled()
62 Settings.System.SIP_RECEIVE_CALLS, (enabled ? 1 : 0)); in setReceivingCallsEnabled()
67 return (Settings.System.getInt(mContext.getContentResolver(), in isReceivingCallsEnabled()
68 Settings.System.SIP_RECEIVE_CALLS) != 0); in isReceivingCallsEnabled()
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/
DProviderPerfActivity.java301 long lastTime = System.nanoTime(); in fileReadLoop()
304 sumNanos += System.nanoTime() - lastTime; in fileReadLoop()
324 long lastTime = System.nanoTime(); in fileWriteLoop()
329 sumNanos += System.nanoTime() - lastTime; in fileWriteLoop()
371 long lastTime = System.nanoTime(); in callLoop()
373 long nowTime = System.nanoTime(); in callLoop()
396 long lastTime = System.nanoTime(); in procLoop()
401 long nowTime = System.nanoTime(); in procLoop()
422 long startTime = System.nanoTime(); in doNoOpLookup()
433 long duration = System.nanoTime() - startTime; in doNoOpLookup()
[all …]
/packages/apps/Settings/src/com/android/settings/widget/
DSettingsAppWidgetProvider.java850 int brightness = Settings.System.getInt(context.getContentResolver(), in getBrightness()
851 Settings.System.SCREEN_BRIGHTNESS); in getBrightness()
866 int brightnessMode = Settings.System.getInt(context.getContentResolver(), in getBrightnessMode()
867 Settings.System.SCREEN_BRIGHTNESS_MODE); in getBrightnessMode()
868 return brightnessMode == Settings.System.SCREEN_BRIGHTNESS_MODE_AUTOMATIC; in getBrightnessMode()
888 int brightness = Settings.System.getInt(cr, in toggleBrightness()
889 Settings.System.SCREEN_BRIGHTNESS); in toggleBrightness()
890 int brightnessMode = Settings.System.SCREEN_BRIGHTNESS_MODE_MANUAL; in toggleBrightness()
894 brightnessMode = Settings.System.getInt(cr, in toggleBrightness()
895 Settings.System.SCREEN_BRIGHTNESS_MODE); in toggleBrightness()
[all …]
/packages/apps/TV/usbtuner/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DUnicodeDecompressor.java141 System.arraycopy(temp, 0, result, 0, charCount); in decompress()
201 System.arraycopy(byteBuffer, byteBufferStart, in decompress()
275 System.arraycopy(byteBuffer, bytePos, in decompress()
327 System.arraycopy(byteBuffer, bytePos, in decompress()
353 System.arraycopy(byteBuffer, bytePos, in decompress()
384 System.arraycopy(byteBuffer, bytePos, in decompress()
403 System.arraycopy(byteBuffer, bytePos, in decompress()
439 System.arraycopy(byteBuffer, bytePos, in decompress()
460 System.arraycopy(byteBuffer, bytePos, in decompress()
491 System.arraycopy(byteBuffer, bytePos, in decompress()
[all …]
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DDatabaseWrapper.java109 final long t2 = System.currentTimeMillis(); in printTiming()
124 final long t1 = System.currentTimeMillis(); in beginTransaction()
152 t1 = System.currentTimeMillis(); in endTransaction()
163 (System.currentTimeMillis() - transactionStartTime))); in endTransaction()
170 yieldStartTime = System.currentTimeMillis(); in yieldTransaction()
182 t1 = System.currentTimeMillis(); in insertWithOnConflict()
257 t1 = System.currentTimeMillis(); in query()
288 t1 = System.currentTimeMillis(); in query()
305 t1 = System.currentTimeMillis(); in queryNumEntries()
325 t1 = System.currentTimeMillis(); in rawQuery()
[all …]
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
DFavoriteChannelEvaluatorTest.java31 System.currentTimeMillis() - TimeUnit.DAYS.toMillis(2);
33 System.currentTimeMillis() - TimeUnit.DAYS.toMillis(1);
82 long latestWatchEndTimeMs = System.currentTimeMillis() - TimeUnit.DAYS.toMillis(2); in testMultiChannelsWithSimpleWatchLogs()
105 addWatchLog(channelOne, System.currentTimeMillis() - TimeUnit.HOURS.toMillis(1), in testTwoChannelsWithSameWatchDuration()
107 addWatchLog(channelTwo, System.currentTimeMillis() - TimeUnit.MINUTES.toMillis(30), in testTwoChannelsWithSameWatchDuration()
118 addWatchLog(channelOne, System.currentTimeMillis() - TimeUnit.HOURS.toMillis(3), in testTwoChannelsWithDifferentWatchDuration()
120 addWatchLog(channelTwo, System.currentTimeMillis() - TimeUnit.HOURS.toMillis(2), in testTwoChannelsWithDifferentWatchDuration()
127 addWatchLog(channelOne, System.currentTimeMillis() - TimeUnit.HOURS.toMillis(1), in testTwoChannelsWithDifferentWatchDuration()
/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/
DNativeNfcTag.java465 System.arraycopy(mTechList, 0, mNewTechList, 0, mTechList.length); in addTechnology()
470 System.arraycopy(mTechHandles, 0, mNewHandleList, 0, mTechHandles.length); in addTechnology()
475 System.arraycopy(mTechLibNfcTypes, 0, mNewTypeList, 0, mTechLibNfcTypes.length); in addTechnology()
486 System.arraycopy(mTechList, 0, mNewTechList, 0, techIndex); in removeTechnology()
487 System.arraycopy(mTechList, techIndex + 1, mNewTechList, techIndex, in removeTechnology()
492 System.arraycopy(mTechHandles, 0, mNewHandleList, 0, techIndex); in removeTechnology()
493 System.arraycopy(mTechHandles, techIndex + 1, mNewTechList, techIndex, in removeTechnology()
498 System.arraycopy(mTechLibNfcTypes, 0, mNewTypeList, 0, techIndex); in removeTechnology()
499 System.arraycopy(mTechLibNfcTypes, techIndex + 1, mNewTypeList, techIndex, in removeTechnology()
510 System.arraycopy(mTechExtras, 0, mNewTechExtras, 0, techIndex); in removeTechnology()
[all …]
/packages/services/Telephony/src/org/apache/james/mime4j/field/datetime/parser/
DSimpleCharStream.java61 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); in ExpandBuff()
62 System.arraycopy(buffer, 0, newbuffer, in ExpandBuff()
66 System.arraycopy(bufline, tokenBegin, newbufline, 0, bufsize - tokenBegin); in ExpandBuff()
67 System.arraycopy(bufline, 0, newbufline, bufsize - tokenBegin, bufpos); in ExpandBuff()
70 System.arraycopy(bufcolumn, tokenBegin, newbufcolumn, 0, bufsize - tokenBegin); in ExpandBuff()
71 System.arraycopy(bufcolumn, 0, newbufcolumn, bufsize - tokenBegin, bufpos); in ExpandBuff()
78 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); in ExpandBuff()
81 System.arraycopy(bufline, tokenBegin, newbufline, 0, bufsize - tokenBegin); in ExpandBuff()
84 System.arraycopy(bufcolumn, tokenBegin, newbufcolumn, 0, bufsize - tokenBegin); in ExpandBuff()
388 System.arraycopy(buffer, bufpos - len + 1, ret, 0, len); in GetSuffix()
[all …]
/packages/services/Telephony/src/org/apache/james/mime4j/field/address/parser/
DSimpleCharStream.java61 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); in ExpandBuff()
62 System.arraycopy(buffer, 0, newbuffer, in ExpandBuff()
66 System.arraycopy(bufline, tokenBegin, newbufline, 0, bufsize - tokenBegin); in ExpandBuff()
67 System.arraycopy(bufline, 0, newbufline, bufsize - tokenBegin, bufpos); in ExpandBuff()
70 System.arraycopy(bufcolumn, tokenBegin, newbufcolumn, 0, bufsize - tokenBegin); in ExpandBuff()
71 System.arraycopy(bufcolumn, 0, newbufcolumn, bufsize - tokenBegin, bufpos); in ExpandBuff()
78 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); in ExpandBuff()
81 System.arraycopy(bufline, tokenBegin, newbufline, 0, bufsize - tokenBegin); in ExpandBuff()
84 System.arraycopy(bufcolumn, tokenBegin, newbufcolumn, 0, bufsize - tokenBegin); in ExpandBuff()
388 System.arraycopy(buffer, bufpos - len + 1, ret, 0, len); in GetSuffix()
[all …]
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/
DSimpleCharStream.java61 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); in ExpandBuff()
62 System.arraycopy(buffer, 0, newbuffer, in ExpandBuff()
66 System.arraycopy(bufline, tokenBegin, newbufline, 0, bufsize - tokenBegin); in ExpandBuff()
67 System.arraycopy(bufline, 0, newbufline, bufsize - tokenBegin, bufpos); in ExpandBuff()
70 System.arraycopy(bufcolumn, tokenBegin, newbufcolumn, 0, bufsize - tokenBegin); in ExpandBuff()
71 System.arraycopy(bufcolumn, 0, newbufcolumn, bufsize - tokenBegin, bufpos); in ExpandBuff()
78 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); in ExpandBuff()
81 System.arraycopy(bufline, tokenBegin, newbufline, 0, bufsize - tokenBegin); in ExpandBuff()
84 System.arraycopy(bufcolumn, tokenBegin, newbufcolumn, 0, bufsize - tokenBegin); in ExpandBuff()
388 System.arraycopy(buffer, bufpos - len + 1, ret, 0, len); in GetSuffix()
[all …]
/packages/services/Telephony/src/org/apache/james/mime4j/field/contenttype/parser/
DSimpleCharStream.java61 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); in ExpandBuff()
62 System.arraycopy(buffer, 0, newbuffer, in ExpandBuff()
66 System.arraycopy(bufline, tokenBegin, newbufline, 0, bufsize - tokenBegin); in ExpandBuff()
67 System.arraycopy(bufline, 0, newbufline, bufsize - tokenBegin, bufpos); in ExpandBuff()
70 System.arraycopy(bufcolumn, tokenBegin, newbufcolumn, 0, bufsize - tokenBegin); in ExpandBuff()
71 System.arraycopy(bufcolumn, 0, newbufcolumn, bufsize - tokenBegin, bufpos); in ExpandBuff()
78 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); in ExpandBuff()
81 System.arraycopy(bufline, tokenBegin, newbufline, 0, bufsize - tokenBegin); in ExpandBuff()
84 System.arraycopy(bufcolumn, tokenBegin, newbufcolumn, 0, bufsize - tokenBegin); in ExpandBuff()
388 System.arraycopy(buffer, bufpos - len + 1, ret, 0, len); in GetSuffix()
[all …]
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/
DSimpleCharStream.java61 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); in ExpandBuff()
62 System.arraycopy(buffer, 0, newbuffer, in ExpandBuff()
66 System.arraycopy(bufline, tokenBegin, newbufline, 0, bufsize - tokenBegin); in ExpandBuff()
67 System.arraycopy(bufline, 0, newbufline, bufsize - tokenBegin, bufpos); in ExpandBuff()
70 System.arraycopy(bufcolumn, tokenBegin, newbufcolumn, 0, bufsize - tokenBegin); in ExpandBuff()
71 System.arraycopy(bufcolumn, 0, newbufcolumn, bufsize - tokenBegin, bufpos); in ExpandBuff()
78 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); in ExpandBuff()
81 System.arraycopy(bufline, tokenBegin, newbufline, 0, bufsize - tokenBegin); in ExpandBuff()
84 System.arraycopy(bufcolumn, tokenBegin, newbufcolumn, 0, bufsize - tokenBegin); in ExpandBuff()
388 System.arraycopy(buffer, bufpos - len + 1, ret, 0, len); in GetSuffix()
[all …]
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/contenttype/parser/
DSimpleCharStream.java61 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); in ExpandBuff()
62 System.arraycopy(buffer, 0, newbuffer, in ExpandBuff()
66 System.arraycopy(bufline, tokenBegin, newbufline, 0, bufsize - tokenBegin); in ExpandBuff()
67 System.arraycopy(bufline, 0, newbufline, bufsize - tokenBegin, bufpos); in ExpandBuff()
70 System.arraycopy(bufcolumn, tokenBegin, newbufcolumn, 0, bufsize - tokenBegin); in ExpandBuff()
71 System.arraycopy(bufcolumn, 0, newbufcolumn, bufsize - tokenBegin, bufpos); in ExpandBuff()
78 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); in ExpandBuff()
81 System.arraycopy(bufline, tokenBegin, newbufline, 0, bufsize - tokenBegin); in ExpandBuff()
84 System.arraycopy(bufcolumn, tokenBegin, newbufcolumn, 0, bufsize - tokenBegin); in ExpandBuff()
388 System.arraycopy(buffer, bufpos - len + 1, ret, 0, len); in GetSuffix()
[all …]
/packages/apps/Nfc/nxp/src/com/android/nfc/dhimpl/
DNativeNfcTag.java469 System.arraycopy(mTechList, 0, mNewTechList, 0, mTechList.length); in addTechnology()
474 System.arraycopy(mTechHandles, 0, mNewHandleList, 0, mTechHandles.length); in addTechnology()
479 System.arraycopy(mTechLibNfcTypes, 0, mNewTypeList, 0, mTechLibNfcTypes.length); in addTechnology()
490 System.arraycopy(mTechList, 0, mNewTechList, 0, techIndex); in removeTechnology()
491 System.arraycopy(mTechList, techIndex + 1, mNewTechList, techIndex, in removeTechnology()
496 System.arraycopy(mTechHandles, 0, mNewHandleList, 0, techIndex); in removeTechnology()
497 System.arraycopy(mTechHandles, techIndex + 1, mNewTechList, techIndex, in removeTechnology()
502 System.arraycopy(mTechLibNfcTypes, 0, mNewTypeList, 0, techIndex); in removeTechnology()
503 System.arraycopy(mTechLibNfcTypes, techIndex + 1, mNewTypeList, techIndex, in removeTechnology()
542 System.arraycopy(oldTechExtras, 0, newTechExtras, 0, oldTechExtras.length); in addNdefTechnology()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DSparseLongArray.java101 System.arraycopy(mKeys, index + 1, mKeys, index, mSize - (index + 1)); in removeAt()
102 System.arraycopy(mValues, index + 1, mValues, index, mSize - (index + 1)); in removeAt()
124 System.arraycopy(mKeys, i, mKeys, i + 1, mSize - i); in put()
125 System.arraycopy(mValues, i, mValues, i + 1, mSize - i); in put()
218 System.arraycopy(mKeys, 0, nkeys, 0, mKeys.length); in growKeyAndValueArrays()
219 System.arraycopy(mValues, 0, nvalues, 0, mValues.length); in growKeyAndValueArrays()
/packages/apps/SpareParts/src/com/android/spare_parts/
DSpareParts.java148 mHapticFeedbackPref.setChecked(Settings.System.getInt( in updateToggles()
150 Settings.System.HAPTIC_FEEDBACK_ENABLED, 0) != 0); in updateToggles()
198 Settings.System.putInt(getContentResolver(), in writeEndButtonPreference()
199 Settings.System.END_BUTTON_BEHAVIOR, val); in writeEndButtonPreference()
238 pref.setValueIndex(Settings.System.getInt(getContentResolver(), in readEndButtonPreference()
239 Settings.System.END_BUTTON_BEHAVIOR)); in readEndButtonPreference()
250 Settings.System.putInt(getContentResolver(), in onSharedPreferenceChanged()
251 Settings.System.HAPTIC_FEEDBACK_ENABLED, in onSharedPreferenceChanged()
/packages/apps/Camera2/src/com/android/camera/stats/profiler/
DProfileBase.java39 mStartNanos = System.nanoTime(); in start()
48 mLastMark = System.nanoTime(); in mark()
54 long time = System.nanoTime(); in mark()
61 long time = System.nanoTime(); in stop()
68 long time = System.nanoTime(); in stop()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
DServiceProxy.java104 (System.currentTimeMillis() - mStartTime) + "ms"); in onServiceConnected()
152 (System.currentTimeMillis() - mStartTime) + "ms"); in onServiceDisconnected()
177 mStartTime = System.currentTimeMillis(); in setTask()
201 long time = System.currentTimeMillis(); in waitForCompletion()
213 (System.currentTimeMillis() - time) + "ms"); in waitForCompletion()
229 (System.currentTimeMillis() - mStartTime) + "ms"); in test()
/packages/apps/Settings/src/com/android/settings/dashboard/
DDashboardSummary.java82 long startTime = System.currentTimeMillis(); in onCreate()
94 if (DEBUG_TIMING) Log.d(TAG, "onCreate took " + (System.currentTimeMillis() - startTime) in onCreate()
114 long startTime = System.currentTimeMillis(); in onStart()
130 if (DEBUG_TIMING) Log.d(TAG, "onStart took " + (System.currentTimeMillis() - startTime) in onStart()
156 long startTime = System.currentTimeMillis(); in onWindowFocusChanged()
164 + (System.currentTimeMillis() - startTime) + " ms"); in onWindowFocusChanged()
182 long startTime = System.currentTimeMillis(); in onViewCreated()
200 + (System.currentTimeMillis() - startTime) + " ms"); in onViewCreated()

12345678910>>...26