/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/ |
D | Bmgr.java | 45 System.err.println("Exception caught:"); in main() 58 System.err.println(BMGR_NOT_RUNNING_ERR); in run() 111 System.err.println("Unknown command"); in run() 122 System.out.println("Backup Manager currently " in doEnabled() 125 System.err.println(e.toString()); in doEnabled() 126 System.err.println(BMGR_NOT_RUNNING_ERR); in doEnabled() 140 System.out.println("Backup Manager now " + enableToString(enable)); in doEnable() 145 System.err.println(e.toString()); in doEnable() 146 System.err.println(BMGR_NOT_RUNNING_ERR); in doEnable() 154 System.err.println(e.toString()); in doRun() [all …]
|
/frameworks/base/cmds/pm/src/com/android/commands/pm/ |
D | Pm.java | 111 System.err.println("Error: " + e); in main() 113 System.err.println(PM_NOT_RUNNING_ERR); in main() 116 System.exit(exitCode); in main() 128 System.err.println(PM_NOT_RUNNING_ERR); in run() 284 System.err.println("Error: unknown command '" + op + "'"); in run() 304 System.err.println("Error: didn't specify type of data to list"); in runList() 322 System.err.println("Error: unknown list type '" + type + "'"); in runList() 360 System.err.println("Error: Unknown option: " + opt); in runListPackages() 365 System.err.println("Error: " + ex.toString()); in runListPackages() 386 System.out.print("package:"); in runListPackages() [all …]
|
/frameworks/base/cmds/ime/src/com/android/commands/ime/ |
D | Ime.java | 51 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/base/cmds/appops/src/com/android/commands/appops/ |
D | AppOpsCommand.java | 76 System.err.println("Error: Unknown command: '" + command + "'."); in onRun() 101 System.err.println("Error: " + e.getMessage()); in strOpToOp() 122 System.err.println("Error: Unsupported argument: " + argument); in runSet() 129 System.err.println("Error: Package name not specified."); in runSet() 132 System.err.println("Error: Operation not specified."); in runSet() 135 System.err.println("Error: Mode not specified."); in runSet() 158 System.err.println("Error: Mode " + mode + " is not valid,"); in runSet() 173 System.err.println("Error: No UID for " + packageName + " in user " + userId); in runSet() 192 System.err.println("Error: Unsupported argument: " + argument); in runGet() 199 System.err.println("Error: Package name not specified."); in runGet() [all …]
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/ |
D | MakeCopy.java | 71 … System.out.println("required parameters: [-l] manifest adk-dir src-out-dir xml-out-dir " + in main() 73 System.out.println("Creates an android data binding class and copies resources from"); in main() 74 System.out.println("res-source to res-target and modifies binding layout files"); in main() 75 System.out.println("in res-target. Binding data is extracted into XML files"); in main() 76 System.out.println("and placed in xml-out-dir."); in main() 77 System.out.println(" -l indicates that this is a library"); in main() 78 System.out.println(" manifest path to AndroidManifest.xml file"); in main() 79 System.out.println(" src-out-dir path to where generated source goes"); in main() 80 System.out.println(" xml-out-dir path to where generated binding XML goes"); in main() 81 System.out.println(" res-out-dir path to the where modified resources should go"); in main() [all …]
|
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/ |
D | EventRecurrenceTest.java | 731 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/cmds/sm/src/com/android/commands/sm/ |
D | Sm.java | 47 System.err.println("Error: " + e); in main() 49 System.exit(success ? 0 : 1); in main() 98 System.out.println(disk.getId()); in runListDisks() 120 System.out.println(vol.getId() + " " + envState + " " + vol.getFsUuid()); in runListVolumes() 126 System.out.println(SystemProperties.getBoolean(StorageManager.PROP_HAS_ADOPTABLE, false)); in runHasAdoptable() 130 System.out.println(mSm.getPrimaryStorageUuid()); in runGetPrimaryStorageUuid() 193 System.err.println("usage: sm list-disks [adoptable]"); in showUsage() 194 System.err.println(" sm list-volumes [public|private|emulated|all]"); in showUsage() 195 System.err.println(" sm has-adoptable"); in showUsage() 196 System.err.println(" sm get-primary-storage-uuid"); in showUsage() [all …]
|
/frameworks/base/cmds/am/src/com/android/commands/am/ |
D | Am.java | 352 System.err.println(NO_SYSTEM_ERROR_CODE); in onRun() 699 System.err.println("Error: Unknown option: " + opt); in makeIntent() 770 System.err.println("Error: Can't start activity with user 'all'"); in runStartService() 773 System.out.println("Starting service: " + intent); in runStartService() 777 System.err.println("Error: Not found; no service started."); in runStartService() 779 System.err.println("Error: Requires permission " + cn.getClassName()); in runStartService() 781 System.err.println("Error: " + cn.getClassName()); in runStartService() 788 System.err.println("Error: Can't stop activity with user 'all'"); in runStopService() 791 System.out.println("Stopping service: " + intent); in runStopService() 794 System.err.println("Service not stopped: was not running."); in runStopService() [all …]
|
/frameworks/base/cmds/settings/src/com/android/commands/settings/ |
D | SettingsCmd.java | 65 System.err.println("Unable to run settings command"); in main() 91 System.err.println("Invalid command: " + arg); in run() 98 System.err.println("Invalid namespace '" + arg + "'"); in run() 111 System.err.println("Too many arguments"); in run() 122 System.err.println("Too many arguments"); in run() 150 System.out.println(getForUser(provider, mUser, mTable, mKey)); in run() 156 System.out.println("Deleted " in run() 161 System.out.println(line); in run() 165 System.err.println("Unspecified command"); in run() 175 System.err.println("Error while accessing settings provider"); in run() [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | GrowingArrayUtils.java | 47 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() 114 System.arraycopy(array, index, array, index + 1, currentSize - index); in insert() 122 System.arraycopy(array, 0, newArray, 0, index); in insert() 124 System.arraycopy(array, index, newArray, index + 1, array.length - index); in insert() 135 System.arraycopy(array, index, array, index + 1, currentSize - index); in insert() 141 System.arraycopy(array, 0, newArray, 0, index); in insert() 143 System.arraycopy(array, index, newArray, index + 1, array.length - index); in insert() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
D | BrightnessController.java | 74 Settings.System.getUriFor(Settings.System.SCREEN_BRIGHTNESS_MODE); 76 Settings.System.getUriFor(Settings.System.SCREEN_BRIGHTNESS); 78 Settings.System.getUriFor(Settings.System.SCREEN_AUTO_BRIGHTNESS_ADJ); 214 Settings.System.putIntForUser(mContext.getContentResolver(), in onChanged() 215 Settings.System.SCREEN_BRIGHTNESS, val, in onChanged() 229 Settings.System.putFloatForUser(mContext.getContentResolver(), in onChanged() 230 Settings.System.SCREEN_AUTO_BRIGHTNESS_ADJ, adj, in onChanged() 243 Settings.System.putIntForUser(mContext.getContentResolver(), in setMode() 244 Settings.System.SCREEN_BRIGHTNESS_MODE, mode, in setMode() 274 automatic = Settings.System.getIntForUser(mContext.getContentResolver(), in updateMode() [all …]
|
/frameworks/base/cmds/media/src/com/android/commands/media/ |
D | Media.java | 80 System.err.println(NO_SYSTEM_ERROR_CODE); in onRun() 130 System.out.println("***Error monitoring session*** " + e.getMessage()); in runMonitor() 133 System.out.println("No session found with id " + id); in runMonitor() 183 System.out.println("onSessionDestroyed. Enter q to quit."); in onSessionDestroyed() 189 System.out.println("onSessionEvent event=" + event + ", extras=" + extras); in onEvent() 194 System.out.println("onPlaybackStateChanged " + state); in onPlaybackStateChanged() 201 System.out.println("onMetadataChanged " + mmString); in onMetadataChanged() 206 System.out.println("onQueueChanged, " in onQueueChanged() 212 System.out.println("onQueueTitleChange " + title); in onQueueTitleChanged() 217 System.out.println("onExtrasChanged " + extras); in onExtrasChanged() [all …]
|
/frameworks/base/cmds/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/ |
D | RunTestCommand.java | 70 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/core/java/com/android/internal/os/ |
D | BaseCommand.java | 38 onShowUsage(System.out); in run() 49 onShowUsage(System.err); in run() 50 System.err.println(); in run() 51 System.err.println("Error: " + e.getMessage()); in run() 53 e.printStackTrace(System.err); in run() 54 System.exit(1); in run() 62 onShowUsage(System.err); in showUsage() 70 onShowUsage(System.err); in showError() 71 System.err.println(); in showError() 72 System.err.println(message); in showError()
|
/frameworks/base/tools/layoutlib/bridge/src/android/os/ |
D | SystemClock_Delegate.java | 33 private static long sBootTime = System.currentTimeMillis(); 34 private static long sBootTimeNano = System.nanoTime(); 45 return System.currentTimeMillis() - sBootTime; in uptimeMillis() 55 return System.currentTimeMillis() - sBootTime; in elapsedRealtime() 65 return System.nanoTime() - sBootTimeNano; in elapsedRealtimeNanos() 75 return System.currentTimeMillis(); in currentThreadTimeMillis() 87 return System.currentTimeMillis() * 1000; in currentThreadTimeMicro()
|
/frameworks/base/core/java/android/net/ |
D | Proxy.java | 169 String host = System.getProperty("http.proxyHost"); in getDefaultHost() 185 return Integer.parseInt(System.getProperty("http.proxyPort")); in getDefaultPort() 257 System.setProperty("http.proxyHost", host); in setHttpProxySystemProperty() 258 System.setProperty("https.proxyHost", host); in setHttpProxySystemProperty() 260 System.clearProperty("http.proxyHost"); in setHttpProxySystemProperty() 261 System.clearProperty("https.proxyHost"); in setHttpProxySystemProperty() 264 System.setProperty("http.proxyPort", port); in setHttpProxySystemProperty() 265 System.setProperty("https.proxyPort", port); in setHttpProxySystemProperty() 267 System.clearProperty("http.proxyPort"); in setHttpProxySystemProperty() 268 System.clearProperty("https.proxyPort"); in setHttpProxySystemProperty() [all …]
|
/frameworks/base/core/java/com/android/internal/view/ |
D | RotationPolicy.java | 94 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/content/ |
D | ContentQueryMapTest.java | 57 Settings.System.putString(r, "test", "Value"); in testContentQueryMap() 59 Settings.System.CONTENT_URI, in testContentQueryMap() 61 Settings.System.NAME, in testContentQueryMap() 62 Settings.System.VALUE, in testContentQueryMap() 66 cursor, Settings.System.NAME, true, null); in testContentQueryMap() 72 Settings.System.putString(r, "test", "New Value"); in testContentQueryMap() 74 String value = v.getAsString(Settings.System.VALUE); in testContentQueryMap() 82 String value = v.getAsString(Settings.System.VALUE); in testContentQueryMap()
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | SettingsProviderTest.java | 55 Settings.System.putString(r, "test_setting", "Value"); in testNameValueCache() 56 assertEquals("Value", Settings.System.getString(r, "test_setting")); in testNameValueCache() 58 Settings.System.putString(r, "test_setting", "New"); in testNameValueCache() 59 assertEquals("New", Settings.System.getString(r, "test_setting")); in testNameValueCache() 61 assertEquals(1, r.delete(Settings.System.getUriFor("test_setting"), null, null)); in testNameValueCache() 62 assertEquals(null, Settings.System.getString(r, "test_setting")); in testNameValueCache() 70 Settings.System.getUriFor("test_setting").toString()); in testRowNameContentUri() 75 Uri tables[] = { Settings.System.CONTENT_URI, Settings.Secure.CONTENT_URI }; in testRowNameContentUri() 78 v.put(Settings.System.NAME, "test_key"); in testRowNameContentUri() 79 v.put(Settings.System.VALUE, "Test"); in testRowNameContentUri() [all …]
|
/frameworks/base/cmds/wm/src/com/android/commands/wm/ |
D | Wm.java | 80 System.err.println(NO_SYSTEM_ERROR_CODE); in onRun() 113 System.err.println("Error: bad number " + e); in runSetScreenCapture() 122 System.err.println("Error: Can't set screen capture " + e); in runSetScreenCapture() 135 System.out.println("Physical size: " + initialSize.x + "x" + initialSize.y); in runDisplaySize() 137 System.out.println("Override size: " + baseSize.x + "x" + baseSize.y); in runDisplaySize() 147 System.err.println("Error: bad size " + size); in runDisplaySize() 156 System.err.println("Error: bad number " + e); in runDisplaySize() 179 System.out.println("Physical density: " + initialDensity); in runDisplayDensity() 181 System.out.println("Override density: " + baseDensity); in runDisplayDensity() 192 System.err.println("Error: bad number " + e); in runDisplayDensity() [all …]
|
/frameworks/base/obex/javax/obex/ |
D | ObexSession.java | 88 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/core/tests/coretests/src/android/net/http/ |
D | AbstractProxyTest.java | 48 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 …]
|
/frameworks/base/core/java/android/os/ |
D | Broadcaster.java | 86 System.arraycopy(oldTargets, 0, r.targets, 0, n); in request() 88 System.arraycopy(oldWhats, 0, r.targetWhats, 0, n); in request() 125 System.arraycopy(targets, 0, r.targets, 0, i); in cancelRequest() 126 System.arraycopy(whats, 0, r.targetWhats, 0, i); in cancelRequest() 131 System.arraycopy(targets, i+1, r.targets, i, in cancelRequest() 133 System.arraycopy(whats, i+1, r.targetWhats, i, in cancelRequest() 150 System.out.println("Broadcaster " + this + " {"); in dumpRegistrations() 154 System.out.println(" senderWhat=" + r.senderWhat); in dumpRegistrations() 157 System.out.println(" [" + r.targetWhats[i] in dumpRegistrations() 163 System.out.println("}"); in dumpRegistrations()
|
/frameworks/base/cmds/telecom/src/com/android/commands/telecom/ |
D | Telecom.java | 128 System.out.println("Success - " + handle + (enabled ? " enabled." : " disabled.")); in runSetPhoneAccountEnabled() 130 System.out.println("Error - is " + handle + " a valid PhoneAccount?"); in runSetPhoneAccountEnabled() 140 System.out.println("Success - " + handle + " registered."); in runRegisterPhoneAccount() 158 System.out.println("Success - " + handle + " registered."); in runRegisterSimPhoneAccount() 164 System.out.println("Success - " + handle + " unregistered."); in runUnregisterPhoneAccount() 171 System.out.println("Success - " + packageName + " set as default dialer."); in runSetDefaultDialer() 173 System.out.println("Error - " + packageName + " is not an installed Dialer app, \n" in runSetDefaultDialer() 179 System.out.println(mTelecomService.getDefaultDialerPackage()); in runGetDefaultDialer() 183 System.out.println(mTelecomService.getSystemDialerPackage()); in runGetSystemDialer()
|
/frameworks/base/cmds/input/src/com/android/commands/input/ |
D | Input.java | 135 System.err.println("Error: Unknown command: " + command); in run() 141 System.err.println(INVALID_ARGUMENTS + command); in run() 272 System.err.println("Usage: input [<source>] <command> [<arg>...]"); in showUsage() 273 System.err.println(); in showUsage() 274 System.err.println("The sources are: "); in showUsage() 276 System.err.println(" " + src); in showUsage() 278 System.err.println(); in showUsage() 279 System.err.println("The commands and default sources are:"); in showUsage() 280 System.err.println(" text <string> (Default: touchscreen)"); in showUsage() 281 System.err.println(" keyevent [--longpress] <key code number or name> ..." in showUsage() [all …]
|