/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/ |
D | BatteryDiffEntryTest.java | 258 values.put(BatteryHistEntry.KEY_PACKAGE_NAME, fakePackageName); in testGetAppLabel_loadDataFromApplicationInfo() 450 values.put(BatteryHistEntry.KEY_PACKAGE_NAME, PACKAGE_NAME); in testIsUninstalledEntry_installedApp_returnFalse() 465 values.put(BatteryHistEntry.KEY_PACKAGE_NAME, PACKAGE_NAME); in testIsUninstalledEntry_uidZero_returnFalse() 479 values.put(BatteryHistEntry.KEY_PACKAGE_NAME, UNINSTALLED_PACKAGE_NAME); in testIsUninstalledEntry_uninstalledApp_returnTrue() 497 values.put(BatteryHistEntry.KEY_PACKAGE_NAME, fakePackageName); in testUpdateRestrictionFlagState_updateFlagAsExpected() 531 values.put(BatteryHistEntry.KEY_PACKAGE_NAME, expectedPackageName); in testGetPackageName_returnExpectedResult() 542 values.put(BatteryHistEntry.KEY_PACKAGE_NAME, expectedPackageName + ":privileged_process0"); in testGetPackageName_withProcessName_returnExpectedResult() 606 values.put(BatteryHistEntry.KEY_PACKAGE_NAME, "com.a.b.c"); in createBatteryDiffEntry()
|
D | ConvertUtilsTest.java | 118 assertThat(values.getAsString(BatteryHistEntry.KEY_PACKAGE_NAME)) in convertBatteryEntryToContentValues_appEntry_returnsExpectedContentValues() 184 assertThat(values.getAsString(BatteryHistEntry.KEY_PACKAGE_NAME)).isEqualTo(""); in convertBatteryEntryToContentValues_systemEntry_returnsExpectedContentValues() 238 assertThat(values.getAsString(BatteryHistEntry.KEY_PACKAGE_NAME)) in convertBatteryEntryToContentValues_nullBatteryEntry_returnsExpectedContentValues() 260 assertThat(values.getAsString(AppUsageEventEntity.KEY_PACKAGE_NAME)) in convertAppUsageEventToContentValues_returnsExpectedContentValues() 494 AppUsageEventEntity.KEY_PACKAGE_NAME, in convertToAppUsageEvent_returnExpectedResult() 530 AppUsageEventEntity.KEY_PACKAGE_NAME, in convertToAppUsageEvent_emptyInstanceIdAndRootName_returnExpectedResult()
|
D | DataProcessManagerTest.java | 146 AppUsageEventEntity.KEY_PACKAGE_NAME, in start_loadEmptyDatabaseAppUsageData() 211 AppUsageEventEntity.KEY_PACKAGE_NAME in start_loadExpectedAppUsageData() 331 AppUsageEventEntity.KEY_PACKAGE_NAME, in start_currentUserLocked_emptyAppUsageList()
|
D | DatabaseUtilsTest.java | 315 AppUsageEventEntity.KEY_PACKAGE_NAME, in getAppUsageEventForUsers_emptyCursorContent_returnEmptyMap() 350 AppUsageEventEntity.KEY_PACKAGE_NAME, in getAppUsageEventForUsers_returnExpectedMap() 598 BatteryHistEntry.KEY_PACKAGE_NAME, in getMatrixCursor()
|
D | BatteryUsageContentProviderTest.java | 301 values.put(BatteryHistEntry.KEY_PACKAGE_NAME, new String("com.android.settings")); in insert_batteryState_returnsExpectedResult() 337 values.put(BatteryHistEntry.KEY_PACKAGE_NAME, new String("fake_data")); in insert_partialFieldsContentValues_returnsExpectedResult() 361 values.put(AppUsageEventEntity.KEY_PACKAGE_NAME, "com.android.settings1"); in insert_appUsageEvent_returnsExpectedResult()
|
D | BatteryDiffDataTest.java | 248 values.put(BatteryHistEntry.KEY_PACKAGE_NAME, packageName); in createBatteryHistEntry()
|
D | BatteryHistEntryTest.java | 393 BatteryHistEntry.KEY_PACKAGE_NAME, in createBatteryHistEntry()
|
D | DataProcessorTest.java | 2409 values.put(BatteryHistEntry.KEY_PACKAGE_NAME, packageName); in createBatteryHistEntry()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/db/ |
D | AppUsageEventEntity.java | 39 public static final String KEY_PACKAGE_NAME = "packageName"; field in AppUsageEventEntity 125 if (contentValues.containsKey(KEY_PACKAGE_NAME)) { in create() 126 builder.setPackageName(contentValues.getAsString(KEY_PACKAGE_NAME)); in create()
|
/packages/services/Car/tests/carservice_unit_test/src/android/car/cluster/renderer/ |
D | InstrumentClusterRenderingServiceTest.java | 20 import static android.app.ActivityOptions.KEY_PACKAGE_NAME; 351 activityOptionsBundle.putString(KEY_PACKAGE_NAME, "temp.pkg"); in startFixedActivityMode_callsClusterHelper() 368 .getString(KEY_PACKAGE_NAME)) in startFixedActivityMode_callsClusterHelper() 380 activityOptionsBundle.putString(KEY_PACKAGE_NAME, "temp.pkg"); in startFixedActivityMode_activityStateMissingInTheIntent() 396 .getString(KEY_PACKAGE_NAME)) in startFixedActivityMode_activityStateMissingInTheIntent() 409 activityOptionsBundle.putString(KEY_PACKAGE_NAME, "temp.pkg"); in startFixedActivityMode_clusterHelperFailure()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/ |
D | BatteryHistEntry.java | 32 public static final String KEY_PACKAGE_NAME = "packageName"; field in BatteryHistEntry 73 mPackageName = getString(values, KEY_PACKAGE_NAME); in BatteryHistEntry() 103 mPackageName = getString(cursor, KEY_PACKAGE_NAME); in BatteryHistEntry()
|
D | ConvertUtils.java | 115 values.put(BatteryHistEntry.KEY_PACKAGE_NAME, packageName != null ? packageName : ""); in convertBatteryEntryToContentValues() 119 values.put(BatteryHistEntry.KEY_PACKAGE_NAME, FAKE_PACKAGE_NAME); in convertBatteryEntryToContentValues() 151 values.put(AppUsageEventEntity.KEY_PACKAGE_NAME, event.getPackageName()); in convertAppUsageEventToContentValues() 300 getStringFromCursor(cursor, AppUsageEventEntity.KEY_PACKAGE_NAME)); in convertToAppUsageEvent()
|
/packages/modules/Media/apex/framework/java/android/media/ |
D | MediaConstants.java | 24 static final String KEY_PACKAGE_NAME = "android.media.key.PACKAGE_NAME"; field in MediaConstants
|
D | MediaSession2Service.java | 20 import static android.media.MediaConstants.KEY_PACKAGE_NAME; 379 String callingPkg = connectionRequest.getString(KEY_PACKAGE_NAME); in connect()
|
D | MediaController2.java | 21 import static android.media.MediaConstants.KEY_PACKAGE_NAME; 360 connectionRequest.putString(KEY_PACKAGE_NAME, mContext.getPackageName()); in createConnectionRequest()
|
D | MediaSession2.java | 21 import static android.media.MediaConstants.KEY_PACKAGE_NAME; 357 String callingPkg = connectionRequest.getString(KEY_PACKAGE_NAME); in onConnect()
|