Home
last modified time | relevance | path

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

12345678910>>...44

/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/
DBmgr.java59 System.err.println("Exception caught:"); in main()
72 System.err.println(BMGR_NOT_RUNNING_ERR); in run()
140 System.err.println("Unknown command"); in run()
151 System.out.println("Backup Manager currently " in doEnabled()
154 System.err.println(e.toString()); in doEnabled()
155 System.err.println(BMGR_NOT_RUNNING_ERR); in doEnabled()
169 System.out.println("Backup Manager now " + enableToString(enable)); in doEnable()
174 System.err.println(e.toString()); in doEnable()
175 System.err.println(BMGR_NOT_RUNNING_ERR); in doEnable()
183 System.err.println(e.toString()); in doRun()
[all …]
/frameworks/base/cmds/pm/src/com/android/commands/pm/
DPm.java110 System.err.println("Error: " + e); in main()
112 System.err.println(PM_NOT_RUNNING_ERR); in main()
115 System.exit(exitCode); in main()
128 System.err.println(PM_NOT_RUNNING_ERR); in run()
292 System.err.println("Error: unknown command '" + op + "'"); in run()
310 System.err.println(msg); in onOpenOutputFile()
321 System.err.println(msg + " (from path " + file.getAbsolutePath() in onOpenOutputFile()
422 System.err.println("Error: Failed to parse APK file: " + e); in runInstall()
426 System.err.println("Error: Can't open non-file: " + inPath); in runInstall()
436 System.err.println("Error: must either specify a package size or an APK file"); in runInstall()
[all …]
/frameworks/base/cmds/ime/src/com/android/commands/ime/
DIme.java51 System.err.println(IMM_NOT_RUNNING_ERR); in run()
80 System.err.println("Error: unknown command '" + op + "'"); in run()
98 System.err.println("Error: Unknown option: " + opt); in runList()
110 System.err.println(e.toString()); in runList()
111 System.err.println(IMM_NOT_RUNNING_ERR); in runList()
118 System.err.println(e.toString()); in runList()
119 System.err.println(IMM_NOT_RUNNING_ERR); in runList()
125 Printer pr = new PrintStreamPrinter(System.out); in runList()
129 System.out.println(imi.getId()); in runList()
131 System.out.println(imi.getId() + ":"); in runList()
[all …]
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/
DMakeCopy.java72System.out.println("required parameters: [-l] manifest adk-dir src-out-dir xml-out-dir " + in main()
74 System.out.println("Creates an android data binding class and copies resources from"); in main()
75 System.out.println("res-source to res-target and modifies binding layout files"); in main()
76 System.out.println("in res-target. Binding data is extracted into XML files"); in main()
77 System.out.println("and placed in xml-out-dir."); in main()
78 System.out.println(" -l indicates that this is a library"); in main()
79 System.out.println(" manifest path to AndroidManifest.xml file"); in main()
80 System.out.println(" src-out-dir path to where generated source goes"); in main()
81 System.out.println(" xml-out-dir path to where generated binding XML goes"); in main()
82 System.out.println(" res-out-dir path to the where modified resources should go"); in main()
[all …]
/frameworks/base/cmds/sm/src/com/android/commands/sm/
DSm.java45 System.exit(1); in main()
48 System.err.println("Error: " + e); in main()
50 System.exit(success ? 0 : 1); in main()
109 System.out.println(disk.getId()); in runListDisks()
131 System.out.println(vol.getId() + " " + envState + " " + vol.getFsUuid()); in runListVolumes()
137 System.out.println(SystemProperties.getBoolean(StorageManager.PROP_HAS_ADOPTABLE, false)); in runHasAdoptable()
141 System.out.println(mSm.getPrimaryStorageUuid()); in runGetPrimaryStorageUuid()
174 System.out.println("native"); in runGetFbeMode()
176 System.out.println("emulated"); in runGetFbeMode()
178 System.out.println("none"); in runGetFbeMode()
[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/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.java46 onShowUsage(System.out); in run()
56 onShowUsage(System.err); in run()
57 System.err.println(); in run()
58 System.err.println("Error: " + e.getMessage()); in run()
60 e.printStackTrace(System.err); in run()
61 System.exit(1); in run()
69 onShowUsage(System.err); in showUsage()
77 onShowUsage(System.err); in showError()
78 System.err.println(); in showError()
79 System.err.println(message); in showError()
/frameworks/support/v7/appcompat/src/android/support/v7/content/res/
DGrowingArrayUtils.java46 System.arraycopy(array, 0, newArray, 0, currentSize); in append()
61 System.arraycopy(array, 0, newArray, 0, currentSize); in append()
76 System.arraycopy(array, 0, newArray, 0, currentSize); in append()
91 System.arraycopy(array, 0, newArray, 0, currentSize); in append()
113 System.arraycopy(array, index, array, index + 1, currentSize - index); in insert()
120 System.arraycopy(array, 0, newArray, 0, index); in insert()
122 System.arraycopy(array, index, newArray, index + 1, array.length - index); in insert()
133 System.arraycopy(array, index, array, index + 1, currentSize - index); in insert()
139 System.arraycopy(array, 0, newArray, 0, index); in insert()
141 System.arraycopy(array, index, newArray, index + 1, array.length - index); in insert()
[all …]
/frameworks/base/core/java/com/android/internal/util/
DGrowingArrayUtils.java47 System.arraycopy(array, 0, newArray, 0, currentSize); in append()
62 System.arraycopy(array, 0, newArray, 0, currentSize); in append()
77 System.arraycopy(array, 0, newArray, 0, currentSize); in append()
92 System.arraycopy(array, 0, newArray, 0, currentSize); in append()
107 System.arraycopy(array, 0, newArray, 0, currentSize); in append()
129 System.arraycopy(array, index, array, index + 1, currentSize - index); in insert()
137 System.arraycopy(array, 0, newArray, 0, index); in insert()
139 System.arraycopy(array, index, newArray, index + 1, array.length - index); in insert()
150 System.arraycopy(array, index, array, index + 1, currentSize - index); in insert()
156 System.arraycopy(array, 0, newArray, 0, index); in insert()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DBrightnessController.java93 Settings.System.getUriFor(Settings.System.SCREEN_BRIGHTNESS_MODE);
95 Settings.System.getUriFor(Settings.System.SCREEN_BRIGHTNESS);
97 Settings.System.getUriFor(Settings.System.SCREEN_BRIGHTNESS_FOR_VR);
99 Settings.System.getUriFor(Settings.System.SCREEN_AUTO_BRIGHTNESS_ADJ);
190 automatic = Settings.System.getIntForUser(mContext.getContentResolver(),
191 Settings.System.SCREEN_BRIGHTNESS_MODE,
192 Settings.System.SCREEN_BRIGHTNESS_MODE_MANUAL,
194 mAutomatic = automatic != Settings.System.SCREEN_BRIGHTNESS_MODE_MANUAL;
211 int value = Settings.System.getIntForUser(mContext.getContentResolver(),
212 Settings.System.SCREEN_BRIGHTNESS_FOR_VR, mMaximumBacklight,
[all …]
/frameworks/base/cmds/media/src/com/android/commands/media/
DMedia.java84 System.err.println(NO_SYSTEM_ERROR_CODE); in onRun()
136 System.out.println("***Error monitoring session*** " + e.getMessage()); in runMonitor()
139 System.out.println("No session found with id " + id); in runMonitor()
189 System.out.println("onSessionDestroyed. Enter q to quit."); in onSessionDestroyed()
195 System.out.println("onSessionEvent event=" + event + ", extras=" + extras); in onEvent()
200 System.out.println("onPlaybackStateChanged " + state); in onPlaybackStateChanged()
207 System.out.println("onMetadataChanged " + mmString); in onMetadataChanged()
212 System.out.println("onQueueChanged, " in onQueueChanged()
218 System.out.println("onQueueTitleChange " + title); in onQueueTitleChanged()
223 System.out.println("onExtrasChanged " + extras); in onExtrasChanged()
[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/base/cmds/bu/src/com/android/commands/bu/
DBackup.java162System.err.println(" backup [-f FILE] [-apk|-noapk] [-obb|-noobb] [-shared|-noshared] [-all]"); in showUsage()
163 System.err.println(" [-system|-nosystem] [-keyvalue|-nokeyvalue] [PACKAGE...]"); in showUsage()
164System.err.println(" write an archive of the device's data to FILE [default=backup.adb]"); in showUsage()
165 System.err.println(" package list optional if -all/-shared are supplied"); in showUsage()
166 System.err.println(" -apk/-noapk: do/don't back up .apk files (default -noapk)"); in showUsage()
167 System.err.println(" -obb/-noobb: do/don't back up .obb files (default -noobb)"); in showUsage()
168System.err.println(" -shared|-noshared: do/don't back up shared storage (default -noshared)"); in showUsage()
169 System.err.println(" -all: back up all installed applications"); in showUsage()
170 System.err.println(" -system|-nosystem: include system apps in -all (default -system)"); in showUsage()
171System.err.println(" -keyvalue|-nokeyvalue: include apps that perform key/value backups."); in showUsage()
[all …]
/frameworks/base/core/java/android/net/
DProxy.java173 String host = System.getProperty("http.proxyHost"); in getDefaultHost()
190 return Integer.parseInt(System.getProperty("http.proxyPort")); in getDefaultPort()
262 System.setProperty("http.proxyHost", host); in setHttpProxySystemProperty()
263 System.setProperty("https.proxyHost", host); in setHttpProxySystemProperty()
265 System.clearProperty("http.proxyHost"); in setHttpProxySystemProperty()
266 System.clearProperty("https.proxyHost"); in setHttpProxySystemProperty()
269 System.setProperty("http.proxyPort", port); in setHttpProxySystemProperty()
270 System.setProperty("https.proxyPort", port); in setHttpProxySystemProperty()
272 System.clearProperty("http.proxyPort"); in setHttpProxySystemProperty()
273 System.clearProperty("https.proxyPort"); in setHttpProxySystemProperty()
[all …]
/frameworks/base/core/java/com/android/internal/view/
DRotationPolicy.java94 Settings.System.getIntForUser(context.getContentResolver(), in isRotationLockToggleVisible()
95 Settings.System.HIDE_ROTATION_LOCK_TOGGLE_FOR_ACCESSIBILITY, 0, in isRotationLockToggleVisible()
103 return Settings.System.getIntForUser(context.getContentResolver(), in isRotationLocked()
104 Settings.System.ACCELEROMETER_ROTATION, 0, UserHandle.USER_CURRENT) == 0; in isRotationLocked()
111 Settings.System.putIntForUser(context.getContentResolver(), in setRotationLock()
112 Settings.System.HIDE_ROTATION_LOCK_TOGGLE_FOR_ACCESSIBILITY, 0, in setRotationLock()
125 Settings.System.putIntForUser(context.getContentResolver(), in setRotationLockForAccessibility()
126 Settings.System.HIDE_ROTATION_LOCK_TOGGLE_FOR_ACCESSIBILITY, enabled ? 1 : 0, in setRotationLockForAccessibility()
168 context.getContentResolver().registerContentObserver(Settings.System.getUriFor( in registerRotationPolicyListener()
169 Settings.System.ACCELEROMETER_ROTATION), in registerRotationPolicyListener()
[all …]
/frameworks/base/core/tests/coretests/src/android/util/
DArrayMapTest.java44 System.out.println("Starting ArrayMap concurrency test"); in testConcurrentModificationException()
57 System.out.println("[successfully caught CME at put #" + i in testConcurrentModificationException()
61 System.out.print("."); in testConcurrentModificationException()
69 System.out.print("X"); in testConcurrentModificationException()
78 System.out.println( in testConcurrentModificationException()
84 System.out.println(); in testConcurrentModificationException()
96 System.out.print("."); in testNonConcurrentAccesses()
100 System.out.print("X"); in testNonConcurrentAccesses()
/frameworks/base/test-runner/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 …]
/frameworks/base/core/tests/coretests/src/android/content/
DContentQueryMapTest.java59 Settings.System.putString(r, "test", "Value"); in testContentQueryMap()
61 Settings.System.CONTENT_URI, in testContentQueryMap()
63 Settings.System.NAME, in testContentQueryMap()
64 Settings.System.VALUE, in testContentQueryMap()
68 cursor, Settings.System.NAME, true, null); in testContentQueryMap()
74 Settings.System.putString(r, "test", "New Value"); in testContentQueryMap()
76 String value = v.getAsString(Settings.System.VALUE); in testContentQueryMap()
84 String value = v.getAsString(Settings.System.VALUE); in testContentQueryMap()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DSlowNestedRecyclerViewActivity.java79 final long start = System.nanoTime(); in onCreateViewHolder()
85 final long start = System.nanoTime(); in onCreateViewHolder()
87 while (System.nanoTime() - start < INNER_ITEM_ATTACH_NS); in onCreateViewHolder()
103 while (System.nanoTime() - start < INNER_ITEM_CREATE_NS); in onCreateViewHolder()
109 final long start = System.nanoTime(); in onBindViewHolder()
110 while (System.nanoTime() - start < INNER_ITEM_BIND_NS); in onBindViewHolder()
138 final long start = System.nanoTime(); in onCreateViewHolder()
143 final long start = System.nanoTime(); in onCreateViewHolder()
145 while (System.nanoTime() - start < OUTER_ITEM_ATTACH_NS); in onCreateViewHolder()
157 while (System.nanoTime() - start < OUTER_ITEM_CREATE_NS); in onCreateViewHolder()
[all …]
/frameworks/base/core/tests/coretests/src/android/provider/
DSettingsBackupTest.java50 Settings.System.ADVANCED_SETTINGS, // candidate for backup?
51 Settings.System.ALARM_ALERT, // backup candidate?
52 Settings.System.ALARM_ALERT_CACHE, // internal cache
53 Settings.System.APPEND_FOR_LAST_AUDIBLE, // suffix deprecated since API 2
54 Settings.System.EGG_MODE, // I am the lolrus
55 Settings.System.END_BUTTON_BEHAVIOR, // bug?
56 Settings.System
58 Settings.System.LOCKSCREEN_DISABLED, // ?
59 Settings.System.MEDIA_BUTTON_RECEIVER, // candidate for backup?
60 Settings.System.MUTE_STREAMS_AFFECTED, // candidate for backup?
[all …]
/frameworks/base/obex/javax/obex/
DObexSession.java88 System.arraycopy(description, 1, realmString, 0, realmString.length); in handleAuthChall()
163 System.arraycopy(userName, 0, header.mAuthResp, 38, userName.length); in handleAuthChall()
170 System.arraycopy(challenge, 0, digest, 0, challenge.length); in handleAuthChall()
173 System.arraycopy(password, 0, digest, challenge.length + 1, password.length); in handleAuthChall()
179 System.arraycopy(ObexHelper.computeMd5Hash(digest), 0, header.mAuthResp, 2, 16); in handleAuthChall()
184 System.arraycopy(challenge, 0, header.mAuthResp, 20, 16); in handleAuthChall()
209 System.arraycopy(mChallengeDigest, 0, temp, 0, 16); in handleAuthResp()
210 System.arraycopy(correctPassword, 0, temp, 16, correctPassword.length); in handleAuthResp()
/frameworks/base/cmds/wm/src/com/android/commands/wm/
DWm.java89 System.err.println(NO_SYSTEM_ERROR_CODE); in onRun()
139 System.err.println("Error: bad number " + e); in runSetScreenCapture()
148 System.err.println("Error: Can't set screen capture " + e); in runSetScreenCapture()
161 System.out.println("Physical size: " + initialSize.x + "x" + initialSize.y); in runDisplaySize()
163 System.out.println("Override size: " + baseSize.x + "x" + baseSize.y); in runDisplaySize()
173 System.err.println("Error: bad size " + size); in runDisplaySize()
182 System.err.println("Error: bad number " + e); in runDisplaySize()
205 System.out.println("Physical density: " + initialDensity); in runDisplayDensity()
207 System.out.println("Override density: " + baseDensity); in runDisplayDensity()
218 System.err.println("Error: bad number " + e); in runDisplayDensity()
[all …]
/frameworks/base/core/tests/coretests/src/android/net/http/
DAbstractProxyTest.java48 System.clearProperty("proxyHost"); in tearDown()
49 System.clearProperty("proxyPort"); in tearDown()
50 System.clearProperty("http.proxyHost"); in tearDown()
51 System.clearProperty("http.proxyPort"); in tearDown()
52 System.clearProperty("https.proxyHost"); in tearDown()
53 System.clearProperty("https.proxyPort"); in tearDown()
193 System.setProperty("http.proxyHost", "proxy.foo"); in testParamPreferredOverSystemProperty()
194 System.setProperty("http.proxyPort", "8080"); in testParamPreferredOverSystemProperty()
209 System.setProperty("http.proxyHost", "proxy.foo"); in testExplicitNoProxyCancelsSystemProperty()
210 System.setProperty("http.proxyPort", "8080"); in testExplicitNoProxyCancelsSystemProperty()
[all …]

12345678910>>...44