/cts/tests/tests/os/src/android/os/cts/ |
D | ParcelTest.java | 81 Parcel p; in testAppendFrom() local 101 Parcel p; in testDataAvail() local 122 Parcel p; in testDataCapacity() local 135 Parcel p; in testSetDataCapacity() local 149 Parcel p; in testDataPosition() local 162 Parcel p; in testSetDataPosition() local 182 Parcel p; in testDataSize() local 196 Parcel p; in testSetDataSize() local 215 Parcel p; in testEnforceInterface() local 261 Parcel p; in testReadValue() local [all …]
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | ExactCanvasTests.java | 56 Paint p = new Paint(); in testBlueRect() local 68 Paint p = new Paint(); in testPoints() local 83 Paint p = new Paint(); in testBlackRectWithStroke() local 99 Paint p = new Paint(); in testBlackLineOnGreenBack() local 112 Paint p = new Paint(); in testDrawRedRectOnBlueBack() local 123 Paint p = new Paint(); in testDrawLine() local 147 Paint p = new Paint(); in testBasicText() local 160 Paint p = new Paint(); in drawTestTextOnPath() local 224 Paint p = new Paint(); in testBluePaddedSquare() local 239 Paint p = new Paint(); in testEmptyLayer() local [all …]
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PaintTest.java | 87 Paint p = new Paint(); in testConstructor() local 133 Paint p = new Paint(); in testBreakText() local 213 Paint p = new Paint(); in verifyBreakText() local 241 Paint p = new Paint(); in testSet() local 297 Paint p = new Paint(); in testAccessStrokeCap() local 311 Paint p = new Paint(); in testSetStrokeCapNull() local 318 Paint p = new Paint(); in testAccessXfermode() local 330 Paint p = new Paint(); in testAccessShader() local 347 Paint p = new Paint(); in testShaderLocalMatrix() local 372 Paint p = new Paint(); in testSetAntiAlias() local [all …]
|
D | Paint_TextBoundsTest.java | 73 Paint p = getPaint(); in testSingleChar_1em() local 84 Paint p = getPaint(); in testSingleChar_2em() local 95 Paint p = getPaint(); in testSingleChar_2em_with_lsb() local 106 Paint p = getPaint(); in testSingleChar_1em_with_y1em_origin() local 117 Paint p = getPaint(); in testMultiChar_1em_1em() local 128 Paint p = getPaint(); in testMultiChar_1em_2em() local 139 Paint p = getPaint(); in testMultiChar_3em_2em_with_lsb() local 150 Paint p = getPaint(); in testMultiChar_1em_with_y1em() local 161 Paint p = getPaint(); in testMultiChar_1em_5times() local
|
D | PathDashPathEffectTest.java | 52 Paint p = new Paint(); in testPathDashPathEffect() local 55 canvas.drawPath(path(), p); in testPathDashPathEffect() local 81 Path p = new Path(); in path() local 88 Path p = new Path(); in shape() local
|
D | PointTest.java | 74 Point p = new Point(100, 10); in testHashCode() local 109 Parcel p = Parcel.obtain(); in testParceling() local
|
/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/permissions/ |
D | PermissionsTest.java | 76 try (PermissionContext p = in withPermission_shellPermission_permissionIsGranted() 94 try (PermissionContext p = TestApis.permissions().withPermission(PERMISSION_HELD_BY_SHELL); in withoutPermission_permissionIsNotGranted() 106 try (PermissionContext p = in autoclose_withoutPermission_permissionIsGrantedAgain() 130 try (PermissionContext p = in withoutPermission_permissionIsAlreadyGrantedInInstrumentedApp_permissionIsNotGranted() 149 try (PermissionContext p = in withPermission_permissionIsAlreadyGrantedInInstrumentedApp_permissionIsGranted() 166 try (PermissionContext p = in withoutPermission_nonExistingPermission_doesNotThrowException() 175 try (PermissionContext p = TestApis.permissions().withPermission(PERMISSION_HELD_BY_SHELL) in withPermissionAndWithoutPermission_bothApplied() 188 try (PermissionContext p = TestApis.permissions() in withoutPermissionAndWithPermission_bothApplied() 219 PermissionContext p = in withoutPermission_androidSAndAbove_restoresPreviousPermissionContext() local 237 try (PermissionContext p = in withPermissionOnVersion_onVersion_hasPermission() [all …]
|
/cts/tests/tests/telephony/current/src/android/telephony/euicc/cts/ |
D | EuiccProfileInfoTest.java | 45 EuiccProfileInfo p = in testWriteToParcel() local 74 EuiccProfileInfo p = in testWriteToParcelNullCarrierId() local 99 EuiccProfileInfo p = in testBuilderAndGetters() local 136 EuiccProfileInfo p = in testBuilder_BasedOnAnotherProfile() local 161 EuiccProfileInfo p = in testEqualsHashCode() local
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | DataObjectUnitTests.java | 82 Parcel p = Parcel.obtain(); in testPhoneAccount() local 114 Parcel p = Parcel.obtain(); in testPhoneAccountHandle() local 152 Parcel p = Parcel.obtain(); in testConnectionRequest() local 186 Parcel p = Parcel.obtain(); in testDisconnectCause() local 221 Parcel p = Parcel.obtain(); in testStatusHints() local 252 Parcel p = Parcel.obtain(); in testGatewayInfo() local 276 Parcel p = Parcel.obtain(); in testCallAudioState() local 297 Parcel p = Parcel.obtain(); in testVideoProfile() local 314 Parcel p = Parcel.obtain(); in testCameraCapabilities() local
|
/cts/tests/quickaccesswallet/src/android/quickaccesswallet/cts/ |
D | GetWalletCardsErrorTest.java | 52 Parcel p = Parcel.obtain(); in testParcel_toParcel() local 64 Parcel p = Parcel.obtain(); in testParcel_withNullIcon_toParcel() local 76 Parcel p = Parcel.obtain(); in testParcel_withNullIconAndMessage_toParcel() local
|
D | WalletCardTest.java | 68 Parcel p = Parcel.obtain(); in testParcel_toParcel() local 91 Parcel p = Parcel.obtain(); in testParcel_noIconOrLabel_toParcel() local
|
/cts/hostsidetests/tagging/common/jni/ |
D | android_cts_tagging_Utils.cpp | 41 void *p = malloc(10); in Java_android_cts_tagging_Utils_nativeHeapPointerTag() local 52 int *p = new int[4]; in Java_android_cts_tagging_Utils_accessMistaggedPointer() local 61 auto *p = new utsname; in Java_android_cts_tagging_Utils_mistaggedKernelUaccessFails() local 71 char *volatile p = reinterpret_cast<char *>(malloc(size)); in sizeIsZeroInitialized() local
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/ |
D | UserReference.java | 203 try (PermissionContext p = in switchTo() 253 try (PermissionContext p = TestApis.permissions().withPermission(CREATE_USERS)) { in name() 279 try (PermissionContext p = TestApis.permissions().withPermission(INTERACT_ACROSS_USERS)) { in isRunning() 293 try (PermissionContext p = TestApis.permissions().withPermission(INTERACT_ACROSS_USERS)) { in isUnlocked() 306 try (PermissionContext p = TestApis.permissions().withPermission(CREATE_USERS)) { in type() 344 try (PermissionContext p = in parent()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/settings/ |
D | GlobalSettings.java | 51 try (PermissionContext p = sTestApis.permissions().withPermission( in putInt() 81 try (PermissionContext p = sTestApis.permissions().withPermission(WRITE_SECURE_SETTINGS)) { in putInt() 93 try (PermissionContext p = sTestApis.permissions().withPermission( in putString() 123 try (PermissionContext p = sTestApis.permissions().withPermission(WRITE_SECURE_SETTINGS)) { in putString() 135 try (PermissionContext p = in getInt() 147 try (PermissionContext p = in getInt() 224 try (PermissionContext p = in getString() 269 try (PermissionContext p = sTestApis.permissions().withPermission( in reset() 298 try (PermissionContext p = sTestApis.permissions().withPermission(WRITE_SECURE_SETTINGS)) { in reset()
|
D | SecureSettings.java | 51 try (PermissionContext p = sTestApis.permissions().withPermission( in putInt() 81 try (PermissionContext p = sTestApis.permissions().withPermission( in putInt() 94 try (PermissionContext p = in getInt() 106 try (PermissionContext p = in getInt() 187 try (PermissionContext p = sTestApis.permissions().withPermission( in reset() 216 try (PermissionContext p = sTestApis.permissions().withPermission( in reset()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | RemoteViewsActivityTest.java | 58 Parcel p = Parcel.obtain(); in testGood() local 84 Parcel p = Parcel.obtain(); in testDerivedClass() local 113 Parcel p = Parcel.obtain(); in testWebView() local
|
/cts/hostsidetests/devicepolicy/app/CrossProfileTestApps/CrossProfileAppsTest/src/com/android/cts/crossprofileappstest/ |
D | CrossProfileAppsPermissionToInteractTest.java | 101 try (PermissionContext p = sTestApis.permissions().withPermission( in testCanInteractAcrossProfiles_withCrossProfilesPermission_returnsTrue() 114 try (PermissionContext p = sTestApis.permissions().withPermission( in testCanInteractAcrossProfiles_withCrossUsersPermission_returnsTrue() 127 try (PermissionContext p = sTestApis.permissions().withPermission( in testCanInteractAcrossProfiles_withCrossUsersFullPermission_returnsTrue() 206 try (PermissionContext p = sTestApis.permissions().withPermission( in setAppOpOnCurrentProfile() 218 try (PermissionContext p = sTestApis.permissions().withPermission( in setAppOpOnAllProfiles()
|
/cts/tests/tests/text/src/android/text/style/cts/ |
D | EasyEditSpanTest.java | 41 Parcel p = Parcel.obtain(); in testConstructor() local 63 Parcel p = Parcel.obtain(); in testWriteToParcel() local
|
D | QuoteSpanTest.java | 70 final Parcel p = Parcel.obtain(); in testConstructorFromParcel() local 106 Paint p = new Paint(); in testDrawLeadingMargin() local 131 Parcel p = Parcel.obtain(); in testWriteToParcel() local
|
D | AlignmentSpan_StandardTest.java | 42 final Parcel p = Parcel.obtain(); in testConstructor() local 78 Parcel p = Parcel.obtain(); in testWriteToParcel() local
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaItemTest.java | 49 Parcel p = Parcel.obtain(); in testBrowsableMediaItem() local 75 Parcel p = Parcel.obtain(); in testPlayableMediaItem() local
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | ComponentInfoTest.java | 44 Parcel p = Parcel.obtain(); in testConstructor() local 112 StringBuilderPrinter p = new StringBuilderPrinter(sb); in testDumpBack() local 166 StringBuilderPrinter p = new StringBuilderPrinter(sb); in testDumpFront() local 223 Parcel p = Parcel.obtain(); in testWriteToParcel() local
|
D | ActivityInfoTest.java | 55 Parcel p = Parcel.obtain(); in testWriteToParcel() local 109 StringBuilderPrinter p = new StringBuilderPrinter(sb); in testDump() local
|
/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/util/ |
D | SerializableParcelWrapper.java | 67 Parcel p = Parcel.obtain(); in readObject() local 76 Parcel p = Parcel.obtain(); in writeObject() local
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/devicepolicy/ |
D | DevicePolicy.java | 171 try (PermissionContext p = in setDeviceOwner() 224 try (PermissionContext p = in clearOrganizationId() 277 try (PermissionContext p = in setUserSetupComplete() 284 try (PermissionContext p = TestApis.permissions().withPermission(CREATE_USERS)) { in getUserSetupComplete() 355 try (PermissionContext p = in componentCanBeSetAsDeviceAdmin() 402 try (PermissionContext p = TestApis.permissions().withPermission(MANAGE_DEVICE_ADMINS)) { in getPolicyExemptApps()
|