/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
H A D | UsimDataDownloadCommands.java | 604 public void deactivateDataCall(int cid, int reason, Message result) { argument
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
H A D | MediaRouter.java | 76 * when the reason the route was unselected is unknown. 385 * The reason given must be one of: 393 * @param reason The reason for disconnecting the current route. 395 public void unselect(int reason) { argument 396 if (reason < MediaRouter.UNSELECT_REASON_UNKNOWN || 397 reason > MediaRouter.UNSELECT_REASON_ROUTE_CHANGED) { 398 throw new IllegalArgumentException("Unsupported reason to unselect route"); 402 sGlobal.selectRoute(getDefaultRoute(), reason); 2128 Log.d(TAG, "Route unselected: " + mSelectedRoute + " reason [all...] |
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | PackageManagerTests.java | 508 private void assertDirOwnerGroupPermsIfExists(String reason, int uid, int gid, int perms, argument 518 throw new AssertionError(reason + "\n" + "Got: " + path + " does not exist"); 552 throw new AssertionError(reason + sb.toString());
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | HdmiControlService.java | 102 // The reason code to initiate intializeCec(). 459 int reason = -1; 462 reason = HdmiControlManager.CONTROL_STATE_CHANGED_REASON_START; 465 reason = HdmiControlManager.CONTROL_STATE_CHANGED_REASON_SETTING; 469 reason = HdmiControlManager.CONTROL_STATE_CHANGED_REASON_WAKEUP; 472 if (reason != -1) { 473 invokeVendorCommandListenersOnControlStateChanged(true, reason); 826 * @param reason reason of feature abort 829 void maySendFeatureAbortCommand(HdmiCecMessage command, int reason) { argument 2109 invokeVendorCommandListenersOnControlStateChanged(boolean enabled, int reason) argument [all...] |
/frameworks/base/services/core/java/com/android/server/input/ |
H A D | InputManagerService.java | 1431 InputWindowHandle inputWindowHandle, String reason) { 1433 inputApplicationHandle, inputWindowHandle, reason); 1618 InputWindowHandle inputWindowHandle, String reason); 1430 notifyANR(InputApplicationHandle inputApplicationHandle, InputWindowHandle inputWindowHandle, String reason) argument 1617 notifyANR(InputApplicationHandle inputApplicationHandle, InputWindowHandle inputWindowHandle, String reason) argument
|
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationManagerService.java | 2462 private void cancelNotificationLocked(NotificationRecord r, boolean sendDelete, int reason) { argument 2470 // no reason to let this propagate 2515 switch (reason) { 2544 EventLogTags.writeNotificationCanceled(canceledKey, reason); 2554 final int userId, final int reason, final ManagedServiceInfo listener) { 2564 mustHaveFlags, mustNotHaveFlags, reason, listenerName); 2573 if (reason == REASON_DELEGATE_CLICK) { 2586 cancelNotificationLocked(r, sendDelete, reason); 2625 int mustNotHaveFlags, boolean doit, int userId, int reason, 2629 pkg, userId, mustHaveFlags, mustNotHaveFlags, reason, 2551 cancelNotification(final int callingUid, final int callingPid, final String pkg, final String tag, final int id, final int mustHaveFlags, final int mustNotHaveFlags, final boolean sendDelete, final int userId, final int reason, final ManagedServiceInfo listener) argument 2624 cancelAllNotificationsInt(int callingUid, int callingPid, String pkg, int mustHaveFlags, int mustNotHaveFlags, boolean doit, int userId, int reason, ManagedServiceInfo listener) argument 2677 cancelAllLocked(int callingUid, int callingPid, int userId, int reason, ManagedServiceInfo listener, boolean includeCurrentProfiles) argument 2717 cancelGroupChildrenLocked(NotificationRecord r, int callingUid, int callingPid, String listenerName, int reason) argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | Command.cpp | 385 static void printUsesImpliedPermission(const String8& name, const String8& reason) { argument 386 printf("uses-implied-permission: name='%s' reason='%s'\n", 388 ResTable::normalizeForOutput(reason.string()).string()); 462 * a pre-requisite or some other reason. 499 const char* name, const char* reason) { 506 impliedFeatures->editValueAt(idx).reasons.add(String8(reason)); 539 printf(" uses-implied-feature: name='%s' reason='", 498 addImpliedFeature(KeyedVector<String8, ImpliedFeature>* impliedFeatures, const char* name, const char* reason) argument
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiManager.java | 344 * The lookup key for an integer indicating the reason a Wi-Fi network configuration 1692 * @param reason The reason for failure could be one of 1695 public void onFailure(int reason); argument 1708 * @param reason The reason for failure could be one of 1713 public abstract void onFailed(int reason); argument 1725 * @param reason The reason for failure could be one of 1728 public void onFailure(int reason); argument [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiConfigStore.java | 938 void noteRoamingFailure(WifiConfiguration config, int reason) { argument 948 config.lastRoamingFailureReason = reason; 1222 * @param reason reason code network was disabled 1225 boolean disableNetwork(int netId, int reason) { argument 1236 + " reason=" + Integer.toString(config.disableReason)); 1239 /* Only change the reason if the network was not previously disabled 1240 /* and the reason is not DISABLED_BY_WIFI_MANAGER, that is, if a 3rd party 1246 config.disableReason = reason; 1249 if (reason 1392 sendConfiguredNetworksChangedBroadcast(WifiConfiguration network, int reason) argument [all...] |
H A D | WifiStateMachine.java | 2098 public void disconnectCommand(int uid, int reason) { argument 2099 sendMessage(CMD_DISCONNECT, uid, reason); 2682 sb.append(" reason=").append(msg.arg2); 3174 private void setSuspendOptimizationsNative(int reason, boolean enabled) { argument 3176 log("setSuspendOptimizationsNative: " + reason + " " + enabled 3186 mSuspendOptNeedsDisabled &= ~reason; 3190 log("setSuspendOptimizationsNative do it " + reason + " " + enabled 3199 mSuspendOptNeedsDisabled |= reason; 3204 private void setSuspendOptimizations(int reason, boolean enabled) { argument 3205 if (DBG) log("setSuspendOptimizations: " + reason 3950 updateLinkProperties(int reason) argument 4450 handleIPv4Success(DhcpResults dhcpResults, int reason) argument 4510 handleIPv4Failure(int reason) argument 6847 unwantedNetwork(int reason) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | DcTrackerBase.java | 505 String reason = intent.getStringExtra(INTENT_RECONNECT_ALARM_EXTRA_REASON); 523 log("onActionIntentReconnectAlarm: mState=" + mState + " reason=" + reason + 529 apnContext.setReason(reason); 876 protected abstract void gotoIdleAndNotifyDataConnection(String reason); argument 878 protected abstract boolean onTrySetupData(String reason); argument 889 protected abstract void onCleanUpConnection(boolean tearDown, int apnId, String reason); argument 915 String reason = null; 917 reason = (String) msg.obj; 919 onTrySetupData(reason); 1237 notifyDataConnection(String reason) argument 1248 notifyApnIdUpToCurrent(String reason, int apnId) argument 1272 notifyApnIdDisconnected(String reason, int apnId) argument 1278 notifyOffApnsOfAvailability(String reason) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
H A D | SimulatedCommands.java | 1042 public void deactivateDataCall(int cid, int reason, Message result) {unimplemented(result);} argument
|
/frameworks/base/core/java/android/app/ |
H A D | ActivityManagerNative.java | 1385 String reason = data.readString(); 1387 boolean res = killPids(pids, reason, secure); 1395 String reason = data.readString(); 1396 boolean res = killProcessesBelowForeground(reason); 1569 String reason = data.readString(); 1570 killApplicationWithAppId(pkg, appid, reason); 1577 String reason = data.readString(); 1578 closeSystemDialogs(reason); 2100 String reason = data.readString(); 2101 long res = inputDispatchingTimedOut(pid, aboveSystem, reason); 4125 killPids(int[] pids, String reason, boolean secure) argument 4140 killProcessesBelowForeground(String reason) argument 4344 killApplicationWithAppId(String pkg, int appid, String reason) argument 4358 closeSystemDialogs(String reason) argument 5077 inputDispatchingTimedOut(int pid, boolean aboveSystem, String reason) argument 5136 killUid(int uid, String reason) argument [all...] |
H A D | IActivityManager.java | 266 public boolean killPids(int[] pids, String reason, boolean secure) throws RemoteException; argument 267 public boolean killProcessesBelowForeground(String reason) throws RemoteException; argument 311 public void killApplicationWithAppId(String pkg, int appid, String reason) argument 314 public void closeSystemDialogs(String reason) throws RemoteException; argument 416 public long inputDispatchingTimedOut(int pid, boolean aboveSystem, String reason) argument 426 public void killUid(int uid, String reason) throws RemoteException; argument
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | PagedView.java | 2760 private void animateWarpPageOnScreen(String reason) { argument 2761 if (DEBUG_WARP) Log.v(TAG, "animateWarpPageOnScreen(" + reason + ")"); 2790 private void animateWarpPageOffScreen(String reason, boolean animate) { argument 2791 if (DEBUG_WARP) Log.v(TAG, "animateWarpPageOffScreen(" + reason + " anim:" + animate + ")");
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ActivityStackSupervisor.java | 401 void moveHomeStack(boolean toFront, String reason) { argument 419 mFocusedStack == null ? -1 : mFocusedStack.getStackId(), reason); 429 void moveHomeStackTaskToTop(int homeStackTaskType, String reason) { argument 434 moveHomeStack(true, reason); 438 boolean resumeHomeStackTask(int homeStackTaskType, ActivityRecord prev, String reason) { argument 448 moveHomeStackTaskToTop(homeStackTaskType, reason); 456 mService.setFocusedActivityLocked(r, reason); 459 return mService.startHomeActivityLocked(mCurrentUser, reason); 831 void startHomeActivity(Intent intent, ActivityInfo aInfo, String reason) { argument 832 moveHomeStackTaskToTop(HOME_ACTIVITY_TYPE, reason); 1584 setFocusedStack(ActivityRecord r, String reason) argument 2513 findTaskToMoveToFrontLocked(TaskRecord task, int flags, Bundle options, String reason) argument 2957 scheduleDestroyAllActivities(ProcessRecord app, String reason) argument 2968 releaseSomeActivitiesLocked(ProcessRecord app, String reason) argument 3458 setLockTaskModeLocked(TaskRecord task, boolean isLocked, String reason) argument [all...] |
/frameworks/base/services/core/java/com/android/server/power/ |
H A D | PowerManagerService.java | 1042 private void goToSleepInternal(long eventTime, int reason, int flags, int uid) { argument 1044 if (goToSleepNoUpdateLocked(eventTime, reason, flags, uid)) { 1053 private boolean goToSleepNoUpdateLocked(long eventTime, int reason, int flags, int uid) { argument 1056 + ", reason=" + reason + ", flags=" + flags + ", uid=" + uid); 1068 switch (reason) { 1087 reason = PowerManager.GO_TO_SLEEP_REASON_APPLICATION; 1093 setWakefulnessLocked(WAKEFULNESS_DOZING, reason); 1173 private void setWakefulnessLocked(int wakefulness, int reason) { argument 1180 mNotifier.onWakefulnessChangeStarted(wakefulness, reason); 2172 shutdownOrRebootInternal(final boolean shutdown, final boolean confirm, final String reason, boolean wait) argument 2365 lowLevelReboot(String reason) argument 2970 goToSleep(long eventTime, int reason, int flags) argument 3045 reboot(boolean confirm, String reason, boolean wait) argument [all...] |
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
H A D | DevicePolicyManagerService.java | 2983 private void wipeDataLocked(boolean wipeExtRequested, String reason) { argument 2991 intent.putExtra(Intent.EXTRA_REASON, reason); 2997 RecoverySystem.rebootWipeUserData(mContext, reason); 3045 private void wipeDeviceOrUserLocked(boolean wipeExtRequested, final int userHandle, String reason) { argument 3047 wipeDataLocked(wipeExtRequested, reason);
|
/frameworks/native/services/inputflinger/ |
H A D | InputDispatcher.cpp | 497 const char* reason; local 503 reason = "inbound event was dropped because the policy consumed it"; 507 reason = "inbound event was dropped because input dispatch is disabled"; 511 reason = "inbound event was dropped because of pending overdue app switch"; 516 reason = "inbound event was dropped because the current application is not responding " 521 reason = "inbound event was dropped because it is stale"; 530 CancelationOptions options(CancelationOptions::CANCEL_NON_POINTER_EVENTS, reason); 537 CancelationOptions options(CancelationOptions::CANCEL_POINTER_EVENTS, reason); 540 CancelationOptions options(CancelationOptions::CANCEL_NON_POINTER_EVENTS, reason); 938 nsecs_t* nextWakeupTime, const char* reason) { 934 handleTargetsNotReadyLocked(nsecs_t currentTime, const EventEntry* entry, const sp<InputApplicationHandle>& applicationHandle, const sp<InputWindowHandle>& windowHandle, nsecs_t* nextWakeupTime, const char* reason) argument 1061 String8 reason; local 1398 String8 reason = checkWindowReadyForMoreInputLocked(currentTime, local 3060 resetAndDropEverythingLocked(const char* reason) argument 3405 onANRLocked( nsecs_t currentTime, const sp<InputApplicationHandle>& applicationHandle, const sp<InputWindowHandle>& windowHandle, nsecs_t eventTime, nsecs_t waitStartTime, const char* reason) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | CommandsInterface.java | 1626 * @param reason 1627 * Data disconnect reason. 1631 public void deactivateDataCall(int cid, int reason, Message result); argument
|
H A D | PhoneBase.java | 1400 public void notifyDataConnection(String reason, String apnType, argument 1402 mNotifier.notifyDataConnection(this, reason, apnType, state); 1405 public void notifyDataConnection(String reason, String apnType) { argument 1406 mNotifier.notifyDataConnection(this, reason, apnType, getDataConnectionState(apnType)); 1409 public void notifyDataConnection(String reason) { argument 1412 mNotifier.notifyDataConnection(this, reason, apnType, getDataConnectionState(apnType)); 1833 public void notifyDataConnectionFailed(String reason, String apnType) { argument 1834 mNotifier.notifyDataConnectionFailed(this, reason, apnType); 1837 public void notifyPreciseDataConnectionFailed(String reason, String apnType, String apn, argument 1839 mNotifier.notifyPreciseDataConnectionFailed(this, reason, apnTyp [all...] |
H A D | RIL.java | 1495 deactivateDataCall(int cid, int reason, Message result) { argument 1501 rr.mParcel.writeString(Integer.toString(reason)); 1504 requestToString(rr.mRequest) + " " + cid + " " + reason); 3255 infos[i].reason = p.readInt(); 4165 ssData.cfInfo[i].reason = p.readInt();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | PhoneStatusBar.java | 3128 String reason = intent.getStringExtra("reason"); 3129 if (reason != null && reason.equals(SYSTEM_DIALOG_REASON_RECENT_APPS)) { 4299 public void pulseWhileDozing(@NonNull PulseCallback callback, int reason) { argument 4300 mHandler.obtainMessage(H.MSG_PULSE_WHILE_DOZING, reason, 0, callback).sendToTarget(); 4327 private void handlePulseWhileDozing(@NonNull PulseCallback callback, int reason) { argument 4328 mDozeScrimController.pulse(callback, reason);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | PhoneWindow.java | 3235 public void onCloseSystemDialogs(String reason) { argument 4749 void sendCloseSystemWindows(String reason) { argument 4750 PhoneWindowManager.sendCloseSystemWindows(getContext(), reason);
|
H A D | PhoneWindowManager.java | 180 static public final String SYSTEM_DIALOG_REASON_KEY = "reason"; 800 // If sensor is turned off or nonexistent for some reason 4307 // If keyguard or dreams is currently visible, no reason to animate behind it. 5283 void sendCloseSystemWindows(String reason) { argument 5284 sendCloseSystemWindows(mContext, reason); 5287 static void sendCloseSystemWindows(Context context, String reason) { argument 5290 ActivityManagerNative.getDefault().closeSystemDialogs(reason);
|