Home
last modified time | relevance | path

Searched defs:context (Results 1 – 25 of 37) sorted by relevance

12

/test/vts/tools/vts-core-tradefed/src/com/android/tradefed/testtype/suite/module/
DKernelTestModuleController.java48 public RunStrategy shouldRun(IInvocationContext context) { in shouldRun()
92 private boolean deviceLowMem(IInvocationContext context) { in deviceLowMem()
118 private boolean deviceWithHwasan(IInvocationContext context) { in deviceWithHwasan()
/test/cts-root/tests/stats/src/android/stats/cts_root/
DStatsHelperTest.java40 public synchronized void onReceive(Context context, Intent intent) { in onReceive()
46 protected void onReceiveInternal(Context context, Intent intent) { in onReceiveInternal()
59 final Context context = InstrumentationRegistry.getInstrumentation().getContext(); in testSendStatsdReadyBroadcast() local
/test/mlts/benchmark/src/com/android/nn/benchmark/core/sl/
DSupportLibraryDriverHandler.java38 …public synchronized long getOrLoadNnApiSlHandle(Context context, boolean extractNnApiSupportLibrar… in getOrLoadNnApiSlHandle()
79 private static String extractAllAndGetNnApiSlPath(Context context, String entryPointName) in extractAllAndGetNnApiSlPath()
105 …protected static boolean extractNnApiSlLibTo(Context context, String libraryFile, String targetFol… in extractNnApiSlLibTo()
134 private static String getNnApiSlPathFromApkLibraries(Context context, String resourceName) { in getNnApiSlPathFromApkLibraries()
146 …protected abstract void prepareDriver(Context context, String nnSupportLibFilePath) throws IOExcep… in prepareDriver()
DQualcommSupportLibraryDriverHandler.java20 public void prepareDriver(Context context, String nnSupportLibFilePath) throws IOException { in prepareDriver()
43 private String extractDSPLibraries(Context context) in extractDSPLibraries()
DMediaTekSupportLibraryDriverHandler.java7 public void prepareDriver(Context context, String nnSupportLibFilePath) { in prepareDriver()
DArmSupportLibraryDriverHandler.java19 public void prepareDriver(Context context, String nnSupportLibFilePath) throws IOException { in prepareDriver()
/test/cts-root/hostsidetests/packageinstaller/app/src/com/android/cts_root/packageinstaller/
DSessionCleanUpTest.java213 Context context = InstrumentationRegistry.getInstrumentation().getContext(); in testSessionCleanUp_Single_Expire_Install() local
220 Context context = InstrumentationRegistry.getInstrumentation().getContext(); in testSessionCleanUp_Single_Expire_VerifyInstall() local
228 Context context = InstrumentationRegistry.getInstrumentation().getContext(); in testSessionCleanUp_Single_Expire_CleanUp() local
242 Context context = InstrumentationRegistry.getInstrumentation().getContext(); in testSessionCleanUp_Multi_Expire_Install() local
251 Context context = InstrumentationRegistry.getInstrumentation().getContext(); in testSessionCleanUp_Multi_Expire_VerifyInstall() local
259 Context context = InstrumentationRegistry.getInstrumentation().getContext(); in testSessionCleanUp_Multi_Expire_CleanUp() local
277 Context context = InstrumentationRegistry.getInstrumentation().getContext(); in testSessionCleanUp_LowStorage_Install() local
286 Context context = InstrumentationRegistry.getInstrumentation().getContext(); in testSessionCleanUp_LowStorage_CleanUp() local
/test/cts-root/hostsidetests/rollback/app/src/com/android/cts_root/rollback/host/app/
DHostTestHelper.java145 Context context = InstrumentationRegistry.getInstrumentation().getContext(); in testExpireSession_Phase1_Install() local
163 Context context = InstrumentationRegistry.getInstrumentation().getContext(); in testExpireSession_Phase3_VerifyRollback() local
262 Context context = InstrumentationRegistry.getInstrumentation().getContext(); in isCheckpointSupported() local
/test/mlts/benchmark/src/com/android/nn/benchmark/app/
DAcceleratorSpecificTestSupport.java46 Context context, String acceleratorName) throws NnApiDelegationFailure { in findTestModelRunningOnAccelerator()
56 Context context, String acceleratorName) throws NnApiDelegationFailure { in findAllTestModelsRunningOnAccelerator()
/test/mlts/benchmark/src/com/android/nn/crashtest/core/test/
DNoOpCrashTest.java41 public void init(Context context, Intent configParams, in init()
DCrashingCrashTest.java50 public void init(Context context, Intent configParams, in init()
DPerformanceDegradationTest.java104 public void init(Context context, Intent configParams, in init()
/test/mlts/benchmark/src/com/android/nn/crashtest/core/
DCrashTest.java34 void init(Context context, Intent configParams, Optional<ProgressListener> progressListener); in init()
DCrashTestCoordinator.java59 public CrashTestCoordinator(Context context) { in CrashTestCoordinator()
/test/vts-testcase/hal/usb/gadget/V1_2/host/src/com/android/usb/gadget/vts/libusb/
DIUsbNative.java30 int libusb_init(PointerByReference context); in libusb_init()
/test/vts-testcase/hal/usb/gadget/V1_0/host/src/com/android/tests/usbgadget/libusb/
DIUsbNative.java30 int libusb_init(PointerByReference context); in libusb_init()
/test/vts-testcase/hal/usb/gadget/aidl/host/src/com/android/usb/gadget/vts/libusb/
DIUsbNative.java30 int libusb_init(PointerByReference context); in libusb_init()
/test/vts-testcase/kernel/encryption/
Dutils.cpp399 const std::vector<uint8_t> &context, in GetFixedInputString()
413 const std::vector<uint8_t> &context, in AesCmacKdfHelper()
450 std::vector<uint8_t> context = {'r', 'a', 'w', ' ', 's', 'e', 'c', in DeriveHwWrappedRawSecret() local
/test/vts-testcase/hal/usb/gadget/V1_0/host/src/com/android/tests/usbgadget/
DHalUsbGadgetV1_0HostTest.java63 PointerByReference context = new PointerByReference(); in beforeClassWithDevice() local
/test/cts-root/tests/usage/src/android/usage/cts_root/
DStorageStatsManagerLocalTest.java54 Context context = ApplicationProvider.getApplicationContext(); in testStorageAugmenter() local
/test/vts-testcase/hal/usb/gadget/V1_2/host/src/com/android/usb/gadget/vts/
DVtsHalUsbGadgetV1_2HostTest.java77 PointerByReference context = new PointerByReference(); in beforeClassWithDevice() local
/test/app_compat/csuite/harness/src/test/java/com/android/csuite/core/
DAppCrawlTesterHostPreparerTest.java162 IInvocationContext context = new InvocationContext(); in createTestInfo() local
/test/vts-testcase/hal/usb/gadget/aidl/host/src/com/android/usb/gadget/vts/
DVtsHalUsbGadgetV2_0HostTest.java78 PointerByReference context = new PointerByReference(); in beforeClassWithDevice() local
/test/mlts/benchmark/src/com/android/nn/benchmark/core/
DNNTestBase.java327 public static List<InferenceInOutSequence> getInputOutputAssets(Context context, in getInputOutputAssets()
480 public static boolean copyModelToFile(Context context, String modelFileName, File targetFile) in copyModelToFile()
490 public static void copyAssetToFile(Context context, String modelAssetName, String targetPath) in copyAssetToFile()
/test/app_compat/csuite/test_scripts/src/main/java/com/android/pixel/utils/
DDeviceUtils.java112 Context context = getInstrumentation().getContext(); in launchApp() local

12