Home
last modified time | relevance | path

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

12345678910>>...67

/frameworks/base/packages/SettingsProvider/src/android/provider/settings/backup/
DSystemSettings.java42 Settings.System.STAY_ON_WHILE_PLUGGED_IN, // moved to global in getSettingsToBackUp()
43 Settings.System.WIFI_USE_STATIC_IP, in getSettingsToBackUp()
44 Settings.System.WIFI_STATIC_IP, in getSettingsToBackUp()
45 Settings.System.WIFI_STATIC_GATEWAY, in getSettingsToBackUp()
46 Settings.System.WIFI_STATIC_NETMASK, in getSettingsToBackUp()
47 Settings.System.WIFI_STATIC_DNS1, in getSettingsToBackUp()
48 Settings.System.WIFI_STATIC_DNS2, in getSettingsToBackUp()
49 Settings.System.BLUETOOTH_DISCOVERABILITY, in getSettingsToBackUp()
50 Settings.System.BLUETOOTH_DISCOVERABILITY_TIMEOUT, in getSettingsToBackUp()
51 Settings.System.FONT_SCALE, in getSettingsToBackUp()
[all …]
/frameworks/base/packages/SettingsProvider/src/android/provider/settings/validators/
DSystemSettingsValidators.java39 import android.provider.Settings.System;
53 System.STAY_ON_WHILE_PLUGGED_IN, in VALIDATORS.put()
85 VALIDATORS.put(System.END_BUTTON_BEHAVIOR, new InclusiveIntegerRangeValidator(0, 3)); in VALIDATORS.put()
86 VALIDATORS.put(System.WIFI_USE_STATIC_IP, BOOLEAN_VALIDATOR); in VALIDATORS.put()
87 VALIDATORS.put(System.BLUETOOTH_DISCOVERABILITY, new InclusiveIntegerRangeValidator(0, 2)); in VALIDATORS.put()
88 VALIDATORS.put(System.BLUETOOTH_DISCOVERABILITY_TIMEOUT, NON_NEGATIVE_INTEGER_VALIDATOR); in VALIDATORS.put()
90 System.NEXT_ALARM_FORMATTED, in VALIDATORS.put()
100 VALIDATORS.put(System.DEFAULT_DEVICE_FONT_SCALE, FONT_SCALE_VALIDATOR); in VALIDATORS.put()
101 VALIDATORS.put(System.FONT_SCALE, FONT_SCALE_VALIDATOR); in VALIDATORS.put()
102 VALIDATORS.put(System.DIM_SCREEN, BOOLEAN_VALIDATOR); in VALIDATORS.put()
[all …]
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/
DBmgr.java93 System.err.println("Exception caught:"); in main()
111 System.err.println(BMGR_NOT_RUNNING_ERR); in run()
204 System.err.println("Unknown command"); in run()
218 System.out.println( in setSchedulingEnabled()
229 System.err.println(e.toString()); in handleRemoteException()
230 System.err.println(BMGR_NOT_RUNNING_ERR); in handleRemoteException()
236 System.err.println(BMGR_NOT_ACTIVATED_FOR_USER + userId); in isBackupActive()
257 System.out.println( in doAutoRestore()
273 System.out.println("Backup Manager currently " in doActivated()
288 System.out.println("Backup Manager currently " in doEnabled()
[all …]
/frameworks/base/tools/app_metadata_bundles/src/test/java/com/android/asllib/marshallable/
DDataLabelsTest.java73 System.out.println("set up."); in setUp()
79 System.out.println("starting testDataLabelsCollectedValidBool."); in testDataLabelsCollectedValidBool()
87 System.out.println("starting testDataLabelsCollectedEphemeral."); in testDataLabelsCollectedEphemeral()
95 System.out.println("starting testDataLabelsCollectedEphemeralCollision."); in testDataLabelsCollectedEphemeralCollision()
102 System.out.println("starting testDataLabelsCollectedInvalidBool."); in testDataLabelsCollectedInvalidBool()
110 System.out.println("starting testDataLabelsSharedValidBool."); in testDataLabelsSharedValidBool()
118 System.out.println("starting testDataLabelsSharedInvalidBool."); in testDataLabelsSharedInvalidBool()
127 System.out.println("starting testDataLabelsActionsInApp."); in testDataLabelsActionsInApp()
135 System.out.println("starting testDataLabelsAppPerformance."); in testDataLabelsAppPerformance()
143 System.out.println("starting testDataLabelsAudio."); in testDataLabelsAudio()
[all …]
/frameworks/base/cmds/sm/src/com/android/commands/sm/
DSm.java51 System.exit(1); in main()
54 System.err.println("Error: " + e); in main()
56 System.exit(success ? 0 : 1); in main()
121 System.out.println(disk.getId()); in runListDisks()
145 System.out.println(vol.getId() + " " + envState + " " + vol.getFsUuid()); in runListVolumes()
151 System.out.println(StorageManager.hasAdoptable()); in runHasAdoptable()
155 System.out.println(mSm.getPrimaryStorageUuid()); in runGetPrimaryStorageUuid()
194 System.out.println("native"); in runGetFbeMode()
196 System.out.println("none"); in runGetFbeMode()
246 System.out.println(result.get()); in runBenchmark()
[all …]
/frameworks/base/cmds/svc/src/com/android/commands/svc/
DUsbCommand.java95 System.out.println("Consumer status: " + status); in run()
102 System.out.println("setCurrentFunctions opId:" + operationId); in run()
106 System.err.println("Error communicating with UsbManager: " + e); in run()
111 System.err.println( in run()
114 System.err.println("Error communicating with UsbManager: " + e); in run()
122 System.err.println("Error communicating with UsbManager: " + e); in run()
129 System.err.println("Error communicating with UsbManager: " + e); in run()
134 System.err.println( in run()
137 System.err.println("Error communicating with UsbManager: " + e); in run()
142 System.err.println( in run()
[all …]
/frameworks/base/services/core/java/com/android/server/input/
DInputSettingsObserver.java63 Map.entry(Settings.System.getUriFor(Settings.System.POINTER_SPEED), in InputSettingsObserver()
65 Map.entry(Settings.System.getUriFor(Settings.System.TOUCHPAD_POINTER_SPEED), in InputSettingsObserver()
67 Map.entry(Settings.System.getUriFor(Settings.System.TOUCHPAD_NATURAL_SCROLLING), in InputSettingsObserver()
69 Map.entry(Settings.System.getUriFor(Settings.System.TOUCHPAD_TAP_TO_CLICK), in InputSettingsObserver()
71 Map.entry(Settings.System.getUriFor(Settings.System.TOUCHPAD_TAP_DRAGGING), in InputSettingsObserver()
73 Map.entry(Settings.System.getUriFor(Settings.System.TOUCHPAD_RIGHT_CLICK_ZONE), in InputSettingsObserver()
75 Map.entry(Settings.System.getUriFor(Settings.System.SHOW_TOUCHES), in InputSettingsObserver()
77 Map.entry(Settings.System.getUriFor(Settings.System.POINTER_LOCATION), in InputSettingsObserver()
88 Map.entry(Settings.System.getUriFor(Settings.System.SHOW_KEY_PRESSES), in InputSettingsObserver()
94 Map.entry(Settings.System.getUriFor(Settings.System.SHOW_ROTARY_INPUT), in InputSettingsObserver()
[all …]
/frameworks/base/tests/MidiTests/src/com/android/server/midi/
DMidiEventMultiSchedulerTest.java56 return System.nanoTime() + 1000000L * milliseconds; in timeFromNow()
77 assertNotNull(scheduler0.getNextEvent(System.nanoTime())); in testMultiScheduler()
78 assertNull(scheduler1.getNextEvent(System.nanoTime())); in testMultiScheduler()
79 assertNull(scheduler2.getNextEvent(System.nanoTime())); in testMultiScheduler()
81 assertNull(scheduler0.getNextEvent(System.nanoTime())); in testMultiScheduler()
82 assertNotNull(scheduler1.getNextEvent(System.nanoTime())); in testMultiScheduler()
83 assertNull(scheduler2.getNextEvent(System.nanoTime())); in testMultiScheduler()
85 assertNull(scheduler0.getNextEvent(System.nanoTime())); in testMultiScheduler()
86 assertNull(scheduler1.getNextEvent(System.nanoTime())); in testMultiScheduler()
87 assertNotNull(scheduler2.getNextEvent(System.nanoTime())); in testMultiScheduler()
[all …]
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/f32/
DRefocusFilterF32.java63 startnow = System.nanoTime(); in extractResultImage()
65 endnow = System.nanoTime(); in extractResultImage()
68 startnow = System.nanoTime(); in extractResultImage()
70 endnow = System.nanoTime(); in extractResultImage()
135 startnow = System.nanoTime(); in computeLayerMatteBehindFocalDepth()
137 endnow = System.nanoTime(); in computeLayerMatteBehindFocalDepth()
140 startnow = System.nanoTime(); in computeLayerMatteBehindFocalDepth()
142 endnow = System.nanoTime(); in computeLayerMatteBehindFocalDepth()
158 startnow = System.nanoTime(); in filterLayerBehindFocalDepth()
161 endnow = System.nanoTime(); in filterLayerBehindFocalDepth()
[all …]
/frameworks/proto_logging/stats/enums/app/
Dtvsettings_enums.proto343 // TvSettings > Display & Sound > System sounds (toggle)
596 // TvSettings > System (same as TvSettings > Device Preferences)
599 // TvSettings > System > About
602 // TvSettings > System > System update
605 // TvSettings > System > Device name
608 // TvSettings > System > Factory reset
611 // TvSettings > System > Status
614 // TvSettings > System > Legal information
617 // TvSettings > System > Legal information > Open source licenses
620 // TvSettings > System > Legal information > Google legal
[all …]
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/d1new/
DRefocusFilterd1new.java65 startnow = System.nanoTime(); in extractResultImage()
67 endnow = System.nanoTime(); in extractResultImage()
70 startnow = System.nanoTime(); in extractResultImage()
72 endnow = System.nanoTime(); in extractResultImage()
137 startnow = System.nanoTime(); in computeLayerMatteBehindFocalDepth()
141 endnow = System.nanoTime(); in computeLayerMatteBehindFocalDepth()
144 startnow = System.nanoTime(); in computeLayerMatteBehindFocalDepth()
148 endnow = System.nanoTime(); in computeLayerMatteBehindFocalDepth()
165 startnow = System.nanoTime(); in filterLayerBehindFocalDepth()
168 endnow = System.nanoTime(); in filterLayerBehindFocalDepth()
[all …]
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
DEventRecurrenceTest.java731 System.out.println("Error... got:"); in verifyRecurType()
733 System.out.println("expected:"); in verifyRecurType()
734 System.out.println("{"); in verifyRecurType()
735 System.out.println(" freq=" + freq); in verifyRecurType()
736 System.out.println(" until=" + until); in verifyRecurType()
737 System.out.println(" count=" + count); in verifyRecurType()
738 System.out.println(" interval=" + interval); in verifyRecurType()
739 System.out.println(" wkst=" + wkst); in verifyRecurType()
740 System.out.println(" bysecond=" + Arrays.toString(bysecond)); in verifyRecurType()
741 System.out.println(" byminute=" + Arrays.toString(byminute)); in verifyRecurType()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DBaseCommand.java54 onShowUsage(System.out); in run()
64 onShowUsage(System.err); in run()
65 System.err.println(); in run()
66 System.err.println("Error: " + e.getMessage()); in run()
68 e.printStackTrace(System.err); in run()
69 System.exit(1); in run()
77 onShowUsage(System.err); in showUsage()
85 onShowUsage(System.err); in showError()
86 System.err.println(); in showError()
87 System.err.println(message); in showError()
/frameworks/base/core/java/android/hardware/input/
DInputSettings.java108 return Settings.System.getInt(context.getContentResolver(), in getPointerSpeed()
109 Settings.System.POINTER_SPEED, DEFAULT_POINTER_SPEED); in getPointerSpeed()
130 Settings.System.putInt(context.getContentResolver(), in setPointerSpeed()
131 Settings.System.POINTER_SPEED, speed); in setPointerSpeed()
225 return Settings.System.getIntForUser(context.getContentResolver(), in getTouchpadPointerSpeed()
226 Settings.System.TOUCHPAD_POINTER_SPEED, DEFAULT_POINTER_SPEED, in getTouchpadPointerSpeed()
247 Settings.System.putIntForUser(context.getContentResolver(), in setTouchpadPointerSpeed()
248 Settings.System.TOUCHPAD_POINTER_SPEED, speed, UserHandle.USER_CURRENT); in setTouchpadPointerSpeed()
263 return Settings.System.getIntForUser(context.getContentResolver(), in useTouchpadNaturalScrolling()
264 Settings.System.TOUCHPAD_NATURAL_SCROLLING, 1, UserHandle.USER_CURRENT) == 1; in useTouchpadNaturalScrolling()
[all …]
/frameworks/base/tools/powerstats/
DPowerStatsServiceProtoParser.java35 System.out.println(csvHeader); in printEnergyMeterInfo()
55 System.out.println(csvRow); in printEnergyMeasurements()
58 System.out.println("Error: energyMeterInfoCount is zero"); in printEnergyMeasurements()
71 System.out.println(csvHeader); in printEnergyConsumer()
96 System.out.println(csvRow); in printEnergyConsumerResults()
99 System.out.println("Error: energyConsumerCount is zero"); in printEnergyConsumerResults()
113 System.out.println(csvHeader); in printPowerEntityInfo()
130 System.out.println(csvRow); in printStateResidencyResult()
145 System.out.println("Meter incident report not found. Exiting."); in generateCsvFile()
157 System.out.println("Model incident report not found. Exiting."); in generateCsvFile()
[all …]
/frameworks/base/core/java/com/android/internal/util/
DGrowingArrayUtils.java52 System.arraycopy(array, 0, newArray, 0, currentSize); in append()
68 System.arraycopy(array, 0, newArray, 0, currentSize); in append()
83 System.arraycopy(array, 0, newArray, 0, currentSize); in append()
98 System.arraycopy(array, 0, newArray, 0, currentSize); in append()
113 System.arraycopy(array, 0, newArray, 0, currentSize); in append()
135 System.arraycopy(array, index, array, index + 1, currentSize - index); in insert()
143 System.arraycopy(array, 0, newArray, 0, index); in insert()
145 System.arraycopy(array, index, newArray, index + 1, array.length - index); in insert()
156 System.arraycopy(array, index, array, index + 1, currentSize - index); in insert()
162 System.arraycopy(array, 0, newArray, 0, index); in insert()
[all …]
/frameworks/base/cmds/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/
DRunTestCommand.java70 System.err.println("Incomplete '-c' parameter."); in run()
71 System.exit(ARG_FAIL_INCOMPLETE_C); in run()
74 System.err.println("Incomplete '-e' parameter."); in run()
75 System.exit(ARG_FAIL_INCOMPLETE_E); in run()
78 System.err.println("Unsupported standalone parameter."); in run()
79 System.exit(ARG_FAIL_UNSUPPORTED); in run()
87 System.err.println("No test classes found."); in run()
88 System.exit(ARG_FAIL_NO_CLASS); in run()
154 System.err.println("Cannot find runner: " + mRunnerClassName); in getRunner()
155 System.exit(ARG_FAIL_RUNNER); in getRunner()
[all …]
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/eapaka/
DMasterKey.java84 System.arraycopy(identityBytes, 0, data, index, identityBytes.length); in from()
86 System.arraycopy(ik, 0, data, index, ik.length); in from()
88 System.arraycopy(ck, 0, data, index, ck.length); in from()
122 System.arraycopy(teks, index, mEncr, 0, LENGTH_K_ENCR); in generateTransientEapKeys()
125 System.arraycopy(teks, index, mAut, 0, LENGTH_K_AUT); in generateTransientEapKeys()
128 System.arraycopy(teks, index, mMsk, 0, LENGTH_MSK); in generateTransientEapKeys()
131 System.arraycopy(teks, index, mEmsk, 0, LENGTH_EMSK); in generateTransientEapKeys()
196 System.arraycopy(w, 0, teks, index, 20); in generatePsudoRandomNumber()
238 System.arraycopy(BytesConverter.convertIntegerTo4Bytes(t[i]), 0, bytesH[i], 0, 4); in doFunctionG()
244 System.arraycopy(c, 0, bytesM1, 0, 20); in doFunctionG()
[all …]
/frameworks/base/services/core/java/com/android/server/location/contexthub/
DContextHubEventLogger.java244 long timeStampInMs = System.currentTimeMillis(); in logNanoappLoad()
261 long timeStampInMs = System.currentTimeMillis(); in logNanoappUnload()
283 long timeStampInMs = System.currentTimeMillis(); in logMessageFromNanoapp()
305 long timeStampInMs = System.currentTimeMillis(); in logMessageToNanoapp()
320 long timeStampInMs = System.currentTimeMillis(); in logContextHubRestart()
332 sb.append(System.lineSeparator()); in toString()
335 sb.append(System.lineSeparator()); in toString()
337 sb.append(System.lineSeparator()); in toString()
339 sb.append(System.lineSeparator()); in toString()
342 sb.append(System.lineSeparator()); in toString()
[all …]
/frameworks/base/core/java/android/net/
DProxy.java148 String host = System.getProperty("http.proxyHost"); in getDefaultHost()
165 return Integer.parseInt(System.getProperty("http.proxyPort")); in getDefaultPort()
223 System.setProperty("http.proxyHost", host); in setHttpProxyConfiguration()
224 System.setProperty("https.proxyHost", host); in setHttpProxyConfiguration()
226 System.clearProperty("http.proxyHost"); in setHttpProxyConfiguration()
227 System.clearProperty("https.proxyHost"); in setHttpProxyConfiguration()
230 System.setProperty("http.proxyPort", port); in setHttpProxyConfiguration()
231 System.setProperty("https.proxyPort", port); in setHttpProxyConfiguration()
233 System.clearProperty("http.proxyPort"); in setHttpProxyConfiguration()
234 System.clearProperty("https.proxyPort"); in setHttpProxyConfiguration()
[all …]
/frameworks/base/cmds/incident_helper/java/com/android/commands/incident/
DIncidentHelper.java68 section.run(System.in, System.out, sectionArgs); in run()
90 System.err.println(tag + ": " + msg); in log()
103 showUsage(System.err); in main()
104 System.exit(0); in main()
110 showUsage(System.err); in main()
111 System.err.println(); in main()
112 e.printStackTrace(System.err); in main()
117 e.printStackTrace(System.err); in main()
121 System.exit(1); in main()
/frameworks/base/cmds/bu/src/com/android/commands/bu/
DBackup.java206System.err.println(" backup [-user USER_ID] [-f FILE] [-apk|-noapk] [-obb|-noobb] [-shared|-noshar… in showUsage()
207System.err.println(" [-all] [-system|-nosystem] [-keyvalue|-nokeyvalue] [PACKAGE...]"); in showUsage()
208System.err.println(" write an archive of the device's data to FILE [default=backup.adb]"); in showUsage()
209 System.err.println(" package list optional if -all/-shared are supplied"); in showUsage()
210System.err.println(" -user: user ID for which to perform the operation (default - system user)… in showUsage()
211 System.err.println(" -apk/-noapk: do/don't back up .apk files (default -noapk)"); in showUsage()
212 System.err.println(" -obb/-noobb: do/don't back up .obb files (default -noobb)"); in showUsage()
213System.err.println(" -shared|-noshared: do/don't back up shared storage (default -noshared)"); in showUsage()
214 System.err.println(" -all: back up all installed applications"); in showUsage()
215 System.err.println(" -system|-nosystem: include system apps in -all (default -system)"); in showUsage()
[all …]
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/
DVibrationScalerTest.java104 Settings.System.putInt(contentResolver, Settings.System.HAPTIC_FEEDBACK_ENABLED, 1); in setUp()
105 Settings.System.putInt(contentResolver, Settings.System.VIBRATE_WHEN_RINGING, 1); in setUp()
122 setUserSetting(Settings.System.HAPTIC_FEEDBACK_INTENSITY, VIBRATION_INTENSITY_HIGH); in testGetScaleLevel()
126 setUserSetting(Settings.System.HAPTIC_FEEDBACK_INTENSITY, VIBRATION_INTENSITY_MEDIUM); in testGetScaleLevel()
130 setUserSetting(Settings.System.HAPTIC_FEEDBACK_INTENSITY, VIBRATION_INTENSITY_LOW); in testGetScaleLevel()
142 setUserSetting(Settings.System.HAPTIC_FEEDBACK_INTENSITY, VIBRATION_INTENSITY_OFF); in testGetScaleLevel()
153 setUserSetting(Settings.System.HAPTIC_FEEDBACK_INTENSITY, VIBRATION_INTENSITY_HIGH); in testAdaptiveHapticsScale_withAdaptiveHapticsAvailable()
154 setUserSetting(Settings.System.RING_VIBRATION_INTENSITY, VIBRATION_INTENSITY_HIGH); in testAdaptiveHapticsScale_withAdaptiveHapticsAvailable()
163 setUserSetting(Settings.System.HAPTIC_FEEDBACK_INTENSITY, VIBRATION_INTENSITY_OFF); in testAdaptiveHapticsScale_withAdaptiveHapticsAvailable()
173 setUserSetting(Settings.System.HAPTIC_FEEDBACK_INTENSITY, VIBRATION_INTENSITY_HIGH); in testAdaptiveHapticsScale_flagDisabled_adaptiveHapticScaleAlwaysNone()
[all …]
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DSettingsHelperTest.java383 assertThat(Settings.System.getString(mContentResolver, Settings.System.RINGTONE)) in testRestoreValue_customRingtone_regularUncanonicalize_Success()
391 Settings.System.RINGTONE, in testRestoreValue_customRingtone_regularUncanonicalize_Success()
395 assertThat(Settings.System.getString(mContentResolver, Settings.System.RINGTONE)) in testRestoreValue_customRingtone_regularUncanonicalize_Success()
456 Settings.System.RINGTONE, in testRestoreValue_customRingtone_useCustomLookup_success()
460 assertThat(Settings.System.getString(mContentResolver, Settings.System.RINGTONE)) in testRestoreValue_customRingtone_useCustomLookup_success()
521 Settings.System.NOTIFICATION_SOUND, in testRestoreValue_customRingtone_notificationSound_useCustomLookup_success()
526 Settings.System.getString( in testRestoreValue_customRingtone_notificationSound_useCustomLookup_success()
527 mContentResolver, Settings.System.NOTIFICATION_SOUND)) in testRestoreValue_customRingtone_notificationSound_useCustomLookup_success()
594 Settings.System.ALARM_ALERT, in testRestoreValue_customRingtone_alarmSound_useCustomLookup_success()
598 assertThat(Settings.System.getString(mContentResolver, Settings.System.ALARM_ALERT)) in testRestoreValue_customRingtone_alarmSound_useCustomLookup_success()
[all …]
/frameworks/base/test-junit/src/junit/textui/
DTestRunner.java41 this(System.out); in TestRunner()
115 long startTime= System.currentTimeMillis(); in doRun()
117 long endTime= System.currentTimeMillis(); in doRun()
129 System.in.read(); in pause()
140 System.exit(FAILURE_EXIT); in main()
141 System.exit(SUCCESS_EXIT); in main()
143 System.err.println(e.getMessage()); in main()
144 System.exit(EXCEPTION_EXIT); in main()
168 System.err.println("JUnit " + Version.id() + " by Kent Beck and Erich Gamma"); in start()
194 System.err.println(message); in runFailed()
[all …]

12345678910>>...67