Searched refs:nestedBundle (Results 1 – 5 of 5) sorted by relevance
/packages/services/Car/packages/ScriptExecutor/tests/unit/src/com/android/car/scriptexecutortest/unit/ |
D | JniUtilsTest.java | 214 PersistableBundle nestedBundle = new PersistableBundle(); in pushBundleToLuaTable_nestedBundle() local 215 nestedBundle.putInt(INT_KEY, INT_VALUE); in pushBundleToLuaTable_nestedBundle() 216 nestedBundle.putDouble(NUMBER_KEY, NUMBER_VALUE); in pushBundleToLuaTable_nestedBundle() 217 nestedBundle.putString(STRING_KEY, STRING_VALUE); in pushBundleToLuaTable_nestedBundle() 218 nestedBundle.putPersistableBundle(PERSISTABLE_BUNDLE_KEY, PERSISTABLE_BUNDLE_VALUE); in pushBundleToLuaTable_nestedBundle() 219 bundle.putPersistableBundle(PERSISTABLE_BUNDLE_KEY, nestedBundle); in pushBundleToLuaTable_nestedBundle() 227 mLuaEnginePtr, PERSISTABLE_BUNDLE_KEY, nestedBundle.toString())).isTrue(); in pushBundleToLuaTable_nestedBundle()
|
/packages/modules/OnDevicePersonalization/tests/frameworktests/src/com/android/ondevicepersonalization/internal/util/ |
D | PersistableBundleUtilsTest.java | 56 PersistableBundle nestedBundle = new PersistableBundle(); in testRoundTrip() local 57 nestedBundle.putInt("x", 10); in testRoundTrip() 58 bundle.putPersistableBundle("e", nestedBundle); in testRoundTrip()
|
/packages/services/Car/packages/ScriptExecutor/tests/functional/src/com/android/car/scriptexecutortest/functional/ |
D | ScriptExecutorFunctionalTest.java | 178 PersistableBundle nestedBundle = mListener.mInterimResult.getPersistableBundle( in invokeScript_supportsNestedTables() local 180 assertThat(nestedBundle).isNotNull(); in invokeScript_supportsNestedTables() 181 assertThat(nestedBundle.getLong("x")).isEqualTo(10); in invokeScript_supportsNestedTables() 182 assertThat(nestedBundle.getLong("y")).isEqualTo(30); in invokeScript_supportsNestedTables() 200 PersistableBundle nestedBundle = mListener.mInterimResult.getPersistableBundle( in invokeScript_supportsDeeplyNestedTables() local 202 assertThat(nestedBundle).isNotNull(); in invokeScript_supportsDeeplyNestedTables() 203 assertThat(nestedBundle.size()).isEqualTo(3); in invokeScript_supportsDeeplyNestedTables() 204 assertThat(nestedBundle.getLong("x")).isEqualTo(10); in invokeScript_supportsDeeplyNestedTables() 205 assertThat(nestedBundle.getLong("y")).isEqualTo(30); in invokeScript_supportsDeeplyNestedTables() 206 PersistableBundle secondNestedBundle = nestedBundle.getPersistableBundle( in invokeScript_supportsDeeplyNestedTables()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/ |
D | TestUtils.java | 194 PersistableBundle nestedBundle = new PersistableBundle(); in createTestAdminExtras() local 195 nestedBundle.putInt("int", 1); in createTestAdminExtras() 196 nestedBundle.putStringArray("string_array", new String[] { "Hello", "World" } ); in createTestAdminExtras() 197 adminExtras.putPersistableBundle("persistable_bundle", nestedBundle); in createTestAdminExtras()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarShellCommand.java | 3773 PersistableBundle nestedBundle = new PersistableBundle(); 3774 nestedBundle.putInt("age", 100); 3775 nestedBundle.putStringArray( 3778 publishedData.putPersistableBundle("pers_bundle", nestedBundle);
|