Lines Matching defs:code

141  * Service responsible for various storage media. Connects to {@code vold} to
203 * Internal vold response code constants
753 * MediaProvider has a ton of code that makes assumptions about storage
937 public boolean onCheckHoldWakeLock(int code) {
945 public boolean onEvent(int code, String raw, String[] cooked) {
947 return onEventLocked(code, raw, cooked);
951 private boolean onEventLocked(int code, String raw, String[] cooked) {
952 switch (code) {
1127 Slog.d(TAG, "Unhandled vold event " + code);
1380 // fstrim during reboot following the OTA that installs this code.
2062 int code = e.getCode();
2063 if (code == VoldResponseCode.OpFailedStorageBusy) {
2097 int code = e.getCode();
2098 if (code != VoldResponseCode.OpFailedStorageBusy) {
2138 int code = e.getCode();
2139 if (code == VoldResponseCode.OpFailedStorageBusy) {
2200 int code = e.getCode();
2201 if (code == VoldResponseCode.OpFailedStorageNotFound) {
2205 throw new IllegalStateException(String.format("Unexpected response code %d", code));
2221 int code = e.getCode();
2222 if (code == VoldResponseCode.OpFailedStorageNotFound) {
2226 throw new IllegalStateException(String.format("Unexpected response code %d", code));
2283 int code = e.getCode();
2284 if (code == VoldResponseCode.OpFailedStorageNotFound) {
2287 throw new IllegalStateException(String.format("Unexpected response code %d", code));
2381 final int code = Integer.parseInt(event.getMessage());
2382 if (code == 0) {
2396 return code;
3125 int code = e.getCode();
3126 if (code != VoldResponseCode.OpFailedStorageBusy) {
3202 int code = e.getCode();
3203 if (code == VoldResponseCode.OpFailedStorageBusy) {
3205 } else if (code == VoldResponseCode.OpFailedStorageNotFound) {