/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/ |
D | Bmgr.java | 54 System.err.println("Exception caught:"); in main() 67 System.err.println(BMGR_NOT_RUNNING_ERR); in run() 130 System.err.println("Unknown command"); in run() 141 System.out.println("Backup Manager currently " in doEnabled() 144 System.err.println(e.toString()); in doEnabled() 145 System.err.println(BMGR_NOT_RUNNING_ERR); in doEnabled() 159 System.out.println("Backup Manager now " + enableToString(enable)); in doEnable() 164 System.err.println(e.toString()); in doEnable() 165 System.err.println(BMGR_NOT_RUNNING_ERR); in doEnable() 173 System.err.println(e.toString()); in doRun() [all …]
|
/frameworks/base/cmds/pm/src/com/android/commands/pm/ |
D | Pm.java | 98 System.err.println("Error: " + e); in main() 100 System.err.println(PM_NOT_RUNNING_ERR); in main() 103 System.exit(exitCode); in main() 116 System.err.println(PM_NOT_RUNNING_ERR); in run() 280 System.err.println("Error: unknown command '" + op + "'"); in run() 371 System.err.println("Error: must either specify a package size or an APK file"); in runInstall() 382 System.out.println("Success"); in runInstall() 408 System.out.println("Success: created install session [" + sessionId + "]"); in runInstallCreate() 553 in = new SizedInputStream(System.in, sizeBytes); in doWriteSession() 572 System.out.println("Success: streamed " + total + " bytes"); in doWriteSession() [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/data-binding/compiler/src/main/java/android/databinding/tool/ |
D | MakeCopy.java | 72 … System.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/am/src/com/android/commands/am/ |
D | Am.java | 375 System.err.println(NO_SYSTEM_ERROR_CODE); in onRun() 381 System.err.println(NO_SYSTEM_ERROR_CODE); in onRun() 529 System.err.println("Error: Can't start activity with user 'all'"); 532 System.out.println("Starting service: " + intent); 536 System.err.println("Error: Not found; no service started."); 538 System.err.println("Error: Requires permission " + cn.getClassName()); 540 System.err.println("Error: " + cn.getClassName()); 547 System.err.println("Error: Can't stop activity with user 'all'"); 550 System.out.println("Stopping service: " + intent); 553 System.err.println("Service not stopped: was not running."); [all …]
|
/frameworks/base/cmds/sm/src/com/android/commands/sm/ |
D | Sm.java | 45 System.exit(1); in main() 48 System.err.println("Error: " + e); in main() 50 System.exit(success ? 0 : 1); in main() 105 System.out.println(disk.getId()); in runListDisks() 127 System.out.println(vol.getId() + " " + envState + " " + vol.getFsUuid()); in runListVolumes() 133 System.out.println(SystemProperties.getBoolean(StorageManager.PROP_HAS_ADOPTABLE, false)); in runHasAdoptable() 137 System.out.println(mSm.getPrimaryStorageUuid()); in runGetPrimaryStorageUuid() 170 System.out.println("native"); in runGetFbeMode() 172 System.out.println("emulated"); in runGetFbeMode() 174 System.out.println("none"); in runGetFbeMode() [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/rs/java/tests/Refocus/src/com/android/rs/test/d1new/ |
D | RefocusFilterd1new.java | 65 startnow = System.nanoTime(); in extractResultImage() 67 endnow = System.nanoTime(); in extractResultImage() 133 startnow = System.nanoTime(); in computeLayerMatteBehindFocalDepth() 137 endnow = System.nanoTime(); in computeLayerMatteBehindFocalDepth() 140 startnow = System.nanoTime(); in computeLayerMatteBehindFocalDepth() 144 endnow = System.nanoTime(); in computeLayerMatteBehindFocalDepth() 161 startnow = System.nanoTime(); in filterLayerBehindFocalDepth() 164 endnow = System.nanoTime(); in filterLayerBehindFocalDepth() 170 startnow = System.nanoTime(); in filterLayerBehindFocalDepth() 174 endnow = System.nanoTime(); in filterLayerBehindFocalDepth() [all …]
|
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/f32/ |
D | RefocusFilterF32.java | 63 startnow = System.nanoTime(); in extractResultImage() 65 endnow = System.nanoTime(); in extractResultImage() 131 startnow = System.nanoTime(); in computeLayerMatteBehindFocalDepth() 133 endnow = System.nanoTime(); in computeLayerMatteBehindFocalDepth() 136 startnow = System.nanoTime(); in computeLayerMatteBehindFocalDepth() 138 endnow = System.nanoTime(); in computeLayerMatteBehindFocalDepth() 154 startnow = System.nanoTime(); in filterLayerBehindFocalDepth() 157 endnow = System.nanoTime(); in filterLayerBehindFocalDepth() 163 startnow = System.nanoTime(); in filterLayerBehindFocalDepth() 165 endnow = System.nanoTime(); in filterLayerBehindFocalDepth() [all …]
|
/frameworks/base/cmds/settings/src/com/android/commands/settings/ |
D | SettingsCmd.java | 65 System.err.println("Unable to run settings command"); in main() 96 System.err.println("Invalid command: " + arg); in run() 103 System.err.println("Invalid namespace '" + arg + "'"); in run() 116 System.err.println("Too many arguments"); in run() 127 System.err.println("Too many arguments"); in run() 157 System.out.println(getForUser(provider, mUser, mTable, mKey)); in run() 163 System.out.println("Deleted " in run() 168 System.out.println(line); in run() 172 System.err.println("Unspecified command"); in run() 182 System.err.println("Error while accessing settings provider"); in run() [all …]
|
/frameworks/support/v7/appcompat/src/android/support/v7/content/res/ |
D | GrowingArrayUtils.java | 46 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/os/ |
D | BaseCommand.java | 44 onShowUsage(System.out); in run() 53 onShowUsage(System.err); in run() 54 System.err.println(); in run() 55 System.err.println("Error: " + e.getMessage()); in run() 57 e.printStackTrace(System.err); in run() 58 System.exit(1); in run() 66 onShowUsage(System.err); in showUsage() 74 onShowUsage(System.err); in showError() 75 System.err.println(); in showError() 76 System.err.println(message); in showError()
|
/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/packages/SystemUI/src/com/android/systemui/settings/ |
D | BrightnessController.java | 75 Settings.System.getUriFor(Settings.System.SCREEN_BRIGHTNESS_MODE); 77 Settings.System.getUriFor(Settings.System.SCREEN_BRIGHTNESS); 79 Settings.System.getUriFor(Settings.System.SCREEN_AUTO_BRIGHTNESS_ADJ); 215 Settings.System.putIntForUser(mContext.getContentResolver(), in onChanged() 216 Settings.System.SCREEN_BRIGHTNESS, val, in onChanged() 230 Settings.System.putFloatForUser(mContext.getContentResolver(), in onChanged() 231 Settings.System.SCREEN_AUTO_BRIGHTNESS_ADJ, adj, in onChanged() 244 Settings.System.putIntForUser(mContext.getContentResolver(), in setMode() 245 Settings.System.SCREEN_BRIGHTNESS_MODE, mode, in setMode() 275 automatic = Settings.System.getIntForUser(mContext.getContentResolver(), in updateMode() [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() 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/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/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 | 59 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/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/rs/java/tests/RsTest/src/com/android/rs/test/ |
D | UT_reduce.java | 261 final long javaTimeStart = java.lang.System.currentTimeMillis(); in addint1D() 263 final long javaTimeEnd = java.lang.System.currentTimeMillis(); in addint1D() 265 final long rsTimeStart = java.lang.System.currentTimeMillis(); in addint1D() 269 final long copyTimeStart = java.lang.System.currentTimeMillis(); in addint1D() 273 final long kernelTimeStart = java.lang.System.currentTimeMillis(); in addint1D() 275 final long rsTimeEnd = java.lang.System.currentTimeMillis(); in addint1D() 292 final long javaTimeStart = java.lang.System.currentTimeMillis(); in addint2D() 294 final long javaTimeEnd = java.lang.System.currentTimeMillis(); in addint2D() 296 final long rsTimeStart = java.lang.System.currentTimeMillis(); in addint2D() 302 final long copyTimeStart = java.lang.System.currentTimeMillis(); in addint2D() [all …]
|
/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/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/bluetoothtests/src/android/bluetooth/ |
D | BluetoothTestUtils.java | 83 mCompletedTime = System.currentTimeMillis(); in setFiredFlag() 443 start = System.currentTimeMillis(); in enable() 447 start = System.currentTimeMillis(); in enable() 455 long s = System.currentTimeMillis(); in enable() 456 while (System.currentTimeMillis() - s < ENABLE_DISABLE_TIMEOUT) { in enable() 499 start = System.currentTimeMillis(); in disable() 503 start = System.currentTimeMillis(); in disable() 515 long s = System.currentTimeMillis(); in disable() 516 while (System.currentTimeMillis() - s < ENABLE_DISABLE_TIMEOUT) { in disable() 560 long start = System.currentTimeMillis(); in discoverable() [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()
|