HomeSort by relevance Sort by last modified time
    Searched refs:PersistableBundle (Results 1 - 25 of 215) sorted by null

1 2 3 4 5 6 7 8 9

  /frameworks/native/aidl/binder/android/os/
PersistableBundle.aidl 20 parcelable PersistableBundle cpp_header "binder/PersistableBundle.h";
  /frameworks/base/core/java/android/service/carrier/
ICarrierService.aidl 19 import android.os.PersistableBundle;
31 PersistableBundle getCarrierConfig(in CarrierIdentifier id);
CarrierService.java 21 import android.os.PersistableBundle;
87 * PersistableBundle} may be overridden by the system's default configuration service.
92 * @return a {@link PersistableBundle} object containing the configuration or null if default
95 public abstract PersistableBundle onLoadConfig(CarrierIdentifier id);
139 public PersistableBundle getCarrierConfig(CarrierIdentifier id) {
  /frameworks/base/telephony/java/com/android/internal/telephony/
ICarrierConfigLoader.aidl 19 import android.os.PersistableBundle;
26 PersistableBundle getConfigForSubId(int subId);
  /frameworks/base/core/java/android/content/
IRestrictionsManager.aidl 21 import android.os.PersistableBundle;
31 in PersistableBundle requestData);
32 void notifyPermissionResponse(in String packageName, in PersistableBundle response);
  /frameworks/base/core/java/android/os/
PersistableBundle.java 38 public final class PersistableBundle extends BaseBundle implements Cloneable, Parcelable,
41 public static final PersistableBundle EMPTY;
44 EMPTY = new PersistableBundle();
54 (value instanceof PersistableBundle) || (value == null) ||
59 * Constructs a new, empty PersistableBundle.
61 public PersistableBundle() {
67 * Constructs a new, empty PersistableBundle sized to hold the given number of
68 * elements. The PersistableBundle will grow as needed.
70 * @param capacity the initial capacity of the PersistableBundle
72 public PersistableBundle(int capacity)
    [all...]
  /frameworks/native/libs/binder/
PersistableBundle.cpp 17 #define LOG_TAG "PersistableBundle"
19 #include <binder/PersistableBundle.h>
88 status_t PersistableBundle::writeToParcel(Parcel* parcel) const {
120 status_t PersistableBundle::readFromParcel(const Parcel* parcel) {
134 bool PersistableBundle::empty() const {
138 size_t PersistableBundle::size() const {
152 size_t PersistableBundle::erase(const String16& key) {
166 void PersistableBundle::putBoolean(const String16& key, bool value) {
171 void PersistableBundle::putInt(const String16& key, int32_t value) {
176 void PersistableBundle::putLong(const String16& key, int64_t value)
    [all...]
  /cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
TrustAgentInfoTest.java 21 import android.os.PersistableBundle;
29 private static final PersistableBundle CONFIG = new PersistableBundle();
55 List<PersistableBundle> configs =
79 private static void assertPersistableBundleList(List<PersistableBundle> actual) {
82 PersistableBundle bundle = actual.get(0);
  /cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
TrustAgentInfoTest.java 21 import android.os.PersistableBundle;
34 private static final PersistableBundle CHILD_CONFIG = new PersistableBundle();
35 private static final PersistableBundle PARENT_CONFIG = new PersistableBundle();
71 List<PersistableBundle> parentConfig =
74 List<PersistableBundle> childConfig = mDevicePolicyManager.getTrustAgentConfiguration(
100 List<PersistableBundle> parentConfig =
103 List<PersistableBundle> childConfig =
115 List<PersistableBundle> configs = getDevicePolicyManager(isParent
    [all...]
  /packages/apps/Dialer/java/com/android/voicemail/impl/
TelephonyVvmConfigManager.java 20 import android.os.PersistableBundle;
46 private static Map<String, PersistableBundle> sCachedConfigs;
48 private final Map<String, PersistableBundle> mConfigs;
63 public PersistableBundle getConfig(String mccMnc) {
70 private static Map<String, PersistableBundle> loadConfigs(Context context, XmlPullParser parser) {
71 Map<String, PersistableBundle> configs = new ArrayMap<>();
75 if (!(object instanceof PersistableBundle)) {
76 throw new IllegalArgumentException("PersistableBundle expected, got " + object);
78 PersistableBundle bundle = (PersistableBundle) object
    [all...]
  /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
PersistableBundlable.java 20 import android.os.PersistableBundle;
31 public abstract @NonNull PersistableBundle toPersistableBundle();
33 public static PersistableBundle getPersistableBundleFromParcel(Parcel parcel) {
34 return parcel.readParcelable(PersistableBundle.class.getClassLoader());
74 * Compares two {@link PersistableBundle} objects are equals.
76 private static boolean isPersistableBundleEquals(PersistableBundle obj1, PersistableBundle obj2) {
95 * Compares two values which type is supported by {@link PersistableBundle}.
104 } else if (val1 instanceof PersistableBundle) {
105 return isPersistableBundleEquals((PersistableBundle) val1, (PersistableBundle) val2)
    [all...]
  /cts/tests/tests/telephony/src/android/telephony/cts/
CarrierServiceTest.java 20 import android.os.PersistableBundle;
48 public PersistableBundle onLoadConfig(CarrierIdentifier id) { return null; }
CarrierConfigManagerTest.java 21 import android.os.PersistableBundle;
57 private void checkConfig(PersistableBundle config) {
85 PersistableBundle config = mConfigManager.getConfig();
90 PersistableBundle config =
  /frameworks/base/core/java/android/service/restrictions/
RestrictionsReceiver.java 24 import android.os.PersistableBundle;
36 * {@link RestrictionsManager#notifyPermissionResponse(String, PersistableBundle)}.
65 String packageName, String requestType, String requestId, PersistableBundle request);
80 PersistableBundle request = (PersistableBundle)
  /frameworks/base/core/java/android/service/trust/
ITrustAgentService.aidl 18 import android.os.PersistableBundle;
32 oneway void onConfigure(in List<PersistableBundle> options, IBinder token);
  /packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/e2eui/
E2eUiTestUtils.java 20 import android.os.PersistableBundle;
32 PersistableBundle bundle = new PersistableBundle();
39 PersistableBundle persistableBundle = intent
41 return persistableBundle != null && persistableBundle.getBoolean(EXTRAS_BUNDLE_TEST_KEY);
  /system/tools/aidl/tests/
aidl_test_client_parcelables.cpp 31 using android::os::PersistableBundle;
79 cout << "Confirming passing and returning PersistableBundle objects works."
82 PersistableBundle empty_bundle, returned;
85 cout << "Binder call failed for empty PersistableBundle." << endl;
89 cout << "Failed to repeat empty PersistableBundle." << endl;
93 PersistableBundle non_empty_bundle;
107 PersistableBundle nested_bundle;
118 cout << "Failed to repeat PersistableBundle object." << endl;
122 cout << "Attempting to reverse an array of PersistableBundle objects."
124 PersistableBundle first
    [all...]
  /cts/hostsidetests/shortcuts/deviceside/upgrade/src/android/content/pm/cts/shortcut/upgrade/
ShortcutManagerPreUpgradeTest.java 24 import android.os.PersistableBundle;
40 final PersistableBundle b1 = new PersistableBundle();
49 final PersistableBundle b2 = new PersistableBundle();
  /cts/tests/tests/text/src/android/text/style/cts/
TtsSpanTest.java 22 import android.os.PersistableBundle;
34 private PersistableBundle mBundle;
38 mBundle = new PersistableBundle();
48 final PersistableBundle args = t.getArgs();
85 final PersistableBundle args = t.getArgs();
104 final PersistableBundle args = t.getArgs();
120 final PersistableBundle args = t.getArgs();
135 final PersistableBundle args = t.getArgs();
142 final PersistableBundle args = t.getArgs();
155 final PersistableBundle args = t.getArgs()
    [all...]
  /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/
DisclaimersParam.java 20 import android.os.PersistableBundle;
59 public static DisclaimersParam fromPersistableBundle(PersistableBundle bundle) {
63 private static Builder createBuilderFromPersistableBundle(PersistableBundle bundle) {
87 public PersistableBundle toPersistableBundle() {
88 final PersistableBundle bundle = new PersistableBundle();
  /packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/
TestUtils.java 21 import android.os.PersistableBundle;
120 public static PersistableBundle createTestAdminExtras() {
121 PersistableBundle adminExtras = new PersistableBundle();
133 PersistableBundle nestedBundle = new PersistableBundle();
  /developers/build/prebuilts/gradle/ActiveNotifications/Application/src/main/java/com/example/android/activenotifications/
ActiveNotificationsActivity.java 24 import android.os.PersistableBundle;
44 public void onCreate(Bundle savedInstanceState, PersistableBundle persistentState) {
  /developers/samples/android/notification/ActiveNotifications/Application/src/main/java/com/example/android/activenotifications/
ActiveNotificationsActivity.java 24 import android.os.PersistableBundle;
44 public void onCreate(Bundle savedInstanceState, PersistableBundle persistentState) {
  /development/samples/browseable/ActiveNotifications/src/com.example.android.activenotifications/
ActiveNotificationsActivity.java 24 import android.os.PersistableBundle;
44 public void onCreate(Bundle savedInstanceState, PersistableBundle persistentState) {
  /developers/build/prebuilts/gradle/DocumentCentricApps/Application/src/main/java/com/example/android/documentcentricapps/
DocumentCentricActivity.java 22 import android.os.PersistableBundle;
59 public void onPostCreate(Bundle savedInstanceState, PersistableBundle persistentState) {
61 // Restore state from PersistableBundle
68 public void onSaveInstanceState(Bundle outState, PersistableBundle outPersistentState) {
74 PersistableBundle is added. PersistableBundle can store only basic data types. To use it

Completed in 678 milliseconds

1 2 3 4 5 6 7 8 9