Home
last modified time | relevance | path

Searched defs:ctx (Results 1 – 25 of 26) sorted by relevance

12

/cts/tests/tests/nativemidi/java/android/nativemidi/cts/
DNativeMidiEchoTest.java500 public native int openNativeMidiDevice(long ctx, MidiDevice device); in openNativeMidiDevice()
501 public native int closeNativeMidiDevice(long ctx); in closeNativeMidiDevice()
503 public native int startReadingMidi(long ctx, int portNumber); in startReadingMidi()
504 public native int stopReadingMidi(long ctx); in stopReadingMidi()
506 public native int startWritingMidi(long ctx, int portNumber); in startWritingMidi()
507 public native int stopWritingMidi(long ctx); in stopWritingMidi()
509 public native int writeMidi(long ctx, byte[] data, int offset, int length); in writeMidi()
510 public native int writeMidiWithTimestamp(long ctx, byte[] data, int offset, int length, in writeMidiWithTimestamp()
512 public native int flushSentMessages(long ctx); in flushSentMessages()
515 public native int getNumSends(long ctx); in getNumSends()
[all …]
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
DBatteryStatsBgVsFgActions.java79 public static void doAction(Context ctx, String actionCode, String requestCode) { in doAction()
117 private static void showApplicationOverlay(Context ctx, String requestCode) { in showApplicationOverlay()
144 private static void doOptimizedBleScan(Context ctx, String requestCode) { in doOptimizedBleScan()
151 private static void doUnoptimizedBleScan(Context ctx, String requestCode) { in doUnoptimizedBleScan()
207 private static void doGpsUpdate(Context ctx, String requestCode) { in doGpsUpdate()
252 private static void doScheduleJob(Context ctx, String requestCode) { in doScheduleJob()
278 private static void doNothingAsync(Context ctx, String requestCode, String actionCode) { in doNothingAsync()
296 private static void doSync(Context ctx, String requestCode) { in doSync()
334 Context ctx, CountDownLatch onReceiveLatch, IntentFilter intentFilter) { in registerReceiver()
354 private static void waitForReceiver(Context ctx, in waitForReceiver()
/cts/tests/tests/nativemidi/jni/
Dnative-lib.cpp353 JNIEnv* env, jobject, jlong ctx, jobject deviceObj) { in Java_android_nativemidi_cts_NativeMidiEchoTest_openNativeMidiDevice()
360 JNIEnv*, jobject, jlong ctx) { in Java_android_nativemidi_cts_NativeMidiEchoTest_closeNativeMidiDevice()
370 JNIEnv*, jobject, jlong ctx, jint portNumber) { in Java_android_nativemidi_cts_NativeMidiEchoTest_startWritingMidi()
390 JNIEnv*, jobject, jlong ctx) { in Java_android_nativemidi_cts_NativeMidiEchoTest_stopWritingMidi()
406 jlong ctx, jbyteArray data, jint offset, jint numBytes, jlong timestamp) { in Java_android_nativemidi_cts_NativeMidiEchoTest_writeMidiWithTimestamp()
436 JNIEnv* env, jobject j_object, jlong ctx, jbyteArray data, jint offset, jint numBytes) { in Java_android_nativemidi_cts_NativeMidiEchoTest_writeMidi()
442 JNIEnv*, jobject, jlong ctx) { in Java_android_nativemidi_cts_NativeMidiEchoTest_flushSentMessages()
448 JNIEnv*, jobject, jlong ctx) { in Java_android_nativemidi_cts_NativeMidiEchoTest_getNumSends()
453 JNIEnv*, jobject, jlong ctx) { in Java_android_nativemidi_cts_NativeMidiEchoTest_getNumBytesSent()
458 JNIEnv*, jobject, jlong ctx) { in Java_android_nativemidi_cts_NativeMidiEchoTest_getNumReceives()
[all …]
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewDataDirTest.java41 public void run(Context ctx) { in run()
86 public void run(Context ctx) { in run()
106 public void run(Context ctx) { in run()
128 public void run(Context ctx) { in run()
DTestProcessClient.java63 public abstract void run(Context ctx); in run()
72 public void run(Context ctx) { in run()
/cts/tests/tests/media/libmediandkjni/
Dmd5_utils.cpp51 MD5Init(struct MD5Context *ctx) { in MD5Init()
66 MD5Update(struct MD5Context *ctx, md5byte const *buf, unsigned len) { in MD5Update()
108 MD5Final(md5byte digest[16], struct MD5Context *ctx) { in MD5Final()
/cts/tests/tests/database/src/android/database/sqlite/cts/
DDatabaseTestUtils.java46 Context ctx = InstrumentationRegistry.getInstrumentation().getContext(); in getDbInfoOutput() local
/cts/tests/tests/jni/src/android/jni/cts/
DClassLoaderStaticNonce.java26 static Object ctx; field in ClassLoaderStaticNonce
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8434/
Dpoc.c87 struct kgsl_drawctxt_create ctx; in trigger_kgsl_create_drawctx() local
94 struct kgsl_drawctxt_destroy ctx; in trigger_kgsl_free_drawctx() local
/cts/tests/tests/security/jni/
Dandroid_security_cts_EncryptionTest.cpp48 EVP_CIPHER_CTX ctx; in android_security_cts_EncryptionTest_aesIsFast() local
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DTestAppInterface.java49 TestAppInterface(Context ctx, int jobId) { in TestAppInterface()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
DRefocusTest.java58 Context ctx = getContext(); in refocus() local
/cts/hostsidetests/incident/apps/errorsapp/src/com/android/server/cts/errors/
DErrorsTests.java130 void registerReceiver(Context ctx, CountDownLatch onReceiveLatch, String wantTag, in registerReceiver()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/widget/
DWidgetCtsProvider.java75 public void onReceive(Context ctx, Intent intent) { in onReceive()
105 public void onDeleted(Context ctx, int[] ids) { in onDeleted()
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/
DUtils.java80 public static int convertDpToPixel(Context ctx, int dp) { in convertDpToPixel()
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/
DAtomTests.java492 Context ctx, CountDownLatch onReceiveLatch, IntentFilter intentFilter) { in registerReceiver()
513 private static void waitForReceiver(Context ctx, in waitForReceiver()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/performance/
DCameraPerformanceActivity.java195 private void initializeTestCases(Context ctx) { in initializeTestCases()
/cts/tests/apppredictionservice/src/android/apppredictionservice/cts/
DAppPredictionServiceTest.java270 Context ctx = InstrumentationRegistry.getTargetContext(); in createTestPredictor() local
/cts/tests/app/src/android/app/cts/
DPendingIntentTest.java215 public void onReceive(Context ctx, Intent intent) { in onReceive()
/cts/hostsidetests/media/bitstreams/app/src/android/media/cts/bitstreams/app/
DMediaBitstreamsDeviceSideTest.java188 Context ctx = InstrumentationRegistry.getContext(); in getSettings() local
/cts/tests/tests/text/src/android/text/style/cts/
DTextAppearanceSpanTest.java434 final Context ctx = mContext.createPackageContext(mContext.getPackageName(), in testRestrictContext() local
/cts/tests/camera/libctscamera2jni/
Dnative-camera-jni.cpp3657 AvailabilityContext *ctx = new AvailabilityContext(); in Java_android_hardware_multiprocess_camera_cts_CameraEvictionTest_initializeAvailabilityCallbacksNative() local
3679 AvailabilityContext* ctx = reinterpret_cast<AvailabilityContext*>(context); in Java_android_hardware_multiprocess_camera_cts_CameraEvictionTest_getAccessCallbacksCountAndResetNative() local
3693 AvailabilityContext* ctx = reinterpret_cast<AvailabilityContext*>(context); in Java_android_hardware_multiprocess_camera_cts_CameraEvictionTest_releaseAvailabilityCallbacksNative() local
/cts/tests/tests/graphics/src/android/graphics/fonts/
DFontTest.java62 Context ctx = InstrumentationRegistry.getTargetContext(); in getTempFile() local
/cts/tests/tests/media/src/android/media/cts/
DEncodeVirtualDisplayWithCompositionTest.java1324 Context ctx = getContext(); in onCreate() local
/cts/tests/tests/rsblas/src/android/renderscript/cts/
DBLASData.java1348 void loadData(Context ctx) throws Exception { in loadData()

12