/aosp_15_r20/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/libs/HealthConnectTestLib/src/android/healthconnect/cts/lib/ |
D | BundleHelper.java | 59 import android.os.Bundle; 185 /** Converts an insert records request to a bundle. */ 186 public static Bundle fromInsertRecordsRequest(List<? extends Record> records) { in fromInsertRecordsRequest() 187 Bundle bundle = new Bundle(); in fromInsertRecordsRequest() local 188 bundle.putString(QUERY_TYPE, INSERT_RECORDS_QUERY); in fromInsertRecordsRequest() 189 bundle.putParcelableArrayList(RECORD_LIST, new ArrayList<>(fromRecordList(records))); in fromInsertRecordsRequest() 190 return bundle; in fromInsertRecordsRequest() 193 /** Converts a bundle to an insert records request. */ 194 public static List<? extends Record> toInsertRecordsRequest(Bundle bundle) { in toInsertRecordsRequest() argument 195 return toRecordList(bundle.getParcelableArrayList(RECORD_LIST, Bundle.class)); in toInsertRecordsRequest() [all …]
|
/aosp_15_r20/out/soong/.intermediates/packages/providers/ContactsKeysProvider/E2eeContactKeysProvider/android_common/ |
D | proguard_dictionary | 185 67:67:android.os.Bundle call(java.lang.String,java.lang.String,android.os.Bundle) -> call 186 69:69:android.os.Bundle call(java.lang.String,java.lang.String,android.os.Bundle) -> call 187 72:72:android.os.Bundle call(java.lang.String,java.lang.String,android.os.Bundle) -> call 188 75:75:android.os.Bundle call(java.lang.String,java.lang.String,android.os.Bundle) -> call 189 78:78:android.os.Bundle call(java.lang.String,java.lang.String,android.os.Bundle) -> call 190 81:81:android.os.Bundle call(java.lang.String,java.lang.String,android.os.Bundle) -> call 191 84:84:android.os.Bundle call(java.lang.String,java.lang.String,android.os.Bundle) -> call 192 87:87:android.os.Bundle call(java.lang.String,java.lang.String,android.os.Bundle) -> call 193 90:90:android.os.Bundle call(java.lang.String,java.lang.String,android.os.Bundle) -> call 194 93:93:android.os.Bundle call(java.lang.String,java.lang.String,android.os.Bundle) -> call [all …]
|
/aosp_15_r20/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | BundleTest.java | 43 * Unit tests for bundle that requires accessing hidden APS. Tests that can be written only with 66 * Take a bundle, write it to a parcel and return the parcel. 68 private Parcel getParcelledBundle(Bundle bundle) { in getParcelledBundle() argument 71 bundle.writeToParcel(p, 0); in getParcelledBundle() 77 * Create a test bundle, parcel it and return the parcel. 80 final Bundle source = new Bundle(); in createBundleParcel() 92 * Verify a bundle generated by {@link #createBundleParcel(boolean)}. 94 private void checkBundle(Bundle b, boolean withFd) { in checkBundle() 95 // First, do the checks without actually unparceling the bundle. in checkBundle() 96 // (Note looking into the contents will unparcel a bundle, so we'll do it later.) in checkBundle() [all …]
|
/aosp_15_r20/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/ |
H A D | ShadowBundleTest.java | 5 import android.os.Bundle; 14 private final Bundle bundle = new Bundle(); field in ShadowBundleTest 18 assertThat(bundle.containsKey("foo")).isFalse(); in containsKey() 19 bundle.putString("foo", "bar"); in containsKey() 20 assertThat(bundle.containsKey("foo")).isTrue(); in containsKey() 25 bundle.putInt("foo", 5); in getInt() 26 assertThat(bundle.getInt("foo")).isEqualTo(5); in getInt() 27 assertThat(bundle.getInt("bar")).isEqualTo(0); in getInt() 28 assertThat(bundle.getInt("bar", 7)).isEqualTo(7); in getInt() 33 assertThat(bundle.size()).isEqualTo(0); in size() [all …]
|
/aosp_15_r20/cts/tests/tests/binder_ndk/libbinder_ndk_test/ |
H A D | test_persistable_bundle.cpp | 26 APersistableBundle* bundle = APersistableBundle_new(); in TEST_F() local 27 EXPECT_NE(nullptr, bundle); in TEST_F() 28 APersistableBundle_delete(bundle); in TEST_F() 32 APersistableBundle* bundle = APersistableBundle_new(); in TEST_F() local 33 ASSERT_NE(nullptr, bundle); in TEST_F() 34 APersistableBundle* dup = APersistableBundle_dup(bundle); in TEST_F() 36 EXPECT_NE(bundle, dup); in TEST_F() 40 APersistableBundle* bundle = APersistableBundle_new(); in TEST_F() local 41 ASSERT_NE(nullptr, bundle); in TEST_F() 43 // put anything in the bundle in TEST_F() [all …]
|
/aosp_15_r20/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/HealthConnectTestHelper/src/android/healthconnect/cts/testhelper/ |
D | TestAppHelper.java | 63 import android.os.Bundle; 70 static Intent handleRequest(Context context, Bundle bundle) { in handleRequest() argument 71 String queryType = bundle.getString(QUERY_TYPE); in handleRequest() 74 Bundle responseBundle = handleRequestUnchecked(context, bundle, queryType); in handleRequest() 82 private static Bundle handleRequestUnchecked(Context context, Bundle bundle, String queryType) in handleRequestUnchecked() argument 85 case INSERT_RECORDS_QUERY -> handleInsertRecords(context, bundle); in handleRequestUnchecked() 86 case DELETE_RECORDS_QUERY -> handleDeleteRecords(context, bundle); in handleRequestUnchecked() 87 case UPDATE_RECORDS_QUERY -> handleUpdateRecords(context, bundle); in handleRequestUnchecked() 88 case READ_RECORDS_QUERY -> handleReadRecords(context, bundle); in handleRequestUnchecked() 89 case READ_RECORDS_USING_IDS_QUERY -> handleReadRecordsUsingIds(context, bundle); in handleRequestUnchecked() [all …]
|
/aosp_15_r20/cts/tests/devicepolicy/src/android/devicepolicy/cts/utils/ |
H A D | BundleUtils.java | 23 import android.os.Bundle; 33 * Utility class for {@link Bundle} related operations. 49 * Returns a {@link Bundle} that is uniquely identified by the provided {@code id}, see 50 * {@link #assertEqualToBundle(String, Bundle)}. 53 public static Bundle createBundle(String id) { in createBundle() 54 Bundle result = new Bundle(); in createBundle() 55 // Tests for 6 allowed types: Integer, Boolean, String, String[], Bundle and Parcelable[] in createBundle() 65 // Adding a bundle, which contain 2 nested restrictions - bundle_string and bundle_int in createBundle() 66 Bundle bundle = new Bundle(); in createBundle() local 67 bundle.putString("bundle_string", "bundle_string"); in createBundle() [all …]
|
/aosp_15_r20/packages/apps/Car/Settings/tests/deviceless/src/com/android/car/settings/common/ |
D | ExtraSettingsLoaderTest.java | 30 import android.os.Bundle; 77 Bundle bundle = new Bundle(); in testLoadPreference_stringResources_shouldLoadResources() local 78 bundle.putString(META_DATA_PREFERENCE_TITLE, FAKE_TITLE); in testLoadPreference_stringResources_shouldLoadResources() 79 bundle.putString(META_DATA_PREFERENCE_SUMMARY, FAKE_SUMMARY); in testLoadPreference_stringResources_shouldLoadResources() 80 bundle.putString(META_DATA_PREFERENCE_CATEGORY, FAKE_CATEGORY); in testLoadPreference_stringResources_shouldLoadResources() 82 ResolveInfo resolveInfoSystem = createResolveInfo(bundle, /* isSystem= */ true); in testLoadPreference_stringResources_shouldLoadResources() 84 Map<Preference, Bundle> preferenceToBundleMap = mExtraSettingsLoader.loadPreferences( in testLoadPreference_stringResources_shouldLoadResources() 99 Bundle bundle = new Bundle(); in testLoadPreference_metadataBundleIsValue() local 100 bundle.putString(META_DATA_PREFERENCE_TITLE, FAKE_TITLE); in testLoadPreference_metadataBundleIsValue() 101 bundle.putString(META_DATA_PREFERENCE_SUMMARY, FAKE_SUMMARY); in testLoadPreference_metadataBundleIsValue() [all …]
|
/aosp_15_r20/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
H A D | InlinePresentationStyleUtilsTest.java | 27 import android.os.Bundle; 49 Bundle bundle1 = new Bundle(); in testBundleEquals_empty() 50 Bundle bundle2 = new Bundle(); in testBundleEquals_empty() 54 bundle1 = Bundle.EMPTY; in testBundleEquals_empty() 57 bundle2 = Bundle.EMPTY; in testBundleEquals_empty() 63 Bundle bundle1 = Bundle.EMPTY; in testBundleEquals_oneIsEmpty() 64 Bundle bundle2 = new Bundle(); in testBundleEquals_oneIsEmpty() 71 Bundle bundle1 = new Bundle(); in testBundleEquals_nestedBundle_equal() 72 Bundle bundle11 = new Bundle(); in testBundleEquals_nestedBundle_equal() 76 Bundle bundle2 = new Bundle(); in testBundleEquals_nestedBundle_equal() [all …]
|
/aosp_15_r20/out/soong/.intermediates/prebuilts/sdk/current/androidx/m2repository/androidx/room/room-migration-jvm/2.7.0-alpha12/androidx.room_room-migration/linux_glibc_common/local-combined/ |
D | androidx.room_room-migration.jar | ... room/migration/
androidx/room/migration/bundle/
androidx/room/migration/bundle/BaseEntityBundle ... |
/aosp_15_r20/prebuilts/sdk/current/androidx/m2repository/androidx/room/room-migration-jvm/2.7.0-alpha12/ |
HD | room-migration-jvm-2.7.0-alpha12.jar | ... room/migration/
androidx/room/migration/bundle/
androidx/room/migration/bundle/BaseEntityBundle ... |
/aosp_15_r20/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | ResourceBundleTest.java | 44 ResourceBundle bundle = ResourceBundle.getBundle(name); in test_getBaseName() local 45 assertEquals(name, bundle.getBaseBundleName()); in test_getBaseName() 47 bundle = ResourceBundle.getBundle(name, Locale.getDefault()); in test_getBaseName() 48 assertEquals(name, bundle.getBaseBundleName()); in test_getBaseName() 58 ResourceBundle bundle; in test_getBundleLjava_lang_StringLjava_util_Locale() local 63 bundle = ResourceBundle.getBundle(name, new Locale("fr", "FR", "VAR")); in test_getBundleLjava_lang_StringLjava_util_Locale() 64 assertEquals("Wrong bundle fr_FR_VAR", "frFRVARValue4", bundle.getString("parent4")); in test_getBundleLjava_lang_StringLjava_util_Locale() 66 bundle = ResourceBundle.getBundle(name, new Locale("fr", "FR", "v1")); in test_getBundleLjava_lang_StringLjava_util_Locale() 67 assertEquals("Wrong bundle fr_FR_v1", "frFRValue4", bundle.getString("parent4")); in test_getBundleLjava_lang_StringLjava_util_Locale() 69 bundle = ResourceBundle.getBundle(name, new Locale("fr", "US", "VAR")); in test_getBundleLjava_lang_StringLjava_util_Locale() [all …]
|
/aosp_15_r20/cts/tests/ondeviceintelligence/src/android/ondeviceintelligence/cts/ |
H A D | CtsIsolatedInferenceService.java | 34 import android.os.Bundle; 92 public void onTokenInfoRequest(int callerUid, @NonNull Feature feature, @NonNull Bundle request, in onTokenInfoRequest() 101 @NonNull Bundle request, in onProcessRequestStreaming() 120 callback.onPartialResult(new Bundle(actionParams)); in processRequestStreaming() 125 callback.onResult(Bundle.EMPTY); in processRequestStreaming() 129 callback.onPartialResult(Bundle.EMPTY); in processRequestStreaming() 133 Bundle bundle = new Bundle(); in processRequestStreaming() local 134 bundle.putBoolean(OnDeviceIntelligenceManagerTest.TEST_KEY, true); in processRequestStreaming() 135 callback.onResult(bundle); in processRequestStreaming() 139 callback.onResult(Bundle.EMPTY); in processRequestStreaming() [all …]
|
/aosp_15_r20/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/fira/ |
D | FiraOpenSessionParams.java | 45 * <p>This is passed as a bundle to the service API {@link UwbManager#openRangingSession}. 857 PersistableBundle bundle = super.toBundle(); in toBundle() local 858 bundle.putString(KEY_PROTOCOL_VERSION, mProtocolVersion.toString()); in toBundle() 859 bundle.putInt(KEY_SESSION_ID, mSessionId); in toBundle() 860 bundle.putInt(KEY_SESSION_TYPE, mSessionType); in toBundle() 861 bundle.putInt(KEY_DEVICE_TYPE, mDeviceType); in toBundle() 862 bundle.putInt(KEY_DEVICE_ROLE, mDeviceRole); in toBundle() 863 bundle.putInt(KEY_RANGING_ROUND_USAGE, mRangingRoundUsage); in toBundle() 864 bundle.putInt(KEY_MULTI_NODE_MODE, mMultiNodeMode); in toBundle() 865 // Always store address as long in bundle. in toBundle() [all …]
|
D | FiraSpecificationParams.java | 36 * <p>This is returned as a bundle from the service API {@link UwbManager#getSpecificationInfo}. 424 PersistableBundle bundle = super.toBundle(); in toBundle() local 425 bundle.putString(KEY_MIN_PHY_VERSION, mMinPhyVersionSupported.toString()); in toBundle() 426 bundle.putString(KEY_MAX_PHY_VERSION, mMaxPhyVersionSupported.toString()); in toBundle() 427 bundle.putString(KEY_MIN_MAC_VERSION, mMinMacVersionSupported.toString()); in toBundle() 428 bundle.putString(KEY_MAX_MAC_VERSION, mMaxMacVersionSupported.toString()); in toBundle() 429 bundle.putIntArray(KEY_SUPPORTED_CHANNELS, toIntArray(mSupportedChannels)); in toBundle() 430 bundle.putInt(KEY_AOA_CAPABILITIES, FlagEnum.toInt(mAoaCapabilities)); in toBundle() 431 bundle.putInt(KEY_DEVICE_ROLE_CAPABILITIES, FlagEnum.toInt(mDeviceRoleCapabilities)); in toBundle() 432 bundle.putBoolean(KEY_BLOCK_STRIDING_SUPPORT, mHasBlockStridingSupport); in toBundle() [all …]
|
/aosp_15_r20/cts/tests/tests/accounts/src/android/accounts/cts/ |
H A D | AccountManagerTest.java | 31 import android.os.Bundle; 90 public static final Bundle OPTIONS_BUNDLE = new Bundle(); 92 public static final Bundle USERDATA_BUNDLE = new Bundle(); 113 public static final Bundle SESSION_BUNDLE = new Bundle(); 198 public Bundle fetch(String tokenType) in fetch() 206 Bundle expected = new Bundle(); in validateSuccessfulTokenFetchingLifecycle() 211 Bundle actual = fetcher.fetch(tokenType); in validateSuccessfulTokenFetchingLifecycle() 255 private void validateAccountAndAuthTokenResult(Bundle actual) { in validateAccountAndAuthTokenResult() 267 private void validateAccountAndAuthTokenResult(Bundle expected, Bundle actual) { in validateAccountAndAuthTokenResult() 279 private void validateAccountAndNoAuthTokenResult(Bundle result) { in validateAccountAndNoAuthTokenResult() [all …]
|
/aosp_15_r20/prebuilts/sdk/current/extras/app-toolkit/m2repository/android/arch/persistence/room/migration/28.0.0/ |
HD | migration-28.0.0.jar | ... android.arch.persistence.room.migration.bundle.EntityBundle bundle
public java.util.List buildCreateQueries ... |
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/gensrcs/libcore/ojluni/src/main/java/java/util/ |
D | ResourceBundle.java | 81 * load it from the resource bundle that is appropriate for the current user's 99 * resource bundle which simply has the same name as its family - 100 * "MyResources" - and will be used as the bundle of last resort if a 106 * Each resource bundle in a family contains the same items, but the items have 107 * been translated for the locale represented by that resource bundle. 134 * identify a locale-specific object in the bundle. Here's an 158 * You retrieve an object from resource bundle using the appropriate 208 * to perform the bundle loading process by the <code>getBundle</code> 211 * non-standard resource bundle formats, change the search strategy, or 218 * Resource bundle instances created by the <code>getBundle</code> factory [all …]
|
/aosp_15_r20/libcore/ojluni/src/main/java/java/util/ |
H A D | ResourceBundle.java | 81 * load it from the resource bundle that is appropriate for the current user's 99 * resource bundle which simply has the same name as its family - 100 * "MyResources" - and will be used as the bundle of last resort if a 106 * Each resource bundle in a family contains the same items, but the items have 107 * been translated for the locale represented by that resource bundle. 134 * identify a locale-specific object in the bundle. Here's an 158 * You retrieve an object from resource bundle using the appropriate 208 * to perform the bundle loading process by the <code>getBundle</code> 211 * non-standard resource bundle formats, change the search strategy, or 218 * Resource bundle instances created by the <code>getBundle</code> factory [all …]
|
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/24/libcore/ojluni/src/main/java/java/util/ |
D | ResourceBundle.java | 81 * load it from the resource bundle that is appropriate for the current user's 99 * resource bundle which simply has the same name as its family - 100 * "MyResources" - and will be used as the bundle of last resort if a 106 * Each resource bundle in a family contains the same items, but the items have 107 * been translated for the locale represented by that resource bundle. 134 * identify a locale-specific object in the bundle. Here's an 158 * You retrieve an object from resource bundle using the appropriate 208 * to perform the bundle loading process by the <code>getBundle</code> 211 * non-standard resource bundle formats, change the search strategy, or 218 * Resource bundle instances created by the <code>getBundle</code> factory [all …]
|
/aosp_15_r20/out/soong/.intermediates/frameworks/base/packages/VpnDialogs/VpnDialogs/android_common/ |
D | proguard_dictionary | 35 51:51:void onCreate(android.os.Bundle) -> onCreate 36 53:53:void onCreate(android.os.Bundle) -> onCreate 37 54:54:void onCreate(android.os.Bundle) -> onCreate 38 55:55:void onCreate(android.os.Bundle) -> onCreate 39 56:56:void onCreate(android.os.Bundle) -> onCreate 40 57:57:void onCreate(android.os.Bundle) -> onCreate 41 58:58:void onCreate(android.os.Bundle) -> onCreate 42 61:61:void onCreate(android.os.Bundle) -> onCreate 43 62:62:void onCreate(android.os.Bundle) -> onCreate 44 63:63:void onCreate(android.os.Bundle) -> onCreate [all …]
|
/aosp_15_r20/packages/apps/Settings/tests/robotests/src/com/android/settings/core/ |
D | PreferenceXmlParserUtilsTest.java | 30 import android.os.Bundle; 66 List<Bundle> metadata = PreferenceXmlParserUtils.extractMetadata(mContext, in extractHomepageMetadata_shouldContainKeyAndHighlightableMenuKey() 71 for (Bundle bundle : metadata) { in extractHomepageMetadata_shouldContainKeyAndHighlightableMenuKey() 72 assertThat(bundle.getString(PreferenceXmlParserUtils.METADATA_KEY)).isNotNull(); in extractHomepageMetadata_shouldContainKeyAndHighlightableMenuKey() 73 assertThat(bundle.getString(PreferenceXmlParserUtils.METADATA_HIGHLIGHTABLE_MENU_KEY)) in extractHomepageMetadata_shouldContainKeyAndHighlightableMenuKey() 82 List<Bundle> metadata = PreferenceXmlParserUtils.extractMetadata(mContext, in extractMetadata_shouldContainKeyAndControllerNameAndHighlightableMenuKey() 88 for (Bundle bundle : metadata) { in extractMetadata_shouldContainKeyAndControllerNameAndHighlightableMenuKey() 89 assertThat(bundle.getString(PreferenceXmlParserUtils.METADATA_KEY)).isNotNull(); in extractMetadata_shouldContainKeyAndControllerNameAndHighlightableMenuKey() 90 assertThat(bundle.getString(PreferenceXmlParserUtils.METADATA_CONTROLLER)).isNotNull(); in extractMetadata_shouldContainKeyAndControllerNameAndHighlightableMenuKey() 91 assertThat(bundle.getString(PreferenceXmlParserUtils.METADATA_HIGHLIGHTABLE_MENU_KEY)) in extractMetadata_shouldContainKeyAndControllerNameAndHighlightableMenuKey() [all …]
|
/aosp_15_r20/cts/tests/tests/security/src/android/security/cts/ |
H A D | AmbiguousBundlesTest.java | 23 import android.os.Bundle; 95 public Bundle make(Bundle preReSerialize, Bundle postReSerialize) throws Exception { in test_android_CVE_2020_0082() 129 // Write bundle in test_android_CVE_2020_0082() 165 // Data from preReSerialize bundle in test_android_CVE_2020_0082() 168 // Fix up bundle size in test_android_CVE_2020_0082() 174 Bundle bundle = parcel.readBundle(); in test_android_CVE_2020_0082() 176 return bundle; in test_android_CVE_2020_0082() 198 public Bundle make(Bundle preReSerialize, Bundle postReSerialize) throws Exception { in test_android_CVE_2017_13310() 244 Bundle bundle = new Bundle(); in test_android_CVE_2017_13310() 245 parcelledDataField.set(bundle, parcel); in test_android_CVE_2017_13310() [all …]
|
/aosp_15_r20/frameworks/base/core/java/android/accounts/ |
H A D | AbstractAccountAuthenticator.java | 21 import android.os.Bundle; 81 * then it will do so and return a {@link Bundle} that contains the results. 84 * and then carry out the request. This intent must be returned in a Bundle as key 110 * Bundle key used for the {@code long} expiration time (in millis from the unix epoch) of the 118 * Bundle key used for the {@link String} account type in session bundle. 125 * Bundle key used for the {@link String} array of required features in 126 * session bundle. This is used in the default implementation of 132 * Bundle key used for the {@link Bundle} options in session bundle. This is 139 * Bundle key used for the {@link Account} account in session bundle. This is used 152 String authTokenType, String[] features, Bundle options) in addAccount() [all …]
|
/aosp_15_r20/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/ |
H A D | BaseMetricListenerInstrumentedTest.java | 22 import android.os.Bundle; 67 private BaseMetricListener createWithArgs(Bundle args) { in createWithArgs() 69 args = new Bundle(); in createWithArgs() 118 * When metrics are logged during a test, expect them to be added to the bundle. 130 Bundle resultBundle = new Bundle(); in testReportMetrics() 134 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testReportMetrics() 138 List<Bundle> capturedBundle = capture.getAllValues(); in testReportMetrics() 140 Bundle check = capturedBundle.get(0); in testReportMetrics() 145 // Check that final bundle contains run results in testReportMetrics() 157 Bundle args = new Bundle(); in testReportMetrics_withIncludeFilters() [all …]
|