/frameworks/base/services/core/java/com/android/server/am/ |
D | AppErrors.java | 19 import com.android.internal.app.ProcessMap; 26 import android.app.ActivityManager; 27 import android.app.ActivityOptions; 28 import android.app.ActivityThread; 29 import android.app.AppOpsManager; 30 import android.app.ApplicationErrorReport; 31 import android.app.Dialog; 245 void killAppAtUserRequestLocked(ProcessRecord app, Dialog fromDialog) { in killAppAtUserRequestLocked() argument 246 if (app.anrDialog == fromDialog) { in killAppAtUserRequestLocked() 247 app.anrDialog = null; in killAppAtUserRequestLocked() [all …]
|
D | ActivityManagerService.java | 27 import static android.app.ActivityManager.DOCKED_STACK_CREATE_MODE_TOP_OR_LEFT; 28 import static android.app.ActivityManager.RESIZE_MODE_PRESERVE_WINDOW; 29 import static android.app.ActivityManager.StackId.DOCKED_STACK_ID; 30 import static android.app.ActivityManager.StackId.FREEFORM_WORKSPACE_STACK_ID; 31 import static android.app.ActivityManager.StackId.FIRST_DYNAMIC_STACK_ID; 32 import static android.app.ActivityManager.StackId.FULLSCREEN_WORKSPACE_STACK_ID; 33 import static android.app.ActivityManager.StackId.INVALID_STACK_ID; 34 import static android.app.ActivityManager.StackId.PINNED_STACK_ID; 195 import android.app.Activity; 196 import android.app.ActivityManager; [all …]
|
D | AppNotRespondingDialog.java | 53 ProcessRecord app, ActivityRecord activity, boolean aboveSystem) { in AppNotRespondingDialog() argument 57 mProc = app; in AppNotRespondingDialog() 67 if ((app.pkgList.size() == 1) && in AppNotRespondingDialog() 68 (name2=context.getPackageManager().getApplicationLabel(app.info)) != null) { in AppNotRespondingDialog() 73 name2 = app.processName; in AppNotRespondingDialog() 78 name2 = app.processName; in AppNotRespondingDialog() 81 name1 = app.processName; in AppNotRespondingDialog() 96 attrs.setTitle("Application Not Responding: " + app.info.processName); in AppNotRespondingDialog() 155 ProcessRecord app = mProc; 158 appErrorIntent = mService.mAppErrors.createAppErrorIntentLocked(app, [all …]
|
D | ActiveServices.java | 32 import android.app.ActivityThread; 33 import android.app.AppOpsManager; 34 import android.app.NotificationManager; 35 import android.app.ServiceStartArgs; 53 import com.android.internal.app.procstats.ServiceState; 62 import android.app.ActivityManager; 63 import android.app.AppGlobals; 64 import android.app.IApplicationThread; 65 import android.app.IServiceConnection; 66 import android.app.Notification; [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | MobileRadioPowerCalculator.java | 62 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp() argument 65 app.mobileRxPackets = u.getNetworkActivityPackets(BatteryStats.NETWORK_MOBILE_RX_DATA, in calculateApp() 67 app.mobileTxPackets = u.getNetworkActivityPackets(BatteryStats.NETWORK_MOBILE_TX_DATA, in calculateApp() 69 app.mobileActive = u.getMobileRadioActiveTime(statsType) / 1000; in calculateApp() 70 app.mobileActiveCount = u.getMobileRadioActiveCount(statsType); in calculateApp() 71 app.mobileRxBytes = u.getNetworkActivityBytes(BatteryStats.NETWORK_MOBILE_RX_DATA, in calculateApp() 73 app.mobileTxBytes = u.getNetworkActivityBytes(BatteryStats.NETWORK_MOBILE_TX_DATA, in calculateApp() 76 if (app.mobileActive > 0) { in calculateApp() 79 mTotalAppMobileActiveMs += app.mobileActive; in calculateApp() 80 app.mobileRadioPowerMah = (app.mobileActive * mPowerRadioOn) / (1000*60*60); in calculateApp() [all …]
|
D | CpuPowerCalculator.java | 33 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp() argument 36 app.cpuTimeMs = (u.getUserCpuTimeUs(statsType) + u.getSystemCpuTimeUs(statsType)) / 1000; in calculateApp() 54 app.cpuPowerMah = cpuPowerMaUs / MICROSEC_IN_HR; in calculateApp() 56 if (DEBUG && (app.cpuTimeMs != 0 || app.cpuPowerMah != 0)) { in calculateApp() 57 Log.d(TAG, "UID " + u.getUid() + ": CPU time=" + app.cpuTimeMs + " ms power=" in calculateApp() 58 + BatteryStatsHelper.makemAh(app.cpuPowerMah)); in calculateApp() 64 app.cpuFgTimeMs = 0; in calculateApp() 70 app.cpuFgTimeMs += ps.getForegroundTime(statsType); in calculateApp() 77 if (app.packageWithHighestDrain == null || in calculateApp() 78 app.packageWithHighestDrain.startsWith("*")) { in calculateApp() [all …]
|
D | WifiPowerEstimator.java | 51 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp() argument 53 app.wifiRxPackets = u.getNetworkActivityPackets(BatteryStats.NETWORK_WIFI_RX_DATA, in calculateApp() 55 app.wifiTxPackets = u.getNetworkActivityPackets(BatteryStats.NETWORK_WIFI_TX_DATA, in calculateApp() 57 app.wifiRxBytes = u.getNetworkActivityBytes(BatteryStats.NETWORK_WIFI_RX_DATA, in calculateApp() 59 app.wifiTxBytes = u.getNetworkActivityBytes(BatteryStats.NETWORK_WIFI_TX_DATA, in calculateApp() 62 final double wifiPacketPower = (app.wifiRxPackets + app.wifiTxPackets) in calculateApp() 65 app.wifiRunningTimeMs = u.getWifiRunningTime(rawRealtimeUs, statsType) / 1000; in calculateApp() 66 mTotalAppWifiRunningTimeMs += app.wifiRunningTimeMs; in calculateApp() 67 final double wifiLockPower = (app.wifiRunningTimeMs * mWifiPowerOn) / (1000*60*60); in calculateApp() 80 app.wifiPowerMah = wifiPacketPower + wifiLockPower + wifiScanPower + wifiBatchScanPower; in calculateApp() [all …]
|
D | WifiPowerCalculator.java | 41 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp() argument 51 app.wifiRunningTimeMs = idleTime + rxTime + txTime; in calculateApp() 52 mTotalAppRunningTime += app.wifiRunningTimeMs; in calculateApp() 54 app.wifiPowerMah = in calculateApp() 57 mTotalAppPowerDrain += app.wifiPowerMah; in calculateApp() 59 app.wifiRxPackets = u.getNetworkActivityPackets(BatteryStats.NETWORK_WIFI_RX_DATA, in calculateApp() 61 app.wifiTxPackets = u.getNetworkActivityPackets(BatteryStats.NETWORK_WIFI_TX_DATA, in calculateApp() 63 app.wifiRxBytes = u.getNetworkActivityBytes(BatteryStats.NETWORK_WIFI_RX_DATA, in calculateApp() 65 app.wifiTxBytes = u.getNetworkActivityBytes(BatteryStats.NETWORK_WIFI_TX_DATA, in calculateApp() 68 if (DEBUG && app.wifiPowerMah != 0) { in calculateApp() [all …]
|
D | WakelockPowerCalculator.java | 33 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp() argument 49 app.wakeLockTimeMs = wakeLockTimeUs / 1000; // convert to millis in calculateApp() 50 mTotalAppWakelockTimeMs += app.wakeLockTimeMs; in calculateApp() 53 app.wakeLockPowerMah = (app.wakeLockTimeMs * mPowerWakelock) / (1000*60*60); in calculateApp() 54 if (DEBUG && app.wakeLockPowerMah != 0) { in calculateApp() 55 Log.d(TAG, "UID " + u.getUid() + ": wake " + app.wakeLockTimeMs in calculateApp() 56 + " power=" + BatteryStatsHelper.makemAh(app.wakeLockPowerMah)); in calculateApp() 61 public void calculateRemaining(BatterySipper app, BatteryStats stats, long rawRealtimeUs, in calculateRemaining() argument 72 app.wakeLockTimeMs += wakeTimeMillis; in calculateRemaining() 73 app.wakeLockPowerMah += power; in calculateRemaining()
|
/frameworks/rs/tests/lldb/tests/harness/ |
D | util_bundle.py | 111 for app, package in self._tests_apk.items(): 112 self._log.info('Uninstalling the application: %s', app) 118 'the application: ' + app) 123 raise TestSuiteException('Unable to uninstall app ' + app) 125 self._log.debug('Application uninstalled: %r', app) 128 self._log.warning('unable to uninstall app ' + app) 136 for app, package in self._tests_jni.items(): 140 raise TestSuiteException('unable to uninstall app ' + app) 148 for app in self._tests_ndk: 149 output = self._android.shell('rm /data/' + app) [all …]
|
/frameworks/support/fragment/api/ |
D | 26.0.0.txt | 1 package android.support.v4.app { 3 …public class DialogFragment extends android.support.v4.app.Fragment implements android.content.Dia… 7 method public android.app.Dialog getDialog(); 12 method public android.app.Dialog onCreateDialog(android.os.Bundle); 17 method public void show(android.support.v4.app.FragmentManager, java.lang.String); 18 method public int show(android.support.v4.app.FragmentTransaction, java.lang.String); 29 method public final android.support.v4.app.FragmentActivity getActivity(); 33 method public final android.support.v4.app.FragmentManager getChildFragmentManager(); 37 method public final android.support.v4.app.FragmentManager getFragmentManager(); 41 method public android.support.v4.app.LoaderManager getLoaderManager(); [all …]
|
D | current.txt | 1 package android.support.v4.app { 3 …public class DialogFragment extends android.support.v4.app.Fragment implements android.content.Dia… 7 method public android.app.Dialog getDialog(); 12 method public android.app.Dialog onCreateDialog(android.os.Bundle); 17 method public void show(android.support.v4.app.FragmentManager, java.lang.String); 18 method public int show(android.support.v4.app.FragmentTransaction, java.lang.String); 29 method public final android.support.v4.app.FragmentActivity getActivity(); 33 method public final android.support.v4.app.FragmentManager getChildFragmentManager(); 37 method public final android.support.v4.app.FragmentManager getFragmentManager(); 42 method public android.support.v4.app.LoaderManager getLoaderManager(); [all …]
|
/frameworks/base/docs/html/sdk/support_api_diff/25.1.0/ |
D | missingSinces.txt | 6 NO DOC BLOCK: android.support.v4.app.FragmentManager.FragmentLifecycleCallbacks Class 8 NO DOC BLOCK: android.support.v17.leanback.app.PlaybackControlGlue.InputEventHandler Interface 9 NO DOC BLOCK: android.support.v17.leanback.app.PlaybackFragment Class 10 NO DOC BLOCK: android.support.v17.leanback.app.PlaybackFragment.OnFadeCompleteListener Class 11 NO DOC BLOCK: android.support.v17.leanback.app.PlaybackFragmentGlueHost Class 12 NO DOC BLOCK: android.support.v17.leanback.app.PlaybackGlue Class 13 NO DOC BLOCK: android.support.v17.leanback.app.PlaybackGlue.HostLifecycleCallback Class 14 NO DOC BLOCK: android.support.v17.leanback.app.PlaybackGlue.PlaybackGlueHost Class 15 NO DOC BLOCK: android.support.v17.leanback.app.PlaybackGlue.PlayerCallback Class 18 NO DOC BLOCK: android.support.v17.leanback.app.PlaybackSupportFragment Class [all …]
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/ |
D | ListenerExpr.java | 88 code.app("(getBuildSdkInt() < " + minApi + ") ? null : "); in generateCode() 93 code.app("((") in generateCode() 94 .app(fieldName) in generateCode() 95 .app(" == null) ? (") in generateCode() 96 .app(fieldName) in generateCode() 97 .app(" = new ") in generateCode() 98 .app(listenerClassName) in generateCode() 99 .app("()) : ") in generateCode() 100 .app(fieldName) in generateCode() 101 .app(")"); in generateCode() [all …]
|
D | BracketExpr.java | 125 app("getFromArray(", getTarget().toCode()). in generateCode() 126 app(", "). in generateCode() 127 app(cast, getArg().toCode()).app(")"); in generateCode() 135 app("getFromList(", getTarget().toCode()). in generateCode() 136 app(", "). in generateCode() 137 app(cast, getArg().toCode()). in generateCode() 138 app(")"); in generateCode() 141 app("", getTarget().toCode()). in generateCode() 142 app(".get("). in generateCode() 143 app(cast, getArg().toCode()). in generateCode() [all …]
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | SysMemUsageTable.java | 17 package com.android.internal.app.procstats; 21 import static com.android.internal.app.procstats.ProcessStats.STATE_COUNT; 22 import static com.android.internal.app.procstats.ProcessStats.STATE_NOTHING; 23 import static com.android.internal.app.procstats.ProcessStats.SYS_MEM_USAGE_SAMPLE_COUNT; 24 import static com.android.internal.app.procstats.ProcessStats.SYS_MEM_USAGE_CACHED_MINIMUM; 25 import static com.android.internal.app.procstats.ProcessStats.SYS_MEM_USAGE_CACHED_AVERAGE; 26 import static com.android.internal.app.procstats.ProcessStats.SYS_MEM_USAGE_CACHED_MAXIMUM; 27 import static com.android.internal.app.procstats.ProcessStats.SYS_MEM_USAGE_FREE_MINIMUM; 28 import static com.android.internal.app.procstats.ProcessStats.SYS_MEM_USAGE_FREE_AVERAGE; 29 import static com.android.internal.app.procstats.ProcessStats.SYS_MEM_USAGE_FREE_MAXIMUM; [all …]
|
/frameworks/support/recommendation/api/ |
D | current.txt | 1 package android.support.app.recommendation { 8 …method public android.support.app.recommendation.ContentRecommendation.IntentData getContentIntent… 10 …method public android.support.app.recommendation.ContentRecommendation.IntentData getDismissIntent… 15 method public android.app.Notification getNotificationObject(android.content.Context); 47 field public static final java.lang.String CONTENT_TYPE_APP = "android.contentType.app"; 69 method public android.support.app.recommendation.ContentRecommendation build(); 70 …method public android.support.app.recommendation.ContentRecommendation.Builder setAutoDismiss(bool… 71 …method public android.support.app.recommendation.ContentRecommendation.Builder setBackgroundImageU… 72 … method public android.support.app.recommendation.ContentRecommendation.Builder setBadgeIcon(int); 73 method public android.support.app.recommendation.ContentRecommendation.Builder setColor(int); [all …]
|
D | 26.0.0.txt | 1 package android.support.app.recommendation { 8 …method public android.support.app.recommendation.ContentRecommendation.IntentData getContentIntent… 10 …method public android.support.app.recommendation.ContentRecommendation.IntentData getDismissIntent… 15 method public android.app.Notification getNotificationObject(android.content.Context); 47 field public static final java.lang.String CONTENT_TYPE_APP = "android.contentType.app"; 69 method public android.support.app.recommendation.ContentRecommendation build(); 70 …method public android.support.app.recommendation.ContentRecommendation.Builder setAutoDismiss(bool… 71 …method public android.support.app.recommendation.ContentRecommendation.Builder setBackgroundImageU… 72 … method public android.support.app.recommendation.ContentRecommendation.Builder setBadgeIcon(int); 73 method public android.support.app.recommendation.ContentRecommendation.Builder setColor(int); [all …]
|
/frameworks/base/libs/androidfw/tests/ |
D | Theme_test.cpp | 27 namespace app = com::android::app; 66 EXPECT_EQ(kInvalidCookie, theme->GetAttribute(app::R::attr::attr_one, &value, &flags)); in TEST_F() 74 ASSERT_TRUE(theme->ApplyStyle(app::R::style::StyleOne)); in TEST_F() 80 cookie = theme->GetAttribute(app::R::attr::attr_one, &value, &flags); in TEST_F() 86 cookie = theme->GetAttribute(app::R::attr::attr_two, &value, &flags); in TEST_F() 98 ASSERT_TRUE(theme->ApplyStyle(app::R::style::StyleTwo)); in TEST_F() 104 cookie = theme->GetAttribute(app::R::attr::attr_one, &value, &flags); in TEST_F() 110 cookie = theme->GetAttribute(app::R::attr::attr_two, &value, &flags); in TEST_F() 119 cookie = theme->GetAttribute(app::R::attr::attr_three, &value, &flags); in TEST_F() 131 ASSERT_TRUE(theme->ApplyStyle(app::R::style::StyleTwo)); in TEST_F() [all …]
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | PermissionMonitor.java | 126 for (PackageInfo app : apps) { in startMonitoring() 127 int uid = app.applicationInfo != null ? app.applicationInfo.uid : -1; in startMonitoring() 132 boolean isNetwork = hasNetworkPermission(app); in startMonitoring() 133 boolean hasRestrictedPermission = hasRestrictedNetworkPermission(app); in startMonitoring() 156 private boolean hasPermission(final PackageInfo app, final String permission) { in hasPermission() argument 157 if (app.requestedPermissions == null || app.requestedPermissionsFlags == null) { in hasPermission() 160 final int index = ArrayUtils.indexOf(app.requestedPermissions, permission); in hasPermission() 161 if (index < 0 || index >= app.requestedPermissionsFlags.length) return false; in hasPermission() 162 return (app.requestedPermissionsFlags[index] & REQUESTED_PERMISSION_GRANTED) != 0; in hasPermission() 165 private boolean hasNetworkPermission(PackageInfo app) { in hasNetworkPermission() argument [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | IccCardStatus.java | 114 IccCardApplicationStatus app; in toString() local 125 app = mApplications[mGsmUmtsSubscriptionAppIndex]; in toString() 126 sb.append(app == null ? "null" : app); in toString() 133 app = mApplications[mCdmaSubscriptionAppIndex]; in toString() 134 sb.append(app == null ? "null" : app); in toString() 141 app = mApplications[mImsSubscriptionAppIndex]; in toString() 142 sb.append(app == null ? "null" : app); in toString()
|
/frameworks/base/proto/src/ |
D | metrics_constants.proto | 115 // Notification was canceled by the app canceling this specific notification. 118 //Notification was canceled by the app cancelling all its notifications. 631 // OPEN: Settings > Users > [Restricted profile app & content access] 1263 // ACTION: Chooser > User taps an app target 1537 // ACTION: Settings > Apps > Default Apps > Select different SMS app 1538 // PACKAGE: Selected SMS app 1577 // ACTION: Launch profile-specific app > Confirm credentials 1597 // ACTION: Overview > Select app 1650 // Logged when the overview times out automatically selecting an app 1763 // Logs the action the user takes when an app crashed. [all …]
|
/frameworks/base/tools/aapt2/link/ |
D | XmlReferenceLinker_test.cpp | 179 <View xmlns:app="http://schemas.android.com/apk/res-auto" 180 app:colorAccent="@app:color/red" />)"); 200 <View xmlns:app="http://schemas.android.com/apk/res/android" app:attr="@app:id/id"> 201 <View xmlns:app="http://schemas.android.com/apk/res/com.app.test" app:attr="@app:id/id"/> 225 // "com.app.test" (0x7f). 226 xml_attr = view_el->FindAttribute(xml::BuildPackageNamespace("com.app.test"), "attr"); 247 // "com.app.test" (0x7f). 248 …xml::Attribute* xml_attr = view_el->FindAttribute(xml::BuildPackageNamespace("com.app.test"), "att…
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/ |
D | AppRestrictionsHelper.java | 19 import android.app.AppGlobals; 183 for (ApplicationInfo app : installedApps) { in fetchAndMergeApps() 185 if ((app.flags & ApplicationInfo.FLAG_INSTALLED) == 0) continue; in fetchAndMergeApps() 187 if ((app.flags & ApplicationInfo.FLAG_SYSTEM) == 0 in fetchAndMergeApps() 188 && (app.flags & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) == 0) { in fetchAndMergeApps() 191 info.packageName = app.packageName; in fetchAndMergeApps() 192 info.appName = app.loadLabel(pm); in fetchAndMergeApps() 194 info.icon = app.loadIcon(pm); in fetchAndMergeApps() 198 PackageInfo pi = pm.getPackageInfo(app.packageName, 0); in fetchAndMergeApps() 204 mSelectedPackages.put(app.packageName, false); in fetchAndMergeApps() [all …]
|
/frameworks/base/packages/CtsShim/build/ |
D | README | 13 $ cp $OUT/system/priv-app/CtsShimPrivUpgrade/CtsShimPrivUpgrade.apk \ 15 $ cp $OUT/system/priv-app/CtsShimPrivUpgrade/CtsShimPrivUpgrade.apk \ 16 vendor/xts/gts-tests/hostsidetests/packagemanager/app/apk/arm/GtsShimPrivUpgrade.apk 17 $ cp $OUT/system/priv-app/CtsShimPrivUpgradeWrongSHA/CtsShimPrivUpgradeWrongSHA.apk \ 19 $ cp $OUT/system/priv-app/CtsShimPriv/CtsShimPriv.apk \ 21 $ cp $OUT/system/app/CtsShim/CtsShim.apk \ 27 $ cp $OUT/system/priv-app/CtsShimPrivUpgrade/CtsShimPrivUpgrade.apk \ 29 $ cp $OUT/system/priv-app/CtsShimPrivUpgrade/CtsShimPrivUpgrade.apk \ 30 vendor/xts/gts-tests/hostsidetests/packagemanager/app/apk/x86/GtsShimPrivUpgrade.apk 31 $ cp $OUT/system/priv-app/CtsShimPrivUpgradeWrongSHA/CtsShimPrivUpgradeWrongSHA.apk \ [all …]
|