/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerServiceCompilerMapping.java | 44 private static String getSystemPropertyName(int reason) { in getSystemPropertyName() argument 45 if (reason < 0 || reason >= REASON_STRINGS.length) { in getSystemPropertyName() 46 throw new IllegalArgumentException("reason " + reason + " invalid"); in getSystemPropertyName() 49 return "pm.dexopt." + REASON_STRINGS[reason]; in getSystemPropertyName() 54 private static String getAndCheckValidity(int reason) { in getAndCheckValidity() argument 55 String sysPropValue = SystemProperties.get(getSystemPropertyName(reason)); in getAndCheckValidity() 59 + "(reason " + REASON_STRINGS[reason] + ")"); in getAndCheckValidity() 60 } else if (!isFilterAllowedForReason(reason, sysPropValue)) { in getAndCheckValidity() 62 + "(reason " + REASON_STRINGS[reason] + ")"); in getAndCheckValidity() 68 private static boolean isFilterAllowedForReason(int reason, String filter) { in isFilterAllowedForReason() argument [all …]
|
D | PackageUsage.java | 137 for (int reason = 0; in readVersion0LP() 138 reason < PackageManager.NOTIFY_PACKAGE_USE_REASONS_COUNT; in readVersion0LP() 139 reason++) { in readVersion0LP() 140 pkg.mLastPackageUsageTimeInMills[reason] = timestamp; in readVersion0LP() 162 for (int reason = 0; in readVersion1LP() 163 reason < PackageManager.NOTIFY_PACKAGE_USE_REASONS_COUNT; in readVersion1LP() 164 reason++) { in readVersion1LP() 165 pkg.mLastPackageUsageTimeInMills[reason] = parseAsLong(tokens[reason + 1]); in readVersion1LP()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DataConnectionReasons.java | 30 void add(DataDisallowedReasonType reason) { in add() argument 34 mDataDisallowedReasonSet.add(reason); in add() 37 void add(DataAllowedReasonType reason) { in add() argument 44 if (reason.ordinal() > mDataAllowedReason.ordinal()) { in add() 45 mDataAllowedReason = reason; in add() 54 for (DataDisallowedReasonType reason : mDataDisallowedReasonSet) { in toString() 55 reasonStr.append(" ").append(reason); in toString() 73 boolean contains(DataDisallowedReasonType reason) { in contains() argument 74 return mDataDisallowedReasonSet.contains(reason); in contains() 83 public boolean containsOnly(DataDisallowedReasonType reason) { in containsOnly() argument [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/nitz/ |
D | NitzStateMachineImpl.java | 169 String reason = "handleNetworkUnavailable()"; in handleNetworkUnavailable() local 170 clearNetworkStateAndRerunDetection(reason); in handleNetworkUnavailable() 173 private void clearNetworkStateAndRerunDetection(String reason) { in clearNetworkStateAndRerunDetection() argument 177 Rlog.d(LOG_TAG, reason + ": mLatestNitzSignal was already null. Nothing to do."); in clearNetworkStateAndRerunDetection() 189 Rlog.d(LOG_TAG, reason + ": countryIsoCode=" + countryIsoCode); in clearNetworkStateAndRerunDetection() 194 doTimeZoneDetection(countryIsoCode, null /* nitzSignal */, reason); in clearNetworkStateAndRerunDetection() 197 doTimeDetection(null /* nitzSignal */, reason); in clearNetworkStateAndRerunDetection() 245 String reason = "handleNitzReceived(" + nitzSignal + ")"; in handleNitzReceived() local 249 doTimeZoneDetection(countryIsoCode, nitzSignal, reason); in handleNitzReceived() 252 doTimeDetection(nitzSignal, reason); in handleNitzReceived() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | SelfRecovery.java | 72 public void trigger(int reason) { in trigger() argument 73 if (!(reason == REASON_LAST_RESORT_WATCHDOG || reason == REASON_WIFINATIVE_FAILURE in trigger() 74 || reason == REASON_STA_IFACE_DOWN)) { in trigger() 78 if (reason == REASON_STA_IFACE_DOWN) { in trigger() 84 Log.e(TAG, "Triggering recovery for reason: " + REASON_STRINGS[reason]); in trigger() 85 if (reason == REASON_WIFINATIVE_FAILURE) { in trigger() 96 mWifiController.sendMessage(WifiController.CMD_RECOVERY_RESTART_WIFI, reason); in trigger()
|
/frameworks/base/services/core/java/com/android/server/ |
D | UserspaceRebootLogger.java | 144 String reason = TextUtils.emptyIfNull(SystemProperties.get(LAST_BOOT_REASON_PROPERTY, "")); in computeOutcome() local 145 if (reason.startsWith("reboot,")) { in computeOutcome() 146 reason = reason.substring("reboot".length()); in computeOutcome() 148 if (reason.startsWith("userspace_failed,watchdog_fork")) { in computeOutcome() 151 if (reason.startsWith("userspace_failed,shutdown_aborted")) { in computeOutcome() 154 if (reason.startsWith("mount_userdata_failed")) { in computeOutcome() 157 if (reason.startsWith("userspace_failed,init_user0")) { in computeOutcome() 160 if (reason.startsWith("userspace_failed,enablefilecrypto")) { in computeOutcome() 163 if (reason.startsWith("userspace_failed,watchdog_triggered")) { in computeOutcome()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncOperation.java | 73 public final int reason; field in SyncOperation 106 int reason, int source, String provider, Bundle extras, in SyncOperation() argument 109 reason, source, extras, allowParallelSyncs, syncExemptionFlag); in SyncOperation() 113 int reason, int source, Bundle extras, boolean allowParallelSyncs, in SyncOperation() argument 115 this(info, owningUid, owningPackage, reason, source, extras, allowParallelSyncs, false, in SyncOperation() 120 this(op.target, op.owningUid, op.owningPackage, op.reason, op.syncSource, in SyncOperation() 126 int reason, int source, Bundle extras, boolean allowParallelSyncs, in SyncOperation() argument 132 this.reason = reason; in SyncOperation() 150 SyncOperation op = new SyncOperation(target, owningUid, owningPackage, reason, syncSource, in createOneTimeSyncOperation() 160 reason = other.reason; in SyncOperation() [all …]
|
/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
D | BatterySaverController.java | 121 static String reasonToString(int reason) { in reasonToString() argument 122 switch (reason) { in reasonToString() 150 return "Unknown reason: " + reason; in reasonToString() 265 void postStateChanged(boolean sendBroadcast, int reason) { in postStateChanged() argument 267 ARG_SEND_BROADCAST : ARG_DONT_SEND_BROADCAST, reason).sendToTarget(); in postStateChanged() 294 public void enableBatterySaver(boolean enable, int reason) { in enableBatterySaver() argument 302 mHandler.postStateChanged(/*sendBroadcast=*/ true, reason); in enableBatterySaver() 350 boolean setAdaptivePolicyLocked(String settings, String deviceSpecificSettings, int reason) { in setAdaptivePolicyLocked() argument 353 reason); in setAdaptivePolicyLocked() 356 boolean setAdaptivePolicyLocked(BatterySaverPolicyConfig config, int reason) { in setAdaptivePolicyLocked() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenLog.java | 71 public static void traceIntercepted(NotificationRecord record, String reason) { in traceIntercepted() argument 73 append(TYPE_INTERCEPTED, record.getKey() + "," + reason); in traceIntercepted() 76 public static void traceNotIntercepted(NotificationRecord record, String reason) { in traceNotIntercepted() argument 78 append(TYPE_NOT_INTERCEPTED, record.getKey() + "," + reason); in traceNotIntercepted() 103 public static void traceSetZenMode(int zenMode, String reason) { in traceSetZenMode() argument 104 append(TYPE_SET_ZEN_MODE, zenModeToString(zenMode) + "," + reason); in traceSetZenMode() 111 String reason) { in traceSetConsolidatedZenPolicy() argument 112 append(TYPE_SET_CONSOLIDATED_ZEN_POLICY, policy.toString() + "," + reason); in traceSetConsolidatedZenPolicy() 119 public static void traceExitCondition(Condition c, ComponentName component, String reason) { in traceExitCondition() argument 120 append(TYPE_EXIT_CONDITION, c + "," + componentToString(component) + "," + reason); in traceExitCondition() [all …]
|
D | ZenModeHelper.java | 223 private void loadConfigForUser(int user, String reason) { in loadConfigForUser() argument 226 if (DEBUG) Log.d(TAG, reason + " u=" + user); in loadConfigForUser() 229 if (DEBUG) Log.d(TAG, reason + " generating default config for user " + user); in loadConfigForUser() 234 setConfigLocked(config, null, reason); in loadConfigForUser() 291 public String addAutomaticZenRule(AutomaticZenRule automaticZenRule, String reason) { in addAutomaticZenRule() argument 320 Log.d(TAG, "addAutomaticZenRule rule= " + automaticZenRule + " reason=" + reason); in addAutomaticZenRule() 326 if (setConfigLocked(newConfig, reason, rule.component, true)) { in addAutomaticZenRule() 335 String reason) { in updateAutomaticZenRule() argument 341 + " reason=" + reason); in updateAutomaticZenRule() 355 return setConfigLocked(newConfig, reason, rule.component, true); in updateAutomaticZenRule() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
D | ForcedResizableInfoActivityController.java | 62 int reason; field in ForcedResizableInfoActivityController.PendingTaskRecord 64 PendingTaskRecord(int taskId, int reason) { in PendingTaskRecord() argument 66 this.reason = reason; in PendingTaskRecord() 76 int reason) { in ForcedResizableInfoActivityController() 77 activityForcedResizable(packageName, taskId, reason); in ForcedResizableInfoActivityController() 114 private void activityForcedResizable(String packageName, int taskId, int reason) { in activityForcedResizable() argument 118 mPendingTasks.add(new PendingTaskRecord(taskId, reason)); in activityForcedResizable() 142 intent.putExtra(EXTRA_FORCED_RESIZEABLE_REASON, pendingRecord.reason); in showPending()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | CameraErrorCollector.java | 102 public <T> void checkThat(final String reason, final T value, final Matcher<T> matcher) { in checkThat() argument 103 super.checkThat(mCameraMsg + reason, value, matcher); in checkThat() 734 String reason = "Key " + key.getName() + " shouldn't have value " + value.toString(); in expectKeyValueNotEquals() local 735 checkThat(reason, value, CoreMatchers.not(expected)); in expectKeyValueNotEquals() 756 String reason = "Key " + key.getName() + " shouldn't have value " + value.toString(); in expectKeyValueNotEquals() local 757 checkThat(reason, value, CoreMatchers.not(expected)); in expectKeyValueNotEquals() 778 String reason = "Key " + key.getName() + " value " + value.toString() in expectKeyValueEquals() local 780 checkThat(reason, value, CoreMatchers.equalTo(expected)); in expectKeyValueEquals() 802 String reason = "Key " + key.getName() + " value " + value.toString() in expectKeyValueEquals() local 804 checkThat(reason, value, CoreMatchers.equalTo(expected)); in expectKeyValueEquals() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/vendor/dataconnection/ |
D | VendorDcTracker.java | 122 protected void setupDataOnConnectableApn(ApnContext apnContext, String reason, in setupDataOnConnectableApn() argument 129 super.setupDataOnConnectableApn(apnContext, reason, retryFailures); in setupDataOnConnectableApn() 155 String reason = DataFailCause.toString(mPdpRejectCauseCode); in onDataSetupCompleteError() local 157 if (isMatchingPdpRejectCause(reason)) { in onDataSetupCompleteError() 165 boolean isHandled = handlePdpRejectCauseFailure(reason); in onDataSetupCompleteError() 220 private boolean handlePdpRejectCauseFailure(String reason) { in handlePdpRejectCauseFailure() argument 225 if (DBG) log("handlePdpRejectCauseFailure: reason=" + reason + in handlePdpRejectCauseFailure() 231 if (!reason.equalsIgnoreCase(mDataRejectReason)) { in handlePdpRejectCauseFailure() 240 if (isMatchingPdpRejectCause(reason)) { in handlePdpRejectCauseFailure() 242 mDataRejectReason = reason; in handlePdpRejectCauseFailure() [all …]
|
/frameworks/base/telecomm/java/android/telecom/ |
D | DisconnectCause.java | 129 public DisconnectCause(int code, String reason) { in DisconnectCause() argument 130 this(code, null, null, reason, ToneGenerator.TONE_UNKNOWN); in DisconnectCause() 141 public DisconnectCause(int code, CharSequence label, CharSequence description, String reason) { in DisconnectCause() argument 142 this(code, label, description, reason, ToneGenerator.TONE_UNKNOWN); in DisconnectCause() 154 public DisconnectCause(int code, CharSequence label, CharSequence description, String reason, in DisconnectCause() argument 159 mDisconnectReason = reason; in DisconnectCause() 224 String reason = source.readString(); 226 return new DisconnectCause(code, label, description, reason, tone); 321 String reason = mDisconnectReason == null ? "" : mDisconnectReason; in toString() local 325 + " Reason: (" + reason + ")" in toString()
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobServiceContext.java | 314 void cancelExecutingJobLocked(int reason, String debugReason) { in cancelExecutingJobLocked() argument 315 doCancelLocked(reason, debugReason); in cancelExecutingJobLocked() 341 String reason) { in timeoutIfExecutingLocked() argument 347 mParams.setStopReason(JobParameters.REASON_TIMEOUT, reason); in timeoutIfExecutingLocked() 539 void doCallback(JobCallback cb, boolean reschedule, String reason) { in doCallback() argument 546 doCallbackLocked(reschedule, reason); in doCallback() 554 void doCallbackLocked(boolean reschedule, String reason) { in doCallbackLocked() argument 565 handleFinishedLocked(reschedule, reason); in doCallbackLocked() 664 private void handleFinishedLocked(boolean reschedule, String reason) { in handleFinishedLocked() argument 668 closeAndCleanupJobLocked(reschedule, reason); in handleFinishedLocked() [all …]
|
/frameworks/base/telephony/java/android/telephony/data/ |
D | DataService.java | 162 @SetupDataReason int reason, in setupDataCall() argument 185 public void deactivateDataCall(int cid, @DeactivateDataReason int reason, in deactivateDataCall() argument 279 public final int reason; field in DataService.SetupDataCallRequest 283 boolean allowRoaming, int reason, LinkProperties linkProperties, in SetupDataCallRequest() argument 290 this.reason = reason; in SetupDataCallRequest() 297 public final int reason; field in DataService.DeactivateDataCallRequest 299 DeactivateDataCallRequest(int cid, int reason, IDataServiceCallback callback) { in DeactivateDataCallRequest() argument 301 this.reason = reason; in DeactivateDataCallRequest() 379 setupDataCallRequest.allowRoaming, setupDataCallRequest.reason, in handleMessage() 391 deactivateDataCallRequest.reason, in handleMessage() [all …]
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | CancelationOptions.h | 37 const char* reason; member 48 CancelationOptions(Mode mode, const char* reason) : mode(mode), reason(reason) {} in CancelationOptions()
|
/frameworks/libs/net/common/framework/com/android/net/module/util/ |
D | DnsPacket.java | 41 public String reason; field in DnsPacket.ParseException 42 public ParseException(@NonNull String reason) { in ParseException() argument 43 super(reason); in ParseException() 44 this.reason = reason; in ParseException() 47 public ParseException(@NonNull String reason, @NonNull Throwable cause) { in ParseException() argument 48 super(reason, cause); in ParseException() 49 this.reason = reason; in ParseException()
|
/frameworks/base/core/java/com/android/internal/inputmethod/ |
D | InputMethodDebug.java | 40 public static String startInputReasonToString(@StartInputReason int reason) { in startInputReasonToString() argument 41 switch (reason) { in startInputReasonToString() 63 return "Unknown=" + reason; in startInputReasonToString() 73 public static String unbindReasonToString(@UnbindReason int reason) { in unbindReasonToString() argument 74 switch (reason) { in unbindReasonToString() 90 return "Unknown=" + reason; in unbindReasonToString()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeLog.java | 77 public static void tracePulseStart(int reason) { in tracePulseStart() argument 80 log("pulseStart reason=" + reasonToString(reason)); in tracePulseStart() 192 int reason) { in traceProximityResult() argument 195 log("proximityResult reason=" + reasonToString(reason) + " near=" + near in traceProximityResult() 197 sProxStats[reason][near ? 0 : 1].append(); in traceProximityResult() 238 final String reason = reasonToString(i); in dump() local 239 sProxStats[i][0].dump(pw, "Proximity near (" + reason + ")"); in dump() 240 sProxStats[i][1].dump(pw, "Proximity far (" + reason + ")"); in dump() 287 public static void traceSensor(Context context, int reason) { in traceSensor() argument 290 log("sensor type=" + reasonToString(reason)); in traceSensor()
|
/frameworks/av/services/audioflinger/ |
D | NBAIO_Tee.h | 160 void dump(int fd, const std::string &reason = "") const { 161 mTee->dump(fd, reason); 170 static void dumpAll(int fd, const std::string &reason = "") { 171 getRunningTees().dump(fd, reason); 235 void dump(int fd, const std::string &reason) { in dump() argument 241 suffix = mId + reason; in dump() 295 void dump(int fd, const std::string &reason) { in dump() argument 302 tee->dump(fd, reason); in dump()
|
/frameworks/base/core/java/android/os/ |
D | IDeviceIdleController.aidl | 45 void addPowerSaveTempWhitelistApp(String name, long duration, int userId, String reason); in addPowerSaveTempWhitelistApp() argument 46 long addPowerSaveTempWhitelistAppForMms(String name, int userId, String reason); in addPowerSaveTempWhitelistAppForMms() argument 47 long addPowerSaveTempWhitelistAppForSms(String name, int userId, String reason); in addPowerSaveTempWhitelistAppForSms() argument 48 void exitIdle(String reason); in exitIdle() argument
|
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/ |
D | KeyRevocationList.java | 52 RevocationStatus(String status, String reason) { in RevocationStatus() argument 54 mReason = reason; in RevocationStatus() 78 void addEntry(String publicKey, String status, String reason) { in addEntry() argument 79 mEntries.put(publicKey, new RevocationStatus(status, reason)); in addEntry() 110 String reason = entry.has(JSON_REASON) ? entry.getString(JSON_REASON) : ""; in fromJsonString() local 111 list.addEntry(publicKey, status, reason); in fromJsonString()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | InputManagerCallback.java | 71 public long notifyANR(IBinder token, String reason) { in notifyANR() argument 86 + ". Reason: " + reason); in notifyANR() 96 + ". Reason: " + reason); in notifyANR() 99 + ". Reason: " + reason); in notifyANR() 102 mService.saveANRStateLocked(appWindowToken, windowState, reason); in notifyANR() 106 mService.mAtmInternal.saveANRState(reason); in notifyANR() 111 final boolean abort = appWindowToken.keyDispatchingTimedOut(reason, in notifyANR() 122 windowState.mSession.mPid, aboveSystem, reason); in notifyANR()
|
/frameworks/base/core/java/android/app/ |
D | ClientTransactionHandler.java | 92 boolean getNonConfigInstance, String reason); in handleDestroyActivity() argument 96 int configChanges, PendingTransactionActions pendingActions, String reason); in handlePauseActivity() argument 107 boolean isForward, String reason); in handleResumeActivity() argument 117 boolean isTopResumedActivity, String reason); in handleTopResumedActivityChanged() argument 131 PendingTransactionActions pendingActions, boolean finalStateRequest, String reason); in handleStopActivity() argument 148 public abstract void handleSendResult(IBinder token, List<ResultInfo> results, String reason); in handleSendResult() argument
|