HomeSort by relevance Sort by last modified time
    Searched defs:appEntry (Results 1 - 8 of 8) sorted by null

  /packages/apps/Settings/tests/unit/src/com/android/settings/applications/
ManageApplicationsUnitTest.java 49 final ApplicationsState.AppEntry appEntry = mock(ApplicationsState.AppEntry.class);
50 appEntry.info = info;
52 assertThat(filter.filterApp(appEntry)).isTrue();
65 final ApplicationsState.AppEntry appEntry = mock(ApplicationsState.AppEntry.class);
66 appEntry.info = info;
68 assertThat(filter.filterApp(appEntry)).isTrue()
    [all...]
  /system/security/keystore/
operation.cpp 90 auto appEntry = mAppTokenMap.find(appToken);
91 if (appEntry == mAppTokenMap.end()) {
95 auto tokenEntry = std::find(appEntry->second.begin(), appEntry->second.end(), token);
96 appEntry->second.erase(tokenEntry);
98 if (appEntry->second.size() == 0) {
100 mAppTokenMap.erase(appEntry);
141 auto appEntry = mAppTokenMap.find(appToken);
142 if (appEntry != mAppTokenMap.end()) {
143 return appEntry->second
    [all...]
  /packages/apps/Settings/src/com/android/settings/applications/
RecentAppsPreferenceController.java 223 final ApplicationsState.AppEntry appEntry =
225 if (appEntry == null) {
236 pref.setTitle(appEntry.label);
237 pref.setIcon(mIconDrawableFactory.getBadgedIcon(appEntry.info));
245 R.string.application_info_label, pkgName, appEntry.info.uid, mHost,
281 final ApplicationsState.AppEntry appEntry = mApplicationsState.getEntry(
283 if (appEntry == null) {
AppOpsState.java 224 public static class AppEntry {
236 public AppEntry(AppOpsState state, ApplicationInfo info) {
314 private final AppEntry mApp;
318 public AppOpEntry(AppOpsManager.PackageOps pkg, AppOpsManager.OpEntry op, AppEntry app,
354 public AppEntry getAppEntry() {
472 AppEntry appEntry, AppOpsManager.OpEntry opEntry, boolean allowMerge, int switchOrder) {
475 if (last.getAppEntry() == appEntry) {
486 AppOpEntry entry = appEntry.getOpSwitch(opEntry.getOp());
491 entry = new AppOpEntry(pkgOps, opEntry, appEntry, switchOrder)
    [all...]
ManageApplications.java 88 import com.android.settingslib.applications.ApplicationsState.AppEntry;
746 ApplicationsState.AppEntry entry = mApplications.getAppEntry(position);
    [all...]
  /packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
AppButtonsPreferenceControllerTest.java 86 private ApplicationsState.AppEntry mAppEntry;
300 final ApplicationsState.AppEntry appEntry = mock(ApplicationsState.AppEntry.class);
301 doReturn(appEntry).when(mState).getEntry(anyString(), anyInt());
307 assertThat(mController.mAppEntry).isSameAs(appEntry);
  /packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
AppScanStats.java 387 ContextMap.App appEntry = contextMap.getByName(appName);
388 if (appEntry != null && isRegistered) {
390 appEntry.id + "\n");
392 appEntry.uuid + "\n");
395 contextMap.getConnectionByApp(appEntry.id);
  /packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
InstalledAppDetailsTest.java 53 import com.android.settingslib.applications.ApplicationsState.AppEntry;
164 final AppEntry appEntry = mock(AppEntry.class);
165 appEntry.info = info;
169 assertThat(mAppDetail.shouldShowUninstallForAll(appEntry)).isTrue();
181 final AppEntry appEntry = mock(AppEntry.class);
182 appEntry.info = info
    [all...]

Completed in 562 milliseconds