OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:appEntry
(Results
1 - 14
of
14
) 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/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
...]
/packages/apps/Settings/src/com/android/settings/applications/
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
...]
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) {
PremiumSmsAccess.java
39
import com.android.settingslib.applications.ApplicationsState.
AppEntry
;
122
private void updatePrefs(ArrayList<
AppEntry
> apps) {
158
public void onRebuildComplete(ArrayList<
AppEntry
> apps) {
198
private final
AppEntry
mAppEntry;
200
public PremiumSmsPreference(
AppEntry
appEntry
, Context context) {
202
mAppEntry =
appEntry
;
InstalledAppDetails.java
102
import com.android.settingslib.applications.ApplicationsState.
AppEntry
;
625
boolean shouldShowUninstallForAll(ApplicationsState.
AppEntry
appEntry
) {
629
} else if (
appEntry
== null) {
631
} else if ((
appEntry
.info.flags & ApplicationInfo.FLAG_SYSTEM) != 0) {
640
&& (
appEntry
.info.flags & ApplicationInfo.FLAG_INSTALLED) != 0) {
642
} else if (AppUtils.isInstant(
appEntry
.info)) {
[
all
...]
ManageApplications.java
88
import com.android.settingslib.applications.ApplicationsState.
AppEntry
;
746
ApplicationsState.
AppEntry
entry = mApplications.getAppEntry(position);
[
all
...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
AppUtils.java
46
public static CharSequence getLaunchByDefaultSummary(ApplicationsState.
AppEntry
appEntry
,
48
String packageName =
appEntry
.info.packageName;
ApplicationsState.java
116
// Map: userid => (Map: package name =>
AppEntry
)
117
final SparseArray<HashMap<String,
AppEntry
>> mEntriesMap =
118
new SparseArray<HashMap<String,
AppEntry
>>();
119
final ArrayList<
AppEntry
> mAppEntries = new ArrayList<
AppEntry
>();
142
mEntriesMap.put(userId, new HashMap<String,
AppEntry
>());
204
mEntriesMap.put(user.id, new HashMap<String,
AppEntry
>());
245
final
AppEntry
entry = mEntriesMap.get(userId).get(info.packageName);
294
public
AppEntry
getEntry(String packageName, int userId) {
297
AppEntry
entry = mEntriesMap.get(userId).get(packageName)
[
all
...]
/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/src/com/android/settings/widget/
EntityHeaderController.java
141
* Convenience method to set the header icon from an ApplicationsState.
AppEntry
. Callers should
145
public EntityHeaderController setIcon(ApplicationsState.
AppEntry
appEntry
) {
146
if (
appEntry
.icon != null) {
147
mIcon =
appEntry
.icon.getConstantState().newDrawable(mAppContext.getResources());
162
public EntityHeaderController setLabel(ApplicationsState.
AppEntry
appEntry
) {
163
mLabel =
appEntry
.label;
/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
);
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/
LoaderCustomSupport.java
82
public static class
AppEntry
{
83
public
AppEntry
(AppListLoader loader, ApplicationInfo info) {
149
public static final Comparator<
AppEntry
> ALPHA_COMPARATOR = new Comparator<
AppEntry
>() {
152
public int compare(
AppEntry
object1,
AppEntry
object2) {
207
public static class AppListLoader extends AsyncTaskLoader<List<
AppEntry
>> {
211
List<
AppEntry
> mApps;
228
@Override public List<
AppEntry
> loadInBackground() {
241
List<
AppEntry
> entries = new ArrayList<AppEntry>(apps.size())
[
all
...]
Completed in 825 milliseconds